@nextplus/js-sdk 0.0.6 → 0.0.8
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/{chunk-DNVJS7WW.js → chunk-2RQUD2BL.js} +4965 -5694
- package/dist/{chunk-YEF23TVP.js → chunk-P5F3SZVG.js} +5 -11
- package/dist/index-BCKEhMYV.d.cts +4478 -0
- package/dist/index-Dt0zpNE2.d.ts +4478 -0
- package/dist/index.cjs +4965 -5693
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/dist/sdk/index.cjs +4967 -5698
- package/dist/sdk/index.d.cts +1 -1
- package/dist/sdk/index.d.ts +1 -1
- package/dist/sdk/index.js +6 -12
- package/dist/sdk/sdk.gen.cjs +4967 -5698
- package/dist/sdk/sdk.gen.d.cts +1 -1
- package/dist/sdk/sdk.gen.d.ts +1 -1
- package/dist/sdk/sdk.gen.js +5 -11
- package/dist/{sdk.gen-D3Q8YKqz.d.ts → sdk.gen-BYVWLTm8.d.ts} +8967 -14137
- package/dist/{sdk.gen-CPR3KdM-.d.cts → sdk.gen-Bpl7iDGX.d.cts} +8967 -14137
- package/package.json +4 -3
- package/src/sdk/client.gen.ts +1 -1
- package/src/sdk/schemas.gen.ts +851 -995
- package/src/sdk/sdk.gen.ts +11532 -12937
- package/src/sdk/transformers.gen.ts +258 -1406
- package/src/sdk/types.gen.ts +1265 -6974
- package/dist/index-DnDzRLml.d.cts +0 -5156
- package/dist/index-_9HQhd2P.d.ts +0 -5156
package/src/sdk/schemas.gen.ts
CHANGED
|
@@ -1405,34 +1405,30 @@ export const ACLSchema = {
|
|
|
1405
1405
|
type: 'object',
|
|
1406
1406
|
} as const;
|
|
1407
1407
|
|
|
1408
|
-
export const
|
|
1408
|
+
export const AccessTokenSchema = {
|
|
1409
1409
|
properties: {
|
|
1410
1410
|
id: {
|
|
1411
1411
|
type: 'string',
|
|
1412
1412
|
},
|
|
1413
|
-
|
|
1414
|
-
|
|
1413
|
+
ttl: {
|
|
1414
|
+
default: 1209600,
|
|
1415
|
+
description: 'time to live in seconds (2 weeks by default)',
|
|
1416
|
+
type: 'number',
|
|
1417
|
+
format: 'double',
|
|
1415
1418
|
},
|
|
1416
|
-
|
|
1417
|
-
|
|
1419
|
+
scopes: {
|
|
1420
|
+
description: 'Array of scopes granted to this access token.',
|
|
1421
|
+
type: 'array',
|
|
1422
|
+
items: {
|
|
1423
|
+
type: 'string',
|
|
1424
|
+
},
|
|
1418
1425
|
},
|
|
1419
1426
|
created: {
|
|
1420
|
-
default: '$now',
|
|
1421
|
-
type: 'string',
|
|
1422
|
-
format: 'date-time',
|
|
1423
|
-
},
|
|
1424
|
-
modified: {
|
|
1425
|
-
default: '$now',
|
|
1426
|
-
type: 'string',
|
|
1427
|
-
format: 'date-time',
|
|
1428
|
-
},
|
|
1429
|
-
serverModified: {
|
|
1430
|
-
default: '$now',
|
|
1431
1427
|
type: 'string',
|
|
1432
1428
|
format: 'date-time',
|
|
1433
1429
|
},
|
|
1434
1430
|
},
|
|
1435
|
-
required: ['id'
|
|
1431
|
+
required: ['id'],
|
|
1436
1432
|
additionalProperties: false,
|
|
1437
1433
|
type: 'object',
|
|
1438
1434
|
} as const;
|
|
@@ -1478,30 +1474,34 @@ export const RoleMappingSchema = {
|
|
|
1478
1474
|
type: 'object',
|
|
1479
1475
|
} as const;
|
|
1480
1476
|
|
|
1481
|
-
export const
|
|
1477
|
+
export const RoleSchema = {
|
|
1482
1478
|
properties: {
|
|
1483
1479
|
id: {
|
|
1484
1480
|
type: 'string',
|
|
1485
1481
|
},
|
|
1486
|
-
|
|
1487
|
-
|
|
1488
|
-
description: 'time to live in seconds (2 weeks by default)',
|
|
1489
|
-
type: 'number',
|
|
1490
|
-
format: 'double',
|
|
1482
|
+
name: {
|
|
1483
|
+
type: 'string',
|
|
1491
1484
|
},
|
|
1492
|
-
|
|
1493
|
-
|
|
1494
|
-
type: 'array',
|
|
1495
|
-
items: {
|
|
1496
|
-
type: 'string',
|
|
1497
|
-
},
|
|
1485
|
+
description: {
|
|
1486
|
+
type: 'string',
|
|
1498
1487
|
},
|
|
1499
1488
|
created: {
|
|
1489
|
+
default: '$now',
|
|
1490
|
+
type: 'string',
|
|
1491
|
+
format: 'date-time',
|
|
1492
|
+
},
|
|
1493
|
+
modified: {
|
|
1494
|
+
default: '$now',
|
|
1495
|
+
type: 'string',
|
|
1496
|
+
format: 'date-time',
|
|
1497
|
+
},
|
|
1498
|
+
serverModified: {
|
|
1499
|
+
default: '$now',
|
|
1500
1500
|
type: 'string',
|
|
1501
1501
|
format: 'date-time',
|
|
1502
1502
|
},
|
|
1503
1503
|
},
|
|
1504
|
-
required: ['id'],
|
|
1504
|
+
required: ['id', 'name'],
|
|
1505
1505
|
additionalProperties: false,
|
|
1506
1506
|
type: 'object',
|
|
1507
1507
|
} as const;
|
|
@@ -1871,6 +1871,10 @@ export const FieldSchema = {
|
|
|
1871
1871
|
default: '',
|
|
1872
1872
|
type: 'string',
|
|
1873
1873
|
},
|
|
1874
|
+
validateFileUniqueness: {
|
|
1875
|
+
default: false,
|
|
1876
|
+
type: 'boolean',
|
|
1877
|
+
},
|
|
1874
1878
|
workflowId: {
|
|
1875
1879
|
type: 'string',
|
|
1876
1880
|
},
|
|
@@ -2229,76 +2233,6 @@ export const WorkflowSchema = {
|
|
|
2229
2233
|
type: 'object',
|
|
2230
2234
|
} as const;
|
|
2231
2235
|
|
|
2232
|
-
export const WorkflowNoteSchema = {
|
|
2233
|
-
properties: {
|
|
2234
|
-
id: {
|
|
2235
|
-
type: 'string',
|
|
2236
|
-
},
|
|
2237
|
-
sku: {
|
|
2238
|
-
default: '',
|
|
2239
|
-
type: 'string',
|
|
2240
|
-
},
|
|
2241
|
-
workflowName: {
|
|
2242
|
-
default: '',
|
|
2243
|
-
type: 'string',
|
|
2244
|
-
},
|
|
2245
|
-
skuRev: {
|
|
2246
|
-
default: '',
|
|
2247
|
-
type: 'string',
|
|
2248
|
-
},
|
|
2249
|
-
note: {
|
|
2250
|
-
default: '',
|
|
2251
|
-
type: 'string',
|
|
2252
|
-
},
|
|
2253
|
-
nodeTitle: {
|
|
2254
|
-
default: '',
|
|
2255
|
-
type: 'string',
|
|
2256
|
-
},
|
|
2257
|
-
_v: {
|
|
2258
|
-
default: 2,
|
|
2259
|
-
type: 'string',
|
|
2260
|
-
},
|
|
2261
|
-
closedTime: {
|
|
2262
|
-
type: 'string',
|
|
2263
|
-
format: 'date-time',
|
|
2264
|
-
},
|
|
2265
|
-
closed: {
|
|
2266
|
-
default: false,
|
|
2267
|
-
type: 'boolean',
|
|
2268
|
-
},
|
|
2269
|
-
createdBy: {
|
|
2270
|
-
type: 'string',
|
|
2271
|
-
},
|
|
2272
|
-
workflowId: {
|
|
2273
|
-
type: 'string',
|
|
2274
|
-
},
|
|
2275
|
-
created: {
|
|
2276
|
-
default: '$now',
|
|
2277
|
-
type: 'string',
|
|
2278
|
-
format: 'date-time',
|
|
2279
|
-
},
|
|
2280
|
-
modified: {
|
|
2281
|
-
default: '$now',
|
|
2282
|
-
type: 'string',
|
|
2283
|
-
format: 'date-time',
|
|
2284
|
-
},
|
|
2285
|
-
serverModified: {
|
|
2286
|
-
default: '$now',
|
|
2287
|
-
type: 'string',
|
|
2288
|
-
format: 'date-time',
|
|
2289
|
-
},
|
|
2290
|
-
nodeId: {
|
|
2291
|
-
type: 'string',
|
|
2292
|
-
},
|
|
2293
|
-
UserId: {
|
|
2294
|
-
type: 'string',
|
|
2295
|
-
},
|
|
2296
|
-
},
|
|
2297
|
-
required: ['id'],
|
|
2298
|
-
additionalProperties: false,
|
|
2299
|
-
type: 'object',
|
|
2300
|
-
} as const;
|
|
2301
|
-
|
|
2302
2236
|
export const AIPromptSchema = {
|
|
2303
2237
|
properties: {
|
|
2304
2238
|
prompt: {
|
|
@@ -2353,42 +2287,6 @@ export const AIPromptSchema = {
|
|
|
2353
2287
|
type: 'object',
|
|
2354
2288
|
} as const;
|
|
2355
2289
|
|
|
2356
|
-
export const WorkflowDetailsSchema = {
|
|
2357
|
-
properties: {
|
|
2358
|
-
id: {
|
|
2359
|
-
type: 'string',
|
|
2360
|
-
},
|
|
2361
|
-
recordId: {
|
|
2362
|
-
type: 'string',
|
|
2363
|
-
},
|
|
2364
|
-
created: {
|
|
2365
|
-
default: '$now',
|
|
2366
|
-
type: 'string',
|
|
2367
|
-
format: 'date-time',
|
|
2368
|
-
},
|
|
2369
|
-
modified: {
|
|
2370
|
-
default: '$now',
|
|
2371
|
-
type: 'string',
|
|
2372
|
-
format: 'date-time',
|
|
2373
|
-
},
|
|
2374
|
-
serverModified: {
|
|
2375
|
-
default: '$now',
|
|
2376
|
-
type: 'string',
|
|
2377
|
-
format: 'date-time',
|
|
2378
|
-
},
|
|
2379
|
-
deletedAt: {
|
|
2380
|
-
type: 'string',
|
|
2381
|
-
format: 'date-time',
|
|
2382
|
-
},
|
|
2383
|
-
deletedBy: {
|
|
2384
|
-
type: 'string',
|
|
2385
|
-
},
|
|
2386
|
-
},
|
|
2387
|
-
required: ['id', 'recordId'],
|
|
2388
|
-
additionalProperties: false,
|
|
2389
|
-
type: 'object',
|
|
2390
|
-
} as const;
|
|
2391
|
-
|
|
2392
2290
|
export const LocationSchema = {
|
|
2393
2291
|
properties: {
|
|
2394
2292
|
id: {
|
|
@@ -2925,6 +2823,12 @@ export const WorkorderSchema = {
|
|
|
2925
2823
|
type: 'string',
|
|
2926
2824
|
},
|
|
2927
2825
|
},
|
|
2826
|
+
C_BATCH_NUMBER: {
|
|
2827
|
+
type: 'string',
|
|
2828
|
+
},
|
|
2829
|
+
C_ROUTING_NO: {
|
|
2830
|
+
type: 'string',
|
|
2831
|
+
},
|
|
2928
2832
|
C_date: {
|
|
2929
2833
|
type: 'string',
|
|
2930
2834
|
format: 'date-time',
|
|
@@ -2944,185 +2848,85 @@ export const WorkorderSchema = {
|
|
|
2944
2848
|
type: 'object',
|
|
2945
2849
|
} as const;
|
|
2946
2850
|
|
|
2947
|
-
export const
|
|
2851
|
+
export const StockSchema = {
|
|
2948
2852
|
properties: {
|
|
2949
2853
|
id: {
|
|
2950
2854
|
type: 'string',
|
|
2951
2855
|
},
|
|
2952
|
-
|
|
2953
|
-
|
|
2954
|
-
|
|
2856
|
+
kitStatus: {
|
|
2857
|
+
default: false,
|
|
2858
|
+
type: 'boolean',
|
|
2955
2859
|
},
|
|
2956
|
-
|
|
2860
|
+
tags: {
|
|
2861
|
+
default: [],
|
|
2862
|
+
type: 'array',
|
|
2863
|
+
items: {
|
|
2864
|
+
$ref: '#/definitions/x-any',
|
|
2865
|
+
},
|
|
2866
|
+
},
|
|
2867
|
+
serviceCalls: {
|
|
2868
|
+
default: [],
|
|
2869
|
+
type: 'array',
|
|
2870
|
+
items: {
|
|
2871
|
+
$ref: '#/definitions/x-any',
|
|
2872
|
+
},
|
|
2873
|
+
},
|
|
2874
|
+
issueSufficientQuantity: {
|
|
2875
|
+
default: 0,
|
|
2957
2876
|
type: 'number',
|
|
2958
2877
|
format: 'double',
|
|
2959
2878
|
},
|
|
2960
|
-
|
|
2961
|
-
|
|
2879
|
+
needTimeLogCheck: {
|
|
2880
|
+
default: false,
|
|
2881
|
+
type: 'boolean',
|
|
2962
2882
|
},
|
|
2963
|
-
|
|
2883
|
+
status: {
|
|
2964
2884
|
type: 'string',
|
|
2965
2885
|
},
|
|
2966
|
-
|
|
2967
|
-
|
|
2968
|
-
|
|
2969
|
-
issuedToKit: {
|
|
2970
|
-
default: false,
|
|
2971
|
-
type: 'boolean',
|
|
2886
|
+
serial: {
|
|
2887
|
+
default: '',
|
|
2888
|
+
type: 'string',
|
|
2972
2889
|
},
|
|
2973
|
-
|
|
2974
|
-
default:
|
|
2975
|
-
type: '
|
|
2890
|
+
workorderNumber: {
|
|
2891
|
+
default: '',
|
|
2892
|
+
type: 'string',
|
|
2976
2893
|
},
|
|
2977
|
-
|
|
2894
|
+
sku: {
|
|
2895
|
+
default: '',
|
|
2978
2896
|
type: 'string',
|
|
2979
2897
|
},
|
|
2980
|
-
|
|
2898
|
+
skuDesc: {
|
|
2899
|
+
default: '',
|
|
2981
2900
|
type: 'string',
|
|
2982
2901
|
},
|
|
2983
|
-
|
|
2902
|
+
skuRev: {
|
|
2903
|
+
default: '',
|
|
2984
2904
|
type: 'string',
|
|
2985
2905
|
},
|
|
2986
|
-
|
|
2987
|
-
|
|
2906
|
+
priority: {
|
|
2907
|
+
default: 0,
|
|
2908
|
+
type: 'number',
|
|
2909
|
+
format: 'double',
|
|
2988
2910
|
},
|
|
2989
|
-
|
|
2990
|
-
default:
|
|
2911
|
+
indicator: {
|
|
2912
|
+
default: 0,
|
|
2913
|
+
type: 'number',
|
|
2914
|
+
format: 'double',
|
|
2915
|
+
},
|
|
2916
|
+
quantity: {
|
|
2917
|
+
default: 1,
|
|
2918
|
+
type: 'number',
|
|
2919
|
+
format: 'double',
|
|
2920
|
+
},
|
|
2921
|
+
start: {
|
|
2991
2922
|
type: 'string',
|
|
2992
2923
|
format: 'date-time',
|
|
2993
2924
|
},
|
|
2994
|
-
|
|
2995
|
-
default: '$now',
|
|
2925
|
+
end: {
|
|
2996
2926
|
type: 'string',
|
|
2997
2927
|
format: 'date-time',
|
|
2998
2928
|
},
|
|
2999
|
-
|
|
3000
|
-
default: '$now',
|
|
3001
|
-
type: 'string',
|
|
3002
|
-
format: 'date-time',
|
|
3003
|
-
},
|
|
3004
|
-
},
|
|
3005
|
-
required: [
|
|
3006
|
-
'id',
|
|
3007
|
-
'quantity',
|
|
3008
|
-
'issuedQuantity',
|
|
3009
|
-
'sku',
|
|
3010
|
-
'partDesc',
|
|
3011
|
-
'isSerial',
|
|
3012
|
-
'issuedToKit',
|
|
3013
|
-
'unit',
|
|
3014
|
-
],
|
|
3015
|
-
additionalProperties: false,
|
|
3016
|
-
type: 'object',
|
|
3017
|
-
} as const;
|
|
3018
|
-
|
|
3019
|
-
export const WorkorderActionSchema = {
|
|
3020
|
-
properties: {
|
|
3021
|
-
id: {
|
|
3022
|
-
type: 'string',
|
|
3023
|
-
},
|
|
3024
|
-
actCode: {
|
|
3025
|
-
type: 'string',
|
|
3026
|
-
},
|
|
3027
|
-
actDesc: {
|
|
3028
|
-
type: 'string',
|
|
3029
|
-
},
|
|
3030
|
-
workCenter: {
|
|
3031
|
-
type: 'string',
|
|
3032
|
-
},
|
|
3033
|
-
allowedQty: {
|
|
3034
|
-
type: 'number',
|
|
3035
|
-
format: 'double',
|
|
3036
|
-
},
|
|
3037
|
-
completedQty: {
|
|
3038
|
-
type: 'number',
|
|
3039
|
-
format: 'double',
|
|
3040
|
-
},
|
|
3041
|
-
},
|
|
3042
|
-
required: ['id'],
|
|
3043
|
-
additionalProperties: false,
|
|
3044
|
-
type: 'object',
|
|
3045
|
-
} as const;
|
|
3046
|
-
|
|
3047
|
-
export const StockSchema = {
|
|
3048
|
-
properties: {
|
|
3049
|
-
id: {
|
|
3050
|
-
type: 'string',
|
|
3051
|
-
},
|
|
3052
|
-
kitStatus: {
|
|
3053
|
-
default: false,
|
|
3054
|
-
type: 'boolean',
|
|
3055
|
-
},
|
|
3056
|
-
tags: {
|
|
3057
|
-
default: [],
|
|
3058
|
-
type: 'array',
|
|
3059
|
-
items: {
|
|
3060
|
-
$ref: '#/definitions/x-any',
|
|
3061
|
-
},
|
|
3062
|
-
},
|
|
3063
|
-
serviceCalls: {
|
|
3064
|
-
default: [],
|
|
3065
|
-
type: 'array',
|
|
3066
|
-
items: {
|
|
3067
|
-
$ref: '#/definitions/x-any',
|
|
3068
|
-
},
|
|
3069
|
-
},
|
|
3070
|
-
issueSufficientQuantity: {
|
|
3071
|
-
default: 0,
|
|
3072
|
-
type: 'number',
|
|
3073
|
-
format: 'double',
|
|
3074
|
-
},
|
|
3075
|
-
needTimeLogCheck: {
|
|
3076
|
-
default: false,
|
|
3077
|
-
type: 'boolean',
|
|
3078
|
-
},
|
|
3079
|
-
status: {
|
|
3080
|
-
type: 'string',
|
|
3081
|
-
},
|
|
3082
|
-
serial: {
|
|
3083
|
-
default: '',
|
|
3084
|
-
type: 'string',
|
|
3085
|
-
},
|
|
3086
|
-
workorderNumber: {
|
|
3087
|
-
default: '',
|
|
3088
|
-
type: 'string',
|
|
3089
|
-
},
|
|
3090
|
-
sku: {
|
|
3091
|
-
default: '',
|
|
3092
|
-
type: 'string',
|
|
3093
|
-
},
|
|
3094
|
-
skuDesc: {
|
|
3095
|
-
default: '',
|
|
3096
|
-
type: 'string',
|
|
3097
|
-
},
|
|
3098
|
-
skuRev: {
|
|
3099
|
-
default: '',
|
|
3100
|
-
type: 'string',
|
|
3101
|
-
},
|
|
3102
|
-
priority: {
|
|
3103
|
-
default: 0,
|
|
3104
|
-
type: 'number',
|
|
3105
|
-
format: 'double',
|
|
3106
|
-
},
|
|
3107
|
-
indicator: {
|
|
3108
|
-
default: 0,
|
|
3109
|
-
type: 'number',
|
|
3110
|
-
format: 'double',
|
|
3111
|
-
},
|
|
3112
|
-
quantity: {
|
|
3113
|
-
default: 1,
|
|
3114
|
-
type: 'number',
|
|
3115
|
-
format: 'double',
|
|
3116
|
-
},
|
|
3117
|
-
start: {
|
|
3118
|
-
type: 'string',
|
|
3119
|
-
format: 'date-time',
|
|
3120
|
-
},
|
|
3121
|
-
end: {
|
|
3122
|
-
type: 'string',
|
|
3123
|
-
format: 'date-time',
|
|
3124
|
-
},
|
|
3125
|
-
expirationDate: {
|
|
2929
|
+
expirationDate: {
|
|
3126
2930
|
type: 'string',
|
|
3127
2931
|
format: 'date-time',
|
|
3128
2932
|
},
|
|
@@ -3280,244 +3084,148 @@ export const StockSchema = {
|
|
|
3280
3084
|
type: 'object',
|
|
3281
3085
|
} as const;
|
|
3282
3086
|
|
|
3283
|
-
export const
|
|
3087
|
+
export const PagesSchema = {
|
|
3284
3088
|
properties: {
|
|
3285
3089
|
id: {
|
|
3286
3090
|
type: 'string',
|
|
3287
3091
|
},
|
|
3288
|
-
|
|
3092
|
+
title: {
|
|
3289
3093
|
type: 'string',
|
|
3290
3094
|
},
|
|
3291
|
-
|
|
3292
|
-
|
|
3293
|
-
type: 'array',
|
|
3294
|
-
items: {
|
|
3295
|
-
$ref: '#/definitions/x-any',
|
|
3296
|
-
},
|
|
3095
|
+
content: {
|
|
3096
|
+
type: 'string',
|
|
3297
3097
|
},
|
|
3298
|
-
|
|
3299
|
-
default:
|
|
3300
|
-
type: '
|
|
3301
|
-
|
|
3302
|
-
$ref: '#/definitions/x-any',
|
|
3303
|
-
},
|
|
3098
|
+
created: {
|
|
3099
|
+
default: '$now',
|
|
3100
|
+
type: 'string',
|
|
3101
|
+
format: 'date-time',
|
|
3304
3102
|
},
|
|
3305
|
-
|
|
3306
|
-
default:
|
|
3307
|
-
type: '
|
|
3308
|
-
|
|
3309
|
-
$ref: '#/definitions/x-any',
|
|
3310
|
-
},
|
|
3103
|
+
modified: {
|
|
3104
|
+
default: '$now',
|
|
3105
|
+
type: 'string',
|
|
3106
|
+
format: 'date-time',
|
|
3311
3107
|
},
|
|
3312
|
-
|
|
3313
|
-
default:
|
|
3314
|
-
type: '
|
|
3315
|
-
|
|
3316
|
-
$ref: '#/definitions/x-any',
|
|
3317
|
-
},
|
|
3108
|
+
serverModified: {
|
|
3109
|
+
default: '$now',
|
|
3110
|
+
type: 'string',
|
|
3111
|
+
format: 'date-time',
|
|
3318
3112
|
},
|
|
3319
|
-
|
|
3320
|
-
|
|
3321
|
-
|
|
3322
|
-
items: {
|
|
3323
|
-
$ref: '#/definitions/x-any',
|
|
3324
|
-
},
|
|
3113
|
+
deletedAt: {
|
|
3114
|
+
type: 'string',
|
|
3115
|
+
format: 'date-time',
|
|
3325
3116
|
},
|
|
3326
|
-
|
|
3117
|
+
deletedBy: {
|
|
3327
3118
|
type: 'string',
|
|
3328
3119
|
},
|
|
3329
|
-
|
|
3120
|
+
UserId: {
|
|
3330
3121
|
type: 'string',
|
|
3331
3122
|
},
|
|
3332
|
-
|
|
3123
|
+
},
|
|
3124
|
+
required: ['id'],
|
|
3125
|
+
additionalProperties: false,
|
|
3126
|
+
type: 'object',
|
|
3127
|
+
} as const;
|
|
3128
|
+
|
|
3129
|
+
export const MenusSchema = {
|
|
3130
|
+
properties: {
|
|
3131
|
+
id: {
|
|
3333
3132
|
type: 'string',
|
|
3334
3133
|
},
|
|
3335
|
-
|
|
3134
|
+
title: {
|
|
3336
3135
|
type: 'string',
|
|
3337
3136
|
},
|
|
3338
|
-
|
|
3339
|
-
|
|
3340
|
-
type: 'array',
|
|
3341
|
-
items: {
|
|
3342
|
-
$ref: '#/definitions/x-any',
|
|
3343
|
-
},
|
|
3137
|
+
baseId: {
|
|
3138
|
+
type: 'string',
|
|
3344
3139
|
},
|
|
3345
|
-
|
|
3346
|
-
|
|
3347
|
-
type: 'array',
|
|
3348
|
-
items: {
|
|
3349
|
-
$ref: '#/definitions/x-any',
|
|
3350
|
-
},
|
|
3140
|
+
settings: {
|
|
3141
|
+
type: 'object',
|
|
3351
3142
|
},
|
|
3352
|
-
|
|
3353
|
-
default:
|
|
3354
|
-
type: '
|
|
3355
|
-
|
|
3356
|
-
$ref: '#/definitions/x-any',
|
|
3357
|
-
},
|
|
3143
|
+
created: {
|
|
3144
|
+
default: '$now',
|
|
3145
|
+
type: 'string',
|
|
3146
|
+
format: 'date-time',
|
|
3358
3147
|
},
|
|
3359
|
-
|
|
3360
|
-
default:
|
|
3361
|
-
type: '
|
|
3362
|
-
|
|
3363
|
-
$ref: '#/definitions/x-any',
|
|
3364
|
-
},
|
|
3148
|
+
modified: {
|
|
3149
|
+
default: '$now',
|
|
3150
|
+
type: 'string',
|
|
3151
|
+
format: 'date-time',
|
|
3365
3152
|
},
|
|
3366
|
-
|
|
3367
|
-
|
|
3368
|
-
|
|
3369
|
-
|
|
3370
|
-
},
|
|
3153
|
+
serverModified: {
|
|
3154
|
+
default: '$now',
|
|
3155
|
+
type: 'string',
|
|
3156
|
+
format: 'date-time',
|
|
3371
3157
|
},
|
|
3372
|
-
|
|
3373
|
-
|
|
3374
|
-
type: 'array',
|
|
3375
|
-
items: {
|
|
3376
|
-
$ref: '#/definitions/x-any',
|
|
3377
|
-
},
|
|
3158
|
+
UserId: {
|
|
3159
|
+
type: 'string',
|
|
3378
3160
|
},
|
|
3379
|
-
|
|
3380
|
-
|
|
3381
|
-
|
|
3161
|
+
},
|
|
3162
|
+
required: ['id'],
|
|
3163
|
+
additionalProperties: false,
|
|
3164
|
+
type: 'object',
|
|
3165
|
+
} as const;
|
|
3166
|
+
|
|
3167
|
+
export const RuleSchema = {
|
|
3168
|
+
properties: {
|
|
3169
|
+
id: {
|
|
3170
|
+
type: 'string',
|
|
3382
3171
|
},
|
|
3383
|
-
|
|
3384
|
-
default: '
|
|
3172
|
+
name: {
|
|
3173
|
+
default: '',
|
|
3385
3174
|
type: 'string',
|
|
3386
3175
|
},
|
|
3387
|
-
|
|
3388
|
-
default:
|
|
3389
|
-
type: '
|
|
3390
|
-
format: 'double',
|
|
3176
|
+
description: {
|
|
3177
|
+
default: '',
|
|
3178
|
+
type: 'string',
|
|
3391
3179
|
},
|
|
3392
|
-
|
|
3393
|
-
default:
|
|
3394
|
-
type: '
|
|
3395
|
-
format: 'double',
|
|
3180
|
+
builtin: {
|
|
3181
|
+
default: false,
|
|
3182
|
+
type: 'boolean',
|
|
3396
3183
|
},
|
|
3397
|
-
|
|
3398
|
-
default:
|
|
3399
|
-
type: '
|
|
3400
|
-
items: {
|
|
3401
|
-
$ref: '#/definitions/x-any',
|
|
3402
|
-
},
|
|
3184
|
+
disableUse: {
|
|
3185
|
+
default: false,
|
|
3186
|
+
type: 'boolean',
|
|
3403
3187
|
},
|
|
3404
|
-
|
|
3188
|
+
created: {
|
|
3189
|
+
default: '$now',
|
|
3405
3190
|
type: 'string',
|
|
3406
3191
|
format: 'date-time',
|
|
3407
3192
|
},
|
|
3408
|
-
|
|
3193
|
+
modified: {
|
|
3194
|
+
default: '$now',
|
|
3409
3195
|
type: 'string',
|
|
3410
3196
|
format: 'date-time',
|
|
3411
3197
|
},
|
|
3412
|
-
|
|
3413
|
-
|
|
3414
|
-
},
|
|
3415
|
-
activeUserId: {
|
|
3416
|
-
type: 'array',
|
|
3417
|
-
items: {
|
|
3418
|
-
type: 'string',
|
|
3419
|
-
},
|
|
3420
|
-
},
|
|
3421
|
-
stockIds: {
|
|
3422
|
-
type: 'array',
|
|
3423
|
-
items: {
|
|
3424
|
-
type: 'string',
|
|
3425
|
-
},
|
|
3426
|
-
},
|
|
3427
|
-
nextChapterId: {
|
|
3428
|
-
type: 'string',
|
|
3429
|
-
},
|
|
3430
|
-
nextChapterName: {
|
|
3431
|
-
type: 'string',
|
|
3432
|
-
},
|
|
3433
|
-
nextNodeId: {
|
|
3434
|
-
type: 'string',
|
|
3435
|
-
},
|
|
3436
|
-
nextNodeName: {
|
|
3198
|
+
serverModified: {
|
|
3199
|
+
default: '$now',
|
|
3437
3200
|
type: 'string',
|
|
3201
|
+
format: 'date-time',
|
|
3438
3202
|
},
|
|
3439
|
-
|
|
3203
|
+
UserId: {
|
|
3440
3204
|
type: 'string',
|
|
3441
3205
|
},
|
|
3442
|
-
|
|
3443
|
-
|
|
3444
|
-
|
|
3445
|
-
|
|
3446
|
-
|
|
3447
|
-
|
|
3448
|
-
|
|
3449
|
-
|
|
3450
|
-
|
|
3451
|
-
},
|
|
3452
|
-
},
|
|
3453
|
-
configuration: {
|
|
3454
|
-
default: [],
|
|
3455
|
-
type: 'array',
|
|
3456
|
-
items: {
|
|
3457
|
-
$ref: '#/definitions/x-any',
|
|
3458
|
-
},
|
|
3459
|
-
},
|
|
3460
|
-
parentSessionId: {
|
|
3206
|
+
},
|
|
3207
|
+
required: ['id', 'name'],
|
|
3208
|
+
additionalProperties: false,
|
|
3209
|
+
type: 'object',
|
|
3210
|
+
} as const;
|
|
3211
|
+
|
|
3212
|
+
export const CategorySchema = {
|
|
3213
|
+
properties: {
|
|
3214
|
+
id: {
|
|
3461
3215
|
type: 'string',
|
|
3462
3216
|
},
|
|
3463
|
-
|
|
3217
|
+
name: {
|
|
3218
|
+
default: '',
|
|
3464
3219
|
type: 'string',
|
|
3465
3220
|
},
|
|
3466
|
-
|
|
3221
|
+
parentId: {
|
|
3467
3222
|
type: 'string',
|
|
3468
3223
|
},
|
|
3469
|
-
|
|
3470
|
-
default: [],
|
|
3471
|
-
type: 'array',
|
|
3472
|
-
items: {
|
|
3473
|
-
$ref: '#/definitions/x-any',
|
|
3474
|
-
},
|
|
3475
|
-
},
|
|
3476
|
-
activeUserIdsByUniqueId: {
|
|
3477
|
-
default: [],
|
|
3478
|
-
type: 'array',
|
|
3479
|
-
items: {
|
|
3480
|
-
$ref: '#/definitions/x-any',
|
|
3481
|
-
},
|
|
3482
|
-
},
|
|
3483
|
-
connectionsPath: {
|
|
3484
|
-
default: [],
|
|
3485
|
-
type: 'array',
|
|
3486
|
-
items: {
|
|
3487
|
-
$ref: '#/definitions/x-any',
|
|
3488
|
-
},
|
|
3489
|
-
},
|
|
3490
|
-
quantity: {
|
|
3491
|
-
default: 1,
|
|
3492
|
-
type: 'number',
|
|
3493
|
-
format: 'double',
|
|
3494
|
-
},
|
|
3495
|
-
invalidQuantity: {
|
|
3224
|
+
weight: {
|
|
3496
3225
|
default: 0,
|
|
3497
3226
|
type: 'number',
|
|
3498
3227
|
format: 'double',
|
|
3499
3228
|
},
|
|
3500
|
-
validQuantity: {
|
|
3501
|
-
default: 1,
|
|
3502
|
-
type: 'number',
|
|
3503
|
-
format: 'double',
|
|
3504
|
-
},
|
|
3505
|
-
groups: {
|
|
3506
|
-
default: [],
|
|
3507
|
-
type: 'array',
|
|
3508
|
-
items: {
|
|
3509
|
-
$ref: '#/definitions/x-any',
|
|
3510
|
-
},
|
|
3511
|
-
},
|
|
3512
|
-
workflowId: {
|
|
3513
|
-
type: 'string',
|
|
3514
|
-
},
|
|
3515
|
-
scromSessionIds: {
|
|
3516
|
-
type: 'array',
|
|
3517
|
-
items: {
|
|
3518
|
-
type: 'string',
|
|
3519
|
-
},
|
|
3520
|
-
},
|
|
3521
3229
|
created: {
|
|
3522
3230
|
default: '$now',
|
|
3523
3231
|
type: 'string',
|
|
@@ -3533,23 +3241,16 @@ export const WorkflowSessionItemSchema = {
|
|
|
3533
3241
|
type: 'string',
|
|
3534
3242
|
format: 'date-time',
|
|
3535
3243
|
},
|
|
3536
|
-
|
|
3537
|
-
type: 'string',
|
|
3538
|
-
format: 'date-time',
|
|
3539
|
-
},
|
|
3540
|
-
deletedBy: {
|
|
3541
|
-
type: 'string',
|
|
3542
|
-
},
|
|
3543
|
-
createdBy: {
|
|
3244
|
+
UserId: {
|
|
3544
3245
|
type: 'string',
|
|
3545
3246
|
},
|
|
3546
3247
|
},
|
|
3547
|
-
required: ['id'],
|
|
3248
|
+
required: ['id', 'name'],
|
|
3548
3249
|
additionalProperties: false,
|
|
3549
3250
|
type: 'object',
|
|
3550
3251
|
} as const;
|
|
3551
3252
|
|
|
3552
|
-
export const
|
|
3253
|
+
export const ForumSchema = {
|
|
3553
3254
|
properties: {
|
|
3554
3255
|
id: {
|
|
3555
3256
|
type: 'string',
|
|
@@ -3557,34 +3258,8 @@ export const WorkflowTypeSchema = {
|
|
|
3557
3258
|
name: {
|
|
3558
3259
|
type: 'string',
|
|
3559
3260
|
},
|
|
3560
|
-
|
|
3561
|
-
|
|
3562
|
-
type: 'boolean',
|
|
3563
|
-
},
|
|
3564
|
-
createStock: {
|
|
3565
|
-
default: false,
|
|
3566
|
-
type: 'boolean',
|
|
3567
|
-
},
|
|
3568
|
-
erpWorkorderDefault: {
|
|
3569
|
-
default: false,
|
|
3570
|
-
type: 'boolean',
|
|
3571
|
-
},
|
|
3572
|
-
erpServiceDefault: {
|
|
3573
|
-
default: false,
|
|
3574
|
-
type: 'boolean',
|
|
3575
|
-
},
|
|
3576
|
-
localDefault: {
|
|
3577
|
-
default: false,
|
|
3578
|
-
type: 'boolean',
|
|
3579
|
-
},
|
|
3580
|
-
builtin: {
|
|
3581
|
-
default: false,
|
|
3582
|
-
type: 'boolean',
|
|
3583
|
-
},
|
|
3584
|
-
_v: {
|
|
3585
|
-
default: 1,
|
|
3586
|
-
type: 'number',
|
|
3587
|
-
format: 'double',
|
|
3261
|
+
image: {
|
|
3262
|
+
type: 'string',
|
|
3588
3263
|
},
|
|
3589
3264
|
created: {
|
|
3590
3265
|
default: '$now',
|
|
@@ -3611,71 +3286,49 @@ export const WorkflowTypeSchema = {
|
|
|
3611
3286
|
UserId: {
|
|
3612
3287
|
type: 'string',
|
|
3613
3288
|
},
|
|
3614
|
-
|
|
3615
|
-
required: ['id', 'name'],
|
|
3616
|
-
additionalProperties: false,
|
|
3617
|
-
type: 'object',
|
|
3618
|
-
} as const;
|
|
3619
|
-
|
|
3620
|
-
export const TimeLogSchema = {
|
|
3621
|
-
properties: {
|
|
3622
|
-
id: {
|
|
3623
|
-
type: 'string',
|
|
3624
|
-
},
|
|
3625
|
-
preparationTime: {
|
|
3626
|
-
default: [],
|
|
3289
|
+
groups: {
|
|
3627
3290
|
type: 'array',
|
|
3628
3291
|
items: {
|
|
3629
|
-
|
|
3292
|
+
type: 'string',
|
|
3630
3293
|
},
|
|
3631
3294
|
},
|
|
3632
|
-
applyTime: {
|
|
3633
|
-
type: 'string',
|
|
3634
|
-
format: 'date-time',
|
|
3635
|
-
},
|
|
3636
|
-
cureTime: {
|
|
3637
|
-
type: 'string',
|
|
3638
|
-
format: 'date-time',
|
|
3639
|
-
},
|
|
3640
3295
|
},
|
|
3641
3296
|
required: ['id'],
|
|
3642
3297
|
additionalProperties: false,
|
|
3643
3298
|
type: 'object',
|
|
3644
3299
|
} as const;
|
|
3645
3300
|
|
|
3646
|
-
export const
|
|
3301
|
+
export const PostSchema = {
|
|
3647
3302
|
properties: {
|
|
3648
3303
|
id: {
|
|
3649
3304
|
type: 'string',
|
|
3650
3305
|
},
|
|
3651
|
-
|
|
3306
|
+
name: {
|
|
3652
3307
|
type: 'string',
|
|
3653
3308
|
},
|
|
3654
|
-
|
|
3309
|
+
content: {
|
|
3655
3310
|
type: 'string',
|
|
3656
3311
|
},
|
|
3657
|
-
|
|
3312
|
+
plainContent: {
|
|
3658
3313
|
type: 'string',
|
|
3659
3314
|
},
|
|
3660
|
-
|
|
3661
|
-
|
|
3662
|
-
|
|
3315
|
+
forumId: {
|
|
3316
|
+
default: '',
|
|
3317
|
+
type: 'string',
|
|
3663
3318
|
},
|
|
3664
|
-
|
|
3665
|
-
|
|
3666
|
-
additionalProperties: false,
|
|
3667
|
-
type: 'object',
|
|
3668
|
-
} as const;
|
|
3669
|
-
|
|
3670
|
-
export const PagesSchema = {
|
|
3671
|
-
properties: {
|
|
3672
|
-
id: {
|
|
3319
|
+
contentPackageId: {
|
|
3320
|
+
default: '',
|
|
3673
3321
|
type: 'string',
|
|
3674
3322
|
},
|
|
3675
|
-
|
|
3323
|
+
workflowId: {
|
|
3324
|
+
default: '',
|
|
3676
3325
|
type: 'string',
|
|
3677
3326
|
},
|
|
3678
|
-
|
|
3327
|
+
nodeId: {
|
|
3328
|
+
default: '',
|
|
3329
|
+
type: 'string',
|
|
3330
|
+
},
|
|
3331
|
+
UserId: {
|
|
3679
3332
|
type: 'string',
|
|
3680
3333
|
},
|
|
3681
3334
|
created: {
|
|
@@ -3700,260 +3353,24 @@ export const PagesSchema = {
|
|
|
3700
3353
|
deletedBy: {
|
|
3701
3354
|
type: 'string',
|
|
3702
3355
|
},
|
|
3703
|
-
UserId: {
|
|
3704
|
-
type: 'string',
|
|
3705
|
-
},
|
|
3706
3356
|
},
|
|
3707
3357
|
required: ['id'],
|
|
3708
3358
|
additionalProperties: false,
|
|
3709
3359
|
type: 'object',
|
|
3710
3360
|
} as const;
|
|
3711
3361
|
|
|
3712
|
-
export const
|
|
3362
|
+
export const CommentSchema = {
|
|
3713
3363
|
properties: {
|
|
3714
3364
|
id: {
|
|
3715
3365
|
type: 'string',
|
|
3716
3366
|
},
|
|
3717
|
-
|
|
3367
|
+
content: {
|
|
3718
3368
|
type: 'string',
|
|
3719
3369
|
},
|
|
3720
|
-
|
|
3370
|
+
plainContent: {
|
|
3721
3371
|
type: 'string',
|
|
3722
3372
|
},
|
|
3723
|
-
|
|
3724
|
-
type: 'object',
|
|
3725
|
-
},
|
|
3726
|
-
created: {
|
|
3727
|
-
default: '$now',
|
|
3728
|
-
type: 'string',
|
|
3729
|
-
format: 'date-time',
|
|
3730
|
-
},
|
|
3731
|
-
modified: {
|
|
3732
|
-
default: '$now',
|
|
3733
|
-
type: 'string',
|
|
3734
|
-
format: 'date-time',
|
|
3735
|
-
},
|
|
3736
|
-
serverModified: {
|
|
3737
|
-
default: '$now',
|
|
3738
|
-
type: 'string',
|
|
3739
|
-
format: 'date-time',
|
|
3740
|
-
},
|
|
3741
|
-
UserId: {
|
|
3742
|
-
type: 'string',
|
|
3743
|
-
},
|
|
3744
|
-
},
|
|
3745
|
-
required: ['id'],
|
|
3746
|
-
additionalProperties: false,
|
|
3747
|
-
type: 'object',
|
|
3748
|
-
} as const;
|
|
3749
|
-
|
|
3750
|
-
export const RuleSchema = {
|
|
3751
|
-
properties: {
|
|
3752
|
-
id: {
|
|
3753
|
-
type: 'string',
|
|
3754
|
-
},
|
|
3755
|
-
name: {
|
|
3756
|
-
default: '',
|
|
3757
|
-
type: 'string',
|
|
3758
|
-
},
|
|
3759
|
-
description: {
|
|
3760
|
-
default: '',
|
|
3761
|
-
type: 'string',
|
|
3762
|
-
},
|
|
3763
|
-
builtin: {
|
|
3764
|
-
default: false,
|
|
3765
|
-
type: 'boolean',
|
|
3766
|
-
},
|
|
3767
|
-
disableUse: {
|
|
3768
|
-
default: false,
|
|
3769
|
-
type: 'boolean',
|
|
3770
|
-
},
|
|
3771
|
-
created: {
|
|
3772
|
-
default: '$now',
|
|
3773
|
-
type: 'string',
|
|
3774
|
-
format: 'date-time',
|
|
3775
|
-
},
|
|
3776
|
-
modified: {
|
|
3777
|
-
default: '$now',
|
|
3778
|
-
type: 'string',
|
|
3779
|
-
format: 'date-time',
|
|
3780
|
-
},
|
|
3781
|
-
serverModified: {
|
|
3782
|
-
default: '$now',
|
|
3783
|
-
type: 'string',
|
|
3784
|
-
format: 'date-time',
|
|
3785
|
-
},
|
|
3786
|
-
UserId: {
|
|
3787
|
-
type: 'string',
|
|
3788
|
-
},
|
|
3789
|
-
},
|
|
3790
|
-
required: ['id', 'name'],
|
|
3791
|
-
additionalProperties: false,
|
|
3792
|
-
type: 'object',
|
|
3793
|
-
} as const;
|
|
3794
|
-
|
|
3795
|
-
export const CategorySchema = {
|
|
3796
|
-
properties: {
|
|
3797
|
-
id: {
|
|
3798
|
-
type: 'string',
|
|
3799
|
-
},
|
|
3800
|
-
name: {
|
|
3801
|
-
default: '',
|
|
3802
|
-
type: 'string',
|
|
3803
|
-
},
|
|
3804
|
-
parentId: {
|
|
3805
|
-
type: 'string',
|
|
3806
|
-
},
|
|
3807
|
-
weight: {
|
|
3808
|
-
default: 0,
|
|
3809
|
-
type: 'number',
|
|
3810
|
-
format: 'double',
|
|
3811
|
-
},
|
|
3812
|
-
created: {
|
|
3813
|
-
default: '$now',
|
|
3814
|
-
type: 'string',
|
|
3815
|
-
format: 'date-time',
|
|
3816
|
-
},
|
|
3817
|
-
modified: {
|
|
3818
|
-
default: '$now',
|
|
3819
|
-
type: 'string',
|
|
3820
|
-
format: 'date-time',
|
|
3821
|
-
},
|
|
3822
|
-
serverModified: {
|
|
3823
|
-
default: '$now',
|
|
3824
|
-
type: 'string',
|
|
3825
|
-
format: 'date-time',
|
|
3826
|
-
},
|
|
3827
|
-
UserId: {
|
|
3828
|
-
type: 'string',
|
|
3829
|
-
},
|
|
3830
|
-
},
|
|
3831
|
-
required: ['id', 'name'],
|
|
3832
|
-
additionalProperties: false,
|
|
3833
|
-
type: 'object',
|
|
3834
|
-
} as const;
|
|
3835
|
-
|
|
3836
|
-
export const ForumSchema = {
|
|
3837
|
-
properties: {
|
|
3838
|
-
id: {
|
|
3839
|
-
type: 'string',
|
|
3840
|
-
},
|
|
3841
|
-
name: {
|
|
3842
|
-
type: 'string',
|
|
3843
|
-
},
|
|
3844
|
-
image: {
|
|
3845
|
-
type: 'string',
|
|
3846
|
-
},
|
|
3847
|
-
created: {
|
|
3848
|
-
default: '$now',
|
|
3849
|
-
type: 'string',
|
|
3850
|
-
format: 'date-time',
|
|
3851
|
-
},
|
|
3852
|
-
modified: {
|
|
3853
|
-
default: '$now',
|
|
3854
|
-
type: 'string',
|
|
3855
|
-
format: 'date-time',
|
|
3856
|
-
},
|
|
3857
|
-
serverModified: {
|
|
3858
|
-
default: '$now',
|
|
3859
|
-
type: 'string',
|
|
3860
|
-
format: 'date-time',
|
|
3861
|
-
},
|
|
3862
|
-
deletedAt: {
|
|
3863
|
-
type: 'string',
|
|
3864
|
-
format: 'date-time',
|
|
3865
|
-
},
|
|
3866
|
-
deletedBy: {
|
|
3867
|
-
type: 'string',
|
|
3868
|
-
},
|
|
3869
|
-
UserId: {
|
|
3870
|
-
type: 'string',
|
|
3871
|
-
},
|
|
3872
|
-
groups: {
|
|
3873
|
-
type: 'array',
|
|
3874
|
-
items: {
|
|
3875
|
-
type: 'string',
|
|
3876
|
-
},
|
|
3877
|
-
},
|
|
3878
|
-
},
|
|
3879
|
-
required: ['id'],
|
|
3880
|
-
additionalProperties: false,
|
|
3881
|
-
type: 'object',
|
|
3882
|
-
} as const;
|
|
3883
|
-
|
|
3884
|
-
export const PostSchema = {
|
|
3885
|
-
properties: {
|
|
3886
|
-
id: {
|
|
3887
|
-
type: 'string',
|
|
3888
|
-
},
|
|
3889
|
-
name: {
|
|
3890
|
-
type: 'string',
|
|
3891
|
-
},
|
|
3892
|
-
content: {
|
|
3893
|
-
type: 'string',
|
|
3894
|
-
},
|
|
3895
|
-
plainContent: {
|
|
3896
|
-
type: 'string',
|
|
3897
|
-
},
|
|
3898
|
-
forumId: {
|
|
3899
|
-
default: '',
|
|
3900
|
-
type: 'string',
|
|
3901
|
-
},
|
|
3902
|
-
contentPackageId: {
|
|
3903
|
-
default: '',
|
|
3904
|
-
type: 'string',
|
|
3905
|
-
},
|
|
3906
|
-
workflowId: {
|
|
3907
|
-
default: '',
|
|
3908
|
-
type: 'string',
|
|
3909
|
-
},
|
|
3910
|
-
nodeId: {
|
|
3911
|
-
default: '',
|
|
3912
|
-
type: 'string',
|
|
3913
|
-
},
|
|
3914
|
-
UserId: {
|
|
3915
|
-
type: 'string',
|
|
3916
|
-
},
|
|
3917
|
-
created: {
|
|
3918
|
-
default: '$now',
|
|
3919
|
-
type: 'string',
|
|
3920
|
-
format: 'date-time',
|
|
3921
|
-
},
|
|
3922
|
-
modified: {
|
|
3923
|
-
default: '$now',
|
|
3924
|
-
type: 'string',
|
|
3925
|
-
format: 'date-time',
|
|
3926
|
-
},
|
|
3927
|
-
serverModified: {
|
|
3928
|
-
default: '$now',
|
|
3929
|
-
type: 'string',
|
|
3930
|
-
format: 'date-time',
|
|
3931
|
-
},
|
|
3932
|
-
deletedAt: {
|
|
3933
|
-
type: 'string',
|
|
3934
|
-
format: 'date-time',
|
|
3935
|
-
},
|
|
3936
|
-
deletedBy: {
|
|
3937
|
-
type: 'string',
|
|
3938
|
-
},
|
|
3939
|
-
},
|
|
3940
|
-
required: ['id'],
|
|
3941
|
-
additionalProperties: false,
|
|
3942
|
-
type: 'object',
|
|
3943
|
-
} as const;
|
|
3944
|
-
|
|
3945
|
-
export const CommentSchema = {
|
|
3946
|
-
properties: {
|
|
3947
|
-
id: {
|
|
3948
|
-
type: 'string',
|
|
3949
|
-
},
|
|
3950
|
-
content: {
|
|
3951
|
-
type: 'string',
|
|
3952
|
-
},
|
|
3953
|
-
plainContent: {
|
|
3954
|
-
type: 'string',
|
|
3955
|
-
},
|
|
3956
|
-
postId: {
|
|
3373
|
+
postId: {
|
|
3957
3374
|
type: 'string',
|
|
3958
3375
|
},
|
|
3959
3376
|
parentId: {
|
|
@@ -4701,66 +4118,377 @@ export const FormDataSchema = {
|
|
|
4701
4118
|
closeComments: {
|
|
4702
4119
|
type: 'string',
|
|
4703
4120
|
},
|
|
4704
|
-
fields: {
|
|
4121
|
+
fields: {
|
|
4122
|
+
default: [],
|
|
4123
|
+
type: 'array',
|
|
4124
|
+
items: {
|
|
4125
|
+
$ref: '#/definitions/x-any',
|
|
4126
|
+
},
|
|
4127
|
+
},
|
|
4128
|
+
statuses: {
|
|
4129
|
+
default: [],
|
|
4130
|
+
type: 'array',
|
|
4131
|
+
items: {
|
|
4132
|
+
$ref: '#/definitions/x-any',
|
|
4133
|
+
},
|
|
4134
|
+
},
|
|
4135
|
+
changeLog: {
|
|
4136
|
+
default: [],
|
|
4137
|
+
type: 'array',
|
|
4138
|
+
items: {
|
|
4139
|
+
$ref: '#/definitions/x-any',
|
|
4140
|
+
},
|
|
4141
|
+
},
|
|
4142
|
+
approvalWorkflow: {
|
|
4143
|
+
type: 'object',
|
|
4144
|
+
},
|
|
4145
|
+
_v: {
|
|
4146
|
+
default: 5,
|
|
4147
|
+
type: 'number',
|
|
4148
|
+
format: 'double',
|
|
4149
|
+
},
|
|
4150
|
+
stockSku: {
|
|
4151
|
+
type: 'string',
|
|
4152
|
+
},
|
|
4153
|
+
stockSerial: {
|
|
4154
|
+
type: 'string',
|
|
4155
|
+
},
|
|
4156
|
+
stockLot: {
|
|
4157
|
+
type: 'string',
|
|
4158
|
+
},
|
|
4159
|
+
requireDeviceLink: {
|
|
4160
|
+
default: true,
|
|
4161
|
+
type: 'boolean',
|
|
4162
|
+
},
|
|
4163
|
+
linkedTo: {
|
|
4164
|
+
type: 'array',
|
|
4165
|
+
items: {
|
|
4166
|
+
type: 'string',
|
|
4167
|
+
},
|
|
4168
|
+
},
|
|
4169
|
+
linkedFrom: {
|
|
4170
|
+
type: 'array',
|
|
4171
|
+
items: {
|
|
4172
|
+
type: 'string',
|
|
4173
|
+
},
|
|
4174
|
+
},
|
|
4175
|
+
stringNumber: {
|
|
4176
|
+
type: 'string',
|
|
4177
|
+
},
|
|
4178
|
+
originStockId: {
|
|
4179
|
+
type: 'string',
|
|
4180
|
+
},
|
|
4181
|
+
created: {
|
|
4182
|
+
default: '$now',
|
|
4183
|
+
type: 'string',
|
|
4184
|
+
format: 'date-time',
|
|
4185
|
+
},
|
|
4186
|
+
modified: {
|
|
4187
|
+
default: '$now',
|
|
4188
|
+
type: 'string',
|
|
4189
|
+
format: 'date-time',
|
|
4190
|
+
},
|
|
4191
|
+
serverModified: {
|
|
4192
|
+
default: '$now',
|
|
4193
|
+
type: 'string',
|
|
4194
|
+
format: 'date-time',
|
|
4195
|
+
},
|
|
4196
|
+
deletedAt: {
|
|
4197
|
+
type: 'string',
|
|
4198
|
+
format: 'date-time',
|
|
4199
|
+
},
|
|
4200
|
+
deletedBy: {
|
|
4201
|
+
type: 'string',
|
|
4202
|
+
},
|
|
4203
|
+
productionEntityId: {
|
|
4204
|
+
type: 'string',
|
|
4205
|
+
},
|
|
4206
|
+
UserId: {
|
|
4207
|
+
type: 'string',
|
|
4208
|
+
},
|
|
4209
|
+
createdBy: {
|
|
4210
|
+
type: 'string',
|
|
4211
|
+
},
|
|
4212
|
+
},
|
|
4213
|
+
required: ['id', 'formId', 'hasStatus', 'fields'],
|
|
4214
|
+
additionalProperties: false,
|
|
4215
|
+
type: 'object',
|
|
4216
|
+
} as const;
|
|
4217
|
+
|
|
4218
|
+
export const FolderSchema = {
|
|
4219
|
+
properties: {
|
|
4220
|
+
id: {
|
|
4221
|
+
type: 'string',
|
|
4222
|
+
},
|
|
4223
|
+
name: {
|
|
4224
|
+
default: '',
|
|
4225
|
+
type: 'string',
|
|
4226
|
+
},
|
|
4227
|
+
parentFolderId: {
|
|
4228
|
+
type: 'string',
|
|
4229
|
+
},
|
|
4230
|
+
UserId: {
|
|
4231
|
+
type: 'string',
|
|
4232
|
+
},
|
|
4233
|
+
created: {
|
|
4234
|
+
default: '$now',
|
|
4235
|
+
type: 'string',
|
|
4236
|
+
format: 'date-time',
|
|
4237
|
+
},
|
|
4238
|
+
modified: {
|
|
4239
|
+
default: '$now',
|
|
4240
|
+
type: 'string',
|
|
4241
|
+
format: 'date-time',
|
|
4242
|
+
},
|
|
4243
|
+
serverModified: {
|
|
4244
|
+
default: '$now',
|
|
4245
|
+
type: 'string',
|
|
4246
|
+
format: 'date-time',
|
|
4247
|
+
},
|
|
4248
|
+
},
|
|
4249
|
+
required: ['id', 'name'],
|
|
4250
|
+
additionalProperties: false,
|
|
4251
|
+
type: 'object',
|
|
4252
|
+
} as const;
|
|
4253
|
+
|
|
4254
|
+
export const WorkflowSessionItemSchema = {
|
|
4255
|
+
properties: {
|
|
4256
|
+
id: {
|
|
4257
|
+
type: 'string',
|
|
4258
|
+
},
|
|
4259
|
+
name: {
|
|
4260
|
+
type: 'string',
|
|
4261
|
+
},
|
|
4262
|
+
timeLogs: {
|
|
4263
|
+
default: [],
|
|
4264
|
+
type: 'array',
|
|
4265
|
+
items: {
|
|
4266
|
+
$ref: '#/definitions/x-any',
|
|
4267
|
+
},
|
|
4268
|
+
},
|
|
4269
|
+
timeReports: {
|
|
4270
|
+
default: [],
|
|
4271
|
+
type: 'array',
|
|
4272
|
+
items: {
|
|
4273
|
+
$ref: '#/definitions/x-any',
|
|
4274
|
+
},
|
|
4275
|
+
},
|
|
4276
|
+
tags: {
|
|
4277
|
+
default: [],
|
|
4278
|
+
type: 'array',
|
|
4279
|
+
items: {
|
|
4280
|
+
$ref: '#/definitions/x-any',
|
|
4281
|
+
},
|
|
4282
|
+
},
|
|
4283
|
+
tools: {
|
|
4284
|
+
default: [],
|
|
4285
|
+
type: 'array',
|
|
4286
|
+
items: {
|
|
4287
|
+
$ref: '#/definitions/x-any',
|
|
4288
|
+
},
|
|
4289
|
+
},
|
|
4290
|
+
location: {
|
|
4291
|
+
default: [],
|
|
4292
|
+
type: 'array',
|
|
4293
|
+
items: {
|
|
4294
|
+
$ref: '#/definitions/x-any',
|
|
4295
|
+
},
|
|
4296
|
+
},
|
|
4297
|
+
currentNodeId: {
|
|
4298
|
+
type: 'string',
|
|
4299
|
+
},
|
|
4300
|
+
currentSessionNodeId: {
|
|
4301
|
+
type: 'string',
|
|
4302
|
+
},
|
|
4303
|
+
currentWorkflowId: {
|
|
4304
|
+
type: 'string',
|
|
4305
|
+
},
|
|
4306
|
+
recordId: {
|
|
4307
|
+
type: 'string',
|
|
4308
|
+
},
|
|
4309
|
+
sessionNodes: {
|
|
4310
|
+
default: [],
|
|
4311
|
+
type: 'array',
|
|
4312
|
+
items: {
|
|
4313
|
+
$ref: '#/definitions/x-any',
|
|
4314
|
+
},
|
|
4315
|
+
},
|
|
4316
|
+
nodesPath: {
|
|
4317
|
+
default: [],
|
|
4318
|
+
type: 'array',
|
|
4319
|
+
items: {
|
|
4320
|
+
$ref: '#/definitions/x-any',
|
|
4321
|
+
},
|
|
4322
|
+
},
|
|
4323
|
+
variables: {
|
|
4324
|
+
default: [],
|
|
4325
|
+
type: 'array',
|
|
4326
|
+
items: {
|
|
4327
|
+
$ref: '#/definitions/x-any',
|
|
4328
|
+
},
|
|
4329
|
+
},
|
|
4330
|
+
customFields: {
|
|
4331
|
+
default: [],
|
|
4332
|
+
type: 'array',
|
|
4333
|
+
items: {
|
|
4334
|
+
$ref: '#/definitions/x-any',
|
|
4335
|
+
},
|
|
4336
|
+
},
|
|
4337
|
+
usedTools: {
|
|
4338
|
+
type: 'array',
|
|
4339
|
+
items: {
|
|
4340
|
+
$ref: '#/definitions/x-any',
|
|
4341
|
+
},
|
|
4342
|
+
},
|
|
4343
|
+
userModelIds: {
|
|
4344
|
+
default: [],
|
|
4345
|
+
type: 'array',
|
|
4346
|
+
items: {
|
|
4347
|
+
$ref: '#/definitions/x-any',
|
|
4348
|
+
},
|
|
4349
|
+
},
|
|
4350
|
+
needTimeLogCheck: {
|
|
4351
|
+
default: false,
|
|
4352
|
+
type: 'boolean',
|
|
4353
|
+
},
|
|
4354
|
+
status: {
|
|
4355
|
+
default: 'WF.NEW',
|
|
4356
|
+
type: 'string',
|
|
4357
|
+
},
|
|
4358
|
+
progress: {
|
|
4359
|
+
default: 0,
|
|
4360
|
+
type: 'number',
|
|
4361
|
+
format: 'double',
|
|
4362
|
+
},
|
|
4363
|
+
netTimeSpent: {
|
|
4364
|
+
default: 0,
|
|
4365
|
+
type: 'number',
|
|
4366
|
+
format: 'double',
|
|
4367
|
+
},
|
|
4368
|
+
usersNetTimeSpent: {
|
|
4369
|
+
default: 0,
|
|
4370
|
+
type: 'array',
|
|
4371
|
+
items: {
|
|
4372
|
+
$ref: '#/definitions/x-any',
|
|
4373
|
+
},
|
|
4374
|
+
},
|
|
4375
|
+
start: {
|
|
4376
|
+
type: 'string',
|
|
4377
|
+
format: 'date-time',
|
|
4378
|
+
},
|
|
4379
|
+
end: {
|
|
4380
|
+
type: 'string',
|
|
4381
|
+
format: 'date-time',
|
|
4382
|
+
},
|
|
4383
|
+
UserId: {
|
|
4384
|
+
type: 'string',
|
|
4385
|
+
},
|
|
4386
|
+
activeUserId: {
|
|
4387
|
+
type: 'array',
|
|
4388
|
+
items: {
|
|
4389
|
+
type: 'string',
|
|
4390
|
+
},
|
|
4391
|
+
},
|
|
4392
|
+
stockIds: {
|
|
4393
|
+
type: 'array',
|
|
4394
|
+
items: {
|
|
4395
|
+
type: 'string',
|
|
4396
|
+
},
|
|
4397
|
+
},
|
|
4398
|
+
nextChapterId: {
|
|
4399
|
+
type: 'string',
|
|
4400
|
+
},
|
|
4401
|
+
nextChapterName: {
|
|
4402
|
+
type: 'string',
|
|
4403
|
+
},
|
|
4404
|
+
nextNodeId: {
|
|
4405
|
+
type: 'string',
|
|
4406
|
+
},
|
|
4407
|
+
nextNodeName: {
|
|
4408
|
+
type: 'string',
|
|
4409
|
+
},
|
|
4410
|
+
workorderId: {
|
|
4411
|
+
type: 'string',
|
|
4412
|
+
},
|
|
4413
|
+
indicator: {
|
|
4414
|
+
type: 'number',
|
|
4415
|
+
format: 'double',
|
|
4416
|
+
},
|
|
4417
|
+
serials: {
|
|
4418
|
+
default: [],
|
|
4419
|
+
type: 'array',
|
|
4420
|
+
items: {
|
|
4421
|
+
$ref: '#/definitions/x-any',
|
|
4422
|
+
},
|
|
4423
|
+
},
|
|
4424
|
+
configuration: {
|
|
4425
|
+
default: [],
|
|
4426
|
+
type: 'array',
|
|
4427
|
+
items: {
|
|
4428
|
+
$ref: '#/definitions/x-any',
|
|
4429
|
+
},
|
|
4430
|
+
},
|
|
4431
|
+
parentSessionId: {
|
|
4432
|
+
type: 'string',
|
|
4433
|
+
},
|
|
4434
|
+
partSku: {
|
|
4435
|
+
type: 'string',
|
|
4436
|
+
},
|
|
4437
|
+
partRev: {
|
|
4438
|
+
type: 'string',
|
|
4439
|
+
},
|
|
4440
|
+
bom: {
|
|
4705
4441
|
default: [],
|
|
4706
4442
|
type: 'array',
|
|
4707
4443
|
items: {
|
|
4708
4444
|
$ref: '#/definitions/x-any',
|
|
4709
4445
|
},
|
|
4710
4446
|
},
|
|
4711
|
-
|
|
4447
|
+
activeUserIdsByUniqueId: {
|
|
4712
4448
|
default: [],
|
|
4713
4449
|
type: 'array',
|
|
4714
4450
|
items: {
|
|
4715
4451
|
$ref: '#/definitions/x-any',
|
|
4716
4452
|
},
|
|
4717
4453
|
},
|
|
4718
|
-
|
|
4454
|
+
connectionsPath: {
|
|
4719
4455
|
default: [],
|
|
4720
4456
|
type: 'array',
|
|
4721
4457
|
items: {
|
|
4722
4458
|
$ref: '#/definitions/x-any',
|
|
4723
4459
|
},
|
|
4724
4460
|
},
|
|
4725
|
-
|
|
4726
|
-
|
|
4727
|
-
},
|
|
4728
|
-
_v: {
|
|
4729
|
-
default: 5,
|
|
4461
|
+
quantity: {
|
|
4462
|
+
default: 1,
|
|
4730
4463
|
type: 'number',
|
|
4731
4464
|
format: 'double',
|
|
4732
4465
|
},
|
|
4733
|
-
|
|
4734
|
-
|
|
4735
|
-
|
|
4736
|
-
|
|
4737
|
-
type: 'string',
|
|
4738
|
-
},
|
|
4739
|
-
stockLot: {
|
|
4740
|
-
type: 'string',
|
|
4466
|
+
invalidQuantity: {
|
|
4467
|
+
default: 0,
|
|
4468
|
+
type: 'number',
|
|
4469
|
+
format: 'double',
|
|
4741
4470
|
},
|
|
4742
|
-
|
|
4743
|
-
default:
|
|
4744
|
-
type: '
|
|
4471
|
+
validQuantity: {
|
|
4472
|
+
default: 1,
|
|
4473
|
+
type: 'number',
|
|
4474
|
+
format: 'double',
|
|
4745
4475
|
},
|
|
4746
|
-
|
|
4476
|
+
groups: {
|
|
4477
|
+
default: [],
|
|
4747
4478
|
type: 'array',
|
|
4748
4479
|
items: {
|
|
4749
|
-
|
|
4480
|
+
$ref: '#/definitions/x-any',
|
|
4750
4481
|
},
|
|
4751
4482
|
},
|
|
4752
|
-
|
|
4483
|
+
workflowId: {
|
|
4484
|
+
type: 'string',
|
|
4485
|
+
},
|
|
4486
|
+
scromSessionIds: {
|
|
4753
4487
|
type: 'array',
|
|
4754
4488
|
items: {
|
|
4755
4489
|
type: 'string',
|
|
4756
4490
|
},
|
|
4757
4491
|
},
|
|
4758
|
-
stringNumber: {
|
|
4759
|
-
type: 'string',
|
|
4760
|
-
},
|
|
4761
|
-
originStockId: {
|
|
4762
|
-
type: 'string',
|
|
4763
|
-
},
|
|
4764
4492
|
created: {
|
|
4765
4493
|
default: '$now',
|
|
4766
4494
|
type: 'string',
|
|
@@ -4783,88 +4511,11 @@ export const FormDataSchema = {
|
|
|
4783
4511
|
deletedBy: {
|
|
4784
4512
|
type: 'string',
|
|
4785
4513
|
},
|
|
4786
|
-
productionEntityId: {
|
|
4787
|
-
type: 'string',
|
|
4788
|
-
},
|
|
4789
|
-
UserId: {
|
|
4790
|
-
type: 'string',
|
|
4791
|
-
},
|
|
4792
4514
|
createdBy: {
|
|
4793
4515
|
type: 'string',
|
|
4794
4516
|
},
|
|
4795
4517
|
},
|
|
4796
|
-
required: ['id'
|
|
4797
|
-
additionalProperties: false,
|
|
4798
|
-
type: 'object',
|
|
4799
|
-
} as const;
|
|
4800
|
-
|
|
4801
|
-
export const FolderSchema = {
|
|
4802
|
-
properties: {
|
|
4803
|
-
id: {
|
|
4804
|
-
type: 'string',
|
|
4805
|
-
},
|
|
4806
|
-
name: {
|
|
4807
|
-
default: '',
|
|
4808
|
-
type: 'string',
|
|
4809
|
-
},
|
|
4810
|
-
parentFolderId: {
|
|
4811
|
-
type: 'string',
|
|
4812
|
-
},
|
|
4813
|
-
UserId: {
|
|
4814
|
-
type: 'string',
|
|
4815
|
-
},
|
|
4816
|
-
created: {
|
|
4817
|
-
default: '$now',
|
|
4818
|
-
type: 'string',
|
|
4819
|
-
format: 'date-time',
|
|
4820
|
-
},
|
|
4821
|
-
modified: {
|
|
4822
|
-
default: '$now',
|
|
4823
|
-
type: 'string',
|
|
4824
|
-
format: 'date-time',
|
|
4825
|
-
},
|
|
4826
|
-
serverModified: {
|
|
4827
|
-
default: '$now',
|
|
4828
|
-
type: 'string',
|
|
4829
|
-
format: 'date-time',
|
|
4830
|
-
},
|
|
4831
|
-
},
|
|
4832
|
-
required: ['id', 'name'],
|
|
4833
|
-
additionalProperties: false,
|
|
4834
|
-
type: 'object',
|
|
4835
|
-
} as const;
|
|
4836
|
-
|
|
4837
|
-
export const ResourceMappingSchema = {
|
|
4838
|
-
properties: {
|
|
4839
|
-
id: {
|
|
4840
|
-
type: 'string',
|
|
4841
|
-
},
|
|
4842
|
-
modelName: {
|
|
4843
|
-
type: 'string',
|
|
4844
|
-
},
|
|
4845
|
-
modelId: {
|
|
4846
|
-
type: 'string',
|
|
4847
|
-
},
|
|
4848
|
-
resourceId: {
|
|
4849
|
-
type: 'string',
|
|
4850
|
-
},
|
|
4851
|
-
created: {
|
|
4852
|
-
default: '$now',
|
|
4853
|
-
type: 'string',
|
|
4854
|
-
format: 'date-time',
|
|
4855
|
-
},
|
|
4856
|
-
modified: {
|
|
4857
|
-
default: '$now',
|
|
4858
|
-
type: 'string',
|
|
4859
|
-
format: 'date-time',
|
|
4860
|
-
},
|
|
4861
|
-
serverModified: {
|
|
4862
|
-
default: '$now',
|
|
4863
|
-
type: 'string',
|
|
4864
|
-
format: 'date-time',
|
|
4865
|
-
},
|
|
4866
|
-
},
|
|
4867
|
-
required: ['id', 'modelName', 'modelId', 'resourceId'],
|
|
4518
|
+
required: ['id'],
|
|
4868
4519
|
additionalProperties: false,
|
|
4869
4520
|
type: 'object',
|
|
4870
4521
|
} as const;
|
|
@@ -5741,6 +5392,74 @@ export const NPSSchema = {
|
|
|
5741
5392
|
type: 'object',
|
|
5742
5393
|
} as const;
|
|
5743
5394
|
|
|
5395
|
+
export const WorkflowTypeSchema = {
|
|
5396
|
+
properties: {
|
|
5397
|
+
id: {
|
|
5398
|
+
type: 'string',
|
|
5399
|
+
},
|
|
5400
|
+
name: {
|
|
5401
|
+
type: 'string',
|
|
5402
|
+
},
|
|
5403
|
+
default: {
|
|
5404
|
+
default: false,
|
|
5405
|
+
type: 'boolean',
|
|
5406
|
+
},
|
|
5407
|
+
createStock: {
|
|
5408
|
+
default: false,
|
|
5409
|
+
type: 'boolean',
|
|
5410
|
+
},
|
|
5411
|
+
erpWorkorderDefault: {
|
|
5412
|
+
default: false,
|
|
5413
|
+
type: 'boolean',
|
|
5414
|
+
},
|
|
5415
|
+
erpServiceDefault: {
|
|
5416
|
+
default: false,
|
|
5417
|
+
type: 'boolean',
|
|
5418
|
+
},
|
|
5419
|
+
localDefault: {
|
|
5420
|
+
default: false,
|
|
5421
|
+
type: 'boolean',
|
|
5422
|
+
},
|
|
5423
|
+
builtin: {
|
|
5424
|
+
default: false,
|
|
5425
|
+
type: 'boolean',
|
|
5426
|
+
},
|
|
5427
|
+
_v: {
|
|
5428
|
+
default: 1,
|
|
5429
|
+
type: 'number',
|
|
5430
|
+
format: 'double',
|
|
5431
|
+
},
|
|
5432
|
+
created: {
|
|
5433
|
+
default: '$now',
|
|
5434
|
+
type: 'string',
|
|
5435
|
+
format: 'date-time',
|
|
5436
|
+
},
|
|
5437
|
+
modified: {
|
|
5438
|
+
default: '$now',
|
|
5439
|
+
type: 'string',
|
|
5440
|
+
format: 'date-time',
|
|
5441
|
+
},
|
|
5442
|
+
serverModified: {
|
|
5443
|
+
default: '$now',
|
|
5444
|
+
type: 'string',
|
|
5445
|
+
format: 'date-time',
|
|
5446
|
+
},
|
|
5447
|
+
deletedAt: {
|
|
5448
|
+
type: 'string',
|
|
5449
|
+
format: 'date-time',
|
|
5450
|
+
},
|
|
5451
|
+
deletedBy: {
|
|
5452
|
+
type: 'string',
|
|
5453
|
+
},
|
|
5454
|
+
UserId: {
|
|
5455
|
+
type: 'string',
|
|
5456
|
+
},
|
|
5457
|
+
},
|
|
5458
|
+
required: ['id', 'name'],
|
|
5459
|
+
additionalProperties: false,
|
|
5460
|
+
type: 'object',
|
|
5461
|
+
} as const;
|
|
5462
|
+
|
|
5744
5463
|
export const WorkorderStatusSchema = {
|
|
5745
5464
|
properties: {
|
|
5746
5465
|
id: {
|
|
@@ -6398,72 +6117,14 @@ export const ProductionEntityEventSchema = {
|
|
|
6398
6117
|
type: 'array',
|
|
6399
6118
|
items: {
|
|
6400
6119
|
$ref: '#/definitions/x-any',
|
|
6401
|
-
},
|
|
6402
|
-
},
|
|
6403
|
-
forms: {
|
|
6404
|
-
default: [],
|
|
6405
|
-
type: 'array',
|
|
6406
|
-
items: {
|
|
6407
|
-
$ref: '#/definitions/x-any',
|
|
6408
|
-
},
|
|
6409
|
-
},
|
|
6410
|
-
created: {
|
|
6411
|
-
default: '$now',
|
|
6412
|
-
type: 'string',
|
|
6413
|
-
format: 'date-time',
|
|
6414
|
-
},
|
|
6415
|
-
modified: {
|
|
6416
|
-
default: '$now',
|
|
6417
|
-
type: 'string',
|
|
6418
|
-
format: 'date-time',
|
|
6419
|
-
},
|
|
6420
|
-
serverModified: {
|
|
6421
|
-
default: '$now',
|
|
6422
|
-
type: 'string',
|
|
6423
|
-
format: 'date-time',
|
|
6424
|
-
},
|
|
6425
|
-
deletedAt: {
|
|
6426
|
-
type: 'string',
|
|
6427
|
-
format: 'date-time',
|
|
6428
|
-
},
|
|
6429
|
-
deletedBy: {
|
|
6430
|
-
type: 'string',
|
|
6431
|
-
},
|
|
6432
|
-
UserId: {
|
|
6433
|
-
type: 'string',
|
|
6434
|
-
},
|
|
6435
|
-
},
|
|
6436
|
-
required: ['id', 'productionEntityId', 'start', 'type'],
|
|
6437
|
-
additionalProperties: false,
|
|
6438
|
-
type: 'object',
|
|
6439
|
-
} as const;
|
|
6440
|
-
|
|
6441
|
-
export const OpcUaServerSchema = {
|
|
6442
|
-
properties: {
|
|
6443
|
-
id: {
|
|
6444
|
-
type: 'string',
|
|
6445
|
-
},
|
|
6446
|
-
name: {
|
|
6447
|
-
type: 'string',
|
|
6448
|
-
},
|
|
6449
|
-
endpointUrl: {
|
|
6450
|
-
type: 'string',
|
|
6451
|
-
},
|
|
6452
|
-
securityMode: {
|
|
6453
|
-
default: 1,
|
|
6454
|
-
type: 'number',
|
|
6455
|
-
format: 'double',
|
|
6456
|
-
},
|
|
6457
|
-
securityPolicy: {
|
|
6458
|
-
default: 'None',
|
|
6459
|
-
type: 'string',
|
|
6460
|
-
},
|
|
6461
|
-
username: {
|
|
6462
|
-
type: 'string',
|
|
6120
|
+
},
|
|
6463
6121
|
},
|
|
6464
|
-
|
|
6465
|
-
default:
|
|
6466
|
-
type: '
|
|
6122
|
+
forms: {
|
|
6123
|
+
default: [],
|
|
6124
|
+
type: 'array',
|
|
6125
|
+
items: {
|
|
6126
|
+
$ref: '#/definitions/x-any',
|
|
6127
|
+
},
|
|
6467
6128
|
},
|
|
6468
6129
|
created: {
|
|
6469
6130
|
default: '$now',
|
|
@@ -6491,48 +6152,37 @@ export const OpcUaServerSchema = {
|
|
|
6491
6152
|
type: 'string',
|
|
6492
6153
|
},
|
|
6493
6154
|
},
|
|
6494
|
-
required: [
|
|
6495
|
-
'id',
|
|
6496
|
-
'name',
|
|
6497
|
-
'endpointUrl',
|
|
6498
|
-
'securityMode',
|
|
6499
|
-
'securityPolicy',
|
|
6500
|
-
'active',
|
|
6501
|
-
],
|
|
6155
|
+
required: ['id', 'productionEntityId', 'start', 'type'],
|
|
6502
6156
|
additionalProperties: false,
|
|
6503
6157
|
type: 'object',
|
|
6504
6158
|
} as const;
|
|
6505
6159
|
|
|
6506
|
-
export const
|
|
6160
|
+
export const OpcUaServerSchema = {
|
|
6507
6161
|
properties: {
|
|
6508
6162
|
id: {
|
|
6509
6163
|
type: 'string',
|
|
6510
6164
|
},
|
|
6511
|
-
|
|
6512
|
-
type: 'string',
|
|
6513
|
-
},
|
|
6514
|
-
sessionId: {
|
|
6165
|
+
name: {
|
|
6515
6166
|
type: 'string',
|
|
6516
6167
|
},
|
|
6517
|
-
|
|
6168
|
+
endpointUrl: {
|
|
6518
6169
|
type: 'string',
|
|
6519
6170
|
},
|
|
6520
|
-
|
|
6521
|
-
|
|
6171
|
+
securityMode: {
|
|
6172
|
+
default: 1,
|
|
6173
|
+
type: 'number',
|
|
6174
|
+
format: 'double',
|
|
6522
6175
|
},
|
|
6523
|
-
|
|
6176
|
+
securityPolicy: {
|
|
6177
|
+
default: 'None',
|
|
6524
6178
|
type: 'string',
|
|
6525
6179
|
},
|
|
6526
|
-
|
|
6180
|
+
username: {
|
|
6527
6181
|
type: 'string',
|
|
6528
6182
|
},
|
|
6529
|
-
|
|
6530
|
-
|
|
6531
|
-
|
|
6532
|
-
},
|
|
6533
|
-
checkedOutQty: {
|
|
6534
|
-
type: 'number',
|
|
6535
|
-
format: 'double',
|
|
6183
|
+
active: {
|
|
6184
|
+
default: true,
|
|
6185
|
+
type: 'boolean',
|
|
6536
6186
|
},
|
|
6537
6187
|
created: {
|
|
6538
6188
|
default: '$now',
|
|
@@ -6556,14 +6206,17 @@ export const ProductionEntityMappingSchema = {
|
|
|
6556
6206
|
deletedBy: {
|
|
6557
6207
|
type: 'string',
|
|
6558
6208
|
},
|
|
6209
|
+
UserId: {
|
|
6210
|
+
type: 'string',
|
|
6211
|
+
},
|
|
6559
6212
|
},
|
|
6560
6213
|
required: [
|
|
6561
6214
|
'id',
|
|
6562
|
-
'
|
|
6563
|
-
'
|
|
6564
|
-
'
|
|
6565
|
-
'
|
|
6566
|
-
'
|
|
6215
|
+
'name',
|
|
6216
|
+
'endpointUrl',
|
|
6217
|
+
'securityMode',
|
|
6218
|
+
'securityPolicy',
|
|
6219
|
+
'active',
|
|
6567
6220
|
],
|
|
6568
6221
|
additionalProperties: false,
|
|
6569
6222
|
type: 'object',
|
|
@@ -6903,6 +6556,59 @@ export const ApiMethodLogSchema = {
|
|
|
6903
6556
|
type: 'object',
|
|
6904
6557
|
} as const;
|
|
6905
6558
|
|
|
6559
|
+
export const AddonSchema = {
|
|
6560
|
+
properties: {
|
|
6561
|
+
id: {
|
|
6562
|
+
type: 'string',
|
|
6563
|
+
},
|
|
6564
|
+
name: {
|
|
6565
|
+
type: 'string',
|
|
6566
|
+
},
|
|
6567
|
+
active: {
|
|
6568
|
+
default: true,
|
|
6569
|
+
type: 'boolean',
|
|
6570
|
+
},
|
|
6571
|
+
features: {
|
|
6572
|
+
default: [],
|
|
6573
|
+
type: 'array',
|
|
6574
|
+
items: {
|
|
6575
|
+
$ref: '#/definitions/x-any',
|
|
6576
|
+
},
|
|
6577
|
+
},
|
|
6578
|
+
created: {
|
|
6579
|
+
default: '$now',
|
|
6580
|
+
type: 'string',
|
|
6581
|
+
format: 'date-time',
|
|
6582
|
+
},
|
|
6583
|
+
modified: {
|
|
6584
|
+
default: '$now',
|
|
6585
|
+
type: 'string',
|
|
6586
|
+
format: 'date-time',
|
|
6587
|
+
},
|
|
6588
|
+
serverModified: {
|
|
6589
|
+
default: '$now',
|
|
6590
|
+
type: 'string',
|
|
6591
|
+
format: 'date-time',
|
|
6592
|
+
},
|
|
6593
|
+
deletedAt: {
|
|
6594
|
+
type: 'string',
|
|
6595
|
+
format: 'date-time',
|
|
6596
|
+
},
|
|
6597
|
+
deletedBy: {
|
|
6598
|
+
type: 'string',
|
|
6599
|
+
},
|
|
6600
|
+
UserId: {
|
|
6601
|
+
type: 'string',
|
|
6602
|
+
},
|
|
6603
|
+
createdBy: {
|
|
6604
|
+
type: 'string',
|
|
6605
|
+
},
|
|
6606
|
+
},
|
|
6607
|
+
required: ['id', 'name'],
|
|
6608
|
+
additionalProperties: false,
|
|
6609
|
+
type: 'object',
|
|
6610
|
+
} as const;
|
|
6611
|
+
|
|
6906
6612
|
export const DeviceSchema = {
|
|
6907
6613
|
properties: {
|
|
6908
6614
|
id: {
|
|
@@ -6966,3 +6672,153 @@ export const ObjectIDSchema = {
|
|
|
6966
6672
|
type: 'string',
|
|
6967
6673
|
pattern: '^[a-fA-F\\d]{24}$',
|
|
6968
6674
|
} as const;
|
|
6675
|
+
|
|
6676
|
+
export const KitSchema = {
|
|
6677
|
+
properties: {
|
|
6678
|
+
id: {
|
|
6679
|
+
type: 'string',
|
|
6680
|
+
},
|
|
6681
|
+
quantity: {
|
|
6682
|
+
type: 'number',
|
|
6683
|
+
format: 'double',
|
|
6684
|
+
},
|
|
6685
|
+
issuedQuantity: {
|
|
6686
|
+
type: 'number',
|
|
6687
|
+
format: 'double',
|
|
6688
|
+
},
|
|
6689
|
+
sku: {
|
|
6690
|
+
type: 'string',
|
|
6691
|
+
},
|
|
6692
|
+
partDesc: {
|
|
6693
|
+
type: 'string',
|
|
6694
|
+
},
|
|
6695
|
+
isSerial: {
|
|
6696
|
+
type: 'boolean',
|
|
6697
|
+
},
|
|
6698
|
+
issuedToKit: {
|
|
6699
|
+
default: false,
|
|
6700
|
+
type: 'boolean',
|
|
6701
|
+
},
|
|
6702
|
+
manualIssue: {
|
|
6703
|
+
default: false,
|
|
6704
|
+
type: 'boolean',
|
|
6705
|
+
},
|
|
6706
|
+
unit: {
|
|
6707
|
+
type: 'string',
|
|
6708
|
+
},
|
|
6709
|
+
rev: {
|
|
6710
|
+
type: 'string',
|
|
6711
|
+
},
|
|
6712
|
+
act: {
|
|
6713
|
+
type: 'string',
|
|
6714
|
+
},
|
|
6715
|
+
serials: {
|
|
6716
|
+
type: 'object',
|
|
6717
|
+
},
|
|
6718
|
+
created: {
|
|
6719
|
+
default: '$now',
|
|
6720
|
+
type: 'string',
|
|
6721
|
+
format: 'date-time',
|
|
6722
|
+
},
|
|
6723
|
+
modified: {
|
|
6724
|
+
default: '$now',
|
|
6725
|
+
type: 'string',
|
|
6726
|
+
format: 'date-time',
|
|
6727
|
+
},
|
|
6728
|
+
serverModified: {
|
|
6729
|
+
default: '$now',
|
|
6730
|
+
type: 'string',
|
|
6731
|
+
format: 'date-time',
|
|
6732
|
+
},
|
|
6733
|
+
},
|
|
6734
|
+
required: [
|
|
6735
|
+
'id',
|
|
6736
|
+
'quantity',
|
|
6737
|
+
'issuedQuantity',
|
|
6738
|
+
'sku',
|
|
6739
|
+
'partDesc',
|
|
6740
|
+
'isSerial',
|
|
6741
|
+
'issuedToKit',
|
|
6742
|
+
'unit',
|
|
6743
|
+
],
|
|
6744
|
+
additionalProperties: false,
|
|
6745
|
+
type: 'object',
|
|
6746
|
+
} as const;
|
|
6747
|
+
|
|
6748
|
+
export const WorkorderActionSchema = {
|
|
6749
|
+
properties: {
|
|
6750
|
+
id: {
|
|
6751
|
+
type: 'string',
|
|
6752
|
+
},
|
|
6753
|
+
actCode: {
|
|
6754
|
+
type: 'string',
|
|
6755
|
+
},
|
|
6756
|
+
actDesc: {
|
|
6757
|
+
type: 'string',
|
|
6758
|
+
},
|
|
6759
|
+
workCenter: {
|
|
6760
|
+
type: 'string',
|
|
6761
|
+
},
|
|
6762
|
+
allowedQty: {
|
|
6763
|
+
type: 'number',
|
|
6764
|
+
format: 'double',
|
|
6765
|
+
},
|
|
6766
|
+
completedQty: {
|
|
6767
|
+
type: 'number',
|
|
6768
|
+
format: 'double',
|
|
6769
|
+
},
|
|
6770
|
+
},
|
|
6771
|
+
required: ['id'],
|
|
6772
|
+
additionalProperties: false,
|
|
6773
|
+
type: 'object',
|
|
6774
|
+
} as const;
|
|
6775
|
+
|
|
6776
|
+
export const TimeLogSchema = {
|
|
6777
|
+
properties: {
|
|
6778
|
+
id: {
|
|
6779
|
+
type: 'string',
|
|
6780
|
+
},
|
|
6781
|
+
preparationTime: {
|
|
6782
|
+
default: [],
|
|
6783
|
+
type: 'array',
|
|
6784
|
+
items: {
|
|
6785
|
+
$ref: '#/definitions/x-any',
|
|
6786
|
+
},
|
|
6787
|
+
},
|
|
6788
|
+
applyTime: {
|
|
6789
|
+
type: 'string',
|
|
6790
|
+
format: 'date-time',
|
|
6791
|
+
},
|
|
6792
|
+
cureTime: {
|
|
6793
|
+
type: 'string',
|
|
6794
|
+
format: 'date-time',
|
|
6795
|
+
},
|
|
6796
|
+
},
|
|
6797
|
+
required: ['id'],
|
|
6798
|
+
additionalProperties: false,
|
|
6799
|
+
type: 'object',
|
|
6800
|
+
} as const;
|
|
6801
|
+
|
|
6802
|
+
export const StockItemSchema = {
|
|
6803
|
+
properties: {
|
|
6804
|
+
id: {
|
|
6805
|
+
type: 'string',
|
|
6806
|
+
},
|
|
6807
|
+
sku: {
|
|
6808
|
+
type: 'string',
|
|
6809
|
+
},
|
|
6810
|
+
serial: {
|
|
6811
|
+
type: 'string',
|
|
6812
|
+
},
|
|
6813
|
+
batch: {
|
|
6814
|
+
type: 'string',
|
|
6815
|
+
},
|
|
6816
|
+
quantity: {
|
|
6817
|
+
type: 'number',
|
|
6818
|
+
format: 'double',
|
|
6819
|
+
},
|
|
6820
|
+
},
|
|
6821
|
+
required: ['id', 'sku'],
|
|
6822
|
+
additionalProperties: false,
|
|
6823
|
+
type: 'object',
|
|
6824
|
+
} as const;
|