diff --git a/.speakeasy/gen.lock b/.speakeasy/gen.lock index f772da8f..d53c8f6f 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 b3f18d1d..c2ebd628 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 02866022..c66861e8 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 fd2c5f4f..7c35bb08 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 bd2f441a..853746ae 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 f2efadc8..4d521796 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 5a6f1cbd..85573063 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 c907f579..76faad0f 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 f24b7d68..d81e0aa0 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 d12fb469..ccf0b8ea 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 4706e270..49a84a73 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 d2f9ffd7..774686d0 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 9c16c42e..397e8f1c 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 e69c4427..ce396099 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 d7b5bd47..606c8058 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 39119f23..536be973 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 8e5ccaa7..43a911f6 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 669c757e..3700950c 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 8d6f8f57..4d9e0d38 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 c7fa4700..e966c241 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 9cec1c9b..4a2fefe5 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 06eb2a57..07eeb8ce 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 3c04e9ae..93017168 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 87c918ca..24f84575 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 bd822c0e..aafe6dd3 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 4cf4734a..f1e506c3 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 bc712679..3e19be5e 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 026cb505..076505a6 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 12a42767..65f5a135 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 29b66006..8600320c 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 d0b3768a..86fafdcf 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 60d61af2..a42db8e2 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 8a48d9e2..c40dc64f 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 27104f66..5246813f 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 04be64a7..fa60a16e 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 40979c71..76cd6c0b 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 af77af00..71313855 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 3d7c1f37..8500ea94 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 d1e07817..8cbd40f4 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 ab6f1ef5..6f07b129 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 b39d9953..0bcba8ce 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 5142df2c..428e8e35 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 9824d167..45be610f 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 22d84991..67f14425 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 616f9e37..c3b87cc4 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 9d4ef7aa..dc04cd75 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 e2049744..ecb709c8 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 b84b82b9..51a195c3 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 58c8c4e2..628f9306 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 ca3b1dcf..722d879a 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 0d4f9415..be3ef7f5 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 811aec10..be35cacf 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 d1c846bb..c63ef2bb 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 0916cc55..f6954987 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 3a8e3591..d77ddaf1 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 177a0eff..b2318d7a 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 902afa17..a4624f3e 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 09ddede0..448e0548 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 3aa0849b..9913703a 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 aa394c8d..a61dd644 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 92f07af7..c24604b2 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 cc204f21..f0b3ecdd 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 5b4c1c21..f52e4708 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 62eb16f4..51987f33 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 e4aabab2..99297837 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 82107ad5..7b427ef6 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 b96c9421..cec2d3c4 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 2a0a89b5..b1375543 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 6418f857..f4652980 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 cc454016..4badd058 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 fa4e5285..3a8dbfdc 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 e886e071..ee74d6d3 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 a7de3367..364bf4d7 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 27cff390..4ab500d7 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 ad167daa..d7dd74df 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 303ccdd7..2f718f82 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 2722d416..84cc9b43 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 84bdf29b..8efe269b 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 e6ff274c..d9ba34fe 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 ef59ee95..4821e3d0 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 4390a746..926ebc90 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 ad00244c..acabc603 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 0a1b5dff..db7d1b96 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 8dc92268..1bb985e8 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 612c52ee..39220d7e 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 596cdf24..26583b95 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 d23bd12f..340a8d61 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 5ac70e9f..60de6191 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 bf2cbe2b..bb8574af 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 756f9b72..ee4fcaeb 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 5fb0f3d3..8570899e 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 3cdf0346..97a653d7 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 358ed10c..30a206bc 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 ea2082b2..cb7a6e99 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 9f1cf7bc..f213cea1 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 0ede283f..9456ed08 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 e6eba231..fab9cf3d 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 c67073c5..3b3cc14a 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 65b07fda..3ba1ea74 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 22bdadba..b7508e93 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 8895d0d8..ecc3b8c3 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 7973fe69..24c2f82f 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 726e62fd..a22f2e96 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 e9482828..f0b3997e 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 5f6bfb74..3925de8d 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 ac7d1c52..93e3e661 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 3df0c419..66adc46b 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 33635850..c004800c 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 8f46cd01..78da00c9 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 9048e0df..bfb07623 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 3fd821d3..4295e5f8 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 131170a1..721f3973 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 b8b4dfc3..09add298 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 60db22fe..2f633229 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 539999cc..795270bd 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 c10c1703..2f04cc1a 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 f8db4137..7a0407df 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 ac653492..a08af778 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 91aa8caf..490a52f7 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 efc7835e..cb3b6b15 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 683d5c72..bca990db 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 4753b054..d073b7ae 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 e9d40a63..67577133 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 880b4bf1..9ee77a56 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 1a7acb2f..ac725f30 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 8b2fd855..87a7e373 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 068d8b44..8cf792d2 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 2cd2728b..6b4890ad 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 72e0d0a0..88d1ed02 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 2c98a3bf..420da1c9 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 73af738b..f4c7bf7c 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 b3ac6330..89685783 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 9844a6ae..c319acb5 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 6a14229a..0070ed0d 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 74c7dff5..b3694021 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 95d13d3b..742dd418 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 e850bb12..d68a9334 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 60e19d9d..0332e4a6 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 b4764304..ce76319e 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 411fa784..72d7798b 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 15dfca3e..4ed52880 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 a3e802ba..33ea70a9 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 b5dd4b0b..0a373709 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 962678dc..b3d7e22b 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 4d0407f8..e481dc89 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 6550a15f..1933ff8f 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 d02fb908..a10e7c36 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 5023c482..b17cb44c 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 f357610e..452a86d5 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 0536a2b2..b4deceac 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 c2647a14..bb09375d 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 8581ee7c..8dc371fc 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 1ec38028..4412ea17 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 3c8c4438..4aadd256 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 92c86335..dd3385c4 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 2601f837..d5d2f213 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 5b0cb3f3..31a35bf8 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 86909b48..99977700 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 b7172eb7..d225d2a3 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 8f1ee9bb..dc73dc71 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 9cb26fa6..930e1576 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 c0e9d097..b7dfb973 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 a9c12515..5d8da3ef 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 7e6a5ed4..8f3e1fa5 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 7f602afe..42926c72 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 52ba199c..45ba8615 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 d1b2b8c5..7274324e 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 ddb5d310..c956f805 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 6c1f53c4..a9b81882 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 782c7192..7eb0a149 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 71358c92..ccbbb086 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 4f76978d..78c22acb 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 c8d3f3e8..256f8abe 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 59dae4db..43e380ee 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 4b0ca05f..1a435b56 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 1ba508ed..d369d733 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 747bd207..5747564d 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 2306969e..30e0ee54 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 4d9878de..2fb92fbc 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 2fcf24a5..fc91735b 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 c0cb7657..fbf6bf60 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 0b17f0b7..caab732d 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 898275aa..b816e63f 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 e2ec2fff..da9feebf 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 07a26238..e806c43a 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 a41fa68b..cd0fded4 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 5f21f146..f50da2f8 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 f4dfd81e..94f3be71 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 a4e2ff61..07ce82dd 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 bfe368e4..868abea1 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 47e99c63..4332f706 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 e70c9654..bb80dfdc 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 3bf6f40f..2c389732 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 55775caa..904b49c7 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 196814a7..9e0a4f62 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 d5a99fd3..2e156b84 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 3e141d35..5f7e021e 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 0867161a..b4ef352b 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 7244189b..c12dea6b 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 0419de1f..446aaf40 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 2a6c25c2..e3d6332f 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 b477e89f..8cb4d07e 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 cfce6090..2ca1a84c 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 0698097c..9c8a7520 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 954655c7..b618be01 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 6f79641f..dc8d3fd9 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 a48e05c5..496c378e 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 26f6ed92..3537e564 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 380bbe12..d08ee8c3 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 cfc8ae46..465da3ae 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 becab14a..1e96fdfd 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 6a5745f7..23e0dfaa 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 9559129f..0bd9cdf9 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 48eccd08..6e2a6010 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 dcbde5d0..5ed6906c 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 f922b765..e97a3022 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 50495986..a06e97cd 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 e3c6b894..1eb28a96 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 44a0722c..9ee5c8f1 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 f87ab439..c4232f03 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 7b45161b..debbef7f 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 48f8a2dd..a882e161 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 4ca8f51b..b4eef819 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 c17c6394..babbc5a6 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 707bcc09..6bfc2da9 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 fa80e5ec..78ba4fc8 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 a7ed3e39..4c41a6ee 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 f8a728c3..f3759797 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 9bd71723..8e26995b 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 ff488dc4..396fa8c8 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 c92baf3c..caec3351 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 d25c1095..b08f381b 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 c203be40..2b8e5012 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 b1470fe6..b11eb311 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 352e95ef..53c283cf 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 3ede5a40..3f4ce354 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 13afdc9b..639dd9f2 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 4bef91a8..a123dc17 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 78714ea2..afe678d7 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 bda565fb..deb4e274 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 fb47580b..7cb334b9 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 9e085bdd..34783c2f 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 306ddda6..05e7ba13 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 b8f84084..edf14341 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 d6efcc61..13a3cab0 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 7664db73..d39ed31a 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 f8abe01b..f8d03d21 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 23a2af45..08e6cc1f 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 6e6453f5..f8c77ac0 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 a9f8d359..fd86ff42 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 cb8254fc..cb5af113 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 490f659f..fb009384 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 903d47d3..30c21d38 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 3e47da7d..26861d74 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 c9773f7c..c8706dc5 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 7e80fed0..62dcb1f7 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 6082988f..cebc2f23 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 fe372d10..7ba372a2 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 b9a91f03..9376245d 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 c2ad0524..1db9cca9 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 c693d037..06eca7f1 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 f7704bc4..015cf724 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 cda58360..62864372 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 bf21cca6..38f38335 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 329f2d35..666904e1 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 f9fc5ea7..90b4c328 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 4665f7a7..3d078ad3 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 44dad1d4..0faeb5a3 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 2299dace..c52f747f 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 cfe5107b..6cd75f9b 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 748feeee..b7cba026 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 17ed6b02..461a65bf 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 cc57fd28..5ec859eb 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 85808fc4..6e4e37f0 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 563e7302..0776170e 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 948a1d9c..648eeaa1 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 0b095251..167808f4 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 768b414c..2da1b869 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 78e947ee..859b60b3 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 d0f65552..8ff294ea 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 bca30a01..00177fac 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 a6a65a8c..c11f51ba 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 7f2567ea..43dc3da6 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 f5a65cfc..7691d7d8 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 670353b5..b4d3c8a5 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 b8f33303..6ad6f19c 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 9bdbf71f..f514eab8 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 cd8c3b00..0890b0ad 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 dad2de52..2a160bf5 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 e40b647b..e574a7e8 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 41c52f12..e4ea1a0a 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 c2f0e01f..f7a29f0e 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 f22b46ef..0f70ea62 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 800d5607..08dfce3e 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 f9effa08..9b9bcee6 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 f3609f98..d3c6d5fe 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 b6c61ab4..8192bca7 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 a0b1194a..96c69891 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 66157ea3..7b20c019 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 b8d24a3c..d6f8f0c0 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 043d7f51..9bc6426d 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 aeb35a45..ca1ef9ae 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 8a13e0e2..15e18602 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 7b34ab23..9a25a2b5 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 853dd2fe..09a866de 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 e257338a..3b830608 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 1ac7940e..b5a7e7bb 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 0be541cc..4db9ca05 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 1ffcf0a7..f5a5470b 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 11fa4b13..af03dfdb 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 881e2110..0c39645a 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 dae89da9..8a7cd828 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 9ae83f05..b3d0be5d 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 dd3279f9..d817afeb 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 299ed610..fd8414c7 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 8e38aebb..1cc3e379 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 69056f0e..2e2dbbc5 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 7eddb9e9..7856885a 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 c3979470..2f3fad41 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 43592b6d..8dafdee5 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 48f50479..c8ab8f63 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 9bb054dc..9e76bdab 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 a21ff072..1002379d 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 dcf3dde0..260ae355 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 6688506f..dcc75de5 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 ac16272d..bf137f87 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 7b82db61..c8fbac54 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 98aada89..c64d9091 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 ad5461f9..6156ab38 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 c93f7c4c..943a00e4 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 27a8794d..91304e68 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 45a5c798..56f9204c 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(),