@dsptch-work/api-client 0.53.0 → 0.54.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -13307,59 +13307,118 @@ export type ProductionQuantityCompletionResponseObject = {
13307
13307
  withdrawn_at: string | null;
13308
13308
  };
13309
13309
  /**
13310
- * The form-assignment tasks created by one request — assigning a form to one or more users, each with a due time and optional recurrence and reminders. Returned as an array because a request can spread the assignment into one task per assignee.
13310
+ * A shared form-completion task — a SurveyJS form assigned to users with a due time, optional recurrence, and reminders. Path `{id}` is the `Tasks::FormAssignmentTask` id, not the web show `Task#uid`. Nested job, site, feature, and asset-item assignments are not this resource.
13311
13311
  */
13312
- export type FormAssignmentTaskResponseObject = Array<{
13312
+ export type FormAssignmentTaskItemObject = {
13313
13313
  /**
13314
- * Unique identifier of the assignment task.
13314
+ * Unique identifier.
13315
13315
  */
13316
13316
  id: string;
13317
13317
  /**
13318
- * ID of the form being assigned.
13318
+ * ID of the form definition (a SurveyJS form template) this assignment is for.
13319
13319
  */
13320
13320
  form_definition_id: string;
13321
13321
  /**
13322
- * Recurrence frequency (e.g. DAILY, WEEKLY); null when the assignment does not recur.
13322
+ * How often this form task recurs: one of DAILY, WORKDAILY, WORKDAILYSIX, WEEKLY, BIWEEKLY, MONTHLY, or QUARTERLY. Null for a one-time assignment; on write, applied only when recurring is true.
13323
13323
  */
13324
13324
  frequency: 'DAILY' | 'WORKDAILY' | 'WORKDAILYSIX' | 'WEEKLY' | 'BIWEEKLY' | 'MONTHLY' | 'QUARTERLY' | null;
13325
13325
  /**
13326
- * When the recurrence stops (ISO 8601); null when the assignment does not recur.
13326
+ * When recurrence stops (ISO 8601); null for a non-recurring or open-ended task.
13327
13327
  */
13328
13328
  recurrence_end_time: string | null;
13329
13329
  /**
13330
- * When the assigned form is due (ISO 8601).
13330
+ * When the form task is due (ISO 8601), interpreted in tz_name; null for an unscheduled task.
13331
13331
  */
13332
- time_due: string;
13332
+ time_due: string | null;
13333
13333
  /**
13334
- * Timezone for the due time.
13334
+ * IANA time zone in which time_due is interpreted; null for an unscheduled task.
13335
13335
  */
13336
- tz_name: string;
13336
+ tz_name: string | null;
13337
13337
  /**
13338
- * Display name of the task; falls back to the form's name.
13338
+ * Name of the form task; defaults to the form definition's name.
13339
13339
  */
13340
13340
  name: string;
13341
13341
  /**
13342
- * Free-text task description; null when none.
13342
+ * Free-text description of the task.
13343
13343
  */
13344
13344
  description: string | null;
13345
13345
  /**
13346
- * IDs of the users the form is assigned to.
13346
+ * IDs of the users this form task is assigned to.
13347
13347
  */
13348
13348
  task_assignee_user_ids: Array<string>;
13349
13349
  /**
13350
- * Reminder schedule for the assignment.
13350
+ * Reminder notifications for this task, each scheduled at an offset from the due time.
13351
13351
  */
13352
13352
  reminders: Array<{
13353
13353
  /**
13354
- * Lead time before the due time, as an ISO 8601 duration.
13354
+ * ISO 8601 duration offset from the due time for the reminder (e.g. -PT1H for one hour before); must be one of the preset reminder times.
13355
13355
  */
13356
13356
  offset: string;
13357
13357
  /**
13358
- * Absolute time the reminder fires (ISO 8601).
13358
+ * When the reminder fires (ISO 8601), computed as the due time plus the offset.
13359
13359
  */
13360
13360
  remind_at: string;
13361
13361
  }>;
13362
- }>;
13362
+ };
13363
+ /**
13364
+ * The form-assignment tasks created by one request — assigning a form to one or more users, each with a due time and optional recurrence and reminders. Returned as an array because a request can spread the assignment into one task per assignee.
13365
+ */
13366
+ export type FormAssignmentTaskResponseObject = Array<FormAssignmentTaskItemObject>;
13367
+ /**
13368
+ * Update a shared form assignment. All fields are optional — send only what changes. recurring gates the recurrence fields, and task_attributes.reminders_attributes replaces the existing reminder set when supplied. A newly added assignee outside the credential company returns 422. The creator is set at creation and cannot be sent. Nested job, site, feature, and asset-item assignments are not this resource.
13369
+ */
13370
+ export type FormAssignmentTaskUpdateParameters = {
13371
+ /**
13372
+ * ID of the form definition (a SurveyJS form template) this assignment is for.
13373
+ */
13374
+ form_definition_id?: string;
13375
+ /**
13376
+ * When true, frequency and recurrence_end_time apply; when false or omitted, the task is one-time and those fields are cleared.
13377
+ */
13378
+ recurring?: boolean;
13379
+ /**
13380
+ * The underlying task's name, schedule, assignees, and reminders.
13381
+ */
13382
+ task_attributes?: {
13383
+ /**
13384
+ * Name of the form task; defaults to the form definition's name.
13385
+ */
13386
+ name?: string | null;
13387
+ /**
13388
+ * Free-text description of the task.
13389
+ */
13390
+ description?: string | null;
13391
+ /**
13392
+ * When the form task is due (ISO 8601), interpreted in tz_name; null for an unscheduled task.
13393
+ */
13394
+ time_due?: string | null;
13395
+ /**
13396
+ * IANA time zone in which time_due is interpreted; null for an unscheduled task.
13397
+ */
13398
+ tz_name?: string | null;
13399
+ /**
13400
+ * How often this form task recurs: one of DAILY, WORKDAILY, WORKDAILYSIX, WEEKLY, BIWEEKLY, MONTHLY, or QUARTERLY. Null for a one-time assignment; on write, applied only when recurring is true.
13401
+ */
13402
+ frequency?: 'DAILY' | 'WORKDAILY' | 'WORKDAILYSIX' | 'WEEKLY' | 'BIWEEKLY' | 'MONTHLY' | 'QUARTERLY' | null;
13403
+ /**
13404
+ * When recurrence stops (ISO 8601); null for a non-recurring or open-ended task.
13405
+ */
13406
+ recurrence_end_time?: string | null;
13407
+ /**
13408
+ * Unique nonblank IDs of the users this form task is assigned to; the list replaces the assignees. Omit it to keep them (none on create), or send an empty array to clear them. Null, null members, wrong types, blank IDs, and duplicate IDs answer 422 before anything is written.
13409
+ */
13410
+ task_assignee_user_ids?: Array<string>;
13411
+ /**
13412
+ * Reminders to attach, each an offset from the due time. On update, replaces the existing set.
13413
+ */
13414
+ reminders_attributes?: Array<{
13415
+ /**
13416
+ * ISO 8601 duration offset from the due time for the reminder (e.g. -PT1H for one hour before); must be one of the preset reminder times.
13417
+ */
13418
+ offset: 'PT0S' | 'PT-1M' | 'PT-5M' | 'PT-10M' | 'PT-15M' | 'PT-30M' | 'PT-1H' | 'PT-2H' | 'P-1D' | 'P-2D' | 'P-3D' | 'P-4D' | 'P-5D' | 'P-6D' | 'P-1W' | 'P-2W' | 'P-1M' | 'P-2M' | 'P-3M' | 'P-6M' | 'P-1Y' | 'PT5M' | 'PT15M' | 'PT30M' | 'PT1H' | 'PT6H' | 'PT12H' | 'P1D' | 'P2D' | 'P3D' | 'P4D' | 'P5D' | 'P6D' | 'P1W' | 'P2W' | 'P3W';
13419
+ }>;
13420
+ };
13421
+ };
13363
13422
  /**
13364
13423
  * Request body for creating a certification — a named qualification a worker can hold. You can only manage your own company's certifications; global (platform) certifications are read-only. Omitting company_id or name answers 400, and a null or blank one, or any wrong-typed value, answers 422.
13365
13424
  */
@@ -29376,6 +29435,8 @@ export type ListJobWageDeterminationsData = {
29376
29435
  'as_of[bogus_axis]'?: string;
29377
29436
  'as_of[valid][gte]'?: string;
29378
29437
  'as_of[transaction]'?: string;
29438
+ filter?: string;
29439
+ 'filter[unexpected]'?: string;
29379
29440
  };
29380
29441
  url: '/api/v1/jobs/{job_id}/wage_determinations';
29381
29442
  };
@@ -37100,6 +37161,51 @@ export type UpdateTradeResponses = {
37100
37161
  200: PwaTradeResponseObject;
37101
37162
  };
37102
37163
  export type UpdateTradeResponse = UpdateTradeResponses[keyof UpdateTradeResponses];
37164
+ export type ListTasksFormAssignmentTasksData = {
37165
+ body?: never;
37166
+ path?: never;
37167
+ query?: {
37168
+ /**
37169
+ * Returns only assignments for this form definition.
37170
+ */
37171
+ 'filter[form_definition_id]'?: string;
37172
+ /**
37173
+ * This pagination cursor corresponds to the cursor value found in the response in
37174
+ * `meta.page.next_cursor`.
37175
+ */
37176
+ 'page[cursor]'?: string;
37177
+ /**
37178
+ * Maximum number of records to return per page. Defaults to 20. A value above 100 is capped to 100 rather than rejected; a value that is zero, negative, or not an integer is rejected with a `400`.
37179
+ */
37180
+ 'page[limit]'?: number;
37181
+ page?: string;
37182
+ filter?: string;
37183
+ 'filter[unexpected]'?: string;
37184
+ };
37185
+ url: '/api/v1/tasks/form_assignment_tasks';
37186
+ };
37187
+ export type ListTasksFormAssignmentTasksErrors = {
37188
+ /**
37189
+ * Bad Request
37190
+ */
37191
+ 400: Problem;
37192
+ /**
37193
+ * Forbidden
37194
+ */
37195
+ 403: Problem;
37196
+ };
37197
+ export type ListTasksFormAssignmentTasksError = ListTasksFormAssignmentTasksErrors[keyof ListTasksFormAssignmentTasksErrors];
37198
+ export type ListTasksFormAssignmentTasksResponses = {
37199
+ /**
37200
+ * Success
37201
+ */
37202
+ 200: {
37203
+ meta: Meta;
37204
+ links: Links;
37205
+ data: Array<FormAssignmentTaskItemObject>;
37206
+ };
37207
+ };
37208
+ export type ListTasksFormAssignmentTasksResponse = ListTasksFormAssignmentTasksResponses[keyof ListTasksFormAssignmentTasksResponses];
37103
37209
  export type CreateFormAssignmentTaskData = {
37104
37210
  body?: {
37105
37211
  form_definition_id: string;
@@ -37149,6 +37255,96 @@ export type CreateFormAssignmentTaskResponses = {
37149
37255
  201: FormAssignmentTaskResponseObject;
37150
37256
  };
37151
37257
  export type CreateFormAssignmentTaskResponse = CreateFormAssignmentTaskResponses[keyof CreateFormAssignmentTaskResponses];
37258
+ export type DeleteTasksFormAssignmentTaskData = {
37259
+ body?: never;
37260
+ path: {
37261
+ id: string;
37262
+ };
37263
+ query?: never;
37264
+ url: '/api/v1/tasks/form_assignment_tasks/{id}';
37265
+ };
37266
+ export type DeleteTasksFormAssignmentTaskErrors = {
37267
+ /**
37268
+ * Forbidden
37269
+ */
37270
+ 403: Problem;
37271
+ /**
37272
+ * Not Found
37273
+ */
37274
+ 404: Problem;
37275
+ /**
37276
+ * Unprocessable Content
37277
+ */
37278
+ 422: Problem;
37279
+ };
37280
+ export type DeleteTasksFormAssignmentTaskError = DeleteTasksFormAssignmentTaskErrors[keyof DeleteTasksFormAssignmentTaskErrors];
37281
+ export type DeleteTasksFormAssignmentTaskResponses = {
37282
+ /**
37283
+ * No Content
37284
+ */
37285
+ 204: void;
37286
+ };
37287
+ export type DeleteTasksFormAssignmentTaskResponse = DeleteTasksFormAssignmentTaskResponses[keyof DeleteTasksFormAssignmentTaskResponses];
37288
+ export type GetTasksFormAssignmentTaskData = {
37289
+ body?: never;
37290
+ path: {
37291
+ id: string;
37292
+ };
37293
+ query?: never;
37294
+ url: '/api/v1/tasks/form_assignment_tasks/{id}';
37295
+ };
37296
+ export type GetTasksFormAssignmentTaskErrors = {
37297
+ /**
37298
+ * Forbidden
37299
+ */
37300
+ 403: Problem;
37301
+ /**
37302
+ * Not Found
37303
+ */
37304
+ 404: Problem;
37305
+ };
37306
+ export type GetTasksFormAssignmentTaskError = GetTasksFormAssignmentTaskErrors[keyof GetTasksFormAssignmentTaskErrors];
37307
+ export type GetTasksFormAssignmentTaskResponses = {
37308
+ /**
37309
+ * Success
37310
+ */
37311
+ 200: FormAssignmentTaskItemObject;
37312
+ };
37313
+ export type GetTasksFormAssignmentTaskResponse = GetTasksFormAssignmentTaskResponses[keyof GetTasksFormAssignmentTaskResponses];
37314
+ export type UpdateTasksFormAssignmentTaskData = {
37315
+ body: FormAssignmentTaskUpdateParameters;
37316
+ path: {
37317
+ id: string;
37318
+ };
37319
+ query?: never;
37320
+ url: '/api/v1/tasks/form_assignment_tasks/{id}';
37321
+ };
37322
+ export type UpdateTasksFormAssignmentTaskErrors = {
37323
+ /**
37324
+ * Bad Request
37325
+ */
37326
+ 400: Problem;
37327
+ /**
37328
+ * Forbidden
37329
+ */
37330
+ 403: Problem;
37331
+ /**
37332
+ * Not Found
37333
+ */
37334
+ 404: Problem;
37335
+ /**
37336
+ * Unprocessable Content
37337
+ */
37338
+ 422: Problem;
37339
+ };
37340
+ export type UpdateTasksFormAssignmentTaskError = UpdateTasksFormAssignmentTaskErrors[keyof UpdateTasksFormAssignmentTaskErrors];
37341
+ export type UpdateTasksFormAssignmentTaskResponses = {
37342
+ /**
37343
+ * Success
37344
+ */
37345
+ 200: FormAssignmentTaskItemObject;
37346
+ };
37347
+ export type UpdateTasksFormAssignmentTaskResponse = UpdateTasksFormAssignmentTaskResponses[keyof UpdateTasksFormAssignmentTaskResponses];
37152
37348
  export type ListPositionsData = {
37153
37349
  body?: never;
37154
37350
  path: {
@@ -6889,6 +6889,32 @@ export declare const zProductionCompletionResponseObject: z.ZodDiscriminatedUnio
6889
6889
  withdrawn_at: z.ZodNullable<z.ZodISODateTime>;
6890
6890
  completable_type: z.ZodLiteral<"Production::QuantityCompletion">;
6891
6891
  }, z.core.$strip>], "completable_type">;
6892
+ /**
6893
+ * A shared form-completion task — a SurveyJS form assigned to users with a due time, optional recurrence, and reminders. Path `{id}` is the `Tasks::FormAssignmentTask` id, not the web show `Task#uid`. Nested job, site, feature, and asset-item assignments are not this resource.
6894
+ */
6895
+ export declare const zFormAssignmentTaskItemObject: z.ZodObject<{
6896
+ id: z.ZodString;
6897
+ form_definition_id: z.ZodString;
6898
+ frequency: z.ZodNullable<z.ZodEnum<{
6899
+ DAILY: "DAILY";
6900
+ WORKDAILY: "WORKDAILY";
6901
+ WORKDAILYSIX: "WORKDAILYSIX";
6902
+ WEEKLY: "WEEKLY";
6903
+ BIWEEKLY: "BIWEEKLY";
6904
+ MONTHLY: "MONTHLY";
6905
+ QUARTERLY: "QUARTERLY";
6906
+ }>>;
6907
+ recurrence_end_time: z.ZodNullable<z.ZodISODateTime>;
6908
+ time_due: z.ZodNullable<z.ZodISODateTime>;
6909
+ tz_name: z.ZodNullable<z.ZodString>;
6910
+ name: z.ZodString;
6911
+ description: z.ZodNullable<z.ZodString>;
6912
+ task_assignee_user_ids: z.ZodArray<z.ZodString>;
6913
+ reminders: z.ZodArray<z.ZodObject<{
6914
+ offset: z.ZodString;
6915
+ remind_at: z.ZodISODateTime;
6916
+ }, z.core.$strip>>;
6917
+ }, z.core.$strip>;
6892
6918
  /**
6893
6919
  * The form-assignment tasks created by one request — assigning a form to one or more users, each with a due time and optional recurrence and reminders. Returned as an array because a request can spread the assignment into one task per assignee.
6894
6920
  */
@@ -6905,8 +6931,8 @@ export declare const zFormAssignmentTaskResponseObject: z.ZodArray<z.ZodObject<{
6905
6931
  QUARTERLY: "QUARTERLY";
6906
6932
  }>>;
6907
6933
  recurrence_end_time: z.ZodNullable<z.ZodISODateTime>;
6908
- time_due: z.ZodISODateTime;
6909
- tz_name: z.ZodString;
6934
+ time_due: z.ZodNullable<z.ZodISODateTime>;
6935
+ tz_name: z.ZodNullable<z.ZodString>;
6910
6936
  name: z.ZodString;
6911
6937
  description: z.ZodNullable<z.ZodString>;
6912
6938
  task_assignee_user_ids: z.ZodArray<z.ZodString>;
@@ -6915,6 +6941,70 @@ export declare const zFormAssignmentTaskResponseObject: z.ZodArray<z.ZodObject<{
6915
6941
  remind_at: z.ZodISODateTime;
6916
6942
  }, z.core.$strip>>;
6917
6943
  }, z.core.$strip>>;
6944
+ /**
6945
+ * Update a shared form assignment. All fields are optional — send only what changes. recurring gates the recurrence fields, and task_attributes.reminders_attributes replaces the existing reminder set when supplied. A newly added assignee outside the credential company returns 422. The creator is set at creation and cannot be sent. Nested job, site, feature, and asset-item assignments are not this resource.
6946
+ */
6947
+ export declare const zFormAssignmentTaskUpdateParameters: z.ZodObject<{
6948
+ form_definition_id: z.ZodOptional<z.ZodString>;
6949
+ recurring: z.ZodOptional<z.ZodBoolean>;
6950
+ task_attributes: z.ZodOptional<z.ZodObject<{
6951
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6952
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6953
+ time_due: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
6954
+ tz_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6955
+ frequency: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
6956
+ DAILY: "DAILY";
6957
+ WORKDAILY: "WORKDAILY";
6958
+ WORKDAILYSIX: "WORKDAILYSIX";
6959
+ WEEKLY: "WEEKLY";
6960
+ BIWEEKLY: "BIWEEKLY";
6961
+ MONTHLY: "MONTHLY";
6962
+ QUARTERLY: "QUARTERLY";
6963
+ }>>>;
6964
+ recurrence_end_time: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
6965
+ task_assignee_user_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
6966
+ reminders_attributes: z.ZodOptional<z.ZodArray<z.ZodObject<{
6967
+ offset: z.ZodEnum<{
6968
+ PT0S: "PT0S";
6969
+ "PT-1M": "PT-1M";
6970
+ "PT-5M": "PT-5M";
6971
+ "PT-10M": "PT-10M";
6972
+ "PT-15M": "PT-15M";
6973
+ "PT-30M": "PT-30M";
6974
+ "PT-1H": "PT-1H";
6975
+ "PT-2H": "PT-2H";
6976
+ "P-1D": "P-1D";
6977
+ "P-2D": "P-2D";
6978
+ "P-3D": "P-3D";
6979
+ "P-4D": "P-4D";
6980
+ "P-5D": "P-5D";
6981
+ "P-6D": "P-6D";
6982
+ "P-1W": "P-1W";
6983
+ "P-2W": "P-2W";
6984
+ "P-1M": "P-1M";
6985
+ "P-2M": "P-2M";
6986
+ "P-3M": "P-3M";
6987
+ "P-6M": "P-6M";
6988
+ "P-1Y": "P-1Y";
6989
+ PT5M: "PT5M";
6990
+ PT15M: "PT15M";
6991
+ PT30M: "PT30M";
6992
+ PT1H: "PT1H";
6993
+ PT6H: "PT6H";
6994
+ PT12H: "PT12H";
6995
+ P1D: "P1D";
6996
+ P2D: "P2D";
6997
+ P3D: "P3D";
6998
+ P4D: "P4D";
6999
+ P5D: "P5D";
7000
+ P6D: "P6D";
7001
+ P1W: "P1W";
7002
+ P2W: "P2W";
7003
+ P3W: "P3W";
7004
+ }>;
7005
+ }, z.core.$strip>>>;
7006
+ }, z.core.$strip>>;
7007
+ }, z.core.$strip>;
6918
7008
  /**
6919
7009
  * Request body for creating a certification — a named qualification a worker can hold. You can only manage your own company's certifications; global (platform) certifications are read-only. Omitting company_id or name answers 400, and a null or blank one, or any wrong-typed value, answers 422.
6920
7010
  */
@@ -24391,6 +24481,8 @@ export declare const zListJobWageDeterminationsQuery: z.ZodObject<{
24391
24481
  'as_of[bogus_axis]': z.ZodOptional<z.ZodString>;
24392
24482
  'as_of[valid][gte]': z.ZodOptional<z.ZodString>;
24393
24483
  'as_of[transaction]': z.ZodOptional<z.ZodString>;
24484
+ filter: z.ZodOptional<z.ZodString>;
24485
+ 'filter[unexpected]': z.ZodOptional<z.ZodString>;
24394
24486
  }, z.core.$strip>;
24395
24487
  /**
24396
24488
  * Success
@@ -34274,6 +34366,53 @@ export declare const zUpdateTradeResponse: z.ZodObject<{
34274
34366
  created_at: z.ZodISODateTime;
34275
34367
  updated_at: z.ZodISODateTime;
34276
34368
  }, z.core.$strip>;
34369
+ export declare const zListTasksFormAssignmentTasksQuery: z.ZodObject<{
34370
+ 'filter[form_definition_id]': z.ZodOptional<z.ZodString>;
34371
+ 'page[cursor]': z.ZodOptional<z.ZodString>;
34372
+ 'page[limit]': z.ZodDefault<z.ZodOptional<z.ZodInt>>;
34373
+ page: z.ZodOptional<z.ZodString>;
34374
+ filter: z.ZodOptional<z.ZodString>;
34375
+ 'filter[unexpected]': z.ZodOptional<z.ZodString>;
34376
+ }, z.core.$strip>;
34377
+ /**
34378
+ * Success
34379
+ */
34380
+ export declare const zListTasksFormAssignmentTasksResponse: z.ZodObject<{
34381
+ meta: z.ZodObject<{
34382
+ page: z.ZodObject<{
34383
+ next_cursor: z.ZodNullable<z.ZodString>;
34384
+ current_cursor: z.ZodNullable<z.ZodString>;
34385
+ }, z.core.$strip>;
34386
+ }, z.core.$strip>;
34387
+ links: z.ZodObject<{
34388
+ self: z.ZodString;
34389
+ first: z.ZodNullable<z.ZodString>;
34390
+ next: z.ZodNullable<z.ZodString>;
34391
+ }, z.core.$strip>;
34392
+ data: z.ZodArray<z.ZodObject<{
34393
+ id: z.ZodString;
34394
+ form_definition_id: z.ZodString;
34395
+ frequency: z.ZodNullable<z.ZodEnum<{
34396
+ DAILY: "DAILY";
34397
+ WORKDAILY: "WORKDAILY";
34398
+ WORKDAILYSIX: "WORKDAILYSIX";
34399
+ WEEKLY: "WEEKLY";
34400
+ BIWEEKLY: "BIWEEKLY";
34401
+ MONTHLY: "MONTHLY";
34402
+ QUARTERLY: "QUARTERLY";
34403
+ }>>;
34404
+ recurrence_end_time: z.ZodNullable<z.ZodISODateTime>;
34405
+ time_due: z.ZodNullable<z.ZodISODateTime>;
34406
+ tz_name: z.ZodNullable<z.ZodString>;
34407
+ name: z.ZodString;
34408
+ description: z.ZodNullable<z.ZodString>;
34409
+ task_assignee_user_ids: z.ZodArray<z.ZodString>;
34410
+ reminders: z.ZodArray<z.ZodObject<{
34411
+ offset: z.ZodString;
34412
+ remind_at: z.ZodISODateTime;
34413
+ }, z.core.$strip>>;
34414
+ }, z.core.$strip>>;
34415
+ }, z.core.$strip>;
34277
34416
  export declare const zCreateFormAssignmentTaskBody: z.ZodObject<{
34278
34417
  form_definition_id: z.ZodString;
34279
34418
  spread_assignees: z.ZodOptional<z.ZodBoolean>;
@@ -34353,8 +34492,8 @@ export declare const zCreateFormAssignmentTaskResponse: z.ZodArray<z.ZodObject<{
34353
34492
  QUARTERLY: "QUARTERLY";
34354
34493
  }>>;
34355
34494
  recurrence_end_time: z.ZodNullable<z.ZodISODateTime>;
34356
- time_due: z.ZodISODateTime;
34357
- tz_name: z.ZodString;
34495
+ time_due: z.ZodNullable<z.ZodISODateTime>;
34496
+ tz_name: z.ZodNullable<z.ZodString>;
34358
34497
  name: z.ZodString;
34359
34498
  description: z.ZodNullable<z.ZodString>;
34360
34499
  task_assignee_user_ids: z.ZodArray<z.ZodString>;
@@ -34363,6 +34502,132 @@ export declare const zCreateFormAssignmentTaskResponse: z.ZodArray<z.ZodObject<{
34363
34502
  remind_at: z.ZodISODateTime;
34364
34503
  }, z.core.$strip>>;
34365
34504
  }, z.core.$strip>>;
34505
+ export declare const zDeleteTasksFormAssignmentTaskPath: z.ZodObject<{
34506
+ id: z.ZodString;
34507
+ }, z.core.$strip>;
34508
+ /**
34509
+ * No Content
34510
+ */
34511
+ export declare const zDeleteTasksFormAssignmentTaskResponse: z.ZodVoid;
34512
+ export declare const zGetTasksFormAssignmentTaskPath: z.ZodObject<{
34513
+ id: z.ZodString;
34514
+ }, z.core.$strip>;
34515
+ /**
34516
+ * Success
34517
+ */
34518
+ export declare const zGetTasksFormAssignmentTaskResponse: z.ZodObject<{
34519
+ id: z.ZodString;
34520
+ form_definition_id: z.ZodString;
34521
+ frequency: z.ZodNullable<z.ZodEnum<{
34522
+ DAILY: "DAILY";
34523
+ WORKDAILY: "WORKDAILY";
34524
+ WORKDAILYSIX: "WORKDAILYSIX";
34525
+ WEEKLY: "WEEKLY";
34526
+ BIWEEKLY: "BIWEEKLY";
34527
+ MONTHLY: "MONTHLY";
34528
+ QUARTERLY: "QUARTERLY";
34529
+ }>>;
34530
+ recurrence_end_time: z.ZodNullable<z.ZodISODateTime>;
34531
+ time_due: z.ZodNullable<z.ZodISODateTime>;
34532
+ tz_name: z.ZodNullable<z.ZodString>;
34533
+ name: z.ZodString;
34534
+ description: z.ZodNullable<z.ZodString>;
34535
+ task_assignee_user_ids: z.ZodArray<z.ZodString>;
34536
+ reminders: z.ZodArray<z.ZodObject<{
34537
+ offset: z.ZodString;
34538
+ remind_at: z.ZodISODateTime;
34539
+ }, z.core.$strip>>;
34540
+ }, z.core.$strip>;
34541
+ export declare const zUpdateTasksFormAssignmentTaskBody: z.ZodObject<{
34542
+ form_definition_id: z.ZodOptional<z.ZodString>;
34543
+ recurring: z.ZodOptional<z.ZodBoolean>;
34544
+ task_attributes: z.ZodOptional<z.ZodObject<{
34545
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34546
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34547
+ time_due: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
34548
+ tz_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34549
+ frequency: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
34550
+ DAILY: "DAILY";
34551
+ WORKDAILY: "WORKDAILY";
34552
+ WORKDAILYSIX: "WORKDAILYSIX";
34553
+ WEEKLY: "WEEKLY";
34554
+ BIWEEKLY: "BIWEEKLY";
34555
+ MONTHLY: "MONTHLY";
34556
+ QUARTERLY: "QUARTERLY";
34557
+ }>>>;
34558
+ recurrence_end_time: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
34559
+ task_assignee_user_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
34560
+ reminders_attributes: z.ZodOptional<z.ZodArray<z.ZodObject<{
34561
+ offset: z.ZodEnum<{
34562
+ PT0S: "PT0S";
34563
+ "PT-1M": "PT-1M";
34564
+ "PT-5M": "PT-5M";
34565
+ "PT-10M": "PT-10M";
34566
+ "PT-15M": "PT-15M";
34567
+ "PT-30M": "PT-30M";
34568
+ "PT-1H": "PT-1H";
34569
+ "PT-2H": "PT-2H";
34570
+ "P-1D": "P-1D";
34571
+ "P-2D": "P-2D";
34572
+ "P-3D": "P-3D";
34573
+ "P-4D": "P-4D";
34574
+ "P-5D": "P-5D";
34575
+ "P-6D": "P-6D";
34576
+ "P-1W": "P-1W";
34577
+ "P-2W": "P-2W";
34578
+ "P-1M": "P-1M";
34579
+ "P-2M": "P-2M";
34580
+ "P-3M": "P-3M";
34581
+ "P-6M": "P-6M";
34582
+ "P-1Y": "P-1Y";
34583
+ PT5M: "PT5M";
34584
+ PT15M: "PT15M";
34585
+ PT30M: "PT30M";
34586
+ PT1H: "PT1H";
34587
+ PT6H: "PT6H";
34588
+ PT12H: "PT12H";
34589
+ P1D: "P1D";
34590
+ P2D: "P2D";
34591
+ P3D: "P3D";
34592
+ P4D: "P4D";
34593
+ P5D: "P5D";
34594
+ P6D: "P6D";
34595
+ P1W: "P1W";
34596
+ P2W: "P2W";
34597
+ P3W: "P3W";
34598
+ }>;
34599
+ }, z.core.$strip>>>;
34600
+ }, z.core.$strip>>;
34601
+ }, z.core.$strip>;
34602
+ export declare const zUpdateTasksFormAssignmentTaskPath: z.ZodObject<{
34603
+ id: z.ZodString;
34604
+ }, z.core.$strip>;
34605
+ /**
34606
+ * Success
34607
+ */
34608
+ export declare const zUpdateTasksFormAssignmentTaskResponse: z.ZodObject<{
34609
+ id: z.ZodString;
34610
+ form_definition_id: z.ZodString;
34611
+ frequency: z.ZodNullable<z.ZodEnum<{
34612
+ DAILY: "DAILY";
34613
+ WORKDAILY: "WORKDAILY";
34614
+ WORKDAILYSIX: "WORKDAILYSIX";
34615
+ WEEKLY: "WEEKLY";
34616
+ BIWEEKLY: "BIWEEKLY";
34617
+ MONTHLY: "MONTHLY";
34618
+ QUARTERLY: "QUARTERLY";
34619
+ }>>;
34620
+ recurrence_end_time: z.ZodNullable<z.ZodISODateTime>;
34621
+ time_due: z.ZodNullable<z.ZodISODateTime>;
34622
+ tz_name: z.ZodNullable<z.ZodString>;
34623
+ name: z.ZodString;
34624
+ description: z.ZodNullable<z.ZodString>;
34625
+ task_assignee_user_ids: z.ZodArray<z.ZodString>;
34626
+ reminders: z.ZodArray<z.ZodObject<{
34627
+ offset: z.ZodString;
34628
+ remind_at: z.ZodISODateTime;
34629
+ }, z.core.$strip>>;
34630
+ }, z.core.$strip>;
34366
34631
  export declare const zListPositionsPath: z.ZodObject<{
34367
34632
  job_id: z.ZodString;
34368
34633
  }, z.core.$strip>;