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