@boxa-devops/depo-shared 1.1.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 +1562 -78
- package/dist/api.d.ts.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js.map +1 -1
- package/error_codes.json +86 -4
- package/openapi.json +3996 -1095
- package/package.json +1 -1
- package/permissions.json +17 -0
- package/rules_fixtures.json +280 -0
- package/src/api.ts +1562 -78
- package/src/index.ts +1 -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;
|
|
@@ -2926,6 +3067,30 @@ export interface paths {
|
|
|
2926
3067
|
patch?: never;
|
|
2927
3068
|
trace?: never;
|
|
2928
3069
|
};
|
|
3070
|
+
"/api/v1/refs/loco-sections": {
|
|
3071
|
+
parameters: {
|
|
3072
|
+
query?: never;
|
|
3073
|
+
header?: never;
|
|
3074
|
+
path?: never;
|
|
3075
|
+
cookie?: never;
|
|
3076
|
+
};
|
|
3077
|
+
/**
|
|
3078
|
+
* Loco Sections
|
|
3079
|
+
* @description The places a part sits on the machine — what the position picker draws.
|
|
3080
|
+
*
|
|
3081
|
+
* A hint catalogue (TZ §14): nothing validates `mount_position` against it,
|
|
3082
|
+
* a place typed by hand stays legal, and a client that has never heard of a
|
|
3083
|
+
* section simply does not light it.
|
|
3084
|
+
*/
|
|
3085
|
+
get: operations["loco_sections_api_v1_refs_loco_sections_get"];
|
|
3086
|
+
put?: never;
|
|
3087
|
+
post?: never;
|
|
3088
|
+
delete?: never;
|
|
3089
|
+
options?: never;
|
|
3090
|
+
head?: never;
|
|
3091
|
+
patch?: never;
|
|
3092
|
+
trace?: never;
|
|
3093
|
+
};
|
|
2929
3094
|
"/api/v1/refs/loco-series-positions": {
|
|
2930
3095
|
parameters: {
|
|
2931
3096
|
query?: never;
|
|
@@ -3301,6 +3466,46 @@ export interface paths {
|
|
|
3301
3466
|
patch?: never;
|
|
3302
3467
|
trace?: never;
|
|
3303
3468
|
};
|
|
3469
|
+
"/api/v1/reports/kpi-trend": {
|
|
3470
|
+
parameters: {
|
|
3471
|
+
query?: never;
|
|
3472
|
+
header?: never;
|
|
3473
|
+
path?: never;
|
|
3474
|
+
cookie?: never;
|
|
3475
|
+
};
|
|
3476
|
+
/**
|
|
3477
|
+
* Kpi Trend
|
|
3478
|
+
* @description Daily series behind the dashboard tiles (what the tables can answer honestly).
|
|
3479
|
+
*/
|
|
3480
|
+
get: operations["kpi_trend_api_v1_reports_kpi_trend_get"];
|
|
3481
|
+
put?: never;
|
|
3482
|
+
post?: never;
|
|
3483
|
+
delete?: never;
|
|
3484
|
+
options?: never;
|
|
3485
|
+
head?: never;
|
|
3486
|
+
patch?: never;
|
|
3487
|
+
trace?: never;
|
|
3488
|
+
};
|
|
3489
|
+
"/api/v1/reports/nav-counters": {
|
|
3490
|
+
parameters: {
|
|
3491
|
+
query?: never;
|
|
3492
|
+
header?: never;
|
|
3493
|
+
path?: never;
|
|
3494
|
+
cookie?: never;
|
|
3495
|
+
};
|
|
3496
|
+
/**
|
|
3497
|
+
* Nav Counters
|
|
3498
|
+
* @description Badge counts for the admin menu — three COUNTs, scoped to what the caller sees.
|
|
3499
|
+
*/
|
|
3500
|
+
get: operations["nav_counters_api_v1_reports_nav_counters_get"];
|
|
3501
|
+
put?: never;
|
|
3502
|
+
post?: never;
|
|
3503
|
+
delete?: never;
|
|
3504
|
+
options?: never;
|
|
3505
|
+
head?: never;
|
|
3506
|
+
patch?: never;
|
|
3507
|
+
trace?: never;
|
|
3508
|
+
};
|
|
3304
3509
|
"/api/v1/reports/open-orders": {
|
|
3305
3510
|
parameters: {
|
|
3306
3511
|
query?: never;
|
|
@@ -4274,6 +4479,95 @@ export interface paths {
|
|
|
4274
4479
|
patch?: never;
|
|
4275
4480
|
trace?: never;
|
|
4276
4481
|
};
|
|
4482
|
+
"/api/v1/work-orders/measuring": {
|
|
4483
|
+
parameters: {
|
|
4484
|
+
query?: never;
|
|
4485
|
+
header?: never;
|
|
4486
|
+
path?: never;
|
|
4487
|
+
cookie?: never;
|
|
4488
|
+
};
|
|
4489
|
+
get?: never;
|
|
4490
|
+
put?: never;
|
|
4491
|
+
/**
|
|
4492
|
+
* Open Measuring Order
|
|
4493
|
+
* @description The measuring order of one visit — opened on the first ask, returned on
|
|
4494
|
+
* every later one (invariant 3: a replayed offline tap opens nothing new).
|
|
4495
|
+
*/
|
|
4496
|
+
post: operations["open_measuring_order_api_v1_work_orders_measuring_post"];
|
|
4497
|
+
delete?: never;
|
|
4498
|
+
options?: never;
|
|
4499
|
+
head?: never;
|
|
4500
|
+
patch?: never;
|
|
4501
|
+
trace?: never;
|
|
4502
|
+
};
|
|
4503
|
+
"/api/v1/work-orders/measuring/{wo_id}/items": {
|
|
4504
|
+
parameters: {
|
|
4505
|
+
query?: never;
|
|
4506
|
+
header?: never;
|
|
4507
|
+
path?: never;
|
|
4508
|
+
cookie?: never;
|
|
4509
|
+
};
|
|
4510
|
+
/**
|
|
4511
|
+
* Measuring Items
|
|
4512
|
+
* @description What stands on this machine and can be measured, with its numbers, the
|
|
4513
|
+
* hints those numbers fire and the verdict already signed on it.
|
|
4514
|
+
*/
|
|
4515
|
+
get: operations["measuring_items_api_v1_work_orders_measuring__wo_id__items_get"];
|
|
4516
|
+
put?: never;
|
|
4517
|
+
post?: never;
|
|
4518
|
+
delete?: never;
|
|
4519
|
+
options?: never;
|
|
4520
|
+
head?: never;
|
|
4521
|
+
patch?: never;
|
|
4522
|
+
trace?: never;
|
|
4523
|
+
};
|
|
4524
|
+
"/api/v1/work-orders/measuring/{wo_id}/verdict": {
|
|
4525
|
+
parameters: {
|
|
4526
|
+
query?: never;
|
|
4527
|
+
header?: never;
|
|
4528
|
+
path?: never;
|
|
4529
|
+
cookie?: never;
|
|
4530
|
+
};
|
|
4531
|
+
get?: never;
|
|
4532
|
+
put?: never;
|
|
4533
|
+
/**
|
|
4534
|
+
* Measuring Verdict
|
|
4535
|
+
* @description «Ремонтируем» / «Не трогаем» on one measured part, under the master's PIN.
|
|
4536
|
+
*/
|
|
4537
|
+
post: operations["measuring_verdict_api_v1_work_orders_measuring__wo_id__verdict_post"];
|
|
4538
|
+
delete?: never;
|
|
4539
|
+
options?: never;
|
|
4540
|
+
head?: never;
|
|
4541
|
+
patch?: never;
|
|
4542
|
+
trace?: never;
|
|
4543
|
+
};
|
|
4544
|
+
"/api/v1/work-orders/measuring/{wo_id}/verdicts": {
|
|
4545
|
+
parameters: {
|
|
4546
|
+
query?: never;
|
|
4547
|
+
header?: never;
|
|
4548
|
+
path?: never;
|
|
4549
|
+
cookie?: never;
|
|
4550
|
+
};
|
|
4551
|
+
get?: never;
|
|
4552
|
+
put?: never;
|
|
4553
|
+
/**
|
|
4554
|
+
* Inspection Sign
|
|
4555
|
+
* @description The inspection pass: several parts decided at once, signed once.
|
|
4556
|
+
*
|
|
4557
|
+
* The single-part `/verdict` above stays what the master's own screen uses.
|
|
4558
|
+
* This one is the shop-floor walk — the man reads a handful of units, says
|
|
4559
|
+
* «good» or «this one», names himself by tab_no and PIN, and signs the lot.
|
|
4560
|
+
* One signature whose payload_hash covers every line (invariant 6), one
|
|
4561
|
+
* INSPECT event per part under a derived uuid, so a replayed tap of the whole
|
|
4562
|
+
* pass writes nothing twice (invariant 3).
|
|
4563
|
+
*/
|
|
4564
|
+
post: operations["inspection_sign_api_v1_work_orders_measuring__wo_id__verdicts_post"];
|
|
4565
|
+
delete?: never;
|
|
4566
|
+
options?: never;
|
|
4567
|
+
head?: never;
|
|
4568
|
+
patch?: never;
|
|
4569
|
+
trace?: never;
|
|
4570
|
+
};
|
|
4277
4571
|
"/api/v1/work-orders/{wo_id}/accept": {
|
|
4278
4572
|
parameters: {
|
|
4279
4573
|
query?: never;
|
|
@@ -4444,6 +4738,26 @@ export interface paths {
|
|
|
4444
4738
|
patch?: never;
|
|
4445
4739
|
trace?: never;
|
|
4446
4740
|
};
|
|
4741
|
+
"/api/v1/work-orders/{wo_id}/tasks/{task_id}/cosign-op": {
|
|
4742
|
+
parameters: {
|
|
4743
|
+
query?: never;
|
|
4744
|
+
header?: never;
|
|
4745
|
+
path?: never;
|
|
4746
|
+
cookie?: never;
|
|
4747
|
+
};
|
|
4748
|
+
get?: never;
|
|
4749
|
+
put?: never;
|
|
4750
|
+
/**
|
|
4751
|
+
* Cosign Task Op
|
|
4752
|
+
* @description Start/pause/resume/finish one operation, verified by the fitter's card + PIN.
|
|
4753
|
+
*/
|
|
4754
|
+
post: operations["cosign_task_op_api_v1_work_orders__wo_id__tasks__task_id__cosign_op_post"];
|
|
4755
|
+
delete?: never;
|
|
4756
|
+
options?: never;
|
|
4757
|
+
head?: never;
|
|
4758
|
+
patch?: never;
|
|
4759
|
+
trace?: never;
|
|
4760
|
+
};
|
|
4447
4761
|
"/api/v1/work-orders/{wo_id}/work-accept-sign": {
|
|
4448
4762
|
parameters: {
|
|
4449
4763
|
query?: never;
|
|
@@ -6446,7 +6760,7 @@ export interface components {
|
|
|
6446
6760
|
* @description discriminator enum property added by openapi-typescript
|
|
6447
6761
|
* @enum {string}
|
|
6448
6762
|
*/
|
|
6449
|
-
event_type: "RECEIVE_NEW" | "ISSUE_OUT" | "SEND_TO_REPAIR" | "QC_ACCEPT" | "QC_REJECT" | "
|
|
6763
|
+
event_type: "RECEIVE_NEW" | "ISSUE_OUT" | "SEND_TO_REPAIR" | "QC_ACCEPT" | "QC_REJECT" | "ASSEMBLE" | "DISASSEMBLE" | "SEND_TO_PLANT" | "RETURN_FROM_PLANT" | "PLANT_REJECT" | "COUNT" | "SCRAP" | "LOST";
|
|
6450
6764
|
};
|
|
6451
6765
|
/** HTTPValidationError */
|
|
6452
6766
|
HTTPValidationError: {
|
|
@@ -6844,7 +7158,16 @@ export interface components {
|
|
|
6844
7158
|
/** Reason */
|
|
6845
7159
|
reason?: string | null;
|
|
6846
7160
|
};
|
|
6847
|
-
/**
|
|
7161
|
+
/**
|
|
7162
|
+
* InspectCommand
|
|
7163
|
+
* @description Defectation — and, since B21, the measuring pass under the machine.
|
|
7164
|
+
*
|
|
7165
|
+
* From INSTALLED it is a pure record: the numbers are taken, the rules speak,
|
|
7166
|
+
* and nothing moves until the master signs a verdict
|
|
7167
|
+
* (/work-orders/measuring/{id}/verdict). `work_order_id` + `task_id` point at
|
|
7168
|
+
* the measuring order of the visit, so the readings belong to an operation
|
|
7169
|
+
* like any other work.
|
|
7170
|
+
*/
|
|
6848
7171
|
InspectCommand: {
|
|
6849
7172
|
/**
|
|
6850
7173
|
* Item Id
|
|
@@ -6901,14 +7224,23 @@ export interface components {
|
|
|
6901
7224
|
event_type: "INSPECT";
|
|
6902
7225
|
/** Requested Status */
|
|
6903
7226
|
requested_status?: "AWAITING_DISPOSITION" | null;
|
|
7227
|
+
/** Measurements */
|
|
7228
|
+
measurements?: components["schemas"]["MeasurementValueIn"][];
|
|
6904
7229
|
};
|
|
6905
|
-
/**
|
|
6906
|
-
|
|
6907
|
-
|
|
6908
|
-
|
|
6909
|
-
|
|
6910
|
-
|
|
6911
|
-
|
|
7230
|
+
/**
|
|
7231
|
+
* InspectionSignIn
|
|
7232
|
+
* @description The whole inspection pass, signed once by the man who walked it.
|
|
7233
|
+
*
|
|
7234
|
+
* One signature over the list, not one per line: the pass is a single act of
|
|
7235
|
+
* a single person — he looked at these parts, in this order, and says this
|
|
7236
|
+
* about them. The payload_hash covers every line, so no line can be edited
|
|
7237
|
+
* out of a signed pass (invariant 6).
|
|
7238
|
+
*
|
|
7239
|
+
* He names himself the way a co-signature does (badge_uid under RFID, tab_no
|
|
7240
|
+
* under the TABEL pilot, PIN in both): the terminal is logged in as whoever
|
|
7241
|
+
* opened the shift, and the inspector is not always that man.
|
|
7242
|
+
*/
|
|
7243
|
+
InspectionSignIn: {
|
|
6912
7244
|
/**
|
|
6913
7245
|
* Event At
|
|
6914
7246
|
* Format: date-time
|
|
@@ -6919,7 +7251,52 @@ export interface components {
|
|
|
6919
7251
|
* Format: uuid
|
|
6920
7252
|
*/
|
|
6921
7253
|
client_event_uuid: string;
|
|
6922
|
-
/**
|
|
7254
|
+
/** Terminal Id */
|
|
7255
|
+
terminal_id?: string | null;
|
|
7256
|
+
/** Badge Uid */
|
|
7257
|
+
badge_uid?: string | null;
|
|
7258
|
+
/** Tab No */
|
|
7259
|
+
tab_no?: string | null;
|
|
7260
|
+
/** Pin */
|
|
7261
|
+
pin: string;
|
|
7262
|
+
/** Lines */
|
|
7263
|
+
lines: components["schemas"]["VerdictLine"][];
|
|
7264
|
+
/** Comment */
|
|
7265
|
+
comment?: string | null;
|
|
7266
|
+
};
|
|
7267
|
+
/** InspectionSignOut */
|
|
7268
|
+
InspectionSignOut: {
|
|
7269
|
+
/**
|
|
7270
|
+
* Signed By Person Id
|
|
7271
|
+
* Format: uuid
|
|
7272
|
+
*/
|
|
7273
|
+
signed_by_person_id: string;
|
|
7274
|
+
/**
|
|
7275
|
+
* Existing
|
|
7276
|
+
* @default false
|
|
7277
|
+
*/
|
|
7278
|
+
existing: boolean;
|
|
7279
|
+
/** Results */
|
|
7280
|
+
results?: components["schemas"]["VerdictOut"][];
|
|
7281
|
+
};
|
|
7282
|
+
/** InstallCommand */
|
|
7283
|
+
InstallCommand: {
|
|
7284
|
+
/**
|
|
7285
|
+
* Item Id
|
|
7286
|
+
* Format: uuid
|
|
7287
|
+
*/
|
|
7288
|
+
item_id: string;
|
|
7289
|
+
/**
|
|
7290
|
+
* Event At
|
|
7291
|
+
* Format: date-time
|
|
7292
|
+
*/
|
|
7293
|
+
event_at: string;
|
|
7294
|
+
/**
|
|
7295
|
+
* Client Event Uuid
|
|
7296
|
+
* Format: uuid
|
|
7297
|
+
*/
|
|
7298
|
+
client_event_uuid: string;
|
|
7299
|
+
/** To Location Id */
|
|
6923
7300
|
to_location_id?: string | null;
|
|
6924
7301
|
/**
|
|
6925
7302
|
* To Locomotive Id
|
|
@@ -7059,6 +7436,24 @@ export interface components {
|
|
|
7059
7436
|
/** Terminal Id */
|
|
7060
7437
|
terminal_id?: string | null;
|
|
7061
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
|
+
};
|
|
7062
7457
|
/**
|
|
7063
7458
|
* ItemCandidate
|
|
7064
7459
|
* @description One row of the search candidate list (TZ 6: selection screen card).
|
|
@@ -7219,6 +7614,10 @@ export interface components {
|
|
|
7219
7614
|
repair_count: number | null;
|
|
7220
7615
|
/** Marked No Duplicate */
|
|
7221
7616
|
marked_no_duplicate: boolean;
|
|
7617
|
+
/** Resource Pct */
|
|
7618
|
+
resource_pct?: number | null;
|
|
7619
|
+
/** Resource Param */
|
|
7620
|
+
resource_param?: string | null;
|
|
7222
7621
|
/** Attrs */
|
|
7223
7622
|
attrs?: {
|
|
7224
7623
|
[key: string]: string | null;
|
|
@@ -7281,6 +7680,22 @@ export interface components {
|
|
|
7281
7680
|
/** Manufactured On */
|
|
7282
7681
|
manufactured_on?: string | null;
|
|
7283
7682
|
};
|
|
7683
|
+
/**
|
|
7684
|
+
* KpiTrend
|
|
7685
|
+
* @description Daily series under the dashboard tiles. Every list is `days` long.
|
|
7686
|
+
*/
|
|
7687
|
+
KpiTrend: {
|
|
7688
|
+
/** Days */
|
|
7689
|
+
days: string[];
|
|
7690
|
+
/** Open Orders */
|
|
7691
|
+
open_orders: number[];
|
|
7692
|
+
/** Orders Opened */
|
|
7693
|
+
orders_opened: number[];
|
|
7694
|
+
/** Orders Closed */
|
|
7695
|
+
orders_closed: number[];
|
|
7696
|
+
/** Defects Found */
|
|
7697
|
+
defects_found: number[];
|
|
7698
|
+
};
|
|
7284
7699
|
/** LocationContents */
|
|
7285
7700
|
LocationContents: {
|
|
7286
7701
|
location: components["schemas"]["RoomOut"];
|
|
@@ -7540,6 +7955,21 @@ export interface components {
|
|
|
7540
7955
|
/** Attention Order Ids */
|
|
7541
7956
|
attention_order_ids: string[];
|
|
7542
7957
|
};
|
|
7958
|
+
/**
|
|
7959
|
+
* LocoSectionRef
|
|
7960
|
+
* @description One place on the machine, as the position picker draws it.
|
|
7961
|
+
*
|
|
7962
|
+
* Ordered by `sort`; the band a section belongs to is drawn where its
|
|
7963
|
+
* smallest sort puts it, so one number orders both the strip and the row.
|
|
7964
|
+
*/
|
|
7965
|
+
LocoSectionRef: {
|
|
7966
|
+
/** Code */
|
|
7967
|
+
code: string;
|
|
7968
|
+
/** Band */
|
|
7969
|
+
band: string;
|
|
7970
|
+
/** Sort */
|
|
7971
|
+
sort: number;
|
|
7972
|
+
};
|
|
7543
7973
|
/**
|
|
7544
7974
|
* LocoSeriesOut
|
|
7545
7975
|
* @description Series dictionary + its picture key (terminal caches both offline).
|
|
@@ -7868,6 +8298,67 @@ export interface components {
|
|
|
7868
8298
|
/** Nomenclature Name */
|
|
7869
8299
|
nomenclature_name: string | null;
|
|
7870
8300
|
};
|
|
8301
|
+
/**
|
|
8302
|
+
* MeasuredItemOut
|
|
8303
|
+
* @description One part standing on the machine: what it reads, what the rules say
|
|
8304
|
+
* about it, and what the master already decided.
|
|
8305
|
+
*/
|
|
8306
|
+
MeasuredItemOut: {
|
|
8307
|
+
/**
|
|
8308
|
+
* Item Id
|
|
8309
|
+
* Format: uuid
|
|
8310
|
+
*/
|
|
8311
|
+
item_id: string;
|
|
8312
|
+
/** Inventory No */
|
|
8313
|
+
inventory_no: string;
|
|
8314
|
+
/** Marked No */
|
|
8315
|
+
marked_no: string | null;
|
|
8316
|
+
/**
|
|
8317
|
+
* Nomenclature Id
|
|
8318
|
+
* Format: uuid
|
|
8319
|
+
*/
|
|
8320
|
+
nomenclature_id: string;
|
|
8321
|
+
/** Nomenclature Name */
|
|
8322
|
+
nomenclature_name: string | null;
|
|
8323
|
+
/** Mount Position */
|
|
8324
|
+
mount_position: string | null;
|
|
8325
|
+
/** Measured At */
|
|
8326
|
+
measured_at: string | null;
|
|
8327
|
+
/** Values */
|
|
8328
|
+
values?: components["schemas"]["MeasuredValueOut"][];
|
|
8329
|
+
/** Recommendations */
|
|
8330
|
+
recommendations?: {
|
|
8331
|
+
[key: string]: unknown;
|
|
8332
|
+
}[];
|
|
8333
|
+
/** Verdict */
|
|
8334
|
+
verdict?: string | null;
|
|
8335
|
+
/** Verdict Work Order Number */
|
|
8336
|
+
verdict_work_order_number?: string | null;
|
|
8337
|
+
};
|
|
8338
|
+
/**
|
|
8339
|
+
* MeasuredValueOut
|
|
8340
|
+
* @description The last reading of one parameter, as the master's screen shows it.
|
|
8341
|
+
*/
|
|
8342
|
+
MeasuredValueOut: {
|
|
8343
|
+
/** Param Code */
|
|
8344
|
+
param_code: string;
|
|
8345
|
+
/** Param Name */
|
|
8346
|
+
param_name: string | null;
|
|
8347
|
+
/** Actual Value */
|
|
8348
|
+
actual_value: string | null;
|
|
8349
|
+
/** Norm Min */
|
|
8350
|
+
norm_min: string | null;
|
|
8351
|
+
/** Norm Max */
|
|
8352
|
+
norm_max: string | null;
|
|
8353
|
+
/** Uom */
|
|
8354
|
+
uom: string | null;
|
|
8355
|
+
/** Is Pass */
|
|
8356
|
+
is_pass: boolean | null;
|
|
8357
|
+
/** Measured At */
|
|
8358
|
+
measured_at: string | null;
|
|
8359
|
+
/** Stage */
|
|
8360
|
+
stage: string | null;
|
|
8361
|
+
};
|
|
7871
8362
|
/**
|
|
7872
8363
|
* MeasurementAddIn
|
|
7873
8364
|
* @description «O'lchov qo'shish» on the card: one visit of the depot, several numbers.
|
|
@@ -7929,6 +8420,36 @@ export interface components {
|
|
|
7929
8420
|
/** Actual Value */
|
|
7930
8421
|
actual_value?: number | string | null;
|
|
7931
8422
|
};
|
|
8423
|
+
/**
|
|
8424
|
+
* MeasuringOrderIn
|
|
8425
|
+
* @description Open (or re-fetch) the measuring order of one locomotive visit.
|
|
8426
|
+
*
|
|
8427
|
+
* The visit may be named directly, or by the machine the terminal stands at.
|
|
8428
|
+
* The second shape exists because nothing in the depot opens a visit today
|
|
8429
|
+
* (TZ 9.2): the man taps «tekshirish» on the locomotive screen, names what it
|
|
8430
|
+
* came in for, and the visit is born there — otherwise the button is dead
|
|
8431
|
+
* until somebody remembers to enter the visit at a desk.
|
|
8432
|
+
*/
|
|
8433
|
+
MeasuringOrderIn: {
|
|
8434
|
+
/**
|
|
8435
|
+
* Event At
|
|
8436
|
+
* Format: date-time
|
|
8437
|
+
*/
|
|
8438
|
+
event_at: string;
|
|
8439
|
+
/**
|
|
8440
|
+
* Client Event Uuid
|
|
8441
|
+
* Format: uuid
|
|
8442
|
+
*/
|
|
8443
|
+
client_event_uuid: string;
|
|
8444
|
+
/** Terminal Id */
|
|
8445
|
+
terminal_id?: string | null;
|
|
8446
|
+
/** Locomotive Visit Id */
|
|
8447
|
+
locomotive_visit_id?: string | null;
|
|
8448
|
+
/** Locomotive Id */
|
|
8449
|
+
locomotive_id?: string | null;
|
|
8450
|
+
/** Repair Type Code */
|
|
8451
|
+
repair_type_code?: string | null;
|
|
8452
|
+
};
|
|
7932
8453
|
/** MemberCloseIn */
|
|
7933
8454
|
MemberCloseIn: {
|
|
7934
8455
|
/**
|
|
@@ -8022,6 +8543,20 @@ export interface components {
|
|
|
8022
8543
|
*/
|
|
8023
8544
|
event_type: "MOVE";
|
|
8024
8545
|
};
|
|
8546
|
+
/**
|
|
8547
|
+
* NavCounters
|
|
8548
|
+
* @description What waits behind each menu line. None = the caller may not open it.
|
|
8549
|
+
*/
|
|
8550
|
+
NavCounters: {
|
|
8551
|
+
/** Orders Overdue */
|
|
8552
|
+
orders_overdue: number | null;
|
|
8553
|
+
/** Disposition */
|
|
8554
|
+
disposition: number | null;
|
|
8555
|
+
/** Inventory Open */
|
|
8556
|
+
inventory_open: number | null;
|
|
8557
|
+
/** Part Requests Waiting */
|
|
8558
|
+
part_requests_waiting?: number | null;
|
|
8559
|
+
};
|
|
8025
8560
|
/** NodeOut */
|
|
8026
8561
|
NodeOut: {
|
|
8027
8562
|
/** Key */
|
|
@@ -9026,6 +9561,171 @@ export interface components {
|
|
|
9026
9561
|
/** Cumulative Pct */
|
|
9027
9562
|
cumulative_pct: number;
|
|
9028
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
|
+
/** Qty */
|
|
9657
|
+
qty: string;
|
|
9658
|
+
/** Issued Qty */
|
|
9659
|
+
issued_qty: string;
|
|
9660
|
+
};
|
|
9661
|
+
/**
|
|
9662
|
+
* PartRequestNote
|
|
9663
|
+
* @description escalate / reject / cancel.
|
|
9664
|
+
*/
|
|
9665
|
+
PartRequestNote: {
|
|
9666
|
+
/**
|
|
9667
|
+
* Client Event Uuid
|
|
9668
|
+
* Format: uuid
|
|
9669
|
+
*/
|
|
9670
|
+
client_event_uuid: string;
|
|
9671
|
+
/**
|
|
9672
|
+
* Event At
|
|
9673
|
+
* Format: date-time
|
|
9674
|
+
*/
|
|
9675
|
+
event_at: string;
|
|
9676
|
+
/** Note */
|
|
9677
|
+
note?: string | null;
|
|
9678
|
+
};
|
|
9679
|
+
/** PartRequestOut */
|
|
9680
|
+
PartRequestOut: {
|
|
9681
|
+
/**
|
|
9682
|
+
* Id
|
|
9683
|
+
* Format: uuid
|
|
9684
|
+
*/
|
|
9685
|
+
id: string;
|
|
9686
|
+
/** Number */
|
|
9687
|
+
number: string;
|
|
9688
|
+
/** Status */
|
|
9689
|
+
status: string;
|
|
9690
|
+
/**
|
|
9691
|
+
* Location Id
|
|
9692
|
+
* Format: uuid
|
|
9693
|
+
*/
|
|
9694
|
+
location_id: string;
|
|
9695
|
+
/** Work Order Id */
|
|
9696
|
+
work_order_id: string | null;
|
|
9697
|
+
/** Note */
|
|
9698
|
+
note: string | null;
|
|
9699
|
+
/**
|
|
9700
|
+
* Requested By
|
|
9701
|
+
* Format: uuid
|
|
9702
|
+
*/
|
|
9703
|
+
requested_by: string;
|
|
9704
|
+
/**
|
|
9705
|
+
* Requested At
|
|
9706
|
+
* Format: date-time
|
|
9707
|
+
*/
|
|
9708
|
+
requested_at: string;
|
|
9709
|
+
/** Keeper Id */
|
|
9710
|
+
keeper_id: string | null;
|
|
9711
|
+
/** Keeper At */
|
|
9712
|
+
keeper_at: string | null;
|
|
9713
|
+
/** Deputy Id */
|
|
9714
|
+
deputy_id: string | null;
|
|
9715
|
+
/** Deputy At */
|
|
9716
|
+
deputy_at: string | null;
|
|
9717
|
+
/** Counterparty Id */
|
|
9718
|
+
counterparty_id: string | null;
|
|
9719
|
+
/** Order Note */
|
|
9720
|
+
order_note: string | null;
|
|
9721
|
+
/** Decision Note */
|
|
9722
|
+
decision_note: string | null;
|
|
9723
|
+
/**
|
|
9724
|
+
* Lines
|
|
9725
|
+
* @default []
|
|
9726
|
+
*/
|
|
9727
|
+
lines: components["schemas"]["PartRequestLineOut"][];
|
|
9728
|
+
};
|
|
9029
9729
|
/**
|
|
9030
9730
|
* PassportOut
|
|
9031
9731
|
* @description GET /items/{id}/passport — everything the «Texpasport» tab renders.
|
|
@@ -10170,6 +10870,10 @@ export interface components {
|
|
|
10170
10870
|
* RuleCondition
|
|
10171
10871
|
* @description One comparison. `param` is a nomenclature_fields.code; for a pair field
|
|
10172
10872
|
* `side` says which wheel is asked (any = either, both = both).
|
|
10873
|
+
*
|
|
10874
|
+
* `value` is a number OR one answer of a select field: the regulation picks its
|
|
10875
|
+
* number by a CLASS («elektrovoz», «to'liq ko'rik»), so a threshold that is not
|
|
10876
|
+
* a number is a class name and the only comparison it accepts is `=`.
|
|
10173
10877
|
*/
|
|
10174
10878
|
"RuleCondition-Input": {
|
|
10175
10879
|
/** Param */
|
|
@@ -10194,6 +10898,10 @@ export interface components {
|
|
|
10194
10898
|
* RuleCondition
|
|
10195
10899
|
* @description One comparison. `param` is a nomenclature_fields.code; for a pair field
|
|
10196
10900
|
* `side` says which wheel is asked (any = either, both = both).
|
|
10901
|
+
*
|
|
10902
|
+
* `value` is a number OR one answer of a select field: the regulation picks its
|
|
10903
|
+
* number by a CLASS («elektrovoz», «to'liq ko'rik»), so a threshold that is not
|
|
10904
|
+
* a number is a class name and the only comparison it accepts is `=`.
|
|
10197
10905
|
*/
|
|
10198
10906
|
"RuleCondition-Output": {
|
|
10199
10907
|
/** Param */
|
|
@@ -11075,8 +11783,77 @@ export interface components {
|
|
|
11075
11783
|
*/
|
|
11076
11784
|
is_offline: boolean;
|
|
11077
11785
|
};
|
|
11078
|
-
/**
|
|
11079
|
-
|
|
11786
|
+
/**
|
|
11787
|
+
* StoreInCommand
|
|
11788
|
+
* @description Storekeeper puts a part on a shelf and says WHICH shelf it belongs on.
|
|
11789
|
+
*
|
|
11790
|
+
* A part removed under a planned check has no defect; filing it as
|
|
11791
|
+
* IN_STOCK_DEFECT made every stock report call serviceable parts defective.
|
|
11792
|
+
* The default keeps the old behaviour, so a silent client cannot promote one.
|
|
11793
|
+
*/
|
|
11794
|
+
StoreInCommand: {
|
|
11795
|
+
/**
|
|
11796
|
+
* Item Id
|
|
11797
|
+
* Format: uuid
|
|
11798
|
+
*/
|
|
11799
|
+
item_id: string;
|
|
11800
|
+
/**
|
|
11801
|
+
* Event At
|
|
11802
|
+
* Format: date-time
|
|
11803
|
+
*/
|
|
11804
|
+
event_at: string;
|
|
11805
|
+
/**
|
|
11806
|
+
* Client Event Uuid
|
|
11807
|
+
* Format: uuid
|
|
11808
|
+
*/
|
|
11809
|
+
client_event_uuid: string;
|
|
11810
|
+
/** To Location Id */
|
|
11811
|
+
to_location_id?: string | null;
|
|
11812
|
+
/** To Locomotive Id */
|
|
11813
|
+
to_locomotive_id?: string | null;
|
|
11814
|
+
/** To Holder Person Id */
|
|
11815
|
+
to_holder_person_id?: string | null;
|
|
11816
|
+
/** To Parent Item Id */
|
|
11817
|
+
to_parent_item_id?: string | null;
|
|
11818
|
+
/** Counterparty Person Id */
|
|
11819
|
+
counterparty_person_id?: string | null;
|
|
11820
|
+
/** Terminal Id */
|
|
11821
|
+
terminal_id?: string | null;
|
|
11822
|
+
/** Shift Instance Id */
|
|
11823
|
+
shift_instance_id?: string | null;
|
|
11824
|
+
/** Locomotive Visit Id */
|
|
11825
|
+
locomotive_visit_id?: string | null;
|
|
11826
|
+
/** Work Order Id */
|
|
11827
|
+
work_order_id?: string | null;
|
|
11828
|
+
/** Task Id */
|
|
11829
|
+
task_id?: string | null;
|
|
11830
|
+
/** Defect Code */
|
|
11831
|
+
defect_code?: string | null;
|
|
11832
|
+
/** Comment */
|
|
11833
|
+
comment?: string | null;
|
|
11834
|
+
/** Payload */
|
|
11835
|
+
payload?: {
|
|
11836
|
+
[key: string]: unknown;
|
|
11837
|
+
};
|
|
11838
|
+
/**
|
|
11839
|
+
* Is Offline
|
|
11840
|
+
* @default false
|
|
11841
|
+
*/
|
|
11842
|
+
is_offline: boolean;
|
|
11843
|
+
/**
|
|
11844
|
+
* @description discriminator enum property added by openapi-typescript
|
|
11845
|
+
* @enum {string}
|
|
11846
|
+
*/
|
|
11847
|
+
event_type: "STORE_IN";
|
|
11848
|
+
/**
|
|
11849
|
+
* Requested Status
|
|
11850
|
+
* @default IN_STOCK_DEFECT
|
|
11851
|
+
* @enum {string}
|
|
11852
|
+
*/
|
|
11853
|
+
requested_status: "IN_STOCK_OK" | "IN_STOCK_DEFECT";
|
|
11854
|
+
};
|
|
11855
|
+
/** StornoCommand */
|
|
11856
|
+
StornoCommand: {
|
|
11080
11857
|
/**
|
|
11081
11858
|
* Item Id
|
|
11082
11859
|
* Format: uuid
|
|
@@ -11245,6 +12022,45 @@ export interface components {
|
|
|
11245
12022
|
/** Terminal Id */
|
|
11246
12023
|
terminal_id?: string | null;
|
|
11247
12024
|
};
|
|
12025
|
+
/**
|
|
12026
|
+
* TaskCosignIn
|
|
12027
|
+
* @description B10: the fitter moves his operation with his own card on the master's
|
|
12028
|
+
* screen — the counterpart of WorkSignIn for REPAIR_START/PAUSE/RESUME/FINISH.
|
|
12029
|
+
*
|
|
12030
|
+
* Identification follows the installation switch exactly as WorkSignIn does
|
|
12031
|
+
* (badge_uid under RFID, tab_no under the TABEL pilot, PIN in both). No
|
|
12032
|
+
* signature is written: repair steps are routine events (TZ 8), the second
|
|
12033
|
+
* card is here only so the work is journalled under the man who does it.
|
|
12034
|
+
*/
|
|
12035
|
+
TaskCosignIn: {
|
|
12036
|
+
/**
|
|
12037
|
+
* Event At
|
|
12038
|
+
* Format: date-time
|
|
12039
|
+
*/
|
|
12040
|
+
event_at: string;
|
|
12041
|
+
/**
|
|
12042
|
+
* Client Event Uuid
|
|
12043
|
+
* Format: uuid
|
|
12044
|
+
*/
|
|
12045
|
+
client_event_uuid: string;
|
|
12046
|
+
/** Terminal Id */
|
|
12047
|
+
terminal_id?: string | null;
|
|
12048
|
+
/** Badge Uid */
|
|
12049
|
+
badge_uid?: string | null;
|
|
12050
|
+
/** Tab No */
|
|
12051
|
+
tab_no?: string | null;
|
|
12052
|
+
/** Pin */
|
|
12053
|
+
pin: string;
|
|
12054
|
+
/**
|
|
12055
|
+
* Action
|
|
12056
|
+
* @enum {string}
|
|
12057
|
+
*/
|
|
12058
|
+
action: "start" | "pause" | "resume" | "finish";
|
|
12059
|
+
/** Result Note */
|
|
12060
|
+
result_note?: string | null;
|
|
12061
|
+
/** Comment */
|
|
12062
|
+
comment?: string | null;
|
|
12063
|
+
};
|
|
11248
12064
|
/** TaskIn */
|
|
11249
12065
|
TaskIn: {
|
|
11250
12066
|
/** Title */
|
|
@@ -11485,6 +12301,84 @@ export interface components {
|
|
|
11485
12301
|
/** Context */
|
|
11486
12302
|
ctx?: Record<string, never>;
|
|
11487
12303
|
};
|
|
12304
|
+
/**
|
|
12305
|
+
* VerdictIn
|
|
12306
|
+
* @description The master's decision on ONE measured part: repair it, or leave it.
|
|
12307
|
+
*
|
|
12308
|
+
* REPAIR opens the removal order right there — with the reason he signed for,
|
|
12309
|
+
* a defect or a scheduled check, exactly one of the two like every other
|
|
12310
|
+
* order. NO_ACTION moves nothing: it is a signed note on the part saying the
|
|
12311
|
+
* numbers were seen and found good enough.
|
|
12312
|
+
*/
|
|
12313
|
+
VerdictIn: {
|
|
12314
|
+
/**
|
|
12315
|
+
* Event At
|
|
12316
|
+
* Format: date-time
|
|
12317
|
+
*/
|
|
12318
|
+
event_at: string;
|
|
12319
|
+
/**
|
|
12320
|
+
* Client Event Uuid
|
|
12321
|
+
* Format: uuid
|
|
12322
|
+
*/
|
|
12323
|
+
client_event_uuid: string;
|
|
12324
|
+
/** Terminal Id */
|
|
12325
|
+
terminal_id?: string | null;
|
|
12326
|
+
/**
|
|
12327
|
+
* Item Id
|
|
12328
|
+
* Format: uuid
|
|
12329
|
+
*/
|
|
12330
|
+
item_id: string;
|
|
12331
|
+
/**
|
|
12332
|
+
* Decision
|
|
12333
|
+
* @enum {string}
|
|
12334
|
+
*/
|
|
12335
|
+
decision: "REPAIR" | "NO_ACTION";
|
|
12336
|
+
/** Defect Code */
|
|
12337
|
+
defect_code?: string | null;
|
|
12338
|
+
/** Repair Type Code */
|
|
12339
|
+
repair_type_code?: string | null;
|
|
12340
|
+
/** Comment */
|
|
12341
|
+
comment?: string | null;
|
|
12342
|
+
};
|
|
12343
|
+
/**
|
|
12344
|
+
* VerdictLine
|
|
12345
|
+
* @description One part's line in an inspection pass — the same decision as VerdictIn,
|
|
12346
|
+
* minus the envelope, plus the operation the order should carry.
|
|
12347
|
+
*
|
|
12348
|
+
* `capability_code` is how «send it for investigation» is said: there is no
|
|
12349
|
+
* third reason_kind and there must not be one (a pseudo-defect «inspection»
|
|
12350
|
+
* would head the Pareto forever), so the order opens on its real reason and
|
|
12351
|
+
* carries e.g. дефектоскопия as its operation.
|
|
12352
|
+
*/
|
|
12353
|
+
VerdictLine: {
|
|
12354
|
+
/**
|
|
12355
|
+
* Item Id
|
|
12356
|
+
* Format: uuid
|
|
12357
|
+
*/
|
|
12358
|
+
item_id: string;
|
|
12359
|
+
/**
|
|
12360
|
+
* Decision
|
|
12361
|
+
* @enum {string}
|
|
12362
|
+
*/
|
|
12363
|
+
decision: "REPAIR" | "NO_ACTION";
|
|
12364
|
+
/** Defect Code */
|
|
12365
|
+
defect_code?: string | null;
|
|
12366
|
+
/** Repair Type Code */
|
|
12367
|
+
repair_type_code?: string | null;
|
|
12368
|
+
/** Capability Code */
|
|
12369
|
+
capability_code?: string | null;
|
|
12370
|
+
/** Comment */
|
|
12371
|
+
comment?: string | null;
|
|
12372
|
+
};
|
|
12373
|
+
/** VerdictOut */
|
|
12374
|
+
VerdictOut: {
|
|
12375
|
+
/** Decision */
|
|
12376
|
+
decision: string;
|
|
12377
|
+
/** Work Order Id */
|
|
12378
|
+
work_order_id?: string | null;
|
|
12379
|
+
/** Work Order Number */
|
|
12380
|
+
work_order_number?: string | null;
|
|
12381
|
+
};
|
|
11488
12382
|
/**
|
|
11489
12383
|
* VisitOut
|
|
11490
12384
|
* @description Current (unreleased) shop visit, when one exists in the data.
|
|
@@ -11589,6 +12483,8 @@ export interface components {
|
|
|
11589
12483
|
returned_to_person_id: string | null;
|
|
11590
12484
|
/** Closed At */
|
|
11591
12485
|
closed_at: string | null;
|
|
12486
|
+
/** Item Status */
|
|
12487
|
+
item_status?: string | null;
|
|
11592
12488
|
/** Tasks */
|
|
11593
12489
|
tasks?: components["schemas"]["TaskOut"][];
|
|
11594
12490
|
};
|
|
@@ -11708,6 +12604,8 @@ export interface components {
|
|
|
11708
12604
|
returned_to_person_id: string | null;
|
|
11709
12605
|
/** Closed At */
|
|
11710
12606
|
closed_at: string | null;
|
|
12607
|
+
/** Item Status */
|
|
12608
|
+
item_status?: string | null;
|
|
11711
12609
|
};
|
|
11712
12610
|
/** WorkOrderStatusCount */
|
|
11713
12611
|
WorkOrderStatusCount: {
|
|
@@ -15461,7 +16359,7 @@ export interface operations {
|
|
|
15461
16359
|
};
|
|
15462
16360
|
requestBody: {
|
|
15463
16361
|
content: {
|
|
15464
|
-
"application/json": components["schemas"]["InstallCommand"] | components["schemas"]["MoveCommand"] | components["schemas"]["HandoverCommand"] | components["schemas"]["RemoveCommand"] | components["schemas"]["ReceiveOpeningCommand"] | components["schemas"]["FoundCommand"] | components["schemas"]["InspectCommand"] | components["schemas"]["DispositionCommand"] | components["schemas"]["StornoCommand"] | components["schemas"]["RepairStartCommand"] | components["schemas"]["RepairPauseCommand"] | components["schemas"]["RepairResumeCommand"] | components["schemas"]["RepairFinishCommand"] | components["schemas"]["GenericCommand"];
|
|
16362
|
+
"application/json": components["schemas"]["InstallCommand"] | components["schemas"]["MoveCommand"] | components["schemas"]["HandoverCommand"] | components["schemas"]["RemoveCommand"] | components["schemas"]["ReceiveOpeningCommand"] | components["schemas"]["FoundCommand"] | components["schemas"]["InspectCommand"] | components["schemas"]["StoreInCommand"] | components["schemas"]["DispositionCommand"] | components["schemas"]["StornoCommand"] | components["schemas"]["RepairStartCommand"] | components["schemas"]["RepairPauseCommand"] | components["schemas"]["RepairResumeCommand"] | components["schemas"]["RepairFinishCommand"] | components["schemas"]["GenericCommand"];
|
|
15465
16363
|
};
|
|
15466
16364
|
};
|
|
15467
16365
|
responses: {
|
|
@@ -17298,29 +18196,30 @@ export interface operations {
|
|
|
17298
18196
|
};
|
|
17299
18197
|
};
|
|
17300
18198
|
};
|
|
17301
|
-
|
|
18199
|
+
list_requests_api_v1_part_requests_get: {
|
|
17302
18200
|
parameters: {
|
|
17303
|
-
query?:
|
|
18201
|
+
query?: {
|
|
18202
|
+
status?: string | null;
|
|
18203
|
+
inbox?: boolean;
|
|
18204
|
+
};
|
|
17304
18205
|
header?: {
|
|
17305
18206
|
authorization?: string | null;
|
|
17306
18207
|
"x-debug-person-id"?: string | null;
|
|
17307
18208
|
};
|
|
17308
18209
|
path?: never;
|
|
17309
|
-
cookie?:
|
|
17310
|
-
|
|
17311
|
-
requestBody: {
|
|
17312
|
-
content: {
|
|
17313
|
-
"application/json": components["schemas"]["ShipmentCreate"];
|
|
18210
|
+
cookie?: {
|
|
18211
|
+
depo_admin_session?: string | null;
|
|
17314
18212
|
};
|
|
17315
18213
|
};
|
|
18214
|
+
requestBody?: never;
|
|
17316
18215
|
responses: {
|
|
17317
18216
|
/** @description Successful Response */
|
|
17318
|
-
|
|
18217
|
+
200: {
|
|
17319
18218
|
headers: {
|
|
17320
18219
|
[name: string]: unknown;
|
|
17321
18220
|
};
|
|
17322
18221
|
content: {
|
|
17323
|
-
"application/json": components["schemas"]["
|
|
18222
|
+
"application/json": components["schemas"]["PartRequestOut"][];
|
|
17324
18223
|
};
|
|
17325
18224
|
};
|
|
17326
18225
|
/** @description Validation Error */
|
|
@@ -17334,7 +18233,7 @@ export interface operations {
|
|
|
17334
18233
|
};
|
|
17335
18234
|
};
|
|
17336
18235
|
};
|
|
17337
|
-
|
|
18236
|
+
create_api_v1_part_requests_post: {
|
|
17338
18237
|
parameters: {
|
|
17339
18238
|
query?: never;
|
|
17340
18239
|
header?: {
|
|
@@ -17344,15 +18243,19 @@ export interface operations {
|
|
|
17344
18243
|
path?: never;
|
|
17345
18244
|
cookie?: never;
|
|
17346
18245
|
};
|
|
17347
|
-
requestBody
|
|
18246
|
+
requestBody: {
|
|
18247
|
+
content: {
|
|
18248
|
+
"application/json": components["schemas"]["PartRequestCreate"];
|
|
18249
|
+
};
|
|
18250
|
+
};
|
|
17348
18251
|
responses: {
|
|
17349
18252
|
/** @description Successful Response */
|
|
17350
|
-
|
|
18253
|
+
201: {
|
|
17351
18254
|
headers: {
|
|
17352
18255
|
[name: string]: unknown;
|
|
17353
18256
|
};
|
|
17354
18257
|
content: {
|
|
17355
|
-
"application/json": components["schemas"]["
|
|
18258
|
+
"application/json": components["schemas"]["PartRequestOut"];
|
|
17356
18259
|
};
|
|
17357
18260
|
};
|
|
17358
18261
|
/** @description Validation Error */
|
|
@@ -17366,7 +18269,7 @@ export interface operations {
|
|
|
17366
18269
|
};
|
|
17367
18270
|
};
|
|
17368
18271
|
};
|
|
17369
|
-
|
|
18272
|
+
issue_api_v1_part_requests__request_id__issue_post: {
|
|
17370
18273
|
parameters: {
|
|
17371
18274
|
query?: never;
|
|
17372
18275
|
header?: {
|
|
@@ -17374,11 +18277,15 @@ export interface operations {
|
|
|
17374
18277
|
"x-debug-person-id"?: string | null;
|
|
17375
18278
|
};
|
|
17376
18279
|
path: {
|
|
17377
|
-
|
|
18280
|
+
request_id: string;
|
|
17378
18281
|
};
|
|
17379
18282
|
cookie?: never;
|
|
17380
18283
|
};
|
|
17381
|
-
requestBody
|
|
18284
|
+
requestBody: {
|
|
18285
|
+
content: {
|
|
18286
|
+
"application/json": components["schemas"]["PartRequestIssue"];
|
|
18287
|
+
};
|
|
18288
|
+
};
|
|
17382
18289
|
responses: {
|
|
17383
18290
|
/** @description Successful Response */
|
|
17384
18291
|
200: {
|
|
@@ -17386,7 +18293,7 @@ export interface operations {
|
|
|
17386
18293
|
[name: string]: unknown;
|
|
17387
18294
|
};
|
|
17388
18295
|
content: {
|
|
17389
|
-
"application/json": components["schemas"]["
|
|
18296
|
+
"application/json": components["schemas"]["PartRequestOut"];
|
|
17390
18297
|
};
|
|
17391
18298
|
};
|
|
17392
18299
|
/** @description Validation Error */
|
|
@@ -17400,7 +18307,7 @@ export interface operations {
|
|
|
17400
18307
|
};
|
|
17401
18308
|
};
|
|
17402
18309
|
};
|
|
17403
|
-
|
|
18310
|
+
escalate_api_v1_part_requests__request_id__escalate_post: {
|
|
17404
18311
|
parameters: {
|
|
17405
18312
|
query?: never;
|
|
17406
18313
|
header?: {
|
|
@@ -17408,11 +18315,15 @@ export interface operations {
|
|
|
17408
18315
|
"x-debug-person-id"?: string | null;
|
|
17409
18316
|
};
|
|
17410
18317
|
path: {
|
|
17411
|
-
|
|
18318
|
+
request_id: string;
|
|
17412
18319
|
};
|
|
17413
18320
|
cookie?: never;
|
|
17414
18321
|
};
|
|
17415
|
-
requestBody
|
|
18322
|
+
requestBody: {
|
|
18323
|
+
content: {
|
|
18324
|
+
"application/json": components["schemas"]["PartRequestNote"];
|
|
18325
|
+
};
|
|
18326
|
+
};
|
|
17416
18327
|
responses: {
|
|
17417
18328
|
/** @description Successful Response */
|
|
17418
18329
|
200: {
|
|
@@ -17420,7 +18331,7 @@ export interface operations {
|
|
|
17420
18331
|
[name: string]: unknown;
|
|
17421
18332
|
};
|
|
17422
18333
|
content: {
|
|
17423
|
-
"application/json": components["schemas"]["
|
|
18334
|
+
"application/json": components["schemas"]["PartRequestOut"];
|
|
17424
18335
|
};
|
|
17425
18336
|
};
|
|
17426
18337
|
/** @description Validation Error */
|
|
@@ -17434,7 +18345,7 @@ export interface operations {
|
|
|
17434
18345
|
};
|
|
17435
18346
|
};
|
|
17436
18347
|
};
|
|
17437
|
-
|
|
18348
|
+
approve_api_v1_part_requests__request_id__approve_post: {
|
|
17438
18349
|
parameters: {
|
|
17439
18350
|
query?: never;
|
|
17440
18351
|
header?: {
|
|
@@ -17442,23 +18353,23 @@ export interface operations {
|
|
|
17442
18353
|
"x-debug-person-id"?: string | null;
|
|
17443
18354
|
};
|
|
17444
18355
|
path: {
|
|
17445
|
-
|
|
18356
|
+
request_id: string;
|
|
17446
18357
|
};
|
|
17447
18358
|
cookie?: never;
|
|
17448
18359
|
};
|
|
17449
18360
|
requestBody: {
|
|
17450
18361
|
content: {
|
|
17451
|
-
"application/json": components["schemas"]["
|
|
18362
|
+
"application/json": components["schemas"]["PartRequestApprove"];
|
|
17452
18363
|
};
|
|
17453
18364
|
};
|
|
17454
18365
|
responses: {
|
|
17455
18366
|
/** @description Successful Response */
|
|
17456
|
-
|
|
18367
|
+
200: {
|
|
17457
18368
|
headers: {
|
|
17458
18369
|
[name: string]: unknown;
|
|
17459
18370
|
};
|
|
17460
18371
|
content: {
|
|
17461
|
-
"application/json": components["schemas"]["
|
|
18372
|
+
"application/json": components["schemas"]["PartRequestOut"];
|
|
17462
18373
|
};
|
|
17463
18374
|
};
|
|
17464
18375
|
/** @description Validation Error */
|
|
@@ -17472,7 +18383,7 @@ export interface operations {
|
|
|
17472
18383
|
};
|
|
17473
18384
|
};
|
|
17474
18385
|
};
|
|
17475
|
-
|
|
18386
|
+
reject_api_v1_part_requests__request_id__reject_post: {
|
|
17476
18387
|
parameters: {
|
|
17477
18388
|
query?: never;
|
|
17478
18389
|
header?: {
|
|
@@ -17480,13 +18391,13 @@ export interface operations {
|
|
|
17480
18391
|
"x-debug-person-id"?: string | null;
|
|
17481
18392
|
};
|
|
17482
18393
|
path: {
|
|
17483
|
-
|
|
18394
|
+
request_id: string;
|
|
17484
18395
|
};
|
|
17485
18396
|
cookie?: never;
|
|
17486
18397
|
};
|
|
17487
18398
|
requestBody: {
|
|
17488
18399
|
content: {
|
|
17489
|
-
"application/json": components["schemas"]["
|
|
18400
|
+
"application/json": components["schemas"]["PartRequestNote"];
|
|
17490
18401
|
};
|
|
17491
18402
|
};
|
|
17492
18403
|
responses: {
|
|
@@ -17496,7 +18407,7 @@ export interface operations {
|
|
|
17496
18407
|
[name: string]: unknown;
|
|
17497
18408
|
};
|
|
17498
18409
|
content: {
|
|
17499
|
-
"application/json": components["schemas"]["
|
|
18410
|
+
"application/json": components["schemas"]["PartRequestOut"];
|
|
17500
18411
|
};
|
|
17501
18412
|
};
|
|
17502
18413
|
/** @description Validation Error */
|
|
@@ -17510,7 +18421,7 @@ export interface operations {
|
|
|
17510
18421
|
};
|
|
17511
18422
|
};
|
|
17512
18423
|
};
|
|
17513
|
-
|
|
18424
|
+
cancel_api_v1_part_requests__request_id__cancel_post: {
|
|
17514
18425
|
parameters: {
|
|
17515
18426
|
query?: never;
|
|
17516
18427
|
header?: {
|
|
@@ -17518,14 +18429,13 @@ export interface operations {
|
|
|
17518
18429
|
"x-debug-person-id"?: string | null;
|
|
17519
18430
|
};
|
|
17520
18431
|
path: {
|
|
17521
|
-
|
|
17522
|
-
item_id: string;
|
|
18432
|
+
request_id: string;
|
|
17523
18433
|
};
|
|
17524
18434
|
cookie?: never;
|
|
17525
18435
|
};
|
|
17526
18436
|
requestBody: {
|
|
17527
18437
|
content: {
|
|
17528
|
-
"application/json": components["schemas"]["
|
|
18438
|
+
"application/json": components["schemas"]["PartRequestNote"];
|
|
17529
18439
|
};
|
|
17530
18440
|
};
|
|
17531
18441
|
responses: {
|
|
@@ -17535,7 +18445,7 @@ export interface operations {
|
|
|
17535
18445
|
[name: string]: unknown;
|
|
17536
18446
|
};
|
|
17537
18447
|
content: {
|
|
17538
|
-
"application/json": components["schemas"]["
|
|
18448
|
+
"application/json": components["schemas"]["PartRequestOut"];
|
|
17539
18449
|
};
|
|
17540
18450
|
};
|
|
17541
18451
|
/** @description Validation Error */
|
|
@@ -17549,17 +18459,16 @@ export interface operations {
|
|
|
17549
18459
|
};
|
|
17550
18460
|
};
|
|
17551
18461
|
};
|
|
17552
|
-
|
|
18462
|
+
get_request_api_v1_part_requests__request_id__get: {
|
|
17553
18463
|
parameters: {
|
|
17554
|
-
query?:
|
|
17555
|
-
/** @description substring of name */
|
|
17556
|
-
q?: string | null;
|
|
17557
|
-
};
|
|
18464
|
+
query?: never;
|
|
17558
18465
|
header?: {
|
|
17559
18466
|
authorization?: string | null;
|
|
17560
18467
|
"x-debug-person-id"?: string | null;
|
|
17561
18468
|
};
|
|
17562
|
-
path
|
|
18469
|
+
path: {
|
|
18470
|
+
request_id: string;
|
|
18471
|
+
};
|
|
17563
18472
|
cookie?: {
|
|
17564
18473
|
depo_admin_session?: string | null;
|
|
17565
18474
|
};
|
|
@@ -17572,7 +18481,7 @@ export interface operations {
|
|
|
17572
18481
|
[name: string]: unknown;
|
|
17573
18482
|
};
|
|
17574
18483
|
content: {
|
|
17575
|
-
"application/json": components["schemas"]["
|
|
18484
|
+
"application/json": components["schemas"]["PartRequestOut"];
|
|
17576
18485
|
};
|
|
17577
18486
|
};
|
|
17578
18487
|
/** @description Validation Error */
|
|
@@ -17586,30 +18495,29 @@ export interface operations {
|
|
|
17586
18495
|
};
|
|
17587
18496
|
};
|
|
17588
18497
|
};
|
|
17589
|
-
|
|
18498
|
+
create_shipment_api_v1_plant_shipments_post: {
|
|
17590
18499
|
parameters: {
|
|
17591
|
-
query?:
|
|
17592
|
-
/** @description substring of number */
|
|
17593
|
-
q?: string | null;
|
|
17594
|
-
};
|
|
18500
|
+
query?: never;
|
|
17595
18501
|
header?: {
|
|
17596
18502
|
authorization?: string | null;
|
|
17597
18503
|
"x-debug-person-id"?: string | null;
|
|
17598
18504
|
};
|
|
17599
18505
|
path?: never;
|
|
17600
|
-
cookie?:
|
|
17601
|
-
|
|
18506
|
+
cookie?: never;
|
|
18507
|
+
};
|
|
18508
|
+
requestBody: {
|
|
18509
|
+
content: {
|
|
18510
|
+
"application/json": components["schemas"]["ShipmentCreate"];
|
|
17602
18511
|
};
|
|
17603
18512
|
};
|
|
17604
|
-
requestBody?: never;
|
|
17605
18513
|
responses: {
|
|
17606
18514
|
/** @description Successful Response */
|
|
17607
|
-
|
|
18515
|
+
201: {
|
|
17608
18516
|
headers: {
|
|
17609
18517
|
[name: string]: unknown;
|
|
17610
18518
|
};
|
|
17611
18519
|
content: {
|
|
17612
|
-
"application/json": components["schemas"]["
|
|
18520
|
+
"application/json": components["schemas"]["ShipmentOut"];
|
|
17613
18521
|
};
|
|
17614
18522
|
};
|
|
17615
18523
|
/** @description Validation Error */
|
|
@@ -17623,7 +18531,7 @@ export interface operations {
|
|
|
17623
18531
|
};
|
|
17624
18532
|
};
|
|
17625
18533
|
};
|
|
17626
|
-
|
|
18534
|
+
overdue_api_v1_plant_shipments_overdue_get: {
|
|
17627
18535
|
parameters: {
|
|
17628
18536
|
query?: never;
|
|
17629
18537
|
header?: {
|
|
@@ -17631,9 +18539,7 @@ export interface operations {
|
|
|
17631
18539
|
"x-debug-person-id"?: string | null;
|
|
17632
18540
|
};
|
|
17633
18541
|
path?: never;
|
|
17634
|
-
cookie?:
|
|
17635
|
-
depo_admin_session?: string | null;
|
|
17636
|
-
};
|
|
18542
|
+
cookie?: never;
|
|
17637
18543
|
};
|
|
17638
18544
|
requestBody?: never;
|
|
17639
18545
|
responses: {
|
|
@@ -17643,7 +18549,7 @@ export interface operations {
|
|
|
17643
18549
|
[name: string]: unknown;
|
|
17644
18550
|
};
|
|
17645
18551
|
content: {
|
|
17646
|
-
"application/json": components["schemas"]["
|
|
18552
|
+
"application/json": components["schemas"]["OverdueRow"][];
|
|
17647
18553
|
};
|
|
17648
18554
|
};
|
|
17649
18555
|
/** @description Validation Error */
|
|
@@ -17657,17 +18563,17 @@ export interface operations {
|
|
|
17657
18563
|
};
|
|
17658
18564
|
};
|
|
17659
18565
|
};
|
|
17660
|
-
|
|
18566
|
+
get_shipment_api_v1_plant_shipments__shipment_id__get: {
|
|
17661
18567
|
parameters: {
|
|
17662
18568
|
query?: never;
|
|
17663
18569
|
header?: {
|
|
17664
18570
|
authorization?: string | null;
|
|
17665
18571
|
"x-debug-person-id"?: string | null;
|
|
17666
18572
|
};
|
|
17667
|
-
path
|
|
17668
|
-
|
|
17669
|
-
depo_admin_session?: string | null;
|
|
18573
|
+
path: {
|
|
18574
|
+
shipment_id: string;
|
|
17670
18575
|
};
|
|
18576
|
+
cookie?: never;
|
|
17671
18577
|
};
|
|
17672
18578
|
requestBody?: never;
|
|
17673
18579
|
responses: {
|
|
@@ -17677,7 +18583,7 @@ export interface operations {
|
|
|
17677
18583
|
[name: string]: unknown;
|
|
17678
18584
|
};
|
|
17679
18585
|
content: {
|
|
17680
|
-
"application/json": components["schemas"]["
|
|
18586
|
+
"application/json": components["schemas"]["ShipmentOut"];
|
|
17681
18587
|
};
|
|
17682
18588
|
};
|
|
17683
18589
|
/** @description Validation Error */
|
|
@@ -17691,10 +18597,335 @@ export interface operations {
|
|
|
17691
18597
|
};
|
|
17692
18598
|
};
|
|
17693
18599
|
};
|
|
17694
|
-
|
|
18600
|
+
list_items_api_v1_plant_shipments__shipment_id__items_get: {
|
|
17695
18601
|
parameters: {
|
|
17696
|
-
query?:
|
|
17697
|
-
|
|
18602
|
+
query?: never;
|
|
18603
|
+
header?: {
|
|
18604
|
+
authorization?: string | null;
|
|
18605
|
+
"x-debug-person-id"?: string | null;
|
|
18606
|
+
};
|
|
18607
|
+
path: {
|
|
18608
|
+
shipment_id: string;
|
|
18609
|
+
};
|
|
18610
|
+
cookie?: never;
|
|
18611
|
+
};
|
|
18612
|
+
requestBody?: never;
|
|
18613
|
+
responses: {
|
|
18614
|
+
/** @description Successful Response */
|
|
18615
|
+
200: {
|
|
18616
|
+
headers: {
|
|
18617
|
+
[name: string]: unknown;
|
|
18618
|
+
};
|
|
18619
|
+
content: {
|
|
18620
|
+
"application/json": components["schemas"]["ShipmentItemOut"][];
|
|
18621
|
+
};
|
|
18622
|
+
};
|
|
18623
|
+
/** @description Validation Error */
|
|
18624
|
+
422: {
|
|
18625
|
+
headers: {
|
|
18626
|
+
[name: string]: unknown;
|
|
18627
|
+
};
|
|
18628
|
+
content: {
|
|
18629
|
+
"application/json": components["schemas"]["HTTPValidationError"];
|
|
18630
|
+
};
|
|
18631
|
+
};
|
|
18632
|
+
};
|
|
18633
|
+
};
|
|
18634
|
+
add_item_api_v1_plant_shipments__shipment_id__items_post: {
|
|
18635
|
+
parameters: {
|
|
18636
|
+
query?: never;
|
|
18637
|
+
header?: {
|
|
18638
|
+
authorization?: string | null;
|
|
18639
|
+
"x-debug-person-id"?: string | null;
|
|
18640
|
+
};
|
|
18641
|
+
path: {
|
|
18642
|
+
shipment_id: string;
|
|
18643
|
+
};
|
|
18644
|
+
cookie?: never;
|
|
18645
|
+
};
|
|
18646
|
+
requestBody: {
|
|
18647
|
+
content: {
|
|
18648
|
+
"application/json": components["schemas"]["ShipmentItemIn"];
|
|
18649
|
+
};
|
|
18650
|
+
};
|
|
18651
|
+
responses: {
|
|
18652
|
+
/** @description Successful Response */
|
|
18653
|
+
201: {
|
|
18654
|
+
headers: {
|
|
18655
|
+
[name: string]: unknown;
|
|
18656
|
+
};
|
|
18657
|
+
content: {
|
|
18658
|
+
"application/json": components["schemas"]["ShipmentItemOut"];
|
|
18659
|
+
};
|
|
18660
|
+
};
|
|
18661
|
+
/** @description Validation Error */
|
|
18662
|
+
422: {
|
|
18663
|
+
headers: {
|
|
18664
|
+
[name: string]: unknown;
|
|
18665
|
+
};
|
|
18666
|
+
content: {
|
|
18667
|
+
"application/json": components["schemas"]["HTTPValidationError"];
|
|
18668
|
+
};
|
|
18669
|
+
};
|
|
18670
|
+
};
|
|
18671
|
+
};
|
|
18672
|
+
ship_api_v1_plant_shipments__shipment_id__ship_post: {
|
|
18673
|
+
parameters: {
|
|
18674
|
+
query?: never;
|
|
18675
|
+
header?: {
|
|
18676
|
+
authorization?: string | null;
|
|
18677
|
+
"x-debug-person-id"?: string | null;
|
|
18678
|
+
};
|
|
18679
|
+
path: {
|
|
18680
|
+
shipment_id: string;
|
|
18681
|
+
};
|
|
18682
|
+
cookie?: never;
|
|
18683
|
+
};
|
|
18684
|
+
requestBody: {
|
|
18685
|
+
content: {
|
|
18686
|
+
"application/json": components["schemas"]["ShipIn"];
|
|
18687
|
+
};
|
|
18688
|
+
};
|
|
18689
|
+
responses: {
|
|
18690
|
+
/** @description Successful Response */
|
|
18691
|
+
200: {
|
|
18692
|
+
headers: {
|
|
18693
|
+
[name: string]: unknown;
|
|
18694
|
+
};
|
|
18695
|
+
content: {
|
|
18696
|
+
"application/json": components["schemas"]["ShipmentOut"];
|
|
18697
|
+
};
|
|
18698
|
+
};
|
|
18699
|
+
/** @description Validation Error */
|
|
18700
|
+
422: {
|
|
18701
|
+
headers: {
|
|
18702
|
+
[name: string]: unknown;
|
|
18703
|
+
};
|
|
18704
|
+
content: {
|
|
18705
|
+
"application/json": components["schemas"]["HTTPValidationError"];
|
|
18706
|
+
};
|
|
18707
|
+
};
|
|
18708
|
+
};
|
|
18709
|
+
};
|
|
18710
|
+
return_item_api_v1_plant_shipments__shipment_id__items__item_id__return_post: {
|
|
18711
|
+
parameters: {
|
|
18712
|
+
query?: never;
|
|
18713
|
+
header?: {
|
|
18714
|
+
authorization?: string | null;
|
|
18715
|
+
"x-debug-person-id"?: string | null;
|
|
18716
|
+
};
|
|
18717
|
+
path: {
|
|
18718
|
+
shipment_id: string;
|
|
18719
|
+
item_id: string;
|
|
18720
|
+
};
|
|
18721
|
+
cookie?: never;
|
|
18722
|
+
};
|
|
18723
|
+
requestBody: {
|
|
18724
|
+
content: {
|
|
18725
|
+
"application/json": components["schemas"]["ReturnIn"];
|
|
18726
|
+
};
|
|
18727
|
+
};
|
|
18728
|
+
responses: {
|
|
18729
|
+
/** @description Successful Response */
|
|
18730
|
+
200: {
|
|
18731
|
+
headers: {
|
|
18732
|
+
[name: string]: unknown;
|
|
18733
|
+
};
|
|
18734
|
+
content: {
|
|
18735
|
+
"application/json": components["schemas"]["ShipmentItemOut"];
|
|
18736
|
+
};
|
|
18737
|
+
};
|
|
18738
|
+
/** @description Validation Error */
|
|
18739
|
+
422: {
|
|
18740
|
+
headers: {
|
|
18741
|
+
[name: string]: unknown;
|
|
18742
|
+
};
|
|
18743
|
+
content: {
|
|
18744
|
+
"application/json": components["schemas"]["HTTPValidationError"];
|
|
18745
|
+
};
|
|
18746
|
+
};
|
|
18747
|
+
};
|
|
18748
|
+
};
|
|
18749
|
+
defect_codes_api_v1_refs_defect_codes_get: {
|
|
18750
|
+
parameters: {
|
|
18751
|
+
query?: {
|
|
18752
|
+
/** @description substring of name */
|
|
18753
|
+
q?: string | null;
|
|
18754
|
+
};
|
|
18755
|
+
header?: {
|
|
18756
|
+
authorization?: string | null;
|
|
18757
|
+
"x-debug-person-id"?: string | null;
|
|
18758
|
+
};
|
|
18759
|
+
path?: never;
|
|
18760
|
+
cookie?: {
|
|
18761
|
+
depo_admin_session?: string | null;
|
|
18762
|
+
};
|
|
18763
|
+
};
|
|
18764
|
+
requestBody?: never;
|
|
18765
|
+
responses: {
|
|
18766
|
+
/** @description Successful Response */
|
|
18767
|
+
200: {
|
|
18768
|
+
headers: {
|
|
18769
|
+
[name: string]: unknown;
|
|
18770
|
+
};
|
|
18771
|
+
content: {
|
|
18772
|
+
"application/json": components["schemas"]["DefectCodeOut"][];
|
|
18773
|
+
};
|
|
18774
|
+
};
|
|
18775
|
+
/** @description Validation Error */
|
|
18776
|
+
422: {
|
|
18777
|
+
headers: {
|
|
18778
|
+
[name: string]: unknown;
|
|
18779
|
+
};
|
|
18780
|
+
content: {
|
|
18781
|
+
"application/json": components["schemas"]["HTTPValidationError"];
|
|
18782
|
+
};
|
|
18783
|
+
};
|
|
18784
|
+
};
|
|
18785
|
+
};
|
|
18786
|
+
locomotives_api_v1_refs_locomotives_get: {
|
|
18787
|
+
parameters: {
|
|
18788
|
+
query?: {
|
|
18789
|
+
/** @description substring of number */
|
|
18790
|
+
q?: string | null;
|
|
18791
|
+
};
|
|
18792
|
+
header?: {
|
|
18793
|
+
authorization?: string | null;
|
|
18794
|
+
"x-debug-person-id"?: string | null;
|
|
18795
|
+
};
|
|
18796
|
+
path?: never;
|
|
18797
|
+
cookie?: {
|
|
18798
|
+
depo_admin_session?: string | null;
|
|
18799
|
+
};
|
|
18800
|
+
};
|
|
18801
|
+
requestBody?: never;
|
|
18802
|
+
responses: {
|
|
18803
|
+
/** @description Successful Response */
|
|
18804
|
+
200: {
|
|
18805
|
+
headers: {
|
|
18806
|
+
[name: string]: unknown;
|
|
18807
|
+
};
|
|
18808
|
+
content: {
|
|
18809
|
+
"application/json": components["schemas"]["LocomotiveOut"][];
|
|
18810
|
+
};
|
|
18811
|
+
};
|
|
18812
|
+
/** @description Validation Error */
|
|
18813
|
+
422: {
|
|
18814
|
+
headers: {
|
|
18815
|
+
[name: string]: unknown;
|
|
18816
|
+
};
|
|
18817
|
+
content: {
|
|
18818
|
+
"application/json": components["schemas"]["HTTPValidationError"];
|
|
18819
|
+
};
|
|
18820
|
+
};
|
|
18821
|
+
};
|
|
18822
|
+
};
|
|
18823
|
+
loco_series_api_v1_refs_loco_series_get: {
|
|
18824
|
+
parameters: {
|
|
18825
|
+
query?: never;
|
|
18826
|
+
header?: {
|
|
18827
|
+
authorization?: string | null;
|
|
18828
|
+
"x-debug-person-id"?: string | null;
|
|
18829
|
+
};
|
|
18830
|
+
path?: never;
|
|
18831
|
+
cookie?: {
|
|
18832
|
+
depo_admin_session?: string | null;
|
|
18833
|
+
};
|
|
18834
|
+
};
|
|
18835
|
+
requestBody?: never;
|
|
18836
|
+
responses: {
|
|
18837
|
+
/** @description Successful Response */
|
|
18838
|
+
200: {
|
|
18839
|
+
headers: {
|
|
18840
|
+
[name: string]: unknown;
|
|
18841
|
+
};
|
|
18842
|
+
content: {
|
|
18843
|
+
"application/json": components["schemas"]["LocoSeriesOut"][];
|
|
18844
|
+
};
|
|
18845
|
+
};
|
|
18846
|
+
/** @description Validation Error */
|
|
18847
|
+
422: {
|
|
18848
|
+
headers: {
|
|
18849
|
+
[name: string]: unknown;
|
|
18850
|
+
};
|
|
18851
|
+
content: {
|
|
18852
|
+
"application/json": components["schemas"]["HTTPValidationError"];
|
|
18853
|
+
};
|
|
18854
|
+
};
|
|
18855
|
+
};
|
|
18856
|
+
};
|
|
18857
|
+
loco_sections_api_v1_refs_loco_sections_get: {
|
|
18858
|
+
parameters: {
|
|
18859
|
+
query?: never;
|
|
18860
|
+
header?: {
|
|
18861
|
+
authorization?: string | null;
|
|
18862
|
+
"x-debug-person-id"?: string | null;
|
|
18863
|
+
};
|
|
18864
|
+
path?: never;
|
|
18865
|
+
cookie?: {
|
|
18866
|
+
depo_admin_session?: string | null;
|
|
18867
|
+
};
|
|
18868
|
+
};
|
|
18869
|
+
requestBody?: never;
|
|
18870
|
+
responses: {
|
|
18871
|
+
/** @description Successful Response */
|
|
18872
|
+
200: {
|
|
18873
|
+
headers: {
|
|
18874
|
+
[name: string]: unknown;
|
|
18875
|
+
};
|
|
18876
|
+
content: {
|
|
18877
|
+
"application/json": components["schemas"]["LocoSectionRef"][];
|
|
18878
|
+
};
|
|
18879
|
+
};
|
|
18880
|
+
/** @description Validation Error */
|
|
18881
|
+
422: {
|
|
18882
|
+
headers: {
|
|
18883
|
+
[name: string]: unknown;
|
|
18884
|
+
};
|
|
18885
|
+
content: {
|
|
18886
|
+
"application/json": components["schemas"]["HTTPValidationError"];
|
|
18887
|
+
};
|
|
18888
|
+
};
|
|
18889
|
+
};
|
|
18890
|
+
};
|
|
18891
|
+
loco_series_positions_api_v1_refs_loco_series_positions_get: {
|
|
18892
|
+
parameters: {
|
|
18893
|
+
query?: never;
|
|
18894
|
+
header?: {
|
|
18895
|
+
authorization?: string | null;
|
|
18896
|
+
"x-debug-person-id"?: string | null;
|
|
18897
|
+
};
|
|
18898
|
+
path?: never;
|
|
18899
|
+
cookie?: {
|
|
18900
|
+
depo_admin_session?: string | null;
|
|
18901
|
+
};
|
|
18902
|
+
};
|
|
18903
|
+
requestBody?: never;
|
|
18904
|
+
responses: {
|
|
18905
|
+
/** @description Successful Response */
|
|
18906
|
+
200: {
|
|
18907
|
+
headers: {
|
|
18908
|
+
[name: string]: unknown;
|
|
18909
|
+
};
|
|
18910
|
+
content: {
|
|
18911
|
+
"application/json": components["schemas"]["LocoSeriesPositionRef"][];
|
|
18912
|
+
};
|
|
18913
|
+
};
|
|
18914
|
+
/** @description Validation Error */
|
|
18915
|
+
422: {
|
|
18916
|
+
headers: {
|
|
18917
|
+
[name: string]: unknown;
|
|
18918
|
+
};
|
|
18919
|
+
content: {
|
|
18920
|
+
"application/json": components["schemas"]["HTTPValidationError"];
|
|
18921
|
+
};
|
|
18922
|
+
};
|
|
18923
|
+
};
|
|
18924
|
+
};
|
|
18925
|
+
nomenclature_api_v1_refs_nomenclature_get: {
|
|
18926
|
+
parameters: {
|
|
18927
|
+
query?: {
|
|
18928
|
+
/** @description substring of code or name */
|
|
17698
18929
|
q?: string | null;
|
|
17699
18930
|
limit?: number;
|
|
17700
18931
|
};
|
|
@@ -18263,6 +19494,74 @@ export interface operations {
|
|
|
18263
19494
|
};
|
|
18264
19495
|
};
|
|
18265
19496
|
};
|
|
19497
|
+
kpi_trend_api_v1_reports_kpi_trend_get: {
|
|
19498
|
+
parameters: {
|
|
19499
|
+
query?: {
|
|
19500
|
+
days?: number;
|
|
19501
|
+
};
|
|
19502
|
+
header?: {
|
|
19503
|
+
"x-debug-person-id"?: string | null;
|
|
19504
|
+
};
|
|
19505
|
+
path?: never;
|
|
19506
|
+
cookie?: {
|
|
19507
|
+
depo_admin_session?: string | null;
|
|
19508
|
+
};
|
|
19509
|
+
};
|
|
19510
|
+
requestBody?: never;
|
|
19511
|
+
responses: {
|
|
19512
|
+
/** @description Successful Response */
|
|
19513
|
+
200: {
|
|
19514
|
+
headers: {
|
|
19515
|
+
[name: string]: unknown;
|
|
19516
|
+
};
|
|
19517
|
+
content: {
|
|
19518
|
+
"application/json": components["schemas"]["KpiTrend"];
|
|
19519
|
+
};
|
|
19520
|
+
};
|
|
19521
|
+
/** @description Validation Error */
|
|
19522
|
+
422: {
|
|
19523
|
+
headers: {
|
|
19524
|
+
[name: string]: unknown;
|
|
19525
|
+
};
|
|
19526
|
+
content: {
|
|
19527
|
+
"application/json": components["schemas"]["HTTPValidationError"];
|
|
19528
|
+
};
|
|
19529
|
+
};
|
|
19530
|
+
};
|
|
19531
|
+
};
|
|
19532
|
+
nav_counters_api_v1_reports_nav_counters_get: {
|
|
19533
|
+
parameters: {
|
|
19534
|
+
query?: never;
|
|
19535
|
+
header?: {
|
|
19536
|
+
"x-debug-person-id"?: string | null;
|
|
19537
|
+
};
|
|
19538
|
+
path?: never;
|
|
19539
|
+
cookie?: {
|
|
19540
|
+
depo_admin_session?: string | null;
|
|
19541
|
+
};
|
|
19542
|
+
};
|
|
19543
|
+
requestBody?: never;
|
|
19544
|
+
responses: {
|
|
19545
|
+
/** @description Successful Response */
|
|
19546
|
+
200: {
|
|
19547
|
+
headers: {
|
|
19548
|
+
[name: string]: unknown;
|
|
19549
|
+
};
|
|
19550
|
+
content: {
|
|
19551
|
+
"application/json": components["schemas"]["NavCounters"];
|
|
19552
|
+
};
|
|
19553
|
+
};
|
|
19554
|
+
/** @description Validation Error */
|
|
19555
|
+
422: {
|
|
19556
|
+
headers: {
|
|
19557
|
+
[name: string]: unknown;
|
|
19558
|
+
};
|
|
19559
|
+
content: {
|
|
19560
|
+
"application/json": components["schemas"]["HTTPValidationError"];
|
|
19561
|
+
};
|
|
19562
|
+
};
|
|
19563
|
+
};
|
|
19564
|
+
};
|
|
18266
19565
|
open_orders_api_v1_reports_open_orders_get: {
|
|
18267
19566
|
parameters: {
|
|
18268
19567
|
query?: {
|
|
@@ -20127,6 +21426,152 @@ export interface operations {
|
|
|
20127
21426
|
};
|
|
20128
21427
|
};
|
|
20129
21428
|
};
|
|
21429
|
+
open_measuring_order_api_v1_work_orders_measuring_post: {
|
|
21430
|
+
parameters: {
|
|
21431
|
+
query?: never;
|
|
21432
|
+
header?: {
|
|
21433
|
+
authorization?: string | null;
|
|
21434
|
+
"x-debug-person-id"?: string | null;
|
|
21435
|
+
};
|
|
21436
|
+
path?: never;
|
|
21437
|
+
cookie?: never;
|
|
21438
|
+
};
|
|
21439
|
+
requestBody: {
|
|
21440
|
+
content: {
|
|
21441
|
+
"application/json": components["schemas"]["MeasuringOrderIn"];
|
|
21442
|
+
};
|
|
21443
|
+
};
|
|
21444
|
+
responses: {
|
|
21445
|
+
/** @description Successful Response */
|
|
21446
|
+
200: {
|
|
21447
|
+
headers: {
|
|
21448
|
+
[name: string]: unknown;
|
|
21449
|
+
};
|
|
21450
|
+
content: {
|
|
21451
|
+
"application/json": components["schemas"]["WorkOrderDetail"];
|
|
21452
|
+
};
|
|
21453
|
+
};
|
|
21454
|
+
/** @description Validation Error */
|
|
21455
|
+
422: {
|
|
21456
|
+
headers: {
|
|
21457
|
+
[name: string]: unknown;
|
|
21458
|
+
};
|
|
21459
|
+
content: {
|
|
21460
|
+
"application/json": components["schemas"]["HTTPValidationError"];
|
|
21461
|
+
};
|
|
21462
|
+
};
|
|
21463
|
+
};
|
|
21464
|
+
};
|
|
21465
|
+
measuring_items_api_v1_work_orders_measuring__wo_id__items_get: {
|
|
21466
|
+
parameters: {
|
|
21467
|
+
query?: never;
|
|
21468
|
+
header?: {
|
|
21469
|
+
authorization?: string | null;
|
|
21470
|
+
"x-debug-person-id"?: string | null;
|
|
21471
|
+
};
|
|
21472
|
+
path: {
|
|
21473
|
+
wo_id: string;
|
|
21474
|
+
};
|
|
21475
|
+
cookie?: never;
|
|
21476
|
+
};
|
|
21477
|
+
requestBody?: never;
|
|
21478
|
+
responses: {
|
|
21479
|
+
/** @description Successful Response */
|
|
21480
|
+
200: {
|
|
21481
|
+
headers: {
|
|
21482
|
+
[name: string]: unknown;
|
|
21483
|
+
};
|
|
21484
|
+
content: {
|
|
21485
|
+
"application/json": components["schemas"]["MeasuredItemOut"][];
|
|
21486
|
+
};
|
|
21487
|
+
};
|
|
21488
|
+
/** @description Validation Error */
|
|
21489
|
+
422: {
|
|
21490
|
+
headers: {
|
|
21491
|
+
[name: string]: unknown;
|
|
21492
|
+
};
|
|
21493
|
+
content: {
|
|
21494
|
+
"application/json": components["schemas"]["HTTPValidationError"];
|
|
21495
|
+
};
|
|
21496
|
+
};
|
|
21497
|
+
};
|
|
21498
|
+
};
|
|
21499
|
+
measuring_verdict_api_v1_work_orders_measuring__wo_id__verdict_post: {
|
|
21500
|
+
parameters: {
|
|
21501
|
+
query?: never;
|
|
21502
|
+
header?: {
|
|
21503
|
+
authorization?: string | null;
|
|
21504
|
+
"x-debug-person-id"?: string | null;
|
|
21505
|
+
};
|
|
21506
|
+
path: {
|
|
21507
|
+
wo_id: string;
|
|
21508
|
+
};
|
|
21509
|
+
cookie?: never;
|
|
21510
|
+
};
|
|
21511
|
+
requestBody: {
|
|
21512
|
+
content: {
|
|
21513
|
+
"application/json": components["schemas"]["VerdictIn"];
|
|
21514
|
+
};
|
|
21515
|
+
};
|
|
21516
|
+
responses: {
|
|
21517
|
+
/** @description Successful Response */
|
|
21518
|
+
200: {
|
|
21519
|
+
headers: {
|
|
21520
|
+
[name: string]: unknown;
|
|
21521
|
+
};
|
|
21522
|
+
content: {
|
|
21523
|
+
"application/json": components["schemas"]["VerdictOut"];
|
|
21524
|
+
};
|
|
21525
|
+
};
|
|
21526
|
+
/** @description Validation Error */
|
|
21527
|
+
422: {
|
|
21528
|
+
headers: {
|
|
21529
|
+
[name: string]: unknown;
|
|
21530
|
+
};
|
|
21531
|
+
content: {
|
|
21532
|
+
"application/json": components["schemas"]["HTTPValidationError"];
|
|
21533
|
+
};
|
|
21534
|
+
};
|
|
21535
|
+
};
|
|
21536
|
+
};
|
|
21537
|
+
inspection_sign_api_v1_work_orders_measuring__wo_id__verdicts_post: {
|
|
21538
|
+
parameters: {
|
|
21539
|
+
query?: never;
|
|
21540
|
+
header?: {
|
|
21541
|
+
authorization?: string | null;
|
|
21542
|
+
"x-debug-person-id"?: string | null;
|
|
21543
|
+
};
|
|
21544
|
+
path: {
|
|
21545
|
+
wo_id: string;
|
|
21546
|
+
};
|
|
21547
|
+
cookie?: never;
|
|
21548
|
+
};
|
|
21549
|
+
requestBody: {
|
|
21550
|
+
content: {
|
|
21551
|
+
"application/json": components["schemas"]["InspectionSignIn"];
|
|
21552
|
+
};
|
|
21553
|
+
};
|
|
21554
|
+
responses: {
|
|
21555
|
+
/** @description Successful Response */
|
|
21556
|
+
200: {
|
|
21557
|
+
headers: {
|
|
21558
|
+
[name: string]: unknown;
|
|
21559
|
+
};
|
|
21560
|
+
content: {
|
|
21561
|
+
"application/json": components["schemas"]["InspectionSignOut"];
|
|
21562
|
+
};
|
|
21563
|
+
};
|
|
21564
|
+
/** @description Validation Error */
|
|
21565
|
+
422: {
|
|
21566
|
+
headers: {
|
|
21567
|
+
[name: string]: unknown;
|
|
21568
|
+
};
|
|
21569
|
+
content: {
|
|
21570
|
+
"application/json": components["schemas"]["HTTPValidationError"];
|
|
21571
|
+
};
|
|
21572
|
+
};
|
|
21573
|
+
};
|
|
21574
|
+
};
|
|
20130
21575
|
accept_order_api_v1_work_orders__wo_id__accept_post: {
|
|
20131
21576
|
parameters: {
|
|
20132
21577
|
query?: never;
|
|
@@ -20436,6 +21881,45 @@ export interface operations {
|
|
|
20436
21881
|
};
|
|
20437
21882
|
};
|
|
20438
21883
|
};
|
|
21884
|
+
cosign_task_op_api_v1_work_orders__wo_id__tasks__task_id__cosign_op_post: {
|
|
21885
|
+
parameters: {
|
|
21886
|
+
query?: never;
|
|
21887
|
+
header?: {
|
|
21888
|
+
authorization?: string | null;
|
|
21889
|
+
"x-debug-person-id"?: string | null;
|
|
21890
|
+
};
|
|
21891
|
+
path: {
|
|
21892
|
+
wo_id: string;
|
|
21893
|
+
task_id: string;
|
|
21894
|
+
};
|
|
21895
|
+
cookie?: never;
|
|
21896
|
+
};
|
|
21897
|
+
requestBody: {
|
|
21898
|
+
content: {
|
|
21899
|
+
"application/json": components["schemas"]["TaskCosignIn"];
|
|
21900
|
+
};
|
|
21901
|
+
};
|
|
21902
|
+
responses: {
|
|
21903
|
+
/** @description Successful Response */
|
|
21904
|
+
200: {
|
|
21905
|
+
headers: {
|
|
21906
|
+
[name: string]: unknown;
|
|
21907
|
+
};
|
|
21908
|
+
content: {
|
|
21909
|
+
"application/json": components["schemas"]["TaskOut"];
|
|
21910
|
+
};
|
|
21911
|
+
};
|
|
21912
|
+
/** @description Validation Error */
|
|
21913
|
+
422: {
|
|
21914
|
+
headers: {
|
|
21915
|
+
[name: string]: unknown;
|
|
21916
|
+
};
|
|
21917
|
+
content: {
|
|
21918
|
+
"application/json": components["schemas"]["HTTPValidationError"];
|
|
21919
|
+
};
|
|
21920
|
+
};
|
|
21921
|
+
};
|
|
21922
|
+
};
|
|
20439
21923
|
work_accept_sign_api_v1_work_orders__wo_id__work_accept_sign_post: {
|
|
20440
21924
|
parameters: {
|
|
20441
21925
|
query?: never;
|