From cd70d25730412ea54c62d1110bbd130dab78255b Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Wed, 30 Jul 2025 17:29:48 +0000 Subject: [PATCH 1/2] ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.592.2 --- .speakeasy/gen.lock | 12 +- .speakeasy/workflow.lock | 14 +- FUNCTIONS.md | 2 +- README.md | 4 +- RELEASES.md | 12 +- USAGE.md | 2 +- codeSamples.yaml | 176 +++++++++--------- ...oncustomfielddefinitionqueryparamfilter.md | 8 +- ...applicationcustomfielddefinitionrequest.md | 2 +- ...tecustomfielddefinitionqueryparamfilter.md | 8 +- ...etcandidatecustomfielddefinitionrequest.md | 2 +- ...obcustomfielddefinitionqueryparamfilter.md | 8 +- .../atsgetjobcustomfielddefinitionrequest.md | 2 +- ...slistapplicationchangesqueryparamfilter.md | 10 +- .../atslistapplicationchangesrequest.md | 2 +- ...ncustomfielddefinitionsqueryparamfilter.md | 8 +- ...pplicationcustomfielddefinitionsrequest.md | 2 +- ...ationdocumentcategoriesqueryparamfilter.md | 8 +- ...istapplicationdocumentcategoriesrequest.md | 2 +- ...istapplicationdocumentsqueryparamfilter.md | 10 +- .../atslistapplicationdocumentsrequest.md | 2 +- ...atslistapplicationnotesqueryparamfilter.md | 8 +- .../atslistapplicationnotesrequest.md | 2 +- ...stapplicationscorecardsqueryparamfilter.md | 8 +- .../atslistapplicationscorecardsrequest.md | 2 +- ...slistapplicationsoffersqueryparamfilter.md | 8 +- .../atslistapplicationsoffersrequest.md | 2 +- .../atslistapplicationsqueryparamfilter.md | 16 +- .../operations/atslistapplicationsrequest.md | 4 +- ...ionsscheduledinterviewsqueryparamfilter.md | 8 +- ...listassessmentspackagesqueryparamfilter.md | 8 +- .../atslistassessmentspackagesrequest.md | 2 +- ...backgroundcheckpackagesqueryparamfilter.md | 8 +- .../atslistbackgroundcheckpackagesrequest.md | 2 +- ...ecustomfielddefinitionsqueryparamfilter.md | 8 +- ...tcandidatecustomfielddefinitionsrequest.md | 2 +- .../atslistcandidatenotesqueryparamfilter.md | 8 +- .../atslistcandidatenotesrequest.md | 2 +- .../atslistcandidatesqueryparamfilter.md | 14 +- .../operations/atslistcandidatesrequest.md | 4 +- .../atslistdepartmentsqueryparamfilter.md | 8 +- .../operations/atslistdepartmentsrequest.md | 2 +- .../atslistinterviewsqueryparamfilter.md | 12 +- .../operations/atslistinterviewsrequest.md | 4 +- .../atslistinterviewstagesqueryparamfilter.md | 8 +- .../atslistinterviewstagesrequest.md | 2 +- ...bcustomfielddefinitionsqueryparamfilter.md | 8 +- ...atslistjobcustomfielddefinitionsrequest.md | 2 +- .../atslistjobpostingsqueryparamfilter.md | 12 +- .../operations/atslistjobpostingsrequest.md | 4 +- .../operations/atslistjobsqueryparamfilter.md | 8 +- .../models/operations/atslistjobsrequest.md | 4 +- .../atslistlistsqueryparamfilter.md | 8 +- .../atslistlocationsqueryparamfilter.md | 8 +- .../operations/atslistlocationsrequest.md | 2 +- .../atslistoffersqueryparamfilter.md | 8 +- .../models/operations/atslistoffersrequest.md | 2 +- .../atslistrejectedreasonsqueryparamfilter.md | 8 +- .../atslistrejectedreasonsrequest.md | 2 +- .../atslistusersqueryparamfilter.md | 8 +- .../models/operations/atslistusersrequest.md | 2 +- ...ctcustomfielddefinitionqueryparamfilter.md | 8 +- .../crmlistaccountsqueryparamfilter.md | 8 +- .../operations/crmlistaccountsrequest.md | 2 +- ...tcustomfielddefinitionsqueryparamfilter.md | 8 +- ...istcontactcustomfielddefinitionsrequest.md | 2 +- .../crmlistcontactsqueryparamfilter.md | 8 +- .../operations/crmlistcontactsrequest.md | 2 +- .../crmlistlistsqueryparamfilter.md | 8 +- .../models/operations/crmlistlistsrequest.md | 2 +- .../documentslistdrivesqueryparamfilter.md | 8 +- .../operations/documentslistdrivesrequest.md | 2 +- .../documentslistfilesqueryparamfilter.md | 20 +- .../operations/documentslistfilesrequest.md | 4 +- .../documentslistfoldersqueryparamfilter.md | 4 +- .../operations/documentslistfoldersrequest.md | 2 +- docs/sdk/models/operations/filter.md | 8 +- ...eecustomfielddefinitionqueryparamfilter.md | 8 +- ...getemployeecustomfielddefinitionrequest.md | 2 +- .../hrislistbenefitsqueryparamfilter.md | 8 +- .../operations/hrislistbenefitsrequest.md | 2 +- ...hrislistcompaniesgroupsqueryparamfilter.md | 8 +- .../hrislistcompaniesgroupsrequest.md | 2 +- .../hrislistcompaniesqueryparamfilter.md | 8 +- .../operations/hrislistcompaniesrequest.md | 2 +- ...rislistcostcentergroupsqueryparamfilter.md | 8 +- .../hrislistcostcentergroupsrequest.md | 2 +- ...rislistdepartmentgroupsqueryparamfilter.md | 8 +- .../hrislistdepartmentgroupsrequest.md | 2 +- .../hrislistdivisiongroupsqueryparamfilter.md | 8 +- .../hrislistdivisiongroupsrequest.md | 2 +- ...slistemployeecategoriesqueryparamfilter.md | 8 +- ...ecustomfielddefinitionsqueryparamfilter.md | 8 +- ...stemployeecustomfielddefinitionsrequest.md | 2 +- ...islistemployeedocumentsqueryparamfilter.md | 8 +- .../hrislistemployeedocumentsrequest.md | 2 +- ...listemployeeemploymentsqueryparamfilter.md | 8 +- .../hrislistemployeeemploymentsrequest.md | 2 +- .../hrislistemployeeskillsqueryparamfilter.md | 8 +- .../hrislistemployeeskillsrequest.md | 2 +- .../hrislistemployeesqueryparamfilter.md | 12 +- .../operations/hrislistemployeesrequest.md | 2 +- .../hrislistemployeetasksqueryparamfilter.md | 8 +- .../hrislistemployeetasksrequest.md | 2 +- ...employeetimeoffbalancesqueryparamfilter.md | 10 +- .../hrislistemployeetimeoffbalancesrequest.md | 2 +- ...employeetimeoffpoliciesqueryparamfilter.md | 10 +- .../hrislistemployeetimeoffpoliciesrequest.md | 2 +- ...employeetimeoffrequestsqueryparamfilter.md | 10 +- .../hrislistemployeetimeoffrequestsrequest.md | 2 +- ...employeeworkeligibilityqueryparamfilter.md | 8 +- .../hrislistemployeeworkeligibilityrequest.md | 2 +- .../hrislistemploymentsqueryparamfilter.md | 8 +- .../operations/hrislistemploymentsrequest.md | 2 +- .../hrislistgroupsqueryparamfilter.md | 8 +- .../operations/hrislistgroupsrequest.md | 2 +- .../hrislistjobsqueryparamfilter.md | 8 +- .../models/operations/hrislistjobsrequest.md | 2 +- .../hrislistlocationsqueryparamfilter.md | 8 +- .../operations/hrislistlocationsrequest.md | 2 +- .../hrislistpositionsqueryparamfilter.md | 8 +- .../operations/hrislistpositionsrequest.md | 2 +- .../hrislistshiftsqueryparamfilter.md | 4 +- .../operations/hrislistshiftsrequest.md | 2 +- .../hrislisttasksqueryparamfilter.md | 8 +- .../models/operations/hrislisttasksrequest.md | 2 +- .../hrislistteamgroupsqueryparamfilter.md | 8 +- .../operations/hrislistteamgroupsrequest.md | 2 +- .../hrislisttimeentriesqueryparamfilter.md | 14 +- .../operations/hrislisttimeentriesrequest.md | 2 +- ...hrislisttimeoffpoliciesqueryparamfilter.md | 10 +- .../hrislisttimeoffpoliciesrequest.md | 2 +- ...hrislisttimeoffrequestsqueryparamfilter.md | 10 +- .../hrislisttimeoffrequestsrequest.md | 2 +- .../hrislisttimeofftypesqueryparamfilter.md | 8 +- .../operations/hrislisttimeofftypesrequest.md | 2 +- .../iamlistgroupsqueryparamfilter.md | 8 +- .../models/operations/iamlistgroupsrequest.md | 2 +- .../iamlistpoliciesqueryparamfilter.md | 8 +- .../iamlistrolesqueryparamfilter.md | 8 +- .../iamlistusersqueryparamfilter.md | 8 +- .../lmscreateuserassignmentrequest.md | 4 +- .../lmscreateusercompletionrequest.md | 2 +- .../lmslistassignmentsqueryparamfilter.md | 4 +- .../operations/lmslistassignmentsrequest.md | 2 +- .../lmslistcategoriesqueryparamfilter.md | 8 +- .../operations/lmslistcategoriesrequest.md | 2 +- .../lmslistcompletionsqueryparamfilter.md | 8 +- .../lmslistcontentqueryparamfilter.md | 8 +- .../operations/lmslistcontentrequest.md | 2 +- .../lmslistcoursesqueryparamfilter.md | 10 +- .../operations/lmslistcoursesrequest.md | 2 +- .../lmslistskillsqueryparamfilter.md | 8 +- .../models/operations/lmslistskillsrequest.md | 2 +- .../lmslistuserassignmentsqueryparamfilter.md | 4 +- .../lmslistuserassignmentsrequest.md | 2 +- .../lmslistusercompletionsqueryparamfilter.md | 8 +- .../lmslistusercompletionsrequest.md | 2 +- .../lmslistusersqueryparamfilter.md | 12 +- .../models/operations/lmslistusersrequest.md | 2 +- .../marketinglistcampaignsqueryparamfilter.md | 8 +- .../marketinglistcampaignsrequest.md | 2 +- ...ketinglistcontentblocksqueryparamfilter.md | 8 +- ...etinglistemailtemplatesqueryparamfilter.md | 8 +- .../marketinglistemailtemplatesrequest.md | 2 +- ...etinglistinapptemplatesqueryparamfilter.md | 8 +- .../marketinglistinapptemplatesrequest.md | 2 +- ...istomnichanneltemplatesqueryparamfilter.md | 8 +- ...arketinglistomnichanneltemplatesrequest.md | 2 +- ...ketinglistpushtemplatesqueryparamfilter.md | 8 +- .../marketinglistpushtemplatesrequest.md | 2 +- ...rketinglistsmstemplatesqueryparamfilter.md | 8 +- .../marketinglistsmstemplatesrequest.md | 2 +- .../sdk/models/operations/queryparamfilter.md | 8 +- .../operations/stackonelistlogsrequest.md | 4 +- .../stackonelistplatformlogsrequest.md | 4 +- .../stackoneliststeplogsqueryparamfilter.md | 34 ++-- .../operations/stackoneliststeplogsrequest.md | 4 +- ...icketinglistattachmentsqueryparamfilter.md | 8 +- .../ticketinglistattachmentsrequest.md | 2 +- .../ticketinglistcommentsqueryparamfilter.md | 8 +- .../ticketinglistcommentsrequest.md | 2 +- ...nglistprojectcomponentsqueryparamfilter.md | 8 +- .../ticketinglistprojectcomponentsrequest.md | 2 +- .../ticketinglistprojectsqueryparamfilter.md | 8 +- .../ticketinglistprojectsrequest.md | 2 +- ...glistprojecttickettypesqueryparamfilter.md | 8 +- .../ticketinglistprojecttickettypesrequest.md | 2 +- .../ticketinglistticketsqueryparamfilter.md | 8 +- .../operations/ticketinglistticketsrequest.md | 2 +- ...etinglistticketstatusesqueryparamfilter.md | 8 +- .../ticketinglistticketstatusesrequest.md | 2 +- ...icketinglisttickettypesqueryparamfilter.md | 8 +- .../ticketinglisttickettypesrequest.md | 2 +- .../ticketinglistusersqueryparamfilter.md | 8 +- .../operations/ticketinglistusersrequest.md | 2 +- docs/sdk/models/shared/assignment.md | 12 +- docs/sdk/models/shared/assignmentresult.md | 6 +- .../sdk/models/shared/assignmentspaginated.md | 6 +- docs/sdk/models/shared/completion.md | 12 +- docs/sdk/models/shared/completionresult.md | 6 +- .../sdk/models/shared/completionspaginated.md | 6 +- docs/sdk/models/shared/course.md | 8 +- docs/sdk/models/shared/coursepaginated.md | 4 +- docs/sdk/models/shared/courseresult.md | 4 +- docs/sdk/models/shared/employee.md | 4 +- .../shared/hriscreateemployeerequestdto.md | 4 +- .../shared/hrisupdateemployeerequestdto.md | 4 +- .../shared/lmscreateassignmentrequestdto.md | 8 +- .../shared/lmscreatecompletionrequestdto.md | 4 +- docs/sdks/ats/README.md | 132 ++++++------- docs/sdks/crm/README.md | 20 +- docs/sdks/documents/README.md | 16 +- docs/sdks/hris/README.md | 120 ++++++------ docs/sdks/iam/README.md | 16 +- docs/sdks/lms/README.md | 48 ++--- docs/sdks/marketing/README.md | 28 +-- docs/sdks/requestlogs/README.md | 24 +-- docs/sdks/ticketing/README.md | 32 ++-- examples/hrisListEmployees.example.ts | 2 +- examples/package-lock.json | 11 +- gen.yaml | 2 +- jsr.json | 2 +- package-lock.json | 17 +- package.json | 9 +- src/lib/config.ts | 6 +- .../atsgetapplicationcustomfielddefinition.ts | 9 +- .../atsgetcandidatecustomfielddefinition.ts | 9 +- .../atsgetjobcustomfielddefinition.ts | 9 +- .../operations/atslistapplicationchanges.ts | 9 +- ...tslistapplicationcustomfielddefinitions.ts | 9 +- .../atslistapplicationdocumentcategories.ts | 9 +- .../operations/atslistapplicationdocuments.ts | 9 +- .../operations/atslistapplicationnotes.ts | 8 +- .../models/operations/atslistapplications.ts | 16 +- .../atslistapplicationscorecards.ts | 9 +- .../operations/atslistapplicationsoffers.ts | 9 +- .../atslistapplicationsscheduledinterviews.ts | 9 +- .../operations/atslistassessmentspackages.ts | 9 +- .../atslistbackgroundcheckpackages.ts | 9 +- .../atslistcandidatecustomfielddefinitions.ts | 9 +- .../operations/atslistcandidatenotes.ts | 8 +- .../models/operations/atslistcandidates.ts | 16 +- .../models/operations/atslistdepartments.ts | 8 +- .../models/operations/atslistinterviews.ts | 16 +- .../operations/atslistinterviewstages.ts | 8 +- .../atslistjobcustomfielddefinitions.ts | 9 +- .../models/operations/atslistjobpostings.ts | 16 +- src/sdk/models/operations/atslistjobs.ts | 16 +- src/sdk/models/operations/atslistlists.ts | 8 +- src/sdk/models/operations/atslistlocations.ts | 8 +- src/sdk/models/operations/atslistoffers.ts | 8 +- .../operations/atslistrejectedreasons.ts | 8 +- src/sdk/models/operations/atslistusers.ts | 8 +- .../crmgetcontactcustomfielddefinition.ts | 9 +- src/sdk/models/operations/crmlistaccounts.ts | 8 +- .../crmlistcontactcustomfielddefinitions.ts | 9 +- src/sdk/models/operations/crmlistcontacts.ts | 8 +- src/sdk/models/operations/crmlistlists.ts | 8 +- .../models/operations/documentslistdrives.ts | 8 +- .../models/operations/documentslistfiles.ts | 16 +- .../models/operations/documentslistfolders.ts | 8 +- .../hrisgetemployeecustomfielddefinition.ts | 9 +- src/sdk/models/operations/hrislistbenefits.ts | 8 +- .../models/operations/hrislistcompanies.ts | 8 +- .../operations/hrislistcompaniesgroups.ts | 8 +- .../operations/hrislistcostcentergroups.ts | 8 +- .../operations/hrislistdepartmentgroups.ts | 8 +- .../operations/hrislistdivisiongroups.ts | 8 +- .../operations/hrislistemployeecategories.ts | 9 +- .../hrislistemployeecustomfielddefinitions.ts | 9 +- .../operations/hrislistemployeedocuments.ts | 9 +- .../operations/hrislistemployeeemployments.ts | 9 +- .../models/operations/hrislistemployees.ts | 8 +- .../operations/hrislistemployeeskills.ts | 8 +- .../operations/hrislistemployeetasks.ts | 8 +- .../hrislistemployeetimeoffbalances.ts | 9 +- .../hrislistemployeetimeoffpolicies.ts | 9 +- .../hrislistemployeetimeoffrequests.ts | 9 +- .../hrislistemployeeworkeligibility.ts | 9 +- .../models/operations/hrislistemployments.ts | 8 +- src/sdk/models/operations/hrislistgroups.ts | 8 +- src/sdk/models/operations/hrislistjobs.ts | 8 +- .../models/operations/hrislistlocations.ts | 8 +- .../models/operations/hrislistpositions.ts | 8 +- src/sdk/models/operations/hrislistshifts.ts | 8 +- src/sdk/models/operations/hrislisttasks.ts | 8 +- .../models/operations/hrislistteamgroups.ts | 8 +- .../models/operations/hrislisttimeentries.ts | 8 +- .../operations/hrislisttimeoffpolicies.ts | 8 +- .../operations/hrislisttimeoffrequests.ts | 8 +- .../models/operations/hrislisttimeofftypes.ts | 8 +- src/sdk/models/operations/iamlistgroups.ts | 8 +- src/sdk/models/operations/iamlistpolicies.ts | 8 +- src/sdk/models/operations/iamlistroles.ts | 8 +- src/sdk/models/operations/iamlistusers.ts | 8 +- .../models/operations/lmslistassignments.ts | 8 +- .../models/operations/lmslistcategories.ts | 8 +- .../models/operations/lmslistcompletions.ts | 8 +- src/sdk/models/operations/lmslistcontent.ts | 8 +- src/sdk/models/operations/lmslistcourses.ts | 8 +- src/sdk/models/operations/lmslistskills.ts | 8 +- .../operations/lmslistuserassignments.ts | 8 +- .../operations/lmslistusercompletions.ts | 8 +- src/sdk/models/operations/lmslistusers.ts | 8 +- .../operations/marketinglistcampaigns.ts | 8 +- .../operations/marketinglistcontentblocks.ts | 9 +- .../operations/marketinglistemailtemplates.ts | 9 +- .../operations/marketinglistinapptemplates.ts | 9 +- .../marketinglistomnichanneltemplates.ts | 9 +- .../operations/marketinglistpushtemplates.ts | 9 +- .../operations/marketinglistsmstemplates.ts | 9 +- src/sdk/models/operations/stackonelistlogs.ts | 16 +- .../operations/stackonelistplatformlogs.ts | 16 +- .../models/operations/stackoneliststeplogs.ts | 16 +- .../operations/ticketinglistattachments.ts | 8 +- .../operations/ticketinglistcomments.ts | 8 +- .../ticketinglistprojectcomponents.ts | 9 +- .../operations/ticketinglistprojects.ts | 8 +- .../ticketinglistprojecttickettypes.ts | 9 +- .../models/operations/ticketinglisttickets.ts | 8 +- .../operations/ticketinglistticketstatuses.ts | 9 +- .../operations/ticketinglisttickettypes.ts | 8 +- .../models/operations/ticketinglistusers.ts | 8 +- src/sdk/models/shared/assignment.ts | 24 ++- src/sdk/models/shared/completion.ts | 24 ++- src/sdk/models/shared/course.ts | 16 +- src/sdk/models/shared/employee.ts | 4 +- .../shared/hriscreateemployeerequestdto.ts | 4 +- .../shared/hrisupdateemployeerequestdto.ts | 4 +- .../shared/lmscreateassignmentrequestdto.ts | 16 +- .../shared/lmscreatecompletionrequestdto.ts | 8 +- 332 files changed, 1560 insertions(+), 1285 deletions(-) diff --git a/.speakeasy/gen.lock b/.speakeasy/gen.lock index f772da8f5..d53c8f6f0 100755 --- a/.speakeasy/gen.lock +++ b/.speakeasy/gen.lock @@ -1,12 +1,12 @@ lockVersion: 2.0.0 id: 7fa83af8-9e8e-4410-b7e2-cf1d0eaf688b management: - docChecksum: 50da4a0b9e5eedc5bb88e23d614e1353 + docChecksum: 0d3a4e020967065f25fbe24823c0d825 docVersion: 1.0.0 - speakeasyVersion: 1.592.1 - generationVersion: 2.667.0 - releaseVersion: 4.23.5 - configChecksum: b39465de4c550fe3400dc74abb43fc7e + speakeasyVersion: 1.592.2 + generationVersion: 2.668.4 + releaseVersion: 4.24.0 + configChecksum: 62f89903b457c04884c2cd644e097a59 repoURL: https://github.com/StackOneHQ/stackone-client-typescript.git repoSubDirectory: . installationURL: https://github.com/StackOneHQ/stackone-client-typescript @@ -15,7 +15,7 @@ features: typescript: additionalDependencies: 0.1.0 constsAndDefaults: 0.1.12 - core: 3.21.16 + core: 3.21.17 defaultEnabledRetries: 0.1.0 deprecations: 2.81.1 downloadStreams: 0.1.1 diff --git a/.speakeasy/workflow.lock b/.speakeasy/workflow.lock index b3f18d1d7..c2ebd6281 100644 --- a/.speakeasy/workflow.lock +++ b/.speakeasy/workflow.lock @@ -1,21 +1,21 @@ -speakeasyVersion: 1.592.1 +speakeasyVersion: 1.592.2 sources: my-source: sourceNamespace: my-source - sourceRevisionDigest: sha256:9646afc3aadd6d5193681e710df625998d7761d472f4af870b6b9c1ccf8a9d18 - sourceBlobDigest: sha256:1f52ebd1b37865f50a9c5456db707d6820fcb38f5fd40902770c303e38abf1b5 + sourceRevisionDigest: sha256:29522d6b1e2052ae757cd54f3c14609f7af9aa6ed1832cf0f4e5110285eedc9d + sourceBlobDigest: sha256:a3361a8975b907ab328aed63fdf670bd2e9e88567c5f0536c0a52e1f068173b6 tags: - latest - - speakeasy-sdk-regen-1753792611 + - speakeasy-sdk-regen-1753890454 - 1.0.0 targets: StackOneTypeScriptClient: source: my-source sourceNamespace: my-source - sourceRevisionDigest: sha256:9646afc3aadd6d5193681e710df625998d7761d472f4af870b6b9c1ccf8a9d18 - sourceBlobDigest: sha256:1f52ebd1b37865f50a9c5456db707d6820fcb38f5fd40902770c303e38abf1b5 + sourceRevisionDigest: sha256:29522d6b1e2052ae757cd54f3c14609f7af9aa6ed1832cf0f4e5110285eedc9d + sourceBlobDigest: sha256:a3361a8975b907ab328aed63fdf670bd2e9e88567c5f0536c0a52e1f068173b6 codeSamplesNamespace: code-samples-typescript-stackonetypescriptclient - codeSamplesRevisionDigest: sha256:5c9a27af7d5987a57b27dfe6873337bdd9c21e2f9f21f5e55898b22cbd8b3d8d + codeSamplesRevisionDigest: sha256:ca53b638cb323a76c4485298f8b027ccf7dec3310debffacb1eb60409570515c workflow: workflowVersion: 1.0.0 speakeasyVersion: latest diff --git a/FUNCTIONS.md b/FUNCTIONS.md index 028660225..c66861e85 100644 --- a/FUNCTIONS.md +++ b/FUNCTIONS.md @@ -36,7 +36,7 @@ async function run() { expand: "company,employments,work_location,home_location,groups,skills", fields: "id,remote_id,first_name,last_name,name,display_name,gender,ethnicity,date_of_birth,birthday,marital_status,avatar_url,avatar,personal_email,personal_phone_number,work_email,work_phone_number,job_id,remote_job_id,job_title,job_description,department_id,remote_department_id,department,cost_centers,company,manager_id,remote_manager_id,hire_date,start_date,tenure,work_anniversary,employment_type,employment_contract_type,employment_status,termination_date,company_name,company_id,remote_company_id,preferred_language,citizenships,home_location,work_location,employments,custom_fields,documents,created_at,updated_at,benefits,employee_number,national_identity_number,national_identity_numbers,skills", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, include: "avatar_url,avatar,custom_fields,job_description,benefits", updatedAfter: "2020-01-01T00:00:00.000Z", diff --git a/README.md b/README.md index fd2c5f4f0..7c35bb084 100755 --- a/README.md +++ b/README.md @@ -82,7 +82,7 @@ async function run() { fields: "id,remote_id,first_name,last_name,name,display_name,gender,ethnicity,date_of_birth,birthday,marital_status,avatar_url,avatar,personal_email,personal_phone_number,work_email,work_phone_number,job_id,remote_job_id,job_title,job_description,department_id,remote_department_id,department,cost_centers,company,manager_id,remote_manager_id,hire_date,start_date,tenure,work_anniversary,employment_type,employment_contract_type,employment_status,termination_date,company_name,company_id,remote_company_id,preferred_language,citizenships,home_location,work_location,employments,custom_fields,documents,created_at,updated_at,benefits,employee_number,national_identity_number,national_identity_numbers,skills", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, include: "avatar_url,avatar,custom_fields,job_description,benefits", updatedAfter: "2020-01-01T00:00:00.000Z", @@ -429,7 +429,7 @@ async function run() { fields: "event_id,remote_event_id,created_at,effective_at,change_type,actor,new_values", filter: { - createdAfter: "2020-01-01T00:00:00.000Z", + createdAfter: new Date("2020-01-01T00:00:00.000Z"), }, id: "", xAccountId: "", diff --git a/RELEASES.md b/RELEASES.md index bd2f441aa..853746aef 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -1786,4 +1786,14 @@ Based on: ### Generated - [typescript v4.23.5] . ### Releases -- [NPM v4.23.5] https://www.npmjs.com/package/@stackone/stackone-client-ts/v/4.23.5 - . \ No newline at end of file +- [NPM v4.23.5] https://www.npmjs.com/package/@stackone/stackone-client-ts/v/4.23.5 - . + +## 2025-07-30 17:25:43 +### Changes +Based on: +- OpenAPI Doc +- Speakeasy CLI 1.592.2 (2.668.4) https://github.com/speakeasy-api/speakeasy +### Generated +- [typescript v4.24.0] . +### Releases +- [NPM v4.24.0] https://www.npmjs.com/package/@stackone/stackone-client-ts/v/4.24.0 - . \ No newline at end of file diff --git a/USAGE.md b/USAGE.md index f2efadc85..4d5217963 100644 --- a/USAGE.md +++ b/USAGE.md @@ -17,7 +17,7 @@ async function run() { fields: "id,remote_id,first_name,last_name,name,display_name,gender,ethnicity,date_of_birth,birthday,marital_status,avatar_url,avatar,personal_email,personal_phone_number,work_email,work_phone_number,job_id,remote_job_id,job_title,job_description,department_id,remote_department_id,department,cost_centers,company,manager_id,remote_manager_id,hire_date,start_date,tenure,work_anniversary,employment_type,employment_contract_type,employment_status,termination_date,company_name,company_id,remote_company_id,preferred_language,citizenships,home_location,work_location,employments,custom_fields,documents,created_at,updated_at,benefits,employee_number,national_identity_number,national_identity_numbers,skills", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, include: "avatar_url,avatar,custom_fields,job_description,benefits", updatedAfter: "2020-01-01T00:00:00.000Z", diff --git a/codeSamples.yaml b/codeSamples.yaml index 5a6f1cbd5..85573063d 100644 --- a/codeSamples.yaml +++ b/codeSamples.yaml @@ -62,13 +62,13 @@ actions: "x-codeSamples": - "lang": "typescript" "label": "stackone_list_logs" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\nimport {\n QueryParamInclude,\n QueryParamOrderBy,\n QueryParamOrderDirection,\n StackoneListLogsQueryParamOrderBy,\n StackoneListLogsQueryParamOrderDirection,\n} from \"@stackone/stackone-client-ts/sdk/models/operations\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.requestLogs.listLogs({\n orderBy: QueryParamOrderBy.Duration,\n orderDirection: QueryParamOrderDirection.Asc,\n include: QueryParamInclude.StepLogs,\n filter: {\n accountIds: \"45355976281015164504,45355976281015164505\",\n startDate: \"2020-01-01T00:00:00.000Z\",\n endDate: \"2020-01-01T00:00:00.000Z\",\n requestIds: \"adbf752f-6457-4ddd-89b3-98ae2252b83b,adbf752f-6457-4ddd-89b3-98ae2252b83c\",\n sourceTypes: \"DASHBOARD,SYNTHETIC_WEBHOOK\",\n httpMethods: \"GET,POST\",\n providers: \"ashby,greenhouse\",\n services: \"hris,ats\",\n resources: \"employees,users\",\n childResources: \"documents,time-off\",\n subResources: \"documents,employees\",\n actions: \"download,upload\",\n statusCodes: \"200,400\",\n success: true,\n orderBy: StackoneListLogsQueryParamOrderBy.Duration,\n orderDirection: StackoneListLogsQueryParamOrderDirection.Asc,\n },\n });\n\n console.log(result);\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\nimport {\n QueryParamInclude,\n QueryParamOrderBy,\n QueryParamOrderDirection,\n StackoneListLogsQueryParamOrderBy,\n StackoneListLogsQueryParamOrderDirection,\n} from \"@stackone/stackone-client-ts/sdk/models/operations\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.requestLogs.listLogs({\n orderBy: QueryParamOrderBy.Duration,\n orderDirection: QueryParamOrderDirection.Asc,\n include: QueryParamInclude.StepLogs,\n filter: {\n accountIds: \"45355976281015164504,45355976281015164505\",\n startDate: new Date(\"2020-01-01T00:00:00.000Z\"),\n endDate: new Date(\"2020-01-01T00:00:00.000Z\"),\n requestIds: \"adbf752f-6457-4ddd-89b3-98ae2252b83b,adbf752f-6457-4ddd-89b3-98ae2252b83c\",\n sourceTypes: \"DASHBOARD,SYNTHETIC_WEBHOOK\",\n httpMethods: \"GET,POST\",\n providers: \"ashby,greenhouse\",\n services: \"hris,ats\",\n resources: \"employees,users\",\n childResources: \"documents,time-off\",\n subResources: \"documents,employees\",\n actions: \"download,upload\",\n statusCodes: \"200,400\",\n success: true,\n orderBy: StackoneListLogsQueryParamOrderBy.Duration,\n orderDirection: StackoneListLogsQueryParamOrderDirection.Asc,\n },\n });\n\n console.log(result);\n}\n\nrun();" - target: $["paths"]["/requests/logs/steps"]["get"] update: "x-codeSamples": - "lang": "typescript" "label": "stackone_list_step_logs" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\nimport { OrderBy, OrderDirection } from \"@stackone/stackone-client-ts/sdk/models/operations\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.requestLogs.listStepLogs({\n orderBy: OrderBy.EventDatetime,\n orderDirection: OrderDirection.Asc,\n filter: {\n accountIds: \"45355976281015164504,45355976281015164505\",\n startDate: \"2020-01-01T00:00:00.000Z\",\n endDate: \"2020-01-01T00:00:00.000Z\",\n requestIds: \"adbf752f-6457-4ddd-89b3-98ae2252b83b,adbf752f-6457-4ddd-89b3-98ae2252b83c\",\n httpMethods: \"GET,POST\",\n providers: \"ashby,greenhouse\",\n services: \"hris,ats\",\n resources: \"employees,users\",\n childResources: \"documents,time-off\",\n subResources: \"documents,employees\",\n actions: \"download,upload\",\n statusCodes: \"200,400\",\n success: true,\n },\n });\n\n console.log(result);\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\nimport { OrderBy, OrderDirection } from \"@stackone/stackone-client-ts/sdk/models/operations\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.requestLogs.listStepLogs({\n orderBy: OrderBy.EventDatetime,\n orderDirection: OrderDirection.Asc,\n filter: {\n accountIds: \"45355976281015164504,45355976281015164505\",\n startDate: new Date(\"2020-01-01T00:00:00.000Z\"),\n endDate: new Date(\"2020-01-01T00:00:00.000Z\"),\n requestIds: \"adbf752f-6457-4ddd-89b3-98ae2252b83b,adbf752f-6457-4ddd-89b3-98ae2252b83c\",\n httpMethods: \"GET,POST\",\n providers: \"ashby,greenhouse\",\n services: \"hris,ats\",\n resources: \"employees,users\",\n childResources: \"documents,time-off\",\n subResources: \"documents,employees\",\n actions: \"download,upload\",\n statusCodes: \"200,400\",\n success: true,\n },\n });\n\n console.log(result);\n}\n\nrun();" - target: $["paths"]["/requests/logs/{id}"]["get"] update: "x-codeSamples": @@ -80,13 +80,13 @@ actions: "x-codeSamples": - "lang": "typescript" "label": "stackone_list_platform_logs" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\nimport {\n StackoneListPlatformLogsQueryParamOrderBy,\n StackoneListPlatformLogsQueryParamOrderDirection,\n StackoneListPlatformLogsQueryParamRequestLogsOrderBy,\n StackoneListPlatformLogsQueryParamRequestLogsOrderDirection,\n} from \"@stackone/stackone-client-ts/sdk/models/operations\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.requestLogs.listPlatformLogs({\n orderBy: StackoneListPlatformLogsQueryParamOrderBy.Duration,\n orderDirection: StackoneListPlatformLogsQueryParamOrderDirection.Asc,\n filter: {\n accountIds: \"45355976281015164504,45355976281015164505\",\n startDate: \"2020-01-01T00:00:00.000Z\",\n endDate: \"2020-01-01T00:00:00.000Z\",\n requestIds: \"adbf752f-6457-4ddd-89b3-98ae2252b83b,adbf752f-6457-4ddd-89b3-98ae2252b83c\",\n sourceTypes: \"DASHBOARD,SYNTHETIC_WEBHOOK\",\n httpMethods: \"GET,POST\",\n categories: \"hris,ats\",\n resources: \"employees,users\",\n actions: \"download,upload\",\n statusCodes: \"200,400\",\n success: true,\n orderBy: StackoneListPlatformLogsQueryParamRequestLogsOrderBy.EventDatetime,\n orderDirection: StackoneListPlatformLogsQueryParamRequestLogsOrderDirection.Asc,\n },\n });\n\n console.log(result);\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\nimport {\n StackoneListPlatformLogsQueryParamOrderBy,\n StackoneListPlatformLogsQueryParamOrderDirection,\n StackoneListPlatformLogsQueryParamRequestLogsOrderBy,\n StackoneListPlatformLogsQueryParamRequestLogsOrderDirection,\n} from \"@stackone/stackone-client-ts/sdk/models/operations\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.requestLogs.listPlatformLogs({\n orderBy: StackoneListPlatformLogsQueryParamOrderBy.Duration,\n orderDirection: StackoneListPlatformLogsQueryParamOrderDirection.Asc,\n filter: {\n accountIds: \"45355976281015164504,45355976281015164505\",\n startDate: new Date(\"2020-01-01T00:00:00.000Z\"),\n endDate: new Date(\"2020-01-01T00:00:00.000Z\"),\n requestIds: \"adbf752f-6457-4ddd-89b3-98ae2252b83b,adbf752f-6457-4ddd-89b3-98ae2252b83c\",\n sourceTypes: \"DASHBOARD,SYNTHETIC_WEBHOOK\",\n httpMethods: \"GET,POST\",\n categories: \"hris,ats\",\n resources: \"employees,users\",\n actions: \"download,upload\",\n statusCodes: \"200,400\",\n success: true,\n orderBy: StackoneListPlatformLogsQueryParamRequestLogsOrderBy.EventDatetime,\n orderDirection: StackoneListPlatformLogsQueryParamRequestLogsOrderDirection.Asc,\n },\n });\n\n console.log(result);\n}\n\nrun();" - target: $["paths"]["/unified/ats/applications"]["get"] update: "x-codeSamples": - "lang": "typescript" "label": "ats_list_applications" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.ats.listApplications({\n fields: \"id,remote_id,candidate_id,remote_candidate_id,job_id,remote_job_id,job_posting_id,remote_job_posting_id,interview_stage,interview_stage_id,remote_interview_stage_id,rejected_reason,rejected_reason_id,remote_rejected_reason_id,rejected_reason_ids,remote_rejected_reason_ids,rejected_reasons,rejected_at,location_id,remote_location_id,location_ids,remote_location_ids,status,application_status,questionnaires,attachments,result_links,source,created_at,updated_at,documents,custom_fields,candidate\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n createdAfter: \"2020-01-01T00:00:00.000Z\",\n },\n expand: \"documents\",\n include: \"attachments,custom_fields\",\n xAccountId: \"\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.ats.listApplications({\n fields: \"id,remote_id,candidate_id,remote_candidate_id,job_id,remote_job_id,job_posting_id,remote_job_posting_id,interview_stage,interview_stage_id,remote_interview_stage_id,rejected_reason,rejected_reason_id,remote_rejected_reason_id,rejected_reason_ids,remote_rejected_reason_ids,rejected_reasons,rejected_at,location_id,remote_location_id,location_ids,remote_location_ids,status,application_status,questionnaires,attachments,result_links,source,created_at,updated_at,documents,custom_fields,candidate\",\n filter: {\n updatedAfter: new Date(\"2020-01-01T00:00:00.000Z\"),\n createdAfter: new Date(\"2020-01-01T00:00:00.000Z\"),\n },\n expand: \"documents\",\n include: \"attachments,custom_fields\",\n xAccountId: \"\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();" - target: $["paths"]["/unified/ats/applications"]["post"] update: "x-codeSamples": @@ -110,13 +110,13 @@ actions: "x-codeSamples": - "lang": "typescript" "label": "ats_list_application_changes" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.ats.listApplicationChanges({\n id: \"\",\n fields: \"event_id,remote_event_id,created_at,effective_at,change_type,actor,new_values\",\n filter: {\n createdAfter: \"2020-01-01T00:00:00.000Z\",\n },\n xAccountId: \"\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.ats.listApplicationChanges({\n id: \"\",\n fields: \"event_id,remote_event_id,created_at,effective_at,change_type,actor,new_values\",\n filter: {\n createdAfter: new Date(\"2020-01-01T00:00:00.000Z\"),\n },\n xAccountId: \"\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();" - target: $["paths"]["/unified/ats/applications/{id}/documents"]["get"] update: "x-codeSamples": - "lang": "typescript" "label": "ats_list_application_documents" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.ats.listApplicationDocuments({\n id: \"\",\n fields: \"id,remote_id,name,path,type,category,category_id,remote_category_id,contents,created_at,updated_at,remote_url,file_format\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n xAccountId: \"\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.ats.listApplicationDocuments({\n id: \"\",\n fields: \"id,remote_id,name,path,type,category,category_id,remote_category_id,contents,created_at,updated_at,remote_url,file_format\",\n filter: {\n updatedAfter: new Date(\"2020-01-01T00:00:00.000Z\"),\n },\n xAccountId: \"\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();" - target: $["paths"]["/unified/ats/applications/{id}/documents/upload"]["post"] update: "x-codeSamples": @@ -146,7 +146,7 @@ actions: "x-codeSamples": - "lang": "typescript" "label": "ats_list_application_notes" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.ats.listApplicationNotes({\n id: \"\",\n fields: \"id,remote_id,content,author_id,remote_author_id,visibility,created_at,updated_at,deleted_at\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n xAccountId: \"\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.ats.listApplicationNotes({\n id: \"\",\n fields: \"id,remote_id,content,author_id,remote_author_id,visibility,created_at,updated_at,deleted_at\",\n filter: {\n updatedAfter: new Date(\"2020-01-01T00:00:00.000Z\"),\n },\n xAccountId: \"\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();" - target: $["paths"]["/unified/ats/applications/{id}/notes"]["post"] update: "x-codeSamples": @@ -170,7 +170,7 @@ actions: "x-codeSamples": - "lang": "typescript" "label": "ats_list_applications_offers" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.ats.listApplicationsOffers({\n id: \"\",\n fields: \"id,remote_id,application_id,remote_application_id,start_date,status,offer_status,salary,currency,created_at,updated_at,offer_history\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n xAccountId: \"\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.ats.listApplicationsOffers({\n id: \"\",\n fields: \"id,remote_id,application_id,remote_application_id,start_date,status,offer_status,salary,currency,created_at,updated_at,offer_history\",\n filter: {\n updatedAfter: new Date(\"2020-01-01T00:00:00.000Z\"),\n },\n xAccountId: \"\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();" - target: $["paths"]["/unified/ats/applications/{id}/offers/{subResourceId}"]["get"] update: "x-codeSamples": @@ -188,7 +188,7 @@ actions: "x-codeSamples": - "lang": "typescript" "label": "ats_list_applications_scheduled_interviews" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.ats.listApplicationsScheduledInterviews({\n id: \"\",\n fields: \"id,remote_id,application_id,remote_application_id,interview_stage_id,remote_interview_stage_id,interview_stage,status,interview_status,interviewer_ids,remote_interviewer_ids,interview_parts,interviewers,start_at,end_at,meeting_url,created_at,updated_at\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n xAccountId: \"\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.ats.listApplicationsScheduledInterviews({\n id: \"\",\n fields: \"id,remote_id,application_id,remote_application_id,interview_stage_id,remote_interview_stage_id,interview_stage,status,interview_status,interviewer_ids,remote_interviewer_ids,interview_parts,interviewers,start_at,end_at,meeting_url,created_at,updated_at\",\n filter: {\n updatedAfter: new Date(\"2020-01-01T00:00:00.000Z\"),\n },\n xAccountId: \"\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();" - target: $["paths"]["/unified/ats/applications/{id}/scheduled_interviews/{subResourceId}"]["get"] update: "x-codeSamples": @@ -200,7 +200,7 @@ actions: "x-codeSamples": - "lang": "typescript" "label": "ats_list_application_scorecards" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.ats.listApplicationScorecards({\n id: \"\",\n fields: \"id,remote_id,sections,label,candidate_id,remote_candidate_id,application_id,remote_application_id,interview_id,remote_interview_id,author_id,remote_author_id,overall_recommendation,created_at,updated_at\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n xAccountId: \"\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.ats.listApplicationScorecards({\n id: \"\",\n fields: \"id,remote_id,sections,label,candidate_id,remote_candidate_id,application_id,remote_application_id,interview_id,remote_interview_id,author_id,remote_author_id,overall_recommendation,created_at,updated_at\",\n filter: {\n updatedAfter: new Date(\"2020-01-01T00:00:00.000Z\"),\n },\n xAccountId: \"\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();" - target: $["paths"]["/unified/ats/applications/{id}/scorecards/{subResourceId}"]["get"] update: "x-codeSamples": @@ -230,7 +230,7 @@ actions: "x-codeSamples": - "lang": "typescript" "label": "ats_list_assessments_packages" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.ats.listAssessmentsPackages({\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n xAccountId: \"\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.ats.listAssessmentsPackages({\n filter: {\n updatedAfter: new Date(\"2020-01-01T00:00:00.000Z\"),\n },\n xAccountId: \"\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();" - target: $["paths"]["/unified/ats/assessments/packages/{id}"]["get"] update: "x-codeSamples": @@ -260,7 +260,7 @@ actions: "x-codeSamples": - "lang": "typescript" "label": "ats_list_background_check_packages" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.ats.listBackgroundCheckPackages({\n fields: \"id,remote_id,name,description,tests\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n xAccountId: \"\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.ats.listBackgroundCheckPackages({\n fields: \"id,remote_id,name,description,tests\",\n filter: {\n updatedAfter: new Date(\"2020-01-01T00:00:00.000Z\"),\n },\n xAccountId: \"\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();" - target: $["paths"]["/unified/ats/background_checks/packages"]["post"] update: "x-codeSamples": @@ -290,7 +290,7 @@ actions: "x-codeSamples": - "lang": "typescript" "label": "ats_list_candidates" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.ats.listCandidates({\n fields: \"id,remote_id,name,first_name,last_name,email,emails,social_links,phone,phone_numbers,company,country,title,application_ids,remote_application_ids,hired_at,custom_fields,created_at,updated_at\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n createdAfter: \"2020-01-01T00:00:00.000Z\",\n },\n include: \"custom_fields\",\n xAccountId: \"\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.ats.listCandidates({\n fields: \"id,remote_id,name,first_name,last_name,email,emails,social_links,phone,phone_numbers,company,country,title,application_ids,remote_application_ids,hired_at,custom_fields,created_at,updated_at\",\n filter: {\n updatedAfter: new Date(\"2020-01-01T00:00:00.000Z\"),\n createdAfter: new Date(\"2020-01-01T00:00:00.000Z\"),\n },\n include: \"custom_fields\",\n xAccountId: \"\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();" - target: $["paths"]["/unified/ats/candidates"]["post"] update: "x-codeSamples": @@ -314,7 +314,7 @@ actions: "x-codeSamples": - "lang": "typescript" "label": "ats_list_candidate_notes" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.ats.listCandidateNotes({\n id: \"\",\n fields: \"id,remote_id,content,author_id,remote_author_id,visibility,created_at,updated_at,deleted_at\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n xAccountId: \"\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.ats.listCandidateNotes({\n id: \"\",\n fields: \"id,remote_id,content,author_id,remote_author_id,visibility,created_at,updated_at,deleted_at\",\n filter: {\n updatedAfter: new Date(\"2020-01-01T00:00:00.000Z\"),\n },\n xAccountId: \"\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();" - target: $["paths"]["/unified/ats/candidates/{id}/notes"]["post"] update: "x-codeSamples": @@ -344,31 +344,31 @@ actions: "x-codeSamples": - "lang": "typescript" "label": "ats_list_candidate_custom_field_definitions" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.ats.listCandidateCustomFieldDefinitions({\n fields: \"id,remote_id,name,description,type,options\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n xAccountId: \"\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.ats.listCandidateCustomFieldDefinitions({\n fields: \"id,remote_id,name,description,type,options\",\n filter: {\n updatedAfter: new Date(\"2020-01-01T00:00:00.000Z\"),\n },\n xAccountId: \"\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();" - target: $["paths"]["/unified/ats/custom_field_definitions/candidates/{id}"]["get"] update: "x-codeSamples": - "lang": "typescript" "label": "ats_get_candidate_custom_field_definition" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.ats.getCandidateCustomFieldDefinition({\n id: \"\",\n fields: \"id,remote_id,name,description,type,options\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n xAccountId: \"\",\n });\n\n console.log(result);\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.ats.getCandidateCustomFieldDefinition({\n id: \"\",\n fields: \"id,remote_id,name,description,type,options\",\n filter: {\n updatedAfter: new Date(\"2020-01-01T00:00:00.000Z\"),\n },\n xAccountId: \"\",\n });\n\n console.log(result);\n}\n\nrun();" - target: $["paths"]["/unified/ats/custom_field_definitions/jobs"]["get"] update: "x-codeSamples": - "lang": "typescript" "label": "ats_list_job_custom_field_definitions" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.ats.listJobCustomFieldDefinitions({\n fields: \"id,remote_id,name,description,type,options\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n xAccountId: \"\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.ats.listJobCustomFieldDefinitions({\n fields: \"id,remote_id,name,description,type,options\",\n filter: {\n updatedAfter: new Date(\"2020-01-01T00:00:00.000Z\"),\n },\n xAccountId: \"\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();" - target: $["paths"]["/unified/ats/custom_field_definitions/jobs/{id}"]["get"] update: "x-codeSamples": - "lang": "typescript" "label": "ats_get_job_custom_field_definition" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.ats.getJobCustomFieldDefinition({\n id: \"\",\n fields: \"id,remote_id,name,description,type,options\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n xAccountId: \"\",\n });\n\n console.log(result);\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.ats.getJobCustomFieldDefinition({\n id: \"\",\n fields: \"id,remote_id,name,description,type,options\",\n filter: {\n updatedAfter: new Date(\"2020-01-01T00:00:00.000Z\"),\n },\n xAccountId: \"\",\n });\n\n console.log(result);\n}\n\nrun();" - target: $["paths"]["/unified/ats/departments"]["get"] update: "x-codeSamples": - "lang": "typescript" "label": "ats_list_departments" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.ats.listDepartments({\n fields: \"id,remote_id,name\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n xAccountId: \"\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.ats.listDepartments({\n fields: \"id,remote_id,name\",\n filter: {\n updatedAfter: new Date(\"2020-01-01T00:00:00.000Z\"),\n },\n xAccountId: \"\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();" - target: $["paths"]["/unified/ats/departments/{id}"]["get"] update: "x-codeSamples": @@ -380,7 +380,7 @@ actions: "x-codeSamples": - "lang": "typescript" "label": "ats_list_application_document_categories" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.ats.listApplicationDocumentCategories({\n fields: \"id,remote_id,name,active\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n xAccountId: \"\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.ats.listApplicationDocumentCategories({\n fields: \"id,remote_id,name,active\",\n filter: {\n updatedAfter: new Date(\"2020-01-01T00:00:00.000Z\"),\n },\n xAccountId: \"\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();" - target: $["paths"]["/unified/ats/documents/application_categories/{id}"]["get"] update: "x-codeSamples": @@ -392,7 +392,7 @@ actions: "x-codeSamples": - "lang": "typescript" "label": "ats_list_interview_stages" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.ats.listInterviewStages({\n fields: \"id,remote_id,name,order,created_at,updated_at\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n xAccountId: \"\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.ats.listInterviewStages({\n fields: \"id,remote_id,name,order,created_at,updated_at\",\n filter: {\n updatedAfter: new Date(\"2020-01-01T00:00:00.000Z\"),\n },\n xAccountId: \"\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();" - target: $["paths"]["/unified/ats/interview_stages/{id}"]["get"] update: "x-codeSamples": @@ -404,7 +404,7 @@ actions: "x-codeSamples": - "lang": "typescript" "label": "ats_list_interviews" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.ats.listInterviews({\n fields: \"id,remote_id,application_id,remote_application_id,interview_stage_id,remote_interview_stage_id,interview_stage,status,interview_status,interviewer_ids,remote_interviewer_ids,interview_parts,interviewers,start_at,end_at,meeting_url,created_at,updated_at\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n createdAfter: \"2020-01-01T00:00:00.000Z\",\n },\n xAccountId: \"\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.ats.listInterviews({\n fields: \"id,remote_id,application_id,remote_application_id,interview_stage_id,remote_interview_stage_id,interview_stage,status,interview_status,interviewer_ids,remote_interviewer_ids,interview_parts,interviewers,start_at,end_at,meeting_url,created_at,updated_at\",\n filter: {\n updatedAfter: new Date(\"2020-01-01T00:00:00.000Z\"),\n createdAfter: new Date(\"2020-01-01T00:00:00.000Z\"),\n },\n xAccountId: \"\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();" - target: $["paths"]["/unified/ats/interviews/{id}"]["get"] update: "x-codeSamples": @@ -416,7 +416,7 @@ actions: "x-codeSamples": - "lang": "typescript" "label": "ats_list_job_postings" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.ats.listJobPostings({\n fields: \"id,remote_id,title,locations,internal,status,job_id,remote_job_id,content,compensation,employment_type,employment_contract_type,external_url,external_apply_url,questionnaires,start_date,updated_at,created_at\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n createdAfter: \"2020-01-01T00:00:00.000Z\",\n },\n include: \"questionnaires\",\n xAccountId: \"\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.ats.listJobPostings({\n fields: \"id,remote_id,title,locations,internal,status,job_id,remote_job_id,content,compensation,employment_type,employment_contract_type,external_url,external_apply_url,questionnaires,start_date,updated_at,created_at\",\n filter: {\n updatedAfter: new Date(\"2020-01-01T00:00:00.000Z\"),\n createdAfter: new Date(\"2020-01-01T00:00:00.000Z\"),\n },\n include: \"questionnaires\",\n xAccountId: \"\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();" - target: $["paths"]["/unified/ats/job_postings/{id}"]["get"] update: "x-codeSamples": @@ -428,7 +428,7 @@ actions: "x-codeSamples": - "lang": "typescript" "label": "ats_list_jobs" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.ats.listJobs({\n fields: \"id,remote_id,code,title,description,status,job_status,department_ids,remote_department_ids,location_ids,remote_location_ids,hiring_team,interview_stages,confidential,custom_fields,created_at,updated_at\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n createdAfter: \"2020-01-01T00:00:00.000Z\",\n },\n expand: \"job_postings,interview_stages\",\n include: \"custom_fields\",\n xAccountId: \"\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.ats.listJobs({\n fields: \"id,remote_id,code,title,description,status,job_status,department_ids,remote_department_ids,location_ids,remote_location_ids,hiring_team,interview_stages,confidential,custom_fields,created_at,updated_at\",\n filter: {\n updatedAfter: new Date(\"2020-01-01T00:00:00.000Z\"),\n createdAfter: new Date(\"2020-01-01T00:00:00.000Z\"),\n },\n expand: \"job_postings,interview_stages\",\n include: \"custom_fields\",\n xAccountId: \"\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();" - target: $["paths"]["/unified/ats/jobs"]["post"] update: "x-codeSamples": @@ -464,7 +464,7 @@ actions: "x-codeSamples": - "lang": "typescript" "label": "ats_list_locations" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.ats.listLocations({\n fields: \"id,remote_id,name\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n xAccountId: \"\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.ats.listLocations({\n fields: \"id,remote_id,name\",\n filter: {\n updatedAfter: new Date(\"2020-01-01T00:00:00.000Z\"),\n },\n xAccountId: \"\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();" - target: $["paths"]["/unified/ats/locations/{id}"]["get"] update: "x-codeSamples": @@ -476,7 +476,7 @@ actions: "x-codeSamples": - "lang": "typescript" "label": "ats_list_offers" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.ats.listOffers({\n fields: \"id,remote_id,application_id,remote_application_id,start_date,status,offer_status,salary,currency,created_at,updated_at,offer_history\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n xAccountId: \"\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.ats.listOffers({\n fields: \"id,remote_id,application_id,remote_application_id,start_date,status,offer_status,salary,currency,created_at,updated_at,offer_history\",\n filter: {\n updatedAfter: new Date(\"2020-01-01T00:00:00.000Z\"),\n },\n xAccountId: \"\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();" - target: $["paths"]["/unified/ats/offers"]["post"] update: "x-codeSamples": @@ -494,7 +494,7 @@ actions: "x-codeSamples": - "lang": "typescript" "label": "ats_list_rejected_reasons" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.ats.listRejectedReasons({\n fields: \"id,remote_id,label,type,rejected_reason_type\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n xAccountId: \"\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.ats.listRejectedReasons({\n fields: \"id,remote_id,label,type,rejected_reason_type\",\n filter: {\n updatedAfter: new Date(\"2020-01-01T00:00:00.000Z\"),\n },\n xAccountId: \"\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();" - target: $["paths"]["/unified/ats/rejected_reasons/{id}"]["get"] update: "x-codeSamples": @@ -518,7 +518,7 @@ actions: "x-codeSamples": - "lang": "typescript" "label": "crm_list_accounts" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.crm.listAccounts({\n fields: \"id,remote_id,owner_id,remote_owner_id,name,description,industries,annual_revenue,website,addresses,phone_numbers,created_at,updated_at\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n xAccountId: \"\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.crm.listAccounts({\n fields: \"id,remote_id,owner_id,remote_owner_id,name,description,industries,annual_revenue,website,addresses,phone_numbers,created_at,updated_at\",\n filter: {\n updatedAfter: new Date(\"2020-01-01T00:00:00.000Z\"),\n },\n xAccountId: \"\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();" - target: $["paths"]["/unified/crm/accounts/{id}"]["get"] update: "x-codeSamples": @@ -530,7 +530,7 @@ actions: "x-codeSamples": - "lang": "typescript" "label": "crm_list_contacts" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.crm.listContacts({\n fields: \"id,remote_id,first_name,last_name,company_name,emails,phone_numbers,deal_ids,remote_deal_ids,account_ids,remote_account_ids,custom_fields,created_at,updated_at\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n include: \"custom_fields\",\n xAccountId: \"\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.crm.listContacts({\n fields: \"id,remote_id,first_name,last_name,company_name,emails,phone_numbers,deal_ids,remote_deal_ids,account_ids,remote_account_ids,custom_fields,created_at,updated_at\",\n filter: {\n updatedAfter: new Date(\"2020-01-01T00:00:00.000Z\"),\n },\n include: \"custom_fields\",\n xAccountId: \"\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();" - target: $["paths"]["/unified/crm/contacts"]["post"] update: "x-codeSamples": @@ -554,19 +554,19 @@ actions: "x-codeSamples": - "lang": "typescript" "label": "crm_list_contact_custom_field_definitions" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.crm.listContactCustomFieldDefinitions({\n fields: \"id,remote_id,name,description,type,options\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n xAccountId: \"\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.crm.listContactCustomFieldDefinitions({\n fields: \"id,remote_id,name,description,type,options\",\n filter: {\n updatedAfter: new Date(\"2020-01-01T00:00:00.000Z\"),\n },\n xAccountId: \"\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();" - target: $["paths"]["/unified/crm/custom_field_definitions/contacts/{id}"]["get"] update: "x-codeSamples": - "lang": "typescript" "label": "crm_get_contact_custom_field_definition" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.crm.getContactCustomFieldDefinition({\n id: \"\",\n fields: \"id,remote_id,name,description,type,options\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n xAccountId: \"\",\n });\n\n console.log(result);\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.crm.getContactCustomFieldDefinition({\n id: \"\",\n fields: \"id,remote_id,name,description,type,options\",\n filter: {\n updatedAfter: new Date(\"2020-01-01T00:00:00.000Z\"),\n },\n xAccountId: \"\",\n });\n\n console.log(result);\n}\n\nrun();" - target: $["paths"]["/unified/crm/lists"]["get"] update: "x-codeSamples": - "lang": "typescript" "label": "crm_list_lists" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.crm.listLists({\n fields: \"id,remote_id,name,created_at,updated_at,items,type\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n xAccountId: \"\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.crm.listLists({\n fields: \"id,remote_id,name,created_at,updated_at,items,type\",\n filter: {\n updatedAfter: new Date(\"2020-01-01T00:00:00.000Z\"),\n },\n xAccountId: \"\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();" - target: $["paths"]["/unified/crm/lists/{id}"]["get"] update: "x-codeSamples": @@ -578,7 +578,7 @@ actions: "x-codeSamples": - "lang": "typescript" "label": "documents_list_drives" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.documents.listDrives({\n fields: \"id,remote_id,name,description,url,created_at,updated_at\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n xAccountId: \"\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.documents.listDrives({\n fields: \"id,remote_id,name,description,url,created_at,updated_at\",\n filter: {\n updatedAfter: new Date(\"2020-01-01T00:00:00.000Z\"),\n },\n xAccountId: \"\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();" - target: $["paths"]["/unified/documents/drives/{id}"]["get"] update: "x-codeSamples": @@ -590,7 +590,7 @@ actions: "x-codeSamples": - "lang": "typescript" "label": "documents_list_files" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.documents.listFiles({\n fields: \"id,remote_id,name,description,url,size,file_format,path,owner_id,remote_owner_id,folder_id,remote_folder_id,drive_id,remote_drive_id,export_formats,default_download_format,created_at,updated_at,has_content,has_children,all_parent_folder_ids,remote_all_parent_folder_ids\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n name: \"john_doe_resume.pdf\",\n content: \"FAQ of the project\",\n createdAfter: \"2020-01-01T00:00:00.000Z\",\n driveId: \"1234567890\",\n folderId: \"1234567890\",\n },\n folderId: \"1234567890\",\n nestedItems: \"true\",\n include: \"all_parent_folder_ids\",\n xAccountId: \"\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.documents.listFiles({\n fields: \"id,remote_id,name,description,url,size,file_format,path,owner_id,remote_owner_id,folder_id,remote_folder_id,drive_id,remote_drive_id,export_formats,default_download_format,created_at,updated_at,has_content,has_children,all_parent_folder_ids,remote_all_parent_folder_ids\",\n filter: {\n updatedAfter: new Date(\"2020-01-01T00:00:00.000Z\"),\n name: \"john_doe_resume.pdf\",\n content: \"FAQ of the project\",\n createdAfter: new Date(\"2020-01-01T00:00:00.000Z\"),\n driveId: \"1234567890\",\n folderId: \"1234567890\",\n },\n folderId: \"1234567890\",\n nestedItems: \"true\",\n include: \"all_parent_folder_ids\",\n xAccountId: \"\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();" - target: $["paths"]["/unified/documents/files/upload"]["post"] update: "x-codeSamples": @@ -614,7 +614,7 @@ actions: "x-codeSamples": - "lang": "typescript" "label": "documents_list_folders" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.documents.listFolders({\n fields: \"id,remote_id,name,description,url,size,path,owner_id,remote_owner_id,parent_folder_id,remote_parent_folder_id,drive_id,remote_drive_id,created_at,updated_at,has_content,has_children,is_root,all_parent_folder_ids,remote_all_parent_folder_ids\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n driveId: \"1234567890\",\n folderId: \"1234567890\",\n },\n folderId: \"1234567890\",\n nestedItems: \"true\",\n include: \"all_parent_folder_ids\",\n xAccountId: \"\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.documents.listFolders({\n fields: \"id,remote_id,name,description,url,size,path,owner_id,remote_owner_id,parent_folder_id,remote_parent_folder_id,drive_id,remote_drive_id,created_at,updated_at,has_content,has_children,is_root,all_parent_folder_ids,remote_all_parent_folder_ids\",\n filter: {\n updatedAfter: new Date(\"2020-01-01T00:00:00.000Z\"),\n driveId: \"1234567890\",\n folderId: \"1234567890\",\n },\n folderId: \"1234567890\",\n nestedItems: \"true\",\n include: \"all_parent_folder_ids\",\n xAccountId: \"\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();" - target: $["paths"]["/unified/documents/folders/{id}"]["get"] update: "x-codeSamples": @@ -626,7 +626,7 @@ actions: "x-codeSamples": - "lang": "typescript" "label": "hris_list_benefits" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.hris.listBenefits({\n fields: \"id,remote_id,name,benefit_type,provider,description,created_at,updated_at\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n xAccountId: \"\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.hris.listBenefits({\n fields: \"id,remote_id,name,benefit_type,provider,description,created_at,updated_at\",\n filter: {\n updatedAfter: new Date(\"2020-01-01T00:00:00.000Z\"),\n },\n xAccountId: \"\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();" - target: $["paths"]["/unified/hris/benefits/{id}"]["get"] update: "x-codeSamples": @@ -638,7 +638,7 @@ actions: "x-codeSamples": - "lang": "typescript" "label": "hris_list_companies" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.hris.listCompanies({\n fields: \"id,remote_id,name,full_name,display_name,created_at,updated_at\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n xAccountId: \"\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.hris.listCompanies({\n fields: \"id,remote_id,name,full_name,display_name,created_at,updated_at\",\n filter: {\n updatedAfter: new Date(\"2020-01-01T00:00:00.000Z\"),\n },\n xAccountId: \"\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();" - target: $["paths"]["/unified/hris/companies/{id}"]["get"] update: "x-codeSamples": @@ -650,19 +650,19 @@ actions: "x-codeSamples": - "lang": "typescript" "label": "hris_list_employee_custom_field_definitions" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.hris.listEmployeeCustomFieldDefinitions({\n fields: \"id,remote_id,name,description,type,options\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n xAccountId: \"\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.hris.listEmployeeCustomFieldDefinitions({\n fields: \"id,remote_id,name,description,type,options\",\n filter: {\n updatedAfter: new Date(\"2020-01-01T00:00:00.000Z\"),\n },\n xAccountId: \"\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();" - target: $["paths"]["/unified/hris/custom_field_definitions/employees/{id}"]["get"] update: "x-codeSamples": - "lang": "typescript" "label": "hris_get_employee_custom_field_definition" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.hris.getEmployeeCustomFieldDefinition({\n id: \"\",\n fields: \"id,remote_id,name,description,type,options\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n xAccountId: \"\",\n });\n\n console.log(result);\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.hris.getEmployeeCustomFieldDefinition({\n id: \"\",\n fields: \"id,remote_id,name,description,type,options\",\n filter: {\n updatedAfter: new Date(\"2020-01-01T00:00:00.000Z\"),\n },\n xAccountId: \"\",\n });\n\n console.log(result);\n}\n\nrun();" - target: $["paths"]["/unified/hris/documents/employee_categories"]["get"] update: "x-codeSamples": - "lang": "typescript" "label": "hris_list_employee_categories" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.hris.listEmployeeCategories({\n fields: \"id,remote_id,name,active\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n xAccountId: \"\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.hris.listEmployeeCategories({\n fields: \"id,remote_id,name,active\",\n filter: {\n updatedAfter: new Date(\"2020-01-01T00:00:00.000Z\"),\n },\n xAccountId: \"\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();" - target: $["paths"]["/unified/hris/documents/employee_categories/{id}"]["get"] update: "x-codeSamples": @@ -674,7 +674,7 @@ actions: "x-codeSamples": - "lang": "typescript" "label": "hris_list_employees" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.hris.listEmployees({\n fields: \"id,remote_id,first_name,last_name,name,display_name,gender,ethnicity,date_of_birth,birthday,marital_status,avatar_url,avatar,personal_email,personal_phone_number,work_email,work_phone_number,job_id,remote_job_id,job_title,job_description,department_id,remote_department_id,department,cost_centers,company,manager_id,remote_manager_id,hire_date,start_date,tenure,work_anniversary,employment_type,employment_contract_type,employment_status,termination_date,company_name,company_id,remote_company_id,preferred_language,citizenships,home_location,work_location,employments,custom_fields,documents,created_at,updated_at,benefits,employee_number,national_identity_number,national_identity_numbers,skills\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n expand: \"company,employments,work_location,home_location,groups,skills\",\n include: \"avatar_url,avatar,custom_fields,job_description,benefits\",\n xAccountId: \"\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.hris.listEmployees({\n fields: \"id,remote_id,first_name,last_name,name,display_name,gender,ethnicity,date_of_birth,birthday,marital_status,avatar_url,avatar,personal_email,personal_phone_number,work_email,work_phone_number,job_id,remote_job_id,job_title,job_description,department_id,remote_department_id,department,cost_centers,company,manager_id,remote_manager_id,hire_date,start_date,tenure,work_anniversary,employment_type,employment_contract_type,employment_status,termination_date,company_name,company_id,remote_company_id,preferred_language,citizenships,home_location,work_location,employments,custom_fields,documents,created_at,updated_at,benefits,employee_number,national_identity_number,national_identity_numbers,skills\",\n filter: {\n updatedAfter: new Date(\"2020-01-01T00:00:00.000Z\"),\n },\n expand: \"company,employments,work_location,home_location,groups,skills\",\n include: \"avatar_url,avatar,custom_fields,job_description,benefits\",\n xAccountId: \"\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();" - target: $["paths"]["/unified/hris/employees"]["post"] update: "x-codeSamples": @@ -698,7 +698,7 @@ actions: "x-codeSamples": - "lang": "typescript" "label": "hris_list_employee_documents" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.hris.listEmployeeDocuments({\n id: \"\",\n fields: \"id,remote_id,name,path,type,category,category_id,remote_category_id,contents,created_at,updated_at,remote_url,file_format\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n xAccountId: \"\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.hris.listEmployeeDocuments({\n id: \"\",\n fields: \"id,remote_id,name,path,type,category,category_id,remote_category_id,contents,created_at,updated_at,remote_url,file_format\",\n filter: {\n updatedAfter: new Date(\"2020-01-01T00:00:00.000Z\"),\n },\n xAccountId: \"\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();" - target: $["paths"]["/unified/hris/employees/{id}/documents/upload"]["post"] update: "x-codeSamples": @@ -728,7 +728,7 @@ actions: "x-codeSamples": - "lang": "typescript" "label": "hris_list_employee_employments" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.hris.listEmployeeEmployments({\n id: \"\",\n fields: \"id,remote_id,employee_id,remote_employee_id,job_title,pay_rate,pay_period,pay_frequency,pay_currency,effective_date,end_date,employment_type,employment_contract_type,change_reason,grade,work_time,payroll_code,fte,created_at,updated_at,start_date,active,department,team,cost_center,cost_centers,division,job,type,contract_type,manager\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n expand: \"groups\",\n xAccountId: \"\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.hris.listEmployeeEmployments({\n id: \"\",\n fields: \"id,remote_id,employee_id,remote_employee_id,job_title,pay_rate,pay_period,pay_frequency,pay_currency,effective_date,end_date,employment_type,employment_contract_type,change_reason,grade,work_time,payroll_code,fte,created_at,updated_at,start_date,active,department,team,cost_center,cost_centers,division,job,type,contract_type,manager\",\n filter: {\n updatedAfter: new Date(\"2020-01-01T00:00:00.000Z\"),\n },\n expand: \"groups\",\n xAccountId: \"\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();" - target: $["paths"]["/unified/hris/employees/{id}/employments"]["post"] update: "x-codeSamples": @@ -758,7 +758,7 @@ actions: "x-codeSamples": - "lang": "typescript" "label": "hris_list_employee_skills" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.hris.listEmployeeSkills({\n id: \"\",\n fields: \"id,remote_id,name,active,language,maximum_proficiency,minimum_proficiency\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n xAccountId: \"\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.hris.listEmployeeSkills({\n id: \"\",\n fields: \"id,remote_id,name,active,language,maximum_proficiency,minimum_proficiency\",\n filter: {\n updatedAfter: new Date(\"2020-01-01T00:00:00.000Z\"),\n },\n xAccountId: \"\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();" - target: $["paths"]["/unified/hris/employees/{id}/skills"]["post"] update: "x-codeSamples": @@ -776,7 +776,7 @@ actions: "x-codeSamples": - "lang": "typescript" "label": "hris_list_employee_tasks" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.hris.listEmployeeTasks({\n id: \"\",\n fields: \"id,remote_id,employee_id,remote_employee_id,name,description,type,status,due_date,completion_date,assigned_by_employee_id,remote_assigned_by_employee_id,assigned_by_employee_name,link_to_task,extracted_links,next_task_id,remote_next_task_id,parent_process_name,comments,attachments,created_at,updated_at\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n expand: \"attachments\",\n xAccountId: \"\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.hris.listEmployeeTasks({\n id: \"\",\n fields: \"id,remote_id,employee_id,remote_employee_id,name,description,type,status,due_date,completion_date,assigned_by_employee_id,remote_assigned_by_employee_id,assigned_by_employee_name,link_to_task,extracted_links,next_task_id,remote_next_task_id,parent_process_name,comments,attachments,created_at,updated_at\",\n filter: {\n updatedAfter: new Date(\"2020-01-01T00:00:00.000Z\"),\n },\n expand: \"attachments\",\n xAccountId: \"\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();" - target: $["paths"]["/unified/hris/employees/{id}/tasks/{subResourceId}"]["get"] update: "x-codeSamples": @@ -788,7 +788,7 @@ actions: "x-codeSamples": - "lang": "typescript" "label": "hris_list_employee_time_off_requests" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.hris.listEmployeeTimeOffRequests({\n id: \"\",\n fields: \"id,remote_id,employee_id,remote_employee_id,approver_id,remote_approver_id,status,type,start_date,end_date,start_half_day,end_half_day,time_off_policy_id,remote_time_off_policy_id,reason,comment,duration,created_at,updated_at,policy\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n expand: \"policy\",\n xAccountId: \"\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.hris.listEmployeeTimeOffRequests({\n id: \"\",\n fields: \"id,remote_id,employee_id,remote_employee_id,approver_id,remote_approver_id,status,type,start_date,end_date,start_half_day,end_half_day,time_off_policy_id,remote_time_off_policy_id,reason,comment,duration,created_at,updated_at,policy\",\n filter: {\n updatedAfter: new Date(\"2020-01-01T00:00:00.000Z\"),\n },\n expand: \"policy\",\n xAccountId: \"\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();" - target: $["paths"]["/unified/hris/employees/{id}/time_off"]["post"] update: "x-codeSamples": @@ -818,7 +818,7 @@ actions: "x-codeSamples": - "lang": "typescript" "label": "hris_list_employee_time_off_balances" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.hris.listEmployeeTimeOffBalances({\n id: \"\",\n fields: \"id,remote_id,employee_id,remote_employee_id,policy_id,remote_policy_id,policy,current_balance,initial_balance,balance_unit,balance_start_date,balance_expiry_date,updated_at\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n expand: \"policy\",\n xAccountId: \"\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.hris.listEmployeeTimeOffBalances({\n id: \"\",\n fields: \"id,remote_id,employee_id,remote_employee_id,policy_id,remote_policy_id,policy,current_balance,initial_balance,balance_unit,balance_start_date,balance_expiry_date,updated_at\",\n filter: {\n updatedAfter: new Date(\"2020-01-01T00:00:00.000Z\"),\n },\n expand: \"policy\",\n xAccountId: \"\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();" - target: $["paths"]["/unified/hris/employees/{id}/time_off_balances/{subResourceId}"]["get"] update: "x-codeSamples": @@ -830,13 +830,13 @@ actions: "x-codeSamples": - "lang": "typescript" "label": "hris_list_employee_time_off_policies" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.hris.listEmployeeTimeOffPolicies({\n id: \"\",\n fields: \"id,remote_id,name,description,type,duration_unit,reasons,updated_at,created_at\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n xAccountId: \"\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.hris.listEmployeeTimeOffPolicies({\n id: \"\",\n fields: \"id,remote_id,name,description,type,duration_unit,reasons,updated_at,created_at\",\n filter: {\n updatedAfter: new Date(\"2020-01-01T00:00:00.000Z\"),\n },\n xAccountId: \"\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();" - target: $["paths"]["/unified/hris/employees/{id}/work_eligibility"]["get"] update: "x-codeSamples": - "lang": "typescript" "label": "hris_list_employee_work_eligibility" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.hris.listEmployeeWorkEligibility({\n id: \"\",\n fields: \"id,remote_id,type,sub_type,document,valid_from,valid_to,issued_by,number\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n xAccountId: \"\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.hris.listEmployeeWorkEligibility({\n id: \"\",\n fields: \"id,remote_id,type,sub_type,document,valid_from,valid_to,issued_by,number\",\n filter: {\n updatedAfter: new Date(\"2020-01-01T00:00:00.000Z\"),\n },\n xAccountId: \"\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();" - target: $["paths"]["/unified/hris/employees/{id}/work_eligibility"]["post"] update: "x-codeSamples": @@ -860,7 +860,7 @@ actions: "x-codeSamples": - "lang": "typescript" "label": "hris_list_employments" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.hris.listEmployments({\n fields: \"id,remote_id,employee_id,remote_employee_id,job_title,pay_rate,pay_period,pay_frequency,pay_currency,effective_date,end_date,employment_type,employment_contract_type,change_reason,grade,work_time,payroll_code,fte,created_at,updated_at,start_date,active,department,team,cost_center,cost_centers,division,job,type,contract_type,manager\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n expand: \"groups\",\n xAccountId: \"\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.hris.listEmployments({\n fields: \"id,remote_id,employee_id,remote_employee_id,job_title,pay_rate,pay_period,pay_frequency,pay_currency,effective_date,end_date,employment_type,employment_contract_type,change_reason,grade,work_time,payroll_code,fte,created_at,updated_at,start_date,active,department,team,cost_center,cost_centers,division,job,type,contract_type,manager\",\n filter: {\n updatedAfter: new Date(\"2020-01-01T00:00:00.000Z\"),\n },\n expand: \"groups\",\n xAccountId: \"\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();" - target: $["paths"]["/unified/hris/employments/{id}"]["get"] update: "x-codeSamples": @@ -872,13 +872,13 @@ actions: "x-codeSamples": - "lang": "typescript" "label": "hris_list_groups" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.hris.listGroups({\n fields: \"id,remote_id,name,type,parent_ids,remote_parent_ids,owner_ids,remote_owner_ids,company_id,remote_company_id\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n xAccountId: \"\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.hris.listGroups({\n fields: \"id,remote_id,name,type,parent_ids,remote_parent_ids,owner_ids,remote_owner_ids,company_id,remote_company_id\",\n filter: {\n updatedAfter: new Date(\"2020-01-01T00:00:00.000Z\"),\n },\n xAccountId: \"\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();" - target: $["paths"]["/unified/hris/groups/companies"]["get"] update: "x-codeSamples": - "lang": "typescript" "label": "hris_list_companies_groups" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.hris.listCompaniesGroups({\n fields: \"id,remote_id,name,full_name,display_name,created_at,updated_at\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n xAccountId: \"\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.hris.listCompaniesGroups({\n fields: \"id,remote_id,name,full_name,display_name,created_at,updated_at\",\n filter: {\n updatedAfter: new Date(\"2020-01-01T00:00:00.000Z\"),\n },\n xAccountId: \"\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();" - target: $["paths"]["/unified/hris/groups/companies/{id}"]["get"] update: "x-codeSamples": @@ -890,7 +890,7 @@ actions: "x-codeSamples": - "lang": "typescript" "label": "hris_list_cost_center_groups" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.hris.listCostCenterGroups({\n fields: \"id,remote_id,name,type,distribution_percentage,parent_ids,remote_parent_ids,owner_ids,remote_owner_ids,company_id,remote_company_id\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n xAccountId: \"\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.hris.listCostCenterGroups({\n fields: \"id,remote_id,name,type,distribution_percentage,parent_ids,remote_parent_ids,owner_ids,remote_owner_ids,company_id,remote_company_id\",\n filter: {\n updatedAfter: new Date(\"2020-01-01T00:00:00.000Z\"),\n },\n xAccountId: \"\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();" - target: $["paths"]["/unified/hris/groups/cost_centers/{id}"]["get"] update: "x-codeSamples": @@ -902,7 +902,7 @@ actions: "x-codeSamples": - "lang": "typescript" "label": "hris_list_department_groups" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.hris.listDepartmentGroups({\n fields: \"id,remote_id,name,type,parent_ids,remote_parent_ids,owner_ids,remote_owner_ids,company_id,remote_company_id\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n xAccountId: \"\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.hris.listDepartmentGroups({\n fields: \"id,remote_id,name,type,parent_ids,remote_parent_ids,owner_ids,remote_owner_ids,company_id,remote_company_id\",\n filter: {\n updatedAfter: new Date(\"2020-01-01T00:00:00.000Z\"),\n },\n xAccountId: \"\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();" - target: $["paths"]["/unified/hris/groups/departments/{id}"]["get"] update: "x-codeSamples": @@ -914,7 +914,7 @@ actions: "x-codeSamples": - "lang": "typescript" "label": "hris_list_division_groups" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.hris.listDivisionGroups({\n fields: \"id,remote_id,name,type,parent_ids,remote_parent_ids,owner_ids,remote_owner_ids,company_id,remote_company_id\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n xAccountId: \"\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.hris.listDivisionGroups({\n fields: \"id,remote_id,name,type,parent_ids,remote_parent_ids,owner_ids,remote_owner_ids,company_id,remote_company_id\",\n filter: {\n updatedAfter: new Date(\"2020-01-01T00:00:00.000Z\"),\n },\n xAccountId: \"\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();" - target: $["paths"]["/unified/hris/groups/divisions/{id}"]["get"] update: "x-codeSamples": @@ -926,7 +926,7 @@ actions: "x-codeSamples": - "lang": "typescript" "label": "hris_list_team_groups" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.hris.listTeamGroups({\n fields: \"id,remote_id,name,type,parent_ids,remote_parent_ids,owner_ids,remote_owner_ids\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n xAccountId: \"\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.hris.listTeamGroups({\n fields: \"id,remote_id,name,type,parent_ids,remote_parent_ids,owner_ids,remote_owner_ids\",\n filter: {\n updatedAfter: new Date(\"2020-01-01T00:00:00.000Z\"),\n },\n xAccountId: \"\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();" - target: $["paths"]["/unified/hris/groups/teams/{id}"]["get"] update: "x-codeSamples": @@ -944,7 +944,7 @@ actions: "x-codeSamples": - "lang": "typescript" "label": "hris_list_jobs" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.hris.listJobs({\n fields: \"id,remote_id,name,type,parent_ids,remote_parent_ids,owner_ids,remote_owner_ids,company_id,remote_company_id\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n xAccountId: \"\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.hris.listJobs({\n fields: \"id,remote_id,name,type,parent_ids,remote_parent_ids,owner_ids,remote_owner_ids,company_id,remote_company_id\",\n filter: {\n updatedAfter: new Date(\"2020-01-01T00:00:00.000Z\"),\n },\n xAccountId: \"\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();" - target: $["paths"]["/unified/hris/jobs/{id}"]["get"] update: "x-codeSamples": @@ -956,7 +956,7 @@ actions: "x-codeSamples": - "lang": "typescript" "label": "hris_list_locations" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.hris.listLocations({\n fields: \"id,remote_id,employee_id,remote_employee_id,name,phone_number,street_1,street_2,city,state,zip_code,country,location_type,created_at,updated_at\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n xAccountId: \"\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.hris.listLocations({\n fields: \"id,remote_id,employee_id,remote_employee_id,name,phone_number,street_1,street_2,city,state,zip_code,country,location_type,created_at,updated_at\",\n filter: {\n updatedAfter: new Date(\"2020-01-01T00:00:00.000Z\"),\n },\n xAccountId: \"\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();" - target: $["paths"]["/unified/hris/locations/{id}"]["get"] update: "x-codeSamples": @@ -968,7 +968,7 @@ actions: "x-codeSamples": - "lang": "typescript" "label": "hris_list_positions" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\nimport { Status } from \"@stackone/stackone-client-ts/sdk/models/operations\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.hris.listPositions({\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n status: Status.Open,\n xAccountId: \"\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\nimport { Status } from \"@stackone/stackone-client-ts/sdk/models/operations\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.hris.listPositions({\n filter: {\n updatedAfter: new Date(\"2020-01-01T00:00:00.000Z\"),\n },\n status: Status.Open,\n xAccountId: \"\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();" - target: $["paths"]["/unified/hris/positions/{id}"]["get"] update: "x-codeSamples": @@ -980,7 +980,7 @@ actions: "x-codeSamples": - "lang": "typescript" "label": "hris_list_shifts" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.hris.listShifts({\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n xAccountId: \"\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.hris.listShifts({\n filter: {\n updatedAfter: new Date(\"2020-01-01T00:00:00.000Z\"),\n },\n xAccountId: \"\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();" - target: $["paths"]["/unified/hris/shifts/{id}"]["get"] update: "x-codeSamples": @@ -992,7 +992,7 @@ actions: "x-codeSamples": - "lang": "typescript" "label": "hris_list_tasks" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.hris.listTasks({\n fields: \"id,remote_id,employee_id,remote_employee_id,name,description,type,status,due_date,completion_date,assigned_by_employee_id,remote_assigned_by_employee_id,assigned_by_employee_name,link_to_task,extracted_links,next_task_id,remote_next_task_id,parent_process_name,comments,attachments,created_at,updated_at\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n expand: \"attachments\",\n xAccountId: \"\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.hris.listTasks({\n fields: \"id,remote_id,employee_id,remote_employee_id,name,description,type,status,due_date,completion_date,assigned_by_employee_id,remote_assigned_by_employee_id,assigned_by_employee_name,link_to_task,extracted_links,next_task_id,remote_next_task_id,parent_process_name,comments,attachments,created_at,updated_at\",\n filter: {\n updatedAfter: new Date(\"2020-01-01T00:00:00.000Z\"),\n },\n expand: \"attachments\",\n xAccountId: \"\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();" - target: $["paths"]["/unified/hris/tasks/{id}"]["get"] update: "x-codeSamples": @@ -1004,7 +1004,7 @@ actions: "x-codeSamples": - "lang": "typescript" "label": "hris_list_time_entries" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.hris.listTimeEntries({\n fields: \"id,remote_id,employee_id,remote_employee_id,start_time,end_time,hours_worked,break_duration,labor_type,location,status,created_at,updated_at\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n startTime: \"2020-01-01T00:00:00.000Z\",\n endTime: \"2020-01-01T00:00:00.000Z\",\n },\n xAccountId: \"\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.hris.listTimeEntries({\n fields: \"id,remote_id,employee_id,remote_employee_id,start_time,end_time,hours_worked,break_duration,labor_type,location,status,created_at,updated_at\",\n filter: {\n updatedAfter: new Date(\"2020-01-01T00:00:00.000Z\"),\n startTime: \"2020-01-01T00:00:00.000Z\",\n endTime: \"2020-01-01T00:00:00.000Z\",\n },\n xAccountId: \"\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();" - target: $["paths"]["/unified/hris/time_entries/{id}"]["get"] update: "x-codeSamples": @@ -1028,7 +1028,7 @@ actions: "x-codeSamples": - "lang": "typescript" "label": "hris_list_time_off_policies" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.hris.listTimeOffPolicies({\n fields: \"id,remote_id,name,description,type,duration_unit,reasons,updated_at,created_at\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n xAccountId: \"\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.hris.listTimeOffPolicies({\n fields: \"id,remote_id,name,description,type,duration_unit,reasons,updated_at,created_at\",\n filter: {\n updatedAfter: new Date(\"2020-01-01T00:00:00.000Z\"),\n },\n xAccountId: \"\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();" - target: $["paths"]["/unified/hris/time_off_policies/{id}"]["get"] update: "x-codeSamples": @@ -1064,7 +1064,7 @@ actions: "x-codeSamples": - "lang": "typescript" "label": "iam_list_roles" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.iam.listRoles({\n fields: \"id,remote_id,name,type,policies,description,created_at,updated_at\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n expand: \"policies\",\n xAccountId: \"\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.iam.listRoles({\n fields: \"id,remote_id,name,type,policies,description,created_at,updated_at\",\n filter: {\n updatedAfter: new Date(\"2020-01-01T00:00:00.000Z\"),\n },\n expand: \"policies\",\n xAccountId: \"\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();" - target: $["paths"]["/unified/iam/roles/{id}"]["get"] update: "x-codeSamples": @@ -1076,7 +1076,7 @@ actions: "x-codeSamples": - "lang": "typescript" "label": "iam_list_users" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.iam.listUsers({\n fields: \"id,remote_id,first_name,last_name,name,primary_email_address,username,roles,groups,status,avatar,is_bot_user,last_active_at,last_login_at,created_at,updated_at,multi_factor_enabled\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n expand: \"roles,groups\",\n xAccountId: \"\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.iam.listUsers({\n fields: \"id,remote_id,first_name,last_name,name,primary_email_address,username,roles,groups,status,avatar,is_bot_user,last_active_at,last_login_at,created_at,updated_at,multi_factor_enabled\",\n filter: {\n updatedAfter: new Date(\"2020-01-01T00:00:00.000Z\"),\n },\n expand: \"roles,groups\",\n xAccountId: \"\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();" - target: $["paths"]["/unified/iam/users/{id}"]["delete"] update: "x-codeSamples": @@ -1100,7 +1100,7 @@ actions: "x-codeSamples": - "lang": "typescript" "label": "lms_list_assignments" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.lms.listAssignments({\n fields: \"id,remote_id,external_reference,user_id,remote_user_id,course_id,remote_course_id,updated_at,created_at,due_date,status,progress,learning_object_type,learning_object_id,remote_learning_object_id,learning_object_external_reference\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n userId: \"c28xyrc55866bvuv\",\n remoteUserId: \"e3cb75bf-aa84-466e-a6c1-b8322b257a48\",\n xAccountId: \"\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.lms.listAssignments({\n fields: \"id,remote_id,external_reference,user_id,remote_user_id,course_id,remote_course_id,updated_at,created_at,due_date,status,progress,learning_object_type,learning_object_id,remote_learning_object_id,learning_object_external_reference\",\n filter: {\n updatedAfter: new Date(\"2020-01-01T00:00:00.000Z\"),\n },\n userId: \"c28xyrc55866bvuv\",\n remoteUserId: \"e3cb75bf-aa84-466e-a6c1-b8322b257a48\",\n xAccountId: \"\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();" - target: $["paths"]["/unified/lms/assignments/{id}"]["get"] update: "x-codeSamples": @@ -1112,7 +1112,7 @@ actions: "x-codeSamples": - "lang": "typescript" "label": "lms_list_categories" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.lms.listCategories({\n fields: \"id,remote_id,name,active,hierarchy,level,language\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n xAccountId: \"\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.lms.listCategories({\n fields: \"id,remote_id,name,active,hierarchy,level,language\",\n filter: {\n updatedAfter: new Date(\"2020-01-01T00:00:00.000Z\"),\n },\n xAccountId: \"\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();" - target: $["paths"]["/unified/lms/categories/{id}"]["get"] update: "x-codeSamples": @@ -1124,7 +1124,7 @@ actions: "x-codeSamples": - "lang": "typescript" "label": "lms_list_completions" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.lms.listCompletions({\n fields: \"id,remote_id,external_id,remote_external_id,external_reference,content_id,remote_content_id,course_id,remote_course_id,user_id,remote_user_id,completed_at,updated_at,created_at,result,content_external_reference,learning_object_type,learning_object_id,remote_learning_object_id,learning_object_external_reference,time_spent\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n xAccountId: \"\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.lms.listCompletions({\n fields: \"id,remote_id,external_id,remote_external_id,external_reference,content_id,remote_content_id,course_id,remote_course_id,user_id,remote_user_id,completed_at,updated_at,created_at,result,content_external_reference,learning_object_type,learning_object_id,remote_learning_object_id,learning_object_external_reference,time_spent\",\n filter: {\n updatedAfter: new Date(\"2020-01-01T00:00:00.000Z\"),\n },\n xAccountId: \"\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();" - target: $["paths"]["/unified/lms/completions/{id}"]["get"] update: "x-codeSamples": @@ -1136,7 +1136,7 @@ actions: "x-codeSamples": - "lang": "typescript" "label": "lms_list_content" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.lms.listContent({\n fields: \"id,remote_id,external_reference,course_ids,remote_course_ids,title,description,additional_data,languages,content_url,mobile_launch_content_url,content_type,cover_url,active,duration,order,categories,skills,updated_at,created_at,provider,localizations,tags,authors\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n xAccountId: \"\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.lms.listContent({\n fields: \"id,remote_id,external_reference,course_ids,remote_course_ids,title,description,additional_data,languages,content_url,mobile_launch_content_url,content_type,cover_url,active,duration,order,categories,skills,updated_at,created_at,provider,localizations,tags,authors\",\n filter: {\n updatedAfter: new Date(\"2020-01-01T00:00:00.000Z\"),\n },\n xAccountId: \"\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();" - target: $["paths"]["/unified/lms/content"]["put"] update: "x-codeSamples": @@ -1166,7 +1166,7 @@ actions: "x-codeSamples": - "lang": "typescript" "label": "lms_list_courses" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.lms.listCourses({\n fields: \"id,remote_id,external_reference,content_ids,remote_content_ids,title,description,languages,cover_url,url,active,duration,categories,skills,updated_at,created_at,content,provider,localizations,authors\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n xAccountId: \"\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.lms.listCourses({\n fields: \"id,remote_id,external_reference,content_ids,remote_content_ids,title,description,languages,cover_url,url,active,duration,categories,skills,updated_at,created_at,content,provider,localizations,authors\",\n filter: {\n updatedAfter: new Date(\"2020-01-01T00:00:00.000Z\"),\n },\n xAccountId: \"\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();" - target: $["paths"]["/unified/lms/courses/{id}"]["get"] update: "x-codeSamples": @@ -1178,7 +1178,7 @@ actions: "x-codeSamples": - "lang": "typescript" "label": "lms_list_skills" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.lms.listSkills({\n fields: \"id,remote_id,name,active,hierarchy,language\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n xAccountId: \"\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.lms.listSkills({\n fields: \"id,remote_id,name,active,hierarchy,language\",\n filter: {\n updatedAfter: new Date(\"2020-01-01T00:00:00.000Z\"),\n },\n xAccountId: \"\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();" - target: $["paths"]["/unified/lms/skills/{id}"]["get"] update: "x-codeSamples": @@ -1202,13 +1202,13 @@ actions: "x-codeSamples": - "lang": "typescript" "label": "lms_list_user_assignments" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.lms.listUserAssignments({\n id: \"\",\n fields: \"id,remote_id,external_reference,user_id,remote_user_id,course_id,remote_course_id,updated_at,created_at,due_date,status,progress,learning_object_type,learning_object_id,remote_learning_object_id,learning_object_external_reference\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n userId: \"c28xyrc55866bvuv\",\n remoteUserId: \"e3cb75bf-aa84-466e-a6c1-b8322b257a48\",\n xAccountId: \"\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.lms.listUserAssignments({\n id: \"\",\n fields: \"id,remote_id,external_reference,user_id,remote_user_id,course_id,remote_course_id,updated_at,created_at,due_date,status,progress,learning_object_type,learning_object_id,remote_learning_object_id,learning_object_external_reference\",\n filter: {\n updatedAfter: new Date(\"2020-01-01T00:00:00.000Z\"),\n },\n userId: \"c28xyrc55866bvuv\",\n remoteUserId: \"e3cb75bf-aa84-466e-a6c1-b8322b257a48\",\n xAccountId: \"\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();" - target: $["paths"]["/unified/lms/users/{id}/assignments"]["post"] update: "x-codeSamples": - "lang": "typescript" "label": "lms_create_user_assignment" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\nimport { LmsCreateAssignmentRequestDtoValue } from \"@stackone/stackone-client-ts/sdk/models/shared\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.lms.createUserAssignment({\n id: \"\",\n xAccountId: \"\",\n lmsCreateAssignmentRequestDto: {\n passthrough: {\n \"other_known_names\": \"John Doe\",\n },\n learningObjectId: \"e3gd34-23tr21-er234-345er56\",\n learningObjectExternalReference: \"learning-content-123\",\n progress: 40,\n createdAt: \"2021-07-21T14:00:00.000Z\",\n dueDate: \"2021-07-21T14:00:00.000Z\",\n status: {\n value: LmsCreateAssignmentRequestDtoValue.InProgress,\n },\n },\n });\n\n console.log(result);\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\nimport { LmsCreateAssignmentRequestDtoValue } from \"@stackone/stackone-client-ts/sdk/models/shared\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.lms.createUserAssignment({\n id: \"\",\n xAccountId: \"\",\n lmsCreateAssignmentRequestDto: {\n passthrough: {\n \"other_known_names\": \"John Doe\",\n },\n learningObjectId: \"e3gd34-23tr21-er234-345er56\",\n learningObjectExternalReference: \"learning-content-123\",\n progress: 40,\n createdAt: new Date(\"2021-07-21T14:00:00.000Z\"),\n dueDate: new Date(\"2021-07-21T14:00:00.000Z\"),\n status: {\n value: LmsCreateAssignmentRequestDtoValue.InProgress,\n },\n },\n });\n\n console.log(result);\n}\n\nrun();" - target: $["paths"]["/unified/lms/users/{id}/assignments/{subResourceId}"]["get"] update: "x-codeSamples": @@ -1220,13 +1220,13 @@ actions: "x-codeSamples": - "lang": "typescript" "label": "lms_list_user_completions" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.lms.listUserCompletions({\n id: \"\",\n fields: \"id,remote_id,external_id,remote_external_id,external_reference,content_id,remote_content_id,course_id,remote_course_id,user_id,remote_user_id,completed_at,updated_at,created_at,result,content_external_reference,learning_object_type,learning_object_id,remote_learning_object_id,learning_object_external_reference,time_spent\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n xAccountId: \"\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.lms.listUserCompletions({\n id: \"\",\n fields: \"id,remote_id,external_id,remote_external_id,external_reference,content_id,remote_content_id,course_id,remote_course_id,user_id,remote_user_id,completed_at,updated_at,created_at,result,content_external_reference,learning_object_type,learning_object_id,remote_learning_object_id,learning_object_external_reference,time_spent\",\n filter: {\n updatedAfter: new Date(\"2020-01-01T00:00:00.000Z\"),\n },\n xAccountId: \"\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();" - target: $["paths"]["/unified/lms/users/{id}/completions"]["post"] update: "x-codeSamples": - "lang": "typescript" "label": "lms_create_user_completion" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.lms.createUserCompletion({\n id: \"\",\n xAccountId: \"\",\n lmsCreateCompletionRequestDto: {\n passthrough: {\n \"other_known_names\": \"John Doe\",\n },\n completedAt: \"2021-07-21T14:00:00.000Z\",\n learningObjectId: \"e3gd34-23tr21-er234-345er56\",\n learningObjectExternalReference: \"learning-content-123\",\n timeSpent: \"PT1H30M45S\",\n },\n });\n\n console.log(result);\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.lms.createUserCompletion({\n id: \"\",\n xAccountId: \"\",\n lmsCreateCompletionRequestDto: {\n passthrough: {\n \"other_known_names\": \"John Doe\",\n },\n completedAt: new Date(\"2021-07-21T14:00:00.000Z\"),\n learningObjectId: \"e3gd34-23tr21-er234-345er56\",\n learningObjectExternalReference: \"learning-content-123\",\n timeSpent: \"PT1H30M45S\",\n },\n });\n\n console.log(result);\n}\n\nrun();" - target: $["paths"]["/unified/lms/users/{id}/completions/{subResourceId}"]["delete"] update: "x-codeSamples": @@ -1244,7 +1244,7 @@ actions: "x-codeSamples": - "lang": "typescript" "label": "marketing_list_campaigns" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.marketing.listCampaigns({\n fields: \"id,remote_id,name,created_at,updated_at,description,schedule_type,status,channels,first_sent_at,last_sent_at,tags,messages\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n xAccountId: \"\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.marketing.listCampaigns({\n fields: \"id,remote_id,name,created_at,updated_at,description,schedule_type,status,channels,first_sent_at,last_sent_at,tags,messages\",\n filter: {\n updatedAfter: new Date(\"2020-01-01T00:00:00.000Z\"),\n },\n xAccountId: \"\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();" - target: $["paths"]["/unified/marketing/campaigns/{id}"]["get"] update: "x-codeSamples": @@ -1256,7 +1256,7 @@ actions: "x-codeSamples": - "lang": "typescript" "label": "marketing_list_content_blocks" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.marketing.listContentBlocks({\n fields: \"id,remote_id,name,type,content,status,tags,created_at,updated_at\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n xAccountId: \"\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.marketing.listContentBlocks({\n fields: \"id,remote_id,name,type,content,status,tags,created_at,updated_at\",\n filter: {\n updatedAfter: new Date(\"2020-01-01T00:00:00.000Z\"),\n },\n xAccountId: \"\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();" - target: $["paths"]["/unified/marketing/content_blocks"]["post"] update: "x-codeSamples": @@ -1280,7 +1280,7 @@ actions: "x-codeSamples": - "lang": "typescript" "label": "marketing_list_email_templates" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.marketing.listEmailTemplates({\n fields: \"id,remote_id,name,messages,created_at,updated_at,tags\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n xAccountId: \"\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.marketing.listEmailTemplates({\n fields: \"id,remote_id,name,messages,created_at,updated_at,tags\",\n filter: {\n updatedAfter: new Date(\"2020-01-01T00:00:00.000Z\"),\n },\n xAccountId: \"\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();" - target: $["paths"]["/unified/marketing/templates/email"]["post"] update: "x-codeSamples": @@ -1328,7 +1328,7 @@ actions: "x-codeSamples": - "lang": "typescript" "label": "marketing_list_push_templates" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.marketing.listPushTemplates({\n fields: \"id,remote_id,name,messages,created_at,updated_at,tags\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n xAccountId: \"\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.marketing.listPushTemplates({\n fields: \"id,remote_id,name,messages,created_at,updated_at,tags\",\n filter: {\n updatedAfter: new Date(\"2020-01-01T00:00:00.000Z\"),\n },\n xAccountId: \"\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();" - target: $["paths"]["/unified/marketing/templates/push"]["post"] update: "x-codeSamples": @@ -1352,7 +1352,7 @@ actions: "x-codeSamples": - "lang": "typescript" "label": "marketing_list_sms_templates" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.marketing.listSmsTemplates({\n fields: \"id,remote_id,name,messages,created_at,updated_at,tags\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n xAccountId: \"\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.marketing.listSmsTemplates({\n fields: \"id,remote_id,name,messages,created_at,updated_at,tags\",\n filter: {\n updatedAfter: new Date(\"2020-01-01T00:00:00.000Z\"),\n },\n xAccountId: \"\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();" - target: $["paths"]["/unified/marketing/templates/sms"]["post"] update: "x-codeSamples": @@ -1382,7 +1382,7 @@ actions: "x-codeSamples": - "lang": "typescript" "label": "ticketing_list_projects" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.ticketing.listProjects({\n fields: \"id,remote_id,organization_id,remote_organization_id,name,description,created_at,updated_at\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n xAccountId: \"\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.ticketing.listProjects({\n fields: \"id,remote_id,organization_id,remote_organization_id,name,description,created_at,updated_at\",\n filter: {\n updatedAfter: new Date(\"2020-01-01T00:00:00.000Z\"),\n },\n xAccountId: \"\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();" - target: $["paths"]["/unified/ticketing/projects/{id}"]["get"] update: "x-codeSamples": @@ -1406,13 +1406,13 @@ actions: "x-codeSamples": - "lang": "typescript" "label": "ticketing_list_project_ticket_types" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.ticketing.listProjectTicketTypes({\n id: \"\",\n fields: \"id,remote_id,name,project_id,remote_project_id\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n xAccountId: \"\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.ticketing.listProjectTicketTypes({\n id: \"\",\n fields: \"id,remote_id,name,project_id,remote_project_id\",\n filter: {\n updatedAfter: new Date(\"2020-01-01T00:00:00.000Z\"),\n },\n xAccountId: \"\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();" - target: $["paths"]["/unified/ticketing/ticket_types"]["get"] update: "x-codeSamples": - "lang": "typescript" "label": "ticketing_list_ticket_types" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.ticketing.listTicketTypes({\n fields: \"id,remote_id,name,project_id,remote_project_id\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n xAccountId: \"\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.ticketing.listTicketTypes({\n fields: \"id,remote_id,name,project_id,remote_project_id\",\n filter: {\n updatedAfter: new Date(\"2020-01-01T00:00:00.000Z\"),\n },\n xAccountId: \"\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();" - target: $["paths"]["/unified/ticketing/ticket_types/{id}"]["get"] update: "x-codeSamples": @@ -1424,7 +1424,7 @@ actions: "x-codeSamples": - "lang": "typescript" "label": "ticketing_list_tickets" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.ticketing.listTickets({\n fields: \"id,remote_id,type,ticket_number,title,creator_id,remote_creator_id,reporters,assignees,content,parent_id,remote_parent_id,closed_at,ticket_url,status,priority,tags,projects,components,organization,created_at,updated_at\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n xAccountId: \"\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.ticketing.listTickets({\n fields: \"id,remote_id,type,ticket_number,title,creator_id,remote_creator_id,reporters,assignees,content,parent_id,remote_parent_id,closed_at,ticket_url,status,priority,tags,projects,components,organization,created_at,updated_at\",\n filter: {\n updatedAfter: new Date(\"2020-01-01T00:00:00.000Z\"),\n },\n xAccountId: \"\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();" - target: $["paths"]["/unified/ticketing/tickets"]["post"] update: "x-codeSamples": @@ -1448,7 +1448,7 @@ actions: "x-codeSamples": - "lang": "typescript" "label": "ticketing_list_attachments" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.ticketing.listAttachments({\n id: \"\",\n fields: \"id,remote_id,ticket_id,remote_ticket_id,user_id,remote_user_id,file_name,file_format,file_url,size,created_at,updated_at\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n xAccountId: \"\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.ticketing.listAttachments({\n id: \"\",\n fields: \"id,remote_id,ticket_id,remote_ticket_id,user_id,remote_user_id,file_name,file_format,file_url,size,created_at,updated_at\",\n filter: {\n updatedAfter: new Date(\"2020-01-01T00:00:00.000Z\"),\n },\n xAccountId: \"\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();" - target: $["paths"]["/unified/ticketing/tickets/{id}/attachments/{subResourceId}"]["get"] update: "x-codeSamples": @@ -1466,7 +1466,7 @@ actions: "x-codeSamples": - "lang": "typescript" "label": "ticketing_list_comments" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.ticketing.listComments({\n id: \"\",\n fields: \"id,remote_id,ticket_id,remote_ticket_id,content,user_id,remote_user_id,internal,created_at,updated_at\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n xAccountId: \"\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.ticketing.listComments({\n id: \"\",\n fields: \"id,remote_id,ticket_id,remote_ticket_id,content,user_id,remote_user_id,internal,created_at,updated_at\",\n filter: {\n updatedAfter: new Date(\"2020-01-01T00:00:00.000Z\"),\n },\n xAccountId: \"\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();" - target: $["paths"]["/unified/ticketing/tickets/{id}/comments/{subResourceId}"]["get"] update: "x-codeSamples": @@ -1478,13 +1478,13 @@ actions: "x-codeSamples": - "lang": "typescript" "label": "ticketing_list_ticket_statuses" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.ticketing.listTicketStatuses({\n id: \"\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n xAccountId: \"\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.ticketing.listTicketStatuses({\n id: \"\",\n filter: {\n updatedAfter: new Date(\"2020-01-01T00:00:00.000Z\"),\n },\n xAccountId: \"\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();" - target: $["paths"]["/unified/ticketing/users"]["get"] update: "x-codeSamples": - "lang": "typescript" "label": "ticketing_list_users" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.ticketing.listUsers({\n fields: \"id,remote_id,type,name,primary_email,primary_phone,username,active,first_name,last_name,customer_account_reference,created_at,updated_at\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n xAccountId: \"\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.ticketing.listUsers({\n fields: \"id,remote_id,type,name,primary_email,primary_phone,username,active,first_name,last_name,customer_account_reference,created_at,updated_at\",\n filter: {\n updatedAfter: new Date(\"2020-01-01T00:00:00.000Z\"),\n },\n xAccountId: \"\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();" - target: $["paths"]["/unified/ticketing/users/{id}"]["get"] update: "x-codeSamples": diff --git a/docs/sdk/models/operations/atsgetapplicationcustomfielddefinitionqueryparamfilter.md b/docs/sdk/models/operations/atsgetapplicationcustomfielddefinitionqueryparamfilter.md index c907f579c..76faad0f2 100644 --- a/docs/sdk/models/operations/atsgetapplicationcustomfielddefinitionqueryparamfilter.md +++ b/docs/sdk/models/operations/atsgetapplicationcustomfielddefinitionqueryparamfilter.md @@ -8,12 +8,12 @@ Filter parameters that allow greater customisation of the list response import { AtsGetApplicationCustomFieldDefinitionQueryParamFilter } from "@stackone/stackone-client-ts/sdk/models/operations"; let value: AtsGetApplicationCustomFieldDefinitionQueryParamFilter = { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }; ``` ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | -| `updatedAfter` | *string* | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `updatedAfter` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file diff --git a/docs/sdk/models/operations/atsgetapplicationcustomfielddefinitionrequest.md b/docs/sdk/models/operations/atsgetapplicationcustomfielddefinitionrequest.md index f24b7d681..d81e0aa0e 100644 --- a/docs/sdk/models/operations/atsgetapplicationcustomfielddefinitionrequest.md +++ b/docs/sdk/models/operations/atsgetapplicationcustomfielddefinitionrequest.md @@ -8,7 +8,7 @@ import { AtsGetApplicationCustomFieldDefinitionRequest } from "@stackone/stackon let value: AtsGetApplicationCustomFieldDefinitionRequest = { fields: "id,remote_id,name,description,type,options", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, id: "", xAccountId: "", diff --git a/docs/sdk/models/operations/atsgetcandidatecustomfielddefinitionqueryparamfilter.md b/docs/sdk/models/operations/atsgetcandidatecustomfielddefinitionqueryparamfilter.md index d12fb4698..ccf0b8ea5 100644 --- a/docs/sdk/models/operations/atsgetcandidatecustomfielddefinitionqueryparamfilter.md +++ b/docs/sdk/models/operations/atsgetcandidatecustomfielddefinitionqueryparamfilter.md @@ -8,12 +8,12 @@ Filter parameters that allow greater customisation of the list response import { AtsGetCandidateCustomFieldDefinitionQueryParamFilter } from "@stackone/stackone-client-ts/sdk/models/operations"; let value: AtsGetCandidateCustomFieldDefinitionQueryParamFilter = { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }; ``` ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | -| `updatedAfter` | *string* | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `updatedAfter` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file diff --git a/docs/sdk/models/operations/atsgetcandidatecustomfielddefinitionrequest.md b/docs/sdk/models/operations/atsgetcandidatecustomfielddefinitionrequest.md index 4706e270c..49a84a737 100644 --- a/docs/sdk/models/operations/atsgetcandidatecustomfielddefinitionrequest.md +++ b/docs/sdk/models/operations/atsgetcandidatecustomfielddefinitionrequest.md @@ -8,7 +8,7 @@ import { AtsGetCandidateCustomFieldDefinitionRequest } from "@stackone/stackone- let value: AtsGetCandidateCustomFieldDefinitionRequest = { fields: "id,remote_id,name,description,type,options", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, id: "", xAccountId: "", diff --git a/docs/sdk/models/operations/atsgetjobcustomfielddefinitionqueryparamfilter.md b/docs/sdk/models/operations/atsgetjobcustomfielddefinitionqueryparamfilter.md index d2f9ffd76..774686d0a 100644 --- a/docs/sdk/models/operations/atsgetjobcustomfielddefinitionqueryparamfilter.md +++ b/docs/sdk/models/operations/atsgetjobcustomfielddefinitionqueryparamfilter.md @@ -8,12 +8,12 @@ Filter parameters that allow greater customisation of the list response import { AtsGetJobCustomFieldDefinitionQueryParamFilter } from "@stackone/stackone-client-ts/sdk/models/operations"; let value: AtsGetJobCustomFieldDefinitionQueryParamFilter = { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }; ``` ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | -| `updatedAfter` | *string* | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `updatedAfter` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file diff --git a/docs/sdk/models/operations/atsgetjobcustomfielddefinitionrequest.md b/docs/sdk/models/operations/atsgetjobcustomfielddefinitionrequest.md index 9c16c42ed..397e8f1ce 100644 --- a/docs/sdk/models/operations/atsgetjobcustomfielddefinitionrequest.md +++ b/docs/sdk/models/operations/atsgetjobcustomfielddefinitionrequest.md @@ -8,7 +8,7 @@ import { AtsGetJobCustomFieldDefinitionRequest } from "@stackone/stackone-client let value: AtsGetJobCustomFieldDefinitionRequest = { fields: "id,remote_id,name,description,type,options", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, id: "", xAccountId: "", diff --git a/docs/sdk/models/operations/atslistapplicationchangesqueryparamfilter.md b/docs/sdk/models/operations/atslistapplicationchangesqueryparamfilter.md index e69c4427d..ce396099c 100644 --- a/docs/sdk/models/operations/atslistapplicationchangesqueryparamfilter.md +++ b/docs/sdk/models/operations/atslistapplicationchangesqueryparamfilter.md @@ -8,13 +8,13 @@ Filter parameters for application changes (supports created_after and change_typ import { AtsListApplicationChangesQueryParamFilter } from "@stackone/stackone-client-ts/sdk/models/operations"; let value: AtsListApplicationChangesQueryParamFilter = { - createdAfter: "2020-01-01T00:00:00.000Z", + createdAfter: new Date("2020-01-01T00:00:00.000Z"), }; ``` ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | -| `changeType` | [operations.ChangeType](../../../sdk/models/operations/changetype.md) | :heavy_minus_sign: | Filter by the type of change that occurred to the application | | -| `createdAfter` | *string* | :heavy_minus_sign: | Use a string with a date to only select results created after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `changeType` | [operations.ChangeType](../../../sdk/models/operations/changetype.md) | :heavy_minus_sign: | Filter by the type of change that occurred to the application | | +| `createdAfter` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | Use a string with a date to only select results created after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file diff --git a/docs/sdk/models/operations/atslistapplicationchangesrequest.md b/docs/sdk/models/operations/atslistapplicationchangesrequest.md index d7b5bd473..606c80588 100644 --- a/docs/sdk/models/operations/atslistapplicationchangesrequest.md +++ b/docs/sdk/models/operations/atslistapplicationchangesrequest.md @@ -9,7 +9,7 @@ let value: AtsListApplicationChangesRequest = { fields: "event_id,remote_event_id,created_at,effective_at,change_type,actor,new_values", filter: { - createdAfter: "2020-01-01T00:00:00.000Z", + createdAfter: new Date("2020-01-01T00:00:00.000Z"), }, id: "", xAccountId: "", diff --git a/docs/sdk/models/operations/atslistapplicationcustomfielddefinitionsqueryparamfilter.md b/docs/sdk/models/operations/atslistapplicationcustomfielddefinitionsqueryparamfilter.md index 39119f23c..536be973a 100644 --- a/docs/sdk/models/operations/atslistapplicationcustomfielddefinitionsqueryparamfilter.md +++ b/docs/sdk/models/operations/atslistapplicationcustomfielddefinitionsqueryparamfilter.md @@ -8,12 +8,12 @@ Filter parameters that allow greater customisation of the list response import { AtsListApplicationCustomFieldDefinitionsQueryParamFilter } from "@stackone/stackone-client-ts/sdk/models/operations"; let value: AtsListApplicationCustomFieldDefinitionsQueryParamFilter = { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }; ``` ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | -| `updatedAfter` | *string* | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `updatedAfter` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file diff --git a/docs/sdk/models/operations/atslistapplicationcustomfielddefinitionsrequest.md b/docs/sdk/models/operations/atslistapplicationcustomfielddefinitionsrequest.md index 8e5ccaa7d..43a911f63 100644 --- a/docs/sdk/models/operations/atslistapplicationcustomfielddefinitionsrequest.md +++ b/docs/sdk/models/operations/atslistapplicationcustomfielddefinitionsrequest.md @@ -8,7 +8,7 @@ import { AtsListApplicationCustomFieldDefinitionsRequest } from "@stackone/stack let value: AtsListApplicationCustomFieldDefinitionsRequest = { fields: "id,remote_id,name,description,type,options", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, xAccountId: "", }; diff --git a/docs/sdk/models/operations/atslistapplicationdocumentcategoriesqueryparamfilter.md b/docs/sdk/models/operations/atslistapplicationdocumentcategoriesqueryparamfilter.md index 669c757ef..3700950cb 100644 --- a/docs/sdk/models/operations/atslistapplicationdocumentcategoriesqueryparamfilter.md +++ b/docs/sdk/models/operations/atslistapplicationdocumentcategoriesqueryparamfilter.md @@ -8,12 +8,12 @@ Filter parameters that allow greater customisation of the list response import { AtsListApplicationDocumentCategoriesQueryParamFilter } from "@stackone/stackone-client-ts/sdk/models/operations"; let value: AtsListApplicationDocumentCategoriesQueryParamFilter = { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }; ``` ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | -| `updatedAfter` | *string* | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `updatedAfter` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file diff --git a/docs/sdk/models/operations/atslistapplicationdocumentcategoriesrequest.md b/docs/sdk/models/operations/atslistapplicationdocumentcategoriesrequest.md index 8d6f8f57e..4d9e0d387 100644 --- a/docs/sdk/models/operations/atslistapplicationdocumentcategoriesrequest.md +++ b/docs/sdk/models/operations/atslistapplicationdocumentcategoriesrequest.md @@ -8,7 +8,7 @@ import { AtsListApplicationDocumentCategoriesRequest } from "@stackone/stackone- let value: AtsListApplicationDocumentCategoriesRequest = { fields: "id,remote_id,name,active", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, xAccountId: "", }; diff --git a/docs/sdk/models/operations/atslistapplicationdocumentsqueryparamfilter.md b/docs/sdk/models/operations/atslistapplicationdocumentsqueryparamfilter.md index c7fa47008..e966c241f 100644 --- a/docs/sdk/models/operations/atslistapplicationdocumentsqueryparamfilter.md +++ b/docs/sdk/models/operations/atslistapplicationdocumentsqueryparamfilter.md @@ -8,13 +8,13 @@ ATS Document Filter import { AtsListApplicationDocumentsQueryParamFilter } from "@stackone/stackone-client-ts/sdk/models/operations"; let value: AtsListApplicationDocumentsQueryParamFilter = { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }; ``` ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | -| `type` | *string* | :heavy_minus_sign: | Filter to select documents by type | | -| `updatedAfter` | *string* | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `type` | *string* | :heavy_minus_sign: | Filter to select documents by type | | +| `updatedAfter` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file diff --git a/docs/sdk/models/operations/atslistapplicationdocumentsrequest.md b/docs/sdk/models/operations/atslistapplicationdocumentsrequest.md index 9cec1c9b2..4a2fefe57 100644 --- a/docs/sdk/models/operations/atslistapplicationdocumentsrequest.md +++ b/docs/sdk/models/operations/atslistapplicationdocumentsrequest.md @@ -9,7 +9,7 @@ let value: AtsListApplicationDocumentsRequest = { fields: "id,remote_id,name,path,type,category,category_id,remote_category_id,contents,created_at,updated_at,remote_url,file_format", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, id: "", xAccountId: "", diff --git a/docs/sdk/models/operations/atslistapplicationnotesqueryparamfilter.md b/docs/sdk/models/operations/atslistapplicationnotesqueryparamfilter.md index 06eb2a579..07eeb8cec 100644 --- a/docs/sdk/models/operations/atslistapplicationnotesqueryparamfilter.md +++ b/docs/sdk/models/operations/atslistapplicationnotesqueryparamfilter.md @@ -8,12 +8,12 @@ Filter parameters that allow greater customisation of the list response import { AtsListApplicationNotesQueryParamFilter } from "@stackone/stackone-client-ts/sdk/models/operations"; let value: AtsListApplicationNotesQueryParamFilter = { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }; ``` ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | -| `updatedAfter` | *string* | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `updatedAfter` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file diff --git a/docs/sdk/models/operations/atslistapplicationnotesrequest.md b/docs/sdk/models/operations/atslistapplicationnotesrequest.md index 3c04e9ae1..930171684 100644 --- a/docs/sdk/models/operations/atslistapplicationnotesrequest.md +++ b/docs/sdk/models/operations/atslistapplicationnotesrequest.md @@ -9,7 +9,7 @@ let value: AtsListApplicationNotesRequest = { fields: "id,remote_id,content,author_id,remote_author_id,visibility,created_at,updated_at,deleted_at", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, id: "", xAccountId: "", diff --git a/docs/sdk/models/operations/atslistapplicationscorecardsqueryparamfilter.md b/docs/sdk/models/operations/atslistapplicationscorecardsqueryparamfilter.md index 87c918ca7..24f845757 100644 --- a/docs/sdk/models/operations/atslistapplicationscorecardsqueryparamfilter.md +++ b/docs/sdk/models/operations/atslistapplicationscorecardsqueryparamfilter.md @@ -8,12 +8,12 @@ Filter parameters that allow greater customisation of the list response import { AtsListApplicationScorecardsQueryParamFilter } from "@stackone/stackone-client-ts/sdk/models/operations"; let value: AtsListApplicationScorecardsQueryParamFilter = { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }; ``` ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | -| `updatedAfter` | *string* | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `updatedAfter` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file diff --git a/docs/sdk/models/operations/atslistapplicationscorecardsrequest.md b/docs/sdk/models/operations/atslistapplicationscorecardsrequest.md index bd822c0e8..aafe6dd39 100644 --- a/docs/sdk/models/operations/atslistapplicationscorecardsrequest.md +++ b/docs/sdk/models/operations/atslistapplicationscorecardsrequest.md @@ -9,7 +9,7 @@ let value: AtsListApplicationScorecardsRequest = { fields: "id,remote_id,sections,label,candidate_id,remote_candidate_id,application_id,remote_application_id,interview_id,remote_interview_id,author_id,remote_author_id,overall_recommendation,created_at,updated_at", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, id: "", xAccountId: "", diff --git a/docs/sdk/models/operations/atslistapplicationsoffersqueryparamfilter.md b/docs/sdk/models/operations/atslistapplicationsoffersqueryparamfilter.md index 4cf4734a9..f1e506c34 100644 --- a/docs/sdk/models/operations/atslistapplicationsoffersqueryparamfilter.md +++ b/docs/sdk/models/operations/atslistapplicationsoffersqueryparamfilter.md @@ -8,12 +8,12 @@ Filter parameters that allow greater customisation of the list response import { AtsListApplicationsOffersQueryParamFilter } from "@stackone/stackone-client-ts/sdk/models/operations"; let value: AtsListApplicationsOffersQueryParamFilter = { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }; ``` ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | -| `updatedAfter` | *string* | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `updatedAfter` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file diff --git a/docs/sdk/models/operations/atslistapplicationsoffersrequest.md b/docs/sdk/models/operations/atslistapplicationsoffersrequest.md index bc712679b..3e19be5ef 100644 --- a/docs/sdk/models/operations/atslistapplicationsoffersrequest.md +++ b/docs/sdk/models/operations/atslistapplicationsoffersrequest.md @@ -9,7 +9,7 @@ let value: AtsListApplicationsOffersRequest = { fields: "id,remote_id,application_id,remote_application_id,start_date,status,offer_status,salary,currency,created_at,updated_at,offer_history", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, id: "", xAccountId: "", diff --git a/docs/sdk/models/operations/atslistapplicationsqueryparamfilter.md b/docs/sdk/models/operations/atslistapplicationsqueryparamfilter.md index 026cb5050..076505a63 100644 --- a/docs/sdk/models/operations/atslistapplicationsqueryparamfilter.md +++ b/docs/sdk/models/operations/atslistapplicationsqueryparamfilter.md @@ -8,16 +8,16 @@ ATS Application Filter import { AtsListApplicationsQueryParamFilter } from "@stackone/stackone-client-ts/sdk/models/operations"; let value: AtsListApplicationsQueryParamFilter = { - createdAfter: "2020-01-01T00:00:00.000Z", - updatedAfter: "2020-01-01T00:00:00.000Z", + createdAfter: new Date("2020-01-01T00:00:00.000Z"), + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }; ``` ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | -| `createdAfter` | *string* | :heavy_minus_sign: | Use a string with a date to only select results created after that given date | 2020-01-01T00:00:00.000Z | -| `jobId` | *string* | :heavy_minus_sign: | Filter to select applications by job_id | | -| `stage` | *string* | :heavy_minus_sign: | Filter to select applications by stage and sub-stage | | -| `updatedAfter` | *string* | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `createdAfter` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | Use a string with a date to only select results created after that given date | 2020-01-01T00:00:00.000Z | +| `jobId` | *string* | :heavy_minus_sign: | Filter to select applications by job_id | | +| `stage` | *string* | :heavy_minus_sign: | Filter to select applications by stage and sub-stage | | +| `updatedAfter` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file diff --git a/docs/sdk/models/operations/atslistapplicationsrequest.md b/docs/sdk/models/operations/atslistapplicationsrequest.md index 12a427675..65f5a135e 100644 --- a/docs/sdk/models/operations/atslistapplicationsrequest.md +++ b/docs/sdk/models/operations/atslistapplicationsrequest.md @@ -10,8 +10,8 @@ let value: AtsListApplicationsRequest = { fields: "id,remote_id,candidate_id,remote_candidate_id,job_id,remote_job_id,job_posting_id,remote_job_posting_id,interview_stage,interview_stage_id,remote_interview_stage_id,rejected_reason,rejected_reason_id,remote_rejected_reason_id,rejected_reason_ids,remote_rejected_reason_ids,rejected_reasons,rejected_at,location_id,remote_location_id,location_ids,remote_location_ids,status,application_status,questionnaires,attachments,result_links,source,created_at,updated_at,documents,custom_fields,candidate", filter: { - createdAfter: "2020-01-01T00:00:00.000Z", - updatedAfter: "2020-01-01T00:00:00.000Z", + createdAfter: new Date("2020-01-01T00:00:00.000Z"), + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, include: "attachments,custom_fields", xAccountId: "", diff --git a/docs/sdk/models/operations/atslistapplicationsscheduledinterviewsqueryparamfilter.md b/docs/sdk/models/operations/atslistapplicationsscheduledinterviewsqueryparamfilter.md index 29b66006a..8600320c8 100644 --- a/docs/sdk/models/operations/atslistapplicationsscheduledinterviewsqueryparamfilter.md +++ b/docs/sdk/models/operations/atslistapplicationsscheduledinterviewsqueryparamfilter.md @@ -8,12 +8,12 @@ Filter parameters that allow greater customisation of the list response import { AtsListApplicationsScheduledInterviewsQueryParamFilter } from "@stackone/stackone-client-ts/sdk/models/operations"; let value: AtsListApplicationsScheduledInterviewsQueryParamFilter = { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }; ``` ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | -| `updatedAfter` | *string* | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `updatedAfter` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file diff --git a/docs/sdk/models/operations/atslistassessmentspackagesqueryparamfilter.md b/docs/sdk/models/operations/atslistassessmentspackagesqueryparamfilter.md index d0b3768aa..86fafdcf3 100644 --- a/docs/sdk/models/operations/atslistassessmentspackagesqueryparamfilter.md +++ b/docs/sdk/models/operations/atslistassessmentspackagesqueryparamfilter.md @@ -8,12 +8,12 @@ Filter parameters that allow greater customisation of the list response import { AtsListAssessmentsPackagesQueryParamFilter } from "@stackone/stackone-client-ts/sdk/models/operations"; let value: AtsListAssessmentsPackagesQueryParamFilter = { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }; ``` ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | -| `updatedAfter` | *string* | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `updatedAfter` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file diff --git a/docs/sdk/models/operations/atslistassessmentspackagesrequest.md b/docs/sdk/models/operations/atslistassessmentspackagesrequest.md index 60d61af2a..a42db8e2d 100644 --- a/docs/sdk/models/operations/atslistassessmentspackagesrequest.md +++ b/docs/sdk/models/operations/atslistassessmentspackagesrequest.md @@ -7,7 +7,7 @@ import { AtsListAssessmentsPackagesRequest } from "@stackone/stackone-client-ts/ let value: AtsListAssessmentsPackagesRequest = { filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, xAccountId: "", }; diff --git a/docs/sdk/models/operations/atslistbackgroundcheckpackagesqueryparamfilter.md b/docs/sdk/models/operations/atslistbackgroundcheckpackagesqueryparamfilter.md index 8a48d9e2c..c40dc64f0 100644 --- a/docs/sdk/models/operations/atslistbackgroundcheckpackagesqueryparamfilter.md +++ b/docs/sdk/models/operations/atslistbackgroundcheckpackagesqueryparamfilter.md @@ -8,12 +8,12 @@ Filter parameters that allow greater customisation of the list response import { AtsListBackgroundCheckPackagesQueryParamFilter } from "@stackone/stackone-client-ts/sdk/models/operations"; let value: AtsListBackgroundCheckPackagesQueryParamFilter = { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }; ``` ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | -| `updatedAfter` | *string* | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `updatedAfter` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file diff --git a/docs/sdk/models/operations/atslistbackgroundcheckpackagesrequest.md b/docs/sdk/models/operations/atslistbackgroundcheckpackagesrequest.md index 27104f661..5246813f1 100644 --- a/docs/sdk/models/operations/atslistbackgroundcheckpackagesrequest.md +++ b/docs/sdk/models/operations/atslistbackgroundcheckpackagesrequest.md @@ -8,7 +8,7 @@ import { AtsListBackgroundCheckPackagesRequest } from "@stackone/stackone-client let value: AtsListBackgroundCheckPackagesRequest = { fields: "id,remote_id,name,description,tests", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, xAccountId: "", }; diff --git a/docs/sdk/models/operations/atslistcandidatecustomfielddefinitionsqueryparamfilter.md b/docs/sdk/models/operations/atslistcandidatecustomfielddefinitionsqueryparamfilter.md index 04be64a70..fa60a16e7 100644 --- a/docs/sdk/models/operations/atslistcandidatecustomfielddefinitionsqueryparamfilter.md +++ b/docs/sdk/models/operations/atslistcandidatecustomfielddefinitionsqueryparamfilter.md @@ -8,12 +8,12 @@ Filter parameters that allow greater customisation of the list response import { AtsListCandidateCustomFieldDefinitionsQueryParamFilter } from "@stackone/stackone-client-ts/sdk/models/operations"; let value: AtsListCandidateCustomFieldDefinitionsQueryParamFilter = { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }; ``` ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | -| `updatedAfter` | *string* | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `updatedAfter` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file diff --git a/docs/sdk/models/operations/atslistcandidatecustomfielddefinitionsrequest.md b/docs/sdk/models/operations/atslistcandidatecustomfielddefinitionsrequest.md index 40979c71c..76cd6c0b5 100644 --- a/docs/sdk/models/operations/atslistcandidatecustomfielddefinitionsrequest.md +++ b/docs/sdk/models/operations/atslistcandidatecustomfielddefinitionsrequest.md @@ -8,7 +8,7 @@ import { AtsListCandidateCustomFieldDefinitionsRequest } from "@stackone/stackon let value: AtsListCandidateCustomFieldDefinitionsRequest = { fields: "id,remote_id,name,description,type,options", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, xAccountId: "", }; diff --git a/docs/sdk/models/operations/atslistcandidatenotesqueryparamfilter.md b/docs/sdk/models/operations/atslistcandidatenotesqueryparamfilter.md index af77af007..713138556 100644 --- a/docs/sdk/models/operations/atslistcandidatenotesqueryparamfilter.md +++ b/docs/sdk/models/operations/atslistcandidatenotesqueryparamfilter.md @@ -8,12 +8,12 @@ Filter parameters that allow greater customisation of the list response import { AtsListCandidateNotesQueryParamFilter } from "@stackone/stackone-client-ts/sdk/models/operations"; let value: AtsListCandidateNotesQueryParamFilter = { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }; ``` ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | -| `updatedAfter` | *string* | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `updatedAfter` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file diff --git a/docs/sdk/models/operations/atslistcandidatenotesrequest.md b/docs/sdk/models/operations/atslistcandidatenotesrequest.md index 3d7c1f376..8500ea94b 100644 --- a/docs/sdk/models/operations/atslistcandidatenotesrequest.md +++ b/docs/sdk/models/operations/atslistcandidatenotesrequest.md @@ -9,7 +9,7 @@ let value: AtsListCandidateNotesRequest = { fields: "id,remote_id,content,author_id,remote_author_id,visibility,created_at,updated_at,deleted_at", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, id: "", xAccountId: "", diff --git a/docs/sdk/models/operations/atslistcandidatesqueryparamfilter.md b/docs/sdk/models/operations/atslistcandidatesqueryparamfilter.md index d1e078178..8cbd40f4e 100644 --- a/docs/sdk/models/operations/atslistcandidatesqueryparamfilter.md +++ b/docs/sdk/models/operations/atslistcandidatesqueryparamfilter.md @@ -8,15 +8,15 @@ ATS Candidate Filter import { AtsListCandidatesQueryParamFilter } from "@stackone/stackone-client-ts/sdk/models/operations"; let value: AtsListCandidatesQueryParamFilter = { - createdAfter: "2020-01-01T00:00:00.000Z", - updatedAfter: "2020-01-01T00:00:00.000Z", + createdAfter: new Date("2020-01-01T00:00:00.000Z"), + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }; ``` ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | -| `createdAfter` | *string* | :heavy_minus_sign: | Use a string with a date to only select results created after that given date | 2020-01-01T00:00:00.000Z | -| `email` | *string* | :heavy_minus_sign: | Filter to select candidates by email | | -| `updatedAfter` | *string* | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `createdAfter` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | Use a string with a date to only select results created after that given date | 2020-01-01T00:00:00.000Z | +| `email` | *string* | :heavy_minus_sign: | Filter to select candidates by email | | +| `updatedAfter` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file diff --git a/docs/sdk/models/operations/atslistcandidatesrequest.md b/docs/sdk/models/operations/atslistcandidatesrequest.md index ab6f1ef50..6f07b129e 100644 --- a/docs/sdk/models/operations/atslistcandidatesrequest.md +++ b/docs/sdk/models/operations/atslistcandidatesrequest.md @@ -9,8 +9,8 @@ let value: AtsListCandidatesRequest = { fields: "id,remote_id,name,first_name,last_name,email,emails,social_links,phone,phone_numbers,company,country,title,application_ids,remote_application_ids,hired_at,custom_fields,created_at,updated_at", filter: { - createdAfter: "2020-01-01T00:00:00.000Z", - updatedAfter: "2020-01-01T00:00:00.000Z", + createdAfter: new Date("2020-01-01T00:00:00.000Z"), + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, include: "custom_fields", xAccountId: "", diff --git a/docs/sdk/models/operations/atslistdepartmentsqueryparamfilter.md b/docs/sdk/models/operations/atslistdepartmentsqueryparamfilter.md index b39d99537..0bcba8cea 100644 --- a/docs/sdk/models/operations/atslistdepartmentsqueryparamfilter.md +++ b/docs/sdk/models/operations/atslistdepartmentsqueryparamfilter.md @@ -8,12 +8,12 @@ Filter parameters that allow greater customisation of the list response import { AtsListDepartmentsQueryParamFilter } from "@stackone/stackone-client-ts/sdk/models/operations"; let value: AtsListDepartmentsQueryParamFilter = { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }; ``` ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | -| `updatedAfter` | *string* | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `updatedAfter` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file diff --git a/docs/sdk/models/operations/atslistdepartmentsrequest.md b/docs/sdk/models/operations/atslistdepartmentsrequest.md index 5142df2c1..428e8e35b 100644 --- a/docs/sdk/models/operations/atslistdepartmentsrequest.md +++ b/docs/sdk/models/operations/atslistdepartmentsrequest.md @@ -8,7 +8,7 @@ import { AtsListDepartmentsRequest } from "@stackone/stackone-client-ts/sdk/mode let value: AtsListDepartmentsRequest = { fields: "id,remote_id,name", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, xAccountId: "", }; diff --git a/docs/sdk/models/operations/atslistinterviewsqueryparamfilter.md b/docs/sdk/models/operations/atslistinterviewsqueryparamfilter.md index 9824d1679..45be610f3 100644 --- a/docs/sdk/models/operations/atslistinterviewsqueryparamfilter.md +++ b/docs/sdk/models/operations/atslistinterviewsqueryparamfilter.md @@ -8,14 +8,14 @@ ATS Interviews Filter import { AtsListInterviewsQueryParamFilter } from "@stackone/stackone-client-ts/sdk/models/operations"; let value: AtsListInterviewsQueryParamFilter = { - createdAfter: "2020-01-01T00:00:00.000Z", - updatedAfter: "2020-01-01T00:00:00.000Z", + createdAfter: new Date("2020-01-01T00:00:00.000Z"), + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }; ``` ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | -| `createdAfter` | *string* | :heavy_minus_sign: | Use a string with a date to only select results created after that given date | 2020-01-01T00:00:00.000Z | -| `updatedAfter` | *string* | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `createdAfter` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | Use a string with a date to only select results created after that given date | 2020-01-01T00:00:00.000Z | +| `updatedAfter` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file diff --git a/docs/sdk/models/operations/atslistinterviewsrequest.md b/docs/sdk/models/operations/atslistinterviewsrequest.md index 22d849916..67f144250 100644 --- a/docs/sdk/models/operations/atslistinterviewsrequest.md +++ b/docs/sdk/models/operations/atslistinterviewsrequest.md @@ -9,8 +9,8 @@ let value: AtsListInterviewsRequest = { fields: "id,remote_id,application_id,remote_application_id,interview_stage_id,remote_interview_stage_id,interview_stage,status,interview_status,interviewer_ids,remote_interviewer_ids,interview_parts,interviewers,start_at,end_at,meeting_url,created_at,updated_at", filter: { - createdAfter: "2020-01-01T00:00:00.000Z", - updatedAfter: "2020-01-01T00:00:00.000Z", + createdAfter: new Date("2020-01-01T00:00:00.000Z"), + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, xAccountId: "", }; diff --git a/docs/sdk/models/operations/atslistinterviewstagesqueryparamfilter.md b/docs/sdk/models/operations/atslistinterviewstagesqueryparamfilter.md index 616f9e375..c3b87cc47 100644 --- a/docs/sdk/models/operations/atslistinterviewstagesqueryparamfilter.md +++ b/docs/sdk/models/operations/atslistinterviewstagesqueryparamfilter.md @@ -8,12 +8,12 @@ Filter parameters that allow greater customisation of the list response import { AtsListInterviewStagesQueryParamFilter } from "@stackone/stackone-client-ts/sdk/models/operations"; let value: AtsListInterviewStagesQueryParamFilter = { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }; ``` ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | -| `updatedAfter` | *string* | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `updatedAfter` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file diff --git a/docs/sdk/models/operations/atslistinterviewstagesrequest.md b/docs/sdk/models/operations/atslistinterviewstagesrequest.md index 9d4ef7aaf..dc04cd75d 100644 --- a/docs/sdk/models/operations/atslistinterviewstagesrequest.md +++ b/docs/sdk/models/operations/atslistinterviewstagesrequest.md @@ -8,7 +8,7 @@ import { AtsListInterviewStagesRequest } from "@stackone/stackone-client-ts/sdk/ let value: AtsListInterviewStagesRequest = { fields: "id,remote_id,name,order,created_at,updated_at", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, xAccountId: "", }; diff --git a/docs/sdk/models/operations/atslistjobcustomfielddefinitionsqueryparamfilter.md b/docs/sdk/models/operations/atslistjobcustomfielddefinitionsqueryparamfilter.md index e20497440..ecb709c89 100644 --- a/docs/sdk/models/operations/atslistjobcustomfielddefinitionsqueryparamfilter.md +++ b/docs/sdk/models/operations/atslistjobcustomfielddefinitionsqueryparamfilter.md @@ -8,12 +8,12 @@ Filter parameters that allow greater customisation of the list response import { AtsListJobCustomFieldDefinitionsQueryParamFilter } from "@stackone/stackone-client-ts/sdk/models/operations"; let value: AtsListJobCustomFieldDefinitionsQueryParamFilter = { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }; ``` ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | -| `updatedAfter` | *string* | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `updatedAfter` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file diff --git a/docs/sdk/models/operations/atslistjobcustomfielddefinitionsrequest.md b/docs/sdk/models/operations/atslistjobcustomfielddefinitionsrequest.md index b84b82b93..51a195c3e 100644 --- a/docs/sdk/models/operations/atslistjobcustomfielddefinitionsrequest.md +++ b/docs/sdk/models/operations/atslistjobcustomfielddefinitionsrequest.md @@ -8,7 +8,7 @@ import { AtsListJobCustomFieldDefinitionsRequest } from "@stackone/stackone-clie let value: AtsListJobCustomFieldDefinitionsRequest = { fields: "id,remote_id,name,description,type,options", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, xAccountId: "", }; diff --git a/docs/sdk/models/operations/atslistjobpostingsqueryparamfilter.md b/docs/sdk/models/operations/atslistjobpostingsqueryparamfilter.md index 58c8c4e2c..628f93064 100644 --- a/docs/sdk/models/operations/atslistjobpostingsqueryparamfilter.md +++ b/docs/sdk/models/operations/atslistjobpostingsqueryparamfilter.md @@ -8,14 +8,14 @@ ATS Job Postings Filter import { AtsListJobPostingsQueryParamFilter } from "@stackone/stackone-client-ts/sdk/models/operations"; let value: AtsListJobPostingsQueryParamFilter = { - createdAfter: "2020-01-01T00:00:00.000Z", - updatedAfter: "2020-01-01T00:00:00.000Z", + createdAfter: new Date("2020-01-01T00:00:00.000Z"), + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }; ``` ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | -| `createdAfter` | *string* | :heavy_minus_sign: | Use a string with a date to only select results created after that given date | 2020-01-01T00:00:00.000Z | -| `updatedAfter` | *string* | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `createdAfter` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | Use a string with a date to only select results created after that given date | 2020-01-01T00:00:00.000Z | +| `updatedAfter` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file diff --git a/docs/sdk/models/operations/atslistjobpostingsrequest.md b/docs/sdk/models/operations/atslistjobpostingsrequest.md index ca3b1dcf7..722d879a2 100644 --- a/docs/sdk/models/operations/atslistjobpostingsrequest.md +++ b/docs/sdk/models/operations/atslistjobpostingsrequest.md @@ -9,8 +9,8 @@ let value: AtsListJobPostingsRequest = { fields: "id,remote_id,title,locations,internal,status,job_id,remote_job_id,content,compensation,employment_type,employment_contract_type,external_url,external_apply_url,questionnaires,start_date,updated_at,created_at", filter: { - createdAfter: "2020-01-01T00:00:00.000Z", - updatedAfter: "2020-01-01T00:00:00.000Z", + createdAfter: new Date("2020-01-01T00:00:00.000Z"), + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, include: "questionnaires", xAccountId: "", diff --git a/docs/sdk/models/operations/atslistjobsqueryparamfilter.md b/docs/sdk/models/operations/atslistjobsqueryparamfilter.md index 0d4f9415a..be3ef7f59 100644 --- a/docs/sdk/models/operations/atslistjobsqueryparamfilter.md +++ b/docs/sdk/models/operations/atslistjobsqueryparamfilter.md @@ -8,8 +8,8 @@ ATS Jobs filters import { AtsListJobsQueryParamFilter } from "@stackone/stackone-client-ts/sdk/models/operations"; let value: AtsListJobsQueryParamFilter = { - createdAfter: "2020-01-01T00:00:00.000Z", - updatedAfter: "2020-01-01T00:00:00.000Z", + createdAfter: new Date("2020-01-01T00:00:00.000Z"), + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }; ``` @@ -17,7 +17,7 @@ let value: AtsListJobsQueryParamFilter = { | Field | Type | Required | Description | Example | | ---------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- | -| `createdAfter` | *string* | :heavy_minus_sign: | Use a string with a date to only select results created after that given date | 2020-01-01T00:00:00.000Z | +| `createdAfter` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | Use a string with a date to only select results created after that given date | 2020-01-01T00:00:00.000Z | | `jobStatus` | [operations.JobStatus](../../../sdk/models/operations/jobstatus.md) | :heavy_minus_sign: | The job_status of the job | | | ~~`status`~~ | [operations.Status](../../../sdk/models/operations/status.md) | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

The status of the job | | -| `updatedAfter` | *string* | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file +| `updatedAfter` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file diff --git a/docs/sdk/models/operations/atslistjobsrequest.md b/docs/sdk/models/operations/atslistjobsrequest.md index 811aec105..be35cacf4 100644 --- a/docs/sdk/models/operations/atslistjobsrequest.md +++ b/docs/sdk/models/operations/atslistjobsrequest.md @@ -10,8 +10,8 @@ let value: AtsListJobsRequest = { fields: "id,remote_id,code,title,description,status,job_status,department_ids,remote_department_ids,location_ids,remote_location_ids,hiring_team,interview_stages,confidential,custom_fields,created_at,updated_at", filter: { - createdAfter: "2020-01-01T00:00:00.000Z", - updatedAfter: "2020-01-01T00:00:00.000Z", + createdAfter: new Date("2020-01-01T00:00:00.000Z"), + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, include: "custom_fields", xAccountId: "", diff --git a/docs/sdk/models/operations/atslistlistsqueryparamfilter.md b/docs/sdk/models/operations/atslistlistsqueryparamfilter.md index d1c846bb0..c63ef2bb9 100644 --- a/docs/sdk/models/operations/atslistlistsqueryparamfilter.md +++ b/docs/sdk/models/operations/atslistlistsqueryparamfilter.md @@ -8,12 +8,12 @@ Filter parameters that allow greater customisation of the list response import { AtsListListsQueryParamFilter } from "@stackone/stackone-client-ts/sdk/models/operations"; let value: AtsListListsQueryParamFilter = { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }; ``` ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | -| `updatedAfter` | *string* | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `updatedAfter` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file diff --git a/docs/sdk/models/operations/atslistlocationsqueryparamfilter.md b/docs/sdk/models/operations/atslistlocationsqueryparamfilter.md index 0916cc55e..f69549876 100644 --- a/docs/sdk/models/operations/atslistlocationsqueryparamfilter.md +++ b/docs/sdk/models/operations/atslistlocationsqueryparamfilter.md @@ -8,12 +8,12 @@ Filter parameters that allow greater customisation of the list response import { AtsListLocationsQueryParamFilter } from "@stackone/stackone-client-ts/sdk/models/operations"; let value: AtsListLocationsQueryParamFilter = { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }; ``` ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | -| `updatedAfter` | *string* | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `updatedAfter` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file diff --git a/docs/sdk/models/operations/atslistlocationsrequest.md b/docs/sdk/models/operations/atslistlocationsrequest.md index 3a8e35912..d77ddaf18 100644 --- a/docs/sdk/models/operations/atslistlocationsrequest.md +++ b/docs/sdk/models/operations/atslistlocationsrequest.md @@ -8,7 +8,7 @@ import { AtsListLocationsRequest } from "@stackone/stackone-client-ts/sdk/models let value: AtsListLocationsRequest = { fields: "id,remote_id,name", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, xAccountId: "", }; diff --git a/docs/sdk/models/operations/atslistoffersqueryparamfilter.md b/docs/sdk/models/operations/atslistoffersqueryparamfilter.md index 177a0effd..b2318d7ac 100644 --- a/docs/sdk/models/operations/atslistoffersqueryparamfilter.md +++ b/docs/sdk/models/operations/atslistoffersqueryparamfilter.md @@ -8,12 +8,12 @@ Filter parameters that allow greater customisation of the list response import { AtsListOffersQueryParamFilter } from "@stackone/stackone-client-ts/sdk/models/operations"; let value: AtsListOffersQueryParamFilter = { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }; ``` ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | -| `updatedAfter` | *string* | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `updatedAfter` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file diff --git a/docs/sdk/models/operations/atslistoffersrequest.md b/docs/sdk/models/operations/atslistoffersrequest.md index 902afa178..a4624f3e3 100644 --- a/docs/sdk/models/operations/atslistoffersrequest.md +++ b/docs/sdk/models/operations/atslistoffersrequest.md @@ -9,7 +9,7 @@ let value: AtsListOffersRequest = { fields: "id,remote_id,application_id,remote_application_id,start_date,status,offer_status,salary,currency,created_at,updated_at,offer_history", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, xAccountId: "", }; diff --git a/docs/sdk/models/operations/atslistrejectedreasonsqueryparamfilter.md b/docs/sdk/models/operations/atslistrejectedreasonsqueryparamfilter.md index 09ddede04..448e0548c 100644 --- a/docs/sdk/models/operations/atslistrejectedreasonsqueryparamfilter.md +++ b/docs/sdk/models/operations/atslistrejectedreasonsqueryparamfilter.md @@ -8,12 +8,12 @@ Filter parameters that allow greater customisation of the list response import { AtsListRejectedReasonsQueryParamFilter } from "@stackone/stackone-client-ts/sdk/models/operations"; let value: AtsListRejectedReasonsQueryParamFilter = { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }; ``` ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | -| `updatedAfter` | *string* | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `updatedAfter` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file diff --git a/docs/sdk/models/operations/atslistrejectedreasonsrequest.md b/docs/sdk/models/operations/atslistrejectedreasonsrequest.md index 3aa0849b2..9913703a7 100644 --- a/docs/sdk/models/operations/atslistrejectedreasonsrequest.md +++ b/docs/sdk/models/operations/atslistrejectedreasonsrequest.md @@ -8,7 +8,7 @@ import { AtsListRejectedReasonsRequest } from "@stackone/stackone-client-ts/sdk/ let value: AtsListRejectedReasonsRequest = { fields: "id,remote_id,label,type,rejected_reason_type", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, xAccountId: "", }; diff --git a/docs/sdk/models/operations/atslistusersqueryparamfilter.md b/docs/sdk/models/operations/atslistusersqueryparamfilter.md index aa394c8d2..a61dd6445 100644 --- a/docs/sdk/models/operations/atslistusersqueryparamfilter.md +++ b/docs/sdk/models/operations/atslistusersqueryparamfilter.md @@ -8,12 +8,12 @@ Filter parameters that allow greater customisation of the list response import { AtsListUsersQueryParamFilter } from "@stackone/stackone-client-ts/sdk/models/operations"; let value: AtsListUsersQueryParamFilter = { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }; ``` ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | -| `updatedAfter` | *string* | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `updatedAfter` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file diff --git a/docs/sdk/models/operations/atslistusersrequest.md b/docs/sdk/models/operations/atslistusersrequest.md index 92f07af78..c24604b2f 100644 --- a/docs/sdk/models/operations/atslistusersrequest.md +++ b/docs/sdk/models/operations/atslistusersrequest.md @@ -8,7 +8,7 @@ import { AtsListUsersRequest } from "@stackone/stackone-client-ts/sdk/models/ope let value: AtsListUsersRequest = { fields: "id,remote_id,first_name,last_name,name,email,phone", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, xAccountId: "", }; diff --git a/docs/sdk/models/operations/crmgetcontactcustomfielddefinitionqueryparamfilter.md b/docs/sdk/models/operations/crmgetcontactcustomfielddefinitionqueryparamfilter.md index cc204f216..f0b3ecdd4 100644 --- a/docs/sdk/models/operations/crmgetcontactcustomfielddefinitionqueryparamfilter.md +++ b/docs/sdk/models/operations/crmgetcontactcustomfielddefinitionqueryparamfilter.md @@ -8,12 +8,12 @@ Filter parameters that allow greater customisation of the list response import { CrmGetContactCustomFieldDefinitionQueryParamFilter } from "@stackone/stackone-client-ts/sdk/models/operations"; let value: CrmGetContactCustomFieldDefinitionQueryParamFilter = { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }; ``` ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | -| `updatedAfter` | *string* | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `updatedAfter` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file diff --git a/docs/sdk/models/operations/crmlistaccountsqueryparamfilter.md b/docs/sdk/models/operations/crmlistaccountsqueryparamfilter.md index 5b4c1c216..f52e47084 100644 --- a/docs/sdk/models/operations/crmlistaccountsqueryparamfilter.md +++ b/docs/sdk/models/operations/crmlistaccountsqueryparamfilter.md @@ -8,12 +8,12 @@ Filter parameters that allow greater customisation of the list response import { CrmListAccountsQueryParamFilter } from "@stackone/stackone-client-ts/sdk/models/operations"; let value: CrmListAccountsQueryParamFilter = { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }; ``` ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | -| `updatedAfter` | *string* | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `updatedAfter` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file diff --git a/docs/sdk/models/operations/crmlistaccountsrequest.md b/docs/sdk/models/operations/crmlistaccountsrequest.md index 62eb16f4e..51987f33b 100644 --- a/docs/sdk/models/operations/crmlistaccountsrequest.md +++ b/docs/sdk/models/operations/crmlistaccountsrequest.md @@ -9,7 +9,7 @@ let value: CrmListAccountsRequest = { fields: "id,remote_id,owner_id,remote_owner_id,name,description,industries,annual_revenue,website,addresses,phone_numbers,created_at,updated_at", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, xAccountId: "", }; diff --git a/docs/sdk/models/operations/crmlistcontactcustomfielddefinitionsqueryparamfilter.md b/docs/sdk/models/operations/crmlistcontactcustomfielddefinitionsqueryparamfilter.md index e4aabab2a..992978373 100644 --- a/docs/sdk/models/operations/crmlistcontactcustomfielddefinitionsqueryparamfilter.md +++ b/docs/sdk/models/operations/crmlistcontactcustomfielddefinitionsqueryparamfilter.md @@ -8,12 +8,12 @@ Filter parameters that allow greater customisation of the list response import { CrmListContactCustomFieldDefinitionsQueryParamFilter } from "@stackone/stackone-client-ts/sdk/models/operations"; let value: CrmListContactCustomFieldDefinitionsQueryParamFilter = { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }; ``` ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | -| `updatedAfter` | *string* | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `updatedAfter` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file diff --git a/docs/sdk/models/operations/crmlistcontactcustomfielddefinitionsrequest.md b/docs/sdk/models/operations/crmlistcontactcustomfielddefinitionsrequest.md index 82107ad5f..7b427ef69 100644 --- a/docs/sdk/models/operations/crmlistcontactcustomfielddefinitionsrequest.md +++ b/docs/sdk/models/operations/crmlistcontactcustomfielddefinitionsrequest.md @@ -8,7 +8,7 @@ import { CrmListContactCustomFieldDefinitionsRequest } from "@stackone/stackone- let value: CrmListContactCustomFieldDefinitionsRequest = { fields: "id,remote_id,name,description,type,options", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, xAccountId: "", }; diff --git a/docs/sdk/models/operations/crmlistcontactsqueryparamfilter.md b/docs/sdk/models/operations/crmlistcontactsqueryparamfilter.md index b96c94216..cec2d3c4a 100644 --- a/docs/sdk/models/operations/crmlistcontactsqueryparamfilter.md +++ b/docs/sdk/models/operations/crmlistcontactsqueryparamfilter.md @@ -8,12 +8,12 @@ Filter parameters that allow greater customisation of the list response import { CrmListContactsQueryParamFilter } from "@stackone/stackone-client-ts/sdk/models/operations"; let value: CrmListContactsQueryParamFilter = { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }; ``` ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | -| `updatedAfter` | *string* | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `updatedAfter` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file diff --git a/docs/sdk/models/operations/crmlistcontactsrequest.md b/docs/sdk/models/operations/crmlistcontactsrequest.md index 2a0a89b5b..b1375543f 100644 --- a/docs/sdk/models/operations/crmlistcontactsrequest.md +++ b/docs/sdk/models/operations/crmlistcontactsrequest.md @@ -9,7 +9,7 @@ let value: CrmListContactsRequest = { fields: "id,remote_id,first_name,last_name,company_name,emails,phone_numbers,deal_ids,remote_deal_ids,account_ids,remote_account_ids,custom_fields,created_at,updated_at", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, include: "custom_fields", xAccountId: "", diff --git a/docs/sdk/models/operations/crmlistlistsqueryparamfilter.md b/docs/sdk/models/operations/crmlistlistsqueryparamfilter.md index 6418f857d..f4652980c 100644 --- a/docs/sdk/models/operations/crmlistlistsqueryparamfilter.md +++ b/docs/sdk/models/operations/crmlistlistsqueryparamfilter.md @@ -8,12 +8,12 @@ Filter parameters that allow greater customisation of the list response import { CrmListListsQueryParamFilter } from "@stackone/stackone-client-ts/sdk/models/operations"; let value: CrmListListsQueryParamFilter = { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }; ``` ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | -| `updatedAfter` | *string* | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `updatedAfter` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file diff --git a/docs/sdk/models/operations/crmlistlistsrequest.md b/docs/sdk/models/operations/crmlistlistsrequest.md index cc454016e..4badd0587 100644 --- a/docs/sdk/models/operations/crmlistlistsrequest.md +++ b/docs/sdk/models/operations/crmlistlistsrequest.md @@ -8,7 +8,7 @@ import { CrmListListsRequest } from "@stackone/stackone-client-ts/sdk/models/ope let value: CrmListListsRequest = { fields: "id,remote_id,name,created_at,updated_at,items,type", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, xAccountId: "", }; diff --git a/docs/sdk/models/operations/documentslistdrivesqueryparamfilter.md b/docs/sdk/models/operations/documentslistdrivesqueryparamfilter.md index fa4e52857..3a8dbfdc2 100644 --- a/docs/sdk/models/operations/documentslistdrivesqueryparamfilter.md +++ b/docs/sdk/models/operations/documentslistdrivesqueryparamfilter.md @@ -8,12 +8,12 @@ Filter parameters that allow greater customisation of the list response import { DocumentsListDrivesQueryParamFilter } from "@stackone/stackone-client-ts/sdk/models/operations"; let value: DocumentsListDrivesQueryParamFilter = { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }; ``` ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | -| `updatedAfter` | *string* | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `updatedAfter` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file diff --git a/docs/sdk/models/operations/documentslistdrivesrequest.md b/docs/sdk/models/operations/documentslistdrivesrequest.md index e886e0717..ee74d6d35 100644 --- a/docs/sdk/models/operations/documentslistdrivesrequest.md +++ b/docs/sdk/models/operations/documentslistdrivesrequest.md @@ -8,7 +8,7 @@ import { DocumentsListDrivesRequest } from "@stackone/stackone-client-ts/sdk/mod let value: DocumentsListDrivesRequest = { fields: "id,remote_id,name,description,url,created_at,updated_at", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, xAccountId: "", }; diff --git a/docs/sdk/models/operations/documentslistfilesqueryparamfilter.md b/docs/sdk/models/operations/documentslistfilesqueryparamfilter.md index a7de3367b..364bf4d75 100644 --- a/docs/sdk/models/operations/documentslistfilesqueryparamfilter.md +++ b/docs/sdk/models/operations/documentslistfilesqueryparamfilter.md @@ -9,21 +9,21 @@ import { DocumentsListFilesQueryParamFilter } from "@stackone/stackone-client-ts let value: DocumentsListFilesQueryParamFilter = { content: "FAQ of the project", - createdAfter: "2020-01-01T00:00:00.000Z", + createdAfter: new Date("2020-01-01T00:00:00.000Z"), driveId: "1234567890", folderId: "1234567890", name: "john_doe_resume.pdf", - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }; ``` ## Fields -| Field | Type | Required | Description | Example | -| -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -| `content` | *string* | :heavy_minus_sign: | Search if the contents of the file contains the string (contents can include file metadata) | FAQ of the project | -| `createdAfter` | *string* | :heavy_minus_sign: | Use a string with a date to only select results created after that given date | 2020-01-01T00:00:00.000Z | -| `driveId` | *string* | :heavy_minus_sign: | Use to only include Files within the specified Drive | 1234567890 | -| `folderId` | *string* | :heavy_minus_sign: | Use to only include Files within the specified Folder. Required when requesting nested items | 1234567890 | -| `name` | *string* | :heavy_minus_sign: | Search if the name of the file contains the string | john_doe_resume.pdf | -| `updatedAfter` | *string* | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `content` | *string* | :heavy_minus_sign: | Search if the contents of the file contains the string (contents can include file metadata) | FAQ of the project | +| `createdAfter` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | Use a string with a date to only select results created after that given date | 2020-01-01T00:00:00.000Z | +| `driveId` | *string* | :heavy_minus_sign: | Use to only include Files within the specified Drive | 1234567890 | +| `folderId` | *string* | :heavy_minus_sign: | Use to only include Files within the specified Folder. Required when requesting nested items | 1234567890 | +| `name` | *string* | :heavy_minus_sign: | Search if the name of the file contains the string | john_doe_resume.pdf | +| `updatedAfter` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file diff --git a/docs/sdk/models/operations/documentslistfilesrequest.md b/docs/sdk/models/operations/documentslistfilesrequest.md index 27cff390e..4ab500d76 100644 --- a/docs/sdk/models/operations/documentslistfilesrequest.md +++ b/docs/sdk/models/operations/documentslistfilesrequest.md @@ -10,11 +10,11 @@ let value: DocumentsListFilesRequest = { "id,remote_id,name,description,url,size,file_format,path,owner_id,remote_owner_id,folder_id,remote_folder_id,drive_id,remote_drive_id,export_formats,default_download_format,created_at,updated_at,has_content,has_children,all_parent_folder_ids,remote_all_parent_folder_ids", filter: { content: "FAQ of the project", - createdAfter: "2020-01-01T00:00:00.000Z", + createdAfter: new Date("2020-01-01T00:00:00.000Z"), driveId: "1234567890", folderId: "1234567890", name: "john_doe_resume.pdf", - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, folderId: "1234567890", include: "all_parent_folder_ids", diff --git a/docs/sdk/models/operations/documentslistfoldersqueryparamfilter.md b/docs/sdk/models/operations/documentslistfoldersqueryparamfilter.md index ad167daa9..d7dd74df2 100644 --- a/docs/sdk/models/operations/documentslistfoldersqueryparamfilter.md +++ b/docs/sdk/models/operations/documentslistfoldersqueryparamfilter.md @@ -10,7 +10,7 @@ import { DocumentsListFoldersQueryParamFilter } from "@stackone/stackone-client- let value: DocumentsListFoldersQueryParamFilter = { driveId: "1234567890", folderId: "1234567890", - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }; ``` @@ -20,4 +20,4 @@ let value: DocumentsListFoldersQueryParamFilter = { | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | | `driveId` | *string* | :heavy_minus_sign: | Use to only include Folders within the specified Drive | 1234567890 | | `folderId` | *string* | :heavy_minus_sign: | Use to only include Folders within the specified Folder. Required when requesting nested items | 1234567890 | -| `updatedAfter` | *string* | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file +| `updatedAfter` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file diff --git a/docs/sdk/models/operations/documentslistfoldersrequest.md b/docs/sdk/models/operations/documentslistfoldersrequest.md index 303ccdd7a..2f718f820 100644 --- a/docs/sdk/models/operations/documentslistfoldersrequest.md +++ b/docs/sdk/models/operations/documentslistfoldersrequest.md @@ -11,7 +11,7 @@ let value: DocumentsListFoldersRequest = { filter: { driveId: "1234567890", folderId: "1234567890", - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, folderId: "1234567890", include: "all_parent_folder_ids", diff --git a/docs/sdk/models/operations/filter.md b/docs/sdk/models/operations/filter.md index 2722d416d..84cc9b43a 100644 --- a/docs/sdk/models/operations/filter.md +++ b/docs/sdk/models/operations/filter.md @@ -11,7 +11,7 @@ let value: Filter = { accountIds: "45355976281015164504,45355976281015164505", actions: "download,upload", childResources: "documents,time-off", - endDate: "2020-01-01T00:00:00.000Z", + endDate: new Date("2020-01-01T00:00:00.000Z"), httpMethods: "GET,POST", orderBy: QueryParamOrderBy.EventDatetime, orderDirection: QueryParamOrderDirection.Asc, @@ -21,7 +21,7 @@ let value: Filter = { resources: "employees,users", services: "hris,ats", sourceTypes: "DASHBOARD,SYNTHETIC_WEBHOOK", - startDate: "2020-01-01T00:00:00.000Z", + startDate: new Date("2020-01-01T00:00:00.000Z"), statusCodes: "200,400", subResources: "documents,employees", success: true, @@ -35,7 +35,7 @@ let value: Filter = { | `accountIds` | *string* | :heavy_minus_sign: | A comma-separated list of account IDs to filter the results by. | 45355976281015164504,45355976281015164505 | | `actions` | *string* | :heavy_minus_sign: | A comma-separated list of actions to filter the results by. | download,upload | | `childResources` | *string* | :heavy_minus_sign: | A comma-separated list of child resources to filter the results by. | documents,time-off | -| `endDate` | *string* | :heavy_minus_sign: | A ISO8601 date string to filter the results by end_date. | 2020-01-01T00:00:00.000Z | +| `endDate` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | A ISO8601 date string to filter the results by end_date. | 2020-01-01T00:00:00.000Z | | `httpMethods` | *string* | :heavy_minus_sign: | A comma-separated list of HTTP methods to filter the results by. | GET,POST | | `orderBy` | [operations.QueryParamOrderBy](../../../sdk/models/operations/queryparamorderby.md) | :heavy_minus_sign: | The field to order the results by. | created_at | | `orderDirection` | [operations.QueryParamOrderDirection](../../../sdk/models/operations/queryparamorderdirection.md) | :heavy_minus_sign: | The direction to order the results by. | asc | @@ -46,7 +46,7 @@ let value: Filter = { | `sourceIds` | *string* | :heavy_minus_sign: | A comma-separated list of source IDs to filter the results by. | | | `sourceTypes` | *string* | :heavy_minus_sign: | A comma-separated list of source types to filter the results by. | DASHBOARD,SYNTHETIC_WEBHOOK | | `sourceValues` | *string* | :heavy_minus_sign: | A comma-separated list of source values to filter the results by. | | -| `startDate` | *string* | :heavy_minus_sign: | A ISO8601 date string to filter the results by start_date. | 2020-01-01T00:00:00.000Z | +| `startDate` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | A ISO8601 date string to filter the results by start_date. | 2020-01-01T00:00:00.000Z | | `statusCodes` | *string* | :heavy_minus_sign: | A comma-separated list of status codes to filter the results by. | 200,400 | | `subResources` | *string* | :heavy_minus_sign: | A comma-separated list of sub resources to filter the results by. | documents,employees | | `success` | *boolean* | :heavy_minus_sign: | A boolean value to filter the results by success or failure. | true | \ No newline at end of file diff --git a/docs/sdk/models/operations/hrisgetemployeecustomfielddefinitionqueryparamfilter.md b/docs/sdk/models/operations/hrisgetemployeecustomfielddefinitionqueryparamfilter.md index 84bdf29bc..8efe269bd 100644 --- a/docs/sdk/models/operations/hrisgetemployeecustomfielddefinitionqueryparamfilter.md +++ b/docs/sdk/models/operations/hrisgetemployeecustomfielddefinitionqueryparamfilter.md @@ -8,12 +8,12 @@ Filter parameters that allow greater customisation of the list response import { HrisGetEmployeeCustomFieldDefinitionQueryParamFilter } from "@stackone/stackone-client-ts/sdk/models/operations"; let value: HrisGetEmployeeCustomFieldDefinitionQueryParamFilter = { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }; ``` ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | -| `updatedAfter` | *string* | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `updatedAfter` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file diff --git a/docs/sdk/models/operations/hrisgetemployeecustomfielddefinitionrequest.md b/docs/sdk/models/operations/hrisgetemployeecustomfielddefinitionrequest.md index e6ff274c0..d9ba34fe9 100644 --- a/docs/sdk/models/operations/hrisgetemployeecustomfielddefinitionrequest.md +++ b/docs/sdk/models/operations/hrisgetemployeecustomfielddefinitionrequest.md @@ -8,7 +8,7 @@ import { HrisGetEmployeeCustomFieldDefinitionRequest } from "@stackone/stackone- let value: HrisGetEmployeeCustomFieldDefinitionRequest = { fields: "id,remote_id,name,description,type,options", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, id: "", xAccountId: "", diff --git a/docs/sdk/models/operations/hrislistbenefitsqueryparamfilter.md b/docs/sdk/models/operations/hrislistbenefitsqueryparamfilter.md index ef59ee951..4821e3d00 100644 --- a/docs/sdk/models/operations/hrislistbenefitsqueryparamfilter.md +++ b/docs/sdk/models/operations/hrislistbenefitsqueryparamfilter.md @@ -8,12 +8,12 @@ Filter parameters that allow greater customisation of the list response import { HrisListBenefitsQueryParamFilter } from "@stackone/stackone-client-ts/sdk/models/operations"; let value: HrisListBenefitsQueryParamFilter = { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }; ``` ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | -| `updatedAfter` | *string* | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `updatedAfter` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file diff --git a/docs/sdk/models/operations/hrislistbenefitsrequest.md b/docs/sdk/models/operations/hrislistbenefitsrequest.md index 4390a746d..926ebc900 100644 --- a/docs/sdk/models/operations/hrislistbenefitsrequest.md +++ b/docs/sdk/models/operations/hrislistbenefitsrequest.md @@ -9,7 +9,7 @@ let value: HrisListBenefitsRequest = { fields: "id,remote_id,name,benefit_type,provider,description,created_at,updated_at", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, xAccountId: "", }; diff --git a/docs/sdk/models/operations/hrislistcompaniesgroupsqueryparamfilter.md b/docs/sdk/models/operations/hrislistcompaniesgroupsqueryparamfilter.md index ad00244c0..acabc603a 100644 --- a/docs/sdk/models/operations/hrislistcompaniesgroupsqueryparamfilter.md +++ b/docs/sdk/models/operations/hrislistcompaniesgroupsqueryparamfilter.md @@ -8,12 +8,12 @@ Filter parameters that allow greater customisation of the list response import { HrisListCompaniesGroupsQueryParamFilter } from "@stackone/stackone-client-ts/sdk/models/operations"; let value: HrisListCompaniesGroupsQueryParamFilter = { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }; ``` ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | -| `updatedAfter` | *string* | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `updatedAfter` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file diff --git a/docs/sdk/models/operations/hrislistcompaniesgroupsrequest.md b/docs/sdk/models/operations/hrislistcompaniesgroupsrequest.md index 0a1b5dff0..db7d1b962 100644 --- a/docs/sdk/models/operations/hrislistcompaniesgroupsrequest.md +++ b/docs/sdk/models/operations/hrislistcompaniesgroupsrequest.md @@ -8,7 +8,7 @@ import { HrisListCompaniesGroupsRequest } from "@stackone/stackone-client-ts/sdk let value: HrisListCompaniesGroupsRequest = { fields: "id,remote_id,name,full_name,display_name,created_at,updated_at", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, xAccountId: "", }; diff --git a/docs/sdk/models/operations/hrislistcompaniesqueryparamfilter.md b/docs/sdk/models/operations/hrislistcompaniesqueryparamfilter.md index 8dc922689..1bb985e88 100644 --- a/docs/sdk/models/operations/hrislistcompaniesqueryparamfilter.md +++ b/docs/sdk/models/operations/hrislistcompaniesqueryparamfilter.md @@ -8,12 +8,12 @@ Filter parameters that allow greater customisation of the list response import { HrisListCompaniesQueryParamFilter } from "@stackone/stackone-client-ts/sdk/models/operations"; let value: HrisListCompaniesQueryParamFilter = { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }; ``` ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | -| `updatedAfter` | *string* | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `updatedAfter` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file diff --git a/docs/sdk/models/operations/hrislistcompaniesrequest.md b/docs/sdk/models/operations/hrislistcompaniesrequest.md index 612c52eed..39220d7ed 100644 --- a/docs/sdk/models/operations/hrislistcompaniesrequest.md +++ b/docs/sdk/models/operations/hrislistcompaniesrequest.md @@ -8,7 +8,7 @@ import { HrisListCompaniesRequest } from "@stackone/stackone-client-ts/sdk/model let value: HrisListCompaniesRequest = { fields: "id,remote_id,name,full_name,display_name,created_at,updated_at", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, xAccountId: "", }; diff --git a/docs/sdk/models/operations/hrislistcostcentergroupsqueryparamfilter.md b/docs/sdk/models/operations/hrislistcostcentergroupsqueryparamfilter.md index 596cdf24c..26583b954 100644 --- a/docs/sdk/models/operations/hrislistcostcentergroupsqueryparamfilter.md +++ b/docs/sdk/models/operations/hrislistcostcentergroupsqueryparamfilter.md @@ -8,12 +8,12 @@ Filter parameters that allow greater customisation of the list response import { HrisListCostCenterGroupsQueryParamFilter } from "@stackone/stackone-client-ts/sdk/models/operations"; let value: HrisListCostCenterGroupsQueryParamFilter = { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }; ``` ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | -| `updatedAfter` | *string* | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `updatedAfter` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file diff --git a/docs/sdk/models/operations/hrislistcostcentergroupsrequest.md b/docs/sdk/models/operations/hrislistcostcentergroupsrequest.md index d23bd12f0..340a8d61e 100644 --- a/docs/sdk/models/operations/hrislistcostcentergroupsrequest.md +++ b/docs/sdk/models/operations/hrislistcostcentergroupsrequest.md @@ -9,7 +9,7 @@ let value: HrisListCostCenterGroupsRequest = { fields: "id,remote_id,name,type,distribution_percentage,parent_ids,remote_parent_ids,owner_ids,remote_owner_ids,company_id,remote_company_id", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, xAccountId: "", }; diff --git a/docs/sdk/models/operations/hrislistdepartmentgroupsqueryparamfilter.md b/docs/sdk/models/operations/hrislistdepartmentgroupsqueryparamfilter.md index 5ac70e9f8..60de61913 100644 --- a/docs/sdk/models/operations/hrislistdepartmentgroupsqueryparamfilter.md +++ b/docs/sdk/models/operations/hrislistdepartmentgroupsqueryparamfilter.md @@ -8,12 +8,12 @@ Filter parameters that allow greater customisation of the list response import { HrisListDepartmentGroupsQueryParamFilter } from "@stackone/stackone-client-ts/sdk/models/operations"; let value: HrisListDepartmentGroupsQueryParamFilter = { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }; ``` ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | -| `updatedAfter` | *string* | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `updatedAfter` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file diff --git a/docs/sdk/models/operations/hrislistdepartmentgroupsrequest.md b/docs/sdk/models/operations/hrislistdepartmentgroupsrequest.md index bf2cbe2bc..bb8574afb 100644 --- a/docs/sdk/models/operations/hrislistdepartmentgroupsrequest.md +++ b/docs/sdk/models/operations/hrislistdepartmentgroupsrequest.md @@ -9,7 +9,7 @@ let value: HrisListDepartmentGroupsRequest = { fields: "id,remote_id,name,type,parent_ids,remote_parent_ids,owner_ids,remote_owner_ids,company_id,remote_company_id", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, xAccountId: "", }; diff --git a/docs/sdk/models/operations/hrislistdivisiongroupsqueryparamfilter.md b/docs/sdk/models/operations/hrislistdivisiongroupsqueryparamfilter.md index 756f9b72a..ee4fcaeb2 100644 --- a/docs/sdk/models/operations/hrislistdivisiongroupsqueryparamfilter.md +++ b/docs/sdk/models/operations/hrislistdivisiongroupsqueryparamfilter.md @@ -8,12 +8,12 @@ Filter parameters that allow greater customisation of the list response import { HrisListDivisionGroupsQueryParamFilter } from "@stackone/stackone-client-ts/sdk/models/operations"; let value: HrisListDivisionGroupsQueryParamFilter = { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }; ``` ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | -| `updatedAfter` | *string* | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `updatedAfter` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file diff --git a/docs/sdk/models/operations/hrislistdivisiongroupsrequest.md b/docs/sdk/models/operations/hrislistdivisiongroupsrequest.md index 5fb0f3d30..8570899e4 100644 --- a/docs/sdk/models/operations/hrislistdivisiongroupsrequest.md +++ b/docs/sdk/models/operations/hrislistdivisiongroupsrequest.md @@ -9,7 +9,7 @@ let value: HrisListDivisionGroupsRequest = { fields: "id,remote_id,name,type,parent_ids,remote_parent_ids,owner_ids,remote_owner_ids,company_id,remote_company_id", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, xAccountId: "", }; diff --git a/docs/sdk/models/operations/hrislistemployeecategoriesqueryparamfilter.md b/docs/sdk/models/operations/hrislistemployeecategoriesqueryparamfilter.md index 3cdf03469..97a653d73 100644 --- a/docs/sdk/models/operations/hrislistemployeecategoriesqueryparamfilter.md +++ b/docs/sdk/models/operations/hrislistemployeecategoriesqueryparamfilter.md @@ -8,12 +8,12 @@ Filter parameters that allow greater customisation of the list response import { HrisListEmployeeCategoriesQueryParamFilter } from "@stackone/stackone-client-ts/sdk/models/operations"; let value: HrisListEmployeeCategoriesQueryParamFilter = { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }; ``` ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | -| `updatedAfter` | *string* | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `updatedAfter` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file diff --git a/docs/sdk/models/operations/hrislistemployeecustomfielddefinitionsqueryparamfilter.md b/docs/sdk/models/operations/hrislistemployeecustomfielddefinitionsqueryparamfilter.md index 358ed10c9..30a206bc1 100644 --- a/docs/sdk/models/operations/hrislistemployeecustomfielddefinitionsqueryparamfilter.md +++ b/docs/sdk/models/operations/hrislistemployeecustomfielddefinitionsqueryparamfilter.md @@ -8,12 +8,12 @@ Filter parameters that allow greater customisation of the list response import { HrisListEmployeeCustomFieldDefinitionsQueryParamFilter } from "@stackone/stackone-client-ts/sdk/models/operations"; let value: HrisListEmployeeCustomFieldDefinitionsQueryParamFilter = { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }; ``` ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | -| `updatedAfter` | *string* | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `updatedAfter` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file diff --git a/docs/sdk/models/operations/hrislistemployeecustomfielddefinitionsrequest.md b/docs/sdk/models/operations/hrislistemployeecustomfielddefinitionsrequest.md index ea2082b23..cb7a6e999 100644 --- a/docs/sdk/models/operations/hrislistemployeecustomfielddefinitionsrequest.md +++ b/docs/sdk/models/operations/hrislistemployeecustomfielddefinitionsrequest.md @@ -8,7 +8,7 @@ import { HrisListEmployeeCustomFieldDefinitionsRequest } from "@stackone/stackon let value: HrisListEmployeeCustomFieldDefinitionsRequest = { fields: "id,remote_id,name,description,type,options", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, xAccountId: "", }; diff --git a/docs/sdk/models/operations/hrislistemployeedocumentsqueryparamfilter.md b/docs/sdk/models/operations/hrislistemployeedocumentsqueryparamfilter.md index 9f1cf7bc3..f213cea11 100644 --- a/docs/sdk/models/operations/hrislistemployeedocumentsqueryparamfilter.md +++ b/docs/sdk/models/operations/hrislistemployeedocumentsqueryparamfilter.md @@ -8,12 +8,12 @@ Filter parameters that allow greater customisation of the list response import { HrisListEmployeeDocumentsQueryParamFilter } from "@stackone/stackone-client-ts/sdk/models/operations"; let value: HrisListEmployeeDocumentsQueryParamFilter = { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }; ``` ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | -| `updatedAfter` | *string* | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `updatedAfter` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file diff --git a/docs/sdk/models/operations/hrislistemployeedocumentsrequest.md b/docs/sdk/models/operations/hrislistemployeedocumentsrequest.md index 0ede283f9..9456ed086 100644 --- a/docs/sdk/models/operations/hrislistemployeedocumentsrequest.md +++ b/docs/sdk/models/operations/hrislistemployeedocumentsrequest.md @@ -9,7 +9,7 @@ let value: HrisListEmployeeDocumentsRequest = { fields: "id,remote_id,name,path,type,category,category_id,remote_category_id,contents,created_at,updated_at,remote_url,file_format", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, id: "", xAccountId: "", diff --git a/docs/sdk/models/operations/hrislistemployeeemploymentsqueryparamfilter.md b/docs/sdk/models/operations/hrislistemployeeemploymentsqueryparamfilter.md index e6eba2316..fab9cf3d2 100644 --- a/docs/sdk/models/operations/hrislistemployeeemploymentsqueryparamfilter.md +++ b/docs/sdk/models/operations/hrislistemployeeemploymentsqueryparamfilter.md @@ -8,12 +8,12 @@ Filter parameters that allow greater customisation of the list response import { HrisListEmployeeEmploymentsQueryParamFilter } from "@stackone/stackone-client-ts/sdk/models/operations"; let value: HrisListEmployeeEmploymentsQueryParamFilter = { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }; ``` ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | -| `updatedAfter` | *string* | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `updatedAfter` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file diff --git a/docs/sdk/models/operations/hrislistemployeeemploymentsrequest.md b/docs/sdk/models/operations/hrislistemployeeemploymentsrequest.md index c67073c52..3b3cc14ad 100644 --- a/docs/sdk/models/operations/hrislistemployeeemploymentsrequest.md +++ b/docs/sdk/models/operations/hrislistemployeeemploymentsrequest.md @@ -10,7 +10,7 @@ let value: HrisListEmployeeEmploymentsRequest = { fields: "id,remote_id,employee_id,remote_employee_id,job_title,pay_rate,pay_period,pay_frequency,pay_currency,effective_date,end_date,employment_type,employment_contract_type,change_reason,grade,work_time,payroll_code,fte,created_at,updated_at,start_date,active,department,team,cost_center,cost_centers,division,job,type,contract_type,manager", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, id: "", xAccountId: "", diff --git a/docs/sdk/models/operations/hrislistemployeeskillsqueryparamfilter.md b/docs/sdk/models/operations/hrislistemployeeskillsqueryparamfilter.md index 65b07fdac..3ba1ea748 100644 --- a/docs/sdk/models/operations/hrislistemployeeskillsqueryparamfilter.md +++ b/docs/sdk/models/operations/hrislistemployeeskillsqueryparamfilter.md @@ -8,12 +8,12 @@ Filter parameters that allow greater customisation of the list response import { HrisListEmployeeSkillsQueryParamFilter } from "@stackone/stackone-client-ts/sdk/models/operations"; let value: HrisListEmployeeSkillsQueryParamFilter = { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }; ``` ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | -| `updatedAfter` | *string* | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `updatedAfter` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file diff --git a/docs/sdk/models/operations/hrislistemployeeskillsrequest.md b/docs/sdk/models/operations/hrislistemployeeskillsrequest.md index 22bdadbab..b7508e93b 100644 --- a/docs/sdk/models/operations/hrislistemployeeskillsrequest.md +++ b/docs/sdk/models/operations/hrislistemployeeskillsrequest.md @@ -9,7 +9,7 @@ let value: HrisListEmployeeSkillsRequest = { fields: "id,remote_id,name,active,language,maximum_proficiency,minimum_proficiency", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, id: "", xAccountId: "", diff --git a/docs/sdk/models/operations/hrislistemployeesqueryparamfilter.md b/docs/sdk/models/operations/hrislistemployeesqueryparamfilter.md index 8895d0d88..ecc3b8c3f 100644 --- a/docs/sdk/models/operations/hrislistemployeesqueryparamfilter.md +++ b/docs/sdk/models/operations/hrislistemployeesqueryparamfilter.md @@ -8,14 +8,14 @@ HRIS Employees filters import { HrisListEmployeesQueryParamFilter } from "@stackone/stackone-client-ts/sdk/models/operations"; let value: HrisListEmployeesQueryParamFilter = { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }; ``` ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | -| `email` | *string* | :heavy_minus_sign: | Filter to select employees by email | | -| `employeeNumber` | *string* | :heavy_minus_sign: | Filter to select employees by employee_number | | -| `updatedAfter` | *string* | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `email` | *string* | :heavy_minus_sign: | Filter to select employees by email | | +| `employeeNumber` | *string* | :heavy_minus_sign: | Filter to select employees by employee_number | | +| `updatedAfter` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file diff --git a/docs/sdk/models/operations/hrislistemployeesrequest.md b/docs/sdk/models/operations/hrislistemployeesrequest.md index 7973fe692..24c2f82fa 100644 --- a/docs/sdk/models/operations/hrislistemployeesrequest.md +++ b/docs/sdk/models/operations/hrislistemployeesrequest.md @@ -10,7 +10,7 @@ let value: HrisListEmployeesRequest = { fields: "id,remote_id,first_name,last_name,name,display_name,gender,ethnicity,date_of_birth,birthday,marital_status,avatar_url,avatar,personal_email,personal_phone_number,work_email,work_phone_number,job_id,remote_job_id,job_title,job_description,department_id,remote_department_id,department,cost_centers,company,manager_id,remote_manager_id,hire_date,start_date,tenure,work_anniversary,employment_type,employment_contract_type,employment_status,termination_date,company_name,company_id,remote_company_id,preferred_language,citizenships,home_location,work_location,employments,custom_fields,documents,created_at,updated_at,benefits,employee_number,national_identity_number,national_identity_numbers,skills", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, include: "avatar_url,avatar,custom_fields,job_description,benefits", xAccountId: "", diff --git a/docs/sdk/models/operations/hrislistemployeetasksqueryparamfilter.md b/docs/sdk/models/operations/hrislistemployeetasksqueryparamfilter.md index 726e62fd4..a22f2e966 100644 --- a/docs/sdk/models/operations/hrislistemployeetasksqueryparamfilter.md +++ b/docs/sdk/models/operations/hrislistemployeetasksqueryparamfilter.md @@ -8,12 +8,12 @@ Filter parameters that allow greater customisation of the list response import { HrisListEmployeeTasksQueryParamFilter } from "@stackone/stackone-client-ts/sdk/models/operations"; let value: HrisListEmployeeTasksQueryParamFilter = { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }; ``` ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | -| `updatedAfter` | *string* | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `updatedAfter` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file diff --git a/docs/sdk/models/operations/hrislistemployeetasksrequest.md b/docs/sdk/models/operations/hrislistemployeetasksrequest.md index e94828280..f0b3997e8 100644 --- a/docs/sdk/models/operations/hrislistemployeetasksrequest.md +++ b/docs/sdk/models/operations/hrislistemployeetasksrequest.md @@ -10,7 +10,7 @@ let value: HrisListEmployeeTasksRequest = { fields: "id,remote_id,employee_id,remote_employee_id,name,description,type,status,due_date,completion_date,assigned_by_employee_id,remote_assigned_by_employee_id,assigned_by_employee_name,link_to_task,extracted_links,next_task_id,remote_next_task_id,parent_process_name,comments,attachments,created_at,updated_at", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, id: "", xAccountId: "", diff --git a/docs/sdk/models/operations/hrislistemployeetimeoffbalancesqueryparamfilter.md b/docs/sdk/models/operations/hrislistemployeetimeoffbalancesqueryparamfilter.md index 5f6bfb749..3925de8df 100644 --- a/docs/sdk/models/operations/hrislistemployeetimeoffbalancesqueryparamfilter.md +++ b/docs/sdk/models/operations/hrislistemployeetimeoffbalancesqueryparamfilter.md @@ -8,13 +8,13 @@ HRIS Time Off Balance filters import { HrisListEmployeeTimeOffBalancesQueryParamFilter } from "@stackone/stackone-client-ts/sdk/models/operations"; let value: HrisListEmployeeTimeOffBalancesQueryParamFilter = { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }; ``` ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | -| `policyIds` | *string*[] | :heavy_minus_sign: | List of policy ids to filter time off balances by. | | -| `updatedAfter` | *string* | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `policyIds` | *string*[] | :heavy_minus_sign: | List of policy ids to filter time off balances by. | | +| `updatedAfter` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file diff --git a/docs/sdk/models/operations/hrislistemployeetimeoffbalancesrequest.md b/docs/sdk/models/operations/hrislistemployeetimeoffbalancesrequest.md index ac7d1c528..93e3e6613 100644 --- a/docs/sdk/models/operations/hrislistemployeetimeoffbalancesrequest.md +++ b/docs/sdk/models/operations/hrislistemployeetimeoffbalancesrequest.md @@ -10,7 +10,7 @@ let value: HrisListEmployeeTimeOffBalancesRequest = { fields: "id,remote_id,employee_id,remote_employee_id,policy_id,remote_policy_id,policy,current_balance,initial_balance,balance_unit,balance_start_date,balance_expiry_date,updated_at", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, id: "", xAccountId: "", diff --git a/docs/sdk/models/operations/hrislistemployeetimeoffpoliciesqueryparamfilter.md b/docs/sdk/models/operations/hrislistemployeetimeoffpoliciesqueryparamfilter.md index 3df0c419b..66adc46be 100644 --- a/docs/sdk/models/operations/hrislistemployeetimeoffpoliciesqueryparamfilter.md +++ b/docs/sdk/models/operations/hrislistemployeetimeoffpoliciesqueryparamfilter.md @@ -8,13 +8,13 @@ HRIS Time-Off Policies filters import { HrisListEmployeeTimeOffPoliciesQueryParamFilter } from "@stackone/stackone-client-ts/sdk/models/operations"; let value: HrisListEmployeeTimeOffPoliciesQueryParamFilter = { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }; ``` ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | -| `type` | [operations.Type](../../../sdk/models/operations/type.md) | :heavy_minus_sign: | Filter to select time-off policies by type | | -| `updatedAfter` | *string* | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `type` | [operations.Type](../../../sdk/models/operations/type.md) | :heavy_minus_sign: | Filter to select time-off policies by type | | +| `updatedAfter` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file diff --git a/docs/sdk/models/operations/hrislistemployeetimeoffpoliciesrequest.md b/docs/sdk/models/operations/hrislistemployeetimeoffpoliciesrequest.md index 33635850b..c004800ce 100644 --- a/docs/sdk/models/operations/hrislistemployeetimeoffpoliciesrequest.md +++ b/docs/sdk/models/operations/hrislistemployeetimeoffpoliciesrequest.md @@ -9,7 +9,7 @@ let value: HrisListEmployeeTimeOffPoliciesRequest = { fields: "id,remote_id,name,description,type,duration_unit,reasons,updated_at,created_at", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, id: "", xAccountId: "", diff --git a/docs/sdk/models/operations/hrislistemployeetimeoffrequestsqueryparamfilter.md b/docs/sdk/models/operations/hrislistemployeetimeoffrequestsqueryparamfilter.md index 8f46cd016..78da00c9d 100644 --- a/docs/sdk/models/operations/hrislistemployeetimeoffrequestsqueryparamfilter.md +++ b/docs/sdk/models/operations/hrislistemployeetimeoffrequestsqueryparamfilter.md @@ -8,13 +8,13 @@ HRIS Time Off filters import { HrisListEmployeeTimeOffRequestsQueryParamFilter } from "@stackone/stackone-client-ts/sdk/models/operations"; let value: HrisListEmployeeTimeOffRequestsQueryParamFilter = { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }; ``` ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | -| `typeIds` | *string*[] | :heavy_minus_sign: | List of time off type ids to filter by. | | -| `updatedAfter` | *string* | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `typeIds` | *string*[] | :heavy_minus_sign: | List of time off type ids to filter by. | | +| `updatedAfter` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file diff --git a/docs/sdk/models/operations/hrislistemployeetimeoffrequestsrequest.md b/docs/sdk/models/operations/hrislistemployeetimeoffrequestsrequest.md index 9048e0df0..bfb076231 100644 --- a/docs/sdk/models/operations/hrislistemployeetimeoffrequestsrequest.md +++ b/docs/sdk/models/operations/hrislistemployeetimeoffrequestsrequest.md @@ -10,7 +10,7 @@ let value: HrisListEmployeeTimeOffRequestsRequest = { fields: "id,remote_id,employee_id,remote_employee_id,approver_id,remote_approver_id,status,type,start_date,end_date,start_half_day,end_half_day,time_off_policy_id,remote_time_off_policy_id,reason,comment,duration,created_at,updated_at,policy", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, id: "", xAccountId: "", diff --git a/docs/sdk/models/operations/hrislistemployeeworkeligibilityqueryparamfilter.md b/docs/sdk/models/operations/hrislistemployeeworkeligibilityqueryparamfilter.md index 3fd821d3d..4295e5f8a 100644 --- a/docs/sdk/models/operations/hrislistemployeeworkeligibilityqueryparamfilter.md +++ b/docs/sdk/models/operations/hrislistemployeeworkeligibilityqueryparamfilter.md @@ -8,12 +8,12 @@ Filter parameters that allow greater customisation of the list response import { HrisListEmployeeWorkEligibilityQueryParamFilter } from "@stackone/stackone-client-ts/sdk/models/operations"; let value: HrisListEmployeeWorkEligibilityQueryParamFilter = { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }; ``` ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | -| `updatedAfter` | *string* | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `updatedAfter` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file diff --git a/docs/sdk/models/operations/hrislistemployeeworkeligibilityrequest.md b/docs/sdk/models/operations/hrislistemployeeworkeligibilityrequest.md index 131170a16..721f39735 100644 --- a/docs/sdk/models/operations/hrislistemployeeworkeligibilityrequest.md +++ b/docs/sdk/models/operations/hrislistemployeeworkeligibilityrequest.md @@ -9,7 +9,7 @@ let value: HrisListEmployeeWorkEligibilityRequest = { fields: "id,remote_id,type,sub_type,document,valid_from,valid_to,issued_by,number", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, id: "", xAccountId: "", diff --git a/docs/sdk/models/operations/hrislistemploymentsqueryparamfilter.md b/docs/sdk/models/operations/hrislistemploymentsqueryparamfilter.md index b8b4dfc3c..09add2982 100644 --- a/docs/sdk/models/operations/hrislistemploymentsqueryparamfilter.md +++ b/docs/sdk/models/operations/hrislistemploymentsqueryparamfilter.md @@ -8,12 +8,12 @@ Filter parameters that allow greater customisation of the list response import { HrisListEmploymentsQueryParamFilter } from "@stackone/stackone-client-ts/sdk/models/operations"; let value: HrisListEmploymentsQueryParamFilter = { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }; ``` ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | -| `updatedAfter` | *string* | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `updatedAfter` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file diff --git a/docs/sdk/models/operations/hrislistemploymentsrequest.md b/docs/sdk/models/operations/hrislistemploymentsrequest.md index 60db22fe1..2f633229f 100644 --- a/docs/sdk/models/operations/hrislistemploymentsrequest.md +++ b/docs/sdk/models/operations/hrislistemploymentsrequest.md @@ -10,7 +10,7 @@ let value: HrisListEmploymentsRequest = { fields: "id,remote_id,employee_id,remote_employee_id,job_title,pay_rate,pay_period,pay_frequency,pay_currency,effective_date,end_date,employment_type,employment_contract_type,change_reason,grade,work_time,payroll_code,fte,created_at,updated_at,start_date,active,department,team,cost_center,cost_centers,division,job,type,contract_type,manager", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, xAccountId: "", }; diff --git a/docs/sdk/models/operations/hrislistgroupsqueryparamfilter.md b/docs/sdk/models/operations/hrislistgroupsqueryparamfilter.md index 539999ccb..795270bdf 100644 --- a/docs/sdk/models/operations/hrislistgroupsqueryparamfilter.md +++ b/docs/sdk/models/operations/hrislistgroupsqueryparamfilter.md @@ -8,12 +8,12 @@ Filter parameters that allow greater customisation of the list response import { HrisListGroupsQueryParamFilter } from "@stackone/stackone-client-ts/sdk/models/operations"; let value: HrisListGroupsQueryParamFilter = { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }; ``` ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | -| `updatedAfter` | *string* | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `updatedAfter` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file diff --git a/docs/sdk/models/operations/hrislistgroupsrequest.md b/docs/sdk/models/operations/hrislistgroupsrequest.md index c10c17032..2f04cc1a7 100644 --- a/docs/sdk/models/operations/hrislistgroupsrequest.md +++ b/docs/sdk/models/operations/hrislistgroupsrequest.md @@ -9,7 +9,7 @@ let value: HrisListGroupsRequest = { fields: "id,remote_id,name,type,parent_ids,remote_parent_ids,owner_ids,remote_owner_ids,company_id,remote_company_id", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, xAccountId: "", }; diff --git a/docs/sdk/models/operations/hrislistjobsqueryparamfilter.md b/docs/sdk/models/operations/hrislistjobsqueryparamfilter.md index f8db41375..7a0407df8 100644 --- a/docs/sdk/models/operations/hrislistjobsqueryparamfilter.md +++ b/docs/sdk/models/operations/hrislistjobsqueryparamfilter.md @@ -8,12 +8,12 @@ Filter parameters that allow greater customisation of the list response import { HrisListJobsQueryParamFilter } from "@stackone/stackone-client-ts/sdk/models/operations"; let value: HrisListJobsQueryParamFilter = { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }; ``` ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | -| `updatedAfter` | *string* | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `updatedAfter` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file diff --git a/docs/sdk/models/operations/hrislistjobsrequest.md b/docs/sdk/models/operations/hrislistjobsrequest.md index ac6534922..a08af778e 100644 --- a/docs/sdk/models/operations/hrislistjobsrequest.md +++ b/docs/sdk/models/operations/hrislistjobsrequest.md @@ -9,7 +9,7 @@ let value: HrisListJobsRequest = { fields: "id,remote_id,name,type,parent_ids,remote_parent_ids,owner_ids,remote_owner_ids,company_id,remote_company_id", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, xAccountId: "", }; diff --git a/docs/sdk/models/operations/hrislistlocationsqueryparamfilter.md b/docs/sdk/models/operations/hrislistlocationsqueryparamfilter.md index 91aa8caff..490a52f70 100644 --- a/docs/sdk/models/operations/hrislistlocationsqueryparamfilter.md +++ b/docs/sdk/models/operations/hrislistlocationsqueryparamfilter.md @@ -8,12 +8,12 @@ Filter parameters that allow greater customisation of the list response import { HrisListLocationsQueryParamFilter } from "@stackone/stackone-client-ts/sdk/models/operations"; let value: HrisListLocationsQueryParamFilter = { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }; ``` ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | -| `updatedAfter` | *string* | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `updatedAfter` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file diff --git a/docs/sdk/models/operations/hrislistlocationsrequest.md b/docs/sdk/models/operations/hrislistlocationsrequest.md index efc7835eb..cb3b6b151 100644 --- a/docs/sdk/models/operations/hrislistlocationsrequest.md +++ b/docs/sdk/models/operations/hrislistlocationsrequest.md @@ -9,7 +9,7 @@ let value: HrisListLocationsRequest = { fields: "id,remote_id,employee_id,remote_employee_id,name,phone_number,street_1,street_2,city,state,zip_code,country,location_type,created_at,updated_at", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, xAccountId: "", }; diff --git a/docs/sdk/models/operations/hrislistpositionsqueryparamfilter.md b/docs/sdk/models/operations/hrislistpositionsqueryparamfilter.md index 683d5c728..bca990db0 100644 --- a/docs/sdk/models/operations/hrislistpositionsqueryparamfilter.md +++ b/docs/sdk/models/operations/hrislistpositionsqueryparamfilter.md @@ -8,12 +8,12 @@ Filter parameters that allow greater customisation of the list response import { HrisListPositionsQueryParamFilter } from "@stackone/stackone-client-ts/sdk/models/operations"; let value: HrisListPositionsQueryParamFilter = { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }; ``` ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | -| `updatedAfter` | *string* | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `updatedAfter` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file diff --git a/docs/sdk/models/operations/hrislistpositionsrequest.md b/docs/sdk/models/operations/hrislistpositionsrequest.md index 4753b0547..d073b7ae7 100644 --- a/docs/sdk/models/operations/hrislistpositionsrequest.md +++ b/docs/sdk/models/operations/hrislistpositionsrequest.md @@ -7,7 +7,7 @@ import { HrisListPositionsRequest, QueryParamStatus } from "@stackone/stackone-c let value: HrisListPositionsRequest = { filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, status: QueryParamStatus.Open, xAccountId: "", diff --git a/docs/sdk/models/operations/hrislistshiftsqueryparamfilter.md b/docs/sdk/models/operations/hrislistshiftsqueryparamfilter.md index e9d40a632..67577133e 100644 --- a/docs/sdk/models/operations/hrislistshiftsqueryparamfilter.md +++ b/docs/sdk/models/operations/hrislistshiftsqueryparamfilter.md @@ -8,7 +8,7 @@ HRIS Shifts filters import { HrisListShiftsQueryParamFilter } from "@stackone/stackone-client-ts/sdk/models/operations"; let value: HrisListShiftsQueryParamFilter = { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }; ``` @@ -20,4 +20,4 @@ let value: HrisListShiftsQueryParamFilter = { | `endsBefore` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | Filter shifts that end before this date | | | `startsAfter` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | Filter shifts that start after this date | | | `status` | [operations.HrisListShiftsQueryParamStatus](../../../sdk/models/operations/hrislistshiftsqueryparamstatus.md) | :heavy_minus_sign: | Filter to select shifts by status | | -| `updatedAfter` | *string* | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file +| `updatedAfter` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file diff --git a/docs/sdk/models/operations/hrislistshiftsrequest.md b/docs/sdk/models/operations/hrislistshiftsrequest.md index 880b4bf18..9ee77a563 100644 --- a/docs/sdk/models/operations/hrislistshiftsrequest.md +++ b/docs/sdk/models/operations/hrislistshiftsrequest.md @@ -7,7 +7,7 @@ import { HrisListShiftsRequest } from "@stackone/stackone-client-ts/sdk/models/o let value: HrisListShiftsRequest = { filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, xAccountId: "", }; diff --git a/docs/sdk/models/operations/hrislisttasksqueryparamfilter.md b/docs/sdk/models/operations/hrislisttasksqueryparamfilter.md index 1a7acb2fd..ac725f30c 100644 --- a/docs/sdk/models/operations/hrislisttasksqueryparamfilter.md +++ b/docs/sdk/models/operations/hrislisttasksqueryparamfilter.md @@ -8,12 +8,12 @@ Filter parameters that allow greater customisation of the list response import { HrisListTasksQueryParamFilter } from "@stackone/stackone-client-ts/sdk/models/operations"; let value: HrisListTasksQueryParamFilter = { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }; ``` ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | -| `updatedAfter` | *string* | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `updatedAfter` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file diff --git a/docs/sdk/models/operations/hrislisttasksrequest.md b/docs/sdk/models/operations/hrislisttasksrequest.md index 8b2fd855e..87a7e373e 100644 --- a/docs/sdk/models/operations/hrislisttasksrequest.md +++ b/docs/sdk/models/operations/hrislisttasksrequest.md @@ -10,7 +10,7 @@ let value: HrisListTasksRequest = { fields: "id,remote_id,employee_id,remote_employee_id,name,description,type,status,due_date,completion_date,assigned_by_employee_id,remote_assigned_by_employee_id,assigned_by_employee_name,link_to_task,extracted_links,next_task_id,remote_next_task_id,parent_process_name,comments,attachments,created_at,updated_at", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, xAccountId: "", }; diff --git a/docs/sdk/models/operations/hrislistteamgroupsqueryparamfilter.md b/docs/sdk/models/operations/hrislistteamgroupsqueryparamfilter.md index 068d8b44f..8cf792d20 100644 --- a/docs/sdk/models/operations/hrislistteamgroupsqueryparamfilter.md +++ b/docs/sdk/models/operations/hrislistteamgroupsqueryparamfilter.md @@ -8,12 +8,12 @@ Filter parameters that allow greater customisation of the list response import { HrisListTeamGroupsQueryParamFilter } from "@stackone/stackone-client-ts/sdk/models/operations"; let value: HrisListTeamGroupsQueryParamFilter = { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }; ``` ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | -| `updatedAfter` | *string* | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `updatedAfter` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file diff --git a/docs/sdk/models/operations/hrislistteamgroupsrequest.md b/docs/sdk/models/operations/hrislistteamgroupsrequest.md index 2cd2728bc..6b4890ada 100644 --- a/docs/sdk/models/operations/hrislistteamgroupsrequest.md +++ b/docs/sdk/models/operations/hrislistteamgroupsrequest.md @@ -9,7 +9,7 @@ let value: HrisListTeamGroupsRequest = { fields: "id,remote_id,name,type,parent_ids,remote_parent_ids,owner_ids,remote_owner_ids", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, xAccountId: "", }; diff --git a/docs/sdk/models/operations/hrislisttimeentriesqueryparamfilter.md b/docs/sdk/models/operations/hrislisttimeentriesqueryparamfilter.md index 72e0d0a0f..88d1ed023 100644 --- a/docs/sdk/models/operations/hrislisttimeentriesqueryparamfilter.md +++ b/docs/sdk/models/operations/hrislisttimeentriesqueryparamfilter.md @@ -10,15 +10,15 @@ import { HrisListTimeEntriesQueryParamFilter } from "@stackone/stackone-client-t let value: HrisListTimeEntriesQueryParamFilter = { endTime: "2020-01-01T00:00:00.000Z", startTime: "2020-01-01T00:00:00.000Z", - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }; ``` ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | -| `employeeId` | *string* | :heavy_minus_sign: | Filter to select time entries by employee_id | | -| `endTime` | *string* | :heavy_minus_sign: | Filter to select time entries before a given time | 2020-01-01T00:00:00.000Z | -| `startTime` | *string* | :heavy_minus_sign: | Filter to select time entries after a given time | 2020-01-01T00:00:00.000Z | -| `updatedAfter` | *string* | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `employeeId` | *string* | :heavy_minus_sign: | Filter to select time entries by employee_id | | +| `endTime` | *string* | :heavy_minus_sign: | Filter to select time entries before a given time | 2020-01-01T00:00:00.000Z | +| `startTime` | *string* | :heavy_minus_sign: | Filter to select time entries after a given time | 2020-01-01T00:00:00.000Z | +| `updatedAfter` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file diff --git a/docs/sdk/models/operations/hrislisttimeentriesrequest.md b/docs/sdk/models/operations/hrislisttimeentriesrequest.md index 2c98a3bf5..420da1c93 100644 --- a/docs/sdk/models/operations/hrislisttimeentriesrequest.md +++ b/docs/sdk/models/operations/hrislisttimeentriesrequest.md @@ -11,7 +11,7 @@ let value: HrisListTimeEntriesRequest = { filter: { endTime: "2020-01-01T00:00:00.000Z", startTime: "2020-01-01T00:00:00.000Z", - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, xAccountId: "", }; diff --git a/docs/sdk/models/operations/hrislisttimeoffpoliciesqueryparamfilter.md b/docs/sdk/models/operations/hrislisttimeoffpoliciesqueryparamfilter.md index 73af738b1..f4c7bf7cf 100644 --- a/docs/sdk/models/operations/hrislisttimeoffpoliciesqueryparamfilter.md +++ b/docs/sdk/models/operations/hrislisttimeoffpoliciesqueryparamfilter.md @@ -8,13 +8,13 @@ HRIS Time-Off Policies filters import { HrisListTimeOffPoliciesQueryParamFilter } from "@stackone/stackone-client-ts/sdk/models/operations"; let value: HrisListTimeOffPoliciesQueryParamFilter = { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }; ``` ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | -| `type` | [operations.QueryParamType](../../../sdk/models/operations/queryparamtype.md) | :heavy_minus_sign: | Filter to select time-off policies by type | | -| `updatedAfter` | *string* | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `type` | [operations.QueryParamType](../../../sdk/models/operations/queryparamtype.md) | :heavy_minus_sign: | Filter to select time-off policies by type | | +| `updatedAfter` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file diff --git a/docs/sdk/models/operations/hrislisttimeoffpoliciesrequest.md b/docs/sdk/models/operations/hrislisttimeoffpoliciesrequest.md index b3ac63309..896857838 100644 --- a/docs/sdk/models/operations/hrislisttimeoffpoliciesrequest.md +++ b/docs/sdk/models/operations/hrislisttimeoffpoliciesrequest.md @@ -9,7 +9,7 @@ let value: HrisListTimeOffPoliciesRequest = { fields: "id,remote_id,name,description,type,duration_unit,reasons,updated_at,created_at", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, xAccountId: "", }; diff --git a/docs/sdk/models/operations/hrislisttimeoffrequestsqueryparamfilter.md b/docs/sdk/models/operations/hrislisttimeoffrequestsqueryparamfilter.md index 9844a6ae7..c319acb5b 100644 --- a/docs/sdk/models/operations/hrislisttimeoffrequestsqueryparamfilter.md +++ b/docs/sdk/models/operations/hrislisttimeoffrequestsqueryparamfilter.md @@ -8,13 +8,13 @@ HRIS Time Off filters import { HrisListTimeOffRequestsQueryParamFilter } from "@stackone/stackone-client-ts/sdk/models/operations"; let value: HrisListTimeOffRequestsQueryParamFilter = { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }; ``` ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | -| `typeIds` | *string*[] | :heavy_minus_sign: | List of time off type ids to filter by. | | -| `updatedAfter` | *string* | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `typeIds` | *string*[] | :heavy_minus_sign: | List of time off type ids to filter by. | | +| `updatedAfter` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file diff --git a/docs/sdk/models/operations/hrislisttimeoffrequestsrequest.md b/docs/sdk/models/operations/hrislisttimeoffrequestsrequest.md index 6a14229a7..0070ed0d6 100644 --- a/docs/sdk/models/operations/hrislisttimeoffrequestsrequest.md +++ b/docs/sdk/models/operations/hrislisttimeoffrequestsrequest.md @@ -10,7 +10,7 @@ let value: HrisListTimeOffRequestsRequest = { fields: "id,remote_id,employee_id,remote_employee_id,approver_id,remote_approver_id,status,type,start_date,end_date,start_half_day,end_half_day,time_off_policy_id,remote_time_off_policy_id,reason,comment,duration,created_at,updated_at,policy", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, xAccountId: "", }; diff --git a/docs/sdk/models/operations/hrislisttimeofftypesqueryparamfilter.md b/docs/sdk/models/operations/hrislisttimeofftypesqueryparamfilter.md index 74c7dff5f..b36940215 100644 --- a/docs/sdk/models/operations/hrislisttimeofftypesqueryparamfilter.md +++ b/docs/sdk/models/operations/hrislisttimeofftypesqueryparamfilter.md @@ -8,12 +8,12 @@ Filter parameters that allow greater customisation of the list response import { HrisListTimeOffTypesQueryParamFilter } from "@stackone/stackone-client-ts/sdk/models/operations"; let value: HrisListTimeOffTypesQueryParamFilter = { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }; ``` ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | -| `updatedAfter` | *string* | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `updatedAfter` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file diff --git a/docs/sdk/models/operations/hrislisttimeofftypesrequest.md b/docs/sdk/models/operations/hrislisttimeofftypesrequest.md index 95d13d3b8..742dd4183 100644 --- a/docs/sdk/models/operations/hrislisttimeofftypesrequest.md +++ b/docs/sdk/models/operations/hrislisttimeofftypesrequest.md @@ -8,7 +8,7 @@ import { HrisListTimeOffTypesRequest } from "@stackone/stackone-client-ts/sdk/mo let value: HrisListTimeOffTypesRequest = { fields: "id,remote_id,name,active", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, xAccountId: "", }; diff --git a/docs/sdk/models/operations/iamlistgroupsqueryparamfilter.md b/docs/sdk/models/operations/iamlistgroupsqueryparamfilter.md index e850bb120..d68a9334f 100644 --- a/docs/sdk/models/operations/iamlistgroupsqueryparamfilter.md +++ b/docs/sdk/models/operations/iamlistgroupsqueryparamfilter.md @@ -8,12 +8,12 @@ Filter parameters that allow greater customisation of the list response import { IamListGroupsQueryParamFilter } from "@stackone/stackone-client-ts/sdk/models/operations"; let value: IamListGroupsQueryParamFilter = { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }; ``` ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | -| `updatedAfter` | *string* | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `updatedAfter` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file diff --git a/docs/sdk/models/operations/iamlistgroupsrequest.md b/docs/sdk/models/operations/iamlistgroupsrequest.md index 60e19d9d6..0332e4a6d 100644 --- a/docs/sdk/models/operations/iamlistgroupsrequest.md +++ b/docs/sdk/models/operations/iamlistgroupsrequest.md @@ -10,7 +10,7 @@ let value: IamListGroupsRequest = { fields: "id,remote_id,parent_id,remote_parent_id,name,description,roles,type,created_at,updated_at", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, xAccountId: "", }; diff --git a/docs/sdk/models/operations/iamlistpoliciesqueryparamfilter.md b/docs/sdk/models/operations/iamlistpoliciesqueryparamfilter.md index b4764304e..ce76319ee 100644 --- a/docs/sdk/models/operations/iamlistpoliciesqueryparamfilter.md +++ b/docs/sdk/models/operations/iamlistpoliciesqueryparamfilter.md @@ -8,12 +8,12 @@ Filter parameters that allow greater customisation of the list response import { IamListPoliciesQueryParamFilter } from "@stackone/stackone-client-ts/sdk/models/operations"; let value: IamListPoliciesQueryParamFilter = { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }; ``` ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | -| `updatedAfter` | *string* | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `updatedAfter` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file diff --git a/docs/sdk/models/operations/iamlistrolesqueryparamfilter.md b/docs/sdk/models/operations/iamlistrolesqueryparamfilter.md index 411fa7840..72d7798b8 100644 --- a/docs/sdk/models/operations/iamlistrolesqueryparamfilter.md +++ b/docs/sdk/models/operations/iamlistrolesqueryparamfilter.md @@ -8,12 +8,12 @@ Filter parameters that allow greater customisation of the list response import { IamListRolesQueryParamFilter } from "@stackone/stackone-client-ts/sdk/models/operations"; let value: IamListRolesQueryParamFilter = { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }; ``` ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | -| `updatedAfter` | *string* | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `updatedAfter` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file diff --git a/docs/sdk/models/operations/iamlistusersqueryparamfilter.md b/docs/sdk/models/operations/iamlistusersqueryparamfilter.md index 15dfca3e9..4ed528801 100644 --- a/docs/sdk/models/operations/iamlistusersqueryparamfilter.md +++ b/docs/sdk/models/operations/iamlistusersqueryparamfilter.md @@ -8,12 +8,12 @@ Filter parameters that allow greater customisation of the list response import { IamListUsersQueryParamFilter } from "@stackone/stackone-client-ts/sdk/models/operations"; let value: IamListUsersQueryParamFilter = { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }; ``` ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | -| `updatedAfter` | *string* | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `updatedAfter` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file diff --git a/docs/sdk/models/operations/lmscreateuserassignmentrequest.md b/docs/sdk/models/operations/lmscreateuserassignmentrequest.md index a3e802bac..33ea70a9b 100644 --- a/docs/sdk/models/operations/lmscreateuserassignmentrequest.md +++ b/docs/sdk/models/operations/lmscreateuserassignmentrequest.md @@ -8,8 +8,8 @@ import { LmsCreateAssignmentRequestDtoValue } from "@stackone/stackone-client-ts let value: LmsCreateUserAssignmentRequest = { lmsCreateAssignmentRequestDto: { - createdAt: "2021-07-21T14:00:00.000Z", - dueDate: "2021-07-21T14:00:00.000Z", + createdAt: new Date("2021-07-21T14:00:00.000Z"), + dueDate: new Date("2021-07-21T14:00:00.000Z"), learningObjectExternalReference: "learning-content-123", learningObjectId: "e3gd34-23tr21-er234-345er56", passthrough: { diff --git a/docs/sdk/models/operations/lmscreateusercompletionrequest.md b/docs/sdk/models/operations/lmscreateusercompletionrequest.md index b5dd4b0ba..0a373709f 100644 --- a/docs/sdk/models/operations/lmscreateusercompletionrequest.md +++ b/docs/sdk/models/operations/lmscreateusercompletionrequest.md @@ -7,7 +7,7 @@ import { LmsCreateUserCompletionRequest } from "@stackone/stackone-client-ts/sdk let value: LmsCreateUserCompletionRequest = { lmsCreateCompletionRequestDto: { - completedAt: "2021-07-21T14:00:00.000Z", + completedAt: new Date("2021-07-21T14:00:00.000Z"), learningObjectExternalReference: "learning-content-123", learningObjectId: "e3gd34-23tr21-er234-345er56", passthrough: { diff --git a/docs/sdk/models/operations/lmslistassignmentsqueryparamfilter.md b/docs/sdk/models/operations/lmslistassignmentsqueryparamfilter.md index 962678dcc..b3d7e22b5 100644 --- a/docs/sdk/models/operations/lmslistassignmentsqueryparamfilter.md +++ b/docs/sdk/models/operations/lmslistassignmentsqueryparamfilter.md @@ -8,7 +8,7 @@ LMS Assignment Filter import { LmsListAssignmentsQueryParamFilter } from "@stackone/stackone-client-ts/sdk/models/operations"; let value: LmsListAssignmentsQueryParamFilter = { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }; ``` @@ -17,4 +17,4 @@ let value: LmsListAssignmentsQueryParamFilter = { | Field | Type | Required | Description | Example | | --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | | `status` | [operations.LmsListAssignmentsQueryParamStatus](../../../sdk/models/operations/lmslistassignmentsqueryparamstatus.md) | :heavy_minus_sign: | Filter to select assignment by status | | -| `updatedAfter` | *string* | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file +| `updatedAfter` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file diff --git a/docs/sdk/models/operations/lmslistassignmentsrequest.md b/docs/sdk/models/operations/lmslistassignmentsrequest.md index 4d0407f87..e481dc89a 100644 --- a/docs/sdk/models/operations/lmslistassignmentsrequest.md +++ b/docs/sdk/models/operations/lmslistassignmentsrequest.md @@ -9,7 +9,7 @@ let value: LmsListAssignmentsRequest = { fields: "id,remote_id,external_reference,user_id,remote_user_id,course_id,remote_course_id,updated_at,created_at,due_date,status,progress,learning_object_type,learning_object_id,remote_learning_object_id,learning_object_external_reference", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, remoteUserId: "e3cb75bf-aa84-466e-a6c1-b8322b257a48", userId: "c28xyrc55866bvuv", diff --git a/docs/sdk/models/operations/lmslistcategoriesqueryparamfilter.md b/docs/sdk/models/operations/lmslistcategoriesqueryparamfilter.md index 6550a15f4..1933ff8fb 100644 --- a/docs/sdk/models/operations/lmslistcategoriesqueryparamfilter.md +++ b/docs/sdk/models/operations/lmslistcategoriesqueryparamfilter.md @@ -8,12 +8,12 @@ Filter parameters that allow greater customisation of the list response import { LmsListCategoriesQueryParamFilter } from "@stackone/stackone-client-ts/sdk/models/operations"; let value: LmsListCategoriesQueryParamFilter = { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }; ``` ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | -| `updatedAfter` | *string* | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `updatedAfter` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file diff --git a/docs/sdk/models/operations/lmslistcategoriesrequest.md b/docs/sdk/models/operations/lmslistcategoriesrequest.md index d02fb908d..a10e7c368 100644 --- a/docs/sdk/models/operations/lmslistcategoriesrequest.md +++ b/docs/sdk/models/operations/lmslistcategoriesrequest.md @@ -8,7 +8,7 @@ import { LmsListCategoriesRequest } from "@stackone/stackone-client-ts/sdk/model let value: LmsListCategoriesRequest = { fields: "id,remote_id,name,active,hierarchy,level,language", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, xAccountId: "", }; diff --git a/docs/sdk/models/operations/lmslistcompletionsqueryparamfilter.md b/docs/sdk/models/operations/lmslistcompletionsqueryparamfilter.md index 5023c4824..b17cb44c4 100644 --- a/docs/sdk/models/operations/lmslistcompletionsqueryparamfilter.md +++ b/docs/sdk/models/operations/lmslistcompletionsqueryparamfilter.md @@ -8,12 +8,12 @@ LMS Completions Filter import { LmsListCompletionsQueryParamFilter } from "@stackone/stackone-client-ts/sdk/models/operations"; let value: LmsListCompletionsQueryParamFilter = { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }; ``` ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | -| `updatedAfter` | *string* | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `updatedAfter` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file diff --git a/docs/sdk/models/operations/lmslistcontentqueryparamfilter.md b/docs/sdk/models/operations/lmslistcontentqueryparamfilter.md index f357610ea..452a86d53 100644 --- a/docs/sdk/models/operations/lmslistcontentqueryparamfilter.md +++ b/docs/sdk/models/operations/lmslistcontentqueryparamfilter.md @@ -8,12 +8,12 @@ Filter parameters that allow greater customisation of the list response import { LmsListContentQueryParamFilter } from "@stackone/stackone-client-ts/sdk/models/operations"; let value: LmsListContentQueryParamFilter = { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }; ``` ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | -| `updatedAfter` | *string* | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `updatedAfter` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file diff --git a/docs/sdk/models/operations/lmslistcontentrequest.md b/docs/sdk/models/operations/lmslistcontentrequest.md index 0536a2b21..b4deceacd 100644 --- a/docs/sdk/models/operations/lmslistcontentrequest.md +++ b/docs/sdk/models/operations/lmslistcontentrequest.md @@ -9,7 +9,7 @@ let value: LmsListContentRequest = { fields: "id,remote_id,external_reference,course_ids,remote_course_ids,title,description,additional_data,languages,content_url,mobile_launch_content_url,content_type,cover_url,active,duration,order,categories,skills,updated_at,created_at,provider,localizations,tags,authors", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, xAccountId: "", }; diff --git a/docs/sdk/models/operations/lmslistcoursesqueryparamfilter.md b/docs/sdk/models/operations/lmslistcoursesqueryparamfilter.md index c2647a147..bb09375db 100644 --- a/docs/sdk/models/operations/lmslistcoursesqueryparamfilter.md +++ b/docs/sdk/models/operations/lmslistcoursesqueryparamfilter.md @@ -8,13 +8,13 @@ LMS Courses Filter import { LmsListCoursesQueryParamFilter } from "@stackone/stackone-client-ts/sdk/models/operations"; let value: LmsListCoursesQueryParamFilter = { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }; ``` ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | -| `externalReference` | *string* | :heavy_minus_sign: | Filter to select courses by external_reference | | -| `updatedAfter` | *string* | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `externalReference` | *string* | :heavy_minus_sign: | Filter to select courses by external_reference | | +| `updatedAfter` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file diff --git a/docs/sdk/models/operations/lmslistcoursesrequest.md b/docs/sdk/models/operations/lmslistcoursesrequest.md index 8581ee7cd..8dc371fc8 100644 --- a/docs/sdk/models/operations/lmslistcoursesrequest.md +++ b/docs/sdk/models/operations/lmslistcoursesrequest.md @@ -9,7 +9,7 @@ let value: LmsListCoursesRequest = { fields: "id,remote_id,external_reference,content_ids,remote_content_ids,title,description,languages,cover_url,url,active,duration,categories,skills,updated_at,created_at,content,provider,localizations,authors", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, xAccountId: "", }; diff --git a/docs/sdk/models/operations/lmslistskillsqueryparamfilter.md b/docs/sdk/models/operations/lmslistskillsqueryparamfilter.md index 1ec38028d..4412ea17d 100644 --- a/docs/sdk/models/operations/lmslistskillsqueryparamfilter.md +++ b/docs/sdk/models/operations/lmslistskillsqueryparamfilter.md @@ -8,12 +8,12 @@ Filter parameters that allow greater customisation of the list response import { LmsListSkillsQueryParamFilter } from "@stackone/stackone-client-ts/sdk/models/operations"; let value: LmsListSkillsQueryParamFilter = { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }; ``` ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | -| `updatedAfter` | *string* | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `updatedAfter` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file diff --git a/docs/sdk/models/operations/lmslistskillsrequest.md b/docs/sdk/models/operations/lmslistskillsrequest.md index 3c8c44383..4aadd2566 100644 --- a/docs/sdk/models/operations/lmslistskillsrequest.md +++ b/docs/sdk/models/operations/lmslistskillsrequest.md @@ -8,7 +8,7 @@ import { LmsListSkillsRequest } from "@stackone/stackone-client-ts/sdk/models/op let value: LmsListSkillsRequest = { fields: "id,remote_id,name,active,hierarchy,language", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, xAccountId: "", }; diff --git a/docs/sdk/models/operations/lmslistuserassignmentsqueryparamfilter.md b/docs/sdk/models/operations/lmslistuserassignmentsqueryparamfilter.md index 92c86335f..dd3385c43 100644 --- a/docs/sdk/models/operations/lmslistuserassignmentsqueryparamfilter.md +++ b/docs/sdk/models/operations/lmslistuserassignmentsqueryparamfilter.md @@ -8,7 +8,7 @@ LMS Assignment Filter import { LmsListUserAssignmentsQueryParamFilter } from "@stackone/stackone-client-ts/sdk/models/operations"; let value: LmsListUserAssignmentsQueryParamFilter = { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }; ``` @@ -17,4 +17,4 @@ let value: LmsListUserAssignmentsQueryParamFilter = { | Field | Type | Required | Description | Example | | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | | `status` | [operations.LmsListUserAssignmentsQueryParamStatus](../../../sdk/models/operations/lmslistuserassignmentsqueryparamstatus.md) | :heavy_minus_sign: | Filter to select assignment by status | | -| `updatedAfter` | *string* | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file +| `updatedAfter` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file diff --git a/docs/sdk/models/operations/lmslistuserassignmentsrequest.md b/docs/sdk/models/operations/lmslistuserassignmentsrequest.md index 2601f8379..d5d2f213f 100644 --- a/docs/sdk/models/operations/lmslistuserassignmentsrequest.md +++ b/docs/sdk/models/operations/lmslistuserassignmentsrequest.md @@ -9,7 +9,7 @@ let value: LmsListUserAssignmentsRequest = { fields: "id,remote_id,external_reference,user_id,remote_user_id,course_id,remote_course_id,updated_at,created_at,due_date,status,progress,learning_object_type,learning_object_id,remote_learning_object_id,learning_object_external_reference", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, id: "", remoteUserId: "e3cb75bf-aa84-466e-a6c1-b8322b257a48", diff --git a/docs/sdk/models/operations/lmslistusercompletionsqueryparamfilter.md b/docs/sdk/models/operations/lmslistusercompletionsqueryparamfilter.md index 5b0cb3f38..31a35bf84 100644 --- a/docs/sdk/models/operations/lmslistusercompletionsqueryparamfilter.md +++ b/docs/sdk/models/operations/lmslistusercompletionsqueryparamfilter.md @@ -8,12 +8,12 @@ LMS Completions Filter import { LmsListUserCompletionsQueryParamFilter } from "@stackone/stackone-client-ts/sdk/models/operations"; let value: LmsListUserCompletionsQueryParamFilter = { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }; ``` ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | -| `updatedAfter` | *string* | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `updatedAfter` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file diff --git a/docs/sdk/models/operations/lmslistusercompletionsrequest.md b/docs/sdk/models/operations/lmslistusercompletionsrequest.md index 86909b48e..999777005 100644 --- a/docs/sdk/models/operations/lmslistusercompletionsrequest.md +++ b/docs/sdk/models/operations/lmslistusercompletionsrequest.md @@ -9,7 +9,7 @@ let value: LmsListUserCompletionsRequest = { fields: "id,remote_id,external_id,remote_external_id,external_reference,content_id,remote_content_id,course_id,remote_course_id,user_id,remote_user_id,completed_at,updated_at,created_at,result,content_external_reference,learning_object_type,learning_object_id,remote_learning_object_id,learning_object_external_reference,time_spent", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, id: "", xAccountId: "", diff --git a/docs/sdk/models/operations/lmslistusersqueryparamfilter.md b/docs/sdk/models/operations/lmslistusersqueryparamfilter.md index b7172eb7a..d225d2a34 100644 --- a/docs/sdk/models/operations/lmslistusersqueryparamfilter.md +++ b/docs/sdk/models/operations/lmslistusersqueryparamfilter.md @@ -8,14 +8,14 @@ LMS Users Filter import { LmsListUsersQueryParamFilter } from "@stackone/stackone-client-ts/sdk/models/operations"; let value: LmsListUsersQueryParamFilter = { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }; ``` ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | -| `email` | *string* | :heavy_minus_sign: | Filter to select users by email | | -| `externalReference` | *string* | :heavy_minus_sign: | Filter to select users by external_reference | | -| `updatedAfter` | *string* | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `email` | *string* | :heavy_minus_sign: | Filter to select users by email | | +| `externalReference` | *string* | :heavy_minus_sign: | Filter to select users by external_reference | | +| `updatedAfter` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file diff --git a/docs/sdk/models/operations/lmslistusersrequest.md b/docs/sdk/models/operations/lmslistusersrequest.md index 8f1ee9bb4..dc73dc71a 100644 --- a/docs/sdk/models/operations/lmslistusersrequest.md +++ b/docs/sdk/models/operations/lmslistusersrequest.md @@ -9,7 +9,7 @@ let value: LmsListUsersRequest = { fields: "id,remote_id,external_reference,active,email,phone_number,created_at,updated_at,name", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, xAccountId: "", }; diff --git a/docs/sdk/models/operations/marketinglistcampaignsqueryparamfilter.md b/docs/sdk/models/operations/marketinglistcampaignsqueryparamfilter.md index 9cb26fa68..930e15760 100644 --- a/docs/sdk/models/operations/marketinglistcampaignsqueryparamfilter.md +++ b/docs/sdk/models/operations/marketinglistcampaignsqueryparamfilter.md @@ -8,12 +8,12 @@ Filter parameters that allow greater customisation of the list response import { MarketingListCampaignsQueryParamFilter } from "@stackone/stackone-client-ts/sdk/models/operations"; let value: MarketingListCampaignsQueryParamFilter = { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }; ``` ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | -| `updatedAfter` | *string* | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `updatedAfter` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file diff --git a/docs/sdk/models/operations/marketinglistcampaignsrequest.md b/docs/sdk/models/operations/marketinglistcampaignsrequest.md index c0e9d0979..b7dfb973b 100644 --- a/docs/sdk/models/operations/marketinglistcampaignsrequest.md +++ b/docs/sdk/models/operations/marketinglistcampaignsrequest.md @@ -9,7 +9,7 @@ let value: MarketingListCampaignsRequest = { fields: "id,remote_id,name,created_at,updated_at,description,schedule_type,status,channels,first_sent_at,last_sent_at,tags,messages", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, xAccountId: "", }; diff --git a/docs/sdk/models/operations/marketinglistcontentblocksqueryparamfilter.md b/docs/sdk/models/operations/marketinglistcontentblocksqueryparamfilter.md index a9c12515f..5d8da3ef1 100644 --- a/docs/sdk/models/operations/marketinglistcontentblocksqueryparamfilter.md +++ b/docs/sdk/models/operations/marketinglistcontentblocksqueryparamfilter.md @@ -8,12 +8,12 @@ Filter parameters that allow greater customisation of the list response import { MarketingListContentBlocksQueryParamFilter } from "@stackone/stackone-client-ts/sdk/models/operations"; let value: MarketingListContentBlocksQueryParamFilter = { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }; ``` ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | -| `updatedAfter` | *string* | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `updatedAfter` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file diff --git a/docs/sdk/models/operations/marketinglistemailtemplatesqueryparamfilter.md b/docs/sdk/models/operations/marketinglistemailtemplatesqueryparamfilter.md index 7e6a5ed40..8f3e1fa5f 100644 --- a/docs/sdk/models/operations/marketinglistemailtemplatesqueryparamfilter.md +++ b/docs/sdk/models/operations/marketinglistemailtemplatesqueryparamfilter.md @@ -8,12 +8,12 @@ Filter parameters that allow greater customisation of the list response import { MarketingListEmailTemplatesQueryParamFilter } from "@stackone/stackone-client-ts/sdk/models/operations"; let value: MarketingListEmailTemplatesQueryParamFilter = { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }; ``` ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | -| `updatedAfter` | *string* | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `updatedAfter` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file diff --git a/docs/sdk/models/operations/marketinglistemailtemplatesrequest.md b/docs/sdk/models/operations/marketinglistemailtemplatesrequest.md index 7f602afe7..42926c727 100644 --- a/docs/sdk/models/operations/marketinglistemailtemplatesrequest.md +++ b/docs/sdk/models/operations/marketinglistemailtemplatesrequest.md @@ -8,7 +8,7 @@ import { MarketingListEmailTemplatesRequest } from "@stackone/stackone-client-ts let value: MarketingListEmailTemplatesRequest = { fields: "id,remote_id,name,messages,created_at,updated_at,tags", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, xAccountId: "", }; diff --git a/docs/sdk/models/operations/marketinglistinapptemplatesqueryparamfilter.md b/docs/sdk/models/operations/marketinglistinapptemplatesqueryparamfilter.md index 52ba199cf..45ba8615c 100644 --- a/docs/sdk/models/operations/marketinglistinapptemplatesqueryparamfilter.md +++ b/docs/sdk/models/operations/marketinglistinapptemplatesqueryparamfilter.md @@ -8,12 +8,12 @@ Filter parameters that allow greater customisation of the list response import { MarketingListInAppTemplatesQueryParamFilter } from "@stackone/stackone-client-ts/sdk/models/operations"; let value: MarketingListInAppTemplatesQueryParamFilter = { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }; ``` ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | -| `updatedAfter` | *string* | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `updatedAfter` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file diff --git a/docs/sdk/models/operations/marketinglistinapptemplatesrequest.md b/docs/sdk/models/operations/marketinglistinapptemplatesrequest.md index d1b2b8c57..7274324e0 100644 --- a/docs/sdk/models/operations/marketinglistinapptemplatesrequest.md +++ b/docs/sdk/models/operations/marketinglistinapptemplatesrequest.md @@ -8,7 +8,7 @@ import { MarketingListInAppTemplatesRequest } from "@stackone/stackone-client-ts let value: MarketingListInAppTemplatesRequest = { fields: "id,remote_id,name,messages,created_at,updated_at,tags", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, xAccountId: "", }; diff --git a/docs/sdk/models/operations/marketinglistomnichanneltemplatesqueryparamfilter.md b/docs/sdk/models/operations/marketinglistomnichanneltemplatesqueryparamfilter.md index ddb5d310e..c956f805c 100644 --- a/docs/sdk/models/operations/marketinglistomnichanneltemplatesqueryparamfilter.md +++ b/docs/sdk/models/operations/marketinglistomnichanneltemplatesqueryparamfilter.md @@ -8,12 +8,12 @@ Filter parameters that allow greater customisation of the list response import { MarketingListOmniChannelTemplatesQueryParamFilter } from "@stackone/stackone-client-ts/sdk/models/operations"; let value: MarketingListOmniChannelTemplatesQueryParamFilter = { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }; ``` ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | -| `updatedAfter` | *string* | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `updatedAfter` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file diff --git a/docs/sdk/models/operations/marketinglistomnichanneltemplatesrequest.md b/docs/sdk/models/operations/marketinglistomnichanneltemplatesrequest.md index 6c1f53c4e..a9b818826 100644 --- a/docs/sdk/models/operations/marketinglistomnichanneltemplatesrequest.md +++ b/docs/sdk/models/operations/marketinglistomnichanneltemplatesrequest.md @@ -8,7 +8,7 @@ import { MarketingListOmniChannelTemplatesRequest } from "@stackone/stackone-cli let value: MarketingListOmniChannelTemplatesRequest = { fields: "id,remote_id,name,messages,created_at,updated_at,tags", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, xAccountId: "", }; diff --git a/docs/sdk/models/operations/marketinglistpushtemplatesqueryparamfilter.md b/docs/sdk/models/operations/marketinglistpushtemplatesqueryparamfilter.md index 782c7192e..7eb0a1493 100644 --- a/docs/sdk/models/operations/marketinglistpushtemplatesqueryparamfilter.md +++ b/docs/sdk/models/operations/marketinglistpushtemplatesqueryparamfilter.md @@ -8,12 +8,12 @@ Filter parameters that allow greater customisation of the list response import { MarketingListPushTemplatesQueryParamFilter } from "@stackone/stackone-client-ts/sdk/models/operations"; let value: MarketingListPushTemplatesQueryParamFilter = { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }; ``` ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | -| `updatedAfter` | *string* | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `updatedAfter` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file diff --git a/docs/sdk/models/operations/marketinglistpushtemplatesrequest.md b/docs/sdk/models/operations/marketinglistpushtemplatesrequest.md index 71358c927..ccbbb0863 100644 --- a/docs/sdk/models/operations/marketinglistpushtemplatesrequest.md +++ b/docs/sdk/models/operations/marketinglistpushtemplatesrequest.md @@ -8,7 +8,7 @@ import { MarketingListPushTemplatesRequest } from "@stackone/stackone-client-ts/ let value: MarketingListPushTemplatesRequest = { fields: "id,remote_id,name,messages,created_at,updated_at,tags", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, xAccountId: "", }; diff --git a/docs/sdk/models/operations/marketinglistsmstemplatesqueryparamfilter.md b/docs/sdk/models/operations/marketinglistsmstemplatesqueryparamfilter.md index 4f76978da..78c22acb3 100644 --- a/docs/sdk/models/operations/marketinglistsmstemplatesqueryparamfilter.md +++ b/docs/sdk/models/operations/marketinglistsmstemplatesqueryparamfilter.md @@ -8,12 +8,12 @@ Filter parameters that allow greater customisation of the list response import { MarketingListSmsTemplatesQueryParamFilter } from "@stackone/stackone-client-ts/sdk/models/operations"; let value: MarketingListSmsTemplatesQueryParamFilter = { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }; ``` ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | -| `updatedAfter` | *string* | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `updatedAfter` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file diff --git a/docs/sdk/models/operations/marketinglistsmstemplatesrequest.md b/docs/sdk/models/operations/marketinglistsmstemplatesrequest.md index c8d3f3e8e..256f8abed 100644 --- a/docs/sdk/models/operations/marketinglistsmstemplatesrequest.md +++ b/docs/sdk/models/operations/marketinglistsmstemplatesrequest.md @@ -8,7 +8,7 @@ import { MarketingListSmsTemplatesRequest } from "@stackone/stackone-client-ts/s let value: MarketingListSmsTemplatesRequest = { fields: "id,remote_id,name,messages,created_at,updated_at,tags", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, xAccountId: "", }; diff --git a/docs/sdk/models/operations/queryparamfilter.md b/docs/sdk/models/operations/queryparamfilter.md index 59dae4dbd..43e380ee0 100644 --- a/docs/sdk/models/operations/queryparamfilter.md +++ b/docs/sdk/models/operations/queryparamfilter.md @@ -15,7 +15,7 @@ let value: QueryParamFilter = { accountIds: "45355976281015164504,45355976281015164505", actions: "download,upload", categories: "hris,ats", - endDate: "2020-01-01T00:00:00.000Z", + endDate: new Date("2020-01-01T00:00:00.000Z"), httpMethods: "GET,POST", orderBy: StackoneListPlatformLogsQueryParamRequestLogsOrderBy.Service, orderDirection: @@ -24,7 +24,7 @@ let value: QueryParamFilter = { "adbf752f-6457-4ddd-89b3-98ae2252b83b,adbf752f-6457-4ddd-89b3-98ae2252b83c", resources: "employees,users", sourceTypes: "DASHBOARD,SYNTHETIC_WEBHOOK", - startDate: "2020-01-01T00:00:00.000Z", + startDate: new Date("2020-01-01T00:00:00.000Z"), statusCodes: "200,400", success: true, }; @@ -37,7 +37,7 @@ let value: QueryParamFilter = { | `accountIds` | *string* | :heavy_minus_sign: | A comma-separated list of account IDs to filter the results by. | 45355976281015164504,45355976281015164505 | | `actions` | *string* | :heavy_minus_sign: | A comma-separated list of actions to filter the results by. | download,upload | | `categories` | *string* | :heavy_minus_sign: | A comma-separated list of categories to filter the results by. | hris,ats | -| `endDate` | *string* | :heavy_minus_sign: | A ISO8601 date string to filter the results by end_date. | 2020-01-01T00:00:00.000Z | +| `endDate` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | A ISO8601 date string to filter the results by end_date. | 2020-01-01T00:00:00.000Z | | `httpMethods` | *string* | :heavy_minus_sign: | A comma-separated list of HTTP methods to filter the results by. | GET,POST | | `orderBy` | [operations.StackoneListPlatformLogsQueryParamRequestLogsOrderBy](../../../sdk/models/operations/stackonelistplatformlogsqueryparamrequestlogsorderby.md) | :heavy_minus_sign: | The field to order the results by. | created_at | | `orderDirection` | [operations.StackoneListPlatformLogsQueryParamRequestLogsOrderDirection](../../../sdk/models/operations/stackonelistplatformlogsqueryparamrequestlogsorderdirection.md) | :heavy_minus_sign: | The direction to order the results by. | asc | @@ -46,6 +46,6 @@ let value: QueryParamFilter = { | `sourceIds` | *string* | :heavy_minus_sign: | A comma-separated list of source IDs to filter the results by. | | | `sourceTypes` | *string* | :heavy_minus_sign: | A comma-separated list of source types to filter the results by. | DASHBOARD,SYNTHETIC_WEBHOOK | | `sourceValues` | *string* | :heavy_minus_sign: | A comma-separated list of source values to filter the results by. | | -| `startDate` | *string* | :heavy_minus_sign: | A ISO8601 date string to filter the results by start_date. | 2020-01-01T00:00:00.000Z | +| `startDate` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | A ISO8601 date string to filter the results by start_date. | 2020-01-01T00:00:00.000Z | | `statusCodes` | *string* | :heavy_minus_sign: | A comma-separated list of status codes to filter the results by. | 200,400 | | `success` | *boolean* | :heavy_minus_sign: | A boolean value to filter the results by success or failure. | true | \ No newline at end of file diff --git a/docs/sdk/models/operations/stackonelistlogsrequest.md b/docs/sdk/models/operations/stackonelistlogsrequest.md index 4b0ca05f2..1a435b56f 100644 --- a/docs/sdk/models/operations/stackonelistlogsrequest.md +++ b/docs/sdk/models/operations/stackonelistlogsrequest.md @@ -17,7 +17,7 @@ let value: StackoneListLogsRequest = { accountIds: "45355976281015164504,45355976281015164505", actions: "download,upload", childResources: "documents,time-off", - endDate: "2020-01-01T00:00:00.000Z", + endDate: new Date("2020-01-01T00:00:00.000Z"), httpMethods: "GET,POST", orderBy: QueryParamOrderBy.Service, orderDirection: QueryParamOrderDirection.Asc, @@ -27,7 +27,7 @@ let value: StackoneListLogsRequest = { resources: "employees,users", services: "hris,ats", sourceTypes: "DASHBOARD,SYNTHETIC_WEBHOOK", - startDate: "2020-01-01T00:00:00.000Z", + startDate: new Date("2020-01-01T00:00:00.000Z"), statusCodes: "200,400", subResources: "documents,employees", success: true, diff --git a/docs/sdk/models/operations/stackonelistplatformlogsrequest.md b/docs/sdk/models/operations/stackonelistplatformlogsrequest.md index 1ba508ed2..d369d7337 100644 --- a/docs/sdk/models/operations/stackonelistplatformlogsrequest.md +++ b/docs/sdk/models/operations/stackonelistplatformlogsrequest.md @@ -16,7 +16,7 @@ let value: StackoneListPlatformLogsRequest = { accountIds: "45355976281015164504,45355976281015164505", actions: "download,upload", categories: "hris,ats", - endDate: "2020-01-01T00:00:00.000Z", + endDate: new Date("2020-01-01T00:00:00.000Z"), httpMethods: "GET,POST", orderBy: StackoneListPlatformLogsQueryParamRequestLogsOrderBy.Duration, orderDirection: @@ -25,7 +25,7 @@ let value: StackoneListPlatformLogsRequest = { "adbf752f-6457-4ddd-89b3-98ae2252b83b,adbf752f-6457-4ddd-89b3-98ae2252b83c", resources: "employees,users", sourceTypes: "DASHBOARD,SYNTHETIC_WEBHOOK", - startDate: "2020-01-01T00:00:00.000Z", + startDate: new Date("2020-01-01T00:00:00.000Z"), statusCodes: "200,400", success: true, }, diff --git a/docs/sdk/models/operations/stackoneliststeplogsqueryparamfilter.md b/docs/sdk/models/operations/stackoneliststeplogsqueryparamfilter.md index 747bd2074..5747564d2 100644 --- a/docs/sdk/models/operations/stackoneliststeplogsqueryparamfilter.md +++ b/docs/sdk/models/operations/stackoneliststeplogsqueryparamfilter.md @@ -11,14 +11,14 @@ let value: StackoneListStepLogsQueryParamFilter = { accountIds: "45355976281015164504,45355976281015164505", actions: "download,upload", childResources: "documents,time-off", - endDate: "2020-01-01T00:00:00.000Z", + endDate: new Date("2020-01-01T00:00:00.000Z"), httpMethods: "GET,POST", providers: "ashby,greenhouse", requestIds: "adbf752f-6457-4ddd-89b3-98ae2252b83b,adbf752f-6457-4ddd-89b3-98ae2252b83c", resources: "employees,users", services: "hris,ats", - startDate: "2020-01-01T00:00:00.000Z", + startDate: new Date("2020-01-01T00:00:00.000Z"), statusCodes: "200,400", subResources: "documents,employees", success: true, @@ -27,18 +27,18 @@ let value: StackoneListStepLogsQueryParamFilter = { ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | -| `accountIds` | *string* | :heavy_minus_sign: | A comma-separated list of account IDs to filter the results by. | 45355976281015164504,45355976281015164505 | -| `actions` | *string* | :heavy_minus_sign: | A comma-separated list of actions to filter the results by. | download,upload | -| `childResources` | *string* | :heavy_minus_sign: | A comma-separated list of child resources to filter the results by. | documents,time-off | -| `endDate` | *string* | :heavy_minus_sign: | A ISO8601 date string to filter the results by end_date. | 2020-01-01T00:00:00.000Z | -| `httpMethods` | *string* | :heavy_minus_sign: | A comma-separated list of HTTP methods to filter the results by. | GET,POST | -| `providers` | *string* | :heavy_minus_sign: | A comma-separated list of provider keys to filter the results by. | ashby,greenhouse | -| `requestIds` | *string* | :heavy_minus_sign: | A comma-separated list of request IDs to filter the results by. | adbf752f-6457-4ddd-89b3-98ae2252b83b,adbf752f-6457-4ddd-89b3-98ae2252b83c | -| `resources` | *string* | :heavy_minus_sign: | A comma-separated list of resources to filter the results by. | employees,users | -| `services` | *string* | :heavy_minus_sign: | A comma-separated list of services to filter the results by. | hris,ats | -| `startDate` | *string* | :heavy_minus_sign: | A ISO8601 date string to filter the results by start_date. | 2020-01-01T00:00:00.000Z | -| `statusCodes` | *string* | :heavy_minus_sign: | A comma-separated list of status codes to filter the results by. | 200,400 | -| `subResources` | *string* | :heavy_minus_sign: | A comma-separated list of sub resources to filter the results by. | documents,employees | -| `success` | *boolean* | :heavy_minus_sign: | A boolean value to filter the results by success or failure. | true | \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `accountIds` | *string* | :heavy_minus_sign: | A comma-separated list of account IDs to filter the results by. | 45355976281015164504,45355976281015164505 | +| `actions` | *string* | :heavy_minus_sign: | A comma-separated list of actions to filter the results by. | download,upload | +| `childResources` | *string* | :heavy_minus_sign: | A comma-separated list of child resources to filter the results by. | documents,time-off | +| `endDate` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | A ISO8601 date string to filter the results by end_date. | 2020-01-01T00:00:00.000Z | +| `httpMethods` | *string* | :heavy_minus_sign: | A comma-separated list of HTTP methods to filter the results by. | GET,POST | +| `providers` | *string* | :heavy_minus_sign: | A comma-separated list of provider keys to filter the results by. | ashby,greenhouse | +| `requestIds` | *string* | :heavy_minus_sign: | A comma-separated list of request IDs to filter the results by. | adbf752f-6457-4ddd-89b3-98ae2252b83b,adbf752f-6457-4ddd-89b3-98ae2252b83c | +| `resources` | *string* | :heavy_minus_sign: | A comma-separated list of resources to filter the results by. | employees,users | +| `services` | *string* | :heavy_minus_sign: | A comma-separated list of services to filter the results by. | hris,ats | +| `startDate` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | A ISO8601 date string to filter the results by start_date. | 2020-01-01T00:00:00.000Z | +| `statusCodes` | *string* | :heavy_minus_sign: | A comma-separated list of status codes to filter the results by. | 200,400 | +| `subResources` | *string* | :heavy_minus_sign: | A comma-separated list of sub resources to filter the results by. | documents,employees | +| `success` | *boolean* | :heavy_minus_sign: | A boolean value to filter the results by success or failure. | true | \ No newline at end of file diff --git a/docs/sdk/models/operations/stackoneliststeplogsrequest.md b/docs/sdk/models/operations/stackoneliststeplogsrequest.md index 2306969eb..30e0ee546 100644 --- a/docs/sdk/models/operations/stackoneliststeplogsrequest.md +++ b/docs/sdk/models/operations/stackoneliststeplogsrequest.md @@ -14,14 +14,14 @@ let value: StackoneListStepLogsRequest = { accountIds: "45355976281015164504,45355976281015164505", actions: "download,upload", childResources: "documents,time-off", - endDate: "2020-01-01T00:00:00.000Z", + endDate: new Date("2020-01-01T00:00:00.000Z"), httpMethods: "GET,POST", providers: "ashby,greenhouse", requestIds: "adbf752f-6457-4ddd-89b3-98ae2252b83b,adbf752f-6457-4ddd-89b3-98ae2252b83c", resources: "employees,users", services: "hris,ats", - startDate: "2020-01-01T00:00:00.000Z", + startDate: new Date("2020-01-01T00:00:00.000Z"), statusCodes: "200,400", subResources: "documents,employees", success: true, diff --git a/docs/sdk/models/operations/ticketinglistattachmentsqueryparamfilter.md b/docs/sdk/models/operations/ticketinglistattachmentsqueryparamfilter.md index 4d9878de7..2fb92fbc0 100644 --- a/docs/sdk/models/operations/ticketinglistattachmentsqueryparamfilter.md +++ b/docs/sdk/models/operations/ticketinglistattachmentsqueryparamfilter.md @@ -8,12 +8,12 @@ Filter parameters that allow greater customisation of the list response import { TicketingListAttachmentsQueryParamFilter } from "@stackone/stackone-client-ts/sdk/models/operations"; let value: TicketingListAttachmentsQueryParamFilter = { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }; ``` ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | -| `updatedAfter` | *string* | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `updatedAfter` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file diff --git a/docs/sdk/models/operations/ticketinglistattachmentsrequest.md b/docs/sdk/models/operations/ticketinglistattachmentsrequest.md index 2fcf24a56..fc91735b7 100644 --- a/docs/sdk/models/operations/ticketinglistattachmentsrequest.md +++ b/docs/sdk/models/operations/ticketinglistattachmentsrequest.md @@ -9,7 +9,7 @@ let value: TicketingListAttachmentsRequest = { fields: "id,remote_id,ticket_id,remote_ticket_id,user_id,remote_user_id,file_name,file_format,file_url,size,created_at,updated_at", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, id: "", xAccountId: "", diff --git a/docs/sdk/models/operations/ticketinglistcommentsqueryparamfilter.md b/docs/sdk/models/operations/ticketinglistcommentsqueryparamfilter.md index c0cb76574..fbf6bf601 100644 --- a/docs/sdk/models/operations/ticketinglistcommentsqueryparamfilter.md +++ b/docs/sdk/models/operations/ticketinglistcommentsqueryparamfilter.md @@ -8,12 +8,12 @@ Filter parameters that allow greater customisation of the list response import { TicketingListCommentsQueryParamFilter } from "@stackone/stackone-client-ts/sdk/models/operations"; let value: TicketingListCommentsQueryParamFilter = { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }; ``` ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | -| `updatedAfter` | *string* | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `updatedAfter` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file diff --git a/docs/sdk/models/operations/ticketinglistcommentsrequest.md b/docs/sdk/models/operations/ticketinglistcommentsrequest.md index 0b17f0b7a..caab732d3 100644 --- a/docs/sdk/models/operations/ticketinglistcommentsrequest.md +++ b/docs/sdk/models/operations/ticketinglistcommentsrequest.md @@ -9,7 +9,7 @@ let value: TicketingListCommentsRequest = { fields: "id,remote_id,ticket_id,remote_ticket_id,content,user_id,remote_user_id,internal,created_at,updated_at", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, id: "", xAccountId: "", diff --git a/docs/sdk/models/operations/ticketinglistprojectcomponentsqueryparamfilter.md b/docs/sdk/models/operations/ticketinglistprojectcomponentsqueryparamfilter.md index 898275aad..b816e63fc 100644 --- a/docs/sdk/models/operations/ticketinglistprojectcomponentsqueryparamfilter.md +++ b/docs/sdk/models/operations/ticketinglistprojectcomponentsqueryparamfilter.md @@ -8,12 +8,12 @@ Filter parameters that allow greater customisation of the list response import { TicketingListProjectComponentsQueryParamFilter } from "@stackone/stackone-client-ts/sdk/models/operations"; let value: TicketingListProjectComponentsQueryParamFilter = { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }; ``` ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | -| `updatedAfter` | *string* | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `updatedAfter` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file diff --git a/docs/sdk/models/operations/ticketinglistprojectcomponentsrequest.md b/docs/sdk/models/operations/ticketinglistprojectcomponentsrequest.md index e2ec2fff7..da9feebfe 100644 --- a/docs/sdk/models/operations/ticketinglistprojectcomponentsrequest.md +++ b/docs/sdk/models/operations/ticketinglistprojectcomponentsrequest.md @@ -9,7 +9,7 @@ let value: TicketingListProjectComponentsRequest = { fields: "id,remote_id,organization_id,remote_organization_id,project_id,remote_project_id,name,description,created_at,updated_at", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, id: "", xAccountId: "", diff --git a/docs/sdk/models/operations/ticketinglistprojectsqueryparamfilter.md b/docs/sdk/models/operations/ticketinglistprojectsqueryparamfilter.md index 07a262382..e806c43a2 100644 --- a/docs/sdk/models/operations/ticketinglistprojectsqueryparamfilter.md +++ b/docs/sdk/models/operations/ticketinglistprojectsqueryparamfilter.md @@ -8,12 +8,12 @@ Filter parameters that allow greater customisation of the list response import { TicketingListProjectsQueryParamFilter } from "@stackone/stackone-client-ts/sdk/models/operations"; let value: TicketingListProjectsQueryParamFilter = { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }; ``` ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | -| `updatedAfter` | *string* | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `updatedAfter` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file diff --git a/docs/sdk/models/operations/ticketinglistprojectsrequest.md b/docs/sdk/models/operations/ticketinglistprojectsrequest.md index a41fa68b3..cd0fded44 100644 --- a/docs/sdk/models/operations/ticketinglistprojectsrequest.md +++ b/docs/sdk/models/operations/ticketinglistprojectsrequest.md @@ -9,7 +9,7 @@ let value: TicketingListProjectsRequest = { fields: "id,remote_id,organization_id,remote_organization_id,name,description,created_at,updated_at", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, xAccountId: "", }; diff --git a/docs/sdk/models/operations/ticketinglistprojecttickettypesqueryparamfilter.md b/docs/sdk/models/operations/ticketinglistprojecttickettypesqueryparamfilter.md index 5f21f1463..f50da2f84 100644 --- a/docs/sdk/models/operations/ticketinglistprojecttickettypesqueryparamfilter.md +++ b/docs/sdk/models/operations/ticketinglistprojecttickettypesqueryparamfilter.md @@ -8,12 +8,12 @@ Filter parameters that allow greater customisation of the list response import { TicketingListProjectTicketTypesQueryParamFilter } from "@stackone/stackone-client-ts/sdk/models/operations"; let value: TicketingListProjectTicketTypesQueryParamFilter = { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }; ``` ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | -| `updatedAfter` | *string* | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `updatedAfter` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file diff --git a/docs/sdk/models/operations/ticketinglistprojecttickettypesrequest.md b/docs/sdk/models/operations/ticketinglistprojecttickettypesrequest.md index f4dfd81eb..94f3be71f 100644 --- a/docs/sdk/models/operations/ticketinglistprojecttickettypesrequest.md +++ b/docs/sdk/models/operations/ticketinglistprojecttickettypesrequest.md @@ -8,7 +8,7 @@ import { TicketingListProjectTicketTypesRequest } from "@stackone/stackone-clien let value: TicketingListProjectTicketTypesRequest = { fields: "id,remote_id,name,project_id,remote_project_id", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, id: "", xAccountId: "", diff --git a/docs/sdk/models/operations/ticketinglistticketsqueryparamfilter.md b/docs/sdk/models/operations/ticketinglistticketsqueryparamfilter.md index a4e2ff619..07ce82dd6 100644 --- a/docs/sdk/models/operations/ticketinglistticketsqueryparamfilter.md +++ b/docs/sdk/models/operations/ticketinglistticketsqueryparamfilter.md @@ -8,12 +8,12 @@ Filter parameters that allow greater customisation of the list response import { TicketingListTicketsQueryParamFilter } from "@stackone/stackone-client-ts/sdk/models/operations"; let value: TicketingListTicketsQueryParamFilter = { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }; ``` ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | -| `updatedAfter` | *string* | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `updatedAfter` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file diff --git a/docs/sdk/models/operations/ticketinglistticketsrequest.md b/docs/sdk/models/operations/ticketinglistticketsrequest.md index bfe368e44..868abea10 100644 --- a/docs/sdk/models/operations/ticketinglistticketsrequest.md +++ b/docs/sdk/models/operations/ticketinglistticketsrequest.md @@ -9,7 +9,7 @@ let value: TicketingListTicketsRequest = { fields: "id,remote_id,type,ticket_number,title,creator_id,remote_creator_id,reporters,assignees,content,parent_id,remote_parent_id,closed_at,ticket_url,status,priority,tags,projects,components,organization,created_at,updated_at", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, xAccountId: "", }; diff --git a/docs/sdk/models/operations/ticketinglistticketstatusesqueryparamfilter.md b/docs/sdk/models/operations/ticketinglistticketstatusesqueryparamfilter.md index 47e99c63e..4332f7068 100644 --- a/docs/sdk/models/operations/ticketinglistticketstatusesqueryparamfilter.md +++ b/docs/sdk/models/operations/ticketinglistticketstatusesqueryparamfilter.md @@ -8,12 +8,12 @@ Filter parameters that allow greater customisation of the list response import { TicketingListTicketStatusesQueryParamFilter } from "@stackone/stackone-client-ts/sdk/models/operations"; let value: TicketingListTicketStatusesQueryParamFilter = { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }; ``` ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | -| `updatedAfter` | *string* | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `updatedAfter` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file diff --git a/docs/sdk/models/operations/ticketinglistticketstatusesrequest.md b/docs/sdk/models/operations/ticketinglistticketstatusesrequest.md index e70c96543..bb80dfdc0 100644 --- a/docs/sdk/models/operations/ticketinglistticketstatusesrequest.md +++ b/docs/sdk/models/operations/ticketinglistticketstatusesrequest.md @@ -7,7 +7,7 @@ import { TicketingListTicketStatusesRequest } from "@stackone/stackone-client-ts let value: TicketingListTicketStatusesRequest = { filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, id: "", xAccountId: "", diff --git a/docs/sdk/models/operations/ticketinglisttickettypesqueryparamfilter.md b/docs/sdk/models/operations/ticketinglisttickettypesqueryparamfilter.md index 3bf6f40f7..2c389732a 100644 --- a/docs/sdk/models/operations/ticketinglisttickettypesqueryparamfilter.md +++ b/docs/sdk/models/operations/ticketinglisttickettypesqueryparamfilter.md @@ -8,12 +8,12 @@ Filter parameters that allow greater customisation of the list response import { TicketingListTicketTypesQueryParamFilter } from "@stackone/stackone-client-ts/sdk/models/operations"; let value: TicketingListTicketTypesQueryParamFilter = { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }; ``` ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | -| `updatedAfter` | *string* | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `updatedAfter` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file diff --git a/docs/sdk/models/operations/ticketinglisttickettypesrequest.md b/docs/sdk/models/operations/ticketinglisttickettypesrequest.md index 55775caa2..904b49c70 100644 --- a/docs/sdk/models/operations/ticketinglisttickettypesrequest.md +++ b/docs/sdk/models/operations/ticketinglisttickettypesrequest.md @@ -8,7 +8,7 @@ import { TicketingListTicketTypesRequest } from "@stackone/stackone-client-ts/sd let value: TicketingListTicketTypesRequest = { fields: "id,remote_id,name,project_id,remote_project_id", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, xAccountId: "", }; diff --git a/docs/sdk/models/operations/ticketinglistusersqueryparamfilter.md b/docs/sdk/models/operations/ticketinglistusersqueryparamfilter.md index 196814a7e..9e0a4f62c 100644 --- a/docs/sdk/models/operations/ticketinglistusersqueryparamfilter.md +++ b/docs/sdk/models/operations/ticketinglistusersqueryparamfilter.md @@ -8,12 +8,12 @@ Filter parameters that allow greater customisation of the list response import { TicketingListUsersQueryParamFilter } from "@stackone/stackone-client-ts/sdk/models/operations"; let value: TicketingListUsersQueryParamFilter = { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }; ``` ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | -| `updatedAfter` | *string* | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `updatedAfter` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file diff --git a/docs/sdk/models/operations/ticketinglistusersrequest.md b/docs/sdk/models/operations/ticketinglistusersrequest.md index d5a99fd34..2e156b84a 100644 --- a/docs/sdk/models/operations/ticketinglistusersrequest.md +++ b/docs/sdk/models/operations/ticketinglistusersrequest.md @@ -9,7 +9,7 @@ let value: TicketingListUsersRequest = { fields: "id,remote_id,type,name,primary_email,primary_phone,username,active,first_name,last_name,customer_account_reference,created_at,updated_at", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, xAccountId: "", }; diff --git a/docs/sdk/models/shared/assignment.md b/docs/sdk/models/shared/assignment.md index 3e141d355..5f7e021e6 100644 --- a/docs/sdk/models/shared/assignment.md +++ b/docs/sdk/models/shared/assignment.md @@ -6,8 +6,8 @@ import { Assignment, AssignmentSchemasValue } from "@stackone/stackone-client-ts/sdk/models/shared"; let value: Assignment = { - createdAt: "2021-07-21T14:00:00.000Z", - dueDate: "2021-07-21T14:00:00.000Z", + createdAt: new Date("2021-07-21T14:00:00.000Z"), + dueDate: new Date("2021-07-21T14:00:00.000Z"), id: "123456", learningObjectExternalReference: "learning-content-123", learningObjectId: "e3gd34-23tr21-er234-345er56", @@ -22,7 +22,7 @@ let value: Assignment = { "my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value", }, - updatedAt: "2021-07-21T14:00:00.000Z", + updatedAt: new Date("2021-07-21T14:00:00.000Z"), userId: "c28xyrc55866bvuv", }; ``` @@ -32,8 +32,8 @@ let value: Assignment = { | Field | Type | Required | Description | Example | | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | ~~`courseId`~~ | *string* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

The course ID associated with this assignment | 16873-ENG-1 | -| `createdAt` | *string* | :heavy_minus_sign: | The date the assignment was created | 2021-07-21T14:00:00.000Z | -| `dueDate` | *string* | :heavy_minus_sign: | The date the assignment is due to be completed | 2021-07-21T14:00:00.000Z | +| `createdAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The date the assignment was created | 2021-07-21T14:00:00.000Z | +| `dueDate` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The date the assignment is due to be completed | 2021-07-21T14:00:00.000Z | | ~~`externalReference`~~ | *string* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

The external reference associated with this assignment | e3gd34-23tr21-er234-345er56 | | `id` | *string* | :heavy_minus_sign: | The ID associated with this assignment | 123456 | | `learningObjectExternalReference` | *string* | :heavy_minus_sign: | The external reference of the learning object associated with this assignment, this is the main identifier for creating assignments. | learning-content-123 | @@ -46,5 +46,5 @@ let value: Assignment = { | `remoteUserId` | *string* | :heavy_minus_sign: | Provider's unique identifier of the user related to the assignment | e3cb75bf-aa84-466e-a6c1-b8322b257a48 | | `status` | [shared.Status](../../../sdk/models/shared/status.md) | :heavy_minus_sign: | The status of the assignment | | | `unifiedCustomFields` | Record | :heavy_minus_sign: | Custom Unified Fields configured in your StackOne project | {
"my_project_custom_field_1": "REF-1236",
"my_project_custom_field_2": "some other value"
} | -| `updatedAt` | *string* | :heavy_minus_sign: | The date the assignment was last updated | 2021-07-21T14:00:00.000Z | +| `updatedAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The date the assignment was last updated | 2021-07-21T14:00:00.000Z | | `userId` | *string* | :heavy_minus_sign: | The user ID associated with this assignment | c28xyrc55866bvuv | \ No newline at end of file diff --git a/docs/sdk/models/shared/assignmentresult.md b/docs/sdk/models/shared/assignmentresult.md index 0867161ac..b4ef352bc 100644 --- a/docs/sdk/models/shared/assignmentresult.md +++ b/docs/sdk/models/shared/assignmentresult.md @@ -7,8 +7,8 @@ import { AssignmentResult, AssignmentSchemasValue } from "@stackone/stackone-cli let value: AssignmentResult = { data: { - createdAt: "2021-07-21T14:00:00.000Z", - dueDate: "2021-07-21T14:00:00.000Z", + createdAt: new Date("2021-07-21T14:00:00.000Z"), + dueDate: new Date("2021-07-21T14:00:00.000Z"), id: "123456", learningObjectExternalReference: "learning-content-123", learningObjectId: "e3gd34-23tr21-er234-345er56", @@ -23,7 +23,7 @@ let value: AssignmentResult = { "my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value", }, - updatedAt: "2021-07-21T14:00:00.000Z", + updatedAt: new Date("2021-07-21T14:00:00.000Z"), userId: "c28xyrc55866bvuv", }, }; diff --git a/docs/sdk/models/shared/assignmentspaginated.md b/docs/sdk/models/shared/assignmentspaginated.md index 7244189b1..c12dea6b7 100644 --- a/docs/sdk/models/shared/assignmentspaginated.md +++ b/docs/sdk/models/shared/assignmentspaginated.md @@ -8,8 +8,8 @@ import { AssignmentSchemasValue, AssignmentsPaginated } from "@stackone/stackone let value: AssignmentsPaginated = { data: [ { - createdAt: "2021-07-21T14:00:00.000Z", - dueDate: "2021-07-21T14:00:00.000Z", + createdAt: new Date("2021-07-21T14:00:00.000Z"), + dueDate: new Date("2021-07-21T14:00:00.000Z"), id: "123456", learningObjectExternalReference: "learning-content-123", learningObjectId: "e3gd34-23tr21-er234-345er56", @@ -24,7 +24,7 @@ let value: AssignmentsPaginated = { "my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value", }, - updatedAt: "2021-07-21T14:00:00.000Z", + updatedAt: new Date("2021-07-21T14:00:00.000Z"), userId: "c28xyrc55866bvuv", }, ], diff --git a/docs/sdk/models/shared/completion.md b/docs/sdk/models/shared/completion.md index 0419de1f9..446aaf404 100644 --- a/docs/sdk/models/shared/completion.md +++ b/docs/sdk/models/shared/completion.md @@ -6,8 +6,8 @@ import { Completion } from "@stackone/stackone-client-ts/sdk/models/shared"; let value: Completion = { - completedAt: "2021-07-21T14:00:00.000Z", - createdAt: "2021-07-21T14:00:00.000Z", + completedAt: new Date("2021-07-21T14:00:00.000Z"), + createdAt: new Date("2021-07-21T14:00:00.000Z"), id: "123456", learningObjectExternalReference: "learning-content-123", learningObjectId: "e3gd34-23tr21-er234-345er56", @@ -19,7 +19,7 @@ let value: Completion = { "my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value", }, - updatedAt: "2021-07-21T14:00:00.000Z", + updatedAt: new Date("2021-07-21T14:00:00.000Z"), userId: "c28xyrc55866bvuv", }; ``` @@ -28,11 +28,11 @@ let value: Completion = { | Field | Type | Required | Description | Example | | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `completedAt` | *string* | :heavy_minus_sign: | The date the content was completed | 2021-07-21T14:00:00.000Z | +| `completedAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The date the content was completed | 2021-07-21T14:00:00.000Z | | ~~`contentExternalReference`~~ | *string* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

The external reference associated with this content | SOFTWARE-ENG-LV1-TRAINING-VIDEO-1-CONTENT | | ~~`contentId`~~ | *string* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

The content ID associated with this completion | 16873-ENG-VIDEO-1 | | ~~`courseId`~~ | *string* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

The course ID associated with this completion | 16873-ENG-COURSE-1 | -| `createdAt` | *string* | :heavy_minus_sign: | The created date of the completion | 2021-07-21T14:00:00.000Z | +| `createdAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The created date of the completion | 2021-07-21T14:00:00.000Z | | ~~`externalId`~~ | *string* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

The external ID associated with this completion | SOFTWARE-ENG-LV1-TRAINING-VIDEO-1-COMPLETION | | ~~`externalReference`~~ | *string* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

The external reference associated with this completion | e3gd34-23tr21-er234-345er56 | | `id` | *string* | :heavy_minus_sign: | The ID associated with this completion | 123456 | @@ -48,5 +48,5 @@ let value: Completion = { | `result` | [shared.CompletionSchemasResult](../../../sdk/models/shared/completionschemasresult.md) | :heavy_minus_sign: | The result of the completion | | | `timeSpent` | *string* | :heavy_minus_sign: | ISO 8601 duration format representing the time spent on completing the learning object | PT1H30M45S | | `unifiedCustomFields` | Record | :heavy_minus_sign: | Custom Unified Fields configured in your StackOne project | {
"my_project_custom_field_1": "REF-1236",
"my_project_custom_field_2": "some other value"
} | -| `updatedAt` | *string* | :heavy_minus_sign: | The updated date of the completion | 2021-07-21T14:00:00.000Z | +| `updatedAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The updated date of the completion | 2021-07-21T14:00:00.000Z | | `userId` | *string* | :heavy_minus_sign: | The user ID associated with this completion | c28xyrc55866bvuv | \ No newline at end of file diff --git a/docs/sdk/models/shared/completionresult.md b/docs/sdk/models/shared/completionresult.md index 2a6c25c20..e3d6332f7 100644 --- a/docs/sdk/models/shared/completionresult.md +++ b/docs/sdk/models/shared/completionresult.md @@ -7,8 +7,8 @@ import { CompletionResult } from "@stackone/stackone-client-ts/sdk/models/shared let value: CompletionResult = { data: { - completedAt: "2021-07-21T14:00:00.000Z", - createdAt: "2021-07-21T14:00:00.000Z", + completedAt: new Date("2021-07-21T14:00:00.000Z"), + createdAt: new Date("2021-07-21T14:00:00.000Z"), id: "123456", learningObjectExternalReference: "learning-content-123", learningObjectId: "e3gd34-23tr21-er234-345er56", @@ -20,7 +20,7 @@ let value: CompletionResult = { "my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value", }, - updatedAt: "2021-07-21T14:00:00.000Z", + updatedAt: new Date("2021-07-21T14:00:00.000Z"), userId: "c28xyrc55866bvuv", }, }; diff --git a/docs/sdk/models/shared/completionspaginated.md b/docs/sdk/models/shared/completionspaginated.md index b477e89f1..8cb4d07e0 100644 --- a/docs/sdk/models/shared/completionspaginated.md +++ b/docs/sdk/models/shared/completionspaginated.md @@ -8,8 +8,8 @@ import { CompletionsPaginated } from "@stackone/stackone-client-ts/sdk/models/sh let value: CompletionsPaginated = { data: [ { - completedAt: "2021-07-21T14:00:00.000Z", - createdAt: "2021-07-21T14:00:00.000Z", + completedAt: new Date("2021-07-21T14:00:00.000Z"), + createdAt: new Date("2021-07-21T14:00:00.000Z"), id: "123456", learningObjectExternalReference: "learning-content-123", learningObjectId: "e3gd34-23tr21-er234-345er56", @@ -21,7 +21,7 @@ let value: CompletionsPaginated = { "my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value", }, - updatedAt: "2021-07-21T14:00:00.000Z", + updatedAt: new Date("2021-07-21T14:00:00.000Z"), userId: "c28xyrc55866bvuv", }, ], diff --git a/docs/sdk/models/shared/course.md b/docs/sdk/models/shared/course.md index cfce6090a..2ca1a84cd 100644 --- a/docs/sdk/models/shared/course.md +++ b/docs/sdk/models/shared/course.md @@ -24,7 +24,7 @@ let value: Course = { "16874-SOFTWARE-ENG-COURSE", ], coverUrl: "https://www.googledrive.com/?v=16873", - createdAt: "2021-07-21T14:00:00.000Z", + createdAt: new Date("2021-07-21T14:00:00.000Z"), description: "This course acts as learning content for software engineers.", duration: "P3Y6M4DT12H30M5S", externalReference: "SOFTWARE-ENG-LV1-TRAINING-VIDEO-1", @@ -51,7 +51,7 @@ let value: Course = { "my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value", }, - updatedAt: "2021-07-21T14:00:00.000Z", + updatedAt: new Date("2021-07-21T14:00:00.000Z"), url: "https://www.linkedinlearning.com/?v=16873", }; ``` @@ -65,7 +65,7 @@ let value: Course = { | `categories` | [shared.Category](../../../sdk/models/shared/category.md)[] | :heavy_minus_sign: | The categories associated with this course | [
{
"id": "12345",
"name": "Technology"
}
] | | `contentIds` | *string*[] | :heavy_minus_sign: | The child ID/IDs associated with this course | [
"16873-SOFTWARE-ENG-COURSE",
"16874-SOFTWARE-ENG-COURSE"
] | | `coverUrl` | *string* | :heavy_minus_sign: | The URL of the thumbnail image associated with the course. | https://www.googledrive.com/?v=16873 | -| `createdAt` | *string* | :heavy_minus_sign: | The date on which the course was created. | 2021-07-21T14:00:00.000Z | +| `createdAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The date on which the course was created. | 2021-07-21T14:00:00.000Z | | `description` | *string* | :heavy_minus_sign: | The description of the course | This course acts as learning content for software engineers. | | `duration` | *string* | :heavy_minus_sign: | The duration of the course following the ISO8601 standard. If duration_unit is applicable we will derive this from the smallest unit given in the duration string | P3Y6M4DT12H30M5S | | `externalReference` | *string* | :heavy_minus_sign: | The external ID associated with this course | SOFTWARE-ENG-LV1-TRAINING-VIDEO-1 | @@ -77,5 +77,5 @@ let value: Course = { | `skills` | [shared.Skills](../../../sdk/models/shared/skills.md)[] | :heavy_minus_sign: | The skills associated with this course | [
{
"id": "12345",
"name": "Sales Techniques"
}
] | | `title` | *string* | :heavy_minus_sign: | The title of the course | Software Engineer Lv 1 | | `unifiedCustomFields` | Record | :heavy_minus_sign: | Custom Unified Fields configured in your StackOne project | {
"my_project_custom_field_1": "REF-1236",
"my_project_custom_field_2": "some other value"
} | -| `updatedAt` | *string* | :heavy_minus_sign: | The date on which the course was last updated. | 2021-07-21T14:00:00.000Z | +| `updatedAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The date on which the course was last updated. | 2021-07-21T14:00:00.000Z | | `url` | *string* | :heavy_minus_sign: | The redirect URL of the course. | https://www.linkedinlearning.com/?v=16873 | \ No newline at end of file diff --git a/docs/sdk/models/shared/coursepaginated.md b/docs/sdk/models/shared/coursepaginated.md index 0698097cf..9c8a75207 100644 --- a/docs/sdk/models/shared/coursepaginated.md +++ b/docs/sdk/models/shared/coursepaginated.md @@ -26,7 +26,7 @@ let value: CoursePaginated = { "16874-SOFTWARE-ENG-COURSE", ], coverUrl: "https://www.googledrive.com/?v=16873", - createdAt: "2021-07-21T14:00:00.000Z", + createdAt: new Date("2021-07-21T14:00:00.000Z"), description: "This course acts as learning content for software engineers.", duration: "P3Y6M4DT12H30M5S", @@ -54,7 +54,7 @@ let value: CoursePaginated = { "my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value", }, - updatedAt: "2021-07-21T14:00:00.000Z", + updatedAt: new Date("2021-07-21T14:00:00.000Z"), url: "https://www.linkedinlearning.com/?v=16873", }, ], diff --git a/docs/sdk/models/shared/courseresult.md b/docs/sdk/models/shared/courseresult.md index 954655c71..b618be019 100644 --- a/docs/sdk/models/shared/courseresult.md +++ b/docs/sdk/models/shared/courseresult.md @@ -25,7 +25,7 @@ let value: CourseResult = { "16874-SOFTWARE-ENG-COURSE", ], coverUrl: "https://www.googledrive.com/?v=16873", - createdAt: "2021-07-21T14:00:00.000Z", + createdAt: new Date("2021-07-21T14:00:00.000Z"), description: "This course acts as learning content for software engineers.", duration: "P3Y6M4DT12H30M5S", externalReference: "SOFTWARE-ENG-LV1-TRAINING-VIDEO-1", @@ -52,7 +52,7 @@ let value: CourseResult = { "my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value", }, - updatedAt: "2021-07-21T14:00:00.000Z", + updatedAt: new Date("2021-07-21T14:00:00.000Z"), url: "https://www.linkedinlearning.com/?v=16873", }, }; diff --git a/docs/sdk/models/shared/employee.md b/docs/sdk/models/shared/employee.md index 6f79641f1..dc8d3fd97 100644 --- a/docs/sdk/models/shared/employee.md +++ b/docs/sdk/models/shared/employee.md @@ -361,7 +361,7 @@ let value: Employee = { | `avatar` | [shared.Avatar](../../../sdk/models/shared/avatar.md) | :heavy_minus_sign: | The employee avatar | https://example.com/avatar.png | | `avatarUrl` | *string* | :heavy_minus_sign: | The employee avatar Url | https://example.com/avatar.png | | `benefits` | [shared.HRISBenefit](../../../sdk/models/shared/hrisbenefit.md)[] | :heavy_minus_sign: | Current benefits of the employee | | -| `birthday` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The employee birthday | 2021-01-01T00:00:00Z | +| `birthday` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The next birthday of the employee (upcoming birthday) | 2021-01-01T00:00:00Z | | `citizenships` | [shared.CountryCodeEnum](../../../sdk/models/shared/countrycodeenum.md)[] | :heavy_minus_sign: | The citizenships of the Employee | | | `company` | [shared.EmployeeCompany](../../../sdk/models/shared/employeecompany.md) | :heavy_minus_sign: | The employee company | | | `companyId` | *string* | :heavy_minus_sign: | The employee company id | 1234567890 | @@ -369,7 +369,7 @@ let value: Employee = { | ~~`costCenters`~~ | [shared.CostCenters](../../../sdk/models/shared/costcenters.md)[] | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

The employee cost centers | | | `createdAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The created_at date | 2021-01-01T01:01:01.000Z | | `customFields` | [shared.CustomFields](../../../sdk/models/shared/customfields.md)[] | :heavy_minus_sign: | The employee custom fields | | -| `dateOfBirth` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The employee date_of_birth | 1990-01-01T00:00:00.000Z | +| `dateOfBirth` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The date when the employee was born | 1990-01-01T00:00:00.000Z | | ~~`department`~~ | *string* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

The employee department | Physics | | ~~`departmentId`~~ | *string* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

The employee department id | 3093 | | `displayName` | *string* | :heavy_minus_sign: | The employee display name | Sir Isaac Newton | diff --git a/docs/sdk/models/shared/hriscreateemployeerequestdto.md b/docs/sdk/models/shared/hriscreateemployeerequestdto.md index a48e05c56..496c378e7 100644 --- a/docs/sdk/models/shared/hriscreateemployeerequestdto.md +++ b/docs/sdk/models/shared/hriscreateemployeerequestdto.md @@ -163,13 +163,13 @@ let value: HrisCreateEmployeeRequestDto = { | `avatar` | [shared.HrisCreateEmployeeRequestDtoAvatar](../../../sdk/models/shared/hriscreateemployeerequestdtoavatar.md) | :heavy_minus_sign: | The employee avatar | https://example.com/avatar.png | | `avatarUrl` | *string* | :heavy_minus_sign: | The employee avatar Url | https://example.com/avatar.png | | `benefits` | [shared.CreateHRISBenefit](../../../sdk/models/shared/createhrisbenefit.md)[] | :heavy_minus_sign: | Current benefits of the employee | | -| `birthday` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The employee birthday | 2021-01-01T00:00:00Z | +| `birthday` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The next birthday of the employee (upcoming birthday) | 2021-01-01T00:00:00Z | | `citizenships` | [shared.CountryCodeEnum](../../../sdk/models/shared/countrycodeenum.md)[] | :heavy_minus_sign: | The citizenships of the Employee | | | `companyId` | *string* | :heavy_minus_sign: | The employee company id | 1234567890 | | ~~`companyName`~~ | *string* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

The employee company name | Example Corp | | `costCenters` | [shared.CreateCostCenterApiModel](../../../sdk/models/shared/createcostcenterapimodel.md)[] | :heavy_minus_sign: | The employee cost centers | | | `customFields` | [shared.CustomFields](../../../sdk/models/shared/customfields.md)[] | :heavy_minus_sign: | The employee custom fields | | -| `dateOfBirth` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The employee date_of_birth | 1990-01-01T00:00:00.000Z | +| `dateOfBirth` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The date when the employee was born | 1990-01-01T00:00:00.000Z | | `department` | *string* | :heavy_minus_sign: | The employee department | Physics | | `departmentId` | *string* | :heavy_minus_sign: | The employee department id | 3093 | | `displayName` | *string* | :heavy_minus_sign: | The employee display name | Sir Isaac Newton | diff --git a/docs/sdk/models/shared/hrisupdateemployeerequestdto.md b/docs/sdk/models/shared/hrisupdateemployeerequestdto.md index 26f6ed928..3537e5641 100644 --- a/docs/sdk/models/shared/hrisupdateemployeerequestdto.md +++ b/docs/sdk/models/shared/hrisupdateemployeerequestdto.md @@ -145,12 +145,12 @@ let value: HrisUpdateEmployeeRequestDto = { | `avatar` | [shared.HrisUpdateEmployeeRequestDtoAvatar](../../../sdk/models/shared/hrisupdateemployeerequestdtoavatar.md) | :heavy_minus_sign: | The employee avatar | https://example.com/avatar.png | | `avatarUrl` | *string* | :heavy_minus_sign: | The employee avatar Url | https://example.com/avatar.png | | `benefits` | [shared.CreateHRISBenefit](../../../sdk/models/shared/createhrisbenefit.md)[] | :heavy_minus_sign: | Current benefits of the employee | | -| `birthday` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The employee birthday | 2021-01-01T00:00:00Z | +| `birthday` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The next birthday of the employee (upcoming birthday) | 2021-01-01T00:00:00Z | | `citizenships` | [shared.CountryCodeEnum](../../../sdk/models/shared/countrycodeenum.md)[] | :heavy_minus_sign: | The citizenships of the Employee | | | `companyId` | *string* | :heavy_minus_sign: | The employee company id | 1234567890 | | ~~`companyName`~~ | *string* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

The employee company name | Example Corp | | `customFields` | [shared.CustomFields](../../../sdk/models/shared/customfields.md)[] | :heavy_minus_sign: | The employee custom fields | | -| `dateOfBirth` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The employee date_of_birth | 1990-01-01T00:00:00.000Z | +| `dateOfBirth` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The date when the employee was born | 1990-01-01T00:00:00.000Z | | `department` | *string* | :heavy_minus_sign: | The employee department | Physics | | `departmentId` | *string* | :heavy_minus_sign: | The employee department id | 3093 | | `displayName` | *string* | :heavy_minus_sign: | The employee display name | Sir Isaac Newton | diff --git a/docs/sdk/models/shared/lmscreateassignmentrequestdto.md b/docs/sdk/models/shared/lmscreateassignmentrequestdto.md index 380bbe120..d08ee8c35 100644 --- a/docs/sdk/models/shared/lmscreateassignmentrequestdto.md +++ b/docs/sdk/models/shared/lmscreateassignmentrequestdto.md @@ -6,8 +6,8 @@ import { LmsCreateAssignmentRequestDto } from "@stackone/stackone-client-ts/sdk/models/shared"; let value: LmsCreateAssignmentRequestDto = { - createdAt: "2021-07-21T14:00:00.000Z", - dueDate: "2021-07-21T14:00:00.000Z", + createdAt: new Date("2021-07-21T14:00:00.000Z"), + dueDate: new Date("2021-07-21T14:00:00.000Z"), learningObjectExternalReference: "learning-content-123", learningObjectId: "e3gd34-23tr21-er234-345er56", passthrough: { @@ -22,8 +22,8 @@ let value: LmsCreateAssignmentRequestDto = { | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `createdAt` | *string* | :heavy_minus_sign: | The date the assignment was created | 2021-07-21T14:00:00.000Z | -| `dueDate` | *string* | :heavy_minus_sign: | The date the assignment is due to be completed | 2021-07-21T14:00:00.000Z | +| `createdAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The date the assignment was created | 2021-07-21T14:00:00.000Z | +| `dueDate` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The date the assignment is due to be completed | 2021-07-21T14:00:00.000Z | | ~~`externalReference`~~ | *string* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

The external reference associated with this assignment | e3gd34-23tr21-er234-345er56 | | `learningObjectExternalReference` | *string* | :heavy_minus_sign: | The external reference of the learning object associated with this assignment, this is the main identifier for creating assignments. | learning-content-123 | | `learningObjectId` | *string* | :heavy_minus_sign: | The learning_object_id associated with this assignment. This is not required unless specified in an integration. | e3gd34-23tr21-er234-345er56 | diff --git a/docs/sdk/models/shared/lmscreatecompletionrequestdto.md b/docs/sdk/models/shared/lmscreatecompletionrequestdto.md index cfc8ae464..465da3aee 100644 --- a/docs/sdk/models/shared/lmscreatecompletionrequestdto.md +++ b/docs/sdk/models/shared/lmscreatecompletionrequestdto.md @@ -6,7 +6,7 @@ import { LmsCreateCompletionRequestDto } from "@stackone/stackone-client-ts/sdk/models/shared"; let value: LmsCreateCompletionRequestDto = { - completedAt: "2021-07-21T14:00:00.000Z", + completedAt: new Date("2021-07-21T14:00:00.000Z"), learningObjectExternalReference: "learning-content-123", learningObjectId: "e3gd34-23tr21-er234-345er56", passthrough: { @@ -20,7 +20,7 @@ let value: LmsCreateCompletionRequestDto = { | Field | Type | Required | Description | Example | | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `completedAt` | *string* | :heavy_minus_sign: | The date the content was completed | 2021-07-21T14:00:00.000Z | +| `completedAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The date the content was completed | 2021-07-21T14:00:00.000Z | | ~~`contentExternalReference`~~ | *string* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

The external reference associated with this content | SOFTWARE-ENG-LV1-TRAINING-VIDEO-1-CONTENT | | ~~`contentId`~~ | *string* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

The content ID associated with this completion | 16873-ENG-VIDEO-1 | | `learningObjectExternalReference` | *string* | :heavy_minus_sign: | The external reference of the learning object associated with this completion, this is the main identifier for creating completions. | learning-content-123 | diff --git a/docs/sdks/ats/README.md b/docs/sdks/ats/README.md index becab14a9..1e96fdfdb 100644 --- a/docs/sdks/ats/README.md +++ b/docs/sdks/ats/README.md @@ -1657,7 +1657,7 @@ async function run() { const result = await stackOne.ats.getApplicationCustomFieldDefinition({ fields: "id,remote_id,name,description,type,options", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, id: "", updatedAfter: "2020-01-01T00:00:00.000Z", @@ -1691,7 +1691,7 @@ async function run() { const res = await atsGetApplicationCustomFieldDefinition(stackOne, { fields: "id,remote_id,name,description,type,options", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, id: "", updatedAfter: "2020-01-01T00:00:00.000Z", @@ -2815,7 +2815,7 @@ async function run() { const result = await stackOne.ats.getCandidateCustomFieldDefinition({ fields: "id,remote_id,name,description,type,options", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, id: "", updatedAfter: "2020-01-01T00:00:00.000Z", @@ -2849,7 +2849,7 @@ async function run() { const res = await atsGetCandidateCustomFieldDefinition(stackOne, { fields: "id,remote_id,name,description,type,options", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, id: "", updatedAfter: "2020-01-01T00:00:00.000Z", @@ -3399,7 +3399,7 @@ async function run() { const result = await stackOne.ats.getJobCustomFieldDefinition({ fields: "id,remote_id,name,description,type,options", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, id: "", updatedAfter: "2020-01-01T00:00:00.000Z", @@ -3433,7 +3433,7 @@ async function run() { const res = await atsGetJobCustomFieldDefinition(stackOne, { fields: "id,remote_id,name,description,type,options", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, id: "", updatedAfter: "2020-01-01T00:00:00.000Z", @@ -4074,7 +4074,7 @@ async function run() { const result = await stackOne.ats.listApplicationChanges({ fields: "event_id,remote_event_id,created_at,effective_at,change_type,actor,new_values", filter: { - createdAfter: "2020-01-01T00:00:00.000Z", + createdAfter: new Date("2020-01-01T00:00:00.000Z"), }, id: "", xAccountId: "", @@ -4109,7 +4109,7 @@ async function run() { const res = await atsListApplicationChanges(stackOne, { fields: "event_id,remote_event_id,created_at,effective_at,change_type,actor,new_values", filter: { - createdAfter: "2020-01-01T00:00:00.000Z", + createdAfter: new Date("2020-01-01T00:00:00.000Z"), }, id: "", xAccountId: "", @@ -4179,7 +4179,7 @@ async function run() { const result = await stackOne.ats.listApplicationCustomFieldDefinitions({ fields: "id,remote_id,name,description,type,options", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", @@ -4214,7 +4214,7 @@ async function run() { const res = await atsListApplicationCustomFieldDefinitions(stackOne, { fields: "id,remote_id,name,description,type,options", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", @@ -4284,7 +4284,7 @@ async function run() { const result = await stackOne.ats.listApplicationDocumentCategories({ fields: "id,remote_id,name,active", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, xAccountId: "", }); @@ -4318,7 +4318,7 @@ async function run() { const res = await atsListApplicationDocumentCategories(stackOne, { fields: "id,remote_id,name,active", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, xAccountId: "", }); @@ -4387,7 +4387,7 @@ async function run() { const result = await stackOne.ats.listApplicationDocuments({ fields: "id,remote_id,name,path,type,category,category_id,remote_category_id,contents,created_at,updated_at,remote_url,file_format", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, id: "", updatedAfter: "2020-01-01T00:00:00.000Z", @@ -4423,7 +4423,7 @@ async function run() { const res = await atsListApplicationDocuments(stackOne, { fields: "id,remote_id,name,path,type,category,category_id,remote_category_id,contents,created_at,updated_at,remote_url,file_format", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, id: "", updatedAfter: "2020-01-01T00:00:00.000Z", @@ -4494,7 +4494,7 @@ async function run() { const result = await stackOne.ats.listApplicationNotes({ fields: "id,remote_id,content,author_id,remote_author_id,visibility,created_at,updated_at,deleted_at", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, id: "", updatedAfter: "2020-01-01T00:00:00.000Z", @@ -4530,7 +4530,7 @@ async function run() { const res = await atsListApplicationNotes(stackOne, { fields: "id,remote_id,content,author_id,remote_author_id,visibility,created_at,updated_at,deleted_at", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, id: "", updatedAfter: "2020-01-01T00:00:00.000Z", @@ -4601,7 +4601,7 @@ async function run() { const result = await stackOne.ats.listApplicationScorecards({ fields: "id,remote_id,sections,label,candidate_id,remote_candidate_id,application_id,remote_application_id,interview_id,remote_interview_id,author_id,remote_author_id,overall_recommendation,created_at,updated_at", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, id: "", updatedAfter: "2020-01-01T00:00:00.000Z", @@ -4637,7 +4637,7 @@ async function run() { const res = await atsListApplicationScorecards(stackOne, { fields: "id,remote_id,sections,label,candidate_id,remote_candidate_id,application_id,remote_application_id,interview_id,remote_interview_id,author_id,remote_author_id,overall_recommendation,created_at,updated_at", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, id: "", updatedAfter: "2020-01-01T00:00:00.000Z", @@ -4709,8 +4709,8 @@ async function run() { expand: "documents", fields: "id,remote_id,candidate_id,remote_candidate_id,job_id,remote_job_id,job_posting_id,remote_job_posting_id,interview_stage,interview_stage_id,remote_interview_stage_id,rejected_reason,rejected_reason_id,remote_rejected_reason_id,rejected_reason_ids,remote_rejected_reason_ids,rejected_reasons,rejected_at,location_id,remote_location_id,location_ids,remote_location_ids,status,application_status,questionnaires,attachments,result_links,source,created_at,updated_at,documents,custom_fields,candidate", filter: { - createdAfter: "2020-01-01T00:00:00.000Z", - updatedAfter: "2020-01-01T00:00:00.000Z", + createdAfter: new Date("2020-01-01T00:00:00.000Z"), + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, include: "attachments,custom_fields", jobId: "cxQiyiuasdFKfdsYfer", @@ -4748,8 +4748,8 @@ async function run() { expand: "documents", fields: "id,remote_id,candidate_id,remote_candidate_id,job_id,remote_job_id,job_posting_id,remote_job_posting_id,interview_stage,interview_stage_id,remote_interview_stage_id,rejected_reason,rejected_reason_id,remote_rejected_reason_id,rejected_reason_ids,remote_rejected_reason_ids,rejected_reasons,rejected_at,location_id,remote_location_id,location_ids,remote_location_ids,status,application_status,questionnaires,attachments,result_links,source,created_at,updated_at,documents,custom_fields,candidate", filter: { - createdAfter: "2020-01-01T00:00:00.000Z", - updatedAfter: "2020-01-01T00:00:00.000Z", + createdAfter: new Date("2020-01-01T00:00:00.000Z"), + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, include: "attachments,custom_fields", jobId: "cxQiyiuasdFKfdsYfer", @@ -4821,7 +4821,7 @@ async function run() { const result = await stackOne.ats.listApplicationsOffers({ fields: "id,remote_id,application_id,remote_application_id,start_date,status,offer_status,salary,currency,created_at,updated_at,offer_history", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, id: "", updatedAfter: "2020-01-01T00:00:00.000Z", @@ -4857,7 +4857,7 @@ async function run() { const res = await atsListApplicationsOffers(stackOne, { fields: "id,remote_id,application_id,remote_application_id,start_date,status,offer_status,salary,currency,created_at,updated_at,offer_history", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, id: "", updatedAfter: "2020-01-01T00:00:00.000Z", @@ -4928,7 +4928,7 @@ async function run() { const result = await stackOne.ats.listApplicationsScheduledInterviews({ fields: "id,remote_id,application_id,remote_application_id,interview_stage_id,remote_interview_stage_id,interview_stage,status,interview_status,interviewer_ids,remote_interviewer_ids,interview_parts,interviewers,start_at,end_at,meeting_url,created_at,updated_at", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, id: "", updatedAfter: "2020-01-01T00:00:00.000Z", @@ -4964,7 +4964,7 @@ async function run() { const res = await atsListApplicationsScheduledInterviews(stackOne, { fields: "id,remote_id,application_id,remote_application_id,interview_stage_id,remote_interview_stage_id,interview_stage,status,interview_status,interviewer_ids,remote_interviewer_ids,interview_parts,interviewers,start_at,end_at,meeting_url,created_at,updated_at", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, id: "", updatedAfter: "2020-01-01T00:00:00.000Z", @@ -5034,7 +5034,7 @@ const stackOne = new StackOne({ async function run() { const result = await stackOne.ats.listAssessmentsPackages({ filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", @@ -5068,7 +5068,7 @@ const stackOne = new StackOneCore({ async function run() { const res = await atsListAssessmentsPackages(stackOne, { filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", @@ -5138,7 +5138,7 @@ async function run() { const result = await stackOne.ats.listBackgroundCheckPackages({ fields: "id,remote_id,name,description,tests", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", @@ -5173,7 +5173,7 @@ async function run() { const res = await atsListBackgroundCheckPackages(stackOne, { fields: "id,remote_id,name,description,tests", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", @@ -5243,7 +5243,7 @@ async function run() { const result = await stackOne.ats.listCandidateCustomFieldDefinitions({ fields: "id,remote_id,name,description,type,options", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", @@ -5278,7 +5278,7 @@ async function run() { const res = await atsListCandidateCustomFieldDefinitions(stackOne, { fields: "id,remote_id,name,description,type,options", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", @@ -5348,7 +5348,7 @@ async function run() { const result = await stackOne.ats.listCandidateNotes({ fields: "id,remote_id,content,author_id,remote_author_id,visibility,created_at,updated_at,deleted_at", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, id: "", updatedAfter: "2020-01-01T00:00:00.000Z", @@ -5384,7 +5384,7 @@ async function run() { const res = await atsListCandidateNotes(stackOne, { fields: "id,remote_id,content,author_id,remote_author_id,visibility,created_at,updated_at,deleted_at", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, id: "", updatedAfter: "2020-01-01T00:00:00.000Z", @@ -5455,8 +5455,8 @@ async function run() { const result = await stackOne.ats.listCandidates({ fields: "id,remote_id,name,first_name,last_name,email,emails,social_links,phone,phone_numbers,company,country,title,application_ids,remote_application_ids,hired_at,custom_fields,created_at,updated_at", filter: { - createdAfter: "2020-01-01T00:00:00.000Z", - updatedAfter: "2020-01-01T00:00:00.000Z", + createdAfter: new Date("2020-01-01T00:00:00.000Z"), + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, include: "custom_fields", updatedAfter: "2020-01-01T00:00:00.000Z", @@ -5492,8 +5492,8 @@ async function run() { const res = await atsListCandidates(stackOne, { fields: "id,remote_id,name,first_name,last_name,email,emails,social_links,phone,phone_numbers,company,country,title,application_ids,remote_application_ids,hired_at,custom_fields,created_at,updated_at", filter: { - createdAfter: "2020-01-01T00:00:00.000Z", - updatedAfter: "2020-01-01T00:00:00.000Z", + createdAfter: new Date("2020-01-01T00:00:00.000Z"), + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, include: "custom_fields", updatedAfter: "2020-01-01T00:00:00.000Z", @@ -5564,7 +5564,7 @@ async function run() { const result = await stackOne.ats.listDepartments({ fields: "id,remote_id,name", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", @@ -5599,7 +5599,7 @@ async function run() { const res = await atsListDepartments(stackOne, { fields: "id,remote_id,name", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", @@ -5669,7 +5669,7 @@ async function run() { const result = await stackOne.ats.listInterviewStages({ fields: "id,remote_id,name,order,created_at,updated_at", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", @@ -5704,7 +5704,7 @@ async function run() { const res = await atsListInterviewStages(stackOne, { fields: "id,remote_id,name,order,created_at,updated_at", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", @@ -5774,8 +5774,8 @@ async function run() { const result = await stackOne.ats.listInterviews({ fields: "id,remote_id,application_id,remote_application_id,interview_stage_id,remote_interview_stage_id,interview_stage,status,interview_status,interviewer_ids,remote_interviewer_ids,interview_parts,interviewers,start_at,end_at,meeting_url,created_at,updated_at", filter: { - createdAfter: "2020-01-01T00:00:00.000Z", - updatedAfter: "2020-01-01T00:00:00.000Z", + createdAfter: new Date("2020-01-01T00:00:00.000Z"), + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", @@ -5810,8 +5810,8 @@ async function run() { const res = await atsListInterviews(stackOne, { fields: "id,remote_id,application_id,remote_application_id,interview_stage_id,remote_interview_stage_id,interview_stage,status,interview_status,interviewer_ids,remote_interviewer_ids,interview_parts,interviewers,start_at,end_at,meeting_url,created_at,updated_at", filter: { - createdAfter: "2020-01-01T00:00:00.000Z", - updatedAfter: "2020-01-01T00:00:00.000Z", + createdAfter: new Date("2020-01-01T00:00:00.000Z"), + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", @@ -5881,7 +5881,7 @@ async function run() { const result = await stackOne.ats.listJobCustomFieldDefinitions({ fields: "id,remote_id,name,description,type,options", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", @@ -5916,7 +5916,7 @@ async function run() { const res = await atsListJobCustomFieldDefinitions(stackOne, { fields: "id,remote_id,name,description,type,options", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", @@ -5986,8 +5986,8 @@ async function run() { const result = await stackOne.ats.listJobPostings({ fields: "id,remote_id,title,locations,internal,status,job_id,remote_job_id,content,compensation,employment_type,employment_contract_type,external_url,external_apply_url,questionnaires,start_date,updated_at,created_at", filter: { - createdAfter: "2020-01-01T00:00:00.000Z", - updatedAfter: "2020-01-01T00:00:00.000Z", + createdAfter: new Date("2020-01-01T00:00:00.000Z"), + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, include: "questionnaires", updatedAfter: "2020-01-01T00:00:00.000Z", @@ -6023,8 +6023,8 @@ async function run() { const res = await atsListJobPostings(stackOne, { fields: "id,remote_id,title,locations,internal,status,job_id,remote_job_id,content,compensation,employment_type,employment_contract_type,external_url,external_apply_url,questionnaires,start_date,updated_at,created_at", filter: { - createdAfter: "2020-01-01T00:00:00.000Z", - updatedAfter: "2020-01-01T00:00:00.000Z", + createdAfter: new Date("2020-01-01T00:00:00.000Z"), + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, include: "questionnaires", updatedAfter: "2020-01-01T00:00:00.000Z", @@ -6096,8 +6096,8 @@ async function run() { expand: "job_postings,interview_stages", fields: "id,remote_id,code,title,description,status,job_status,department_ids,remote_department_ids,location_ids,remote_location_ids,hiring_team,interview_stages,confidential,custom_fields,created_at,updated_at", filter: { - createdAfter: "2020-01-01T00:00:00.000Z", - updatedAfter: "2020-01-01T00:00:00.000Z", + createdAfter: new Date("2020-01-01T00:00:00.000Z"), + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, include: "custom_fields", updatedAfter: "2020-01-01T00:00:00.000Z", @@ -6134,8 +6134,8 @@ async function run() { expand: "job_postings,interview_stages", fields: "id,remote_id,code,title,description,status,job_status,department_ids,remote_department_ids,location_ids,remote_location_ids,hiring_team,interview_stages,confidential,custom_fields,created_at,updated_at", filter: { - createdAfter: "2020-01-01T00:00:00.000Z", - updatedAfter: "2020-01-01T00:00:00.000Z", + createdAfter: new Date("2020-01-01T00:00:00.000Z"), + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, include: "custom_fields", updatedAfter: "2020-01-01T00:00:00.000Z", @@ -6206,7 +6206,7 @@ async function run() { const result = await stackOne.ats.listLists({ fields: "id,remote_id,name,created_at,updated_at,items,type", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", @@ -6241,7 +6241,7 @@ async function run() { const res = await atsListLists(stackOne, { fields: "id,remote_id,name,created_at,updated_at,items,type", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", @@ -6311,7 +6311,7 @@ async function run() { const result = await stackOne.ats.listLocations({ fields: "id,remote_id,name", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", @@ -6346,7 +6346,7 @@ async function run() { const res = await atsListLocations(stackOne, { fields: "id,remote_id,name", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", @@ -6416,7 +6416,7 @@ async function run() { const result = await stackOne.ats.listOffers({ fields: "id,remote_id,application_id,remote_application_id,start_date,status,offer_status,salary,currency,created_at,updated_at,offer_history", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", @@ -6451,7 +6451,7 @@ async function run() { const res = await atsListOffers(stackOne, { fields: "id,remote_id,application_id,remote_application_id,start_date,status,offer_status,salary,currency,created_at,updated_at,offer_history", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", @@ -6521,7 +6521,7 @@ async function run() { const result = await stackOne.ats.listRejectedReasons({ fields: "id,remote_id,label,type,rejected_reason_type", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", @@ -6556,7 +6556,7 @@ async function run() { const res = await atsListRejectedReasons(stackOne, { fields: "id,remote_id,label,type,rejected_reason_type", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", @@ -6626,7 +6626,7 @@ async function run() { const result = await stackOne.ats.listUsers({ fields: "id,remote_id,first_name,last_name,name,email,phone", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", @@ -6661,7 +6661,7 @@ async function run() { const res = await atsListUsers(stackOne, { fields: "id,remote_id,first_name,last_name,name,email,phone", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", diff --git a/docs/sdks/crm/README.md b/docs/sdks/crm/README.md index 6a5745f71..23e0dfaa7 100644 --- a/docs/sdks/crm/README.md +++ b/docs/sdks/crm/README.md @@ -400,7 +400,7 @@ async function run() { const result = await stackOne.crm.getContactCustomFieldDefinition({ fields: "id,remote_id,name,description,type,options", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, id: "", updatedAfter: "2020-01-01T00:00:00.000Z", @@ -434,7 +434,7 @@ async function run() { const res = await crmGetContactCustomFieldDefinition(stackOne, { fields: "id,remote_id,name,description,type,options", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, id: "", updatedAfter: "2020-01-01T00:00:00.000Z", @@ -598,7 +598,7 @@ async function run() { const result = await stackOne.crm.listAccounts({ fields: "id,remote_id,owner_id,remote_owner_id,name,description,industries,annual_revenue,website,addresses,phone_numbers,created_at,updated_at", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", @@ -633,7 +633,7 @@ async function run() { const res = await crmListAccounts(stackOne, { fields: "id,remote_id,owner_id,remote_owner_id,name,description,industries,annual_revenue,website,addresses,phone_numbers,created_at,updated_at", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", @@ -703,7 +703,7 @@ async function run() { const result = await stackOne.crm.listContactCustomFieldDefinitions({ fields: "id,remote_id,name,description,type,options", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", @@ -738,7 +738,7 @@ async function run() { const res = await crmListContactCustomFieldDefinitions(stackOne, { fields: "id,remote_id,name,description,type,options", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", @@ -808,7 +808,7 @@ async function run() { const result = await stackOne.crm.listContacts({ fields: "id,remote_id,first_name,last_name,company_name,emails,phone_numbers,deal_ids,remote_deal_ids,account_ids,remote_account_ids,custom_fields,created_at,updated_at", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, include: "custom_fields", updatedAfter: "2020-01-01T00:00:00.000Z", @@ -844,7 +844,7 @@ async function run() { const res = await crmListContacts(stackOne, { fields: "id,remote_id,first_name,last_name,company_name,emails,phone_numbers,deal_ids,remote_deal_ids,account_ids,remote_account_ids,custom_fields,created_at,updated_at", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, include: "custom_fields", updatedAfter: "2020-01-01T00:00:00.000Z", @@ -915,7 +915,7 @@ async function run() { const result = await stackOne.crm.listLists({ fields: "id,remote_id,name,created_at,updated_at,items,type", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", @@ -950,7 +950,7 @@ async function run() { const res = await crmListLists(stackOne, { fields: "id,remote_id,name,created_at,updated_at,items,type", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", diff --git a/docs/sdks/documents/README.md b/docs/sdks/documents/README.md index 9559129f1..0bd9cdf9a 100644 --- a/docs/sdks/documents/README.md +++ b/docs/sdks/documents/README.md @@ -421,7 +421,7 @@ async function run() { const result = await stackOne.documents.listDrives({ fields: "id,remote_id,name,description,url,created_at,updated_at", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", @@ -456,7 +456,7 @@ async function run() { const res = await documentsListDrives(stackOne, { fields: "id,remote_id,name,description,url,created_at,updated_at", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", @@ -527,11 +527,11 @@ async function run() { fields: "id,remote_id,name,description,url,size,file_format,path,owner_id,remote_owner_id,folder_id,remote_folder_id,drive_id,remote_drive_id,export_formats,default_download_format,created_at,updated_at,has_content,has_children,all_parent_folder_ids,remote_all_parent_folder_ids", filter: { content: "FAQ of the project", - createdAfter: "2020-01-01T00:00:00.000Z", + createdAfter: new Date("2020-01-01T00:00:00.000Z"), driveId: "1234567890", folderId: "1234567890", name: "john_doe_resume.pdf", - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, folderId: "1234567890", include: "all_parent_folder_ids", @@ -570,11 +570,11 @@ async function run() { fields: "id,remote_id,name,description,url,size,file_format,path,owner_id,remote_owner_id,folder_id,remote_folder_id,drive_id,remote_drive_id,export_formats,default_download_format,created_at,updated_at,has_content,has_children,all_parent_folder_ids,remote_all_parent_folder_ids", filter: { content: "FAQ of the project", - createdAfter: "2020-01-01T00:00:00.000Z", + createdAfter: new Date("2020-01-01T00:00:00.000Z"), driveId: "1234567890", folderId: "1234567890", name: "john_doe_resume.pdf", - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, folderId: "1234567890", include: "all_parent_folder_ids", @@ -649,7 +649,7 @@ async function run() { filter: { driveId: "1234567890", folderId: "1234567890", - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, folderId: "1234567890", include: "all_parent_folder_ids", @@ -689,7 +689,7 @@ async function run() { filter: { driveId: "1234567890", folderId: "1234567890", - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, folderId: "1234567890", include: "all_parent_folder_ids", diff --git a/docs/sdks/hris/README.md b/docs/sdks/hris/README.md index 48eccd08f..6e2a60108 100644 --- a/docs/sdks/hris/README.md +++ b/docs/sdks/hris/README.md @@ -2207,7 +2207,7 @@ async function run() { const result = await stackOne.hris.getEmployeeCustomFieldDefinition({ fields: "id,remote_id,name,description,type,options", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, id: "", updatedAfter: "2020-01-01T00:00:00.000Z", @@ -2241,7 +2241,7 @@ async function run() { const res = await hrisGetEmployeeCustomFieldDefinition(stackOne, { fields: "id,remote_id,name,description,type,options", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, id: "", updatedAfter: "2020-01-01T00:00:00.000Z", @@ -4339,7 +4339,7 @@ async function run() { const result = await stackOne.hris.listBenefits({ fields: "id,remote_id,name,benefit_type,provider,description,created_at,updated_at", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", @@ -4374,7 +4374,7 @@ async function run() { const res = await hrisListBenefits(stackOne, { fields: "id,remote_id,name,benefit_type,provider,description,created_at,updated_at", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", @@ -4444,7 +4444,7 @@ async function run() { const result = await stackOne.hris.listCompanies({ fields: "id,remote_id,name,full_name,display_name,created_at,updated_at", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", @@ -4479,7 +4479,7 @@ async function run() { const res = await hrisListCompanies(stackOne, { fields: "id,remote_id,name,full_name,display_name,created_at,updated_at", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", @@ -4549,7 +4549,7 @@ async function run() { const result = await stackOne.hris.listCompaniesGroups({ fields: "id,remote_id,name,full_name,display_name,created_at,updated_at", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, xAccountId: "", }); @@ -4583,7 +4583,7 @@ async function run() { const res = await hrisListCompaniesGroups(stackOne, { fields: "id,remote_id,name,full_name,display_name,created_at,updated_at", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, xAccountId: "", }); @@ -4652,7 +4652,7 @@ async function run() { const result = await stackOne.hris.listCostCenterGroups({ fields: "id,remote_id,name,type,distribution_percentage,parent_ids,remote_parent_ids,owner_ids,remote_owner_ids,company_id,remote_company_id", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", @@ -4687,7 +4687,7 @@ async function run() { const res = await hrisListCostCenterGroups(stackOne, { fields: "id,remote_id,name,type,distribution_percentage,parent_ids,remote_parent_ids,owner_ids,remote_owner_ids,company_id,remote_company_id", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", @@ -4757,7 +4757,7 @@ async function run() { const result = await stackOne.hris.listDepartmentGroups({ fields: "id,remote_id,name,type,parent_ids,remote_parent_ids,owner_ids,remote_owner_ids,company_id,remote_company_id", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", @@ -4792,7 +4792,7 @@ async function run() { const res = await hrisListDepartmentGroups(stackOne, { fields: "id,remote_id,name,type,parent_ids,remote_parent_ids,owner_ids,remote_owner_ids,company_id,remote_company_id", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", @@ -4862,7 +4862,7 @@ async function run() { const result = await stackOne.hris.listDivisionGroups({ fields: "id,remote_id,name,type,parent_ids,remote_parent_ids,owner_ids,remote_owner_ids,company_id,remote_company_id", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, xAccountId: "", }); @@ -4896,7 +4896,7 @@ async function run() { const res = await hrisListDivisionGroups(stackOne, { fields: "id,remote_id,name,type,parent_ids,remote_parent_ids,owner_ids,remote_owner_ids,company_id,remote_company_id", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, xAccountId: "", }); @@ -4965,7 +4965,7 @@ async function run() { const result = await stackOne.hris.listEmployeeCategories({ fields: "id,remote_id,name,active", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", @@ -5000,7 +5000,7 @@ async function run() { const res = await hrisListEmployeeCategories(stackOne, { fields: "id,remote_id,name,active", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", @@ -5070,7 +5070,7 @@ async function run() { const result = await stackOne.hris.listEmployeeCustomFieldDefinitions({ fields: "id,remote_id,name,description,type,options", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", @@ -5105,7 +5105,7 @@ async function run() { const res = await hrisListEmployeeCustomFieldDefinitions(stackOne, { fields: "id,remote_id,name,description,type,options", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", @@ -5175,7 +5175,7 @@ async function run() { const result = await stackOne.hris.listEmployeeDocuments({ fields: "id,remote_id,name,path,type,category,category_id,remote_category_id,contents,created_at,updated_at,remote_url,file_format", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, id: "", updatedAfter: "2020-01-01T00:00:00.000Z", @@ -5211,7 +5211,7 @@ async function run() { const res = await hrisListEmployeeDocuments(stackOne, { fields: "id,remote_id,name,path,type,category,category_id,remote_category_id,contents,created_at,updated_at,remote_url,file_format", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, id: "", updatedAfter: "2020-01-01T00:00:00.000Z", @@ -5283,7 +5283,7 @@ async function run() { expand: "groups", fields: "id,remote_id,employee_id,remote_employee_id,job_title,pay_rate,pay_period,pay_frequency,pay_currency,effective_date,end_date,employment_type,employment_contract_type,change_reason,grade,work_time,payroll_code,fte,created_at,updated_at,start_date,active,department,team,cost_center,cost_centers,division,job,type,contract_type,manager", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, id: "", updatedAfter: "2020-01-01T00:00:00.000Z", @@ -5320,7 +5320,7 @@ async function run() { expand: "groups", fields: "id,remote_id,employee_id,remote_employee_id,job_title,pay_rate,pay_period,pay_frequency,pay_currency,effective_date,end_date,employment_type,employment_contract_type,change_reason,grade,work_time,payroll_code,fte,created_at,updated_at,start_date,active,department,team,cost_center,cost_centers,division,job,type,contract_type,manager", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, id: "", updatedAfter: "2020-01-01T00:00:00.000Z", @@ -5391,7 +5391,7 @@ async function run() { const result = await stackOne.hris.listEmployeeSkills({ fields: "id,remote_id,name,active,language,maximum_proficiency,minimum_proficiency", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, id: "", updatedAfter: "2020-01-01T00:00:00.000Z", @@ -5427,7 +5427,7 @@ async function run() { const res = await hrisListEmployeeSkills(stackOne, { fields: "id,remote_id,name,active,language,maximum_proficiency,minimum_proficiency", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, id: "", updatedAfter: "2020-01-01T00:00:00.000Z", @@ -5499,7 +5499,7 @@ async function run() { expand: "attachments", fields: "id,remote_id,employee_id,remote_employee_id,name,description,type,status,due_date,completion_date,assigned_by_employee_id,remote_assigned_by_employee_id,assigned_by_employee_name,link_to_task,extracted_links,next_task_id,remote_next_task_id,parent_process_name,comments,attachments,created_at,updated_at", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, id: "", updatedAfter: "2020-01-01T00:00:00.000Z", @@ -5536,7 +5536,7 @@ async function run() { expand: "attachments", fields: "id,remote_id,employee_id,remote_employee_id,name,description,type,status,due_date,completion_date,assigned_by_employee_id,remote_assigned_by_employee_id,assigned_by_employee_name,link_to_task,extracted_links,next_task_id,remote_next_task_id,parent_process_name,comments,attachments,created_at,updated_at", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, id: "", updatedAfter: "2020-01-01T00:00:00.000Z", @@ -5608,7 +5608,7 @@ async function run() { expand: "policy", fields: "id,remote_id,employee_id,remote_employee_id,policy_id,remote_policy_id,policy,current_balance,initial_balance,balance_unit,balance_start_date,balance_expiry_date,updated_at", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, id: "", updatedAfter: "2020-01-01T00:00:00.000Z", @@ -5645,7 +5645,7 @@ async function run() { expand: "policy", fields: "id,remote_id,employee_id,remote_employee_id,policy_id,remote_policy_id,policy,current_balance,initial_balance,balance_unit,balance_start_date,balance_expiry_date,updated_at", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, id: "", updatedAfter: "2020-01-01T00:00:00.000Z", @@ -5716,7 +5716,7 @@ async function run() { const result = await stackOne.hris.listEmployeeTimeOffPolicies({ fields: "id,remote_id,name,description,type,duration_unit,reasons,updated_at,created_at", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, id: "", updatedAfter: "2020-01-01T00:00:00.000Z", @@ -5752,7 +5752,7 @@ async function run() { const res = await hrisListEmployeeTimeOffPolicies(stackOne, { fields: "id,remote_id,name,description,type,duration_unit,reasons,updated_at,created_at", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, id: "", updatedAfter: "2020-01-01T00:00:00.000Z", @@ -5824,7 +5824,7 @@ async function run() { expand: "policy", fields: "id,remote_id,employee_id,remote_employee_id,approver_id,remote_approver_id,status,type,start_date,end_date,start_half_day,end_half_day,time_off_policy_id,remote_time_off_policy_id,reason,comment,duration,created_at,updated_at,policy", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, id: "", updatedAfter: "2020-01-01T00:00:00.000Z", @@ -5861,7 +5861,7 @@ async function run() { expand: "policy", fields: "id,remote_id,employee_id,remote_employee_id,approver_id,remote_approver_id,status,type,start_date,end_date,start_half_day,end_half_day,time_off_policy_id,remote_time_off_policy_id,reason,comment,duration,created_at,updated_at,policy", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, id: "", updatedAfter: "2020-01-01T00:00:00.000Z", @@ -5932,7 +5932,7 @@ async function run() { const result = await stackOne.hris.listEmployeeWorkEligibility({ fields: "id,remote_id,type,sub_type,document,valid_from,valid_to,issued_by,number", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, id: "", updatedAfter: "2020-01-01T00:00:00.000Z", @@ -5968,7 +5968,7 @@ async function run() { const res = await hrisListEmployeeWorkEligibility(stackOne, { fields: "id,remote_id,type,sub_type,document,valid_from,valid_to,issued_by,number", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, id: "", updatedAfter: "2020-01-01T00:00:00.000Z", @@ -6040,7 +6040,7 @@ async function run() { expand: "company,employments,work_location,home_location,groups,skills", fields: "id,remote_id,first_name,last_name,name,display_name,gender,ethnicity,date_of_birth,birthday,marital_status,avatar_url,avatar,personal_email,personal_phone_number,work_email,work_phone_number,job_id,remote_job_id,job_title,job_description,department_id,remote_department_id,department,cost_centers,company,manager_id,remote_manager_id,hire_date,start_date,tenure,work_anniversary,employment_type,employment_contract_type,employment_status,termination_date,company_name,company_id,remote_company_id,preferred_language,citizenships,home_location,work_location,employments,custom_fields,documents,created_at,updated_at,benefits,employee_number,national_identity_number,national_identity_numbers,skills", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, include: "avatar_url,avatar,custom_fields,job_description,benefits", updatedAfter: "2020-01-01T00:00:00.000Z", @@ -6077,7 +6077,7 @@ async function run() { expand: "company,employments,work_location,home_location,groups,skills", fields: "id,remote_id,first_name,last_name,name,display_name,gender,ethnicity,date_of_birth,birthday,marital_status,avatar_url,avatar,personal_email,personal_phone_number,work_email,work_phone_number,job_id,remote_job_id,job_title,job_description,department_id,remote_department_id,department,cost_centers,company,manager_id,remote_manager_id,hire_date,start_date,tenure,work_anniversary,employment_type,employment_contract_type,employment_status,termination_date,company_name,company_id,remote_company_id,preferred_language,citizenships,home_location,work_location,employments,custom_fields,documents,created_at,updated_at,benefits,employee_number,national_identity_number,national_identity_numbers,skills", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, include: "avatar_url,avatar,custom_fields,job_description,benefits", updatedAfter: "2020-01-01T00:00:00.000Z", @@ -6149,7 +6149,7 @@ async function run() { expand: "groups", fields: "id,remote_id,employee_id,remote_employee_id,job_title,pay_rate,pay_period,pay_frequency,pay_currency,effective_date,end_date,employment_type,employment_contract_type,change_reason,grade,work_time,payroll_code,fte,created_at,updated_at,start_date,active,department,team,cost_center,cost_centers,division,job,type,contract_type,manager", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", @@ -6185,7 +6185,7 @@ async function run() { expand: "groups", fields: "id,remote_id,employee_id,remote_employee_id,job_title,pay_rate,pay_period,pay_frequency,pay_currency,effective_date,end_date,employment_type,employment_contract_type,change_reason,grade,work_time,payroll_code,fte,created_at,updated_at,start_date,active,department,team,cost_center,cost_centers,division,job,type,contract_type,manager", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", @@ -6255,7 +6255,7 @@ async function run() { const result = await stackOne.hris.listGroups({ fields: "id,remote_id,name,type,parent_ids,remote_parent_ids,owner_ids,remote_owner_ids,company_id,remote_company_id", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", @@ -6290,7 +6290,7 @@ async function run() { const res = await hrisListGroups(stackOne, { fields: "id,remote_id,name,type,parent_ids,remote_parent_ids,owner_ids,remote_owner_ids,company_id,remote_company_id", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", @@ -6360,7 +6360,7 @@ async function run() { const result = await stackOne.hris.listJobs({ fields: "id,remote_id,name,type,parent_ids,remote_parent_ids,owner_ids,remote_owner_ids,company_id,remote_company_id", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", @@ -6395,7 +6395,7 @@ async function run() { const res = await hrisListJobs(stackOne, { fields: "id,remote_id,name,type,parent_ids,remote_parent_ids,owner_ids,remote_owner_ids,company_id,remote_company_id", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", @@ -6465,7 +6465,7 @@ async function run() { const result = await stackOne.hris.listLocations({ fields: "id,remote_id,employee_id,remote_employee_id,name,phone_number,street_1,street_2,city,state,zip_code,country,location_type,created_at,updated_at", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", @@ -6500,7 +6500,7 @@ async function run() { const res = await hrisListLocations(stackOne, { fields: "id,remote_id,employee_id,remote_employee_id,name,phone_number,street_1,street_2,city,state,zip_code,country,location_type,created_at,updated_at", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", @@ -6570,7 +6570,7 @@ const stackOne = new StackOne({ async function run() { const result = await stackOne.hris.listPositions({ filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, status: QueryParamStatus.Open, xAccountId: "", @@ -6605,7 +6605,7 @@ const stackOne = new StackOneCore({ async function run() { const res = await hrisListPositions(stackOne, { filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, status: QueryParamStatus.Open, xAccountId: "", @@ -6674,7 +6674,7 @@ const stackOne = new StackOne({ async function run() { const result = await stackOne.hris.listShifts({ filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, xAccountId: "", }); @@ -6707,7 +6707,7 @@ const stackOne = new StackOneCore({ async function run() { const res = await hrisListShifts(stackOne, { filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, xAccountId: "", }); @@ -6777,7 +6777,7 @@ async function run() { expand: "attachments", fields: "id,remote_id,employee_id,remote_employee_id,name,description,type,status,due_date,completion_date,assigned_by_employee_id,remote_assigned_by_employee_id,assigned_by_employee_name,link_to_task,extracted_links,next_task_id,remote_next_task_id,parent_process_name,comments,attachments,created_at,updated_at", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, xAccountId: "", }); @@ -6812,7 +6812,7 @@ async function run() { expand: "attachments", fields: "id,remote_id,employee_id,remote_employee_id,name,description,type,status,due_date,completion_date,assigned_by_employee_id,remote_assigned_by_employee_id,assigned_by_employee_name,link_to_task,extracted_links,next_task_id,remote_next_task_id,parent_process_name,comments,attachments,created_at,updated_at", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, xAccountId: "", }); @@ -6881,7 +6881,7 @@ async function run() { const result = await stackOne.hris.listTeamGroups({ fields: "id,remote_id,name,type,parent_ids,remote_parent_ids,owner_ids,remote_owner_ids", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", @@ -6916,7 +6916,7 @@ async function run() { const res = await hrisListTeamGroups(stackOne, { fields: "id,remote_id,name,type,parent_ids,remote_parent_ids,owner_ids,remote_owner_ids", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", @@ -6988,7 +6988,7 @@ async function run() { filter: { endTime: "2020-01-01T00:00:00.000Z", startTime: "2020-01-01T00:00:00.000Z", - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", @@ -7025,7 +7025,7 @@ async function run() { filter: { endTime: "2020-01-01T00:00:00.000Z", startTime: "2020-01-01T00:00:00.000Z", - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", @@ -7095,7 +7095,7 @@ async function run() { const result = await stackOne.hris.listTimeOffPolicies({ fields: "id,remote_id,name,description,type,duration_unit,reasons,updated_at,created_at", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", @@ -7130,7 +7130,7 @@ async function run() { const res = await hrisListTimeOffPolicies(stackOne, { fields: "id,remote_id,name,description,type,duration_unit,reasons,updated_at,created_at", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", @@ -7201,7 +7201,7 @@ async function run() { expand: "policy", fields: "id,remote_id,employee_id,remote_employee_id,approver_id,remote_approver_id,status,type,start_date,end_date,start_half_day,end_half_day,time_off_policy_id,remote_time_off_policy_id,reason,comment,duration,created_at,updated_at,policy", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", @@ -7237,7 +7237,7 @@ async function run() { expand: "policy", fields: "id,remote_id,employee_id,remote_employee_id,approver_id,remote_approver_id,status,type,start_date,end_date,start_half_day,end_half_day,time_off_policy_id,remote_time_off_policy_id,reason,comment,duration,created_at,updated_at,policy", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", @@ -7309,7 +7309,7 @@ async function run() { const result = await stackOne.hris.listTimeOffTypes({ fields: "id,remote_id,name,active", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", @@ -7344,7 +7344,7 @@ async function run() { const res = await hrisListTimeOffTypes(stackOne, { fields: "id,remote_id,name,active", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", diff --git a/docs/sdks/iam/README.md b/docs/sdks/iam/README.md index dcbde5d03..5ed6906c2 100644 --- a/docs/sdks/iam/README.md +++ b/docs/sdks/iam/README.md @@ -519,7 +519,7 @@ async function run() { expand: "roles", fields: "id,remote_id,parent_id,remote_parent_id,name,description,roles,type,created_at,updated_at", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", @@ -555,7 +555,7 @@ async function run() { expand: "roles", fields: "id,remote_id,parent_id,remote_parent_id,name,description,roles,type,created_at,updated_at", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", @@ -626,7 +626,7 @@ async function run() { expand: "permissions", fields: "id,remote_id,name,permissions,description,created_at,updated_at", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", @@ -662,7 +662,7 @@ async function run() { expand: "permissions", fields: "id,remote_id,name,permissions,description,created_at,updated_at", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", @@ -733,7 +733,7 @@ async function run() { expand: "policies", fields: "id,remote_id,name,type,policies,description,created_at,updated_at", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", @@ -769,7 +769,7 @@ async function run() { expand: "policies", fields: "id,remote_id,name,type,policies,description,created_at,updated_at", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", @@ -840,7 +840,7 @@ async function run() { expand: "roles,groups", fields: "id,remote_id,first_name,last_name,name,primary_email_address,username,roles,groups,status,avatar,is_bot_user,last_active_at,last_login_at,created_at,updated_at,multi_factor_enabled", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", @@ -876,7 +876,7 @@ async function run() { expand: "roles,groups", fields: "id,remote_id,first_name,last_name,name,primary_email_address,username,roles,groups,status,avatar,is_bot_user,last_active_at,last_login_at,created_at,updated_at,multi_factor_enabled", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", diff --git a/docs/sdks/lms/README.md b/docs/sdks/lms/README.md index f922b765c..e97a3022b 100644 --- a/docs/sdks/lms/README.md +++ b/docs/sdks/lms/README.md @@ -502,8 +502,8 @@ const stackOne = new StackOne({ async function run() { const result = await stackOne.lms.createUserAssignment({ lmsCreateAssignmentRequestDto: { - createdAt: "2021-07-21T14:00:00.000Z", - dueDate: "2021-07-21T14:00:00.000Z", + createdAt: new Date("2021-07-21T14:00:00.000Z"), + dueDate: new Date("2021-07-21T14:00:00.000Z"), learningObjectExternalReference: "learning-content-123", learningObjectId: "e3gd34-23tr21-er234-345er56", passthrough: { @@ -545,8 +545,8 @@ const stackOne = new StackOneCore({ async function run() { const res = await lmsCreateUserAssignment(stackOne, { lmsCreateAssignmentRequestDto: { - createdAt: "2021-07-21T14:00:00.000Z", - dueDate: "2021-07-21T14:00:00.000Z", + createdAt: new Date("2021-07-21T14:00:00.000Z"), + dueDate: new Date("2021-07-21T14:00:00.000Z"), learningObjectExternalReference: "learning-content-123", learningObjectId: "e3gd34-23tr21-er234-345er56", passthrough: { @@ -622,7 +622,7 @@ const stackOne = new StackOne({ async function run() { const result = await stackOne.lms.createUserCompletion({ lmsCreateCompletionRequestDto: { - completedAt: "2021-07-21T14:00:00.000Z", + completedAt: new Date("2021-07-21T14:00:00.000Z"), learningObjectExternalReference: "learning-content-123", learningObjectId: "e3gd34-23tr21-er234-345er56", passthrough: { @@ -660,7 +660,7 @@ const stackOne = new StackOneCore({ async function run() { const res = await lmsCreateUserCompletion(stackOne, { lmsCreateCompletionRequestDto: { - completedAt: "2021-07-21T14:00:00.000Z", + completedAt: new Date("2021-07-21T14:00:00.000Z"), learningObjectExternalReference: "learning-content-123", learningObjectId: "e3gd34-23tr21-er234-345er56", passthrough: { @@ -1680,7 +1680,7 @@ async function run() { const result = await stackOne.lms.listAssignments({ fields: "id,remote_id,external_reference,user_id,remote_user_id,course_id,remote_course_id,updated_at,created_at,due_date,status,progress,learning_object_type,learning_object_id,remote_learning_object_id,learning_object_external_reference", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, remoteUserId: "e3cb75bf-aa84-466e-a6c1-b8322b257a48", updatedAfter: "2020-01-01T00:00:00.000Z", @@ -1717,7 +1717,7 @@ async function run() { const res = await lmsListAssignments(stackOne, { fields: "id,remote_id,external_reference,user_id,remote_user_id,course_id,remote_course_id,updated_at,created_at,due_date,status,progress,learning_object_type,learning_object_id,remote_learning_object_id,learning_object_external_reference", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, remoteUserId: "e3cb75bf-aa84-466e-a6c1-b8322b257a48", updatedAfter: "2020-01-01T00:00:00.000Z", @@ -1789,7 +1789,7 @@ async function run() { const result = await stackOne.lms.listCategories({ fields: "id,remote_id,name,active,hierarchy,level,language", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", @@ -1824,7 +1824,7 @@ async function run() { const res = await lmsListCategories(stackOne, { fields: "id,remote_id,name,active,hierarchy,level,language", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", @@ -1894,7 +1894,7 @@ async function run() { const result = await stackOne.lms.listCompletions({ fields: "id,remote_id,external_id,remote_external_id,external_reference,content_id,remote_content_id,course_id,remote_course_id,user_id,remote_user_id,completed_at,updated_at,created_at,result,content_external_reference,learning_object_type,learning_object_id,remote_learning_object_id,learning_object_external_reference,time_spent", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", @@ -1929,7 +1929,7 @@ async function run() { const res = await lmsListCompletions(stackOne, { fields: "id,remote_id,external_id,remote_external_id,external_reference,content_id,remote_content_id,course_id,remote_course_id,user_id,remote_user_id,completed_at,updated_at,created_at,result,content_external_reference,learning_object_type,learning_object_id,remote_learning_object_id,learning_object_external_reference,time_spent", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", @@ -1999,7 +1999,7 @@ async function run() { const result = await stackOne.lms.listContent({ fields: "id,remote_id,external_reference,course_ids,remote_course_ids,title,description,additional_data,languages,content_url,mobile_launch_content_url,content_type,cover_url,active,duration,order,categories,skills,updated_at,created_at,provider,localizations,tags,authors", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", @@ -2034,7 +2034,7 @@ async function run() { const res = await lmsListContent(stackOne, { fields: "id,remote_id,external_reference,course_ids,remote_course_ids,title,description,additional_data,languages,content_url,mobile_launch_content_url,content_type,cover_url,active,duration,order,categories,skills,updated_at,created_at,provider,localizations,tags,authors", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", @@ -2104,7 +2104,7 @@ async function run() { const result = await stackOne.lms.listCourses({ fields: "id,remote_id,external_reference,content_ids,remote_content_ids,title,description,languages,cover_url,url,active,duration,categories,skills,updated_at,created_at,content,provider,localizations,authors", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", @@ -2139,7 +2139,7 @@ async function run() { const res = await lmsListCourses(stackOne, { fields: "id,remote_id,external_reference,content_ids,remote_content_ids,title,description,languages,cover_url,url,active,duration,categories,skills,updated_at,created_at,content,provider,localizations,authors", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", @@ -2209,7 +2209,7 @@ async function run() { const result = await stackOne.lms.listSkills({ fields: "id,remote_id,name,active,hierarchy,language", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", @@ -2244,7 +2244,7 @@ async function run() { const res = await lmsListSkills(stackOne, { fields: "id,remote_id,name,active,hierarchy,language", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", @@ -2314,7 +2314,7 @@ async function run() { const result = await stackOne.lms.listUserAssignments({ fields: "id,remote_id,external_reference,user_id,remote_user_id,course_id,remote_course_id,updated_at,created_at,due_date,status,progress,learning_object_type,learning_object_id,remote_learning_object_id,learning_object_external_reference", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, id: "", remoteUserId: "e3cb75bf-aa84-466e-a6c1-b8322b257a48", @@ -2352,7 +2352,7 @@ async function run() { const res = await lmsListUserAssignments(stackOne, { fields: "id,remote_id,external_reference,user_id,remote_user_id,course_id,remote_course_id,updated_at,created_at,due_date,status,progress,learning_object_type,learning_object_id,remote_learning_object_id,learning_object_external_reference", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, id: "", remoteUserId: "e3cb75bf-aa84-466e-a6c1-b8322b257a48", @@ -2425,7 +2425,7 @@ async function run() { const result = await stackOne.lms.listUserCompletions({ fields: "id,remote_id,external_id,remote_external_id,external_reference,content_id,remote_content_id,course_id,remote_course_id,user_id,remote_user_id,completed_at,updated_at,created_at,result,content_external_reference,learning_object_type,learning_object_id,remote_learning_object_id,learning_object_external_reference,time_spent", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, id: "", updatedAfter: "2020-01-01T00:00:00.000Z", @@ -2461,7 +2461,7 @@ async function run() { const res = await lmsListUserCompletions(stackOne, { fields: "id,remote_id,external_id,remote_external_id,external_reference,content_id,remote_content_id,course_id,remote_course_id,user_id,remote_user_id,completed_at,updated_at,created_at,result,content_external_reference,learning_object_type,learning_object_id,remote_learning_object_id,learning_object_external_reference,time_spent", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, id: "", updatedAfter: "2020-01-01T00:00:00.000Z", @@ -2532,7 +2532,7 @@ async function run() { const result = await stackOne.lms.listUsers({ fields: "id,remote_id,external_reference,active,email,phone_number,created_at,updated_at,name", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", @@ -2567,7 +2567,7 @@ async function run() { const res = await lmsListUsers(stackOne, { fields: "id,remote_id,external_reference,active,email,phone_number,created_at,updated_at,name", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", diff --git a/docs/sdks/marketing/README.md b/docs/sdks/marketing/README.md index 504959862..a06e97cdf 100644 --- a/docs/sdks/marketing/README.md +++ b/docs/sdks/marketing/README.md @@ -1572,7 +1572,7 @@ async function run() { const result = await stackOne.marketing.listCampaigns({ fields: "id,remote_id,name,created_at,updated_at,description,schedule_type,status,channels,first_sent_at,last_sent_at,tags,messages", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", @@ -1607,7 +1607,7 @@ async function run() { const res = await marketingListCampaigns(stackOne, { fields: "id,remote_id,name,created_at,updated_at,description,schedule_type,status,channels,first_sent_at,last_sent_at,tags,messages", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", @@ -1677,7 +1677,7 @@ async function run() { const result = await stackOne.marketing.listContentBlocks({ fields: "id,remote_id,name,type,content,status,tags,created_at,updated_at", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", @@ -1712,7 +1712,7 @@ async function run() { const res = await marketingListContentBlocks(stackOne, { fields: "id,remote_id,name,type,content,status,tags,created_at,updated_at", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", @@ -1782,7 +1782,7 @@ async function run() { const result = await stackOne.marketing.listEmailTemplates({ fields: "id,remote_id,name,messages,created_at,updated_at,tags", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", @@ -1817,7 +1817,7 @@ async function run() { const res = await marketingListEmailTemplates(stackOne, { fields: "id,remote_id,name,messages,created_at,updated_at,tags", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", @@ -1887,7 +1887,7 @@ async function run() { const result = await stackOne.marketing.listInAppTemplates({ fields: "id,remote_id,name,messages,created_at,updated_at,tags", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", @@ -1922,7 +1922,7 @@ async function run() { const res = await marketingListInAppTemplates(stackOne, { fields: "id,remote_id,name,messages,created_at,updated_at,tags", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", @@ -1994,7 +1994,7 @@ async function run() { const result = await stackOne.marketing.listOmniChannelTemplates({ fields: "id,remote_id,name,messages,created_at,updated_at,tags", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", @@ -2029,7 +2029,7 @@ async function run() { const res = await marketingListOmniChannelTemplates(stackOne, { fields: "id,remote_id,name,messages,created_at,updated_at,tags", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", @@ -2099,7 +2099,7 @@ async function run() { const result = await stackOne.marketing.listPushTemplates({ fields: "id,remote_id,name,messages,created_at,updated_at,tags", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", @@ -2134,7 +2134,7 @@ async function run() { const res = await marketingListPushTemplates(stackOne, { fields: "id,remote_id,name,messages,created_at,updated_at,tags", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", @@ -2204,7 +2204,7 @@ async function run() { const result = await stackOne.marketing.listSmsTemplates({ fields: "id,remote_id,name,messages,created_at,updated_at,tags", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", @@ -2239,7 +2239,7 @@ async function run() { const res = await marketingListSmsTemplates(stackOne, { fields: "id,remote_id,name,messages,created_at,updated_at,tags", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", diff --git a/docs/sdks/requestlogs/README.md b/docs/sdks/requestlogs/README.md index e3c6b8944..1eb28a966 100644 --- a/docs/sdks/requestlogs/README.md +++ b/docs/sdks/requestlogs/README.md @@ -136,7 +136,7 @@ async function run() { accountIds: "45355976281015164504,45355976281015164505", actions: "download,upload", childResources: "documents,time-off", - endDate: "2020-01-01T00:00:00.000Z", + endDate: new Date("2020-01-01T00:00:00.000Z"), httpMethods: "GET,POST", orderBy: QueryParamOrderBy.Service, orderDirection: QueryParamOrderDirection.Asc, @@ -145,7 +145,7 @@ async function run() { resources: "employees,users", services: "hris,ats", sourceTypes: "DASHBOARD,SYNTHETIC_WEBHOOK", - startDate: "2020-01-01T00:00:00.000Z", + startDate: new Date("2020-01-01T00:00:00.000Z"), statusCodes: "200,400", subResources: "documents,employees", success: true, @@ -191,7 +191,7 @@ async function run() { accountIds: "45355976281015164504,45355976281015164505", actions: "download,upload", childResources: "documents,time-off", - endDate: "2020-01-01T00:00:00.000Z", + endDate: new Date("2020-01-01T00:00:00.000Z"), httpMethods: "GET,POST", orderBy: QueryParamOrderBy.Service, orderDirection: QueryParamOrderDirection.Asc, @@ -200,7 +200,7 @@ async function run() { resources: "employees,users", services: "hris,ats", sourceTypes: "DASHBOARD,SYNTHETIC_WEBHOOK", - startDate: "2020-01-01T00:00:00.000Z", + startDate: new Date("2020-01-01T00:00:00.000Z"), statusCodes: "200,400", subResources: "documents,employees", success: true, @@ -279,14 +279,14 @@ async function run() { accountIds: "45355976281015164504,45355976281015164505", actions: "download,upload", categories: "hris,ats", - endDate: "2020-01-01T00:00:00.000Z", + endDate: new Date("2020-01-01T00:00:00.000Z"), httpMethods: "GET,POST", orderBy: StackoneListPlatformLogsQueryParamRequestLogsOrderBy.EventDatetime, orderDirection: StackoneListPlatformLogsQueryParamRequestLogsOrderDirection.Asc, requestIds: "adbf752f-6457-4ddd-89b3-98ae2252b83b,adbf752f-6457-4ddd-89b3-98ae2252b83c", resources: "employees,users", sourceTypes: "DASHBOARD,SYNTHETIC_WEBHOOK", - startDate: "2020-01-01T00:00:00.000Z", + startDate: new Date("2020-01-01T00:00:00.000Z"), statusCodes: "200,400", success: true, }, @@ -329,14 +329,14 @@ async function run() { accountIds: "45355976281015164504,45355976281015164505", actions: "download,upload", categories: "hris,ats", - endDate: "2020-01-01T00:00:00.000Z", + endDate: new Date("2020-01-01T00:00:00.000Z"), httpMethods: "GET,POST", orderBy: StackoneListPlatformLogsQueryParamRequestLogsOrderBy.EventDatetime, orderDirection: StackoneListPlatformLogsQueryParamRequestLogsOrderDirection.Asc, requestIds: "adbf752f-6457-4ddd-89b3-98ae2252b83b,adbf752f-6457-4ddd-89b3-98ae2252b83c", resources: "employees,users", sourceTypes: "DASHBOARD,SYNTHETIC_WEBHOOK", - startDate: "2020-01-01T00:00:00.000Z", + startDate: new Date("2020-01-01T00:00:00.000Z"), statusCodes: "200,400", success: true, }, @@ -411,13 +411,13 @@ async function run() { accountIds: "45355976281015164504,45355976281015164505", actions: "download,upload", childResources: "documents,time-off", - endDate: "2020-01-01T00:00:00.000Z", + endDate: new Date("2020-01-01T00:00:00.000Z"), httpMethods: "GET,POST", providers: "ashby,greenhouse", requestIds: "adbf752f-6457-4ddd-89b3-98ae2252b83b,adbf752f-6457-4ddd-89b3-98ae2252b83c", resources: "employees,users", services: "hris,ats", - startDate: "2020-01-01T00:00:00.000Z", + startDate: new Date("2020-01-01T00:00:00.000Z"), statusCodes: "200,400", subResources: "documents,employees", success: true, @@ -459,13 +459,13 @@ async function run() { accountIds: "45355976281015164504,45355976281015164505", actions: "download,upload", childResources: "documents,time-off", - endDate: "2020-01-01T00:00:00.000Z", + endDate: new Date("2020-01-01T00:00:00.000Z"), httpMethods: "GET,POST", providers: "ashby,greenhouse", requestIds: "adbf752f-6457-4ddd-89b3-98ae2252b83b,adbf752f-6457-4ddd-89b3-98ae2252b83c", resources: "employees,users", services: "hris,ats", - startDate: "2020-01-01T00:00:00.000Z", + startDate: new Date("2020-01-01T00:00:00.000Z"), statusCodes: "200,400", subResources: "documents,employees", success: true, diff --git a/docs/sdks/ticketing/README.md b/docs/sdks/ticketing/README.md index 44a0722cd..9ee5c8f15 100644 --- a/docs/sdks/ticketing/README.md +++ b/docs/sdks/ticketing/README.md @@ -997,7 +997,7 @@ async function run() { const result = await stackOne.ticketing.listAttachments({ fields: "id,remote_id,ticket_id,remote_ticket_id,user_id,remote_user_id,file_name,file_format,file_url,size,created_at,updated_at", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, id: "", updatedAfter: "2020-01-01T00:00:00.000Z", @@ -1033,7 +1033,7 @@ async function run() { const res = await ticketingListAttachments(stackOne, { fields: "id,remote_id,ticket_id,remote_ticket_id,user_id,remote_user_id,file_name,file_format,file_url,size,created_at,updated_at", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, id: "", updatedAfter: "2020-01-01T00:00:00.000Z", @@ -1104,7 +1104,7 @@ async function run() { const result = await stackOne.ticketing.listComments({ fields: "id,remote_id,ticket_id,remote_ticket_id,content,user_id,remote_user_id,internal,created_at,updated_at", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, id: "", updatedAfter: "2020-01-01T00:00:00.000Z", @@ -1140,7 +1140,7 @@ async function run() { const res = await ticketingListComments(stackOne, { fields: "id,remote_id,ticket_id,remote_ticket_id,content,user_id,remote_user_id,internal,created_at,updated_at", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, id: "", updatedAfter: "2020-01-01T00:00:00.000Z", @@ -1312,7 +1312,7 @@ async function run() { const result = await stackOne.ticketing.listProjectTicketTypes({ fields: "id,remote_id,name,project_id,remote_project_id", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, id: "", xAccountId: "", @@ -1347,7 +1347,7 @@ async function run() { const res = await ticketingListProjectTicketTypes(stackOne, { fields: "id,remote_id,name,project_id,remote_project_id", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, id: "", xAccountId: "", @@ -1417,7 +1417,7 @@ async function run() { const result = await stackOne.ticketing.listProjects({ fields: "id,remote_id,organization_id,remote_organization_id,name,description,created_at,updated_at", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, xAccountId: "", }); @@ -1451,7 +1451,7 @@ async function run() { const res = await ticketingListProjects(stackOne, { fields: "id,remote_id,organization_id,remote_organization_id,name,description,created_at,updated_at", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, xAccountId: "", }); @@ -1519,7 +1519,7 @@ const stackOne = new StackOne({ async function run() { const result = await stackOne.ticketing.listTicketStatuses({ filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, id: "", updatedAfter: "2020-01-01T00:00:00.000Z", @@ -1554,7 +1554,7 @@ const stackOne = new StackOneCore({ async function run() { const res = await ticketingListTicketStatuses(stackOne, { filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, id: "", updatedAfter: "2020-01-01T00:00:00.000Z", @@ -1625,7 +1625,7 @@ async function run() { const result = await stackOne.ticketing.listTicketTypes({ fields: "id,remote_id,name,project_id,remote_project_id", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", @@ -1660,7 +1660,7 @@ async function run() { const res = await ticketingListTicketTypes(stackOne, { fields: "id,remote_id,name,project_id,remote_project_id", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", @@ -1730,7 +1730,7 @@ async function run() { const result = await stackOne.ticketing.listTickets({ fields: "id,remote_id,type,ticket_number,title,creator_id,remote_creator_id,reporters,assignees,content,parent_id,remote_parent_id,closed_at,ticket_url,status,priority,tags,projects,components,organization,created_at,updated_at", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", @@ -1765,7 +1765,7 @@ async function run() { const res = await ticketingListTickets(stackOne, { fields: "id,remote_id,type,ticket_number,title,creator_id,remote_creator_id,reporters,assignees,content,parent_id,remote_parent_id,closed_at,ticket_url,status,priority,tags,projects,components,organization,created_at,updated_at", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", @@ -1835,7 +1835,7 @@ async function run() { const result = await stackOne.ticketing.listUsers({ fields: "id,remote_id,type,name,primary_email,primary_phone,username,active,first_name,last_name,customer_account_reference,created_at,updated_at", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", @@ -1870,7 +1870,7 @@ async function run() { const res = await ticketingListUsers(stackOne, { fields: "id,remote_id,type,name,primary_email,primary_phone,username,active,first_name,last_name,customer_account_reference,created_at,updated_at", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", diff --git a/examples/hrisListEmployees.example.ts b/examples/hrisListEmployees.example.ts index f87ab4394..c4232f035 100644 --- a/examples/hrisListEmployees.example.ts +++ b/examples/hrisListEmployees.example.ts @@ -26,7 +26,7 @@ async function main() { fields: "id,remote_id,first_name,last_name,name,display_name,gender,ethnicity,date_of_birth,birthday,marital_status,avatar_url,avatar,personal_email,personal_phone_number,work_email,work_phone_number,job_id,remote_job_id,job_title,job_description,department_id,remote_department_id,department,cost_centers,company,manager_id,remote_manager_id,hire_date,start_date,tenure,work_anniversary,employment_type,employment_contract_type,employment_status,termination_date,company_name,company_id,remote_company_id,preferred_language,citizenships,home_location,work_location,employments,custom_fields,documents,created_at,updated_at,benefits,employee_number,national_identity_number,national_identity_numbers,skills", filter: { - updatedAfter: "2020-01-01T00:00:00.000Z", + updatedAfter: new Date("2020-01-01T00:00:00.000Z"), }, include: "avatar_url,avatar,custom_fields,job_description,benefits", updatedAfter: "2020-01-01T00:00:00.000Z", diff --git a/examples/package-lock.json b/examples/package-lock.json index 7b45161b5..debbef7f3 100644 --- a/examples/package-lock.json +++ b/examples/package-lock.json @@ -18,17 +18,16 @@ }, "..": { "name": "@stackone/stackone-client-ts", - "version": "4.23.5", + "version": "4.24.0", + "dependencies": { + "zod": "^3.20.0" + }, "devDependencies": { "@eslint/js": "^9.19.0", "eslint": "^9.19.0", "globals": "^15.14.0", "typescript": "^5.4.5", - "typescript-eslint": "^8.22.0", - "zod": "^3.25.17" - }, - "peerDependencies": { - "zod": "^3" + "typescript-eslint": "^8.22.0" } }, "node_modules/@esbuild/aix-ppc64": { diff --git a/gen.yaml b/gen.yaml index 48f8a2ddd..a882e1619 100644 --- a/gen.yaml +++ b/gen.yaml @@ -18,7 +18,7 @@ generation: generateNewTests: false skipResponseBodyAssertions: false typescript: - version: 4.23.5 + version: 4.24.0 additionalDependencies: dependencies: {} devDependencies: {} diff --git a/jsr.json b/jsr.json index 4ca8f51b1..b4eef8193 100644 --- a/jsr.json +++ b/jsr.json @@ -2,7 +2,7 @@ { "name": "@stackone/stackone-client-ts", - "version": "4.23.5", + "version": "4.24.0", "exports": { ".": "./src/index.ts", "./sdk/models/errors": "./src/sdk/models/errors/index.ts", diff --git a/package-lock.json b/package-lock.json index c17c6394d..babbc5a68 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,22 +1,21 @@ { "name": "@stackone/stackone-client-ts", - "version": "4.23.5", + "version": "4.24.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@stackone/stackone-client-ts", - "version": "4.23.5", + "version": "4.24.0", + "dependencies": { + "zod": "^3.20.0" + }, "devDependencies": { "@eslint/js": "^9.19.0", "eslint": "^9.19.0", "globals": "^15.14.0", "typescript": "^5.4.5", - "typescript-eslint": "^8.22.0", - "zod": "^3.25.17" - }, - "peerDependencies": { - "zod": "^3" + "typescript-eslint": "^8.22.0" } }, "node_modules/@aashutoshrathi/word-wrap": { @@ -1808,7 +1807,6 @@ "version": "3.25.42", "resolved": "https://registry.npmjs.org/zod/-/zod-3.25.42.tgz", "integrity": "sha512-PcALTLskaucbeHc41tU/xfjfhcz8z0GdhhDcSgrCTmSazUuqnYqiXO63M0QUBVwpBlsLsNVn5qHSC5Dw3KZvaQ==", - "dev": true, "license": "MIT", "funding": { "url": "https://github.com/sponsors/colinhacks" @@ -2983,8 +2981,7 @@ "zod": { "version": "3.25.42", "resolved": "https://registry.npmjs.org/zod/-/zod-3.25.42.tgz", - "integrity": "sha512-PcALTLskaucbeHc41tU/xfjfhcz8z0GdhhDcSgrCTmSazUuqnYqiXO63M0QUBVwpBlsLsNVn5qHSC5Dw3KZvaQ==", - "dev": true + "integrity": "sha512-PcALTLskaucbeHc41tU/xfjfhcz8z0GdhhDcSgrCTmSazUuqnYqiXO63M0QUBVwpBlsLsNVn5qHSC5Dw3KZvaQ==" } } } diff --git a/package.json b/package.json index 707bcc098..6bfc2da93 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@stackone/stackone-client-ts", - "version": "4.23.5", + "version": "4.24.0", "author": "StackOne", "main": "./index.js", "sideEffects": false, @@ -15,17 +15,16 @@ "prepublishOnly": "npm run build" }, "peerDependencies": { - "zod": "^3" + }, "devDependencies": { "@eslint/js": "^9.19.0", "eslint": "^9.19.0", "globals": "^15.14.0", "typescript": "^5.4.5", - "typescript-eslint": "^8.22.0", - "zod": "^3.25.17" + "typescript-eslint": "^8.22.0" }, "dependencies": { - + "zod": "^3.20.0" } } diff --git a/src/lib/config.ts b/src/lib/config.ts index fa80e5ecc..78ba4fc8f 100644 --- a/src/lib/config.ts +++ b/src/lib/config.ts @@ -62,8 +62,8 @@ export function serverURLFromOptions(options: SDKOptions): URL | null { export const SDK_METADATA = { language: "typescript", openapiDocVersion: "1.0.0", - sdkVersion: "4.23.5", - genVersion: "2.667.0", + sdkVersion: "4.24.0", + genVersion: "2.668.4", userAgent: - "speakeasy-sdk/typescript 4.23.5 2.667.0 1.0.0 @stackone/stackone-client-ts", + "speakeasy-sdk/typescript 4.24.0 2.668.4 1.0.0 @stackone/stackone-client-ts", } as const; diff --git a/src/sdk/models/operations/atsgetapplicationcustomfielddefinition.ts b/src/sdk/models/operations/atsgetapplicationcustomfielddefinition.ts index a7ed3e390..4c41a6ee5 100644 --- a/src/sdk/models/operations/atsgetapplicationcustomfielddefinition.ts +++ b/src/sdk/models/operations/atsgetapplicationcustomfielddefinition.ts @@ -16,7 +16,7 @@ export type AtsGetApplicationCustomFieldDefinitionQueryParamFilter = { /** * Use a string with a date to only select results updated after that given date */ - updatedAfter?: string | null | undefined; + updatedAfter?: Date | null | undefined; }; export type AtsGetApplicationCustomFieldDefinitionRequest = { @@ -95,7 +95,9 @@ export const AtsGetApplicationCustomFieldDefinitionQueryParamFilter$inboundSchem z.ZodTypeDef, unknown > = z.object({ - updated_after: z.nullable(z.string()).optional(), + updated_after: z.nullable( + z.string().datetime({ offset: true }).transform(v => new Date(v)), + ).optional(), }).transform((v) => { return remap$(v, { "updated_after": "updatedAfter", @@ -114,7 +116,8 @@ export const AtsGetApplicationCustomFieldDefinitionQueryParamFilter$outboundSche z.ZodTypeDef, AtsGetApplicationCustomFieldDefinitionQueryParamFilter > = z.object({ - updatedAfter: z.nullable(z.string()).optional(), + updatedAfter: z.nullable(z.date().transform(v => v.toISOString())) + .optional(), }).transform((v) => { return remap$(v, { updatedAfter: "updated_after", diff --git a/src/sdk/models/operations/atsgetcandidatecustomfielddefinition.ts b/src/sdk/models/operations/atsgetcandidatecustomfielddefinition.ts index f8a728c3b..f37597979 100644 --- a/src/sdk/models/operations/atsgetcandidatecustomfielddefinition.ts +++ b/src/sdk/models/operations/atsgetcandidatecustomfielddefinition.ts @@ -16,7 +16,7 @@ export type AtsGetCandidateCustomFieldDefinitionQueryParamFilter = { /** * Use a string with a date to only select results updated after that given date */ - updatedAfter?: string | null | undefined; + updatedAfter?: Date | null | undefined; }; export type AtsGetCandidateCustomFieldDefinitionRequest = { @@ -95,7 +95,9 @@ export const AtsGetCandidateCustomFieldDefinitionQueryParamFilter$inboundSchema: z.ZodTypeDef, unknown > = z.object({ - updated_after: z.nullable(z.string()).optional(), + updated_after: z.nullable( + z.string().datetime({ offset: true }).transform(v => new Date(v)), + ).optional(), }).transform((v) => { return remap$(v, { "updated_after": "updatedAfter", @@ -114,7 +116,8 @@ export const AtsGetCandidateCustomFieldDefinitionQueryParamFilter$outboundSchema z.ZodTypeDef, AtsGetCandidateCustomFieldDefinitionQueryParamFilter > = z.object({ - updatedAfter: z.nullable(z.string()).optional(), + updatedAfter: z.nullable(z.date().transform(v => v.toISOString())) + .optional(), }).transform((v) => { return remap$(v, { updatedAfter: "updated_after", diff --git a/src/sdk/models/operations/atsgetjobcustomfielddefinition.ts b/src/sdk/models/operations/atsgetjobcustomfielddefinition.ts index 9bd717236..8e26995be 100644 --- a/src/sdk/models/operations/atsgetjobcustomfielddefinition.ts +++ b/src/sdk/models/operations/atsgetjobcustomfielddefinition.ts @@ -16,7 +16,7 @@ export type AtsGetJobCustomFieldDefinitionQueryParamFilter = { /** * Use a string with a date to only select results updated after that given date */ - updatedAfter?: string | null | undefined; + updatedAfter?: Date | null | undefined; }; export type AtsGetJobCustomFieldDefinitionRequest = { @@ -92,7 +92,9 @@ export const AtsGetJobCustomFieldDefinitionQueryParamFilter$inboundSchema: z.ZodTypeDef, unknown > = z.object({ - updated_after: z.nullable(z.string()).optional(), + updated_after: z.nullable( + z.string().datetime({ offset: true }).transform(v => new Date(v)), + ).optional(), }).transform((v) => { return remap$(v, { "updated_after": "updatedAfter", @@ -111,7 +113,8 @@ export const AtsGetJobCustomFieldDefinitionQueryParamFilter$outboundSchema: z.ZodTypeDef, AtsGetJobCustomFieldDefinitionQueryParamFilter > = z.object({ - updatedAfter: z.nullable(z.string()).optional(), + updatedAfter: z.nullable(z.date().transform(v => v.toISOString())) + .optional(), }).transform((v) => { return remap$(v, { updatedAfter: "updated_after", diff --git a/src/sdk/models/operations/atslistapplicationchanges.ts b/src/sdk/models/operations/atslistapplicationchanges.ts index ff488dc49..396fa8c8f 100644 --- a/src/sdk/models/operations/atslistapplicationchanges.ts +++ b/src/sdk/models/operations/atslistapplicationchanges.ts @@ -30,7 +30,7 @@ export type AtsListApplicationChangesQueryParamFilter = { /** * Use a string with a date to only select results created after that given date */ - createdAfter?: string | null | undefined; + createdAfter?: Date | null | undefined; }; export type AtsListApplicationChangesRequest = { @@ -111,7 +111,9 @@ export const AtsListApplicationChangesQueryParamFilter$inboundSchema: z.ZodType< unknown > = z.object({ change_type: z.nullable(ChangeType$inboundSchema).optional(), - created_after: z.nullable(z.string()).optional(), + created_after: z.nullable( + z.string().datetime({ offset: true }).transform(v => new Date(v)), + ).optional(), }).transform((v) => { return remap$(v, { "change_type": "changeType", @@ -133,7 +135,8 @@ export const AtsListApplicationChangesQueryParamFilter$outboundSchema: AtsListApplicationChangesQueryParamFilter > = z.object({ changeType: z.nullable(ChangeType$outboundSchema).optional(), - createdAfter: z.nullable(z.string()).optional(), + createdAfter: z.nullable(z.date().transform(v => v.toISOString())) + .optional(), }).transform((v) => { return remap$(v, { changeType: "change_type", diff --git a/src/sdk/models/operations/atslistapplicationcustomfielddefinitions.ts b/src/sdk/models/operations/atslistapplicationcustomfielddefinitions.ts index c92baf3c0..caec33516 100644 --- a/src/sdk/models/operations/atslistapplicationcustomfielddefinitions.ts +++ b/src/sdk/models/operations/atslistapplicationcustomfielddefinitions.ts @@ -16,7 +16,7 @@ export type AtsListApplicationCustomFieldDefinitionsQueryParamFilter = { /** * Use a string with a date to only select results updated after that given date */ - updatedAfter?: string | null | undefined; + updatedAfter?: Date | null | undefined; }; export type AtsListApplicationCustomFieldDefinitionsRequest = { @@ -94,7 +94,9 @@ export const AtsListApplicationCustomFieldDefinitionsQueryParamFilter$inboundSch z.ZodTypeDef, unknown > = z.object({ - updated_after: z.nullable(z.string()).optional(), + updated_after: z.nullable( + z.string().datetime({ offset: true }).transform(v => new Date(v)), + ).optional(), }).transform((v) => { return remap$(v, { "updated_after": "updatedAfter", @@ -114,7 +116,8 @@ export const AtsListApplicationCustomFieldDefinitionsQueryParamFilter$outboundSc z.ZodTypeDef, AtsListApplicationCustomFieldDefinitionsQueryParamFilter > = z.object({ - updatedAfter: z.nullable(z.string()).optional(), + updatedAfter: z.nullable(z.date().transform(v => v.toISOString())) + .optional(), }).transform((v) => { return remap$(v, { updatedAfter: "updated_after", diff --git a/src/sdk/models/operations/atslistapplicationdocumentcategories.ts b/src/sdk/models/operations/atslistapplicationdocumentcategories.ts index d25c1095b..b08f381b2 100644 --- a/src/sdk/models/operations/atslistapplicationdocumentcategories.ts +++ b/src/sdk/models/operations/atslistapplicationdocumentcategories.ts @@ -16,7 +16,7 @@ export type AtsListApplicationDocumentCategoriesQueryParamFilter = { /** * Use a string with a date to only select results updated after that given date */ - updatedAfter?: string | null | undefined; + updatedAfter?: Date | null | undefined; }; export type AtsListApplicationDocumentCategoriesRequest = { @@ -92,7 +92,9 @@ export const AtsListApplicationDocumentCategoriesQueryParamFilter$inboundSchema: z.ZodTypeDef, unknown > = z.object({ - updated_after: z.nullable(z.string()).optional(), + updated_after: z.nullable( + z.string().datetime({ offset: true }).transform(v => new Date(v)), + ).optional(), }).transform((v) => { return remap$(v, { "updated_after": "updatedAfter", @@ -111,7 +113,8 @@ export const AtsListApplicationDocumentCategoriesQueryParamFilter$outboundSchema z.ZodTypeDef, AtsListApplicationDocumentCategoriesQueryParamFilter > = z.object({ - updatedAfter: z.nullable(z.string()).optional(), + updatedAfter: z.nullable(z.date().transform(v => v.toISOString())) + .optional(), }).transform((v) => { return remap$(v, { updatedAfter: "updated_after", diff --git a/src/sdk/models/operations/atslistapplicationdocuments.ts b/src/sdk/models/operations/atslistapplicationdocuments.ts index c203be407..2b8e5012c 100644 --- a/src/sdk/models/operations/atslistapplicationdocuments.ts +++ b/src/sdk/models/operations/atslistapplicationdocuments.ts @@ -20,7 +20,7 @@ export type AtsListApplicationDocumentsQueryParamFilter = { /** * Use a string with a date to only select results updated after that given date */ - updatedAfter?: string | null | undefined; + updatedAfter?: Date | null | undefined; }; export type AtsListApplicationDocumentsRequest = { @@ -101,7 +101,9 @@ export const AtsListApplicationDocumentsQueryParamFilter$inboundSchema: unknown > = z.object({ type: z.nullable(z.string()).optional(), - updated_after: z.nullable(z.string()).optional(), + updated_after: z.nullable( + z.string().datetime({ offset: true }).transform(v => new Date(v)), + ).optional(), }).transform((v) => { return remap$(v, { "updated_after": "updatedAfter", @@ -122,7 +124,8 @@ export const AtsListApplicationDocumentsQueryParamFilter$outboundSchema: AtsListApplicationDocumentsQueryParamFilter > = z.object({ type: z.nullable(z.string()).optional(), - updatedAfter: z.nullable(z.string()).optional(), + updatedAfter: z.nullable(z.date().transform(v => v.toISOString())) + .optional(), }).transform((v) => { return remap$(v, { updatedAfter: "updated_after", diff --git a/src/sdk/models/operations/atslistapplicationnotes.ts b/src/sdk/models/operations/atslistapplicationnotes.ts index b1470fe64..b11eb311d 100644 --- a/src/sdk/models/operations/atslistapplicationnotes.ts +++ b/src/sdk/models/operations/atslistapplicationnotes.ts @@ -16,7 +16,7 @@ export type AtsListApplicationNotesQueryParamFilter = { /** * Use a string with a date to only select results updated after that given date */ - updatedAfter?: string | null | undefined; + updatedAfter?: Date | null | undefined; }; export type AtsListApplicationNotesRequest = { @@ -95,7 +95,9 @@ export const AtsListApplicationNotesQueryParamFilter$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - updated_after: z.nullable(z.string()).optional(), + updated_after: z.nullable( + z.string().datetime({ offset: true }).transform(v => new Date(v)), + ).optional(), }).transform((v) => { return remap$(v, { "updated_after": "updatedAfter", @@ -113,7 +115,7 @@ export const AtsListApplicationNotesQueryParamFilter$outboundSchema: z.ZodType< z.ZodTypeDef, AtsListApplicationNotesQueryParamFilter > = z.object({ - updatedAfter: z.nullable(z.string()).optional(), + updatedAfter: z.nullable(z.date().transform(v => v.toISOString())).optional(), }).transform((v) => { return remap$(v, { updatedAfter: "updated_after", diff --git a/src/sdk/models/operations/atslistapplications.ts b/src/sdk/models/operations/atslistapplications.ts index 352e95ef1..53c283cfc 100644 --- a/src/sdk/models/operations/atslistapplications.ts +++ b/src/sdk/models/operations/atslistapplications.ts @@ -16,7 +16,7 @@ export type AtsListApplicationsQueryParamFilter = { /** * Use a string with a date to only select results created after that given date */ - createdAfter?: string | null | undefined; + createdAfter?: Date | null | undefined; /** * Filter to select applications by job_id */ @@ -28,7 +28,7 @@ export type AtsListApplicationsQueryParamFilter = { /** * Use a string with a date to only select results updated after that given date */ - updatedAfter?: string | null | undefined; + updatedAfter?: Date | null | undefined; }; export type AtsListApplicationsRequest = { @@ -120,10 +120,14 @@ export const AtsListApplicationsQueryParamFilter$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - created_after: z.nullable(z.string()).optional(), + created_after: z.nullable( + z.string().datetime({ offset: true }).transform(v => new Date(v)), + ).optional(), job_id: z.nullable(z.string()).optional(), stage: z.nullable(z.string()).optional(), - updated_after: z.nullable(z.string()).optional(), + updated_after: z.nullable( + z.string().datetime({ offset: true }).transform(v => new Date(v)), + ).optional(), }).transform((v) => { return remap$(v, { "created_after": "createdAfter", @@ -146,10 +150,10 @@ export const AtsListApplicationsQueryParamFilter$outboundSchema: z.ZodType< z.ZodTypeDef, AtsListApplicationsQueryParamFilter > = z.object({ - createdAfter: z.nullable(z.string()).optional(), + createdAfter: z.nullable(z.date().transform(v => v.toISOString())).optional(), jobId: z.nullable(z.string()).optional(), stage: z.nullable(z.string()).optional(), - updatedAfter: z.nullable(z.string()).optional(), + updatedAfter: z.nullable(z.date().transform(v => v.toISOString())).optional(), }).transform((v) => { return remap$(v, { createdAfter: "created_after", diff --git a/src/sdk/models/operations/atslistapplicationscorecards.ts b/src/sdk/models/operations/atslistapplicationscorecards.ts index 3ede5a40a..3f4ce3543 100644 --- a/src/sdk/models/operations/atslistapplicationscorecards.ts +++ b/src/sdk/models/operations/atslistapplicationscorecards.ts @@ -16,7 +16,7 @@ export type AtsListApplicationScorecardsQueryParamFilter = { /** * Use a string with a date to only select results updated after that given date */ - updatedAfter?: string | null | undefined; + updatedAfter?: Date | null | undefined; }; export type AtsListApplicationScorecardsRequest = { @@ -96,7 +96,9 @@ export const AtsListApplicationScorecardsQueryParamFilter$inboundSchema: z.ZodTypeDef, unknown > = z.object({ - updated_after: z.nullable(z.string()).optional(), + updated_after: z.nullable( + z.string().datetime({ offset: true }).transform(v => new Date(v)), + ).optional(), }).transform((v) => { return remap$(v, { "updated_after": "updatedAfter", @@ -115,7 +117,8 @@ export const AtsListApplicationScorecardsQueryParamFilter$outboundSchema: z.ZodTypeDef, AtsListApplicationScorecardsQueryParamFilter > = z.object({ - updatedAfter: z.nullable(z.string()).optional(), + updatedAfter: z.nullable(z.date().transform(v => v.toISOString())) + .optional(), }).transform((v) => { return remap$(v, { updatedAfter: "updated_after", diff --git a/src/sdk/models/operations/atslistapplicationsoffers.ts b/src/sdk/models/operations/atslistapplicationsoffers.ts index 13afdc9b3..639dd9f28 100644 --- a/src/sdk/models/operations/atslistapplicationsoffers.ts +++ b/src/sdk/models/operations/atslistapplicationsoffers.ts @@ -16,7 +16,7 @@ export type AtsListApplicationsOffersQueryParamFilter = { /** * Use a string with a date to only select results updated after that given date */ - updatedAfter?: string | null | undefined; + updatedAfter?: Date | null | undefined; }; export type AtsListApplicationsOffersRequest = { @@ -95,7 +95,9 @@ export const AtsListApplicationsOffersQueryParamFilter$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - updated_after: z.nullable(z.string()).optional(), + updated_after: z.nullable( + z.string().datetime({ offset: true }).transform(v => new Date(v)), + ).optional(), }).transform((v) => { return remap$(v, { "updated_after": "updatedAfter", @@ -114,7 +116,8 @@ export const AtsListApplicationsOffersQueryParamFilter$outboundSchema: z.ZodTypeDef, AtsListApplicationsOffersQueryParamFilter > = z.object({ - updatedAfter: z.nullable(z.string()).optional(), + updatedAfter: z.nullable(z.date().transform(v => v.toISOString())) + .optional(), }).transform((v) => { return remap$(v, { updatedAfter: "updated_after", diff --git a/src/sdk/models/operations/atslistapplicationsscheduledinterviews.ts b/src/sdk/models/operations/atslistapplicationsscheduledinterviews.ts index 4bef91a8b..a123dc17a 100644 --- a/src/sdk/models/operations/atslistapplicationsscheduledinterviews.ts +++ b/src/sdk/models/operations/atslistapplicationsscheduledinterviews.ts @@ -16,7 +16,7 @@ export type AtsListApplicationsScheduledInterviewsQueryParamFilter = { /** * Use a string with a date to only select results updated after that given date */ - updatedAfter?: string | null | undefined; + updatedAfter?: Date | null | undefined; }; export type AtsListApplicationsScheduledInterviewsRequest = { @@ -101,7 +101,9 @@ export const AtsListApplicationsScheduledInterviewsQueryParamFilter$inboundSchem z.ZodTypeDef, unknown > = z.object({ - updated_after: z.nullable(z.string()).optional(), + updated_after: z.nullable( + z.string().datetime({ offset: true }).transform(v => new Date(v)), + ).optional(), }).transform((v) => { return remap$(v, { "updated_after": "updatedAfter", @@ -120,7 +122,8 @@ export const AtsListApplicationsScheduledInterviewsQueryParamFilter$outboundSche z.ZodTypeDef, AtsListApplicationsScheduledInterviewsQueryParamFilter > = z.object({ - updatedAfter: z.nullable(z.string()).optional(), + updatedAfter: z.nullable(z.date().transform(v => v.toISOString())) + .optional(), }).transform((v) => { return remap$(v, { updatedAfter: "updated_after", diff --git a/src/sdk/models/operations/atslistassessmentspackages.ts b/src/sdk/models/operations/atslistassessmentspackages.ts index 78714ea27..afe678d7c 100644 --- a/src/sdk/models/operations/atslistassessmentspackages.ts +++ b/src/sdk/models/operations/atslistassessmentspackages.ts @@ -16,7 +16,7 @@ export type AtsListAssessmentsPackagesQueryParamFilter = { /** * Use a string with a date to only select results updated after that given date */ - updatedAfter?: string | null | undefined; + updatedAfter?: Date | null | undefined; }; export type AtsListAssessmentsPackagesRequest = { @@ -86,7 +86,9 @@ export type AtsListAssessmentsPackagesResponse = { export const AtsListAssessmentsPackagesQueryParamFilter$inboundSchema: z.ZodType = z.object({ - updated_after: z.nullable(z.string()).optional(), + updated_after: z.nullable( + z.string().datetime({ offset: true }).transform(v => new Date(v)), + ).optional(), }).transform((v) => { return remap$(v, { "updated_after": "updatedAfter", @@ -105,7 +107,8 @@ export const AtsListAssessmentsPackagesQueryParamFilter$outboundSchema: z.ZodTypeDef, AtsListAssessmentsPackagesQueryParamFilter > = z.object({ - updatedAfter: z.nullable(z.string()).optional(), + updatedAfter: z.nullable(z.date().transform(v => v.toISOString())) + .optional(), }).transform((v) => { return remap$(v, { updatedAfter: "updated_after", diff --git a/src/sdk/models/operations/atslistbackgroundcheckpackages.ts b/src/sdk/models/operations/atslistbackgroundcheckpackages.ts index bda565fb0..deb4e2747 100644 --- a/src/sdk/models/operations/atslistbackgroundcheckpackages.ts +++ b/src/sdk/models/operations/atslistbackgroundcheckpackages.ts @@ -16,7 +16,7 @@ export type AtsListBackgroundCheckPackagesQueryParamFilter = { /** * Use a string with a date to only select results updated after that given date */ - updatedAfter?: string | null | undefined; + updatedAfter?: Date | null | undefined; }; export type AtsListBackgroundCheckPackagesRequest = { @@ -91,7 +91,9 @@ export const AtsListBackgroundCheckPackagesQueryParamFilter$inboundSchema: z.ZodTypeDef, unknown > = z.object({ - updated_after: z.nullable(z.string()).optional(), + updated_after: z.nullable( + z.string().datetime({ offset: true }).transform(v => new Date(v)), + ).optional(), }).transform((v) => { return remap$(v, { "updated_after": "updatedAfter", @@ -110,7 +112,8 @@ export const AtsListBackgroundCheckPackagesQueryParamFilter$outboundSchema: z.ZodTypeDef, AtsListBackgroundCheckPackagesQueryParamFilter > = z.object({ - updatedAfter: z.nullable(z.string()).optional(), + updatedAfter: z.nullable(z.date().transform(v => v.toISOString())) + .optional(), }).transform((v) => { return remap$(v, { updatedAfter: "updated_after", diff --git a/src/sdk/models/operations/atslistcandidatecustomfielddefinitions.ts b/src/sdk/models/operations/atslistcandidatecustomfielddefinitions.ts index fb47580b8..7cb334b98 100644 --- a/src/sdk/models/operations/atslistcandidatecustomfielddefinitions.ts +++ b/src/sdk/models/operations/atslistcandidatecustomfielddefinitions.ts @@ -16,7 +16,7 @@ export type AtsListCandidateCustomFieldDefinitionsQueryParamFilter = { /** * Use a string with a date to only select results updated after that given date */ - updatedAfter?: string | null | undefined; + updatedAfter?: Date | null | undefined; }; export type AtsListCandidateCustomFieldDefinitionsRequest = { @@ -94,7 +94,9 @@ export const AtsListCandidateCustomFieldDefinitionsQueryParamFilter$inboundSchem z.ZodTypeDef, unknown > = z.object({ - updated_after: z.nullable(z.string()).optional(), + updated_after: z.nullable( + z.string().datetime({ offset: true }).transform(v => new Date(v)), + ).optional(), }).transform((v) => { return remap$(v, { "updated_after": "updatedAfter", @@ -113,7 +115,8 @@ export const AtsListCandidateCustomFieldDefinitionsQueryParamFilter$outboundSche z.ZodTypeDef, AtsListCandidateCustomFieldDefinitionsQueryParamFilter > = z.object({ - updatedAfter: z.nullable(z.string()).optional(), + updatedAfter: z.nullable(z.date().transform(v => v.toISOString())) + .optional(), }).transform((v) => { return remap$(v, { updatedAfter: "updated_after", diff --git a/src/sdk/models/operations/atslistcandidatenotes.ts b/src/sdk/models/operations/atslistcandidatenotes.ts index 9e085bddf..34783c2f4 100644 --- a/src/sdk/models/operations/atslistcandidatenotes.ts +++ b/src/sdk/models/operations/atslistcandidatenotes.ts @@ -16,7 +16,7 @@ export type AtsListCandidateNotesQueryParamFilter = { /** * Use a string with a date to only select results updated after that given date */ - updatedAfter?: string | null | undefined; + updatedAfter?: Date | null | undefined; }; export type AtsListCandidateNotesRequest = { @@ -95,7 +95,9 @@ export const AtsListCandidateNotesQueryParamFilter$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - updated_after: z.nullable(z.string()).optional(), + updated_after: z.nullable( + z.string().datetime({ offset: true }).transform(v => new Date(v)), + ).optional(), }).transform((v) => { return remap$(v, { "updated_after": "updatedAfter", @@ -113,7 +115,7 @@ export const AtsListCandidateNotesQueryParamFilter$outboundSchema: z.ZodType< z.ZodTypeDef, AtsListCandidateNotesQueryParamFilter > = z.object({ - updatedAfter: z.nullable(z.string()).optional(), + updatedAfter: z.nullable(z.date().transform(v => v.toISOString())).optional(), }).transform((v) => { return remap$(v, { updatedAfter: "updated_after", diff --git a/src/sdk/models/operations/atslistcandidates.ts b/src/sdk/models/operations/atslistcandidates.ts index 306ddda6b..05e7ba131 100644 --- a/src/sdk/models/operations/atslistcandidates.ts +++ b/src/sdk/models/operations/atslistcandidates.ts @@ -16,7 +16,7 @@ export type AtsListCandidatesQueryParamFilter = { /** * Use a string with a date to only select results created after that given date */ - createdAfter?: string | null | undefined; + createdAfter?: Date | null | undefined; /** * Filter to select candidates by email */ @@ -24,7 +24,7 @@ export type AtsListCandidatesQueryParamFilter = { /** * Use a string with a date to only select results updated after that given date */ - updatedAfter?: string | null | undefined; + updatedAfter?: Date | null | undefined; }; export type AtsListCandidatesRequest = { @@ -106,9 +106,13 @@ export const AtsListCandidatesQueryParamFilter$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - created_after: z.nullable(z.string()).optional(), + created_after: z.nullable( + z.string().datetime({ offset: true }).transform(v => new Date(v)), + ).optional(), email: z.nullable(z.string()).optional(), - updated_after: z.nullable(z.string()).optional(), + updated_after: z.nullable( + z.string().datetime({ offset: true }).transform(v => new Date(v)), + ).optional(), }).transform((v) => { return remap$(v, { "created_after": "createdAfter", @@ -129,9 +133,9 @@ export const AtsListCandidatesQueryParamFilter$outboundSchema: z.ZodType< z.ZodTypeDef, AtsListCandidatesQueryParamFilter > = z.object({ - createdAfter: z.nullable(z.string()).optional(), + createdAfter: z.nullable(z.date().transform(v => v.toISOString())).optional(), email: z.nullable(z.string()).optional(), - updatedAfter: z.nullable(z.string()).optional(), + updatedAfter: z.nullable(z.date().transform(v => v.toISOString())).optional(), }).transform((v) => { return remap$(v, { createdAfter: "created_after", diff --git a/src/sdk/models/operations/atslistdepartments.ts b/src/sdk/models/operations/atslistdepartments.ts index b8f84084d..edf143415 100644 --- a/src/sdk/models/operations/atslistdepartments.ts +++ b/src/sdk/models/operations/atslistdepartments.ts @@ -16,7 +16,7 @@ export type AtsListDepartmentsQueryParamFilter = { /** * Use a string with a date to only select results updated after that given date */ - updatedAfter?: string | null | undefined; + updatedAfter?: Date | null | undefined; }; export type AtsListDepartmentsRequest = { @@ -94,7 +94,9 @@ export const AtsListDepartmentsQueryParamFilter$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - updated_after: z.nullable(z.string()).optional(), + updated_after: z.nullable( + z.string().datetime({ offset: true }).transform(v => new Date(v)), + ).optional(), }).transform((v) => { return remap$(v, { "updated_after": "updatedAfter", @@ -112,7 +114,7 @@ export const AtsListDepartmentsQueryParamFilter$outboundSchema: z.ZodType< z.ZodTypeDef, AtsListDepartmentsQueryParamFilter > = z.object({ - updatedAfter: z.nullable(z.string()).optional(), + updatedAfter: z.nullable(z.date().transform(v => v.toISOString())).optional(), }).transform((v) => { return remap$(v, { updatedAfter: "updated_after", diff --git a/src/sdk/models/operations/atslistinterviews.ts b/src/sdk/models/operations/atslistinterviews.ts index d6efcc61a..13a3cab00 100644 --- a/src/sdk/models/operations/atslistinterviews.ts +++ b/src/sdk/models/operations/atslistinterviews.ts @@ -16,11 +16,11 @@ export type AtsListInterviewsQueryParamFilter = { /** * Use a string with a date to only select results created after that given date */ - createdAfter?: string | null | undefined; + createdAfter?: Date | null | undefined; /** * Use a string with a date to only select results updated after that given date */ - updatedAfter?: string | null | undefined; + updatedAfter?: Date | null | undefined; }; export type AtsListInterviewsRequest = { @@ -98,8 +98,12 @@ export const AtsListInterviewsQueryParamFilter$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - created_after: z.nullable(z.string()).optional(), - updated_after: z.nullable(z.string()).optional(), + created_after: z.nullable( + z.string().datetime({ offset: true }).transform(v => new Date(v)), + ).optional(), + updated_after: z.nullable( + z.string().datetime({ offset: true }).transform(v => new Date(v)), + ).optional(), }).transform((v) => { return remap$(v, { "created_after": "createdAfter", @@ -119,8 +123,8 @@ export const AtsListInterviewsQueryParamFilter$outboundSchema: z.ZodType< z.ZodTypeDef, AtsListInterviewsQueryParamFilter > = z.object({ - createdAfter: z.nullable(z.string()).optional(), - updatedAfter: z.nullable(z.string()).optional(), + createdAfter: z.nullable(z.date().transform(v => v.toISOString())).optional(), + updatedAfter: z.nullable(z.date().transform(v => v.toISOString())).optional(), }).transform((v) => { return remap$(v, { createdAfter: "created_after", diff --git a/src/sdk/models/operations/atslistinterviewstages.ts b/src/sdk/models/operations/atslistinterviewstages.ts index 7664db73d..d39ed31ae 100644 --- a/src/sdk/models/operations/atslistinterviewstages.ts +++ b/src/sdk/models/operations/atslistinterviewstages.ts @@ -16,7 +16,7 @@ export type AtsListInterviewStagesQueryParamFilter = { /** * Use a string with a date to only select results updated after that given date */ - updatedAfter?: string | null | undefined; + updatedAfter?: Date | null | undefined; }; export type AtsListInterviewStagesRequest = { @@ -94,7 +94,9 @@ export const AtsListInterviewStagesQueryParamFilter$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - updated_after: z.nullable(z.string()).optional(), + updated_after: z.nullable( + z.string().datetime({ offset: true }).transform(v => new Date(v)), + ).optional(), }).transform((v) => { return remap$(v, { "updated_after": "updatedAfter", @@ -112,7 +114,7 @@ export const AtsListInterviewStagesQueryParamFilter$outboundSchema: z.ZodType< z.ZodTypeDef, AtsListInterviewStagesQueryParamFilter > = z.object({ - updatedAfter: z.nullable(z.string()).optional(), + updatedAfter: z.nullable(z.date().transform(v => v.toISOString())).optional(), }).transform((v) => { return remap$(v, { updatedAfter: "updated_after", diff --git a/src/sdk/models/operations/atslistjobcustomfielddefinitions.ts b/src/sdk/models/operations/atslistjobcustomfielddefinitions.ts index f8abe01b2..f8d03d21a 100644 --- a/src/sdk/models/operations/atslistjobcustomfielddefinitions.ts +++ b/src/sdk/models/operations/atslistjobcustomfielddefinitions.ts @@ -16,7 +16,7 @@ export type AtsListJobCustomFieldDefinitionsQueryParamFilter = { /** * Use a string with a date to only select results updated after that given date */ - updatedAfter?: string | null | undefined; + updatedAfter?: Date | null | undefined; }; export type AtsListJobCustomFieldDefinitionsRequest = { @@ -91,7 +91,9 @@ export const AtsListJobCustomFieldDefinitionsQueryParamFilter$inboundSchema: z.ZodTypeDef, unknown > = z.object({ - updated_after: z.nullable(z.string()).optional(), + updated_after: z.nullable( + z.string().datetime({ offset: true }).transform(v => new Date(v)), + ).optional(), }).transform((v) => { return remap$(v, { "updated_after": "updatedAfter", @@ -110,7 +112,8 @@ export const AtsListJobCustomFieldDefinitionsQueryParamFilter$outboundSchema: z.ZodTypeDef, AtsListJobCustomFieldDefinitionsQueryParamFilter > = z.object({ - updatedAfter: z.nullable(z.string()).optional(), + updatedAfter: z.nullable(z.date().transform(v => v.toISOString())) + .optional(), }).transform((v) => { return remap$(v, { updatedAfter: "updated_after", diff --git a/src/sdk/models/operations/atslistjobpostings.ts b/src/sdk/models/operations/atslistjobpostings.ts index 23a2af458..08e6cc1f1 100644 --- a/src/sdk/models/operations/atslistjobpostings.ts +++ b/src/sdk/models/operations/atslistjobpostings.ts @@ -16,11 +16,11 @@ export type AtsListJobPostingsQueryParamFilter = { /** * Use a string with a date to only select results created after that given date */ - createdAfter?: string | null | undefined; + createdAfter?: Date | null | undefined; /** * Use a string with a date to only select results updated after that given date */ - updatedAfter?: string | null | undefined; + updatedAfter?: Date | null | undefined; }; export type AtsListJobPostingsRequest = { @@ -102,8 +102,12 @@ export const AtsListJobPostingsQueryParamFilter$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - created_after: z.nullable(z.string()).optional(), - updated_after: z.nullable(z.string()).optional(), + created_after: z.nullable( + z.string().datetime({ offset: true }).transform(v => new Date(v)), + ).optional(), + updated_after: z.nullable( + z.string().datetime({ offset: true }).transform(v => new Date(v)), + ).optional(), }).transform((v) => { return remap$(v, { "created_after": "createdAfter", @@ -123,8 +127,8 @@ export const AtsListJobPostingsQueryParamFilter$outboundSchema: z.ZodType< z.ZodTypeDef, AtsListJobPostingsQueryParamFilter > = z.object({ - createdAfter: z.nullable(z.string()).optional(), - updatedAfter: z.nullable(z.string()).optional(), + createdAfter: z.nullable(z.date().transform(v => v.toISOString())).optional(), + updatedAfter: z.nullable(z.date().transform(v => v.toISOString())).optional(), }).transform((v) => { return remap$(v, { createdAfter: "created_after", diff --git a/src/sdk/models/operations/atslistjobs.ts b/src/sdk/models/operations/atslistjobs.ts index 6e6453f5a..f8c77ac04 100644 --- a/src/sdk/models/operations/atslistjobs.ts +++ b/src/sdk/models/operations/atslistjobs.ts @@ -34,7 +34,7 @@ export type AtsListJobsQueryParamFilter = { /** * Use a string with a date to only select results created after that given date */ - createdAfter?: string | null | undefined; + createdAfter?: Date | null | undefined; /** * The job_status of the job */ @@ -48,7 +48,7 @@ export type AtsListJobsQueryParamFilter = { /** * Use a string with a date to only select results updated after that given date */ - updatedAfter?: string | null | undefined; + updatedAfter?: Date | null | undefined; }; export type AtsListJobsRequest = { @@ -172,10 +172,14 @@ export const AtsListJobsQueryParamFilter$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - created_after: z.nullable(z.string()).optional(), + created_after: z.nullable( + z.string().datetime({ offset: true }).transform(v => new Date(v)), + ).optional(), job_status: z.nullable(JobStatus$inboundSchema).optional(), status: z.nullable(Status$inboundSchema).optional(), - updated_after: z.nullable(z.string()).optional(), + updated_after: z.nullable( + z.string().datetime({ offset: true }).transform(v => new Date(v)), + ).optional(), }).transform((v) => { return remap$(v, { "created_after": "createdAfter", @@ -198,10 +202,10 @@ export const AtsListJobsQueryParamFilter$outboundSchema: z.ZodType< z.ZodTypeDef, AtsListJobsQueryParamFilter > = z.object({ - createdAfter: z.nullable(z.string()).optional(), + createdAfter: z.nullable(z.date().transform(v => v.toISOString())).optional(), jobStatus: z.nullable(JobStatus$outboundSchema).optional(), status: z.nullable(Status$outboundSchema).optional(), - updatedAfter: z.nullable(z.string()).optional(), + updatedAfter: z.nullable(z.date().transform(v => v.toISOString())).optional(), }).transform((v) => { return remap$(v, { createdAfter: "created_after", diff --git a/src/sdk/models/operations/atslistlists.ts b/src/sdk/models/operations/atslistlists.ts index a9f8d359f..fd86ff426 100644 --- a/src/sdk/models/operations/atslistlists.ts +++ b/src/sdk/models/operations/atslistlists.ts @@ -16,7 +16,7 @@ export type AtsListListsQueryParamFilter = { /** * Use a string with a date to only select results updated after that given date */ - updatedAfter?: string | null | undefined; + updatedAfter?: Date | null | undefined; }; export type AtsListListsRequest = { @@ -88,7 +88,9 @@ export const AtsListListsQueryParamFilter$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - updated_after: z.nullable(z.string()).optional(), + updated_after: z.nullable( + z.string().datetime({ offset: true }).transform(v => new Date(v)), + ).optional(), }).transform((v) => { return remap$(v, { "updated_after": "updatedAfter", @@ -106,7 +108,7 @@ export const AtsListListsQueryParamFilter$outboundSchema: z.ZodType< z.ZodTypeDef, AtsListListsQueryParamFilter > = z.object({ - updatedAfter: z.nullable(z.string()).optional(), + updatedAfter: z.nullable(z.date().transform(v => v.toISOString())).optional(), }).transform((v) => { return remap$(v, { updatedAfter: "updated_after", diff --git a/src/sdk/models/operations/atslistlocations.ts b/src/sdk/models/operations/atslistlocations.ts index cb8254fc2..cb5af1139 100644 --- a/src/sdk/models/operations/atslistlocations.ts +++ b/src/sdk/models/operations/atslistlocations.ts @@ -16,7 +16,7 @@ export type AtsListLocationsQueryParamFilter = { /** * Use a string with a date to only select results updated after that given date */ - updatedAfter?: string | null | undefined; + updatedAfter?: Date | null | undefined; }; export type AtsListLocationsRequest = { @@ -94,7 +94,9 @@ export const AtsListLocationsQueryParamFilter$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - updated_after: z.nullable(z.string()).optional(), + updated_after: z.nullable( + z.string().datetime({ offset: true }).transform(v => new Date(v)), + ).optional(), }).transform((v) => { return remap$(v, { "updated_after": "updatedAfter", @@ -112,7 +114,7 @@ export const AtsListLocationsQueryParamFilter$outboundSchema: z.ZodType< z.ZodTypeDef, AtsListLocationsQueryParamFilter > = z.object({ - updatedAfter: z.nullable(z.string()).optional(), + updatedAfter: z.nullable(z.date().transform(v => v.toISOString())).optional(), }).transform((v) => { return remap$(v, { updatedAfter: "updated_after", diff --git a/src/sdk/models/operations/atslistoffers.ts b/src/sdk/models/operations/atslistoffers.ts index 490f659f8..fb009384f 100644 --- a/src/sdk/models/operations/atslistoffers.ts +++ b/src/sdk/models/operations/atslistoffers.ts @@ -16,7 +16,7 @@ export type AtsListOffersQueryParamFilter = { /** * Use a string with a date to only select results updated after that given date */ - updatedAfter?: string | null | undefined; + updatedAfter?: Date | null | undefined; }; export type AtsListOffersRequest = { @@ -94,7 +94,9 @@ export const AtsListOffersQueryParamFilter$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - updated_after: z.nullable(z.string()).optional(), + updated_after: z.nullable( + z.string().datetime({ offset: true }).transform(v => new Date(v)), + ).optional(), }).transform((v) => { return remap$(v, { "updated_after": "updatedAfter", @@ -112,7 +114,7 @@ export const AtsListOffersQueryParamFilter$outboundSchema: z.ZodType< z.ZodTypeDef, AtsListOffersQueryParamFilter > = z.object({ - updatedAfter: z.nullable(z.string()).optional(), + updatedAfter: z.nullable(z.date().transform(v => v.toISOString())).optional(), }).transform((v) => { return remap$(v, { updatedAfter: "updated_after", diff --git a/src/sdk/models/operations/atslistrejectedreasons.ts b/src/sdk/models/operations/atslistrejectedreasons.ts index 903d47d39..30c21d389 100644 --- a/src/sdk/models/operations/atslistrejectedreasons.ts +++ b/src/sdk/models/operations/atslistrejectedreasons.ts @@ -16,7 +16,7 @@ export type AtsListRejectedReasonsQueryParamFilter = { /** * Use a string with a date to only select results updated after that given date */ - updatedAfter?: string | null | undefined; + updatedAfter?: Date | null | undefined; }; export type AtsListRejectedReasonsRequest = { @@ -94,7 +94,9 @@ export const AtsListRejectedReasonsQueryParamFilter$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - updated_after: z.nullable(z.string()).optional(), + updated_after: z.nullable( + z.string().datetime({ offset: true }).transform(v => new Date(v)), + ).optional(), }).transform((v) => { return remap$(v, { "updated_after": "updatedAfter", @@ -112,7 +114,7 @@ export const AtsListRejectedReasonsQueryParamFilter$outboundSchema: z.ZodType< z.ZodTypeDef, AtsListRejectedReasonsQueryParamFilter > = z.object({ - updatedAfter: z.nullable(z.string()).optional(), + updatedAfter: z.nullable(z.date().transform(v => v.toISOString())).optional(), }).transform((v) => { return remap$(v, { updatedAfter: "updated_after", diff --git a/src/sdk/models/operations/atslistusers.ts b/src/sdk/models/operations/atslistusers.ts index 3e47da7dd..26861d74b 100644 --- a/src/sdk/models/operations/atslistusers.ts +++ b/src/sdk/models/operations/atslistusers.ts @@ -16,7 +16,7 @@ export type AtsListUsersQueryParamFilter = { /** * Use a string with a date to only select results updated after that given date */ - updatedAfter?: string | null | undefined; + updatedAfter?: Date | null | undefined; }; export type AtsListUsersRequest = { @@ -94,7 +94,9 @@ export const AtsListUsersQueryParamFilter$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - updated_after: z.nullable(z.string()).optional(), + updated_after: z.nullable( + z.string().datetime({ offset: true }).transform(v => new Date(v)), + ).optional(), }).transform((v) => { return remap$(v, { "updated_after": "updatedAfter", @@ -112,7 +114,7 @@ export const AtsListUsersQueryParamFilter$outboundSchema: z.ZodType< z.ZodTypeDef, AtsListUsersQueryParamFilter > = z.object({ - updatedAfter: z.nullable(z.string()).optional(), + updatedAfter: z.nullable(z.date().transform(v => v.toISOString())).optional(), }).transform((v) => { return remap$(v, { updatedAfter: "updated_after", diff --git a/src/sdk/models/operations/crmgetcontactcustomfielddefinition.ts b/src/sdk/models/operations/crmgetcontactcustomfielddefinition.ts index c9773f7ce..c8706dc5f 100644 --- a/src/sdk/models/operations/crmgetcontactcustomfielddefinition.ts +++ b/src/sdk/models/operations/crmgetcontactcustomfielddefinition.ts @@ -16,7 +16,7 @@ export type CrmGetContactCustomFieldDefinitionQueryParamFilter = { /** * Use a string with a date to only select results updated after that given date */ - updatedAfter?: string | null | undefined; + updatedAfter?: Date | null | undefined; }; export type CrmGetContactCustomFieldDefinitionRequest = { @@ -95,7 +95,9 @@ export const CrmGetContactCustomFieldDefinitionQueryParamFilter$inboundSchema: z.ZodTypeDef, unknown > = z.object({ - updated_after: z.nullable(z.string()).optional(), + updated_after: z.nullable( + z.string().datetime({ offset: true }).transform(v => new Date(v)), + ).optional(), }).transform((v) => { return remap$(v, { "updated_after": "updatedAfter", @@ -114,7 +116,8 @@ export const CrmGetContactCustomFieldDefinitionQueryParamFilter$outboundSchema: z.ZodTypeDef, CrmGetContactCustomFieldDefinitionQueryParamFilter > = z.object({ - updatedAfter: z.nullable(z.string()).optional(), + updatedAfter: z.nullable(z.date().transform(v => v.toISOString())) + .optional(), }).transform((v) => { return remap$(v, { updatedAfter: "updated_after", diff --git a/src/sdk/models/operations/crmlistaccounts.ts b/src/sdk/models/operations/crmlistaccounts.ts index 7e80fed07..62dcb1f75 100644 --- a/src/sdk/models/operations/crmlistaccounts.ts +++ b/src/sdk/models/operations/crmlistaccounts.ts @@ -16,7 +16,7 @@ export type CrmListAccountsQueryParamFilter = { /** * Use a string with a date to only select results updated after that given date */ - updatedAfter?: string | null | undefined; + updatedAfter?: Date | null | undefined; }; export type CrmListAccountsRequest = { @@ -88,7 +88,9 @@ export const CrmListAccountsQueryParamFilter$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - updated_after: z.nullable(z.string()).optional(), + updated_after: z.nullable( + z.string().datetime({ offset: true }).transform(v => new Date(v)), + ).optional(), }).transform((v) => { return remap$(v, { "updated_after": "updatedAfter", @@ -106,7 +108,7 @@ export const CrmListAccountsQueryParamFilter$outboundSchema: z.ZodType< z.ZodTypeDef, CrmListAccountsQueryParamFilter > = z.object({ - updatedAfter: z.nullable(z.string()).optional(), + updatedAfter: z.nullable(z.date().transform(v => v.toISOString())).optional(), }).transform((v) => { return remap$(v, { updatedAfter: "updated_after", diff --git a/src/sdk/models/operations/crmlistcontactcustomfielddefinitions.ts b/src/sdk/models/operations/crmlistcontactcustomfielddefinitions.ts index 6082988f0..cebc2f23f 100644 --- a/src/sdk/models/operations/crmlistcontactcustomfielddefinitions.ts +++ b/src/sdk/models/operations/crmlistcontactcustomfielddefinitions.ts @@ -16,7 +16,7 @@ export type CrmListContactCustomFieldDefinitionsQueryParamFilter = { /** * Use a string with a date to only select results updated after that given date */ - updatedAfter?: string | null | undefined; + updatedAfter?: Date | null | undefined; }; export type CrmListContactCustomFieldDefinitionsRequest = { @@ -94,7 +94,9 @@ export const CrmListContactCustomFieldDefinitionsQueryParamFilter$inboundSchema: z.ZodTypeDef, unknown > = z.object({ - updated_after: z.nullable(z.string()).optional(), + updated_after: z.nullable( + z.string().datetime({ offset: true }).transform(v => new Date(v)), + ).optional(), }).transform((v) => { return remap$(v, { "updated_after": "updatedAfter", @@ -113,7 +115,8 @@ export const CrmListContactCustomFieldDefinitionsQueryParamFilter$outboundSchema z.ZodTypeDef, CrmListContactCustomFieldDefinitionsQueryParamFilter > = z.object({ - updatedAfter: z.nullable(z.string()).optional(), + updatedAfter: z.nullable(z.date().transform(v => v.toISOString())) + .optional(), }).transform((v) => { return remap$(v, { updatedAfter: "updated_after", diff --git a/src/sdk/models/operations/crmlistcontacts.ts b/src/sdk/models/operations/crmlistcontacts.ts index fe372d10a..7ba372a2f 100644 --- a/src/sdk/models/operations/crmlistcontacts.ts +++ b/src/sdk/models/operations/crmlistcontacts.ts @@ -16,7 +16,7 @@ export type CrmListContactsQueryParamFilter = { /** * Use a string with a date to only select results updated after that given date */ - updatedAfter?: string | null | undefined; + updatedAfter?: Date | null | undefined; }; export type CrmListContactsRequest = { @@ -92,7 +92,9 @@ export const CrmListContactsQueryParamFilter$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - updated_after: z.nullable(z.string()).optional(), + updated_after: z.nullable( + z.string().datetime({ offset: true }).transform(v => new Date(v)), + ).optional(), }).transform((v) => { return remap$(v, { "updated_after": "updatedAfter", @@ -110,7 +112,7 @@ export const CrmListContactsQueryParamFilter$outboundSchema: z.ZodType< z.ZodTypeDef, CrmListContactsQueryParamFilter > = z.object({ - updatedAfter: z.nullable(z.string()).optional(), + updatedAfter: z.nullable(z.date().transform(v => v.toISOString())).optional(), }).transform((v) => { return remap$(v, { updatedAfter: "updated_after", diff --git a/src/sdk/models/operations/crmlistlists.ts b/src/sdk/models/operations/crmlistlists.ts index b9a91f039..9376245d5 100644 --- a/src/sdk/models/operations/crmlistlists.ts +++ b/src/sdk/models/operations/crmlistlists.ts @@ -16,7 +16,7 @@ export type CrmListListsQueryParamFilter = { /** * Use a string with a date to only select results updated after that given date */ - updatedAfter?: string | null | undefined; + updatedAfter?: Date | null | undefined; }; export type CrmListListsRequest = { @@ -88,7 +88,9 @@ export const CrmListListsQueryParamFilter$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - updated_after: z.nullable(z.string()).optional(), + updated_after: z.nullable( + z.string().datetime({ offset: true }).transform(v => new Date(v)), + ).optional(), }).transform((v) => { return remap$(v, { "updated_after": "updatedAfter", @@ -106,7 +108,7 @@ export const CrmListListsQueryParamFilter$outboundSchema: z.ZodType< z.ZodTypeDef, CrmListListsQueryParamFilter > = z.object({ - updatedAfter: z.nullable(z.string()).optional(), + updatedAfter: z.nullable(z.date().transform(v => v.toISOString())).optional(), }).transform((v) => { return remap$(v, { updatedAfter: "updated_after", diff --git a/src/sdk/models/operations/documentslistdrives.ts b/src/sdk/models/operations/documentslistdrives.ts index c2ad05247..1db9cca9e 100644 --- a/src/sdk/models/operations/documentslistdrives.ts +++ b/src/sdk/models/operations/documentslistdrives.ts @@ -16,7 +16,7 @@ export type DocumentsListDrivesQueryParamFilter = { /** * Use a string with a date to only select results updated after that given date */ - updatedAfter?: string | null | undefined; + updatedAfter?: Date | null | undefined; }; export type DocumentsListDrivesRequest = { @@ -88,7 +88,9 @@ export const DocumentsListDrivesQueryParamFilter$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - updated_after: z.nullable(z.string()).optional(), + updated_after: z.nullable( + z.string().datetime({ offset: true }).transform(v => new Date(v)), + ).optional(), }).transform((v) => { return remap$(v, { "updated_after": "updatedAfter", @@ -106,7 +108,7 @@ export const DocumentsListDrivesQueryParamFilter$outboundSchema: z.ZodType< z.ZodTypeDef, DocumentsListDrivesQueryParamFilter > = z.object({ - updatedAfter: z.nullable(z.string()).optional(), + updatedAfter: z.nullable(z.date().transform(v => v.toISOString())).optional(), }).transform((v) => { return remap$(v, { updatedAfter: "updated_after", diff --git a/src/sdk/models/operations/documentslistfiles.ts b/src/sdk/models/operations/documentslistfiles.ts index c693d037c..06eca7f1a 100644 --- a/src/sdk/models/operations/documentslistfiles.ts +++ b/src/sdk/models/operations/documentslistfiles.ts @@ -20,7 +20,7 @@ export type DocumentsListFilesQueryParamFilter = { /** * Use a string with a date to only select results created after that given date */ - createdAfter?: string | null | undefined; + createdAfter?: Date | null | undefined; /** * Use to only include Files within the specified Drive */ @@ -36,7 +36,7 @@ export type DocumentsListFilesQueryParamFilter = { /** * Use a string with a date to only select results updated after that given date */ - updatedAfter?: string | null | undefined; + updatedAfter?: Date | null | undefined; }; export type DocumentsListFilesRequest = { @@ -125,11 +125,15 @@ export const DocumentsListFilesQueryParamFilter$inboundSchema: z.ZodType< unknown > = z.object({ content: z.nullable(z.string()).optional(), - created_after: z.nullable(z.string()).optional(), + created_after: z.nullable( + z.string().datetime({ offset: true }).transform(v => new Date(v)), + ).optional(), drive_id: z.nullable(z.string()).optional(), folder_id: z.nullable(z.string()).optional(), name: z.nullable(z.string()).optional(), - updated_after: z.nullable(z.string()).optional(), + updated_after: z.nullable( + z.string().datetime({ offset: true }).transform(v => new Date(v)), + ).optional(), }).transform((v) => { return remap$(v, { "created_after": "createdAfter", @@ -156,11 +160,11 @@ export const DocumentsListFilesQueryParamFilter$outboundSchema: z.ZodType< DocumentsListFilesQueryParamFilter > = z.object({ content: z.nullable(z.string()).optional(), - createdAfter: z.nullable(z.string()).optional(), + createdAfter: z.nullable(z.date().transform(v => v.toISOString())).optional(), driveId: z.nullable(z.string()).optional(), folderId: z.nullable(z.string()).optional(), name: z.nullable(z.string()).optional(), - updatedAfter: z.nullable(z.string()).optional(), + updatedAfter: z.nullable(z.date().transform(v => v.toISOString())).optional(), }).transform((v) => { return remap$(v, { createdAfter: "created_after", diff --git a/src/sdk/models/operations/documentslistfolders.ts b/src/sdk/models/operations/documentslistfolders.ts index f7704bc47..015cf7249 100644 --- a/src/sdk/models/operations/documentslistfolders.ts +++ b/src/sdk/models/operations/documentslistfolders.ts @@ -24,7 +24,7 @@ export type DocumentsListFoldersQueryParamFilter = { /** * Use a string with a date to only select results updated after that given date */ - updatedAfter?: string | null | undefined; + updatedAfter?: Date | null | undefined; }; export type DocumentsListFoldersRequest = { @@ -110,7 +110,9 @@ export const DocumentsListFoldersQueryParamFilter$inboundSchema: z.ZodType< > = z.object({ drive_id: z.nullable(z.string()).optional(), folder_id: z.nullable(z.string()).optional(), - updated_after: z.nullable(z.string()).optional(), + updated_after: z.nullable( + z.string().datetime({ offset: true }).transform(v => new Date(v)), + ).optional(), }).transform((v) => { return remap$(v, { "drive_id": "driveId", @@ -134,7 +136,7 @@ export const DocumentsListFoldersQueryParamFilter$outboundSchema: z.ZodType< > = z.object({ driveId: z.nullable(z.string()).optional(), folderId: z.nullable(z.string()).optional(), - updatedAfter: z.nullable(z.string()).optional(), + updatedAfter: z.nullable(z.date().transform(v => v.toISOString())).optional(), }).transform((v) => { return remap$(v, { driveId: "drive_id", diff --git a/src/sdk/models/operations/hrisgetemployeecustomfielddefinition.ts b/src/sdk/models/operations/hrisgetemployeecustomfielddefinition.ts index cda583607..628643723 100644 --- a/src/sdk/models/operations/hrisgetemployeecustomfielddefinition.ts +++ b/src/sdk/models/operations/hrisgetemployeecustomfielddefinition.ts @@ -16,7 +16,7 @@ export type HrisGetEmployeeCustomFieldDefinitionQueryParamFilter = { /** * Use a string with a date to only select results updated after that given date */ - updatedAfter?: string | null | undefined; + updatedAfter?: Date | null | undefined; }; export type HrisGetEmployeeCustomFieldDefinitionRequest = { @@ -95,7 +95,9 @@ export const HrisGetEmployeeCustomFieldDefinitionQueryParamFilter$inboundSchema: z.ZodTypeDef, unknown > = z.object({ - updated_after: z.nullable(z.string()).optional(), + updated_after: z.nullable( + z.string().datetime({ offset: true }).transform(v => new Date(v)), + ).optional(), }).transform((v) => { return remap$(v, { "updated_after": "updatedAfter", @@ -114,7 +116,8 @@ export const HrisGetEmployeeCustomFieldDefinitionQueryParamFilter$outboundSchema z.ZodTypeDef, HrisGetEmployeeCustomFieldDefinitionQueryParamFilter > = z.object({ - updatedAfter: z.nullable(z.string()).optional(), + updatedAfter: z.nullable(z.date().transform(v => v.toISOString())) + .optional(), }).transform((v) => { return remap$(v, { updatedAfter: "updated_after", diff --git a/src/sdk/models/operations/hrislistbenefits.ts b/src/sdk/models/operations/hrislistbenefits.ts index bf21cca6a..38f38335b 100644 --- a/src/sdk/models/operations/hrislistbenefits.ts +++ b/src/sdk/models/operations/hrislistbenefits.ts @@ -16,7 +16,7 @@ export type HrisListBenefitsQueryParamFilter = { /** * Use a string with a date to only select results updated after that given date */ - updatedAfter?: string | null | undefined; + updatedAfter?: Date | null | undefined; }; export type HrisListBenefitsRequest = { @@ -88,7 +88,9 @@ export const HrisListBenefitsQueryParamFilter$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - updated_after: z.nullable(z.string()).optional(), + updated_after: z.nullable( + z.string().datetime({ offset: true }).transform(v => new Date(v)), + ).optional(), }).transform((v) => { return remap$(v, { "updated_after": "updatedAfter", @@ -106,7 +108,7 @@ export const HrisListBenefitsQueryParamFilter$outboundSchema: z.ZodType< z.ZodTypeDef, HrisListBenefitsQueryParamFilter > = z.object({ - updatedAfter: z.nullable(z.string()).optional(), + updatedAfter: z.nullable(z.date().transform(v => v.toISOString())).optional(), }).transform((v) => { return remap$(v, { updatedAfter: "updated_after", diff --git a/src/sdk/models/operations/hrislistcompanies.ts b/src/sdk/models/operations/hrislistcompanies.ts index 329f2d356..666904e1f 100644 --- a/src/sdk/models/operations/hrislistcompanies.ts +++ b/src/sdk/models/operations/hrislistcompanies.ts @@ -16,7 +16,7 @@ export type HrisListCompaniesQueryParamFilter = { /** * Use a string with a date to only select results updated after that given date */ - updatedAfter?: string | null | undefined; + updatedAfter?: Date | null | undefined; }; export type HrisListCompaniesRequest = { @@ -88,7 +88,9 @@ export const HrisListCompaniesQueryParamFilter$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - updated_after: z.nullable(z.string()).optional(), + updated_after: z.nullable( + z.string().datetime({ offset: true }).transform(v => new Date(v)), + ).optional(), }).transform((v) => { return remap$(v, { "updated_after": "updatedAfter", @@ -106,7 +108,7 @@ export const HrisListCompaniesQueryParamFilter$outboundSchema: z.ZodType< z.ZodTypeDef, HrisListCompaniesQueryParamFilter > = z.object({ - updatedAfter: z.nullable(z.string()).optional(), + updatedAfter: z.nullable(z.date().transform(v => v.toISOString())).optional(), }).transform((v) => { return remap$(v, { updatedAfter: "updated_after", diff --git a/src/sdk/models/operations/hrislistcompaniesgroups.ts b/src/sdk/models/operations/hrislistcompaniesgroups.ts index f9fc5ea70..90b4c3285 100644 --- a/src/sdk/models/operations/hrislistcompaniesgroups.ts +++ b/src/sdk/models/operations/hrislistcompaniesgroups.ts @@ -16,7 +16,7 @@ export type HrisListCompaniesGroupsQueryParamFilter = { /** * Use a string with a date to only select results updated after that given date */ - updatedAfter?: string | null | undefined; + updatedAfter?: Date | null | undefined; }; export type HrisListCompaniesGroupsRequest = { @@ -88,7 +88,9 @@ export const HrisListCompaniesGroupsQueryParamFilter$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - updated_after: z.nullable(z.string()).optional(), + updated_after: z.nullable( + z.string().datetime({ offset: true }).transform(v => new Date(v)), + ).optional(), }).transform((v) => { return remap$(v, { "updated_after": "updatedAfter", @@ -106,7 +108,7 @@ export const HrisListCompaniesGroupsQueryParamFilter$outboundSchema: z.ZodType< z.ZodTypeDef, HrisListCompaniesGroupsQueryParamFilter > = z.object({ - updatedAfter: z.nullable(z.string()).optional(), + updatedAfter: z.nullable(z.date().transform(v => v.toISOString())).optional(), }).transform((v) => { return remap$(v, { updatedAfter: "updated_after", diff --git a/src/sdk/models/operations/hrislistcostcentergroups.ts b/src/sdk/models/operations/hrislistcostcentergroups.ts index 4665f7a77..3d078ad3d 100644 --- a/src/sdk/models/operations/hrislistcostcentergroups.ts +++ b/src/sdk/models/operations/hrislistcostcentergroups.ts @@ -16,7 +16,7 @@ export type HrisListCostCenterGroupsQueryParamFilter = { /** * Use a string with a date to only select results updated after that given date */ - updatedAfter?: string | null | undefined; + updatedAfter?: Date | null | undefined; }; export type HrisListCostCenterGroupsRequest = { @@ -88,7 +88,9 @@ export const HrisListCostCenterGroupsQueryParamFilter$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - updated_after: z.nullable(z.string()).optional(), + updated_after: z.nullable( + z.string().datetime({ offset: true }).transform(v => new Date(v)), + ).optional(), }).transform((v) => { return remap$(v, { "updated_after": "updatedAfter", @@ -106,7 +108,7 @@ export const HrisListCostCenterGroupsQueryParamFilter$outboundSchema: z.ZodType< z.ZodTypeDef, HrisListCostCenterGroupsQueryParamFilter > = z.object({ - updatedAfter: z.nullable(z.string()).optional(), + updatedAfter: z.nullable(z.date().transform(v => v.toISOString())).optional(), }).transform((v) => { return remap$(v, { updatedAfter: "updated_after", diff --git a/src/sdk/models/operations/hrislistdepartmentgroups.ts b/src/sdk/models/operations/hrislistdepartmentgroups.ts index 44dad1d4c..0faeb5a34 100644 --- a/src/sdk/models/operations/hrislistdepartmentgroups.ts +++ b/src/sdk/models/operations/hrislistdepartmentgroups.ts @@ -16,7 +16,7 @@ export type HrisListDepartmentGroupsQueryParamFilter = { /** * Use a string with a date to only select results updated after that given date */ - updatedAfter?: string | null | undefined; + updatedAfter?: Date | null | undefined; }; export type HrisListDepartmentGroupsRequest = { @@ -88,7 +88,9 @@ export const HrisListDepartmentGroupsQueryParamFilter$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - updated_after: z.nullable(z.string()).optional(), + updated_after: z.nullable( + z.string().datetime({ offset: true }).transform(v => new Date(v)), + ).optional(), }).transform((v) => { return remap$(v, { "updated_after": "updatedAfter", @@ -106,7 +108,7 @@ export const HrisListDepartmentGroupsQueryParamFilter$outboundSchema: z.ZodType< z.ZodTypeDef, HrisListDepartmentGroupsQueryParamFilter > = z.object({ - updatedAfter: z.nullable(z.string()).optional(), + updatedAfter: z.nullable(z.date().transform(v => v.toISOString())).optional(), }).transform((v) => { return remap$(v, { updatedAfter: "updated_after", diff --git a/src/sdk/models/operations/hrislistdivisiongroups.ts b/src/sdk/models/operations/hrislistdivisiongroups.ts index 2299daced..c52f747f1 100644 --- a/src/sdk/models/operations/hrislistdivisiongroups.ts +++ b/src/sdk/models/operations/hrislistdivisiongroups.ts @@ -16,7 +16,7 @@ export type HrisListDivisionGroupsQueryParamFilter = { /** * Use a string with a date to only select results updated after that given date */ - updatedAfter?: string | null | undefined; + updatedAfter?: Date | null | undefined; }; export type HrisListDivisionGroupsRequest = { @@ -88,7 +88,9 @@ export const HrisListDivisionGroupsQueryParamFilter$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - updated_after: z.nullable(z.string()).optional(), + updated_after: z.nullable( + z.string().datetime({ offset: true }).transform(v => new Date(v)), + ).optional(), }).transform((v) => { return remap$(v, { "updated_after": "updatedAfter", @@ -106,7 +108,7 @@ export const HrisListDivisionGroupsQueryParamFilter$outboundSchema: z.ZodType< z.ZodTypeDef, HrisListDivisionGroupsQueryParamFilter > = z.object({ - updatedAfter: z.nullable(z.string()).optional(), + updatedAfter: z.nullable(z.date().transform(v => v.toISOString())).optional(), }).transform((v) => { return remap$(v, { updatedAfter: "updated_after", diff --git a/src/sdk/models/operations/hrislistemployeecategories.ts b/src/sdk/models/operations/hrislistemployeecategories.ts index cfe5107b7..6cd75f9b0 100644 --- a/src/sdk/models/operations/hrislistemployeecategories.ts +++ b/src/sdk/models/operations/hrislistemployeecategories.ts @@ -16,7 +16,7 @@ export type HrisListEmployeeCategoriesQueryParamFilter = { /** * Use a string with a date to only select results updated after that given date */ - updatedAfter?: string | null | undefined; + updatedAfter?: Date | null | undefined; }; export type HrisListEmployeeCategoriesRequest = { @@ -86,7 +86,9 @@ export type HrisListEmployeeCategoriesResponse = { export const HrisListEmployeeCategoriesQueryParamFilter$inboundSchema: z.ZodType = z.object({ - updated_after: z.nullable(z.string()).optional(), + updated_after: z.nullable( + z.string().datetime({ offset: true }).transform(v => new Date(v)), + ).optional(), }).transform((v) => { return remap$(v, { "updated_after": "updatedAfter", @@ -105,7 +107,8 @@ export const HrisListEmployeeCategoriesQueryParamFilter$outboundSchema: z.ZodTypeDef, HrisListEmployeeCategoriesQueryParamFilter > = z.object({ - updatedAfter: z.nullable(z.string()).optional(), + updatedAfter: z.nullable(z.date().transform(v => v.toISOString())) + .optional(), }).transform((v) => { return remap$(v, { updatedAfter: "updated_after", diff --git a/src/sdk/models/operations/hrislistemployeecustomfielddefinitions.ts b/src/sdk/models/operations/hrislistemployeecustomfielddefinitions.ts index 748feeeeb..b7cba026d 100644 --- a/src/sdk/models/operations/hrislistemployeecustomfielddefinitions.ts +++ b/src/sdk/models/operations/hrislistemployeecustomfielddefinitions.ts @@ -16,7 +16,7 @@ export type HrisListEmployeeCustomFieldDefinitionsQueryParamFilter = { /** * Use a string with a date to only select results updated after that given date */ - updatedAfter?: string | null | undefined; + updatedAfter?: Date | null | undefined; }; export type HrisListEmployeeCustomFieldDefinitionsRequest = { @@ -94,7 +94,9 @@ export const HrisListEmployeeCustomFieldDefinitionsQueryParamFilter$inboundSchem z.ZodTypeDef, unknown > = z.object({ - updated_after: z.nullable(z.string()).optional(), + updated_after: z.nullable( + z.string().datetime({ offset: true }).transform(v => new Date(v)), + ).optional(), }).transform((v) => { return remap$(v, { "updated_after": "updatedAfter", @@ -113,7 +115,8 @@ export const HrisListEmployeeCustomFieldDefinitionsQueryParamFilter$outboundSche z.ZodTypeDef, HrisListEmployeeCustomFieldDefinitionsQueryParamFilter > = z.object({ - updatedAfter: z.nullable(z.string()).optional(), + updatedAfter: z.nullable(z.date().transform(v => v.toISOString())) + .optional(), }).transform((v) => { return remap$(v, { updatedAfter: "updated_after", diff --git a/src/sdk/models/operations/hrislistemployeedocuments.ts b/src/sdk/models/operations/hrislistemployeedocuments.ts index 17ed6b026..461a65bfe 100644 --- a/src/sdk/models/operations/hrislistemployeedocuments.ts +++ b/src/sdk/models/operations/hrislistemployeedocuments.ts @@ -16,7 +16,7 @@ export type HrisListEmployeeDocumentsQueryParamFilter = { /** * Use a string with a date to only select results updated after that given date */ - updatedAfter?: string | null | undefined; + updatedAfter?: Date | null | undefined; }; export type HrisListEmployeeDocumentsRequest = { @@ -89,7 +89,9 @@ export const HrisListEmployeeDocumentsQueryParamFilter$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - updated_after: z.nullable(z.string()).optional(), + updated_after: z.nullable( + z.string().datetime({ offset: true }).transform(v => new Date(v)), + ).optional(), }).transform((v) => { return remap$(v, { "updated_after": "updatedAfter", @@ -108,7 +110,8 @@ export const HrisListEmployeeDocumentsQueryParamFilter$outboundSchema: z.ZodTypeDef, HrisListEmployeeDocumentsQueryParamFilter > = z.object({ - updatedAfter: z.nullable(z.string()).optional(), + updatedAfter: z.nullable(z.date().transform(v => v.toISOString())) + .optional(), }).transform((v) => { return remap$(v, { updatedAfter: "updated_after", diff --git a/src/sdk/models/operations/hrislistemployeeemployments.ts b/src/sdk/models/operations/hrislistemployeeemployments.ts index cc57fd281..5ec859eb3 100644 --- a/src/sdk/models/operations/hrislistemployeeemployments.ts +++ b/src/sdk/models/operations/hrislistemployeeemployments.ts @@ -16,7 +16,7 @@ export type HrisListEmployeeEmploymentsQueryParamFilter = { /** * Use a string with a date to only select results updated after that given date */ - updatedAfter?: string | null | undefined; + updatedAfter?: Date | null | undefined; }; export type HrisListEmployeeEmploymentsRequest = { @@ -94,7 +94,9 @@ export const HrisListEmployeeEmploymentsQueryParamFilter$inboundSchema: z.ZodTypeDef, unknown > = z.object({ - updated_after: z.nullable(z.string()).optional(), + updated_after: z.nullable( + z.string().datetime({ offset: true }).transform(v => new Date(v)), + ).optional(), }).transform((v) => { return remap$(v, { "updated_after": "updatedAfter", @@ -113,7 +115,8 @@ export const HrisListEmployeeEmploymentsQueryParamFilter$outboundSchema: z.ZodTypeDef, HrisListEmployeeEmploymentsQueryParamFilter > = z.object({ - updatedAfter: z.nullable(z.string()).optional(), + updatedAfter: z.nullable(z.date().transform(v => v.toISOString())) + .optional(), }).transform((v) => { return remap$(v, { updatedAfter: "updated_after", diff --git a/src/sdk/models/operations/hrislistemployees.ts b/src/sdk/models/operations/hrislistemployees.ts index 85808fc4e..6e4e37f0e 100644 --- a/src/sdk/models/operations/hrislistemployees.ts +++ b/src/sdk/models/operations/hrislistemployees.ts @@ -24,7 +24,7 @@ export type HrisListEmployeesQueryParamFilter = { /** * Use a string with a date to only select results updated after that given date */ - updatedAfter?: string | null | undefined; + updatedAfter?: Date | null | undefined; }; export type HrisListEmployeesRequest = { @@ -106,7 +106,9 @@ export const HrisListEmployeesQueryParamFilter$inboundSchema: z.ZodType< > = z.object({ email: z.nullable(z.string()).optional(), employee_number: z.nullable(z.string()).optional(), - updated_after: z.nullable(z.string()).optional(), + updated_after: z.nullable( + z.string().datetime({ offset: true }).transform(v => new Date(v)), + ).optional(), }).transform((v) => { return remap$(v, { "employee_number": "employeeNumber", @@ -129,7 +131,7 @@ export const HrisListEmployeesQueryParamFilter$outboundSchema: z.ZodType< > = z.object({ email: z.nullable(z.string()).optional(), employeeNumber: z.nullable(z.string()).optional(), - updatedAfter: z.nullable(z.string()).optional(), + updatedAfter: z.nullable(z.date().transform(v => v.toISOString())).optional(), }).transform((v) => { return remap$(v, { employeeNumber: "employee_number", diff --git a/src/sdk/models/operations/hrislistemployeeskills.ts b/src/sdk/models/operations/hrislistemployeeskills.ts index 563e73027..0776170ef 100644 --- a/src/sdk/models/operations/hrislistemployeeskills.ts +++ b/src/sdk/models/operations/hrislistemployeeskills.ts @@ -16,7 +16,7 @@ export type HrisListEmployeeSkillsQueryParamFilter = { /** * Use a string with a date to only select results updated after that given date */ - updatedAfter?: string | null | undefined; + updatedAfter?: Date | null | undefined; }; export type HrisListEmployeeSkillsRequest = { @@ -89,7 +89,9 @@ export const HrisListEmployeeSkillsQueryParamFilter$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - updated_after: z.nullable(z.string()).optional(), + updated_after: z.nullable( + z.string().datetime({ offset: true }).transform(v => new Date(v)), + ).optional(), }).transform((v) => { return remap$(v, { "updated_after": "updatedAfter", @@ -107,7 +109,7 @@ export const HrisListEmployeeSkillsQueryParamFilter$outboundSchema: z.ZodType< z.ZodTypeDef, HrisListEmployeeSkillsQueryParamFilter > = z.object({ - updatedAfter: z.nullable(z.string()).optional(), + updatedAfter: z.nullable(z.date().transform(v => v.toISOString())).optional(), }).transform((v) => { return remap$(v, { updatedAfter: "updated_after", diff --git a/src/sdk/models/operations/hrislistemployeetasks.ts b/src/sdk/models/operations/hrislistemployeetasks.ts index 948a1d9c8..648eeaa1d 100644 --- a/src/sdk/models/operations/hrislistemployeetasks.ts +++ b/src/sdk/models/operations/hrislistemployeetasks.ts @@ -16,7 +16,7 @@ export type HrisListEmployeeTasksQueryParamFilter = { /** * Use a string with a date to only select results updated after that given date */ - updatedAfter?: string | null | undefined; + updatedAfter?: Date | null | undefined; }; export type HrisListEmployeeTasksRequest = { @@ -93,7 +93,9 @@ export const HrisListEmployeeTasksQueryParamFilter$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - updated_after: z.nullable(z.string()).optional(), + updated_after: z.nullable( + z.string().datetime({ offset: true }).transform(v => new Date(v)), + ).optional(), }).transform((v) => { return remap$(v, { "updated_after": "updatedAfter", @@ -111,7 +113,7 @@ export const HrisListEmployeeTasksQueryParamFilter$outboundSchema: z.ZodType< z.ZodTypeDef, HrisListEmployeeTasksQueryParamFilter > = z.object({ - updatedAfter: z.nullable(z.string()).optional(), + updatedAfter: z.nullable(z.date().transform(v => v.toISOString())).optional(), }).transform((v) => { return remap$(v, { updatedAfter: "updated_after", diff --git a/src/sdk/models/operations/hrislistemployeetimeoffbalances.ts b/src/sdk/models/operations/hrislistemployeetimeoffbalances.ts index 0b0952511..167808f49 100644 --- a/src/sdk/models/operations/hrislistemployeetimeoffbalances.ts +++ b/src/sdk/models/operations/hrislistemployeetimeoffbalances.ts @@ -20,7 +20,7 @@ export type HrisListEmployeeTimeOffBalancesQueryParamFilter = { /** * Use a string with a date to only select results updated after that given date */ - updatedAfter?: string | null | undefined; + updatedAfter?: Date | null | undefined; }; export type HrisListEmployeeTimeOffBalancesRequest = { @@ -99,7 +99,9 @@ export const HrisListEmployeeTimeOffBalancesQueryParamFilter$inboundSchema: unknown > = z.object({ policy_ids: z.nullable(z.array(z.string())).optional(), - updated_after: z.nullable(z.string()).optional(), + updated_after: z.nullable( + z.string().datetime({ offset: true }).transform(v => new Date(v)), + ).optional(), }).transform((v) => { return remap$(v, { "policy_ids": "policyIds", @@ -121,7 +123,8 @@ export const HrisListEmployeeTimeOffBalancesQueryParamFilter$outboundSchema: HrisListEmployeeTimeOffBalancesQueryParamFilter > = z.object({ policyIds: z.nullable(z.array(z.string())).optional(), - updatedAfter: z.nullable(z.string()).optional(), + updatedAfter: z.nullable(z.date().transform(v => v.toISOString())) + .optional(), }).transform((v) => { return remap$(v, { policyIds: "policy_ids", diff --git a/src/sdk/models/operations/hrislistemployeetimeoffpolicies.ts b/src/sdk/models/operations/hrislistemployeetimeoffpolicies.ts index 768b414c9..2da1b8698 100644 --- a/src/sdk/models/operations/hrislistemployeetimeoffpolicies.ts +++ b/src/sdk/models/operations/hrislistemployeetimeoffpolicies.ts @@ -48,7 +48,7 @@ export type HrisListEmployeeTimeOffPoliciesQueryParamFilter = { /** * Use a string with a date to only select results updated after that given date */ - updatedAfter?: string | null | undefined; + updatedAfter?: Date | null | undefined; }; export type HrisListEmployeeTimeOffPoliciesRequest = { @@ -143,7 +143,9 @@ export const HrisListEmployeeTimeOffPoliciesQueryParamFilter$inboundSchema: unknown > = z.object({ type: z.nullable(Type$inboundSchema).optional(), - updated_after: z.nullable(z.string()).optional(), + updated_after: z.nullable( + z.string().datetime({ offset: true }).transform(v => new Date(v)), + ).optional(), }).transform((v) => { return remap$(v, { "updated_after": "updatedAfter", @@ -164,7 +166,8 @@ export const HrisListEmployeeTimeOffPoliciesQueryParamFilter$outboundSchema: HrisListEmployeeTimeOffPoliciesQueryParamFilter > = z.object({ type: z.nullable(Type$outboundSchema).optional(), - updatedAfter: z.nullable(z.string()).optional(), + updatedAfter: z.nullable(z.date().transform(v => v.toISOString())) + .optional(), }).transform((v) => { return remap$(v, { updatedAfter: "updated_after", diff --git a/src/sdk/models/operations/hrislistemployeetimeoffrequests.ts b/src/sdk/models/operations/hrislistemployeetimeoffrequests.ts index 78e947ee0..859b60b3c 100644 --- a/src/sdk/models/operations/hrislistemployeetimeoffrequests.ts +++ b/src/sdk/models/operations/hrislistemployeetimeoffrequests.ts @@ -20,7 +20,7 @@ export type HrisListEmployeeTimeOffRequestsQueryParamFilter = { /** * Use a string with a date to only select results updated after that given date */ - updatedAfter?: string | null | undefined; + updatedAfter?: Date | null | undefined; }; export type HrisListEmployeeTimeOffRequestsRequest = { @@ -99,7 +99,9 @@ export const HrisListEmployeeTimeOffRequestsQueryParamFilter$inboundSchema: unknown > = z.object({ type_ids: z.nullable(z.array(z.string())).optional(), - updated_after: z.nullable(z.string()).optional(), + updated_after: z.nullable( + z.string().datetime({ offset: true }).transform(v => new Date(v)), + ).optional(), }).transform((v) => { return remap$(v, { "type_ids": "typeIds", @@ -121,7 +123,8 @@ export const HrisListEmployeeTimeOffRequestsQueryParamFilter$outboundSchema: HrisListEmployeeTimeOffRequestsQueryParamFilter > = z.object({ typeIds: z.nullable(z.array(z.string())).optional(), - updatedAfter: z.nullable(z.string()).optional(), + updatedAfter: z.nullable(z.date().transform(v => v.toISOString())) + .optional(), }).transform((v) => { return remap$(v, { typeIds: "type_ids", diff --git a/src/sdk/models/operations/hrislistemployeeworkeligibility.ts b/src/sdk/models/operations/hrislistemployeeworkeligibility.ts index d0f655529..8ff294ea6 100644 --- a/src/sdk/models/operations/hrislistemployeeworkeligibility.ts +++ b/src/sdk/models/operations/hrislistemployeeworkeligibility.ts @@ -16,7 +16,7 @@ export type HrisListEmployeeWorkEligibilityQueryParamFilter = { /** * Use a string with a date to only select results updated after that given date */ - updatedAfter?: string | null | undefined; + updatedAfter?: Date | null | undefined; }; export type HrisListEmployeeWorkEligibilityRequest = { @@ -90,7 +90,9 @@ export const HrisListEmployeeWorkEligibilityQueryParamFilter$inboundSchema: z.ZodTypeDef, unknown > = z.object({ - updated_after: z.nullable(z.string()).optional(), + updated_after: z.nullable( + z.string().datetime({ offset: true }).transform(v => new Date(v)), + ).optional(), }).transform((v) => { return remap$(v, { "updated_after": "updatedAfter", @@ -109,7 +111,8 @@ export const HrisListEmployeeWorkEligibilityQueryParamFilter$outboundSchema: z.ZodTypeDef, HrisListEmployeeWorkEligibilityQueryParamFilter > = z.object({ - updatedAfter: z.nullable(z.string()).optional(), + updatedAfter: z.nullable(z.date().transform(v => v.toISOString())) + .optional(), }).transform((v) => { return remap$(v, { updatedAfter: "updated_after", diff --git a/src/sdk/models/operations/hrislistemployments.ts b/src/sdk/models/operations/hrislistemployments.ts index bca30a015..00177facc 100644 --- a/src/sdk/models/operations/hrislistemployments.ts +++ b/src/sdk/models/operations/hrislistemployments.ts @@ -16,7 +16,7 @@ export type HrisListEmploymentsQueryParamFilter = { /** * Use a string with a date to only select results updated after that given date */ - updatedAfter?: string | null | undefined; + updatedAfter?: Date | null | undefined; }; export type HrisListEmploymentsRequest = { @@ -92,7 +92,9 @@ export const HrisListEmploymentsQueryParamFilter$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - updated_after: z.nullable(z.string()).optional(), + updated_after: z.nullable( + z.string().datetime({ offset: true }).transform(v => new Date(v)), + ).optional(), }).transform((v) => { return remap$(v, { "updated_after": "updatedAfter", @@ -110,7 +112,7 @@ export const HrisListEmploymentsQueryParamFilter$outboundSchema: z.ZodType< z.ZodTypeDef, HrisListEmploymentsQueryParamFilter > = z.object({ - updatedAfter: z.nullable(z.string()).optional(), + updatedAfter: z.nullable(z.date().transform(v => v.toISOString())).optional(), }).transform((v) => { return remap$(v, { updatedAfter: "updated_after", diff --git a/src/sdk/models/operations/hrislistgroups.ts b/src/sdk/models/operations/hrislistgroups.ts index a6a65a8cd..c11f51ba6 100644 --- a/src/sdk/models/operations/hrislistgroups.ts +++ b/src/sdk/models/operations/hrislistgroups.ts @@ -16,7 +16,7 @@ export type HrisListGroupsQueryParamFilter = { /** * Use a string with a date to only select results updated after that given date */ - updatedAfter?: string | null | undefined; + updatedAfter?: Date | null | undefined; }; export type HrisListGroupsRequest = { @@ -88,7 +88,9 @@ export const HrisListGroupsQueryParamFilter$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - updated_after: z.nullable(z.string()).optional(), + updated_after: z.nullable( + z.string().datetime({ offset: true }).transform(v => new Date(v)), + ).optional(), }).transform((v) => { return remap$(v, { "updated_after": "updatedAfter", @@ -106,7 +108,7 @@ export const HrisListGroupsQueryParamFilter$outboundSchema: z.ZodType< z.ZodTypeDef, HrisListGroupsQueryParamFilter > = z.object({ - updatedAfter: z.nullable(z.string()).optional(), + updatedAfter: z.nullable(z.date().transform(v => v.toISOString())).optional(), }).transform((v) => { return remap$(v, { updatedAfter: "updated_after", diff --git a/src/sdk/models/operations/hrislistjobs.ts b/src/sdk/models/operations/hrislistjobs.ts index 7f2567eaa..43dc3da6b 100644 --- a/src/sdk/models/operations/hrislistjobs.ts +++ b/src/sdk/models/operations/hrislistjobs.ts @@ -16,7 +16,7 @@ export type HrisListJobsQueryParamFilter = { /** * Use a string with a date to only select results updated after that given date */ - updatedAfter?: string | null | undefined; + updatedAfter?: Date | null | undefined; }; export type HrisListJobsRequest = { @@ -88,7 +88,9 @@ export const HrisListJobsQueryParamFilter$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - updated_after: z.nullable(z.string()).optional(), + updated_after: z.nullable( + z.string().datetime({ offset: true }).transform(v => new Date(v)), + ).optional(), }).transform((v) => { return remap$(v, { "updated_after": "updatedAfter", @@ -106,7 +108,7 @@ export const HrisListJobsQueryParamFilter$outboundSchema: z.ZodType< z.ZodTypeDef, HrisListJobsQueryParamFilter > = z.object({ - updatedAfter: z.nullable(z.string()).optional(), + updatedAfter: z.nullable(z.date().transform(v => v.toISOString())).optional(), }).transform((v) => { return remap$(v, { updatedAfter: "updated_after", diff --git a/src/sdk/models/operations/hrislistlocations.ts b/src/sdk/models/operations/hrislistlocations.ts index f5a65cfc9..7691d7d8f 100644 --- a/src/sdk/models/operations/hrislistlocations.ts +++ b/src/sdk/models/operations/hrislistlocations.ts @@ -16,7 +16,7 @@ export type HrisListLocationsQueryParamFilter = { /** * Use a string with a date to only select results updated after that given date */ - updatedAfter?: string | null | undefined; + updatedAfter?: Date | null | undefined; }; export type HrisListLocationsRequest = { @@ -88,7 +88,9 @@ export const HrisListLocationsQueryParamFilter$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - updated_after: z.nullable(z.string()).optional(), + updated_after: z.nullable( + z.string().datetime({ offset: true }).transform(v => new Date(v)), + ).optional(), }).transform((v) => { return remap$(v, { "updated_after": "updatedAfter", @@ -106,7 +108,7 @@ export const HrisListLocationsQueryParamFilter$outboundSchema: z.ZodType< z.ZodTypeDef, HrisListLocationsQueryParamFilter > = z.object({ - updatedAfter: z.nullable(z.string()).optional(), + updatedAfter: z.nullable(z.date().transform(v => v.toISOString())).optional(), }).transform((v) => { return remap$(v, { updatedAfter: "updated_after", diff --git a/src/sdk/models/operations/hrislistpositions.ts b/src/sdk/models/operations/hrislistpositions.ts index 670353b57..b4d3c8a59 100644 --- a/src/sdk/models/operations/hrislistpositions.ts +++ b/src/sdk/models/operations/hrislistpositions.ts @@ -16,7 +16,7 @@ export type HrisListPositionsQueryParamFilter = { /** * Use a string with a date to only select results updated after that given date */ - updatedAfter?: string | null | undefined; + updatedAfter?: Date | null | undefined; }; /** @@ -102,7 +102,9 @@ export const HrisListPositionsQueryParamFilter$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - updated_after: z.nullable(z.string()).optional(), + updated_after: z.nullable( + z.string().datetime({ offset: true }).transform(v => new Date(v)), + ).optional(), }).transform((v) => { return remap$(v, { "updated_after": "updatedAfter", @@ -120,7 +122,7 @@ export const HrisListPositionsQueryParamFilter$outboundSchema: z.ZodType< z.ZodTypeDef, HrisListPositionsQueryParamFilter > = z.object({ - updatedAfter: z.nullable(z.string()).optional(), + updatedAfter: z.nullable(z.date().transform(v => v.toISOString())).optional(), }).transform((v) => { return remap$(v, { updatedAfter: "updated_after", diff --git a/src/sdk/models/operations/hrislistshifts.ts b/src/sdk/models/operations/hrislistshifts.ts index b8f33303e..6ad6f19c1 100644 --- a/src/sdk/models/operations/hrislistshifts.ts +++ b/src/sdk/models/operations/hrislistshifts.ts @@ -43,7 +43,7 @@ export type HrisListShiftsQueryParamFilter = { /** * Use a string with a date to only select results updated after that given date */ - updatedAfter?: string | null | undefined; + updatedAfter?: Date | null | undefined; }; export type HrisListShiftsRequest = { @@ -144,7 +144,9 @@ export const HrisListShiftsQueryParamFilter$inboundSchema: z.ZodType< z.string().datetime({ offset: true }).transform(v => new Date(v)), ).optional(), status: z.nullable(HrisListShiftsQueryParamStatus$inboundSchema).optional(), - updated_after: z.nullable(z.string()).optional(), + updated_after: z.nullable( + z.string().datetime({ offset: true }).transform(v => new Date(v)), + ).optional(), }).transform((v) => { return remap$(v, { "employee_id": "employeeId", @@ -173,7 +175,7 @@ export const HrisListShiftsQueryParamFilter$outboundSchema: z.ZodType< endsBefore: z.nullable(z.date().transform(v => v.toISOString())).optional(), startsAfter: z.nullable(z.date().transform(v => v.toISOString())).optional(), status: z.nullable(HrisListShiftsQueryParamStatus$outboundSchema).optional(), - updatedAfter: z.nullable(z.string()).optional(), + updatedAfter: z.nullable(z.date().transform(v => v.toISOString())).optional(), }).transform((v) => { return remap$(v, { employeeId: "employee_id", diff --git a/src/sdk/models/operations/hrislisttasks.ts b/src/sdk/models/operations/hrislisttasks.ts index 9bdbf71f0..f514eab83 100644 --- a/src/sdk/models/operations/hrislisttasks.ts +++ b/src/sdk/models/operations/hrislisttasks.ts @@ -16,7 +16,7 @@ export type HrisListTasksQueryParamFilter = { /** * Use a string with a date to only select results updated after that given date */ - updatedAfter?: string | null | undefined; + updatedAfter?: Date | null | undefined; }; export type HrisListTasksRequest = { @@ -92,7 +92,9 @@ export const HrisListTasksQueryParamFilter$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - updated_after: z.nullable(z.string()).optional(), + updated_after: z.nullable( + z.string().datetime({ offset: true }).transform(v => new Date(v)), + ).optional(), }).transform((v) => { return remap$(v, { "updated_after": "updatedAfter", @@ -110,7 +112,7 @@ export const HrisListTasksQueryParamFilter$outboundSchema: z.ZodType< z.ZodTypeDef, HrisListTasksQueryParamFilter > = z.object({ - updatedAfter: z.nullable(z.string()).optional(), + updatedAfter: z.nullable(z.date().transform(v => v.toISOString())).optional(), }).transform((v) => { return remap$(v, { updatedAfter: "updated_after", diff --git a/src/sdk/models/operations/hrislistteamgroups.ts b/src/sdk/models/operations/hrislistteamgroups.ts index cd8c3b009..0890b0add 100644 --- a/src/sdk/models/operations/hrislistteamgroups.ts +++ b/src/sdk/models/operations/hrislistteamgroups.ts @@ -16,7 +16,7 @@ export type HrisListTeamGroupsQueryParamFilter = { /** * Use a string with a date to only select results updated after that given date */ - updatedAfter?: string | null | undefined; + updatedAfter?: Date | null | undefined; }; export type HrisListTeamGroupsRequest = { @@ -88,7 +88,9 @@ export const HrisListTeamGroupsQueryParamFilter$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - updated_after: z.nullable(z.string()).optional(), + updated_after: z.nullable( + z.string().datetime({ offset: true }).transform(v => new Date(v)), + ).optional(), }).transform((v) => { return remap$(v, { "updated_after": "updatedAfter", @@ -106,7 +108,7 @@ export const HrisListTeamGroupsQueryParamFilter$outboundSchema: z.ZodType< z.ZodTypeDef, HrisListTeamGroupsQueryParamFilter > = z.object({ - updatedAfter: z.nullable(z.string()).optional(), + updatedAfter: z.nullable(z.date().transform(v => v.toISOString())).optional(), }).transform((v) => { return remap$(v, { updatedAfter: "updated_after", diff --git a/src/sdk/models/operations/hrislisttimeentries.ts b/src/sdk/models/operations/hrislisttimeentries.ts index dad2de522..2a160bf5a 100644 --- a/src/sdk/models/operations/hrislisttimeentries.ts +++ b/src/sdk/models/operations/hrislisttimeentries.ts @@ -28,7 +28,7 @@ export type HrisListTimeEntriesQueryParamFilter = { /** * Use a string with a date to only select results updated after that given date */ - updatedAfter?: string | null | undefined; + updatedAfter?: Date | null | undefined; }; export type HrisListTimeEntriesRequest = { @@ -103,7 +103,9 @@ export const HrisListTimeEntriesQueryParamFilter$inboundSchema: z.ZodType< employee_id: z.nullable(z.string()).optional(), end_time: z.nullable(z.string()).optional(), start_time: z.nullable(z.string()).optional(), - updated_after: z.nullable(z.string()).optional(), + updated_after: z.nullable( + z.string().datetime({ offset: true }).transform(v => new Date(v)), + ).optional(), }).transform((v) => { return remap$(v, { "employee_id": "employeeId", @@ -130,7 +132,7 @@ export const HrisListTimeEntriesQueryParamFilter$outboundSchema: z.ZodType< employeeId: z.nullable(z.string()).optional(), endTime: z.nullable(z.string()).optional(), startTime: z.nullable(z.string()).optional(), - updatedAfter: z.nullable(z.string()).optional(), + updatedAfter: z.nullable(z.date().transform(v => v.toISOString())).optional(), }).transform((v) => { return remap$(v, { employeeId: "employee_id", diff --git a/src/sdk/models/operations/hrislisttimeoffpolicies.ts b/src/sdk/models/operations/hrislisttimeoffpolicies.ts index e40b647b1..e574a7e84 100644 --- a/src/sdk/models/operations/hrislisttimeoffpolicies.ts +++ b/src/sdk/models/operations/hrislisttimeoffpolicies.ts @@ -48,7 +48,7 @@ export type HrisListTimeOffPoliciesQueryParamFilter = { /** * Use a string with a date to only select results updated after that given date */ - updatedAfter?: string | null | undefined; + updatedAfter?: Date | null | undefined; }; export type HrisListTimeOffPoliciesRequest = { @@ -142,7 +142,9 @@ export const HrisListTimeOffPoliciesQueryParamFilter$inboundSchema: z.ZodType< unknown > = z.object({ type: z.nullable(QueryParamType$inboundSchema).optional(), - updated_after: z.nullable(z.string()).optional(), + updated_after: z.nullable( + z.string().datetime({ offset: true }).transform(v => new Date(v)), + ).optional(), }).transform((v) => { return remap$(v, { "updated_after": "updatedAfter", @@ -162,7 +164,7 @@ export const HrisListTimeOffPoliciesQueryParamFilter$outboundSchema: z.ZodType< HrisListTimeOffPoliciesQueryParamFilter > = z.object({ type: z.nullable(QueryParamType$outboundSchema).optional(), - updatedAfter: z.nullable(z.string()).optional(), + updatedAfter: z.nullable(z.date().transform(v => v.toISOString())).optional(), }).transform((v) => { return remap$(v, { updatedAfter: "updated_after", diff --git a/src/sdk/models/operations/hrislisttimeoffrequests.ts b/src/sdk/models/operations/hrislisttimeoffrequests.ts index 41c52f12a..e4ea1a0a4 100644 --- a/src/sdk/models/operations/hrislisttimeoffrequests.ts +++ b/src/sdk/models/operations/hrislisttimeoffrequests.ts @@ -20,7 +20,7 @@ export type HrisListTimeOffRequestsQueryParamFilter = { /** * Use a string with a date to only select results updated after that given date */ - updatedAfter?: string | null | undefined; + updatedAfter?: Date | null | undefined; }; export type HrisListTimeOffRequestsRequest = { @@ -97,7 +97,9 @@ export const HrisListTimeOffRequestsQueryParamFilter$inboundSchema: z.ZodType< unknown > = z.object({ type_ids: z.nullable(z.array(z.string())).optional(), - updated_after: z.nullable(z.string()).optional(), + updated_after: z.nullable( + z.string().datetime({ offset: true }).transform(v => new Date(v)), + ).optional(), }).transform((v) => { return remap$(v, { "type_ids": "typeIds", @@ -118,7 +120,7 @@ export const HrisListTimeOffRequestsQueryParamFilter$outboundSchema: z.ZodType< HrisListTimeOffRequestsQueryParamFilter > = z.object({ typeIds: z.nullable(z.array(z.string())).optional(), - updatedAfter: z.nullable(z.string()).optional(), + updatedAfter: z.nullable(z.date().transform(v => v.toISOString())).optional(), }).transform((v) => { return remap$(v, { typeIds: "type_ids", diff --git a/src/sdk/models/operations/hrislisttimeofftypes.ts b/src/sdk/models/operations/hrislisttimeofftypes.ts index c2f0e01f2..f7a29f0ef 100644 --- a/src/sdk/models/operations/hrislisttimeofftypes.ts +++ b/src/sdk/models/operations/hrislisttimeofftypes.ts @@ -16,7 +16,7 @@ export type HrisListTimeOffTypesQueryParamFilter = { /** * Use a string with a date to only select results updated after that given date */ - updatedAfter?: string | null | undefined; + updatedAfter?: Date | null | undefined; }; export type HrisListTimeOffTypesRequest = { @@ -88,7 +88,9 @@ export const HrisListTimeOffTypesQueryParamFilter$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - updated_after: z.nullable(z.string()).optional(), + updated_after: z.nullable( + z.string().datetime({ offset: true }).transform(v => new Date(v)), + ).optional(), }).transform((v) => { return remap$(v, { "updated_after": "updatedAfter", @@ -106,7 +108,7 @@ export const HrisListTimeOffTypesQueryParamFilter$outboundSchema: z.ZodType< z.ZodTypeDef, HrisListTimeOffTypesQueryParamFilter > = z.object({ - updatedAfter: z.nullable(z.string()).optional(), + updatedAfter: z.nullable(z.date().transform(v => v.toISOString())).optional(), }).transform((v) => { return remap$(v, { updatedAfter: "updated_after", diff --git a/src/sdk/models/operations/iamlistgroups.ts b/src/sdk/models/operations/iamlistgroups.ts index f22b46ef1..0f70ea62d 100644 --- a/src/sdk/models/operations/iamlistgroups.ts +++ b/src/sdk/models/operations/iamlistgroups.ts @@ -16,7 +16,7 @@ export type IamListGroupsQueryParamFilter = { /** * Use a string with a date to only select results updated after that given date */ - updatedAfter?: string | null | undefined; + updatedAfter?: Date | null | undefined; }; export type IamListGroupsRequest = { @@ -92,7 +92,9 @@ export const IamListGroupsQueryParamFilter$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - updated_after: z.nullable(z.string()).optional(), + updated_after: z.nullable( + z.string().datetime({ offset: true }).transform(v => new Date(v)), + ).optional(), }).transform((v) => { return remap$(v, { "updated_after": "updatedAfter", @@ -110,7 +112,7 @@ export const IamListGroupsQueryParamFilter$outboundSchema: z.ZodType< z.ZodTypeDef, IamListGroupsQueryParamFilter > = z.object({ - updatedAfter: z.nullable(z.string()).optional(), + updatedAfter: z.nullable(z.date().transform(v => v.toISOString())).optional(), }).transform((v) => { return remap$(v, { updatedAfter: "updated_after", diff --git a/src/sdk/models/operations/iamlistpolicies.ts b/src/sdk/models/operations/iamlistpolicies.ts index 800d56076..08dfce3e3 100644 --- a/src/sdk/models/operations/iamlistpolicies.ts +++ b/src/sdk/models/operations/iamlistpolicies.ts @@ -16,7 +16,7 @@ export type IamListPoliciesQueryParamFilter = { /** * Use a string with a date to only select results updated after that given date */ - updatedAfter?: string | null | undefined; + updatedAfter?: Date | null | undefined; }; export type IamListPoliciesRequest = { @@ -92,7 +92,9 @@ export const IamListPoliciesQueryParamFilter$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - updated_after: z.nullable(z.string()).optional(), + updated_after: z.nullable( + z.string().datetime({ offset: true }).transform(v => new Date(v)), + ).optional(), }).transform((v) => { return remap$(v, { "updated_after": "updatedAfter", @@ -110,7 +112,7 @@ export const IamListPoliciesQueryParamFilter$outboundSchema: z.ZodType< z.ZodTypeDef, IamListPoliciesQueryParamFilter > = z.object({ - updatedAfter: z.nullable(z.string()).optional(), + updatedAfter: z.nullable(z.date().transform(v => v.toISOString())).optional(), }).transform((v) => { return remap$(v, { updatedAfter: "updated_after", diff --git a/src/sdk/models/operations/iamlistroles.ts b/src/sdk/models/operations/iamlistroles.ts index f9effa089..9b9bcee61 100644 --- a/src/sdk/models/operations/iamlistroles.ts +++ b/src/sdk/models/operations/iamlistroles.ts @@ -16,7 +16,7 @@ export type IamListRolesQueryParamFilter = { /** * Use a string with a date to only select results updated after that given date */ - updatedAfter?: string | null | undefined; + updatedAfter?: Date | null | undefined; }; export type IamListRolesRequest = { @@ -92,7 +92,9 @@ export const IamListRolesQueryParamFilter$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - updated_after: z.nullable(z.string()).optional(), + updated_after: z.nullable( + z.string().datetime({ offset: true }).transform(v => new Date(v)), + ).optional(), }).transform((v) => { return remap$(v, { "updated_after": "updatedAfter", @@ -110,7 +112,7 @@ export const IamListRolesQueryParamFilter$outboundSchema: z.ZodType< z.ZodTypeDef, IamListRolesQueryParamFilter > = z.object({ - updatedAfter: z.nullable(z.string()).optional(), + updatedAfter: z.nullable(z.date().transform(v => v.toISOString())).optional(), }).transform((v) => { return remap$(v, { updatedAfter: "updated_after", diff --git a/src/sdk/models/operations/iamlistusers.ts b/src/sdk/models/operations/iamlistusers.ts index f3609f985..d3c6d5fef 100644 --- a/src/sdk/models/operations/iamlistusers.ts +++ b/src/sdk/models/operations/iamlistusers.ts @@ -16,7 +16,7 @@ export type IamListUsersQueryParamFilter = { /** * Use a string with a date to only select results updated after that given date */ - updatedAfter?: string | null | undefined; + updatedAfter?: Date | null | undefined; }; export type IamListUsersRequest = { @@ -92,7 +92,9 @@ export const IamListUsersQueryParamFilter$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - updated_after: z.nullable(z.string()).optional(), + updated_after: z.nullable( + z.string().datetime({ offset: true }).transform(v => new Date(v)), + ).optional(), }).transform((v) => { return remap$(v, { "updated_after": "updatedAfter", @@ -110,7 +112,7 @@ export const IamListUsersQueryParamFilter$outboundSchema: z.ZodType< z.ZodTypeDef, IamListUsersQueryParamFilter > = z.object({ - updatedAfter: z.nullable(z.string()).optional(), + updatedAfter: z.nullable(z.date().transform(v => v.toISOString())).optional(), }).transform((v) => { return remap$(v, { updatedAfter: "updated_after", diff --git a/src/sdk/models/operations/lmslistassignments.ts b/src/sdk/models/operations/lmslistassignments.ts index b6c61ab45..8192bca76 100644 --- a/src/sdk/models/operations/lmslistassignments.ts +++ b/src/sdk/models/operations/lmslistassignments.ts @@ -29,7 +29,7 @@ export type LmsListAssignmentsQueryParamFilter = { /** * Use a string with a date to only select results updated after that given date */ - updatedAfter?: string | null | undefined; + updatedAfter?: Date | null | undefined; }; export type LmsListAssignmentsRequest = { @@ -133,7 +133,9 @@ export const LmsListAssignmentsQueryParamFilter$inboundSchema: z.ZodType< > = z.object({ status: z.nullable(LmsListAssignmentsQueryParamStatus$inboundSchema) .optional(), - updated_after: z.nullable(z.string()).optional(), + updated_after: z.nullable( + z.string().datetime({ offset: true }).transform(v => new Date(v)), + ).optional(), }).transform((v) => { return remap$(v, { "updated_after": "updatedAfter", @@ -154,7 +156,7 @@ export const LmsListAssignmentsQueryParamFilter$outboundSchema: z.ZodType< > = z.object({ status: z.nullable(LmsListAssignmentsQueryParamStatus$outboundSchema) .optional(), - updatedAfter: z.nullable(z.string()).optional(), + updatedAfter: z.nullable(z.date().transform(v => v.toISOString())).optional(), }).transform((v) => { return remap$(v, { updatedAfter: "updated_after", diff --git a/src/sdk/models/operations/lmslistcategories.ts b/src/sdk/models/operations/lmslistcategories.ts index a0b1194a3..96c698914 100644 --- a/src/sdk/models/operations/lmslistcategories.ts +++ b/src/sdk/models/operations/lmslistcategories.ts @@ -16,7 +16,7 @@ export type LmsListCategoriesQueryParamFilter = { /** * Use a string with a date to only select results updated after that given date */ - updatedAfter?: string | null | undefined; + updatedAfter?: Date | null | undefined; }; export type LmsListCategoriesRequest = { @@ -88,7 +88,9 @@ export const LmsListCategoriesQueryParamFilter$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - updated_after: z.nullable(z.string()).optional(), + updated_after: z.nullable( + z.string().datetime({ offset: true }).transform(v => new Date(v)), + ).optional(), }).transform((v) => { return remap$(v, { "updated_after": "updatedAfter", @@ -106,7 +108,7 @@ export const LmsListCategoriesQueryParamFilter$outboundSchema: z.ZodType< z.ZodTypeDef, LmsListCategoriesQueryParamFilter > = z.object({ - updatedAfter: z.nullable(z.string()).optional(), + updatedAfter: z.nullable(z.date().transform(v => v.toISOString())).optional(), }).transform((v) => { return remap$(v, { updatedAfter: "updated_after", diff --git a/src/sdk/models/operations/lmslistcompletions.ts b/src/sdk/models/operations/lmslistcompletions.ts index 66157ea38..7b20c019d 100644 --- a/src/sdk/models/operations/lmslistcompletions.ts +++ b/src/sdk/models/operations/lmslistcompletions.ts @@ -16,7 +16,7 @@ export type LmsListCompletionsQueryParamFilter = { /** * Use a string with a date to only select results updated after that given date */ - updatedAfter?: string | null | undefined; + updatedAfter?: Date | null | undefined; }; export type LmsListCompletionsRequest = { @@ -88,7 +88,9 @@ export const LmsListCompletionsQueryParamFilter$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - updated_after: z.nullable(z.string()).optional(), + updated_after: z.nullable( + z.string().datetime({ offset: true }).transform(v => new Date(v)), + ).optional(), }).transform((v) => { return remap$(v, { "updated_after": "updatedAfter", @@ -106,7 +108,7 @@ export const LmsListCompletionsQueryParamFilter$outboundSchema: z.ZodType< z.ZodTypeDef, LmsListCompletionsQueryParamFilter > = z.object({ - updatedAfter: z.nullable(z.string()).optional(), + updatedAfter: z.nullable(z.date().transform(v => v.toISOString())).optional(), }).transform((v) => { return remap$(v, { updatedAfter: "updated_after", diff --git a/src/sdk/models/operations/lmslistcontent.ts b/src/sdk/models/operations/lmslistcontent.ts index b8d24a3cd..d6f8f0c0b 100644 --- a/src/sdk/models/operations/lmslistcontent.ts +++ b/src/sdk/models/operations/lmslistcontent.ts @@ -16,7 +16,7 @@ export type LmsListContentQueryParamFilter = { /** * Use a string with a date to only select results updated after that given date */ - updatedAfter?: string | null | undefined; + updatedAfter?: Date | null | undefined; }; export type LmsListContentRequest = { @@ -88,7 +88,9 @@ export const LmsListContentQueryParamFilter$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - updated_after: z.nullable(z.string()).optional(), + updated_after: z.nullable( + z.string().datetime({ offset: true }).transform(v => new Date(v)), + ).optional(), }).transform((v) => { return remap$(v, { "updated_after": "updatedAfter", @@ -106,7 +108,7 @@ export const LmsListContentQueryParamFilter$outboundSchema: z.ZodType< z.ZodTypeDef, LmsListContentQueryParamFilter > = z.object({ - updatedAfter: z.nullable(z.string()).optional(), + updatedAfter: z.nullable(z.date().transform(v => v.toISOString())).optional(), }).transform((v) => { return remap$(v, { updatedAfter: "updated_after", diff --git a/src/sdk/models/operations/lmslistcourses.ts b/src/sdk/models/operations/lmslistcourses.ts index 043d7f517..9bc6426d4 100644 --- a/src/sdk/models/operations/lmslistcourses.ts +++ b/src/sdk/models/operations/lmslistcourses.ts @@ -20,7 +20,7 @@ export type LmsListCoursesQueryParamFilter = { /** * Use a string with a date to only select results updated after that given date */ - updatedAfter?: string | null | undefined; + updatedAfter?: Date | null | undefined; }; export type LmsListCoursesRequest = { @@ -93,7 +93,9 @@ export const LmsListCoursesQueryParamFilter$inboundSchema: z.ZodType< unknown > = z.object({ external_reference: z.nullable(z.string()).optional(), - updated_after: z.nullable(z.string()).optional(), + updated_after: z.nullable( + z.string().datetime({ offset: true }).transform(v => new Date(v)), + ).optional(), }).transform((v) => { return remap$(v, { "external_reference": "externalReference", @@ -114,7 +116,7 @@ export const LmsListCoursesQueryParamFilter$outboundSchema: z.ZodType< LmsListCoursesQueryParamFilter > = z.object({ externalReference: z.nullable(z.string()).optional(), - updatedAfter: z.nullable(z.string()).optional(), + updatedAfter: z.nullable(z.date().transform(v => v.toISOString())).optional(), }).transform((v) => { return remap$(v, { externalReference: "external_reference", diff --git a/src/sdk/models/operations/lmslistskills.ts b/src/sdk/models/operations/lmslistskills.ts index aeb35a459..ca1ef9ae1 100644 --- a/src/sdk/models/operations/lmslistskills.ts +++ b/src/sdk/models/operations/lmslistskills.ts @@ -16,7 +16,7 @@ export type LmsListSkillsQueryParamFilter = { /** * Use a string with a date to only select results updated after that given date */ - updatedAfter?: string | null | undefined; + updatedAfter?: Date | null | undefined; }; export type LmsListSkillsRequest = { @@ -88,7 +88,9 @@ export const LmsListSkillsQueryParamFilter$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - updated_after: z.nullable(z.string()).optional(), + updated_after: z.nullable( + z.string().datetime({ offset: true }).transform(v => new Date(v)), + ).optional(), }).transform((v) => { return remap$(v, { "updated_after": "updatedAfter", @@ -106,7 +108,7 @@ export const LmsListSkillsQueryParamFilter$outboundSchema: z.ZodType< z.ZodTypeDef, LmsListSkillsQueryParamFilter > = z.object({ - updatedAfter: z.nullable(z.string()).optional(), + updatedAfter: z.nullable(z.date().transform(v => v.toISOString())).optional(), }).transform((v) => { return remap$(v, { updatedAfter: "updated_after", diff --git a/src/sdk/models/operations/lmslistuserassignments.ts b/src/sdk/models/operations/lmslistuserassignments.ts index 8a13e0e21..15e18602a 100644 --- a/src/sdk/models/operations/lmslistuserassignments.ts +++ b/src/sdk/models/operations/lmslistuserassignments.ts @@ -29,7 +29,7 @@ export type LmsListUserAssignmentsQueryParamFilter = { /** * Use a string with a date to only select results updated after that given date */ - updatedAfter?: string | null | undefined; + updatedAfter?: Date | null | undefined; }; export type LmsListUserAssignmentsRequest = { @@ -136,7 +136,9 @@ export const LmsListUserAssignmentsQueryParamFilter$inboundSchema: z.ZodType< > = z.object({ status: z.nullable(LmsListUserAssignmentsQueryParamStatus$inboundSchema) .optional(), - updated_after: z.nullable(z.string()).optional(), + updated_after: z.nullable( + z.string().datetime({ offset: true }).transform(v => new Date(v)), + ).optional(), }).transform((v) => { return remap$(v, { "updated_after": "updatedAfter", @@ -157,7 +159,7 @@ export const LmsListUserAssignmentsQueryParamFilter$outboundSchema: z.ZodType< > = z.object({ status: z.nullable(LmsListUserAssignmentsQueryParamStatus$outboundSchema) .optional(), - updatedAfter: z.nullable(z.string()).optional(), + updatedAfter: z.nullable(z.date().transform(v => v.toISOString())).optional(), }).transform((v) => { return remap$(v, { updatedAfter: "updated_after", diff --git a/src/sdk/models/operations/lmslistusercompletions.ts b/src/sdk/models/operations/lmslistusercompletions.ts index 7b34ab23a..9a25a2b56 100644 --- a/src/sdk/models/operations/lmslistusercompletions.ts +++ b/src/sdk/models/operations/lmslistusercompletions.ts @@ -16,7 +16,7 @@ export type LmsListUserCompletionsQueryParamFilter = { /** * Use a string with a date to only select results updated after that given date */ - updatedAfter?: string | null | undefined; + updatedAfter?: Date | null | undefined; }; export type LmsListUserCompletionsRequest = { @@ -89,7 +89,9 @@ export const LmsListUserCompletionsQueryParamFilter$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - updated_after: z.nullable(z.string()).optional(), + updated_after: z.nullable( + z.string().datetime({ offset: true }).transform(v => new Date(v)), + ).optional(), }).transform((v) => { return remap$(v, { "updated_after": "updatedAfter", @@ -107,7 +109,7 @@ export const LmsListUserCompletionsQueryParamFilter$outboundSchema: z.ZodType< z.ZodTypeDef, LmsListUserCompletionsQueryParamFilter > = z.object({ - updatedAfter: z.nullable(z.string()).optional(), + updatedAfter: z.nullable(z.date().transform(v => v.toISOString())).optional(), }).transform((v) => { return remap$(v, { updatedAfter: "updated_after", diff --git a/src/sdk/models/operations/lmslistusers.ts b/src/sdk/models/operations/lmslistusers.ts index 853dd2fe2..09a866de9 100644 --- a/src/sdk/models/operations/lmslistusers.ts +++ b/src/sdk/models/operations/lmslistusers.ts @@ -24,7 +24,7 @@ export type LmsListUsersQueryParamFilter = { /** * Use a string with a date to only select results updated after that given date */ - updatedAfter?: string | null | undefined; + updatedAfter?: Date | null | undefined; }; export type LmsListUsersRequest = { @@ -98,7 +98,9 @@ export const LmsListUsersQueryParamFilter$inboundSchema: z.ZodType< > = z.object({ email: z.nullable(z.string()).optional(), external_reference: z.nullable(z.string()).optional(), - updated_after: z.nullable(z.string()).optional(), + updated_after: z.nullable( + z.string().datetime({ offset: true }).transform(v => new Date(v)), + ).optional(), }).transform((v) => { return remap$(v, { "external_reference": "externalReference", @@ -121,7 +123,7 @@ export const LmsListUsersQueryParamFilter$outboundSchema: z.ZodType< > = z.object({ email: z.nullable(z.string()).optional(), externalReference: z.nullable(z.string()).optional(), - updatedAfter: z.nullable(z.string()).optional(), + updatedAfter: z.nullable(z.date().transform(v => v.toISOString())).optional(), }).transform((v) => { return remap$(v, { externalReference: "external_reference", diff --git a/src/sdk/models/operations/marketinglistcampaigns.ts b/src/sdk/models/operations/marketinglistcampaigns.ts index e257338ad..3b830608d 100644 --- a/src/sdk/models/operations/marketinglistcampaigns.ts +++ b/src/sdk/models/operations/marketinglistcampaigns.ts @@ -16,7 +16,7 @@ export type MarketingListCampaignsQueryParamFilter = { /** * Use a string with a date to only select results updated after that given date */ - updatedAfter?: string | null | undefined; + updatedAfter?: Date | null | undefined; }; export type MarketingListCampaignsRequest = { @@ -88,7 +88,9 @@ export const MarketingListCampaignsQueryParamFilter$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - updated_after: z.nullable(z.string()).optional(), + updated_after: z.nullable( + z.string().datetime({ offset: true }).transform(v => new Date(v)), + ).optional(), }).transform((v) => { return remap$(v, { "updated_after": "updatedAfter", @@ -106,7 +108,7 @@ export const MarketingListCampaignsQueryParamFilter$outboundSchema: z.ZodType< z.ZodTypeDef, MarketingListCampaignsQueryParamFilter > = z.object({ - updatedAfter: z.nullable(z.string()).optional(), + updatedAfter: z.nullable(z.date().transform(v => v.toISOString())).optional(), }).transform((v) => { return remap$(v, { updatedAfter: "updated_after", diff --git a/src/sdk/models/operations/marketinglistcontentblocks.ts b/src/sdk/models/operations/marketinglistcontentblocks.ts index 1ac7940ed..b5a7e7bbe 100644 --- a/src/sdk/models/operations/marketinglistcontentblocks.ts +++ b/src/sdk/models/operations/marketinglistcontentblocks.ts @@ -16,7 +16,7 @@ export type MarketingListContentBlocksQueryParamFilter = { /** * Use a string with a date to only select results updated after that given date */ - updatedAfter?: string | null | undefined; + updatedAfter?: Date | null | undefined; }; export type MarketingListContentBlocksRequest = { @@ -86,7 +86,9 @@ export type MarketingListContentBlocksResponse = { export const MarketingListContentBlocksQueryParamFilter$inboundSchema: z.ZodType = z.object({ - updated_after: z.nullable(z.string()).optional(), + updated_after: z.nullable( + z.string().datetime({ offset: true }).transform(v => new Date(v)), + ).optional(), }).transform((v) => { return remap$(v, { "updated_after": "updatedAfter", @@ -105,7 +107,8 @@ export const MarketingListContentBlocksQueryParamFilter$outboundSchema: z.ZodTypeDef, MarketingListContentBlocksQueryParamFilter > = z.object({ - updatedAfter: z.nullable(z.string()).optional(), + updatedAfter: z.nullable(z.date().transform(v => v.toISOString())) + .optional(), }).transform((v) => { return remap$(v, { updatedAfter: "updated_after", diff --git a/src/sdk/models/operations/marketinglistemailtemplates.ts b/src/sdk/models/operations/marketinglistemailtemplates.ts index 0be541ccf..4db9ca051 100644 --- a/src/sdk/models/operations/marketinglistemailtemplates.ts +++ b/src/sdk/models/operations/marketinglistemailtemplates.ts @@ -16,7 +16,7 @@ export type MarketingListEmailTemplatesQueryParamFilter = { /** * Use a string with a date to only select results updated after that given date */ - updatedAfter?: string | null | undefined; + updatedAfter?: Date | null | undefined; }; export type MarketingListEmailTemplatesRequest = { @@ -89,7 +89,9 @@ export const MarketingListEmailTemplatesQueryParamFilter$inboundSchema: z.ZodTypeDef, unknown > = z.object({ - updated_after: z.nullable(z.string()).optional(), + updated_after: z.nullable( + z.string().datetime({ offset: true }).transform(v => new Date(v)), + ).optional(), }).transform((v) => { return remap$(v, { "updated_after": "updatedAfter", @@ -108,7 +110,8 @@ export const MarketingListEmailTemplatesQueryParamFilter$outboundSchema: z.ZodTypeDef, MarketingListEmailTemplatesQueryParamFilter > = z.object({ - updatedAfter: z.nullable(z.string()).optional(), + updatedAfter: z.nullable(z.date().transform(v => v.toISOString())) + .optional(), }).transform((v) => { return remap$(v, { updatedAfter: "updated_after", diff --git a/src/sdk/models/operations/marketinglistinapptemplates.ts b/src/sdk/models/operations/marketinglistinapptemplates.ts index 1ffcf0a7c..f5a5470b7 100644 --- a/src/sdk/models/operations/marketinglistinapptemplates.ts +++ b/src/sdk/models/operations/marketinglistinapptemplates.ts @@ -16,7 +16,7 @@ export type MarketingListInAppTemplatesQueryParamFilter = { /** * Use a string with a date to only select results updated after that given date */ - updatedAfter?: string | null | undefined; + updatedAfter?: Date | null | undefined; }; export type MarketingListInAppTemplatesRequest = { @@ -89,7 +89,9 @@ export const MarketingListInAppTemplatesQueryParamFilter$inboundSchema: z.ZodTypeDef, unknown > = z.object({ - updated_after: z.nullable(z.string()).optional(), + updated_after: z.nullable( + z.string().datetime({ offset: true }).transform(v => new Date(v)), + ).optional(), }).transform((v) => { return remap$(v, { "updated_after": "updatedAfter", @@ -108,7 +110,8 @@ export const MarketingListInAppTemplatesQueryParamFilter$outboundSchema: z.ZodTypeDef, MarketingListInAppTemplatesQueryParamFilter > = z.object({ - updatedAfter: z.nullable(z.string()).optional(), + updatedAfter: z.nullable(z.date().transform(v => v.toISOString())) + .optional(), }).transform((v) => { return remap$(v, { updatedAfter: "updated_after", diff --git a/src/sdk/models/operations/marketinglistomnichanneltemplates.ts b/src/sdk/models/operations/marketinglistomnichanneltemplates.ts index 11fa4b13f..af03dfdb7 100644 --- a/src/sdk/models/operations/marketinglistomnichanneltemplates.ts +++ b/src/sdk/models/operations/marketinglistomnichanneltemplates.ts @@ -16,7 +16,7 @@ export type MarketingListOmniChannelTemplatesQueryParamFilter = { /** * Use a string with a date to only select results updated after that given date */ - updatedAfter?: string | null | undefined; + updatedAfter?: Date | null | undefined; }; export type MarketingListOmniChannelTemplatesRequest = { @@ -89,7 +89,9 @@ export const MarketingListOmniChannelTemplatesQueryParamFilter$inboundSchema: z.ZodTypeDef, unknown > = z.object({ - updated_after: z.nullable(z.string()).optional(), + updated_after: z.nullable( + z.string().datetime({ offset: true }).transform(v => new Date(v)), + ).optional(), }).transform((v) => { return remap$(v, { "updated_after": "updatedAfter", @@ -108,7 +110,8 @@ export const MarketingListOmniChannelTemplatesQueryParamFilter$outboundSchema: z.ZodTypeDef, MarketingListOmniChannelTemplatesQueryParamFilter > = z.object({ - updatedAfter: z.nullable(z.string()).optional(), + updatedAfter: z.nullable(z.date().transform(v => v.toISOString())) + .optional(), }).transform((v) => { return remap$(v, { updatedAfter: "updated_after", diff --git a/src/sdk/models/operations/marketinglistpushtemplates.ts b/src/sdk/models/operations/marketinglistpushtemplates.ts index 881e21101..0c39645a5 100644 --- a/src/sdk/models/operations/marketinglistpushtemplates.ts +++ b/src/sdk/models/operations/marketinglistpushtemplates.ts @@ -16,7 +16,7 @@ export type MarketingListPushTemplatesQueryParamFilter = { /** * Use a string with a date to only select results updated after that given date */ - updatedAfter?: string | null | undefined; + updatedAfter?: Date | null | undefined; }; export type MarketingListPushTemplatesRequest = { @@ -86,7 +86,9 @@ export type MarketingListPushTemplatesResponse = { export const MarketingListPushTemplatesQueryParamFilter$inboundSchema: z.ZodType = z.object({ - updated_after: z.nullable(z.string()).optional(), + updated_after: z.nullable( + z.string().datetime({ offset: true }).transform(v => new Date(v)), + ).optional(), }).transform((v) => { return remap$(v, { "updated_after": "updatedAfter", @@ -105,7 +107,8 @@ export const MarketingListPushTemplatesQueryParamFilter$outboundSchema: z.ZodTypeDef, MarketingListPushTemplatesQueryParamFilter > = z.object({ - updatedAfter: z.nullable(z.string()).optional(), + updatedAfter: z.nullable(z.date().transform(v => v.toISOString())) + .optional(), }).transform((v) => { return remap$(v, { updatedAfter: "updated_after", diff --git a/src/sdk/models/operations/marketinglistsmstemplates.ts b/src/sdk/models/operations/marketinglistsmstemplates.ts index dae89da98..8a7cd8289 100644 --- a/src/sdk/models/operations/marketinglistsmstemplates.ts +++ b/src/sdk/models/operations/marketinglistsmstemplates.ts @@ -16,7 +16,7 @@ export type MarketingListSmsTemplatesQueryParamFilter = { /** * Use a string with a date to only select results updated after that given date */ - updatedAfter?: string | null | undefined; + updatedAfter?: Date | null | undefined; }; export type MarketingListSmsTemplatesRequest = { @@ -88,7 +88,9 @@ export const MarketingListSmsTemplatesQueryParamFilter$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - updated_after: z.nullable(z.string()).optional(), + updated_after: z.nullable( + z.string().datetime({ offset: true }).transform(v => new Date(v)), + ).optional(), }).transform((v) => { return remap$(v, { "updated_after": "updatedAfter", @@ -107,7 +109,8 @@ export const MarketingListSmsTemplatesQueryParamFilter$outboundSchema: z.ZodTypeDef, MarketingListSmsTemplatesQueryParamFilter > = z.object({ - updatedAfter: z.nullable(z.string()).optional(), + updatedAfter: z.nullable(z.date().transform(v => v.toISOString())) + .optional(), }).transform((v) => { return remap$(v, { updatedAfter: "updated_after", diff --git a/src/sdk/models/operations/stackonelistlogs.ts b/src/sdk/models/operations/stackonelistlogs.ts index 9ae83f053..b3d0be5da 100644 --- a/src/sdk/models/operations/stackonelistlogs.ts +++ b/src/sdk/models/operations/stackonelistlogs.ts @@ -47,7 +47,7 @@ export type Filter = { /** * A ISO8601 date string to filter the results by end_date. */ - endDate?: string | null | undefined; + endDate?: Date | null | undefined; /** * A comma-separated list of HTTP methods to filter the results by. */ @@ -91,7 +91,7 @@ export type Filter = { /** * A ISO8601 date string to filter the results by start_date. */ - startDate?: string | null | undefined; + startDate?: Date | null | undefined; /** * A comma-separated list of status codes to filter the results by. */ @@ -227,7 +227,9 @@ export const Filter$inboundSchema: z.ZodType = z account_ids: z.nullable(z.string()).optional(), actions: z.nullable(z.string()).optional(), child_resources: z.nullable(z.string()).optional(), - end_date: z.nullable(z.string()).optional(), + end_date: z.nullable( + z.string().datetime({ offset: true }).transform(v => new Date(v)), + ).optional(), http_methods: z.nullable(z.string()).optional(), order_by: z.nullable(QueryParamOrderBy$inboundSchema).optional(), order_direction: z.nullable(QueryParamOrderDirection$inboundSchema) @@ -239,7 +241,9 @@ export const Filter$inboundSchema: z.ZodType = z source_ids: z.nullable(z.string()).optional(), source_types: z.nullable(z.string()).optional(), source_values: z.nullable(z.string()).optional(), - start_date: z.nullable(z.string()).optional(), + start_date: z.nullable( + z.string().datetime({ offset: true }).transform(v => new Date(v)), + ).optional(), status_codes: z.nullable(z.string()).optional(), sub_resources: z.nullable(z.string()).optional(), success: z.nullable(z.boolean()).optional(), @@ -292,7 +296,7 @@ export const Filter$outboundSchema: z.ZodType< accountIds: z.nullable(z.string()).optional(), actions: z.nullable(z.string()).optional(), childResources: z.nullable(z.string()).optional(), - endDate: z.nullable(z.string()).optional(), + endDate: z.nullable(z.date().transform(v => v.toISOString())).optional(), httpMethods: z.nullable(z.string()).optional(), orderBy: z.nullable(QueryParamOrderBy$outboundSchema).optional(), orderDirection: z.nullable(QueryParamOrderDirection$outboundSchema) @@ -304,7 +308,7 @@ export const Filter$outboundSchema: z.ZodType< sourceIds: z.nullable(z.string()).optional(), sourceTypes: z.nullable(z.string()).optional(), sourceValues: z.nullable(z.string()).optional(), - startDate: z.nullable(z.string()).optional(), + startDate: z.nullable(z.date().transform(v => v.toISOString())).optional(), statusCodes: z.nullable(z.string()).optional(), subResources: z.nullable(z.string()).optional(), success: z.nullable(z.boolean()).optional(), diff --git a/src/sdk/models/operations/stackonelistplatformlogs.ts b/src/sdk/models/operations/stackonelistplatformlogs.ts index dd3279f98..d817afebc 100644 --- a/src/sdk/models/operations/stackonelistplatformlogs.ts +++ b/src/sdk/models/operations/stackonelistplatformlogs.ts @@ -47,7 +47,7 @@ export type QueryParamFilter = { /** * A ISO8601 date string to filter the results by end_date. */ - endDate?: string | null | undefined; + endDate?: Date | null | undefined; /** * A comma-separated list of HTTP methods to filter the results by. */ @@ -89,7 +89,7 @@ export type QueryParamFilter = { /** * A ISO8601 date string to filter the results by start_date. */ - startDate?: string | null | undefined; + startDate?: Date | null | undefined; /** * A comma-separated list of status codes to filter the results by. */ @@ -222,7 +222,9 @@ export const QueryParamFilter$inboundSchema: z.ZodType< account_ids: z.nullable(z.string()).optional(), actions: z.nullable(z.string()).optional(), categories: z.nullable(z.string()).optional(), - end_date: z.nullable(z.string()).optional(), + end_date: z.nullable( + z.string().datetime({ offset: true }).transform(v => new Date(v)), + ).optional(), http_methods: z.nullable(z.string()).optional(), order_by: z.nullable( StackoneListPlatformLogsQueryParamRequestLogsOrderBy$inboundSchema, @@ -235,7 +237,9 @@ export const QueryParamFilter$inboundSchema: z.ZodType< source_ids: z.nullable(z.string()).optional(), source_types: z.nullable(z.string()).optional(), source_values: z.nullable(z.string()).optional(), - start_date: z.nullable(z.string()).optional(), + start_date: z.nullable( + z.string().datetime({ offset: true }).transform(v => new Date(v)), + ).optional(), status_codes: z.nullable(z.string()).optional(), success: z.nullable(z.boolean()).optional(), }).transform((v) => { @@ -282,7 +286,7 @@ export const QueryParamFilter$outboundSchema: z.ZodType< accountIds: z.nullable(z.string()).optional(), actions: z.nullable(z.string()).optional(), categories: z.nullable(z.string()).optional(), - endDate: z.nullable(z.string()).optional(), + endDate: z.nullable(z.date().transform(v => v.toISOString())).optional(), httpMethods: z.nullable(z.string()).optional(), orderBy: z.nullable( StackoneListPlatformLogsQueryParamRequestLogsOrderBy$outboundSchema, @@ -295,7 +299,7 @@ export const QueryParamFilter$outboundSchema: z.ZodType< sourceIds: z.nullable(z.string()).optional(), sourceTypes: z.nullable(z.string()).optional(), sourceValues: z.nullable(z.string()).optional(), - startDate: z.nullable(z.string()).optional(), + startDate: z.nullable(z.date().transform(v => v.toISOString())).optional(), statusCodes: z.nullable(z.string()).optional(), success: z.nullable(z.boolean()).optional(), }).transform((v) => { diff --git a/src/sdk/models/operations/stackoneliststeplogs.ts b/src/sdk/models/operations/stackoneliststeplogs.ts index 299ed6107..fd8414c75 100644 --- a/src/sdk/models/operations/stackoneliststeplogs.ts +++ b/src/sdk/models/operations/stackoneliststeplogs.ts @@ -28,7 +28,7 @@ export type StackoneListStepLogsQueryParamFilter = { /** * A ISO8601 date string to filter the results by end_date. */ - endDate?: string | null | undefined; + endDate?: Date | null | undefined; /** * A comma-separated list of HTTP methods to filter the results by. */ @@ -52,7 +52,7 @@ export type StackoneListStepLogsQueryParamFilter = { /** * A ISO8601 date string to filter the results by start_date. */ - startDate?: string | null | undefined; + startDate?: Date | null | undefined; /** * A comma-separated list of status codes to filter the results by. */ @@ -141,13 +141,17 @@ export const StackoneListStepLogsQueryParamFilter$inboundSchema: z.ZodType< account_ids: z.nullable(z.string()).optional(), actions: z.nullable(z.string()).optional(), child_resources: z.nullable(z.string()).optional(), - end_date: z.nullable(z.string()).optional(), + end_date: z.nullable( + z.string().datetime({ offset: true }).transform(v => new Date(v)), + ).optional(), http_methods: z.nullable(z.string()).optional(), providers: z.nullable(z.string()).optional(), request_ids: z.nullable(z.string()).optional(), resources: z.nullable(z.string()).optional(), services: z.nullable(z.string()).optional(), - start_date: z.nullable(z.string()).optional(), + start_date: z.nullable( + z.string().datetime({ offset: true }).transform(v => new Date(v)), + ).optional(), status_codes: z.nullable(z.string()).optional(), sub_resources: z.nullable(z.string()).optional(), success: z.nullable(z.boolean()).optional(), @@ -190,13 +194,13 @@ export const StackoneListStepLogsQueryParamFilter$outboundSchema: z.ZodType< accountIds: z.nullable(z.string()).optional(), actions: z.nullable(z.string()).optional(), childResources: z.nullable(z.string()).optional(), - endDate: z.nullable(z.string()).optional(), + endDate: z.nullable(z.date().transform(v => v.toISOString())).optional(), httpMethods: z.nullable(z.string()).optional(), providers: z.nullable(z.string()).optional(), requestIds: z.nullable(z.string()).optional(), resources: z.nullable(z.string()).optional(), services: z.nullable(z.string()).optional(), - startDate: z.nullable(z.string()).optional(), + startDate: z.nullable(z.date().transform(v => v.toISOString())).optional(), statusCodes: z.nullable(z.string()).optional(), subResources: z.nullable(z.string()).optional(), success: z.nullable(z.boolean()).optional(), diff --git a/src/sdk/models/operations/ticketinglistattachments.ts b/src/sdk/models/operations/ticketinglistattachments.ts index 8e38aebb3..1cc3e379e 100644 --- a/src/sdk/models/operations/ticketinglistattachments.ts +++ b/src/sdk/models/operations/ticketinglistattachments.ts @@ -16,7 +16,7 @@ export type TicketingListAttachmentsQueryParamFilter = { /** * Use a string with a date to only select results updated after that given date */ - updatedAfter?: string | null | undefined; + updatedAfter?: Date | null | undefined; }; export type TicketingListAttachmentsRequest = { @@ -91,7 +91,9 @@ export const TicketingListAttachmentsQueryParamFilter$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - updated_after: z.nullable(z.string()).optional(), + updated_after: z.nullable( + z.string().datetime({ offset: true }).transform(v => new Date(v)), + ).optional(), }).transform((v) => { return remap$(v, { "updated_after": "updatedAfter", @@ -109,7 +111,7 @@ export const TicketingListAttachmentsQueryParamFilter$outboundSchema: z.ZodType< z.ZodTypeDef, TicketingListAttachmentsQueryParamFilter > = z.object({ - updatedAfter: z.nullable(z.string()).optional(), + updatedAfter: z.nullable(z.date().transform(v => v.toISOString())).optional(), }).transform((v) => { return remap$(v, { updatedAfter: "updated_after", diff --git a/src/sdk/models/operations/ticketinglistcomments.ts b/src/sdk/models/operations/ticketinglistcomments.ts index 69056f0ec..2e2dbbc51 100644 --- a/src/sdk/models/operations/ticketinglistcomments.ts +++ b/src/sdk/models/operations/ticketinglistcomments.ts @@ -16,7 +16,7 @@ export type TicketingListCommentsQueryParamFilter = { /** * Use a string with a date to only select results updated after that given date */ - updatedAfter?: string | null | undefined; + updatedAfter?: Date | null | undefined; }; export type TicketingListCommentsRequest = { @@ -89,7 +89,9 @@ export const TicketingListCommentsQueryParamFilter$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - updated_after: z.nullable(z.string()).optional(), + updated_after: z.nullable( + z.string().datetime({ offset: true }).transform(v => new Date(v)), + ).optional(), }).transform((v) => { return remap$(v, { "updated_after": "updatedAfter", @@ -107,7 +109,7 @@ export const TicketingListCommentsQueryParamFilter$outboundSchema: z.ZodType< z.ZodTypeDef, TicketingListCommentsQueryParamFilter > = z.object({ - updatedAfter: z.nullable(z.string()).optional(), + updatedAfter: z.nullable(z.date().transform(v => v.toISOString())).optional(), }).transform((v) => { return remap$(v, { updatedAfter: "updated_after", diff --git a/src/sdk/models/operations/ticketinglistprojectcomponents.ts b/src/sdk/models/operations/ticketinglistprojectcomponents.ts index 7eddb9e95..7856885a5 100644 --- a/src/sdk/models/operations/ticketinglistprojectcomponents.ts +++ b/src/sdk/models/operations/ticketinglistprojectcomponents.ts @@ -16,7 +16,7 @@ export type TicketingListProjectComponentsQueryParamFilter = { /** * Use a string with a date to only select results updated after that given date */ - updatedAfter?: string | null | undefined; + updatedAfter?: Date | null | undefined; }; export type TicketingListProjectComponentsRequest = { @@ -92,7 +92,9 @@ export const TicketingListProjectComponentsQueryParamFilter$inboundSchema: z.ZodTypeDef, unknown > = z.object({ - updated_after: z.nullable(z.string()).optional(), + updated_after: z.nullable( + z.string().datetime({ offset: true }).transform(v => new Date(v)), + ).optional(), }).transform((v) => { return remap$(v, { "updated_after": "updatedAfter", @@ -111,7 +113,8 @@ export const TicketingListProjectComponentsQueryParamFilter$outboundSchema: z.ZodTypeDef, TicketingListProjectComponentsQueryParamFilter > = z.object({ - updatedAfter: z.nullable(z.string()).optional(), + updatedAfter: z.nullable(z.date().transform(v => v.toISOString())) + .optional(), }).transform((v) => { return remap$(v, { updatedAfter: "updated_after", diff --git a/src/sdk/models/operations/ticketinglistprojects.ts b/src/sdk/models/operations/ticketinglistprojects.ts index c3979470d..2f3fad411 100644 --- a/src/sdk/models/operations/ticketinglistprojects.ts +++ b/src/sdk/models/operations/ticketinglistprojects.ts @@ -16,7 +16,7 @@ export type TicketingListProjectsQueryParamFilter = { /** * Use a string with a date to only select results updated after that given date */ - updatedAfter?: string | null | undefined; + updatedAfter?: Date | null | undefined; }; export type TicketingListProjectsRequest = { @@ -88,7 +88,9 @@ export const TicketingListProjectsQueryParamFilter$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - updated_after: z.nullable(z.string()).optional(), + updated_after: z.nullable( + z.string().datetime({ offset: true }).transform(v => new Date(v)), + ).optional(), }).transform((v) => { return remap$(v, { "updated_after": "updatedAfter", @@ -106,7 +108,7 @@ export const TicketingListProjectsQueryParamFilter$outboundSchema: z.ZodType< z.ZodTypeDef, TicketingListProjectsQueryParamFilter > = z.object({ - updatedAfter: z.nullable(z.string()).optional(), + updatedAfter: z.nullable(z.date().transform(v => v.toISOString())).optional(), }).transform((v) => { return remap$(v, { updatedAfter: "updated_after", diff --git a/src/sdk/models/operations/ticketinglistprojecttickettypes.ts b/src/sdk/models/operations/ticketinglistprojecttickettypes.ts index 43592b6d5..8dafdee54 100644 --- a/src/sdk/models/operations/ticketinglistprojecttickettypes.ts +++ b/src/sdk/models/operations/ticketinglistprojecttickettypes.ts @@ -16,7 +16,7 @@ export type TicketingListProjectTicketTypesQueryParamFilter = { /** * Use a string with a date to only select results updated after that given date */ - updatedAfter?: string | null | undefined; + updatedAfter?: Date | null | undefined; }; export type TicketingListProjectTicketTypesRequest = { @@ -92,7 +92,9 @@ export const TicketingListProjectTicketTypesQueryParamFilter$inboundSchema: z.ZodTypeDef, unknown > = z.object({ - updated_after: z.nullable(z.string()).optional(), + updated_after: z.nullable( + z.string().datetime({ offset: true }).transform(v => new Date(v)), + ).optional(), }).transform((v) => { return remap$(v, { "updated_after": "updatedAfter", @@ -111,7 +113,8 @@ export const TicketingListProjectTicketTypesQueryParamFilter$outboundSchema: z.ZodTypeDef, TicketingListProjectTicketTypesQueryParamFilter > = z.object({ - updatedAfter: z.nullable(z.string()).optional(), + updatedAfter: z.nullable(z.date().transform(v => v.toISOString())) + .optional(), }).transform((v) => { return remap$(v, { updatedAfter: "updated_after", diff --git a/src/sdk/models/operations/ticketinglisttickets.ts b/src/sdk/models/operations/ticketinglisttickets.ts index 48f50479f..c8ab8f635 100644 --- a/src/sdk/models/operations/ticketinglisttickets.ts +++ b/src/sdk/models/operations/ticketinglisttickets.ts @@ -16,7 +16,7 @@ export type TicketingListTicketsQueryParamFilter = { /** * Use a string with a date to only select results updated after that given date */ - updatedAfter?: string | null | undefined; + updatedAfter?: Date | null | undefined; }; export type TicketingListTicketsRequest = { @@ -88,7 +88,9 @@ export const TicketingListTicketsQueryParamFilter$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - updated_after: z.nullable(z.string()).optional(), + updated_after: z.nullable( + z.string().datetime({ offset: true }).transform(v => new Date(v)), + ).optional(), }).transform((v) => { return remap$(v, { "updated_after": "updatedAfter", @@ -106,7 +108,7 @@ export const TicketingListTicketsQueryParamFilter$outboundSchema: z.ZodType< z.ZodTypeDef, TicketingListTicketsQueryParamFilter > = z.object({ - updatedAfter: z.nullable(z.string()).optional(), + updatedAfter: z.nullable(z.date().transform(v => v.toISOString())).optional(), }).transform((v) => { return remap$(v, { updatedAfter: "updated_after", diff --git a/src/sdk/models/operations/ticketinglistticketstatuses.ts b/src/sdk/models/operations/ticketinglistticketstatuses.ts index 9bb054dc1..9e76bdabf 100644 --- a/src/sdk/models/operations/ticketinglistticketstatuses.ts +++ b/src/sdk/models/operations/ticketinglistticketstatuses.ts @@ -16,7 +16,7 @@ export type TicketingListTicketStatusesQueryParamFilter = { /** * Use a string with a date to only select results updated after that given date */ - updatedAfter?: string | null | undefined; + updatedAfter?: Date | null | undefined; }; export type TicketingListTicketStatusesRequest = { @@ -92,7 +92,9 @@ export const TicketingListTicketStatusesQueryParamFilter$inboundSchema: z.ZodTypeDef, unknown > = z.object({ - updated_after: z.nullable(z.string()).optional(), + updated_after: z.nullable( + z.string().datetime({ offset: true }).transform(v => new Date(v)), + ).optional(), }).transform((v) => { return remap$(v, { "updated_after": "updatedAfter", @@ -111,7 +113,8 @@ export const TicketingListTicketStatusesQueryParamFilter$outboundSchema: z.ZodTypeDef, TicketingListTicketStatusesQueryParamFilter > = z.object({ - updatedAfter: z.nullable(z.string()).optional(), + updatedAfter: z.nullable(z.date().transform(v => v.toISOString())) + .optional(), }).transform((v) => { return remap$(v, { updatedAfter: "updated_after", diff --git a/src/sdk/models/operations/ticketinglisttickettypes.ts b/src/sdk/models/operations/ticketinglisttickettypes.ts index a21ff0723..1002379dd 100644 --- a/src/sdk/models/operations/ticketinglisttickettypes.ts +++ b/src/sdk/models/operations/ticketinglisttickettypes.ts @@ -16,7 +16,7 @@ export type TicketingListTicketTypesQueryParamFilter = { /** * Use a string with a date to only select results updated after that given date */ - updatedAfter?: string | null | undefined; + updatedAfter?: Date | null | undefined; }; export type TicketingListTicketTypesRequest = { @@ -90,7 +90,9 @@ export const TicketingListTicketTypesQueryParamFilter$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - updated_after: z.nullable(z.string()).optional(), + updated_after: z.nullable( + z.string().datetime({ offset: true }).transform(v => new Date(v)), + ).optional(), }).transform((v) => { return remap$(v, { "updated_after": "updatedAfter", @@ -108,7 +110,7 @@ export const TicketingListTicketTypesQueryParamFilter$outboundSchema: z.ZodType< z.ZodTypeDef, TicketingListTicketTypesQueryParamFilter > = z.object({ - updatedAfter: z.nullable(z.string()).optional(), + updatedAfter: z.nullable(z.date().transform(v => v.toISOString())).optional(), }).transform((v) => { return remap$(v, { updatedAfter: "updated_after", diff --git a/src/sdk/models/operations/ticketinglistusers.ts b/src/sdk/models/operations/ticketinglistusers.ts index dcf3dde08..260ae3557 100644 --- a/src/sdk/models/operations/ticketinglistusers.ts +++ b/src/sdk/models/operations/ticketinglistusers.ts @@ -16,7 +16,7 @@ export type TicketingListUsersQueryParamFilter = { /** * Use a string with a date to only select results updated after that given date */ - updatedAfter?: string | null | undefined; + updatedAfter?: Date | null | undefined; }; export type TicketingListUsersRequest = { @@ -88,7 +88,9 @@ export const TicketingListUsersQueryParamFilter$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - updated_after: z.nullable(z.string()).optional(), + updated_after: z.nullable( + z.string().datetime({ offset: true }).transform(v => new Date(v)), + ).optional(), }).transform((v) => { return remap$(v, { "updated_after": "updatedAfter", @@ -106,7 +108,7 @@ export const TicketingListUsersQueryParamFilter$outboundSchema: z.ZodType< z.ZodTypeDef, TicketingListUsersQueryParamFilter > = z.object({ - updatedAfter: z.nullable(z.string()).optional(), + updatedAfter: z.nullable(z.date().transform(v => v.toISOString())).optional(), }).transform((v) => { return remap$(v, { updatedAfter: "updated_after", diff --git a/src/sdk/models/shared/assignment.ts b/src/sdk/models/shared/assignment.ts index 6688506fb..dcc75de58 100644 --- a/src/sdk/models/shared/assignment.ts +++ b/src/sdk/models/shared/assignment.ts @@ -89,11 +89,11 @@ export type Assignment = { /** * The date the assignment was created */ - createdAt?: string | null | undefined; + createdAt?: Date | null | undefined; /** * The date the assignment is due to be completed */ - dueDate?: string | null | undefined; + dueDate?: Date | null | undefined; /** * The external reference associated with this assignment * @@ -149,7 +149,7 @@ export type Assignment = { /** * The date the assignment was last updated */ - updatedAt?: string | null | undefined; + updatedAt?: Date | null | undefined; /** * The user ID associated with this assignment */ @@ -620,8 +620,12 @@ export const Assignment$inboundSchema: z.ZodType< unknown > = z.object({ course_id: z.nullable(z.string()).optional(), - created_at: z.nullable(z.string()).optional(), - due_date: z.nullable(z.string()).optional(), + created_at: z.nullable( + z.string().datetime({ offset: true }).transform(v => new Date(v)), + ).optional(), + due_date: z.nullable( + z.string().datetime({ offset: true }).transform(v => new Date(v)), + ).optional(), external_reference: z.nullable(z.string()).optional(), id: z.nullable(z.string()).optional(), learning_object_external_reference: z.nullable(z.string()).optional(), @@ -636,7 +640,9 @@ export const Assignment$inboundSchema: z.ZodType< remote_user_id: z.nullable(z.string()).optional(), status: z.nullable(z.lazy(() => Status$inboundSchema)).optional(), unified_custom_fields: z.nullable(z.record(z.any())).optional(), - updated_at: z.nullable(z.string()).optional(), + updated_at: z.nullable( + z.string().datetime({ offset: true }).transform(v => new Date(v)), + ).optional(), user_id: z.nullable(z.string()).optional(), }).transform((v) => { return remap$(v, { @@ -685,8 +691,8 @@ export const Assignment$outboundSchema: z.ZodType< Assignment > = z.object({ courseId: z.nullable(z.string()).optional(), - createdAt: z.nullable(z.string()).optional(), - dueDate: z.nullable(z.string()).optional(), + createdAt: z.nullable(z.date().transform(v => v.toISOString())).optional(), + dueDate: z.nullable(z.date().transform(v => v.toISOString())).optional(), externalReference: z.nullable(z.string()).optional(), id: z.nullable(z.string()).optional(), learningObjectExternalReference: z.nullable(z.string()).optional(), @@ -701,7 +707,7 @@ export const Assignment$outboundSchema: z.ZodType< remoteUserId: z.nullable(z.string()).optional(), status: z.nullable(z.lazy(() => Status$outboundSchema)).optional(), unifiedCustomFields: z.nullable(z.record(z.any())).optional(), - updatedAt: z.nullable(z.string()).optional(), + updatedAt: z.nullable(z.date().transform(v => v.toISOString())).optional(), userId: z.nullable(z.string()).optional(), }).transform((v) => { return remap$(v, { diff --git a/src/sdk/models/shared/completion.ts b/src/sdk/models/shared/completion.ts index ac16272df..bf137f870 100644 --- a/src/sdk/models/shared/completion.ts +++ b/src/sdk/models/shared/completion.ts @@ -82,7 +82,7 @@ export type Completion = { /** * The date the content was completed */ - completedAt?: string | null | undefined; + completedAt?: Date | null | undefined; /** * The external reference associated with this content * @@ -104,7 +104,7 @@ export type Completion = { /** * The created date of the completion */ - createdAt?: string | null | undefined; + createdAt?: Date | null | undefined; /** * The external ID associated with this completion * @@ -178,7 +178,7 @@ export type Completion = { /** * The updated date of the completion */ - updatedAt?: string | null | undefined; + updatedAt?: Date | null | undefined; /** * The user ID associated with this completion */ @@ -657,11 +657,15 @@ export const Completion$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - completed_at: z.nullable(z.string()).optional(), + completed_at: z.nullable( + z.string().datetime({ offset: true }).transform(v => new Date(v)), + ).optional(), content_external_reference: z.nullable(z.string()).optional(), content_id: z.nullable(z.string()).optional(), course_id: z.nullable(z.string()).optional(), - created_at: z.nullable(z.string()).optional(), + created_at: z.nullable( + z.string().datetime({ offset: true }).transform(v => new Date(v)), + ).optional(), external_id: z.nullable(z.string()).optional(), external_reference: z.nullable(z.string()).optional(), id: z.nullable(z.string()).optional(), @@ -680,7 +684,9 @@ export const Completion$inboundSchema: z.ZodType< .optional(), time_spent: z.nullable(z.string()).optional(), unified_custom_fields: z.nullable(z.record(z.any())).optional(), - updated_at: z.nullable(z.string()).optional(), + updated_at: z.nullable( + z.string().datetime({ offset: true }).transform(v => new Date(v)), + ).optional(), user_id: z.nullable(z.string()).optional(), }).transform((v) => { return remap$(v, { @@ -742,11 +748,11 @@ export const Completion$outboundSchema: z.ZodType< z.ZodTypeDef, Completion > = z.object({ - completedAt: z.nullable(z.string()).optional(), + completedAt: z.nullable(z.date().transform(v => v.toISOString())).optional(), contentExternalReference: z.nullable(z.string()).optional(), contentId: z.nullable(z.string()).optional(), courseId: z.nullable(z.string()).optional(), - createdAt: z.nullable(z.string()).optional(), + createdAt: z.nullable(z.date().transform(v => v.toISOString())).optional(), externalId: z.nullable(z.string()).optional(), externalReference: z.nullable(z.string()).optional(), id: z.nullable(z.string()).optional(), @@ -765,7 +771,7 @@ export const Completion$outboundSchema: z.ZodType< .optional(), timeSpent: z.nullable(z.string()).optional(), unifiedCustomFields: z.nullable(z.record(z.any())).optional(), - updatedAt: z.nullable(z.string()).optional(), + updatedAt: z.nullable(z.date().transform(v => v.toISOString())).optional(), userId: z.nullable(z.string()).optional(), }).transform((v) => { return remap$(v, { diff --git a/src/sdk/models/shared/course.ts b/src/sdk/models/shared/course.ts index 7b82db61d..c8fbac54a 100644 --- a/src/sdk/models/shared/course.ts +++ b/src/sdk/models/shared/course.ts @@ -66,7 +66,7 @@ export type Course = { /** * The date on which the course was created. */ - createdAt?: string | null | undefined; + createdAt?: Date | null | undefined; /** * The description of the course */ @@ -114,7 +114,7 @@ export type Course = { /** * The date on which the course was last updated. */ - updatedAt?: string | null | undefined; + updatedAt?: Date | null | undefined; /** * The redirect URL of the course. */ @@ -193,7 +193,9 @@ export const Course$inboundSchema: z.ZodType = z categories: z.nullable(z.array(Category$inboundSchema)).optional(), content_ids: z.nullable(z.array(z.string())).optional(), cover_url: z.nullable(z.string()).optional(), - created_at: z.nullable(z.string()).optional(), + created_at: z.nullable( + z.string().datetime({ offset: true }).transform(v => new Date(v)), + ).optional(), description: z.nullable(z.string()).optional(), duration: z.nullable(z.string()).optional(), external_reference: z.nullable(z.string()).optional(), @@ -205,7 +207,9 @@ export const Course$inboundSchema: z.ZodType = z skills: z.nullable(z.array(Skills$inboundSchema)).optional(), title: z.nullable(z.string()).optional(), unified_custom_fields: z.nullable(z.record(z.any())).optional(), - updated_at: z.nullable(z.string()).optional(), + updated_at: z.nullable( + z.string().datetime({ offset: true }).transform(v => new Date(v)), + ).optional(), url: z.nullable(z.string()).optional(), }).transform((v) => { return remap$(v, { @@ -254,7 +258,7 @@ export const Course$outboundSchema: z.ZodType< categories: z.nullable(z.array(Category$outboundSchema)).optional(), contentIds: z.nullable(z.array(z.string())).optional(), coverUrl: z.nullable(z.string()).optional(), - createdAt: z.nullable(z.string()).optional(), + createdAt: z.nullable(z.date().transform(v => v.toISOString())).optional(), description: z.nullable(z.string()).optional(), duration: z.nullable(z.string()).optional(), externalReference: z.nullable(z.string()).optional(), @@ -266,7 +270,7 @@ export const Course$outboundSchema: z.ZodType< skills: z.nullable(z.array(Skills$outboundSchema)).optional(), title: z.nullable(z.string()).optional(), unifiedCustomFields: z.nullable(z.record(z.any())).optional(), - updatedAt: z.nullable(z.string()).optional(), + updatedAt: z.nullable(z.date().transform(v => v.toISOString())).optional(), url: z.nullable(z.string()).optional(), }).transform((v) => { return remap$(v, { diff --git a/src/sdk/models/shared/employee.ts b/src/sdk/models/shared/employee.ts index 98aada89b..c64d9091a 100644 --- a/src/sdk/models/shared/employee.ts +++ b/src/sdk/models/shared/employee.ts @@ -1832,7 +1832,7 @@ export type Employee = { */ benefits?: Array | null | undefined; /** - * The employee birthday + * The next birthday of the employee (upcoming birthday) */ birthday?: Date | null | undefined; /** @@ -1868,7 +1868,7 @@ export type Employee = { */ customFields?: Array | null | undefined; /** - * The employee date_of_birth + * The date when the employee was born */ dateOfBirth?: Date | null | undefined; /** diff --git a/src/sdk/models/shared/hriscreateemployeerequestdto.ts b/src/sdk/models/shared/hriscreateemployeerequestdto.ts index ad5461f90..6156ab385 100644 --- a/src/sdk/models/shared/hriscreateemployeerequestdto.ts +++ b/src/sdk/models/shared/hriscreateemployeerequestdto.ts @@ -2095,7 +2095,7 @@ export type HrisCreateEmployeeRequestDto = { */ benefits?: Array | null | undefined; /** - * The employee birthday + * The next birthday of the employee (upcoming birthday) */ birthday?: Date | null | undefined; /** @@ -2121,7 +2121,7 @@ export type HrisCreateEmployeeRequestDto = { */ customFields?: Array | null | undefined; /** - * The employee date_of_birth + * The date when the employee was born */ dateOfBirth?: Date | null | undefined; /** diff --git a/src/sdk/models/shared/hrisupdateemployeerequestdto.ts b/src/sdk/models/shared/hrisupdateemployeerequestdto.ts index c93f7c4c7..943a00e48 100644 --- a/src/sdk/models/shared/hrisupdateemployeerequestdto.ts +++ b/src/sdk/models/shared/hrisupdateemployeerequestdto.ts @@ -2083,7 +2083,7 @@ export type HrisUpdateEmployeeRequestDto = { */ benefits?: Array | null | undefined; /** - * The employee birthday + * The next birthday of the employee (upcoming birthday) */ birthday?: Date | null | undefined; /** @@ -2105,7 +2105,7 @@ export type HrisUpdateEmployeeRequestDto = { */ customFields?: Array | null | undefined; /** - * The employee date_of_birth + * The date when the employee was born */ dateOfBirth?: Date | null | undefined; /** diff --git a/src/sdk/models/shared/lmscreateassignmentrequestdto.ts b/src/sdk/models/shared/lmscreateassignmentrequestdto.ts index 27a8794d5..91304e688 100644 --- a/src/sdk/models/shared/lmscreateassignmentrequestdto.ts +++ b/src/sdk/models/shared/lmscreateassignmentrequestdto.ts @@ -51,11 +51,11 @@ export type LmsCreateAssignmentRequestDto = { /** * The date the assignment was created */ - createdAt?: string | null | undefined; + createdAt?: Date | null | undefined; /** * The date the assignment is due to be completed */ - dueDate?: string | null | undefined; + dueDate?: Date | null | undefined; /** * The external reference associated with this assignment * @@ -344,8 +344,12 @@ export const LmsCreateAssignmentRequestDto$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - created_at: z.nullable(z.string()).optional(), - due_date: z.nullable(z.string()).optional(), + created_at: z.nullable( + z.string().datetime({ offset: true }).transform(v => new Date(v)), + ).optional(), + due_date: z.nullable( + z.string().datetime({ offset: true }).transform(v => new Date(v)), + ).optional(), external_reference: z.nullable(z.string()).optional(), learning_object_external_reference: z.nullable(z.string()).optional(), learning_object_id: z.nullable(z.string()).optional(), @@ -382,8 +386,8 @@ export const LmsCreateAssignmentRequestDto$outboundSchema: z.ZodType< z.ZodTypeDef, LmsCreateAssignmentRequestDto > = z.object({ - createdAt: z.nullable(z.string()).optional(), - dueDate: z.nullable(z.string()).optional(), + createdAt: z.nullable(z.date().transform(v => v.toISOString())).optional(), + dueDate: z.nullable(z.date().transform(v => v.toISOString())).optional(), externalReference: z.nullable(z.string()).optional(), learningObjectExternalReference: z.nullable(z.string()).optional(), learningObjectId: z.nullable(z.string()).optional(), diff --git a/src/sdk/models/shared/lmscreatecompletionrequestdto.ts b/src/sdk/models/shared/lmscreatecompletionrequestdto.ts index 45a5c7982..56f9204cd 100644 --- a/src/sdk/models/shared/lmscreatecompletionrequestdto.ts +++ b/src/sdk/models/shared/lmscreatecompletionrequestdto.ts @@ -50,7 +50,7 @@ export type LmsCreateCompletionRequestDto = { /** * The date the content was completed */ - completedAt?: string | null | undefined; + completedAt?: Date | null | undefined; /** * The external reference associated with this content * @@ -345,7 +345,9 @@ export const LmsCreateCompletionRequestDto$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - completed_at: z.nullable(z.string()).optional(), + completed_at: z.nullable( + z.string().datetime({ offset: true }).transform(v => new Date(v)), + ).optional(), content_external_reference: z.nullable(z.string()).optional(), content_id: z.nullable(z.string()).optional(), learning_object_external_reference: z.nullable(z.string()).optional(), @@ -384,7 +386,7 @@ export const LmsCreateCompletionRequestDto$outboundSchema: z.ZodType< z.ZodTypeDef, LmsCreateCompletionRequestDto > = z.object({ - completedAt: z.nullable(z.string()).optional(), + completedAt: z.nullable(z.date().transform(v => v.toISOString())).optional(), contentExternalReference: z.nullable(z.string()).optional(), contentId: z.nullable(z.string()).optional(), learningObjectExternalReference: z.nullable(z.string()).optional(), From 5740323732177ca3f1f4daf09901756b69583f47 Mon Sep 17 00:00:00 2001 From: "speakeasy-github[bot]" <128539517+speakeasy-github[bot]@users.noreply.github.com> Date: Wed, 30 Jul 2025 17:30:06 +0000 Subject: [PATCH 2/2] empty commit to trigger [run-tests] workflow