@boxa-devops/depo-shared 1.2.0 → 1.4.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/dist/api.d.ts +635 -0
- package/dist/api.d.ts.map +1 -1
- package/error_codes.json +45 -2
- package/openapi.json +4704 -3528
- package/package.json +1 -1
- package/permissions.json +17 -0
- package/src/api.ts +635 -0
package/dist/api.d.ts
CHANGED
|
@@ -2768,6 +2768,147 @@ export interface paths {
|
|
|
2768
2768
|
patch?: never;
|
|
2769
2769
|
trace?: never;
|
|
2770
2770
|
};
|
|
2771
|
+
"/api/v1/part-requests": {
|
|
2772
|
+
parameters: {
|
|
2773
|
+
query?: never;
|
|
2774
|
+
header?: never;
|
|
2775
|
+
path?: never;
|
|
2776
|
+
cookie?: never;
|
|
2777
|
+
};
|
|
2778
|
+
/**
|
|
2779
|
+
* List Requests
|
|
2780
|
+
* @description All visible requests, or with inbox=true only those waiting on the caller:
|
|
2781
|
+
* storekeeper — NEW/ORDERED, deputy — ESCALATED, master — his own open ones.
|
|
2782
|
+
*/
|
|
2783
|
+
get: operations["list_requests_api_v1_part_requests_get"];
|
|
2784
|
+
put?: never;
|
|
2785
|
+
/** Create */
|
|
2786
|
+
post: operations["create_api_v1_part_requests_post"];
|
|
2787
|
+
delete?: never;
|
|
2788
|
+
options?: never;
|
|
2789
|
+
head?: never;
|
|
2790
|
+
patch?: never;
|
|
2791
|
+
trace?: never;
|
|
2792
|
+
};
|
|
2793
|
+
"/api/v1/part-requests/{request_id}/issue": {
|
|
2794
|
+
parameters: {
|
|
2795
|
+
query?: never;
|
|
2796
|
+
header?: never;
|
|
2797
|
+
path?: never;
|
|
2798
|
+
cookie?: never;
|
|
2799
|
+
};
|
|
2800
|
+
get?: never;
|
|
2801
|
+
put?: never;
|
|
2802
|
+
/**
|
|
2803
|
+
* Issue
|
|
2804
|
+
* @description Hand out from one warehouse. Partial is fine; all covered → ISSUED.
|
|
2805
|
+
*
|
|
2806
|
+
* One transaction: a shortage on any line rolls the whole call back.
|
|
2807
|
+
*/
|
|
2808
|
+
post: operations["issue_api_v1_part_requests__request_id__issue_post"];
|
|
2809
|
+
delete?: never;
|
|
2810
|
+
options?: never;
|
|
2811
|
+
head?: never;
|
|
2812
|
+
patch?: never;
|
|
2813
|
+
trace?: never;
|
|
2814
|
+
};
|
|
2815
|
+
"/api/v1/part-requests/{request_id}/escalate": {
|
|
2816
|
+
parameters: {
|
|
2817
|
+
query?: never;
|
|
2818
|
+
header?: never;
|
|
2819
|
+
path?: never;
|
|
2820
|
+
cookie?: never;
|
|
2821
|
+
};
|
|
2822
|
+
get?: never;
|
|
2823
|
+
put?: never;
|
|
2824
|
+
/**
|
|
2825
|
+
* Escalate
|
|
2826
|
+
* @description Not (all) in stock: forward the remainder to the deputy head for repair.
|
|
2827
|
+
*/
|
|
2828
|
+
post: operations["escalate_api_v1_part_requests__request_id__escalate_post"];
|
|
2829
|
+
delete?: never;
|
|
2830
|
+
options?: never;
|
|
2831
|
+
head?: never;
|
|
2832
|
+
patch?: never;
|
|
2833
|
+
trace?: never;
|
|
2834
|
+
};
|
|
2835
|
+
"/api/v1/part-requests/{request_id}/approve": {
|
|
2836
|
+
parameters: {
|
|
2837
|
+
query?: never;
|
|
2838
|
+
header?: never;
|
|
2839
|
+
path?: never;
|
|
2840
|
+
cookie?: never;
|
|
2841
|
+
};
|
|
2842
|
+
get?: never;
|
|
2843
|
+
put?: never;
|
|
2844
|
+
/**
|
|
2845
|
+
* Approve
|
|
2846
|
+
* @description Deputy confirms the purchase: ESCALATED → ORDERED.
|
|
2847
|
+
*/
|
|
2848
|
+
post: operations["approve_api_v1_part_requests__request_id__approve_post"];
|
|
2849
|
+
delete?: never;
|
|
2850
|
+
options?: never;
|
|
2851
|
+
head?: never;
|
|
2852
|
+
patch?: never;
|
|
2853
|
+
trace?: never;
|
|
2854
|
+
};
|
|
2855
|
+
"/api/v1/part-requests/{request_id}/reject": {
|
|
2856
|
+
parameters: {
|
|
2857
|
+
query?: never;
|
|
2858
|
+
header?: never;
|
|
2859
|
+
path?: never;
|
|
2860
|
+
cookie?: never;
|
|
2861
|
+
};
|
|
2862
|
+
get?: never;
|
|
2863
|
+
put?: never;
|
|
2864
|
+
/**
|
|
2865
|
+
* Reject
|
|
2866
|
+
* @description Storekeeper rejects a NEW request, the deputy an ESCALATED one. Reason required.
|
|
2867
|
+
*/
|
|
2868
|
+
post: operations["reject_api_v1_part_requests__request_id__reject_post"];
|
|
2869
|
+
delete?: never;
|
|
2870
|
+
options?: never;
|
|
2871
|
+
head?: never;
|
|
2872
|
+
patch?: never;
|
|
2873
|
+
trace?: never;
|
|
2874
|
+
};
|
|
2875
|
+
"/api/v1/part-requests/{request_id}/cancel": {
|
|
2876
|
+
parameters: {
|
|
2877
|
+
query?: never;
|
|
2878
|
+
header?: never;
|
|
2879
|
+
path?: never;
|
|
2880
|
+
cookie?: never;
|
|
2881
|
+
};
|
|
2882
|
+
get?: never;
|
|
2883
|
+
put?: never;
|
|
2884
|
+
/**
|
|
2885
|
+
* Cancel
|
|
2886
|
+
* @description The author withdraws a request nobody has acted on for good yet.
|
|
2887
|
+
*/
|
|
2888
|
+
post: operations["cancel_api_v1_part_requests__request_id__cancel_post"];
|
|
2889
|
+
delete?: never;
|
|
2890
|
+
options?: never;
|
|
2891
|
+
head?: never;
|
|
2892
|
+
patch?: never;
|
|
2893
|
+
trace?: never;
|
|
2894
|
+
};
|
|
2895
|
+
"/api/v1/part-requests/{request_id}": {
|
|
2896
|
+
parameters: {
|
|
2897
|
+
query?: never;
|
|
2898
|
+
header?: never;
|
|
2899
|
+
path?: never;
|
|
2900
|
+
cookie?: never;
|
|
2901
|
+
};
|
|
2902
|
+
/** Get Request */
|
|
2903
|
+
get: operations["get_request_api_v1_part_requests__request_id__get"];
|
|
2904
|
+
put?: never;
|
|
2905
|
+
post?: never;
|
|
2906
|
+
delete?: never;
|
|
2907
|
+
options?: never;
|
|
2908
|
+
head?: never;
|
|
2909
|
+
patch?: never;
|
|
2910
|
+
trace?: never;
|
|
2911
|
+
};
|
|
2771
2912
|
"/api/v1/plant-shipments": {
|
|
2772
2913
|
parameters: {
|
|
2773
2914
|
query?: never;
|
|
@@ -7295,6 +7436,24 @@ export interface components {
|
|
|
7295
7436
|
/** Terminal Id */
|
|
7296
7437
|
terminal_id?: string | null;
|
|
7297
7438
|
};
|
|
7439
|
+
/**
|
|
7440
|
+
* IssueLineIn
|
|
7441
|
+
* @description QUANTITY line: `qty`. SERIAL line: `item_ids` (each card is one unit).
|
|
7442
|
+
*/
|
|
7443
|
+
IssueLineIn: {
|
|
7444
|
+
/**
|
|
7445
|
+
* Line Id
|
|
7446
|
+
* Format: uuid
|
|
7447
|
+
*/
|
|
7448
|
+
line_id: string;
|
|
7449
|
+
/** Qty */
|
|
7450
|
+
qty?: number | string | null;
|
|
7451
|
+
/**
|
|
7452
|
+
* Item Ids
|
|
7453
|
+
* @default []
|
|
7454
|
+
*/
|
|
7455
|
+
item_ids: string[];
|
|
7456
|
+
};
|
|
7298
7457
|
/**
|
|
7299
7458
|
* ItemCandidate
|
|
7300
7459
|
* @description One row of the search candidate list (TZ 6: selection screen card).
|
|
@@ -8395,6 +8554,8 @@ export interface components {
|
|
|
8395
8554
|
disposition: number | null;
|
|
8396
8555
|
/** Inventory Open */
|
|
8397
8556
|
inventory_open: number | null;
|
|
8557
|
+
/** Part Requests Waiting */
|
|
8558
|
+
part_requests_waiting?: number | null;
|
|
8398
8559
|
};
|
|
8399
8560
|
/** NodeOut */
|
|
8400
8561
|
NodeOut: {
|
|
@@ -9400,6 +9561,181 @@ export interface components {
|
|
|
9400
9561
|
/** Cumulative Pct */
|
|
9401
9562
|
cumulative_pct: number;
|
|
9402
9563
|
};
|
|
9564
|
+
/**
|
|
9565
|
+
* PartRequestApprove
|
|
9566
|
+
* @description POST /part-requests/{id}/approve — deputy starts the purchase.
|
|
9567
|
+
*/
|
|
9568
|
+
PartRequestApprove: {
|
|
9569
|
+
/**
|
|
9570
|
+
* Client Event Uuid
|
|
9571
|
+
* Format: uuid
|
|
9572
|
+
*/
|
|
9573
|
+
client_event_uuid: string;
|
|
9574
|
+
/**
|
|
9575
|
+
* Event At
|
|
9576
|
+
* Format: date-time
|
|
9577
|
+
*/
|
|
9578
|
+
event_at: string;
|
|
9579
|
+
/** Counterparty Id */
|
|
9580
|
+
counterparty_id?: string | null;
|
|
9581
|
+
/** Order Note */
|
|
9582
|
+
order_note?: string | null;
|
|
9583
|
+
};
|
|
9584
|
+
/**
|
|
9585
|
+
* PartRequestCreate
|
|
9586
|
+
* @description POST /part-requests — the master asks for parts.
|
|
9587
|
+
*/
|
|
9588
|
+
PartRequestCreate: {
|
|
9589
|
+
/**
|
|
9590
|
+
* Client Event Uuid
|
|
9591
|
+
* Format: uuid
|
|
9592
|
+
*/
|
|
9593
|
+
client_event_uuid: string;
|
|
9594
|
+
/**
|
|
9595
|
+
* Event At
|
|
9596
|
+
* Format: date-time
|
|
9597
|
+
*/
|
|
9598
|
+
event_at: string;
|
|
9599
|
+
/**
|
|
9600
|
+
* Location Id
|
|
9601
|
+
* Format: uuid
|
|
9602
|
+
*/
|
|
9603
|
+
location_id: string;
|
|
9604
|
+
/** Work Order Id */
|
|
9605
|
+
work_order_id?: string | null;
|
|
9606
|
+
/** Note */
|
|
9607
|
+
note?: string | null;
|
|
9608
|
+
/** Lines */
|
|
9609
|
+
lines: components["schemas"]["PartRequestLineIn"][];
|
|
9610
|
+
};
|
|
9611
|
+
/**
|
|
9612
|
+
* PartRequestIssue
|
|
9613
|
+
* @description POST /part-requests/{id}/issue — storekeeper hands out from a warehouse.
|
|
9614
|
+
*/
|
|
9615
|
+
PartRequestIssue: {
|
|
9616
|
+
/**
|
|
9617
|
+
* Client Event Uuid
|
|
9618
|
+
* Format: uuid
|
|
9619
|
+
*/
|
|
9620
|
+
client_event_uuid: string;
|
|
9621
|
+
/**
|
|
9622
|
+
* Event At
|
|
9623
|
+
* Format: date-time
|
|
9624
|
+
*/
|
|
9625
|
+
event_at: string;
|
|
9626
|
+
/**
|
|
9627
|
+
* Warehouse Id
|
|
9628
|
+
* Format: uuid
|
|
9629
|
+
*/
|
|
9630
|
+
warehouse_id: string;
|
|
9631
|
+
/** Lines */
|
|
9632
|
+
lines: components["schemas"]["IssueLineIn"][];
|
|
9633
|
+
};
|
|
9634
|
+
/** PartRequestLineIn */
|
|
9635
|
+
PartRequestLineIn: {
|
|
9636
|
+
/**
|
|
9637
|
+
* Nomenclature Id
|
|
9638
|
+
* Format: uuid
|
|
9639
|
+
*/
|
|
9640
|
+
nomenclature_id: string;
|
|
9641
|
+
/** Qty */
|
|
9642
|
+
qty: number | string;
|
|
9643
|
+
};
|
|
9644
|
+
/** PartRequestLineOut */
|
|
9645
|
+
PartRequestLineOut: {
|
|
9646
|
+
/**
|
|
9647
|
+
* Id
|
|
9648
|
+
* Format: uuid
|
|
9649
|
+
*/
|
|
9650
|
+
id: string;
|
|
9651
|
+
/**
|
|
9652
|
+
* Nomenclature Id
|
|
9653
|
+
* Format: uuid
|
|
9654
|
+
*/
|
|
9655
|
+
nomenclature_id: string;
|
|
9656
|
+
/**
|
|
9657
|
+
* Nomenclature Name
|
|
9658
|
+
* @default
|
|
9659
|
+
*/
|
|
9660
|
+
nomenclature_name: string;
|
|
9661
|
+
/**
|
|
9662
|
+
* Tracking Mode
|
|
9663
|
+
* @default
|
|
9664
|
+
*/
|
|
9665
|
+
tracking_mode: string;
|
|
9666
|
+
/** Qty */
|
|
9667
|
+
qty: string;
|
|
9668
|
+
/** Issued Qty */
|
|
9669
|
+
issued_qty: string;
|
|
9670
|
+
};
|
|
9671
|
+
/**
|
|
9672
|
+
* PartRequestNote
|
|
9673
|
+
* @description escalate / reject / cancel.
|
|
9674
|
+
*/
|
|
9675
|
+
PartRequestNote: {
|
|
9676
|
+
/**
|
|
9677
|
+
* Client Event Uuid
|
|
9678
|
+
* Format: uuid
|
|
9679
|
+
*/
|
|
9680
|
+
client_event_uuid: string;
|
|
9681
|
+
/**
|
|
9682
|
+
* Event At
|
|
9683
|
+
* Format: date-time
|
|
9684
|
+
*/
|
|
9685
|
+
event_at: string;
|
|
9686
|
+
/** Note */
|
|
9687
|
+
note?: string | null;
|
|
9688
|
+
};
|
|
9689
|
+
/** PartRequestOut */
|
|
9690
|
+
PartRequestOut: {
|
|
9691
|
+
/**
|
|
9692
|
+
* Id
|
|
9693
|
+
* Format: uuid
|
|
9694
|
+
*/
|
|
9695
|
+
id: string;
|
|
9696
|
+
/** Number */
|
|
9697
|
+
number: string;
|
|
9698
|
+
/** Status */
|
|
9699
|
+
status: string;
|
|
9700
|
+
/**
|
|
9701
|
+
* Location Id
|
|
9702
|
+
* Format: uuid
|
|
9703
|
+
*/
|
|
9704
|
+
location_id: string;
|
|
9705
|
+
/** Work Order Id */
|
|
9706
|
+
work_order_id: string | null;
|
|
9707
|
+
/** Note */
|
|
9708
|
+
note: string | null;
|
|
9709
|
+
/**
|
|
9710
|
+
* Requested By
|
|
9711
|
+
* Format: uuid
|
|
9712
|
+
*/
|
|
9713
|
+
requested_by: string;
|
|
9714
|
+
/**
|
|
9715
|
+
* Requested At
|
|
9716
|
+
* Format: date-time
|
|
9717
|
+
*/
|
|
9718
|
+
requested_at: string;
|
|
9719
|
+
/** Keeper Id */
|
|
9720
|
+
keeper_id: string | null;
|
|
9721
|
+
/** Keeper At */
|
|
9722
|
+
keeper_at: string | null;
|
|
9723
|
+
/** Deputy Id */
|
|
9724
|
+
deputy_id: string | null;
|
|
9725
|
+
/** Deputy At */
|
|
9726
|
+
deputy_at: string | null;
|
|
9727
|
+
/** Counterparty Id */
|
|
9728
|
+
counterparty_id: string | null;
|
|
9729
|
+
/** Order Note */
|
|
9730
|
+
order_note: string | null;
|
|
9731
|
+
/** Decision Note */
|
|
9732
|
+
decision_note: string | null;
|
|
9733
|
+
/**
|
|
9734
|
+
* Lines
|
|
9735
|
+
* @default []
|
|
9736
|
+
*/
|
|
9737
|
+
lines: components["schemas"]["PartRequestLineOut"][];
|
|
9738
|
+
};
|
|
9403
9739
|
/**
|
|
9404
9740
|
* PassportOut
|
|
9405
9741
|
* @description GET /items/{id}/passport — everything the «Texpasport» tab renders.
|
|
@@ -17870,6 +18206,305 @@ export interface operations {
|
|
|
17870
18206
|
};
|
|
17871
18207
|
};
|
|
17872
18208
|
};
|
|
18209
|
+
list_requests_api_v1_part_requests_get: {
|
|
18210
|
+
parameters: {
|
|
18211
|
+
query?: {
|
|
18212
|
+
status?: string | null;
|
|
18213
|
+
inbox?: boolean;
|
|
18214
|
+
};
|
|
18215
|
+
header?: {
|
|
18216
|
+
authorization?: string | null;
|
|
18217
|
+
"x-debug-person-id"?: string | null;
|
|
18218
|
+
};
|
|
18219
|
+
path?: never;
|
|
18220
|
+
cookie?: {
|
|
18221
|
+
depo_admin_session?: string | null;
|
|
18222
|
+
};
|
|
18223
|
+
};
|
|
18224
|
+
requestBody?: never;
|
|
18225
|
+
responses: {
|
|
18226
|
+
/** @description Successful Response */
|
|
18227
|
+
200: {
|
|
18228
|
+
headers: {
|
|
18229
|
+
[name: string]: unknown;
|
|
18230
|
+
};
|
|
18231
|
+
content: {
|
|
18232
|
+
"application/json": components["schemas"]["PartRequestOut"][];
|
|
18233
|
+
};
|
|
18234
|
+
};
|
|
18235
|
+
/** @description Validation Error */
|
|
18236
|
+
422: {
|
|
18237
|
+
headers: {
|
|
18238
|
+
[name: string]: unknown;
|
|
18239
|
+
};
|
|
18240
|
+
content: {
|
|
18241
|
+
"application/json": components["schemas"]["HTTPValidationError"];
|
|
18242
|
+
};
|
|
18243
|
+
};
|
|
18244
|
+
};
|
|
18245
|
+
};
|
|
18246
|
+
create_api_v1_part_requests_post: {
|
|
18247
|
+
parameters: {
|
|
18248
|
+
query?: never;
|
|
18249
|
+
header?: {
|
|
18250
|
+
authorization?: string | null;
|
|
18251
|
+
"x-debug-person-id"?: string | null;
|
|
18252
|
+
};
|
|
18253
|
+
path?: never;
|
|
18254
|
+
cookie?: never;
|
|
18255
|
+
};
|
|
18256
|
+
requestBody: {
|
|
18257
|
+
content: {
|
|
18258
|
+
"application/json": components["schemas"]["PartRequestCreate"];
|
|
18259
|
+
};
|
|
18260
|
+
};
|
|
18261
|
+
responses: {
|
|
18262
|
+
/** @description Successful Response */
|
|
18263
|
+
201: {
|
|
18264
|
+
headers: {
|
|
18265
|
+
[name: string]: unknown;
|
|
18266
|
+
};
|
|
18267
|
+
content: {
|
|
18268
|
+
"application/json": components["schemas"]["PartRequestOut"];
|
|
18269
|
+
};
|
|
18270
|
+
};
|
|
18271
|
+
/** @description Validation Error */
|
|
18272
|
+
422: {
|
|
18273
|
+
headers: {
|
|
18274
|
+
[name: string]: unknown;
|
|
18275
|
+
};
|
|
18276
|
+
content: {
|
|
18277
|
+
"application/json": components["schemas"]["HTTPValidationError"];
|
|
18278
|
+
};
|
|
18279
|
+
};
|
|
18280
|
+
};
|
|
18281
|
+
};
|
|
18282
|
+
issue_api_v1_part_requests__request_id__issue_post: {
|
|
18283
|
+
parameters: {
|
|
18284
|
+
query?: never;
|
|
18285
|
+
header?: {
|
|
18286
|
+
authorization?: string | null;
|
|
18287
|
+
"x-debug-person-id"?: string | null;
|
|
18288
|
+
};
|
|
18289
|
+
path: {
|
|
18290
|
+
request_id: string;
|
|
18291
|
+
};
|
|
18292
|
+
cookie?: never;
|
|
18293
|
+
};
|
|
18294
|
+
requestBody: {
|
|
18295
|
+
content: {
|
|
18296
|
+
"application/json": components["schemas"]["PartRequestIssue"];
|
|
18297
|
+
};
|
|
18298
|
+
};
|
|
18299
|
+
responses: {
|
|
18300
|
+
/** @description Successful Response */
|
|
18301
|
+
200: {
|
|
18302
|
+
headers: {
|
|
18303
|
+
[name: string]: unknown;
|
|
18304
|
+
};
|
|
18305
|
+
content: {
|
|
18306
|
+
"application/json": components["schemas"]["PartRequestOut"];
|
|
18307
|
+
};
|
|
18308
|
+
};
|
|
18309
|
+
/** @description Validation Error */
|
|
18310
|
+
422: {
|
|
18311
|
+
headers: {
|
|
18312
|
+
[name: string]: unknown;
|
|
18313
|
+
};
|
|
18314
|
+
content: {
|
|
18315
|
+
"application/json": components["schemas"]["HTTPValidationError"];
|
|
18316
|
+
};
|
|
18317
|
+
};
|
|
18318
|
+
};
|
|
18319
|
+
};
|
|
18320
|
+
escalate_api_v1_part_requests__request_id__escalate_post: {
|
|
18321
|
+
parameters: {
|
|
18322
|
+
query?: never;
|
|
18323
|
+
header?: {
|
|
18324
|
+
authorization?: string | null;
|
|
18325
|
+
"x-debug-person-id"?: string | null;
|
|
18326
|
+
};
|
|
18327
|
+
path: {
|
|
18328
|
+
request_id: string;
|
|
18329
|
+
};
|
|
18330
|
+
cookie?: never;
|
|
18331
|
+
};
|
|
18332
|
+
requestBody: {
|
|
18333
|
+
content: {
|
|
18334
|
+
"application/json": components["schemas"]["PartRequestNote"];
|
|
18335
|
+
};
|
|
18336
|
+
};
|
|
18337
|
+
responses: {
|
|
18338
|
+
/** @description Successful Response */
|
|
18339
|
+
200: {
|
|
18340
|
+
headers: {
|
|
18341
|
+
[name: string]: unknown;
|
|
18342
|
+
};
|
|
18343
|
+
content: {
|
|
18344
|
+
"application/json": components["schemas"]["PartRequestOut"];
|
|
18345
|
+
};
|
|
18346
|
+
};
|
|
18347
|
+
/** @description Validation Error */
|
|
18348
|
+
422: {
|
|
18349
|
+
headers: {
|
|
18350
|
+
[name: string]: unknown;
|
|
18351
|
+
};
|
|
18352
|
+
content: {
|
|
18353
|
+
"application/json": components["schemas"]["HTTPValidationError"];
|
|
18354
|
+
};
|
|
18355
|
+
};
|
|
18356
|
+
};
|
|
18357
|
+
};
|
|
18358
|
+
approve_api_v1_part_requests__request_id__approve_post: {
|
|
18359
|
+
parameters: {
|
|
18360
|
+
query?: never;
|
|
18361
|
+
header?: {
|
|
18362
|
+
authorization?: string | null;
|
|
18363
|
+
"x-debug-person-id"?: string | null;
|
|
18364
|
+
};
|
|
18365
|
+
path: {
|
|
18366
|
+
request_id: string;
|
|
18367
|
+
};
|
|
18368
|
+
cookie?: never;
|
|
18369
|
+
};
|
|
18370
|
+
requestBody: {
|
|
18371
|
+
content: {
|
|
18372
|
+
"application/json": components["schemas"]["PartRequestApprove"];
|
|
18373
|
+
};
|
|
18374
|
+
};
|
|
18375
|
+
responses: {
|
|
18376
|
+
/** @description Successful Response */
|
|
18377
|
+
200: {
|
|
18378
|
+
headers: {
|
|
18379
|
+
[name: string]: unknown;
|
|
18380
|
+
};
|
|
18381
|
+
content: {
|
|
18382
|
+
"application/json": components["schemas"]["PartRequestOut"];
|
|
18383
|
+
};
|
|
18384
|
+
};
|
|
18385
|
+
/** @description Validation Error */
|
|
18386
|
+
422: {
|
|
18387
|
+
headers: {
|
|
18388
|
+
[name: string]: unknown;
|
|
18389
|
+
};
|
|
18390
|
+
content: {
|
|
18391
|
+
"application/json": components["schemas"]["HTTPValidationError"];
|
|
18392
|
+
};
|
|
18393
|
+
};
|
|
18394
|
+
};
|
|
18395
|
+
};
|
|
18396
|
+
reject_api_v1_part_requests__request_id__reject_post: {
|
|
18397
|
+
parameters: {
|
|
18398
|
+
query?: never;
|
|
18399
|
+
header?: {
|
|
18400
|
+
authorization?: string | null;
|
|
18401
|
+
"x-debug-person-id"?: string | null;
|
|
18402
|
+
};
|
|
18403
|
+
path: {
|
|
18404
|
+
request_id: string;
|
|
18405
|
+
};
|
|
18406
|
+
cookie?: never;
|
|
18407
|
+
};
|
|
18408
|
+
requestBody: {
|
|
18409
|
+
content: {
|
|
18410
|
+
"application/json": components["schemas"]["PartRequestNote"];
|
|
18411
|
+
};
|
|
18412
|
+
};
|
|
18413
|
+
responses: {
|
|
18414
|
+
/** @description Successful Response */
|
|
18415
|
+
200: {
|
|
18416
|
+
headers: {
|
|
18417
|
+
[name: string]: unknown;
|
|
18418
|
+
};
|
|
18419
|
+
content: {
|
|
18420
|
+
"application/json": components["schemas"]["PartRequestOut"];
|
|
18421
|
+
};
|
|
18422
|
+
};
|
|
18423
|
+
/** @description Validation Error */
|
|
18424
|
+
422: {
|
|
18425
|
+
headers: {
|
|
18426
|
+
[name: string]: unknown;
|
|
18427
|
+
};
|
|
18428
|
+
content: {
|
|
18429
|
+
"application/json": components["schemas"]["HTTPValidationError"];
|
|
18430
|
+
};
|
|
18431
|
+
};
|
|
18432
|
+
};
|
|
18433
|
+
};
|
|
18434
|
+
cancel_api_v1_part_requests__request_id__cancel_post: {
|
|
18435
|
+
parameters: {
|
|
18436
|
+
query?: never;
|
|
18437
|
+
header?: {
|
|
18438
|
+
authorization?: string | null;
|
|
18439
|
+
"x-debug-person-id"?: string | null;
|
|
18440
|
+
};
|
|
18441
|
+
path: {
|
|
18442
|
+
request_id: string;
|
|
18443
|
+
};
|
|
18444
|
+
cookie?: never;
|
|
18445
|
+
};
|
|
18446
|
+
requestBody: {
|
|
18447
|
+
content: {
|
|
18448
|
+
"application/json": components["schemas"]["PartRequestNote"];
|
|
18449
|
+
};
|
|
18450
|
+
};
|
|
18451
|
+
responses: {
|
|
18452
|
+
/** @description Successful Response */
|
|
18453
|
+
200: {
|
|
18454
|
+
headers: {
|
|
18455
|
+
[name: string]: unknown;
|
|
18456
|
+
};
|
|
18457
|
+
content: {
|
|
18458
|
+
"application/json": components["schemas"]["PartRequestOut"];
|
|
18459
|
+
};
|
|
18460
|
+
};
|
|
18461
|
+
/** @description Validation Error */
|
|
18462
|
+
422: {
|
|
18463
|
+
headers: {
|
|
18464
|
+
[name: string]: unknown;
|
|
18465
|
+
};
|
|
18466
|
+
content: {
|
|
18467
|
+
"application/json": components["schemas"]["HTTPValidationError"];
|
|
18468
|
+
};
|
|
18469
|
+
};
|
|
18470
|
+
};
|
|
18471
|
+
};
|
|
18472
|
+
get_request_api_v1_part_requests__request_id__get: {
|
|
18473
|
+
parameters: {
|
|
18474
|
+
query?: never;
|
|
18475
|
+
header?: {
|
|
18476
|
+
authorization?: string | null;
|
|
18477
|
+
"x-debug-person-id"?: string | null;
|
|
18478
|
+
};
|
|
18479
|
+
path: {
|
|
18480
|
+
request_id: string;
|
|
18481
|
+
};
|
|
18482
|
+
cookie?: {
|
|
18483
|
+
depo_admin_session?: string | null;
|
|
18484
|
+
};
|
|
18485
|
+
};
|
|
18486
|
+
requestBody?: never;
|
|
18487
|
+
responses: {
|
|
18488
|
+
/** @description Successful Response */
|
|
18489
|
+
200: {
|
|
18490
|
+
headers: {
|
|
18491
|
+
[name: string]: unknown;
|
|
18492
|
+
};
|
|
18493
|
+
content: {
|
|
18494
|
+
"application/json": components["schemas"]["PartRequestOut"];
|
|
18495
|
+
};
|
|
18496
|
+
};
|
|
18497
|
+
/** @description Validation Error */
|
|
18498
|
+
422: {
|
|
18499
|
+
headers: {
|
|
18500
|
+
[name: string]: unknown;
|
|
18501
|
+
};
|
|
18502
|
+
content: {
|
|
18503
|
+
"application/json": components["schemas"]["HTTPValidationError"];
|
|
18504
|
+
};
|
|
18505
|
+
};
|
|
18506
|
+
};
|
|
18507
|
+
};
|
|
17873
18508
|
create_shipment_api_v1_plant_shipments_post: {
|
|
17874
18509
|
parameters: {
|
|
17875
18510
|
query?: never;
|