@dsptch-work/api-client 0.38.0 → 0.39.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.
@@ -287,7 +287,7 @@ export type Problem = {
287
287
  *
288
288
  * **Unparseable Date Value**
289
289
  *
290
- * A date-time value cannot be parsed, falls outside the storable range, or has no UTC offset where one is required. Format values as ISO 8601 (for example `2026-08-05` or `2026-08-05T14:30`); a time entry's `start_time` and `end_time`, a timestamp filter bound, and an `as_of[]` coordinate need an offset (for example `2026-08-05T14:30:00-04:00` or `2026-08-05T18:30:00Z`).
290
+ * A date or date-time value cannot be parsed, names a day that does not exist, falls outside the storable range, or has no UTC offset where one is required. Send a day as `2026-08-05` and an instant with its offset (`2026-08-05T14:30:00-04:00` or `2026-08-05T18:30:00Z`). The times of time entries and apprenticeship allocations, a compliance check's due time, a timecode correction's bounds, timestamp filter bounds, and `as_of[]` coordinates need the offset; a time sent without one is refused with the value to send.
291
291
  *
292
292
  * ### invalid_filter_value
293
293
  *
@@ -1479,7 +1479,7 @@ export type ApprenticeshipAllocationCreateParameters = {
1479
1479
  */
1480
1480
  description?: string | null;
1481
1481
  /**
1482
- * Effective timestamp for the credited hours, as ISO 8601 with an explicit UTC offset or Z. Optional for a standalone allocation, defaulting to now, and null is rejected; must equal the linked time card's pay-period start when one is supplied. The employer-local date must be today or earlier.
1482
+ * Effective timestamp for the credited hours, as a date-time with a UTC offset (`Z` or `-04:00`). Optional for a standalone allocation, defaulting to now; must equal the linked time card's pay-period start when one is supplied. The employer-local date must be today or earlier. A time without an offset answers 422 invalid_date at its pointer, showing the time fixed with the offset of the employer's time zone and in UTC. Null or a non-string answers 422 at its pointer; a string that does not parse as a date and time answers 422 invalid_date.
1483
1483
  */
1484
1484
  allocated_at?: string;
1485
1485
  };
@@ -1500,7 +1500,7 @@ export type ApprenticeshipAllocationUpdateParameters = {
1500
1500
  */
1501
1501
  description?: string | null;
1502
1502
  /**
1503
- * Effective timestamp for the credited hours, as ISO 8601 with an explicit UTC offset or Z. Optional; omission leaves the timestamp unchanged, and null is rejected. The employer-local date must be today or earlier and may predate enrollment. Time-card-linked allocations cannot be date-corrected. An unchanged timestamp does not request repricing.
1503
+ * Effective timestamp for the credited hours, as a date-time with a UTC offset (`Z` or `-04:00`). Optional; omission leaves the timestamp unchanged. The employer-local date must be today or earlier and may predate enrollment. Time-card-linked allocations cannot be date-corrected. An unchanged timestamp does not request repricing. A time without an offset answers 422 invalid_date at its pointer, showing the time fixed with the offset of the employer's time zone and in UTC. Null or a non-string answers 422 at its pointer; a string that does not parse as a date and time answers 422 invalid_date.
1504
1504
  */
1505
1505
  allocated_at?: string;
1506
1506
  };
@@ -1862,7 +1862,7 @@ export type ApprenticeshipWageScheduleParameters = {
1862
1862
  */
1863
1863
  fringe_cents?: string | null;
1864
1864
  /**
1865
- * Set to true, together with the period's id, to remove that period from the schedule.
1865
+ * Set to true, together with the period's id, to remove that period from the schedule. A row that sets it without an id answers 422 at that row's id.
1866
1866
  */
1867
1867
  _destroy?: boolean;
1868
1868
  }>;
@@ -1948,7 +1948,7 @@ export type ApprenticeshipWageScheduleUpdateParameters = {
1948
1948
  */
1949
1949
  fringe_cents?: string | null;
1950
1950
  /**
1951
- * Set to true, together with the period's id, to remove that period from the schedule.
1951
+ * Set to true, together with the period's id, to remove that period from the schedule. A row that sets it without an id answers 422 at that row's id.
1952
1952
  */
1953
1953
  _destroy?: boolean;
1954
1954
  }>;
@@ -2908,7 +2908,7 @@ export type AssetsProductParameters = {
2908
2908
  */
2909
2909
  file?: string;
2910
2910
  /**
2911
- * Set true to remove the attachment named by id.
2911
+ * Set true to remove the attachment named by id. A row that sets it without an id answers 422 at that row's id.
2912
2912
  */
2913
2913
  _destroy?: boolean;
2914
2914
  }>;
@@ -2995,7 +2995,7 @@ export type AssetsProductUpdateParameters = {
2995
2995
  */
2996
2996
  file?: string;
2997
2997
  /**
2998
- * Set true to remove the attachment named by id.
2998
+ * Set true to remove the attachment named by id. A row that sets it without an id answers 422 at that row's id.
2999
2999
  */
3000
3000
  _destroy?: boolean;
3001
3001
  }>;
@@ -3227,7 +3227,7 @@ export type AssetsAttributeParameters = {
3227
3227
  */
3228
3228
  position?: number;
3229
3229
  /**
3230
- * Set true to remove this entry.
3230
+ * Set true to remove this entry. A row that sets it without an id answers 422 at that row's id.
3231
3231
  */
3232
3232
  _destroy?: boolean;
3233
3233
  }>;
@@ -3261,7 +3261,7 @@ export type AssetsAttributeUpdateParameters = {
3261
3261
  */
3262
3262
  position?: number;
3263
3263
  /**
3264
- * Set true to remove this entry.
3264
+ * Set true to remove this entry. A row that sets it without an id answers 422 at that row's id.
3265
3265
  */
3266
3266
  _destroy?: boolean;
3267
3267
  }>;
@@ -3361,7 +3361,7 @@ export type AssetsCategoryParameters = {
3361
3361
  */
3362
3362
  position?: number;
3363
3363
  /**
3364
- * Set true to remove this entry.
3364
+ * Set true to remove this entry. A row that sets it without an id answers 422 at that row's id.
3365
3365
  */
3366
3366
  _destroy?: boolean;
3367
3367
  }>;
@@ -3403,7 +3403,7 @@ export type AssetsCategoryUpdateParameters = {
3403
3403
  */
3404
3404
  position?: number;
3405
3405
  /**
3406
- * Set true to remove this entry.
3406
+ * Set true to remove this entry. A row that sets it without an id answers 422 at that row's id.
3407
3407
  */
3408
3408
  _destroy?: boolean;
3409
3409
  }>;
@@ -3488,13 +3488,13 @@ export type TimeCardPerDiemResponseObject = {
3488
3488
  */
3489
3489
  per_diem_id: string | null;
3490
3490
  /**
3491
- * Allowance amount in integer cents, as a string; snapshotted from the catalog per diem when saved (0 when none). Null when unset.
3491
+ * Allowance amount in integer cents, as a string; snapshotted from the catalog per diem when saved (0 when none). Null when unset. Omitted when the caller may see the time card but not its money.
3492
3492
  */
3493
- per_diem_rate_cents: string | null;
3493
+ per_diem_rate_cents?: string | null;
3494
3494
  /**
3495
- * ISO 4217 currency code for the rate; snapshotted from the catalog per diem. Null when unset.
3495
+ * ISO 4217 currency code for the rate; snapshotted from the catalog per diem. Null when unset. Omitted when the caller may see the time card but not its money.
3496
3496
  */
3497
- per_diem_currency: string | null;
3497
+ per_diem_currency?: string | null;
3498
3498
  /**
3499
3499
  * Whether the allowance is treated as taxable income; snapshotted from the catalog per diem.
3500
3500
  */
@@ -4368,7 +4368,7 @@ export type JobResponseObject = {
4368
4368
  */
4369
4369
  description: string;
4370
4370
  /**
4371
- * The job's scheduled time window as a timestamp range; null when unscheduled. Its bounds are also exposed individually as start_time and end_time.
4371
+ * The job's scheduled time window as a timestamp range; null when unscheduled. start_time and end_time name the days it spans in tz_name.
4372
4372
  */
4373
4373
  scheduled_time: string | null;
4374
4374
  /**
@@ -4384,11 +4384,11 @@ export type JobResponseObject = {
4384
4384
  */
4385
4385
  status: string;
4386
4386
  /**
4387
- * Start of the job's scheduled window (ISO 8601), the lower bound of scheduled_time; null when unscheduled.
4387
+ * The job's first day, as a calendar date (`YYYY-MM-DD`) in tz_name; the schedule starts at the start of that day there, the same as the web. Null when unscheduled.
4388
4388
  */
4389
4389
  start_time: string | null;
4390
4390
  /**
4391
- * End of the job's scheduled window (ISO 8601), the upper bound of scheduled_time; null when unscheduled.
4391
+ * The job's last day, as a calendar date (`YYYY-MM-DD`) in tz_name; the schedule ends at the end of that day there, the same as the web. Null when unscheduled.
4392
4392
  */
4393
4393
  end_time: string | null;
4394
4394
  /**
@@ -4673,11 +4673,11 @@ export type JobCreateParameters = {
4673
4673
  */
4674
4674
  region?: string | null;
4675
4675
  /**
4676
- * Start of the job's scheduled window (ISO 8601); the date is anchored to the start of that day in tz_name. Null to leave the job unscheduled; any other non-string, false included, answers 422.
4676
+ * The job's first day, as a calendar date (`YYYY-MM-DD`) in tz_name, stored as the start of that day there, the same as the web. Null to leave the job unscheduled. A date-time answers 422 naming the day to send; a blank, any other non-date, or a non-string answers 422.
4677
4677
  */
4678
4678
  start_time?: string | null;
4679
4679
  /**
4680
- * End of the job's scheduled window (ISO 8601); the date is anchored to the start of that day in tz_name. Null to leave the job unscheduled; any other non-string, false included, answers 422.
4680
+ * The job's last day, as a calendar date (`YYYY-MM-DD`) in tz_name, stored as the end of that day there, the same as the web. Null to leave the job unscheduled. A date-time answers 422 naming the day to send; a blank, any other non-date, or a non-string answers 422.
4681
4681
  */
4682
4682
  end_time?: string | null;
4683
4683
  /**
@@ -4914,11 +4914,11 @@ export type JobUpdateParameters = {
4914
4914
  */
4915
4915
  region?: string | null;
4916
4916
  /**
4917
- * Start of the job's scheduled window (ISO 8601); the date is anchored to the start of that day in tz_name. Null to leave the job unscheduled; any other non-string, false included, answers 422.
4917
+ * The job's first day, as a calendar date (`YYYY-MM-DD`) in tz_name, stored as the start of that day there, the same as the web. Null to leave the job unscheduled. A date-time answers 422 naming the day to send; a blank, any other non-date, or a non-string answers 422.
4918
4918
  */
4919
4919
  start_time?: string | null;
4920
4920
  /**
4921
- * End of the job's scheduled window (ISO 8601); the date is anchored to the start of that day in tz_name. Null to leave the job unscheduled; any other non-string, false included, answers 422.
4921
+ * The job's last day, as a calendar date (`YYYY-MM-DD`) in tz_name, stored as the end of that day there, the same as the web. Null to leave the job unscheduled. A date-time answers 422 naming the day to send; a blank, any other non-date, or a non-string answers 422.
4922
4922
  */
4923
4923
  end_time?: string | null;
4924
4924
  /**
@@ -6081,7 +6081,7 @@ export type FormDefinitionResponseObject = {
6081
6081
  data: Array<FormDefinitionObject>;
6082
6082
  };
6083
6083
  /**
6084
- * A page of form submissions — the lighter list representation. A submission is a user's completed form; submissions are created in the app, so this API is read-only.
6084
+ * A page of form submissions — the lighter list representation. A submission is a user's completed form, created in the app or through the API.
6085
6085
  */
6086
6086
  export type FormSubmissionIndexObject = {
6087
6087
  meta: Meta;
@@ -6113,7 +6113,7 @@ export type FormSubmissionIndexObject = {
6113
6113
  }>;
6114
6114
  };
6115
6115
  /**
6116
- * A single form submission — a user's completed SurveyJS form with the resolved answers (the fuller show representation). Read-only; submissions are created in the app.
6116
+ * A single form submission with resolved answers, returned by both show and create.
6117
6117
  */
6118
6118
  export type FormSubmissionResponseObject = {
6119
6119
  /**
@@ -6168,6 +6168,29 @@ export type FormSubmissionResponseObject = {
6168
6168
  */
6169
6169
  updated_at: string;
6170
6170
  };
6171
+ /**
6172
+ * Create a submission using supported keys from the form definition's submission_shape. Requires a user-scoped API key.
6173
+ */
6174
+ export type FormSubmissionCreateParameters = {
6175
+ /**
6176
+ * ID of an active, non-archived form definition. Read its detail endpoint before building answers.
6177
+ */
6178
+ form_definition_id: string;
6179
+ /**
6180
+ * UUID of the key's own user, who must be a current member of the key's company. Missing or unauthorized users return 403.
6181
+ */
6182
+ user_id: string;
6183
+ /**
6184
+ * Answer object keyed by SurveyJS valueName when set, otherwise name. Use question choice values and GlobalIDs for DSPTCH reference questions. Missing or null returns 422. The API validates recursive structure and primitive types. Choice fields accept strings, which are stored unchanged. Choice membership, required answers, dates, and SurveyJS logic are not validated.
6185
+ */
6186
+ json: {
6187
+ [key: string]: unknown;
6188
+ };
6189
+ /**
6190
+ * Optional IANA timezone such as America/Chicago; defaults to UTC.
6191
+ */
6192
+ timezone?: string;
6193
+ };
6171
6194
  /**
6172
6195
  * Request body for updating a worker's employment at your company. Corrects administrative fields (employment type, title, manager, payroll id, hire date, and time-and-attendance enrollment) across the whole employment history, and changes the custom-field values it lists. For time-effective pay changes, use the scheduled-changes endpoints instead. A value of the wrong JSON type, a null for a field that is not nullable, or a value outside a listed set answers 422 at its pointer, and nothing is written.
6173
6196
  */
@@ -7206,21 +7229,21 @@ export type TimeCardResponseObject = {
7206
7229
  2: number;
7207
7230
  };
7208
7231
  /**
7209
- * Total pay for the period in integer cents, as a decimal string.
7232
+ * Total pay for the period in integer cents, as a decimal string. Omitted when the caller may see the time card but not its money.
7210
7233
  */
7211
- pay_cents: string;
7234
+ pay_cents?: string;
7212
7235
  /**
7213
- * Base-wage portion of pay in integer cents, as a decimal string.
7236
+ * Base-wage portion of pay in integer cents, as a decimal string. Omitted when the caller may see the time card but not its money.
7214
7237
  */
7215
- base_wage_pay_cents: string;
7238
+ base_wage_pay_cents?: string;
7216
7239
  /**
7217
- * Additional pay from the 1.5x overtime multiplier in integer cents, as a decimal string.
7240
+ * Additional pay from the 1.5x overtime multiplier in integer cents, as a decimal string. Omitted when the caller may see the time card but not its money.
7218
7241
  */
7219
- one_five_x_adder_cents: string;
7242
+ one_five_x_adder_cents?: string;
7220
7243
  /**
7221
- * Additional pay from the 2.0x overtime multiplier in integer cents, as a decimal string.
7244
+ * Additional pay from the 2.0x overtime multiplier in integer cents, as a decimal string. Omitted when the caller may see the time card but not its money.
7222
7245
  */
7223
- two_x_adder_cents: string;
7246
+ two_x_adder_cents?: string;
7224
7247
  /**
7225
7248
  * IDs of the wage-determination regions (boundaries) that contributed to this rollup.
7226
7249
  */
@@ -7329,21 +7352,21 @@ export type JobTimeCardDayResponseObject = {
7329
7352
  2: number;
7330
7353
  };
7331
7354
  /**
7332
- * Total pay for this date in integer cents, as a decimal string.
7355
+ * Total pay for this date in integer cents, as a decimal string. Omitted when the caller may see the time card but not its money.
7333
7356
  */
7334
- pay_cents: string;
7357
+ pay_cents?: string;
7335
7358
  /**
7336
- * Base-wage portion of this date's pay in integer cents, as a decimal string.
7359
+ * Base-wage portion of this date's pay in integer cents, as a decimal string. Omitted when the caller may see the time card but not its money.
7337
7360
  */
7338
- base_wage_pay_cents: string;
7361
+ base_wage_pay_cents?: string;
7339
7362
  /**
7340
- * Additional pay from the 1.5x overtime multiplier on this date, in integer cents, as a decimal string.
7363
+ * Additional pay from the 1.5x overtime multiplier on this date, in integer cents, as a decimal string. Omitted when the caller may see the time card but not its money.
7341
7364
  */
7342
- one_five_x_adder_cents: string;
7365
+ one_five_x_adder_cents?: string;
7343
7366
  /**
7344
- * Additional pay from the 2.0x overtime multiplier on this date, in integer cents, as a decimal string.
7367
+ * Additional pay from the 2.0x overtime multiplier on this date, in integer cents, as a decimal string. Omitted when the caller may see the time card but not its money.
7345
7368
  */
7346
- two_x_adder_cents: string;
7369
+ two_x_adder_cents?: string;
7347
7370
  /**
7348
7371
  * IDs of the wage-determination regions (boundaries) that contributed to this rollup.
7349
7372
  */
@@ -7497,37 +7520,37 @@ export type JobTimeCardDayResponseObject = {
7497
7520
  2: number;
7498
7521
  };
7499
7522
  /**
7500
- * Pay-period-to-date running total of total pay in integer cents, as a decimal string, through this date.
7523
+ * Pay-period-to-date running total of total pay in integer cents, as a decimal string, through this date. Omitted when the caller may see the time card but not its money.
7501
7524
  */
7502
- cumulative_pay_cents: string;
7525
+ cumulative_pay_cents?: string;
7503
7526
  /**
7504
- * Week-to-date running total of total pay in integer cents, as a decimal string, through this date.
7527
+ * Week-to-date running total of total pay in integer cents, as a decimal string, through this date. Omitted when the caller may see the time card but not its money.
7505
7528
  */
7506
- weekly_cumulative_pay_cents: string;
7529
+ weekly_cumulative_pay_cents?: string;
7507
7530
  /**
7508
- * Pay-period-to-date running total of base-wage pay in integer cents, as a decimal string, through this date.
7531
+ * Pay-period-to-date running total of base-wage pay in integer cents, as a decimal string, through this date. Omitted when the caller may see the time card but not its money.
7509
7532
  */
7510
- cumulative_base_wage_pay_cents: string;
7533
+ cumulative_base_wage_pay_cents?: string;
7511
7534
  /**
7512
- * Week-to-date running total of base-wage pay in integer cents, as a decimal string, through this date.
7535
+ * Week-to-date running total of base-wage pay in integer cents, as a decimal string, through this date. Omitted when the caller may see the time card but not its money.
7513
7536
  */
7514
- weekly_cumulative_base_wage_pay_cents: string;
7537
+ weekly_cumulative_base_wage_pay_cents?: string;
7515
7538
  /**
7516
- * Pay-period-to-date running total of 1.5x overtime adder pay in integer cents, as a decimal string, through this date.
7539
+ * Pay-period-to-date running total of 1.5x overtime adder pay in integer cents, as a decimal string, through this date. Omitted when the caller may see the time card but not its money.
7517
7540
  */
7518
- cumulative_one_five_x_adder_cents: string;
7541
+ cumulative_one_five_x_adder_cents?: string;
7519
7542
  /**
7520
- * Week-to-date running total of 1.5x overtime adder pay in integer cents, as a decimal string, through this date.
7543
+ * Week-to-date running total of 1.5x overtime adder pay in integer cents, as a decimal string, through this date. Omitted when the caller may see the time card but not its money.
7521
7544
  */
7522
- weekly_cumulative_one_five_x_adder_cents: string;
7545
+ weekly_cumulative_one_five_x_adder_cents?: string;
7523
7546
  /**
7524
- * Pay-period-to-date running total of 2.0x overtime adder pay in integer cents, as a decimal string, through this date.
7547
+ * Pay-period-to-date running total of 2.0x overtime adder pay in integer cents, as a decimal string, through this date. Omitted when the caller may see the time card but not its money.
7525
7548
  */
7526
- cumulative_two_x_adder_cents: string;
7549
+ cumulative_two_x_adder_cents?: string;
7527
7550
  /**
7528
- * Week-to-date running total of 2.0x overtime adder pay in integer cents, as a decimal string, through this date.
7551
+ * Week-to-date running total of 2.0x overtime adder pay in integer cents, as a decimal string, through this date. Omitted when the caller may see the time card but not its money.
7529
7552
  */
7530
- weekly_cumulative_two_x_adder_cents: string;
7553
+ weekly_cumulative_two_x_adder_cents?: string;
7531
7554
  /**
7532
7555
  * Pay-period-to-date running total of contributing wage-determination region IDs, through this date.
7533
7556
  */
@@ -9122,7 +9145,7 @@ export type ComplianceCheckParameters = {
9122
9145
  */
9123
9146
  status?: 'dismissed' | 'pending';
9124
9147
  /**
9125
- * The day the check is due, as a calendar date (`YYYY-MM-DD`). It is stored as 00:00 UTC on that day, the same as the web. A value with a time of day is refused with `422`. Send null to clear it, or omit to leave it unchanged.
9148
+ * When the check is due, as a date-time with a UTC offset (`Z` or `-05:00`). A time without an offset, a bare day included, answers 422 invalid_date at its pointer, showing the time fixed with the offset of the check's zone (its job's, else its project's, else its company's) and in UTC; a check on a person shows it only in UTC. A non-string answers 422 at its pointer; a string that does not parse as a date and time answers 422 invalid_date. Send null to clear it, or omit to leave it unchanged.
9126
9149
  */
9127
9150
  time_due?: string | null;
9128
9151
  /**
@@ -13871,7 +13894,7 @@ export type AssetsItemResponseObject = {
13871
13894
  */
13872
13895
  status: 'available' | 'assigned' | null;
13873
13896
  /**
13874
- * When the item was purchased (ISO 8601); null when not recorded.
13897
+ * The day the item was purchased, as a calendar date (`YYYY-MM-DD`), the UTC day it is stored on, the same day the web shows. Null when not recorded.
13875
13898
  */
13876
13899
  purchase_date: string | null;
13877
13900
  /**
@@ -14008,7 +14031,7 @@ export type AssetsItemParameters = {
14008
14031
  */
14009
14032
  file?: string;
14010
14033
  /**
14011
- * Set true to remove the attachment named by id.
14034
+ * Set true to remove the attachment named by id. A row that sets it without an id answers 422 at that row's id.
14012
14035
  */
14013
14036
  _destroy?: boolean;
14014
14037
  }>;
@@ -14103,7 +14126,7 @@ export type AssetsItemUpdateParameters = {
14103
14126
  */
14104
14127
  file?: string;
14105
14128
  /**
14106
- * Set true to remove the attachment named by id.
14129
+ * Set true to remove the attachment named by id. A row that sets it without an id answers 422 at that row's id.
14107
14130
  */
14108
14131
  _destroy?: boolean;
14109
14132
  }>;
@@ -15155,7 +15178,7 @@ export type AssetsServiceEventParameters = {
15155
15178
  */
15156
15179
  file?: string;
15157
15180
  /**
15158
- * Set true to remove the attachment named by id.
15181
+ * Set true to remove the attachment named by id. A row that sets it without an id answers 422 at that row's id.
15159
15182
  */
15160
15183
  _destroy?: boolean;
15161
15184
  }>;
@@ -15197,7 +15220,7 @@ export type AssetsServiceEventUpdateParameters = {
15197
15220
  */
15198
15221
  file?: string;
15199
15222
  /**
15200
- * Set true to remove the attachment named by id.
15223
+ * Set true to remove the attachment named by id. A row that sets it without an id answers 422 at that row's id.
15201
15224
  */
15202
15225
  _destroy?: boolean;
15203
15226
  }>;
@@ -22677,6 +22700,38 @@ export type ListFormSubmissionsResponses = {
22677
22700
  200: FormSubmissionIndexObject;
22678
22701
  };
22679
22702
  export type ListFormSubmissionsResponse = ListFormSubmissionsResponses[keyof ListFormSubmissionsResponses];
22703
+ export type CreateFormSubmissionData = {
22704
+ body: FormSubmissionCreateParameters;
22705
+ path?: never;
22706
+ query?: never;
22707
+ url: '/api/v1/form_submissions';
22708
+ };
22709
+ export type CreateFormSubmissionErrors = {
22710
+ /**
22711
+ * Bad Request
22712
+ */
22713
+ 400: Problem;
22714
+ /**
22715
+ * Forbidden
22716
+ */
22717
+ 403: Problem;
22718
+ /**
22719
+ * Not Found
22720
+ */
22721
+ 404: Problem;
22722
+ /**
22723
+ * Unprocessable Content
22724
+ */
22725
+ 422: Problem;
22726
+ };
22727
+ export type CreateFormSubmissionError = CreateFormSubmissionErrors[keyof CreateFormSubmissionErrors];
22728
+ export type CreateFormSubmissionResponses = {
22729
+ /**
22730
+ * Created
22731
+ */
22732
+ 201: FormSubmissionResponseObject;
22733
+ };
22734
+ export type CreateFormSubmissionResponse = CreateFormSubmissionResponses[keyof CreateFormSubmissionResponses];
22680
22735
  export type GetFormSubmissionData = {
22681
22736
  body?: never;
22682
22737
  path: {