@dsptch-work/api-client 0.34.0 → 0.35.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.
- package/CHANGELOG.md +96 -0
- package/dist/gen/index.d.ts +1 -1
- package/dist/gen/sdk.gen.d.ts +7 -6
- package/dist/gen/sdk.gen.js +7 -6
- package/dist/gen/types.gen.d.ts +256 -149
- package/dist/gen/zod.gen.d.ts +483 -351
- package/dist/gen/zod.gen.js +223 -166
- package/package.json +1 -1
package/dist/gen/types.gen.d.ts
CHANGED
|
@@ -26,11 +26,11 @@ export type Problem = {
|
|
|
26
26
|
*/
|
|
27
27
|
instance: string;
|
|
28
28
|
/**
|
|
29
|
-
* Optional nonempty validation
|
|
29
|
+
* Optional nonempty entries, one per refused field or value: validation failures, and other request-body refusals such as `subtype_foreign_keys`. Each item gives a readable detail and, when the server can prove a public body location, a pointer to it. Clients must accept entries without a pointer.
|
|
30
30
|
*/
|
|
31
31
|
errors?: Array<{
|
|
32
32
|
/**
|
|
33
|
-
* The
|
|
33
|
+
* The message for this entry.
|
|
34
34
|
*/
|
|
35
35
|
detail: string;
|
|
36
36
|
/**
|
|
@@ -335,7 +335,7 @@ export type Problem = {
|
|
|
335
335
|
*
|
|
336
336
|
* **Foreign Subtype Attributes**
|
|
337
337
|
*
|
|
338
|
-
* A
|
|
338
|
+
* A write carries keys the record's resolved subtype does not accept, whether nested or beside the record's own fields (a serial item's fields sent for a bulk item). Send only the keys valid for that subtype; the message names the offending ones, and each one's entry in `errors` points at it. Nothing is written.
|
|
339
339
|
*
|
|
340
340
|
* ### synced_determination
|
|
341
341
|
*
|
|
@@ -768,6 +768,10 @@ export type CompetencyCriterionResponseObject = {
|
|
|
768
768
|
* Guidance on what evidence satisfies the criterion; null when unset.
|
|
769
769
|
*/
|
|
770
770
|
evidence_note: string | null;
|
|
771
|
+
/**
|
|
772
|
+
* Suggested assessment method for this criterion; null when unset. An assessment does not have to use it.
|
|
773
|
+
*/
|
|
774
|
+
assessment_method: 'direct_observation' | 'simulation' | 'oral_questioning' | 'written_questioning' | 'products_of_work' | 'recognized_prior_learning' | 'witness_testimony' | 'other' | null;
|
|
771
775
|
/**
|
|
772
776
|
* When the criterion was created.
|
|
773
777
|
*/
|
|
@@ -793,6 +797,10 @@ export type CompetencyCriterionParameters = {
|
|
|
793
797
|
* Guidance on what evidence satisfies the criterion; optional, null to clear.
|
|
794
798
|
*/
|
|
795
799
|
evidence_note?: string | null;
|
|
800
|
+
/**
|
|
801
|
+
* Suggested assessment method; optional, null to clear.
|
|
802
|
+
*/
|
|
803
|
+
assessment_method?: 'direct_observation' | 'simulation' | 'oral_questioning' | 'written_questioning' | 'products_of_work' | 'recognized_prior_learning' | 'witness_testimony' | 'other' | null;
|
|
796
804
|
};
|
|
797
805
|
/**
|
|
798
806
|
* Swap a draft catalog row with its neighbor. The row cannot move past either end of the list.
|
|
@@ -2844,10 +2852,6 @@ export type AssetsProductResponseObject = {
|
|
|
2844
2852
|
* Create a catalog product. `type` (serial or bulk) is required and immutable. `attribute_values` upserts the product's category-attribute values.
|
|
2845
2853
|
*/
|
|
2846
2854
|
export type AssetsProductParameters = {
|
|
2847
|
-
/**
|
|
2848
|
-
* Product kind, set on create and immutable: serial (individually tracked) or bulk (quantity-counted).
|
|
2849
|
-
*/
|
|
2850
|
-
type: 'serial' | 'bulk';
|
|
2851
2855
|
/**
|
|
2852
2856
|
* Human-readable product name.
|
|
2853
2857
|
*/
|
|
@@ -2857,9 +2861,13 @@ export type AssetsProductParameters = {
|
|
|
2857
2861
|
*/
|
|
2858
2862
|
description?: string | null;
|
|
2859
2863
|
/**
|
|
2860
|
-
*
|
|
2864
|
+
* Manufacturer or brand; required when model is given. Null when not set.
|
|
2861
2865
|
*/
|
|
2862
|
-
|
|
2866
|
+
make?: string | null;
|
|
2867
|
+
/**
|
|
2868
|
+
* Model name or number; unique per manufacturer within the company. Null when not set.
|
|
2869
|
+
*/
|
|
2870
|
+
model?: string | null;
|
|
2863
2871
|
/**
|
|
2864
2872
|
* Universal Product Code; unique within the company. Null when not set.
|
|
2865
2873
|
*/
|
|
@@ -2872,24 +2880,20 @@ export type AssetsProductParameters = {
|
|
|
2872
2880
|
* Default low-stock reorder threshold for this product's items, applied across sites unless a site overrides it. Null when not set.
|
|
2873
2881
|
*/
|
|
2874
2882
|
default_minimum_quantity?: number | null;
|
|
2875
|
-
/**
|
|
2876
|
-
* Manufacturer or brand; required when model is given. Null when not set.
|
|
2877
|
-
*/
|
|
2878
|
-
make?: string | null;
|
|
2879
|
-
/**
|
|
2880
|
-
* Model name or number; unique per manufacturer within the company. Null when not set.
|
|
2881
|
-
*/
|
|
2882
|
-
model?: string | null;
|
|
2883
2883
|
/**
|
|
2884
2884
|
* Unit of measure for counting a bulk product's inventory: one of each, pair, or pack. A serial product is always counted each.
|
|
2885
2885
|
*/
|
|
2886
2886
|
counted_by?: 'each' | 'pair' | 'pack';
|
|
2887
|
+
/**
|
|
2888
|
+
* ID of the category classifying this product; null when uncategorized.
|
|
2889
|
+
*/
|
|
2890
|
+
assets_category_id?: string | null;
|
|
2887
2891
|
/**
|
|
2888
2892
|
* Optional. Flag the product as a container whose items can hold other items (a toolbox or gang box). Only serialized products may be containers.
|
|
2889
2893
|
*/
|
|
2890
2894
|
container?: boolean;
|
|
2891
2895
|
/**
|
|
2892
|
-
* Upserts the values of this product's category attributes, one
|
|
2896
|
+
* Upserts the values of this product's category attributes, as a list of row objects, one per attribute. Each row requires its assets_attribute_id; a row without one answers 400, and a blank one 422. Send a blank value and null assets_attribute_option_id to clear one. A value is a string or null; any other JSON type, or an unknown row field, answers 422 at that row.
|
|
2893
2897
|
*/
|
|
2894
2898
|
attribute_values?: Array<{
|
|
2895
2899
|
/**
|
|
@@ -2906,9 +2910,26 @@ export type AssetsProductParameters = {
|
|
|
2906
2910
|
assets_attribute_option_id?: string | null;
|
|
2907
2911
|
}>;
|
|
2908
2912
|
/**
|
|
2909
|
-
* Image attachments. Send file with a signed_id to add one; include id with _destroy to remove an existing one.
|
|
2913
|
+
* Image attachments, as a list of row objects. Send file with a signed_id to add one; include id with _destroy to remove an existing one. An unknown or wrongly typed row field answers 422 at that row.
|
|
2914
|
+
*/
|
|
2915
|
+
images_attributes?: Array<{
|
|
2916
|
+
/**
|
|
2917
|
+
* ID of an existing attachment to remove; omit to add a new one.
|
|
2918
|
+
*/
|
|
2919
|
+
id?: string;
|
|
2920
|
+
/**
|
|
2921
|
+
* A signed_id from POST /api/v1/direct_uploads registered for `assets.products`; a signed_id issued for any other resource answers 422.
|
|
2922
|
+
*/
|
|
2923
|
+
file?: string;
|
|
2924
|
+
/**
|
|
2925
|
+
* Set true to remove the attachment named by id.
|
|
2926
|
+
*/
|
|
2927
|
+
_destroy?: boolean;
|
|
2928
|
+
}>;
|
|
2929
|
+
/**
|
|
2930
|
+
* Product kind, set on create and immutable: serial (individually tracked) or bulk (quantity-counted).
|
|
2910
2931
|
*/
|
|
2911
|
-
|
|
2932
|
+
type: 'serial' | 'bulk';
|
|
2912
2933
|
/**
|
|
2913
2934
|
* ID of the user this write is performed on behalf of, recorded for auditing. 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.
|
|
2914
2935
|
*/
|
|
@@ -2927,9 +2948,13 @@ export type AssetsProductUpdateParameters = {
|
|
|
2927
2948
|
*/
|
|
2928
2949
|
description?: string | null;
|
|
2929
2950
|
/**
|
|
2930
|
-
*
|
|
2951
|
+
* Manufacturer or brand; required when model is given. Null when not set.
|
|
2931
2952
|
*/
|
|
2932
|
-
|
|
2953
|
+
make?: string | null;
|
|
2954
|
+
/**
|
|
2955
|
+
* Model name or number; unique per manufacturer within the company. Null when not set.
|
|
2956
|
+
*/
|
|
2957
|
+
model?: string | null;
|
|
2933
2958
|
/**
|
|
2934
2959
|
* Universal Product Code; unique within the company. Null when not set.
|
|
2935
2960
|
*/
|
|
@@ -2942,24 +2967,20 @@ export type AssetsProductUpdateParameters = {
|
|
|
2942
2967
|
* Default low-stock reorder threshold for this product's items, applied across sites unless a site overrides it. Null when not set.
|
|
2943
2968
|
*/
|
|
2944
2969
|
default_minimum_quantity?: number | null;
|
|
2945
|
-
/**
|
|
2946
|
-
* Manufacturer or brand; required when model is given. Null when not set.
|
|
2947
|
-
*/
|
|
2948
|
-
make?: string | null;
|
|
2949
|
-
/**
|
|
2950
|
-
* Model name or number; unique per manufacturer within the company. Null when not set.
|
|
2951
|
-
*/
|
|
2952
|
-
model?: string | null;
|
|
2953
2970
|
/**
|
|
2954
2971
|
* Unit of measure for counting a bulk product's inventory: one of each, pair, or pack. A serial product is always counted each.
|
|
2955
2972
|
*/
|
|
2956
2973
|
counted_by?: 'each' | 'pair' | 'pack';
|
|
2974
|
+
/**
|
|
2975
|
+
* ID of the category classifying this product; null when uncategorized.
|
|
2976
|
+
*/
|
|
2977
|
+
assets_category_id?: string | null;
|
|
2957
2978
|
/**
|
|
2958
2979
|
* Optional. Flag the product as a container whose items can hold other items (a toolbox or gang box). Only serialized products may be containers.
|
|
2959
2980
|
*/
|
|
2960
2981
|
container?: boolean;
|
|
2961
2982
|
/**
|
|
2962
|
-
* Upserts the values of this product's category attributes, one
|
|
2983
|
+
* Upserts the values of this product's category attributes, as a list of row objects, one per attribute. Each row requires its assets_attribute_id; a row without one answers 400, and a blank one 422. Send a blank value and null assets_attribute_option_id to clear one. A value is a string or null; any other JSON type, or an unknown row field, answers 422 at that row.
|
|
2963
2984
|
*/
|
|
2964
2985
|
attribute_values?: Array<{
|
|
2965
2986
|
/**
|
|
@@ -2976,9 +2997,22 @@ export type AssetsProductUpdateParameters = {
|
|
|
2976
2997
|
assets_attribute_option_id?: string | null;
|
|
2977
2998
|
}>;
|
|
2978
2999
|
/**
|
|
2979
|
-
* Image attachments. Send file with a signed_id to add one; include id with _destroy to remove an existing one.
|
|
3000
|
+
* Image attachments, as a list of row objects. Send file with a signed_id to add one; include id with _destroy to remove an existing one. An unknown or wrongly typed row field answers 422 at that row.
|
|
2980
3001
|
*/
|
|
2981
|
-
images_attributes?: Array<
|
|
3002
|
+
images_attributes?: Array<{
|
|
3003
|
+
/**
|
|
3004
|
+
* ID of an existing attachment to remove; omit to add a new one.
|
|
3005
|
+
*/
|
|
3006
|
+
id?: string;
|
|
3007
|
+
/**
|
|
3008
|
+
* A signed_id from POST /api/v1/direct_uploads registered for `assets.products`; a signed_id issued for any other resource answers 422.
|
|
3009
|
+
*/
|
|
3010
|
+
file?: string;
|
|
3011
|
+
/**
|
|
3012
|
+
* Set true to remove the attachment named by id.
|
|
3013
|
+
*/
|
|
3014
|
+
_destroy?: boolean;
|
|
3015
|
+
}>;
|
|
2982
3016
|
};
|
|
2983
3017
|
/**
|
|
2984
3018
|
* A named daily allowance (meals, lodging, travel, and the like) that a company can attach to time.
|
|
@@ -3305,7 +3339,7 @@ export type AssetsCategoryResponseObject = {
|
|
|
3305
3339
|
updated_at: string;
|
|
3306
3340
|
};
|
|
3307
3341
|
/**
|
|
3308
|
-
* Create
|
|
3342
|
+
* Create a category. Only name is required; omitting it answers 400, and a blank or null name or any wrong-typed value answers 422. A null or blank parent_id files the category at the root. `category_attributes` sets this category's direct attribute assignments.
|
|
3309
3343
|
*/
|
|
3310
3344
|
export type AssetsCategoryParameters = {
|
|
3311
3345
|
/**
|
|
@@ -3317,7 +3351,7 @@ export type AssetsCategoryParameters = {
|
|
|
3317
3351
|
*/
|
|
3318
3352
|
parent_id?: string | null;
|
|
3319
3353
|
/**
|
|
3320
|
-
* Attribute assignments for this category. Include id to update an existing assignment, omit id to add one, or set _destroy to remove one.
|
|
3354
|
+
* Attribute assignments for this category, as a list of row objects. Include id to update an existing assignment, omit id to add one, or set _destroy to remove one. An unknown or wrongly typed row field answers 422 at that row.
|
|
3321
3355
|
*/
|
|
3322
3356
|
category_attributes?: Array<{
|
|
3323
3357
|
/**
|
|
@@ -3327,11 +3361,11 @@ export type AssetsCategoryParameters = {
|
|
|
3327
3361
|
/**
|
|
3328
3362
|
* ID of the attribute definition.
|
|
3329
3363
|
*/
|
|
3330
|
-
assets_attribute_id
|
|
3364
|
+
assets_attribute_id?: string;
|
|
3331
3365
|
/**
|
|
3332
3366
|
* Where this attribute is filled in for the category: product (on the catalog product) or item (on each individual item).
|
|
3333
3367
|
*/
|
|
3334
|
-
fillable_on
|
|
3368
|
+
fillable_on?: 'product' | 'item';
|
|
3335
3369
|
/**
|
|
3336
3370
|
* Whether a value for this attribute must be provided.
|
|
3337
3371
|
*/
|
|
@@ -3347,7 +3381,7 @@ export type AssetsCategoryParameters = {
|
|
|
3347
3381
|
}>;
|
|
3348
3382
|
};
|
|
3349
3383
|
/**
|
|
3350
|
-
* Update a category. All fields are optional — send only what changes. `category_attributes` sets this category's direct attribute assignments.
|
|
3384
|
+
* Update a category. All fields are optional — send only what changes. A blank or null name or any wrong-typed value answers 422, and a null or blank parent_id moves the category to the root. `category_attributes` sets this category's direct attribute assignments.
|
|
3351
3385
|
*/
|
|
3352
3386
|
export type AssetsCategoryUpdateParameters = {
|
|
3353
3387
|
/**
|
|
@@ -3359,7 +3393,7 @@ export type AssetsCategoryUpdateParameters = {
|
|
|
3359
3393
|
*/
|
|
3360
3394
|
parent_id?: string | null;
|
|
3361
3395
|
/**
|
|
3362
|
-
* Attribute assignments for this category. Include id to update an existing assignment, omit id to add one, or set _destroy to remove one.
|
|
3396
|
+
* Attribute assignments for this category, as a list of row objects. Include id to update an existing assignment, omit id to add one, or set _destroy to remove one. An unknown or wrongly typed row field answers 422 at that row.
|
|
3363
3397
|
*/
|
|
3364
3398
|
category_attributes?: Array<{
|
|
3365
3399
|
/**
|
|
@@ -3369,11 +3403,11 @@ export type AssetsCategoryUpdateParameters = {
|
|
|
3369
3403
|
/**
|
|
3370
3404
|
* ID of the attribute definition.
|
|
3371
3405
|
*/
|
|
3372
|
-
assets_attribute_id
|
|
3406
|
+
assets_attribute_id?: string;
|
|
3373
3407
|
/**
|
|
3374
3408
|
* Where this attribute is filled in for the category: product (on the catalog product) or item (on each individual item).
|
|
3375
3409
|
*/
|
|
3376
|
-
fillable_on
|
|
3410
|
+
fillable_on?: 'product' | 'item';
|
|
3377
3411
|
/**
|
|
3378
3412
|
* Whether a value for this attribute must be provided.
|
|
3379
3413
|
*/
|
|
@@ -10454,75 +10488,65 @@ export type ProductionJobScopePriceResponseObject = {
|
|
|
10454
10488
|
updated_at: string;
|
|
10455
10489
|
};
|
|
10456
10490
|
/**
|
|
10457
|
-
*
|
|
10458
|
-
*/
|
|
10459
|
-
export type ProductionCompletionParameters = ProductionFeatureCompletionParameters | ProductionQuantityCompletionParameters;
|
|
10460
|
-
/**
|
|
10461
|
-
* Update a completion. Send only the fields to change. The scope price, filer, and feature reference are fixed at creation. Sending production_job_scope_price_id or performed_by_user_id on update returns 400 unknown_key. Feature completions accept no completable changes; quantity completions accept quantity_completed. A key for the other subtype returns 422.
|
|
10491
|
+
* Record a completion against a scope price. The server takes the completable subtype from the production tracking kind of the scope price's job, never from the request: a feature-tracked job records which feature was completed, and a quantity-tracked job how many units were completed. completable_attributes declares both kinds' keys; sending the other kind's key answers 422 subtype_foreign_keys with an entry pointing at it, and nothing is written.
|
|
10462
10492
|
*/
|
|
10463
|
-
export type
|
|
10493
|
+
export type ProductionCompletionParameters = {
|
|
10464
10494
|
/**
|
|
10465
|
-
*
|
|
10495
|
+
* Scope price the work bills against; set on create only, and it determines the job. Omission answers 400; null, a blank ID, or a wrong type answers 422; a scope price the API key cannot see answers 404.
|
|
10496
|
+
*/
|
|
10497
|
+
production_job_scope_price_id: string;
|
|
10498
|
+
/**
|
|
10499
|
+
* ID of the company member filing the completion. 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.
|
|
10500
|
+
*/
|
|
10501
|
+
performed_by_user_id: string;
|
|
10502
|
+
/**
|
|
10503
|
+
* Free-text notes on the completion; null when none.
|
|
10466
10504
|
*/
|
|
10467
10505
|
notes?: string | null;
|
|
10468
10506
|
/**
|
|
10469
|
-
* Date the work was performed (YYYY-MM-DD)
|
|
10507
|
+
* Date the work was performed (YYYY-MM-DD). Omit it to file the completion on today's date in the job's time zone; null or a value that is not a calendar date answers 422.
|
|
10470
10508
|
*/
|
|
10471
10509
|
work_date?: string;
|
|
10472
10510
|
/**
|
|
10473
|
-
* Unique nonblank IDs of the job positions that performed the work
|
|
10511
|
+
* Unique nonblank IDs of the job positions that performed the work (the crew). At least one is required. Null, null members, wrong types, blank IDs, and duplicate IDs answer 422.
|
|
10474
10512
|
*/
|
|
10475
10513
|
position_ids?: Array<string>;
|
|
10514
|
+
/**
|
|
10515
|
+
* The completion's subtype fields, whose kind follows the job's production tracking kind. A string, array, or null answers 422; an unknown key inside answers 422 at its pointer.
|
|
10516
|
+
*/
|
|
10476
10517
|
completable_attributes?: {
|
|
10477
10518
|
/**
|
|
10478
|
-
*
|
|
10519
|
+
* Feature the work completed, for a feature-tracked job; required there, and immutable after create.
|
|
10520
|
+
*/
|
|
10521
|
+
feature_id?: string;
|
|
10522
|
+
/**
|
|
10523
|
+
* Number of units completed, a positive integer, for a quantity-tracked job; required there.
|
|
10479
10524
|
*/
|
|
10480
10525
|
quantity_completed?: number;
|
|
10481
10526
|
};
|
|
10482
10527
|
};
|
|
10483
10528
|
/**
|
|
10484
|
-
*
|
|
10529
|
+
* Update a completion. Send only the fields to change. The scope price, filer, and feature reference are fixed at creation. Sending production_job_scope_price_id or performed_by_user_id on update returns 400 unknown_key. Feature completions accept no completable changes, so quantity_completed on one answers 422 subtype_foreign_keys with an entry pointing at it; quantity completions accept quantity_completed.
|
|
10485
10530
|
*/
|
|
10486
|
-
export type
|
|
10487
|
-
/**
|
|
10488
|
-
* Scope price the work bills against; set on create only, and it determines the job. Omission answers 400; a scope price the API key cannot see answers 404.
|
|
10489
|
-
*/
|
|
10490
|
-
production_job_scope_price_id: string;
|
|
10491
|
-
/**
|
|
10492
|
-
* ID of the company member filing the completion. 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.
|
|
10493
|
-
*/
|
|
10494
|
-
performed_by_user_id: string;
|
|
10531
|
+
export type ProductionCompletionUpdateParameters = {
|
|
10495
10532
|
/**
|
|
10496
|
-
* Free-text notes
|
|
10533
|
+
* Free-text notes; omit to preserve them, or send null to clear them.
|
|
10497
10534
|
*/
|
|
10498
10535
|
notes?: string | null;
|
|
10499
10536
|
/**
|
|
10500
|
-
* Date the work was performed (YYYY-MM-DD);
|
|
10537
|
+
* Date the work was performed (YYYY-MM-DD); omit to preserve it. Null or a value that is not a calendar date answers 422.
|
|
10501
10538
|
*/
|
|
10502
10539
|
work_date?: string;
|
|
10503
10540
|
/**
|
|
10504
|
-
* Unique nonblank IDs of the job positions that performed the work
|
|
10541
|
+
* Unique nonblank IDs of the job positions that performed the work. Omit to preserve the crew; a supplied list replaces it and must retain at least one position. Null, null members, wrong types, blank IDs, and duplicate IDs answer 422.
|
|
10505
10542
|
*/
|
|
10506
10543
|
position_ids?: Array<string>;
|
|
10507
|
-
|
|
10508
|
-
|
|
10509
|
-
|
|
10510
|
-
*/
|
|
10511
|
-
export type ProductionFeatureCompletionParameters = ProductionCompletionBaseParameters & {
|
|
10512
|
-
completable_attributes?: {
|
|
10513
|
-
/**
|
|
10514
|
-
* Feature the work completed; required on create, immutable after.
|
|
10515
|
-
*/
|
|
10516
|
-
feature_id?: string;
|
|
10517
|
-
};
|
|
10518
|
-
};
|
|
10519
|
-
/**
|
|
10520
|
-
* Payload for completions on quantity-tracked jobs (the scope price's job tracks production by quantity). feature_id is not accepted.
|
|
10521
|
-
*/
|
|
10522
|
-
export type ProductionQuantityCompletionParameters = ProductionCompletionBaseParameters & {
|
|
10544
|
+
/**
|
|
10545
|
+
* The completion's subtype fields. A string, array, or null answers 422; any key but quantity_completed, feature_id included, answers 422 at its pointer.
|
|
10546
|
+
*/
|
|
10523
10547
|
completable_attributes?: {
|
|
10524
10548
|
/**
|
|
10525
|
-
* Number of units completed.
|
|
10549
|
+
* Number of units completed, a positive integer, for quantity completions only. Omit to preserve it.
|
|
10526
10550
|
*/
|
|
10527
10551
|
quantity_completed?: number;
|
|
10528
10552
|
};
|
|
@@ -12711,29 +12735,53 @@ export type PayRatesRuleResponseObject = {
|
|
|
12711
12735
|
* Parameters for creating a conditional wage or fringe adjustment in a pay-rate rule package.
|
|
12712
12736
|
*/
|
|
12713
12737
|
export type PayRatesRuleParameters = {
|
|
12714
|
-
effect: RateRuleEffect;
|
|
12715
|
-
/**
|
|
12716
|
-
* Match conditions for the rule. Omit or send an empty list for an unconditional rule.
|
|
12717
|
-
*/
|
|
12718
|
-
conditions?: Array<RateRuleCondition>;
|
|
12719
12738
|
/**
|
|
12720
12739
|
* Calendar date when the rule begins in the package's timezone, which is that of the project or job holding the package, else its company's; defaults to today there.
|
|
12721
12740
|
*/
|
|
12722
12741
|
effective_date?: string;
|
|
12742
|
+
/**
|
|
12743
|
+
* The adjustment applied when a rule matches — an addition to the wage or fringe rate.
|
|
12744
|
+
*/
|
|
12745
|
+
effect: {
|
|
12746
|
+
/**
|
|
12747
|
+
* Which base rate the effect adds to: `wage_increment` the hourly wage rate, `fringe_increment` the fringe rate.
|
|
12748
|
+
*/
|
|
12749
|
+
type: 'wage_increment' | 'fringe_increment';
|
|
12750
|
+
/**
|
|
12751
|
+
* Amount added to the base rate, in whole cents as a decimal string (e.g. "300" is $3.00). Zero or positive; fractional input is truncated.
|
|
12752
|
+
*/
|
|
12753
|
+
amount_cents: string;
|
|
12754
|
+
};
|
|
12755
|
+
/**
|
|
12756
|
+
* Match conditions for the rule. Omit or send an empty list for an unconditional rule.
|
|
12757
|
+
*/
|
|
12758
|
+
conditions?: Array<RateRuleTimeRangeCondition | RateRuleDaysCondition | RateRuleSpecificDateCondition | RateRuleApprenticePeriodCondition | RateRuleApprenticeHoursCondition | RateRuleOvertimeMultiplierCondition>;
|
|
12723
12759
|
};
|
|
12724
12760
|
/**
|
|
12725
12761
|
* Change a rule from an effective date forward. Omitted effect or conditions keep that part of the targeted version. When the targeted recipe changes, the resulting complete recipe applies from that coordinate across later scheduled versions; an unchanged recipe does not alter later scheduled versions. An empty conditions list makes the rule unconditional. Omit effective_from to correct the selected version from its exact existing start. A rule with an unbounded lower limit requires effective_from.
|
|
12726
12762
|
*/
|
|
12727
12763
|
export type PayRatesRuleUpdateParameters = {
|
|
12728
|
-
effect?: RateRuleEffect;
|
|
12729
|
-
/**
|
|
12730
|
-
* Replacement match conditions. Omit this field to keep the targeted version's conditions; send an empty list to make the rule unconditional.
|
|
12731
|
-
*/
|
|
12732
|
-
conditions?: Array<RateRuleCondition>;
|
|
12733
12764
|
/**
|
|
12734
12765
|
* Date the change begins, YYYY-MM-DD. Omit it to correct the selected version from its exact existing start. Required when that version has no lower bound.
|
|
12735
12766
|
*/
|
|
12736
12767
|
effective_from?: string;
|
|
12768
|
+
/**
|
|
12769
|
+
* The adjustment applied when a rule matches — an addition to the wage or fringe rate.
|
|
12770
|
+
*/
|
|
12771
|
+
effect?: {
|
|
12772
|
+
/**
|
|
12773
|
+
* Which base rate the effect adds to: `wage_increment` the hourly wage rate, `fringe_increment` the fringe rate.
|
|
12774
|
+
*/
|
|
12775
|
+
type: 'wage_increment' | 'fringe_increment';
|
|
12776
|
+
/**
|
|
12777
|
+
* Amount added to the base rate, in whole cents as a decimal string (e.g. "300" is $3.00). Zero or positive; fractional input is truncated.
|
|
12778
|
+
*/
|
|
12779
|
+
amount_cents: string;
|
|
12780
|
+
};
|
|
12781
|
+
/**
|
|
12782
|
+
* Replacement match conditions. Omit this field to keep the targeted version's conditions; send an empty list to make the rule unconditional.
|
|
12783
|
+
*/
|
|
12784
|
+
conditions?: Array<RateRuleTimeRangeCondition | RateRuleDaysCondition | RateRuleSpecificDateCondition | RateRuleApprenticePeriodCondition | RateRuleApprenticeHoursCondition | RateRuleOvertimeMultiplierCondition>;
|
|
12737
12785
|
};
|
|
12738
12786
|
/**
|
|
12739
12787
|
* Parameters for moving where a pay-rate rule family's valid-time timeline begins.
|
|
@@ -12761,11 +12809,23 @@ export type PayRatesRuleScheduledChangeParameters = {
|
|
|
12761
12809
|
* Date the change begins, YYYY-MM-DD.
|
|
12762
12810
|
*/
|
|
12763
12811
|
effective_date: string;
|
|
12764
|
-
|
|
12812
|
+
/**
|
|
12813
|
+
* The adjustment applied when a rule matches — an addition to the wage or fringe rate.
|
|
12814
|
+
*/
|
|
12815
|
+
effect?: {
|
|
12816
|
+
/**
|
|
12817
|
+
* Which base rate the effect adds to: `wage_increment` the hourly wage rate, `fringe_increment` the fringe rate.
|
|
12818
|
+
*/
|
|
12819
|
+
type: 'wage_increment' | 'fringe_increment';
|
|
12820
|
+
/**
|
|
12821
|
+
* Amount added to the base rate, in whole cents as a decimal string (e.g. "300" is $3.00). Zero or positive; fractional input is truncated.
|
|
12822
|
+
*/
|
|
12823
|
+
amount_cents: string;
|
|
12824
|
+
};
|
|
12765
12825
|
/**
|
|
12766
12826
|
* Replacement match conditions. Omit this field to keep the targeted version's conditions; send an empty list to make the rule unconditional.
|
|
12767
12827
|
*/
|
|
12768
|
-
conditions?: Array<
|
|
12828
|
+
conditions?: Array<RateRuleTimeRangeCondition | RateRuleDaysCondition | RateRuleSpecificDateCondition | RateRuleApprenticePeriodCondition | RateRuleApprenticeHoursCondition | RateRuleOvertimeMultiplierCondition>;
|
|
12769
12829
|
};
|
|
12770
12830
|
export type PayRatesRuleHistoryCorrectionObject = {
|
|
12771
12831
|
/**
|
|
@@ -13011,11 +13071,23 @@ export type RateRuleParameters = {
|
|
|
13011
13071
|
* Date the rule takes effect, YYYY-MM-DD. Defaults to today. Cannot predate the earliest wage determination the rule's package applies to.
|
|
13012
13072
|
*/
|
|
13013
13073
|
effective_date?: string | null;
|
|
13014
|
-
|
|
13074
|
+
/**
|
|
13075
|
+
* The adjustment applied when a rule matches — an addition to the wage or fringe rate.
|
|
13076
|
+
*/
|
|
13077
|
+
effect: {
|
|
13078
|
+
/**
|
|
13079
|
+
* Which base rate the effect adds to: `wage_increment` the hourly wage rate, `fringe_increment` the fringe rate.
|
|
13080
|
+
*/
|
|
13081
|
+
type: 'wage_increment' | 'fringe_increment';
|
|
13082
|
+
/**
|
|
13083
|
+
* Amount added to the base rate, in whole cents as a decimal string (e.g. "300" is $3.00). Zero or positive; fractional input is truncated.
|
|
13084
|
+
*/
|
|
13085
|
+
amount_cents: string;
|
|
13086
|
+
};
|
|
13015
13087
|
/**
|
|
13016
13088
|
* Match conditions for the rule; optional. Omit or send an empty list for a rule that always applies. At most one condition per category (time, day-selection, apprentice, overtime).
|
|
13017
13089
|
*/
|
|
13018
|
-
conditions?: Array<
|
|
13090
|
+
conditions?: Array<RateRuleTimeRangeCondition | RateRuleDaysCondition | RateRuleSpecificDateCondition | RateRuleApprenticePeriodCondition | RateRuleApprenticeHoursCondition | RateRuleOvertimeMultiplierCondition>;
|
|
13019
13091
|
};
|
|
13020
13092
|
/**
|
|
13021
13093
|
* A tracked physical asset owned by a company and typed by a product — either an individually-tracked serial unit or a quantity-tracked bulk stock record. The serial-only fields (serial_number, status, purchase_date, purchase_price_cents, currency, external_id, external_system_url) are null on a bulk item.
|
|
@@ -13132,7 +13204,7 @@ export type AssetsItemParameters = {
|
|
|
13132
13204
|
/**
|
|
13133
13205
|
* Free-text description of the item.
|
|
13134
13206
|
*/
|
|
13135
|
-
description?: string;
|
|
13207
|
+
description?: string | null;
|
|
13136
13208
|
/**
|
|
13137
13209
|
* ID of the product this item is an instance of.
|
|
13138
13210
|
*/
|
|
@@ -13140,7 +13212,7 @@ export type AssetsItemParameters = {
|
|
|
13140
13212
|
/**
|
|
13141
13213
|
* Serial number identifying the individual physical unit; unique within its product.
|
|
13142
13214
|
*/
|
|
13143
|
-
serial_number
|
|
13215
|
+
serial_number?: string | null;
|
|
13144
13216
|
/**
|
|
13145
13217
|
* Placement status of the item: available, or assigned when held by a user.
|
|
13146
13218
|
*/
|
|
@@ -13148,21 +13220,21 @@ export type AssetsItemParameters = {
|
|
|
13148
13220
|
/**
|
|
13149
13221
|
* When the item was purchased (ISO 8601).
|
|
13150
13222
|
*/
|
|
13151
|
-
purchase_date?: string;
|
|
13223
|
+
purchase_date?: string | null;
|
|
13152
13224
|
/**
|
|
13153
13225
|
* Purchase price in cents, in the item's currency.
|
|
13154
13226
|
*/
|
|
13155
|
-
purchase_price_cents?: number;
|
|
13227
|
+
purchase_price_cents?: number | null;
|
|
13156
13228
|
/**
|
|
13157
13229
|
* Identifier for this item in an external system.
|
|
13158
13230
|
*/
|
|
13159
|
-
external_id?: string;
|
|
13231
|
+
external_id?: string | null;
|
|
13160
13232
|
/**
|
|
13161
13233
|
* URL to this item in an external system.
|
|
13162
13234
|
*/
|
|
13163
|
-
external_system_url?: string;
|
|
13235
|
+
external_system_url?: string | null;
|
|
13164
13236
|
/**
|
|
13165
|
-
* Upserts the values of the item-level attributes of the product's category, one
|
|
13237
|
+
* Upserts the values of the item-level attributes of the product's category, as a list of row objects, one per attribute. Each row requires its assets_attribute_id; a row without one answers 400, and a blank one 422. Send a blank value and null assets_attribute_option_id to clear one. A value is a string or null; any other JSON type, or an unknown row field, answers 422 at that row.
|
|
13166
13238
|
*/
|
|
13167
13239
|
attribute_values?: Array<{
|
|
13168
13240
|
/**
|
|
@@ -13179,32 +13251,45 @@ export type AssetsItemParameters = {
|
|
|
13179
13251
|
assets_attribute_option_id?: string | null;
|
|
13180
13252
|
}>;
|
|
13181
13253
|
/**
|
|
13182
|
-
* Image attachments. Send file with a signed_id to add one; include id with _destroy to remove an existing one.
|
|
13254
|
+
* Image attachments, as a list of row objects. Send file with a signed_id to add one; include id with _destroy to remove an existing one. An unknown or wrongly typed row field answers 422 at that row.
|
|
13255
|
+
*/
|
|
13256
|
+
images_attributes?: Array<{
|
|
13257
|
+
/**
|
|
13258
|
+
* ID of an existing attachment to remove; omit to add a new one.
|
|
13259
|
+
*/
|
|
13260
|
+
id?: string;
|
|
13261
|
+
/**
|
|
13262
|
+
* A signed_id from POST /api/v1/direct_uploads registered for `assets.items`; a signed_id issued for any other resource answers 422.
|
|
13263
|
+
*/
|
|
13264
|
+
file?: string;
|
|
13265
|
+
/**
|
|
13266
|
+
* Set true to remove the attachment named by id.
|
|
13267
|
+
*/
|
|
13268
|
+
_destroy?: boolean;
|
|
13269
|
+
}>;
|
|
13270
|
+
/**
|
|
13271
|
+
* ID of the user this write is performed on behalf of — recorded as the item's creator or updater and attributed to any placement. 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.
|
|
13183
13272
|
*/
|
|
13184
|
-
|
|
13273
|
+
performed_by_user_id: string;
|
|
13185
13274
|
/**
|
|
13186
13275
|
* Optional, create only. Stock the new item at this site, recording a receive transaction. Mutually exclusive with user_id and container_item_id.
|
|
13187
13276
|
*/
|
|
13188
|
-
assets_site_id?: string;
|
|
13277
|
+
assets_site_id?: string | null;
|
|
13189
13278
|
/**
|
|
13190
13279
|
* Optional, create only. Assign the new item to this user. Mutually exclusive with assets_site_id and container_item_id.
|
|
13191
13280
|
*/
|
|
13192
|
-
user_id?: string;
|
|
13281
|
+
user_id?: string | null;
|
|
13193
13282
|
/**
|
|
13194
13283
|
* Optional, create only. Place the new item inside this container item. Mutually exclusive with assets_site_id and user_id.
|
|
13195
13284
|
*/
|
|
13196
|
-
container_item_id?: string;
|
|
13285
|
+
container_item_id?: string | null;
|
|
13197
13286
|
/**
|
|
13198
13287
|
* Optional, create only. The storage location within the placement site or container the item lands in; must belong to that holder. Omit for an unbinned placement. Ignored for a user assignment.
|
|
13199
13288
|
*/
|
|
13200
|
-
assets_sub_location_id?: string;
|
|
13201
|
-
/**
|
|
13202
|
-
* ID of the user this write is performed on behalf of — recorded as the item's creator or updater and attributed to any placement. 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.
|
|
13203
|
-
*/
|
|
13204
|
-
performed_by_user_id: string;
|
|
13289
|
+
assets_sub_location_id?: string | null;
|
|
13205
13290
|
};
|
|
13206
13291
|
/**
|
|
13207
|
-
* Update an asset item. All item fields are optional — send only what changes — but performed_by_user_id is required to record the updater. Omitted attributes retain their existing values. `attribute_values` upserts the item-level attributes of the product's category.
|
|
13292
|
+
* Update an asset item. All item fields are optional — send only what changes — but performed_by_user_id is required to record the updater. Omitted attributes retain their existing values. `attribute_values` upserts the item-level attributes of the product's category. The serial-only fields (serial_number, status, purchase_date, purchase_price_cents, external_id, external_system_url) apply to a serial item; sending one for a bulk item answers 422 subtype_foreign_keys with an entry pointing at each such field, and nothing is written.
|
|
13208
13293
|
*/
|
|
13209
13294
|
export type AssetsItemUpdateParameters = {
|
|
13210
13295
|
/**
|
|
@@ -13214,7 +13299,7 @@ export type AssetsItemUpdateParameters = {
|
|
|
13214
13299
|
/**
|
|
13215
13300
|
* Free-text description of the item.
|
|
13216
13301
|
*/
|
|
13217
|
-
description?: string;
|
|
13302
|
+
description?: string | null;
|
|
13218
13303
|
/**
|
|
13219
13304
|
* ID of the product this item is an instance of.
|
|
13220
13305
|
*/
|
|
@@ -13222,7 +13307,7 @@ export type AssetsItemUpdateParameters = {
|
|
|
13222
13307
|
/**
|
|
13223
13308
|
* Serial number identifying the individual physical unit; unique within its product.
|
|
13224
13309
|
*/
|
|
13225
|
-
serial_number?: string;
|
|
13310
|
+
serial_number?: string | null;
|
|
13226
13311
|
/**
|
|
13227
13312
|
* Placement status of the item: available, or assigned when held by a user.
|
|
13228
13313
|
*/
|
|
@@ -13230,21 +13315,21 @@ export type AssetsItemUpdateParameters = {
|
|
|
13230
13315
|
/**
|
|
13231
13316
|
* When the item was purchased (ISO 8601).
|
|
13232
13317
|
*/
|
|
13233
|
-
purchase_date?: string;
|
|
13318
|
+
purchase_date?: string | null;
|
|
13234
13319
|
/**
|
|
13235
13320
|
* Purchase price in cents, in the item's currency.
|
|
13236
13321
|
*/
|
|
13237
|
-
purchase_price_cents?: number;
|
|
13322
|
+
purchase_price_cents?: number | null;
|
|
13238
13323
|
/**
|
|
13239
13324
|
* Identifier for this item in an external system.
|
|
13240
13325
|
*/
|
|
13241
|
-
external_id?: string;
|
|
13326
|
+
external_id?: string | null;
|
|
13242
13327
|
/**
|
|
13243
13328
|
* URL to this item in an external system.
|
|
13244
13329
|
*/
|
|
13245
|
-
external_system_url?: string;
|
|
13330
|
+
external_system_url?: string | null;
|
|
13246
13331
|
/**
|
|
13247
|
-
* Upserts the values of the item-level attributes of the product's category, one
|
|
13332
|
+
* Upserts the values of the item-level attributes of the product's category, as a list of row objects, one per attribute. Each row requires its assets_attribute_id; a row without one answers 400, and a blank one 422. Send a blank value and null assets_attribute_option_id to clear one. A value is a string or null; any other JSON type, or an unknown row field, answers 422 at that row.
|
|
13248
13333
|
*/
|
|
13249
13334
|
attribute_values?: Array<{
|
|
13250
13335
|
/**
|
|
@@ -13261,9 +13346,22 @@ export type AssetsItemUpdateParameters = {
|
|
|
13261
13346
|
assets_attribute_option_id?: string | null;
|
|
13262
13347
|
}>;
|
|
13263
13348
|
/**
|
|
13264
|
-
* Image attachments. Send file with a signed_id to add one; include id with _destroy to remove an existing one.
|
|
13349
|
+
* Image attachments, as a list of row objects. Send file with a signed_id to add one; include id with _destroy to remove an existing one. An unknown or wrongly typed row field answers 422 at that row.
|
|
13265
13350
|
*/
|
|
13266
|
-
images_attributes?: Array<
|
|
13351
|
+
images_attributes?: Array<{
|
|
13352
|
+
/**
|
|
13353
|
+
* ID of an existing attachment to remove; omit to add a new one.
|
|
13354
|
+
*/
|
|
13355
|
+
id?: string;
|
|
13356
|
+
/**
|
|
13357
|
+
* A signed_id from POST /api/v1/direct_uploads registered for `assets.items`; a signed_id issued for any other resource answers 422.
|
|
13358
|
+
*/
|
|
13359
|
+
file?: string;
|
|
13360
|
+
/**
|
|
13361
|
+
* Set true to remove the attachment named by id.
|
|
13362
|
+
*/
|
|
13363
|
+
_destroy?: boolean;
|
|
13364
|
+
}>;
|
|
13267
13365
|
/**
|
|
13268
13366
|
* ID of the user this update is performed on behalf of, recorded as updater. 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.
|
|
13269
13367
|
*/
|
|
@@ -13608,23 +13706,6 @@ export type AssetsAttachmentResponseObject = {
|
|
|
13608
13706
|
*/
|
|
13609
13707
|
updated_at: string;
|
|
13610
13708
|
};
|
|
13611
|
-
/**
|
|
13612
|
-
* One attachment in a nested collection. Send file with a signed_id to add one; send id (with _destroy) to remove an existing one.
|
|
13613
|
-
*/
|
|
13614
|
-
export type AssetsAttachmentParameters = {
|
|
13615
|
-
/**
|
|
13616
|
-
* ID of an existing attachment to remove; omit to add a new one.
|
|
13617
|
-
*/
|
|
13618
|
-
id?: string;
|
|
13619
|
-
/**
|
|
13620
|
-
* A signed_id from POST /api/v1/direct_uploads identifying the uploaded blob to attach. Register the upload naming the resource of the endpoint you are calling — `assets.items` for item images, `assets.products` for product images, `assets.items.service_events` for service event attachments — because a signed_id issued for any other resource will not resolve here.
|
|
13621
|
-
*/
|
|
13622
|
-
file?: string;
|
|
13623
|
-
/**
|
|
13624
|
-
* Set true to remove the attachment named by id.
|
|
13625
|
-
*/
|
|
13626
|
-
_destroy?: boolean;
|
|
13627
|
-
};
|
|
13628
13709
|
/**
|
|
13629
13710
|
* A file attached to an asset item — a document such as a manual, warranty, or certificate. Uploaded through the direct-upload flow and optionally marked as a certified copy.
|
|
13630
13711
|
*/
|
|
@@ -14317,13 +14398,26 @@ export type AssetsServiceEventParameters = {
|
|
|
14317
14398
|
*/
|
|
14318
14399
|
assets_service_schedule_id?: string | null;
|
|
14319
14400
|
/**
|
|
14320
|
-
*
|
|
14401
|
+
* Document attachments for the service, as a list of row objects. Send file with a signed_id to add one. An unknown or wrongly typed row field answers 422 at that row.
|
|
14321
14402
|
*/
|
|
14322
|
-
|
|
14403
|
+
attachments_attributes?: Array<{
|
|
14404
|
+
/**
|
|
14405
|
+
* ID of an existing attachment to remove; omit to add a new one.
|
|
14406
|
+
*/
|
|
14407
|
+
id?: string;
|
|
14408
|
+
/**
|
|
14409
|
+
* A signed_id from POST /api/v1/direct_uploads registered for `assets.items.service_events`; a signed_id issued for any other resource answers 422.
|
|
14410
|
+
*/
|
|
14411
|
+
file?: string;
|
|
14412
|
+
/**
|
|
14413
|
+
* Set true to remove the attachment named by id.
|
|
14414
|
+
*/
|
|
14415
|
+
_destroy?: boolean;
|
|
14416
|
+
}>;
|
|
14323
14417
|
/**
|
|
14324
|
-
*
|
|
14418
|
+
* ID of the user who performed the service. 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.
|
|
14325
14419
|
*/
|
|
14326
|
-
|
|
14420
|
+
performed_by_user_id: string;
|
|
14327
14421
|
};
|
|
14328
14422
|
/**
|
|
14329
14423
|
* Update a service event. Event fields are optional — send only what changes — but performed_by_user_id is required to record the updater. A linked schedule dictates kind, and changing or removing the link recomputes affected due dates.
|
|
@@ -14346,13 +14440,26 @@ export type AssetsServiceEventUpdateParameters = {
|
|
|
14346
14440
|
*/
|
|
14347
14441
|
assets_service_schedule_id?: string | null;
|
|
14348
14442
|
/**
|
|
14349
|
-
*
|
|
14443
|
+
* Document attachments for the service, as a list of row objects. Set _destroy with an id to remove an existing one; omit id to add a new one. An unknown or wrongly typed row field answers 422 at that row.
|
|
14350
14444
|
*/
|
|
14351
|
-
|
|
14445
|
+
attachments_attributes?: Array<{
|
|
14446
|
+
/**
|
|
14447
|
+
* ID of an existing attachment to remove; omit to add a new one.
|
|
14448
|
+
*/
|
|
14449
|
+
id?: string;
|
|
14450
|
+
/**
|
|
14451
|
+
* A signed_id from POST /api/v1/direct_uploads registered for `assets.items.service_events`; a signed_id issued for any other resource answers 422.
|
|
14452
|
+
*/
|
|
14453
|
+
file?: string;
|
|
14454
|
+
/**
|
|
14455
|
+
* Set true to remove the attachment named by id.
|
|
14456
|
+
*/
|
|
14457
|
+
_destroy?: boolean;
|
|
14458
|
+
}>;
|
|
14352
14459
|
/**
|
|
14353
|
-
*
|
|
14460
|
+
* ID of the user this update is performed on behalf of. 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.
|
|
14354
14461
|
*/
|
|
14355
|
-
|
|
14462
|
+
performed_by_user_id: string;
|
|
14356
14463
|
};
|
|
14357
14464
|
/**
|
|
14358
14465
|
* A product-level service cadence that seeds and syncs the matching schedules on that product's items. Changing its defining fields (name, kind, interval) reconciles linked item schedules in the background.
|
|
@@ -16873,7 +16980,7 @@ export type UpdateItemErrors = {
|
|
|
16873
16980
|
*/
|
|
16874
16981
|
404: Problem;
|
|
16875
16982
|
/**
|
|
16876
|
-
* Unprocessable Content
|
|
16983
|
+
* Unprocessable Content (malformed row)
|
|
16877
16984
|
*/
|
|
16878
16985
|
422: Problem;
|
|
16879
16986
|
};
|
|
@@ -17827,7 +17934,7 @@ export type UpdateProductErrors = {
|
|
|
17827
17934
|
*/
|
|
17828
17935
|
404: Problem;
|
|
17829
17936
|
/**
|
|
17830
|
-
* Unprocessable Content
|
|
17937
|
+
* Unprocessable Content (malformed row)
|
|
17831
17938
|
*/
|
|
17832
17939
|
422: Problem;
|
|
17833
17940
|
};
|