@dsptch-work/api-client 0.50.0 → 0.51.1

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.
@@ -265,6 +265,12 @@ export type Problem = {
265
265
  *
266
266
  * The upload behind an image attachment's signed id is not an image content type. Upload an image file.
267
267
  *
268
+ * ### certified_payroll_export_blocked
269
+ *
270
+ * **Certified Payroll Export Blocked**
271
+ *
272
+ * Failing compliance checks block this certified payroll export: a job-level check on the named job, or a time-card check on a worker the export would include. These are the same checks that disable Export in the web app. Resolve the failing checks, then retry.
273
+ *
268
274
  * ### certified_payroll_format_unavailable
269
275
  *
270
276
  * **Certified Payroll Format Unavailable**
@@ -418,7 +424,7 @@ export type Problem = {
418
424
  * Another write to the same resource held it for longer than this request was willing to wait, or collided with it, so nothing was applied. The request itself is fine — resend it unchanged after the `Retry-After` window.
419
425
  *
420
426
  */
421
- export type ProblemTypeCatalog = 'blank_axis' | 'invalid_cursor' | 'invalid_filter_key' | 'invalid_limit' | 'invalid_signature' | 'malformed_body' | 'non_range_filter_value' | 'non_scalar_axis' | 'non_scalar_filter_value' | 'parameter_missing' | 'parameter_not_object' | 'unknown_axis' | 'unknown_key' | 'unsupported_axis' | 'valid_axis_on_timeline' | 'unauthorized' | 'company_scoped_key_required' | 'forbidden' | 'forbidden_key' | 'insufficient_api_key_scope' | 'user_scoped_key_required' | 'not_found' | 'already_subscribed' | 'already_terminated' | 'authorization_revoked' | 'import_in_progress' | 'pay_schedule_already_exists' | 'pay_schedule_deletion_in_progress' | 'pay_schedule_deletion_refused' | 'product_archived' | 'span_beyond_timeline_end' | 'version_overlap' | 'precondition_failed' | 'attachment_not_image' | 'certified_payroll_format_unavailable' | 'company_not_employer' | 'confirm_apprenticeship_conflict' | 'destroy_restricted' | 'interval_too_wide' | 'invalid_date' | 'invalid_filter_value' | 'invalid_iso8601_duration' | 'invalid_placement_move' | 'invalid_signed_id' | 'not_incomplete_permanent_copy' | 'nothing_exportable' | 'nothing_to_cancel' | 'pagination_failed' | 'subtype_foreign_keys' | 'synced_determination' | 'user_not_company_member' | 'validation_failed' | 'wage_schedule_outside_program' | 'precondition_required' | 'too_many_requests' | 'internal_error' | 'database_timeout' | 'write_contended';
427
+ export type ProblemTypeCatalog = 'blank_axis' | 'invalid_cursor' | 'invalid_filter_key' | 'invalid_limit' | 'invalid_signature' | 'malformed_body' | 'non_range_filter_value' | 'non_scalar_axis' | 'non_scalar_filter_value' | 'parameter_missing' | 'parameter_not_object' | 'unknown_axis' | 'unknown_key' | 'unsupported_axis' | 'valid_axis_on_timeline' | 'unauthorized' | 'company_scoped_key_required' | 'forbidden' | 'forbidden_key' | 'insufficient_api_key_scope' | 'user_scoped_key_required' | 'not_found' | 'already_subscribed' | 'already_terminated' | 'authorization_revoked' | 'import_in_progress' | 'pay_schedule_already_exists' | 'pay_schedule_deletion_in_progress' | 'pay_schedule_deletion_refused' | 'product_archived' | 'span_beyond_timeline_end' | 'version_overlap' | 'precondition_failed' | 'attachment_not_image' | 'certified_payroll_export_blocked' | 'certified_payroll_format_unavailable' | 'company_not_employer' | 'confirm_apprenticeship_conflict' | 'destroy_restricted' | 'interval_too_wide' | 'invalid_date' | 'invalid_filter_value' | 'invalid_iso8601_duration' | 'invalid_placement_move' | 'invalid_signed_id' | 'not_incomplete_permanent_copy' | 'nothing_exportable' | 'nothing_to_cancel' | 'pagination_failed' | 'subtype_foreign_keys' | 'synced_determination' | 'user_not_company_member' | 'validation_failed' | 'wage_schedule_outside_program' | 'precondition_required' | 'too_many_requests' | 'internal_error' | 'database_timeout' | 'write_contended';
422
428
  export type ApiKeyScopeResponseObject = {
423
429
  resource: string;
424
430
  action: 'read' | 'create' | 'update' | 'delete';
@@ -3955,6 +3961,9 @@ export type PayPeriodConfigHistoryCorrectionObject = {
3955
3961
  start_day_of_week: number;
3956
3962
  tz_name: string;
3957
3963
  currency: string;
3964
+ /**
3965
+ * New schedules return pending while pay periods are generated. Synced means pay periods were generated for the requested versions and time card synchronization was successfully requested; asynchronous time card jobs may still be queued. Poll until synced or failed. Failed means generation or the synchronization request failed.
3966
+ */
3958
3967
  status: 'synced' | 'pending' | 'failed';
3959
3968
  payroll_mode: 'none' | 'base' | 'aggregate' | null;
3960
3969
  time_mode: 'none' | 'base' | 'aggregate';
@@ -3981,6 +3990,9 @@ export type PayPeriodConfigHistoryVersionObject = {
3981
3990
  start_day_of_week: number;
3982
3991
  tz_name: string;
3983
3992
  currency: string;
3993
+ /**
3994
+ * New schedules return pending while pay periods are generated. Synced means pay periods were generated for the requested versions and time card synchronization was successfully requested; asynchronous time card jobs may still be queued. Poll until synced or failed. Failed means generation or the synchronization request failed.
3995
+ */
3984
3996
  status: 'synced' | 'pending' | 'failed';
3985
3997
  payroll_mode: 'none' | 'base' | 'aggregate' | null;
3986
3998
  time_mode: 'none' | 'base' | 'aggregate';
@@ -7522,7 +7534,7 @@ export type DsptchCprImportResponseObject = {
7522
7534
  updated_at: string;
7523
7535
  };
7524
7536
  /**
7525
- * Submit a certified payroll report for a pay period. The pay period's pay schedule must be in aggregate time mode; a schedule that keeps time as entries is refused. The file carries every column of the DSPTCH CPR template: the payroll, job and employee identifiers, the employer and employee pay, contribution and deduction amounts, the three wage pay rates, and one hours column per multiplier per day of the period — seven days each for a weekly schedule, fourteen for a biweekly one. All of them must be present as column headers, or the file is refused naming the ones missing. Of those, job_id, week_ending_date, employee_payroll_id, one_x_wage_pay_rate and one_five_x_wage_pay_rate must also carry a value on every row, and two_x_wage_pay_rate must whenever any 2x hours column does. federal_labor_classification and regional_labor_classification are read when present, and are needed only where a position has more than one wage determination in a jurisdiction. Header matching ignores case and treats spaces as underscores, and column order does not matter. Any other column is refused: a name this import does not read would be dropped without trace, so the file is rejected naming it rather than applied in part.
7537
+ * Submit a certified payroll report for a pay period. The pay period's pay schedule must be in aggregate time mode; a schedule that keeps time as entries is refused. The file carries every column of the DSPTCH CPR template: the payroll, job and employee identifiers, the employer and employee pay, contribution and deduction amounts, the three wage pay rates, and one hours column per multiplier per day of the period — seven days each for a weekly schedule, fourteen for a biweekly one. All of them must be present as column headers, or the file is refused naming the ones missing. Of those, job_id, week_ending_date, employee_payroll_id, one_x_wage_pay_rate and one_five_x_wage_pay_rate must also carry a value on every row, and two_x_wage_pay_rate must whenever any 2x hours column does. On a job that tracks prevailing wage, each rate must also be more than 0 when the row has hours at its multiplier: a row that prices such hours at 0 or below answers 422 naming `non_positive_rate_for_prevailing_wage_hours`, and nothing is written. federal_labor_classification and regional_labor_classification are read when present, and are needed only where a position has more than one wage determination in a jurisdiction. Header matching ignores case and treats spaces as underscores, and column order does not matter. Any other column is refused: a name this import does not read would be dropped without trace, so the file is rejected naming it rather than applied in part.
7526
7538
  *
7527
7539
  * Submitting the same work twice is refused rather than doubled: an import will not write onto a time card that already holds data, so a retry after a submission that already succeeded answers 422 naming `time_card_has_data`, and nothing is written. The guard is per time card, not per file, so a corrected file for the same worker and period is refused the same way — clear that period's data first.
7528
7540
  *
@@ -11305,7 +11317,7 @@ export type JobCaEcprXmlExportsResponseObject = {
11305
11317
  data: Array<JobCaEcprXmlExportResponseObject>;
11306
11318
  };
11307
11319
  /**
11308
- * Start a job-scoped CA DIR eCPR XML certified-payroll export over a calendar window. Creation requires a user-scoped API key, because the generation handle attributes the export to a person. The response is the pending export; poll the member GET for status and the file URL. Filename is server-owned. A job that does not offer CA eCPR answers 422 certified_payroll_format_unavailable. A window with no reportable pay periods answers 422 nothing_exportable.
11320
+ * Start a job-scoped CA DIR eCPR XML certified-payroll export over a calendar window. Creation requires a user-scoped API key, because the generation handle attributes the export to a person. The response is the pending export; poll the member GET for status and the file URL. Filename is server-owned. A job that does not offer CA eCPR answers 422 certified_payroll_format_unavailable. Failing compliance checks that block the export answer 422 certified_payroll_export_blocked. A window with no reportable pay periods answers 422 nothing_exportable.
11309
11321
  */
11310
11322
  export type JobCaEcprXmlExportCreateParameters = {
11311
11323
  /**
@@ -17045,7 +17057,7 @@ export type AssetsSubLocationUpdateParameters = {
17045
17057
  code?: string;
17046
17058
  };
17047
17059
  /**
17048
- * A completed movement of item stock between two holders, each a site, a user, or a container. Each line moves one item; applying the transfer records paired outbound and inbound transactions and updates the on-hand, custody, and containment counts. Transfers created through this API are always completed. One-sided moves (placing or removing an item with only one endpoint) record transactions but no transfer, and so are not represented by this resource.
17060
+ * A movement of item stock between two holders, each a site, a user, or a container. Each line names one item. A completed transfer has applied paired outbound and inbound transactions and updated on-hand, custody, and containment counts. A pending transfer has not moved stock; it waits to be accepted, declined, or cancelled. One-sided moves (placing or removing an item with only one endpoint) record transactions but no transfer, and so are not represented by this resource.
17049
17061
  */
17050
17062
  export type AssetsTransferResponseObject = {
17051
17063
  /**
@@ -17057,9 +17069,9 @@ export type AssetsTransferResponseObject = {
17057
17069
  */
17058
17070
  company_id: string;
17059
17071
  /**
17060
- * Lifecycle state of the transfer: one of pending, in_transit, completed, or cancelled. Transfers created through this API are always completed.
17072
+ * Lifecycle state of the transfer. The published values are the model's status keys, including declined.
17061
17073
  */
17062
- status: 'pending' | 'in_transit' | 'completed' | 'cancelled';
17074
+ status: 'pending' | 'in_transit' | 'completed' | 'declined' | 'cancelled';
17063
17075
  /**
17064
17076
  * ID of the source site; null when the source is a user or container.
17065
17077
  */
@@ -17093,9 +17105,17 @@ export type AssetsTransferResponseObject = {
17093
17105
  */
17094
17106
  initiated_by_user_id: string;
17095
17107
  /**
17096
- * When the transfer was applied (ISO 8601); null for a transfer that is not yet completed.
17108
+ * ID of the user who completed, declined, or cancelled the transfer; null while it is unresolved.
17109
+ */
17110
+ resolved_by_user_id: string | null;
17111
+ /**
17112
+ * When the transfer was applied (ISO 8601); null unless status is completed. Same instant as resolved_at when completed.
17097
17113
  */
17098
17114
  completed_at: string | null;
17115
+ /**
17116
+ * When the transfer was completed, declined, or cancelled (ISO 8601); null while it is unresolved.
17117
+ */
17118
+ resolved_at: string | null;
17099
17119
  /**
17100
17120
  * The item movements in this transfer, one entry per item.
17101
17121
  */
@@ -17127,7 +17147,7 @@ export type AssetsTransferResponseObject = {
17127
17147
  updated_at: string;
17128
17148
  };
17129
17149
  /**
17130
- * Move item stock. Each endpoint is a site, a user, or a container — give at most one per side; more than one on a side, or no endpoint at all, answers 422. With both a source and a destination this is a two-sided transfer (returns the created transfer, 201). With a single open end it is a one-sided move — placing an unplaced item (destination only) or removing it from its holder (source only) — which records transactions but no transfer and returns 204. Moves are applied immediately, so the source must hold enough of each item.
17150
+ * Move item stock. Each endpoint is a site, a user, or a container — give at most one per side; more than one on a side, or no endpoint at all, answers 422. With both a source and a destination this is a two-sided transfer (returns the created transfer, 201). Omit status or send completed to apply it immediately; send pending to persist without moving stock. A pending create requires both endpoints (one endpoint answers 422). With a single open end and completed (or omitted) status it is a one-sided move — placing an unplaced item (destination only) or removing it from its holder (source only) — which records transactions but no transfer and returns 204. A completed create applies immediately, so the source must hold enough of each item.
17131
17151
  */
17132
17152
  export type AssetsTransferParameters = {
17133
17153
  /**
@@ -17166,6 +17186,10 @@ export type AssetsTransferParameters = {
17166
17186
  * ID of the user this move is performed on behalf of, recorded as its initiator. Omission answers 400; supplied null, a blank ID, or a wrong type answers 422. A user outside the company that owns the API key answers 422.
17167
17187
  */
17168
17188
  performed_by_user_id: string;
17189
+ /**
17190
+ * Optional. pending persists the transfer without moving stock. completed (the default when omitted) applies the move immediately. A pending create requires both a source and a destination; one endpoint answers 422. Any other value answers 422.
17191
+ */
17192
+ status?: 'pending' | 'completed';
17169
17193
  /**
17170
17194
  * The items and quantities to move, as a list of row objects; at least one is required. Omission answers 400, and null, an empty list, or a value that is not a list answers 422. A row missing a field answers 400 naming it, and an unknown or wrongly typed row field answers 422 at that row.
17171
17195
  */
@@ -17180,6 +17204,83 @@ export type AssetsTransferParameters = {
17180
17204
  quantity: number;
17181
17205
  }>;
17182
17206
  };
17207
+ /**
17208
+ * Answer a transfer — decline, cancel, or reopen it. The named filer is recorded on the step. An optional note is the step comment.
17209
+ */
17210
+ export type AssetsTransferCommandParameters = {
17211
+ /**
17212
+ * ID of the user this answer is performed on behalf of, recorded on the step. Omission answers 400; supplied null, a blank ID, or a wrong type answers 422. A user outside the company that owns the API key answers 422.
17213
+ */
17214
+ performed_by_user_id: string;
17215
+ /**
17216
+ * Optional comment recorded with the step. Omit to leave the step without a comment.
17217
+ */
17218
+ note?: string;
17219
+ };
17220
+ /**
17221
+ * Accept a pending transfer and move its stock. The named filer is recorded on the step. An optional note is the step comment. Optional placements put individual lines away at the destination; a line without a placement lands in the destination holder's own bucket.
17222
+ */
17223
+ export type AssetsTransferAcceptanceParameters = {
17224
+ /**
17225
+ * ID of the user this acceptance is performed on behalf of, recorded on the step. Omission answers 400; supplied null, a blank ID, or a wrong type answers 422. A user outside the company that owns the API key answers 422.
17226
+ */
17227
+ performed_by_user_id: string;
17228
+ /**
17229
+ * Optional comment recorded with the step. Omit to leave the step without a comment.
17230
+ */
17231
+ note?: string;
17232
+ /**
17233
+ * Optional list of per-line put-aways at the destination. Omit or send an empty list to land every line in the destination holder's own bucket. A placement that names a line not on the transfer answers 422.
17234
+ */
17235
+ placements?: Array<{
17236
+ /**
17237
+ * ID of the transfer line to put away. A blank ID or a wrong type answers 422 at its row.
17238
+ */
17239
+ line_id: string;
17240
+ /**
17241
+ * Optional. ID of a container at the destination to put this line into. Omit or send null for the destination holder's own bucket. A blank ID or a wrong type answers 422 at its row.
17242
+ */
17243
+ container_id?: string | null;
17244
+ /**
17245
+ * Optional. ID of a storage location at the destination (or inside the named container) to put this line into. Omit or send null for the holder's or container's unbinned bucket. A blank ID or a wrong type answers 422 at its row.
17246
+ */
17247
+ sub_location_id?: string | null;
17248
+ }>;
17249
+ };
17250
+ /**
17251
+ * Add a line to a pending transfer. The item is identified the same way create's line_items are, under this transfer's source holder. Stock stays with the sender until the transfer is accepted. A resolved transfer answers 422.
17252
+ */
17253
+ export type AssetsTransferLineParameters = {
17254
+ /**
17255
+ * ID of the asset item to add. A blank ID or a wrong type answers 422, and an item outside the company that owns the API key answers 404. The source holder must currently hold the item, or the matching bucket answers 404.
17256
+ */
17257
+ assets_item_id: string;
17258
+ /**
17259
+ * Number of units of the item to add, as an integer of 1 or more. Any other value, a fraction or a numeric string included, answers 422.
17260
+ */
17261
+ quantity: number;
17262
+ /**
17263
+ * Optional. The storage location within the source site or container this line's stock draws from. Omit or send null for the source's unbinned stock. A blank ID or a wrong type answers 422, a storage location outside the company that owns the API key answers 404, and one named against a user source answers 422.
17264
+ */
17265
+ from_assets_sub_location_id?: string | null;
17266
+ /**
17267
+ * Optional. The storage location within the destination site or container this line will land in when accepted. Omit to leave the line in the destination holder's own bucket. Send null for the same. A blank ID or a wrong type answers 422, and a storage location outside the company that owns the API key answers 404.
17268
+ */
17269
+ to_assets_sub_location_id?: string | null;
17270
+ };
17271
+ /**
17272
+ * Change a pending transfer line's quantity and/or destination storage location. A resolved transfer answers 422. A line that is not on this transfer answers 404.
17273
+ */
17274
+ export type AssetsTransferLineUpdateParameters = {
17275
+ /**
17276
+ * Optional. The new quantity, as an integer of 1 or more. Any other value, a fraction or a numeric string included, answers 422.
17277
+ */
17278
+ quantity?: number;
17279
+ /**
17280
+ * Optional. The storage location within the destination site or container this line will land in when accepted. Send null to land it in the destination holder's own bucket. A blank ID or a wrong type answers 422, and a storage location outside the company that owns the API key answers 404.
17281
+ */
17282
+ to_assets_sub_location_id?: string | null;
17283
+ };
17183
17284
  /**
17184
17285
  * Add stock of a bulk product to a holder — a site, a user's custody, or a container — recording a receive transaction. Name the holder with exactly one of assets_site_id, user_id, or container_item_id; several answer 422 at each named key, and none answers 422. Bulk products only.
17185
17286
  */
@@ -21795,6 +21896,206 @@ export type GetTransferResponses = {
21795
21896
  200: AssetsTransferResponseObject;
21796
21897
  };
21797
21898
  export type GetTransferResponse = GetTransferResponses[keyof GetTransferResponses];
21899
+ export type AcceptTransferData = {
21900
+ body: AssetsTransferAcceptanceParameters;
21901
+ path: {
21902
+ transfer_id: string;
21903
+ };
21904
+ query?: never;
21905
+ url: '/api/v1/assets/transfers/{transfer_id}/acceptance';
21906
+ };
21907
+ export type AcceptTransferErrors = {
21908
+ /**
21909
+ * Bad Request (missing performed_by_user_id)
21910
+ */
21911
+ 400: Problem;
21912
+ /**
21913
+ * Forbidden
21914
+ */
21915
+ 403: Problem;
21916
+ /**
21917
+ * Not Found
21918
+ */
21919
+ 404: Problem;
21920
+ /**
21921
+ * Unprocessable Content
21922
+ */
21923
+ 422: Problem;
21924
+ };
21925
+ export type AcceptTransferError = AcceptTransferErrors[keyof AcceptTransferErrors];
21926
+ export type AcceptTransferResponses = {
21927
+ /**
21928
+ * Created
21929
+ */
21930
+ 201: AssetsTransferResponseObject;
21931
+ };
21932
+ export type AcceptTransferResponse = AcceptTransferResponses[keyof AcceptTransferResponses];
21933
+ export type DeclineTransferData = {
21934
+ body: AssetsTransferCommandParameters;
21935
+ path: {
21936
+ transfer_id: string;
21937
+ };
21938
+ query?: never;
21939
+ url: '/api/v1/assets/transfers/{transfer_id}/decline';
21940
+ };
21941
+ export type DeclineTransferErrors = {
21942
+ /**
21943
+ * Forbidden
21944
+ */
21945
+ 403: Problem;
21946
+ };
21947
+ export type DeclineTransferError = DeclineTransferErrors[keyof DeclineTransferErrors];
21948
+ export type DeclineTransferResponses = {
21949
+ /**
21950
+ * Created
21951
+ */
21952
+ 201: AssetsTransferResponseObject;
21953
+ };
21954
+ export type DeclineTransferResponse = DeclineTransferResponses[keyof DeclineTransferResponses];
21955
+ export type CancelTransferData = {
21956
+ body: AssetsTransferCommandParameters;
21957
+ path: {
21958
+ transfer_id: string;
21959
+ };
21960
+ query?: never;
21961
+ url: '/api/v1/assets/transfers/{transfer_id}/cancellation';
21962
+ };
21963
+ export type CancelTransferErrors = {
21964
+ /**
21965
+ * Forbidden
21966
+ */
21967
+ 403: Problem;
21968
+ };
21969
+ export type CancelTransferError = CancelTransferErrors[keyof CancelTransferErrors];
21970
+ export type CancelTransferResponses = {
21971
+ /**
21972
+ * Created
21973
+ */
21974
+ 201: AssetsTransferResponseObject;
21975
+ };
21976
+ export type CancelTransferResponse = CancelTransferResponses[keyof CancelTransferResponses];
21977
+ export type ReopenTransferData = {
21978
+ body: AssetsTransferCommandParameters;
21979
+ path: {
21980
+ transfer_id: string;
21981
+ };
21982
+ query?: never;
21983
+ url: '/api/v1/assets/transfers/{transfer_id}/reopening';
21984
+ };
21985
+ export type ReopenTransferErrors = {
21986
+ /**
21987
+ * Forbidden
21988
+ */
21989
+ 403: Problem;
21990
+ /**
21991
+ * Unprocessable Content
21992
+ */
21993
+ 422: Problem;
21994
+ };
21995
+ export type ReopenTransferError = ReopenTransferErrors[keyof ReopenTransferErrors];
21996
+ export type ReopenTransferResponses = {
21997
+ /**
21998
+ * Created
21999
+ */
22000
+ 201: AssetsTransferResponseObject;
22001
+ };
22002
+ export type ReopenTransferResponse = ReopenTransferResponses[keyof ReopenTransferResponses];
22003
+ export type CreateTransferLineData = {
22004
+ body: AssetsTransferLineParameters;
22005
+ path: {
22006
+ transfer_id: string;
22007
+ };
22008
+ query?: never;
22009
+ url: '/api/v1/assets/transfers/{transfer_id}/lines';
22010
+ };
22011
+ export type CreateTransferLineErrors = {
22012
+ /**
22013
+ * Bad Request
22014
+ */
22015
+ 400: Problem;
22016
+ /**
22017
+ * Forbidden
22018
+ */
22019
+ 403: Problem;
22020
+ /**
22021
+ * Not Found
22022
+ */
22023
+ 404: Problem;
22024
+ /**
22025
+ * Unprocessable Content
22026
+ */
22027
+ 422: Problem;
22028
+ };
22029
+ export type CreateTransferLineError = CreateTransferLineErrors[keyof CreateTransferLineErrors];
22030
+ export type CreateTransferLineResponses = {
22031
+ /**
22032
+ * Created
22033
+ */
22034
+ 201: AssetsTransferResponseObject;
22035
+ };
22036
+ export type CreateTransferLineResponse = CreateTransferLineResponses[keyof CreateTransferLineResponses];
22037
+ export type DeleteTransferLineData = {
22038
+ body?: never;
22039
+ path: {
22040
+ transfer_id: string;
22041
+ line_id: string;
22042
+ };
22043
+ query?: never;
22044
+ url: '/api/v1/assets/transfers/{transfer_id}/lines/{line_id}';
22045
+ };
22046
+ export type DeleteTransferLineErrors = {
22047
+ /**
22048
+ * Forbidden
22049
+ */
22050
+ 403: Problem;
22051
+ /**
22052
+ * Unprocessable Content
22053
+ */
22054
+ 422: Problem;
22055
+ };
22056
+ export type DeleteTransferLineError = DeleteTransferLineErrors[keyof DeleteTransferLineErrors];
22057
+ export type DeleteTransferLineResponses = {
22058
+ /**
22059
+ * No Content
22060
+ */
22061
+ 204: void;
22062
+ };
22063
+ export type DeleteTransferLineResponse = DeleteTransferLineResponses[keyof DeleteTransferLineResponses];
22064
+ export type UpdateTransferLineData = {
22065
+ body: AssetsTransferLineUpdateParameters;
22066
+ path: {
22067
+ transfer_id: string;
22068
+ line_id: string;
22069
+ };
22070
+ query?: never;
22071
+ url: '/api/v1/assets/transfers/{transfer_id}/lines/{line_id}';
22072
+ };
22073
+ export type UpdateTransferLineErrors = {
22074
+ /**
22075
+ * Bad Request
22076
+ */
22077
+ 400: Problem;
22078
+ /**
22079
+ * Forbidden
22080
+ */
22081
+ 403: Problem;
22082
+ /**
22083
+ * Not Found
22084
+ */
22085
+ 404: Problem;
22086
+ /**
22087
+ * Unprocessable Content
22088
+ */
22089
+ 422: Problem;
22090
+ };
22091
+ export type UpdateTransferLineError = UpdateTransferLineErrors[keyof UpdateTransferLineErrors];
22092
+ export type UpdateTransferLineResponses = {
22093
+ /**
22094
+ * Success
22095
+ */
22096
+ 200: AssetsTransferResponseObject;
22097
+ };
22098
+ export type UpdateTransferLineResponse = UpdateTransferLineResponses[keyof UpdateTransferLineResponses];
21798
22099
  export type ListVendorsData = {
21799
22100
  body?: never;
21800
22101
  path?: never;