@nextplus/js-sdk 0.0.7 → 0.0.9
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-JGXGSMXJ.js → chunk-TU3VOZVD.js} +1 -7
- package/dist/{chunk-GWZP3XPB.js → chunk-VAV5HKXV.js} +4900 -8059
- package/dist/index-DESgEWKO.d.ts +4481 -0
- package/dist/index-KyIl4y18.d.cts +4481 -0
- package/dist/index.cjs +4900 -8059
- 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 +4900 -8062
- package/dist/sdk/index.d.cts +1 -1
- package/dist/sdk/index.d.ts +1 -1
- package/dist/sdk/index.js +2 -8
- package/dist/sdk/sdk.gen.cjs +4900 -8062
- package/dist/sdk/sdk.gen.d.cts +1 -1
- package/dist/sdk/sdk.gen.d.ts +1 -1
- package/dist/sdk/sdk.gen.js +1 -7
- package/dist/{sdk.gen-D5rTIkwe.d.cts → sdk.gen-D4UJVxtf.d.cts} +1868 -7563
- package/dist/{sdk.gen-Cri-c6ps.d.ts → sdk.gen-aOku7-zB.d.ts} +1868 -7563
- package/package.json +4 -3
- package/src/sdk/schemas.gen.ts +937 -1064
- package/src/sdk/sdk.gen.ts +9136 -13925
- package/src/sdk/transformers.gen.ts +758 -1860
- package/src/sdk/types.gen.ts +1858 -7495
- package/dist/index-C3v0bPFu.d.cts +0 -5153
- package/dist/index-GlppKn7r.d.ts +0 -5153
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
|
},
|
|
@@ -2283,42 +2287,6 @@ export const AIPromptSchema = {
|
|
|
2283
2287
|
type: 'object',
|
|
2284
2288
|
} as const;
|
|
2285
2289
|
|
|
2286
|
-
export const WorkflowDetailsSchema = {
|
|
2287
|
-
properties: {
|
|
2288
|
-
id: {
|
|
2289
|
-
type: 'string',
|
|
2290
|
-
},
|
|
2291
|
-
recordId: {
|
|
2292
|
-
type: 'string',
|
|
2293
|
-
},
|
|
2294
|
-
created: {
|
|
2295
|
-
default: '$now',
|
|
2296
|
-
type: 'string',
|
|
2297
|
-
format: 'date-time',
|
|
2298
|
-
},
|
|
2299
|
-
modified: {
|
|
2300
|
-
default: '$now',
|
|
2301
|
-
type: 'string',
|
|
2302
|
-
format: 'date-time',
|
|
2303
|
-
},
|
|
2304
|
-
serverModified: {
|
|
2305
|
-
default: '$now',
|
|
2306
|
-
type: 'string',
|
|
2307
|
-
format: 'date-time',
|
|
2308
|
-
},
|
|
2309
|
-
deletedAt: {
|
|
2310
|
-
type: 'string',
|
|
2311
|
-
format: 'date-time',
|
|
2312
|
-
},
|
|
2313
|
-
deletedBy: {
|
|
2314
|
-
type: 'string',
|
|
2315
|
-
},
|
|
2316
|
-
},
|
|
2317
|
-
required: ['id', 'recordId'],
|
|
2318
|
-
additionalProperties: false,
|
|
2319
|
-
type: 'object',
|
|
2320
|
-
} as const;
|
|
2321
|
-
|
|
2322
2290
|
export const LocationSchema = {
|
|
2323
2291
|
properties: {
|
|
2324
2292
|
id: {
|
|
@@ -2855,6 +2823,12 @@ export const WorkorderSchema = {
|
|
|
2855
2823
|
type: 'string',
|
|
2856
2824
|
},
|
|
2857
2825
|
},
|
|
2826
|
+
C_BATCH_NUMBER: {
|
|
2827
|
+
type: 'string',
|
|
2828
|
+
},
|
|
2829
|
+
C_ROUTING_NO: {
|
|
2830
|
+
type: 'string',
|
|
2831
|
+
},
|
|
2858
2832
|
C_date: {
|
|
2859
2833
|
type: 'string',
|
|
2860
2834
|
format: 'date-time',
|
|
@@ -2874,106 +2848,6 @@ export const WorkorderSchema = {
|
|
|
2874
2848
|
type: 'object',
|
|
2875
2849
|
} as const;
|
|
2876
2850
|
|
|
2877
|
-
export const KitSchema = {
|
|
2878
|
-
properties: {
|
|
2879
|
-
id: {
|
|
2880
|
-
type: 'string',
|
|
2881
|
-
},
|
|
2882
|
-
quantity: {
|
|
2883
|
-
type: 'number',
|
|
2884
|
-
format: 'double',
|
|
2885
|
-
},
|
|
2886
|
-
issuedQuantity: {
|
|
2887
|
-
type: 'number',
|
|
2888
|
-
format: 'double',
|
|
2889
|
-
},
|
|
2890
|
-
sku: {
|
|
2891
|
-
type: 'string',
|
|
2892
|
-
},
|
|
2893
|
-
partDesc: {
|
|
2894
|
-
type: 'string',
|
|
2895
|
-
},
|
|
2896
|
-
isSerial: {
|
|
2897
|
-
type: 'boolean',
|
|
2898
|
-
},
|
|
2899
|
-
issuedToKit: {
|
|
2900
|
-
default: false,
|
|
2901
|
-
type: 'boolean',
|
|
2902
|
-
},
|
|
2903
|
-
manualIssue: {
|
|
2904
|
-
default: false,
|
|
2905
|
-
type: 'boolean',
|
|
2906
|
-
},
|
|
2907
|
-
unit: {
|
|
2908
|
-
type: 'string',
|
|
2909
|
-
},
|
|
2910
|
-
rev: {
|
|
2911
|
-
type: 'string',
|
|
2912
|
-
},
|
|
2913
|
-
act: {
|
|
2914
|
-
type: 'string',
|
|
2915
|
-
},
|
|
2916
|
-
serials: {
|
|
2917
|
-
type: 'object',
|
|
2918
|
-
},
|
|
2919
|
-
created: {
|
|
2920
|
-
default: '$now',
|
|
2921
|
-
type: 'string',
|
|
2922
|
-
format: 'date-time',
|
|
2923
|
-
},
|
|
2924
|
-
modified: {
|
|
2925
|
-
default: '$now',
|
|
2926
|
-
type: 'string',
|
|
2927
|
-
format: 'date-time',
|
|
2928
|
-
},
|
|
2929
|
-
serverModified: {
|
|
2930
|
-
default: '$now',
|
|
2931
|
-
type: 'string',
|
|
2932
|
-
format: 'date-time',
|
|
2933
|
-
},
|
|
2934
|
-
},
|
|
2935
|
-
required: [
|
|
2936
|
-
'id',
|
|
2937
|
-
'quantity',
|
|
2938
|
-
'issuedQuantity',
|
|
2939
|
-
'sku',
|
|
2940
|
-
'partDesc',
|
|
2941
|
-
'isSerial',
|
|
2942
|
-
'issuedToKit',
|
|
2943
|
-
'unit',
|
|
2944
|
-
],
|
|
2945
|
-
additionalProperties: false,
|
|
2946
|
-
type: 'object',
|
|
2947
|
-
} as const;
|
|
2948
|
-
|
|
2949
|
-
export const WorkorderActionSchema = {
|
|
2950
|
-
properties: {
|
|
2951
|
-
id: {
|
|
2952
|
-
type: 'string',
|
|
2953
|
-
},
|
|
2954
|
-
actCode: {
|
|
2955
|
-
type: 'string',
|
|
2956
|
-
},
|
|
2957
|
-
actDesc: {
|
|
2958
|
-
type: 'string',
|
|
2959
|
-
},
|
|
2960
|
-
workCenter: {
|
|
2961
|
-
type: 'string',
|
|
2962
|
-
},
|
|
2963
|
-
allowedQty: {
|
|
2964
|
-
type: 'number',
|
|
2965
|
-
format: 'double',
|
|
2966
|
-
},
|
|
2967
|
-
completedQty: {
|
|
2968
|
-
type: 'number',
|
|
2969
|
-
format: 'double',
|
|
2970
|
-
},
|
|
2971
|
-
},
|
|
2972
|
-
required: ['id'],
|
|
2973
|
-
additionalProperties: false,
|
|
2974
|
-
type: 'object',
|
|
2975
|
-
} as const;
|
|
2976
|
-
|
|
2977
2851
|
export const StockSchema = {
|
|
2978
2852
|
properties: {
|
|
2979
2853
|
id: {
|
|
@@ -3210,244 +3084,148 @@ export const StockSchema = {
|
|
|
3210
3084
|
type: 'object',
|
|
3211
3085
|
} as const;
|
|
3212
3086
|
|
|
3213
|
-
export const
|
|
3087
|
+
export const PagesSchema = {
|
|
3214
3088
|
properties: {
|
|
3215
3089
|
id: {
|
|
3216
3090
|
type: 'string',
|
|
3217
3091
|
},
|
|
3218
|
-
|
|
3092
|
+
title: {
|
|
3219
3093
|
type: 'string',
|
|
3220
3094
|
},
|
|
3221
|
-
|
|
3222
|
-
default: [],
|
|
3223
|
-
type: 'array',
|
|
3224
|
-
items: {
|
|
3225
|
-
$ref: '#/definitions/x-any',
|
|
3226
|
-
},
|
|
3227
|
-
},
|
|
3228
|
-
timeReports: {
|
|
3229
|
-
default: [],
|
|
3230
|
-
type: 'array',
|
|
3231
|
-
items: {
|
|
3232
|
-
$ref: '#/definitions/x-any',
|
|
3233
|
-
},
|
|
3234
|
-
},
|
|
3235
|
-
tags: {
|
|
3236
|
-
default: [],
|
|
3237
|
-
type: 'array',
|
|
3238
|
-
items: {
|
|
3239
|
-
$ref: '#/definitions/x-any',
|
|
3240
|
-
},
|
|
3241
|
-
},
|
|
3242
|
-
tools: {
|
|
3243
|
-
default: [],
|
|
3244
|
-
type: 'array',
|
|
3245
|
-
items: {
|
|
3246
|
-
$ref: '#/definitions/x-any',
|
|
3247
|
-
},
|
|
3248
|
-
},
|
|
3249
|
-
location: {
|
|
3250
|
-
default: [],
|
|
3251
|
-
type: 'array',
|
|
3252
|
-
items: {
|
|
3253
|
-
$ref: '#/definitions/x-any',
|
|
3254
|
-
},
|
|
3255
|
-
},
|
|
3256
|
-
currentNodeId: {
|
|
3095
|
+
content: {
|
|
3257
3096
|
type: 'string',
|
|
3258
3097
|
},
|
|
3259
|
-
|
|
3098
|
+
created: {
|
|
3099
|
+
default: '$now',
|
|
3260
3100
|
type: 'string',
|
|
3101
|
+
format: 'date-time',
|
|
3261
3102
|
},
|
|
3262
|
-
|
|
3103
|
+
modified: {
|
|
3104
|
+
default: '$now',
|
|
3263
3105
|
type: 'string',
|
|
3106
|
+
format: 'date-time',
|
|
3264
3107
|
},
|
|
3265
|
-
|
|
3108
|
+
serverModified: {
|
|
3109
|
+
default: '$now',
|
|
3266
3110
|
type: 'string',
|
|
3111
|
+
format: 'date-time',
|
|
3267
3112
|
},
|
|
3268
|
-
|
|
3269
|
-
|
|
3270
|
-
|
|
3271
|
-
items: {
|
|
3272
|
-
$ref: '#/definitions/x-any',
|
|
3273
|
-
},
|
|
3274
|
-
},
|
|
3275
|
-
nodesPath: {
|
|
3276
|
-
default: [],
|
|
3277
|
-
type: 'array',
|
|
3278
|
-
items: {
|
|
3279
|
-
$ref: '#/definitions/x-any',
|
|
3280
|
-
},
|
|
3281
|
-
},
|
|
3282
|
-
variables: {
|
|
3283
|
-
default: [],
|
|
3284
|
-
type: 'array',
|
|
3285
|
-
items: {
|
|
3286
|
-
$ref: '#/definitions/x-any',
|
|
3287
|
-
},
|
|
3288
|
-
},
|
|
3289
|
-
customFields: {
|
|
3290
|
-
default: [],
|
|
3291
|
-
type: 'array',
|
|
3292
|
-
items: {
|
|
3293
|
-
$ref: '#/definitions/x-any',
|
|
3294
|
-
},
|
|
3295
|
-
},
|
|
3296
|
-
usedTools: {
|
|
3297
|
-
type: 'array',
|
|
3298
|
-
items: {
|
|
3299
|
-
$ref: '#/definitions/x-any',
|
|
3300
|
-
},
|
|
3113
|
+
deletedAt: {
|
|
3114
|
+
type: 'string',
|
|
3115
|
+
format: 'date-time',
|
|
3301
3116
|
},
|
|
3302
|
-
|
|
3303
|
-
|
|
3304
|
-
type: 'array',
|
|
3305
|
-
items: {
|
|
3306
|
-
$ref: '#/definitions/x-any',
|
|
3307
|
-
},
|
|
3117
|
+
deletedBy: {
|
|
3118
|
+
type: 'string',
|
|
3308
3119
|
},
|
|
3309
|
-
|
|
3310
|
-
|
|
3311
|
-
type: 'boolean',
|
|
3120
|
+
UserId: {
|
|
3121
|
+
type: 'string',
|
|
3312
3122
|
},
|
|
3313
|
-
|
|
3314
|
-
|
|
3123
|
+
},
|
|
3124
|
+
required: ['id'],
|
|
3125
|
+
additionalProperties: false,
|
|
3126
|
+
type: 'object',
|
|
3127
|
+
} as const;
|
|
3128
|
+
|
|
3129
|
+
export const MenusSchema = {
|
|
3130
|
+
properties: {
|
|
3131
|
+
id: {
|
|
3315
3132
|
type: 'string',
|
|
3316
3133
|
},
|
|
3317
|
-
|
|
3318
|
-
|
|
3319
|
-
type: 'number',
|
|
3320
|
-
format: 'double',
|
|
3134
|
+
title: {
|
|
3135
|
+
type: 'string',
|
|
3321
3136
|
},
|
|
3322
|
-
|
|
3323
|
-
|
|
3324
|
-
type: 'number',
|
|
3325
|
-
format: 'double',
|
|
3137
|
+
baseId: {
|
|
3138
|
+
type: 'string',
|
|
3326
3139
|
},
|
|
3327
|
-
|
|
3328
|
-
|
|
3329
|
-
type: 'array',
|
|
3330
|
-
items: {
|
|
3331
|
-
$ref: '#/definitions/x-any',
|
|
3332
|
-
},
|
|
3140
|
+
settings: {
|
|
3141
|
+
type: 'object',
|
|
3333
3142
|
},
|
|
3334
|
-
|
|
3143
|
+
created: {
|
|
3144
|
+
default: '$now',
|
|
3335
3145
|
type: 'string',
|
|
3336
3146
|
format: 'date-time',
|
|
3337
3147
|
},
|
|
3338
|
-
|
|
3148
|
+
modified: {
|
|
3149
|
+
default: '$now',
|
|
3339
3150
|
type: 'string',
|
|
3340
3151
|
format: 'date-time',
|
|
3341
3152
|
},
|
|
3342
|
-
|
|
3343
|
-
|
|
3344
|
-
},
|
|
3345
|
-
activeUserId: {
|
|
3346
|
-
type: 'array',
|
|
3347
|
-
items: {
|
|
3348
|
-
type: 'string',
|
|
3349
|
-
},
|
|
3350
|
-
},
|
|
3351
|
-
stockIds: {
|
|
3352
|
-
type: 'array',
|
|
3353
|
-
items: {
|
|
3354
|
-
type: 'string',
|
|
3355
|
-
},
|
|
3356
|
-
},
|
|
3357
|
-
nextChapterId: {
|
|
3153
|
+
serverModified: {
|
|
3154
|
+
default: '$now',
|
|
3358
3155
|
type: 'string',
|
|
3156
|
+
format: 'date-time',
|
|
3359
3157
|
},
|
|
3360
|
-
|
|
3158
|
+
UserId: {
|
|
3361
3159
|
type: 'string',
|
|
3362
3160
|
},
|
|
3363
|
-
|
|
3161
|
+
},
|
|
3162
|
+
required: ['id'],
|
|
3163
|
+
additionalProperties: false,
|
|
3164
|
+
type: 'object',
|
|
3165
|
+
} as const;
|
|
3166
|
+
|
|
3167
|
+
export const RuleSchema = {
|
|
3168
|
+
properties: {
|
|
3169
|
+
id: {
|
|
3364
3170
|
type: 'string',
|
|
3365
3171
|
},
|
|
3366
|
-
|
|
3172
|
+
name: {
|
|
3173
|
+
default: '',
|
|
3367
3174
|
type: 'string',
|
|
3368
3175
|
},
|
|
3369
|
-
|
|
3176
|
+
description: {
|
|
3177
|
+
default: '',
|
|
3370
3178
|
type: 'string',
|
|
3371
3179
|
},
|
|
3372
|
-
|
|
3373
|
-
|
|
3374
|
-
|
|
3375
|
-
},
|
|
3376
|
-
serials: {
|
|
3377
|
-
default: [],
|
|
3378
|
-
type: 'array',
|
|
3379
|
-
items: {
|
|
3380
|
-
$ref: '#/definitions/x-any',
|
|
3381
|
-
},
|
|
3180
|
+
builtin: {
|
|
3181
|
+
default: false,
|
|
3182
|
+
type: 'boolean',
|
|
3382
3183
|
},
|
|
3383
|
-
|
|
3384
|
-
default:
|
|
3385
|
-
type: '
|
|
3386
|
-
items: {
|
|
3387
|
-
$ref: '#/definitions/x-any',
|
|
3388
|
-
},
|
|
3184
|
+
disableUse: {
|
|
3185
|
+
default: false,
|
|
3186
|
+
type: 'boolean',
|
|
3389
3187
|
},
|
|
3390
|
-
|
|
3188
|
+
created: {
|
|
3189
|
+
default: '$now',
|
|
3391
3190
|
type: 'string',
|
|
3191
|
+
format: 'date-time',
|
|
3392
3192
|
},
|
|
3393
|
-
|
|
3193
|
+
modified: {
|
|
3194
|
+
default: '$now',
|
|
3394
3195
|
type: 'string',
|
|
3196
|
+
format: 'date-time',
|
|
3395
3197
|
},
|
|
3396
|
-
|
|
3198
|
+
serverModified: {
|
|
3199
|
+
default: '$now',
|
|
3397
3200
|
type: 'string',
|
|
3201
|
+
format: 'date-time',
|
|
3398
3202
|
},
|
|
3399
|
-
|
|
3400
|
-
|
|
3401
|
-
type: 'array',
|
|
3402
|
-
items: {
|
|
3403
|
-
$ref: '#/definitions/x-any',
|
|
3404
|
-
},
|
|
3203
|
+
UserId: {
|
|
3204
|
+
type: 'string',
|
|
3405
3205
|
},
|
|
3406
|
-
|
|
3407
|
-
|
|
3408
|
-
|
|
3409
|
-
|
|
3410
|
-
|
|
3411
|
-
|
|
3206
|
+
},
|
|
3207
|
+
required: ['id', 'name'],
|
|
3208
|
+
additionalProperties: false,
|
|
3209
|
+
type: 'object',
|
|
3210
|
+
} as const;
|
|
3211
|
+
|
|
3212
|
+
export const CategorySchema = {
|
|
3213
|
+
properties: {
|
|
3214
|
+
id: {
|
|
3215
|
+
type: 'string',
|
|
3412
3216
|
},
|
|
3413
|
-
|
|
3414
|
-
default:
|
|
3415
|
-
type: '
|
|
3416
|
-
items: {
|
|
3417
|
-
$ref: '#/definitions/x-any',
|
|
3418
|
-
},
|
|
3217
|
+
name: {
|
|
3218
|
+
default: '',
|
|
3219
|
+
type: 'string',
|
|
3419
3220
|
},
|
|
3420
|
-
|
|
3421
|
-
|
|
3422
|
-
type: 'number',
|
|
3423
|
-
format: 'double',
|
|
3221
|
+
parentId: {
|
|
3222
|
+
type: 'string',
|
|
3424
3223
|
},
|
|
3425
|
-
|
|
3224
|
+
weight: {
|
|
3426
3225
|
default: 0,
|
|
3427
3226
|
type: 'number',
|
|
3428
3227
|
format: 'double',
|
|
3429
3228
|
},
|
|
3430
|
-
validQuantity: {
|
|
3431
|
-
default: 1,
|
|
3432
|
-
type: 'number',
|
|
3433
|
-
format: 'double',
|
|
3434
|
-
},
|
|
3435
|
-
groups: {
|
|
3436
|
-
default: [],
|
|
3437
|
-
type: 'array',
|
|
3438
|
-
items: {
|
|
3439
|
-
$ref: '#/definitions/x-any',
|
|
3440
|
-
},
|
|
3441
|
-
},
|
|
3442
|
-
workflowId: {
|
|
3443
|
-
type: 'string',
|
|
3444
|
-
},
|
|
3445
|
-
scromSessionIds: {
|
|
3446
|
-
type: 'array',
|
|
3447
|
-
items: {
|
|
3448
|
-
type: 'string',
|
|
3449
|
-
},
|
|
3450
|
-
},
|
|
3451
3229
|
created: {
|
|
3452
3230
|
default: '$now',
|
|
3453
3231
|
type: 'string',
|
|
@@ -3463,23 +3241,16 @@ export const WorkflowSessionItemSchema = {
|
|
|
3463
3241
|
type: 'string',
|
|
3464
3242
|
format: 'date-time',
|
|
3465
3243
|
},
|
|
3466
|
-
|
|
3467
|
-
type: 'string',
|
|
3468
|
-
format: 'date-time',
|
|
3469
|
-
},
|
|
3470
|
-
deletedBy: {
|
|
3471
|
-
type: 'string',
|
|
3472
|
-
},
|
|
3473
|
-
createdBy: {
|
|
3244
|
+
UserId: {
|
|
3474
3245
|
type: 'string',
|
|
3475
3246
|
},
|
|
3476
3247
|
},
|
|
3477
|
-
required: ['id'],
|
|
3248
|
+
required: ['id', 'name'],
|
|
3478
3249
|
additionalProperties: false,
|
|
3479
3250
|
type: 'object',
|
|
3480
3251
|
} as const;
|
|
3481
3252
|
|
|
3482
|
-
export const
|
|
3253
|
+
export const ForumSchema = {
|
|
3483
3254
|
properties: {
|
|
3484
3255
|
id: {
|
|
3485
3256
|
type: 'string',
|
|
@@ -3487,34 +3258,8 @@ export const WorkflowTypeSchema = {
|
|
|
3487
3258
|
name: {
|
|
3488
3259
|
type: 'string',
|
|
3489
3260
|
},
|
|
3490
|
-
|
|
3491
|
-
|
|
3492
|
-
type: 'boolean',
|
|
3493
|
-
},
|
|
3494
|
-
createStock: {
|
|
3495
|
-
default: false,
|
|
3496
|
-
type: 'boolean',
|
|
3497
|
-
},
|
|
3498
|
-
erpWorkorderDefault: {
|
|
3499
|
-
default: false,
|
|
3500
|
-
type: 'boolean',
|
|
3501
|
-
},
|
|
3502
|
-
erpServiceDefault: {
|
|
3503
|
-
default: false,
|
|
3504
|
-
type: 'boolean',
|
|
3505
|
-
},
|
|
3506
|
-
localDefault: {
|
|
3507
|
-
default: false,
|
|
3508
|
-
type: 'boolean',
|
|
3509
|
-
},
|
|
3510
|
-
builtin: {
|
|
3511
|
-
default: false,
|
|
3512
|
-
type: 'boolean',
|
|
3513
|
-
},
|
|
3514
|
-
_v: {
|
|
3515
|
-
default: 1,
|
|
3516
|
-
type: 'number',
|
|
3517
|
-
format: 'double',
|
|
3261
|
+
image: {
|
|
3262
|
+
type: 'string',
|
|
3518
3263
|
},
|
|
3519
3264
|
created: {
|
|
3520
3265
|
default: '$now',
|
|
@@ -3541,71 +3286,97 @@ export const WorkflowTypeSchema = {
|
|
|
3541
3286
|
UserId: {
|
|
3542
3287
|
type: 'string',
|
|
3543
3288
|
},
|
|
3289
|
+
groups: {
|
|
3290
|
+
type: 'array',
|
|
3291
|
+
items: {
|
|
3292
|
+
type: 'string',
|
|
3293
|
+
},
|
|
3294
|
+
},
|
|
3544
3295
|
},
|
|
3545
|
-
required: ['id'
|
|
3296
|
+
required: ['id'],
|
|
3546
3297
|
additionalProperties: false,
|
|
3547
3298
|
type: 'object',
|
|
3548
3299
|
} as const;
|
|
3549
3300
|
|
|
3550
|
-
export const
|
|
3301
|
+
export const PostSchema = {
|
|
3551
3302
|
properties: {
|
|
3552
3303
|
id: {
|
|
3553
3304
|
type: 'string',
|
|
3554
3305
|
},
|
|
3555
|
-
|
|
3556
|
-
|
|
3557
|
-
type: 'array',
|
|
3558
|
-
items: {
|
|
3559
|
-
$ref: '#/definitions/x-any',
|
|
3560
|
-
},
|
|
3306
|
+
name: {
|
|
3307
|
+
type: 'string',
|
|
3561
3308
|
},
|
|
3562
|
-
|
|
3309
|
+
content: {
|
|
3563
3310
|
type: 'string',
|
|
3564
|
-
format: 'date-time',
|
|
3565
3311
|
},
|
|
3566
|
-
|
|
3312
|
+
plainContent: {
|
|
3567
3313
|
type: 'string',
|
|
3568
|
-
format: 'date-time',
|
|
3569
3314
|
},
|
|
3570
|
-
|
|
3571
|
-
|
|
3572
|
-
additionalProperties: false,
|
|
3573
|
-
type: 'object',
|
|
3574
|
-
} as const;
|
|
3575
|
-
|
|
3576
|
-
export const StockItemSchema = {
|
|
3577
|
-
properties: {
|
|
3578
|
-
id: {
|
|
3315
|
+
forumId: {
|
|
3316
|
+
default: '',
|
|
3579
3317
|
type: 'string',
|
|
3580
3318
|
},
|
|
3581
|
-
|
|
3319
|
+
contentPackageId: {
|
|
3320
|
+
default: '',
|
|
3582
3321
|
type: 'string',
|
|
3583
3322
|
},
|
|
3584
|
-
|
|
3323
|
+
workflowId: {
|
|
3324
|
+
default: '',
|
|
3585
3325
|
type: 'string',
|
|
3586
3326
|
},
|
|
3587
|
-
|
|
3327
|
+
nodeId: {
|
|
3328
|
+
default: '',
|
|
3588
3329
|
type: 'string',
|
|
3589
3330
|
},
|
|
3590
|
-
|
|
3591
|
-
type: '
|
|
3592
|
-
|
|
3331
|
+
UserId: {
|
|
3332
|
+
type: 'string',
|
|
3333
|
+
},
|
|
3334
|
+
created: {
|
|
3335
|
+
default: '$now',
|
|
3336
|
+
type: 'string',
|
|
3337
|
+
format: 'date-time',
|
|
3338
|
+
},
|
|
3339
|
+
modified: {
|
|
3340
|
+
default: '$now',
|
|
3341
|
+
type: 'string',
|
|
3342
|
+
format: 'date-time',
|
|
3343
|
+
},
|
|
3344
|
+
serverModified: {
|
|
3345
|
+
default: '$now',
|
|
3346
|
+
type: 'string',
|
|
3347
|
+
format: 'date-time',
|
|
3348
|
+
},
|
|
3349
|
+
deletedAt: {
|
|
3350
|
+
type: 'string',
|
|
3351
|
+
format: 'date-time',
|
|
3352
|
+
},
|
|
3353
|
+
deletedBy: {
|
|
3354
|
+
type: 'string',
|
|
3593
3355
|
},
|
|
3594
3356
|
},
|
|
3595
|
-
required: ['id'
|
|
3357
|
+
required: ['id'],
|
|
3596
3358
|
additionalProperties: false,
|
|
3597
3359
|
type: 'object',
|
|
3598
3360
|
} as const;
|
|
3599
3361
|
|
|
3600
|
-
export const
|
|
3362
|
+
export const CommentSchema = {
|
|
3601
3363
|
properties: {
|
|
3602
3364
|
id: {
|
|
3603
3365
|
type: 'string',
|
|
3604
3366
|
},
|
|
3605
|
-
|
|
3367
|
+
content: {
|
|
3606
3368
|
type: 'string',
|
|
3607
3369
|
},
|
|
3608
|
-
|
|
3370
|
+
plainContent: {
|
|
3371
|
+
type: 'string',
|
|
3372
|
+
},
|
|
3373
|
+
postId: {
|
|
3374
|
+
type: 'string',
|
|
3375
|
+
},
|
|
3376
|
+
parentId: {
|
|
3377
|
+
type: 'string',
|
|
3378
|
+
},
|
|
3379
|
+
UserId: {
|
|
3609
3380
|
type: 'string',
|
|
3610
3381
|
},
|
|
3611
3382
|
created: {
|
|
@@ -3630,28 +3401,85 @@ export const PagesSchema = {
|
|
|
3630
3401
|
deletedBy: {
|
|
3631
3402
|
type: 'string',
|
|
3632
3403
|
},
|
|
3633
|
-
UserId: {
|
|
3634
|
-
type: 'string',
|
|
3635
|
-
},
|
|
3636
3404
|
},
|
|
3637
3405
|
required: ['id'],
|
|
3638
3406
|
additionalProperties: false,
|
|
3639
3407
|
type: 'object',
|
|
3640
3408
|
} as const;
|
|
3641
3409
|
|
|
3642
|
-
export const
|
|
3410
|
+
export const PriorityLabelSchema = {
|
|
3643
3411
|
properties: {
|
|
3644
3412
|
id: {
|
|
3645
3413
|
type: 'string',
|
|
3646
3414
|
},
|
|
3647
|
-
|
|
3415
|
+
name: {
|
|
3648
3416
|
type: 'string',
|
|
3649
3417
|
},
|
|
3650
|
-
|
|
3418
|
+
description: {
|
|
3651
3419
|
type: 'string',
|
|
3652
3420
|
},
|
|
3653
|
-
|
|
3654
|
-
|
|
3421
|
+
models: {
|
|
3422
|
+
default: [],
|
|
3423
|
+
type: 'array',
|
|
3424
|
+
items: {
|
|
3425
|
+
$ref: '#/definitions/x-any',
|
|
3426
|
+
},
|
|
3427
|
+
},
|
|
3428
|
+
workorderFieldMapping: {
|
|
3429
|
+
default: [
|
|
3430
|
+
'',
|
|
3431
|
+
'',
|
|
3432
|
+
'',
|
|
3433
|
+
'',
|
|
3434
|
+
'',
|
|
3435
|
+
'',
|
|
3436
|
+
'',
|
|
3437
|
+
'',
|
|
3438
|
+
'',
|
|
3439
|
+
'',
|
|
3440
|
+
'',
|
|
3441
|
+
'',
|
|
3442
|
+
'',
|
|
3443
|
+
'',
|
|
3444
|
+
'',
|
|
3445
|
+
'',
|
|
3446
|
+
'',
|
|
3447
|
+
'',
|
|
3448
|
+
'',
|
|
3449
|
+
'',
|
|
3450
|
+
],
|
|
3451
|
+
type: 'array',
|
|
3452
|
+
items: {
|
|
3453
|
+
$ref: '#/definitions/x-any',
|
|
3454
|
+
},
|
|
3455
|
+
},
|
|
3456
|
+
sessionFieldMapping: {
|
|
3457
|
+
default: [
|
|
3458
|
+
'',
|
|
3459
|
+
'',
|
|
3460
|
+
'',
|
|
3461
|
+
'',
|
|
3462
|
+
'',
|
|
3463
|
+
'',
|
|
3464
|
+
'',
|
|
3465
|
+
'',
|
|
3466
|
+
'',
|
|
3467
|
+
'',
|
|
3468
|
+
'',
|
|
3469
|
+
'',
|
|
3470
|
+
'',
|
|
3471
|
+
'',
|
|
3472
|
+
'',
|
|
3473
|
+
'',
|
|
3474
|
+
'',
|
|
3475
|
+
'',
|
|
3476
|
+
'',
|
|
3477
|
+
'',
|
|
3478
|
+
],
|
|
3479
|
+
type: 'array',
|
|
3480
|
+
items: {
|
|
3481
|
+
$ref: '#/definitions/x-any',
|
|
3482
|
+
},
|
|
3655
3483
|
},
|
|
3656
3484
|
created: {
|
|
3657
3485
|
default: '$now',
|
|
@@ -3668,35 +3496,26 @@ export const MenusSchema = {
|
|
|
3668
3496
|
type: 'string',
|
|
3669
3497
|
format: 'date-time',
|
|
3670
3498
|
},
|
|
3671
|
-
UserId: {
|
|
3672
|
-
type: 'string',
|
|
3673
|
-
},
|
|
3674
3499
|
},
|
|
3675
|
-
required: ['id'],
|
|
3500
|
+
required: ['id', 'name'],
|
|
3676
3501
|
additionalProperties: false,
|
|
3677
3502
|
type: 'object',
|
|
3678
3503
|
} as const;
|
|
3679
3504
|
|
|
3680
|
-
export const
|
|
3505
|
+
export const VoteMappingSchema = {
|
|
3681
3506
|
properties: {
|
|
3682
3507
|
id: {
|
|
3683
3508
|
type: 'string',
|
|
3684
3509
|
},
|
|
3685
|
-
|
|
3686
|
-
default: '',
|
|
3510
|
+
commentId: {
|
|
3687
3511
|
type: 'string',
|
|
3688
3512
|
},
|
|
3689
|
-
|
|
3690
|
-
default: '',
|
|
3513
|
+
postId: {
|
|
3691
3514
|
type: 'string',
|
|
3692
3515
|
},
|
|
3693
|
-
|
|
3694
|
-
|
|
3695
|
-
|
|
3696
|
-
},
|
|
3697
|
-
disableUse: {
|
|
3698
|
-
default: false,
|
|
3699
|
-
type: 'boolean',
|
|
3516
|
+
value: {
|
|
3517
|
+
type: 'number',
|
|
3518
|
+
format: 'double',
|
|
3700
3519
|
},
|
|
3701
3520
|
created: {
|
|
3702
3521
|
default: '$now',
|
|
@@ -3711,18 +3530,25 @@ export const RuleSchema = {
|
|
|
3711
3530
|
serverModified: {
|
|
3712
3531
|
default: '$now',
|
|
3713
3532
|
type: 'string',
|
|
3714
|
-
format: 'date-time',
|
|
3533
|
+
format: 'date-time',
|
|
3534
|
+
},
|
|
3535
|
+
deletedAt: {
|
|
3536
|
+
type: 'string',
|
|
3537
|
+
format: 'date-time',
|
|
3538
|
+
},
|
|
3539
|
+
deletedBy: {
|
|
3540
|
+
type: 'string',
|
|
3715
3541
|
},
|
|
3716
3542
|
UserId: {
|
|
3717
3543
|
type: 'string',
|
|
3718
3544
|
},
|
|
3719
3545
|
},
|
|
3720
|
-
required: ['id'
|
|
3546
|
+
required: ['id'],
|
|
3721
3547
|
additionalProperties: false,
|
|
3722
3548
|
type: 'object',
|
|
3723
3549
|
} as const;
|
|
3724
3550
|
|
|
3725
|
-
export const
|
|
3551
|
+
export const ConnectorFunctionSchema = {
|
|
3726
3552
|
properties: {
|
|
3727
3553
|
id: {
|
|
3728
3554
|
type: 'string',
|
|
@@ -3731,13 +3557,25 @@ export const CategorySchema = {
|
|
|
3731
3557
|
default: '',
|
|
3732
3558
|
type: 'string',
|
|
3733
3559
|
},
|
|
3734
|
-
|
|
3560
|
+
code: {
|
|
3735
3561
|
type: 'string',
|
|
3736
3562
|
},
|
|
3737
|
-
|
|
3738
|
-
default:
|
|
3739
|
-
type: '
|
|
3740
|
-
|
|
3563
|
+
input: {
|
|
3564
|
+
default: [],
|
|
3565
|
+
type: 'array',
|
|
3566
|
+
items: {
|
|
3567
|
+
$ref: '#/definitions/x-any',
|
|
3568
|
+
},
|
|
3569
|
+
},
|
|
3570
|
+
output: {
|
|
3571
|
+
default: [],
|
|
3572
|
+
type: 'array',
|
|
3573
|
+
items: {
|
|
3574
|
+
$ref: '#/definitions/x-any',
|
|
3575
|
+
},
|
|
3576
|
+
},
|
|
3577
|
+
connectorId: {
|
|
3578
|
+
type: 'string',
|
|
3741
3579
|
},
|
|
3742
3580
|
created: {
|
|
3743
3581
|
default: '$now',
|
|
@@ -3758,20 +3596,22 @@ export const CategorySchema = {
|
|
|
3758
3596
|
type: 'string',
|
|
3759
3597
|
},
|
|
3760
3598
|
},
|
|
3761
|
-
required: ['id', 'name'],
|
|
3599
|
+
required: ['id', 'name', 'connectorId'],
|
|
3762
3600
|
additionalProperties: false,
|
|
3763
3601
|
type: 'object',
|
|
3764
3602
|
} as const;
|
|
3765
3603
|
|
|
3766
|
-
export const
|
|
3604
|
+
export const ConnectorSchema = {
|
|
3767
3605
|
properties: {
|
|
3768
3606
|
id: {
|
|
3769
3607
|
type: 'string',
|
|
3770
3608
|
},
|
|
3771
3609
|
name: {
|
|
3610
|
+
default: '',
|
|
3772
3611
|
type: 'string',
|
|
3773
3612
|
},
|
|
3774
|
-
|
|
3613
|
+
description: {
|
|
3614
|
+
default: '',
|
|
3775
3615
|
type: 'string',
|
|
3776
3616
|
},
|
|
3777
3617
|
created: {
|
|
@@ -3789,60 +3629,31 @@ export const ForumSchema = {
|
|
|
3789
3629
|
type: 'string',
|
|
3790
3630
|
format: 'date-time',
|
|
3791
3631
|
},
|
|
3792
|
-
deletedAt: {
|
|
3793
|
-
type: 'string',
|
|
3794
|
-
format: 'date-time',
|
|
3795
|
-
},
|
|
3796
|
-
deletedBy: {
|
|
3797
|
-
type: 'string',
|
|
3798
|
-
},
|
|
3799
3632
|
UserId: {
|
|
3800
3633
|
type: 'string',
|
|
3801
3634
|
},
|
|
3802
|
-
groups: {
|
|
3803
|
-
type: 'array',
|
|
3804
|
-
items: {
|
|
3805
|
-
type: 'string',
|
|
3806
|
-
},
|
|
3807
|
-
},
|
|
3808
3635
|
},
|
|
3809
|
-
required: ['id'],
|
|
3636
|
+
required: ['id', 'name'],
|
|
3810
3637
|
additionalProperties: false,
|
|
3811
3638
|
type: 'object',
|
|
3812
3639
|
} as const;
|
|
3813
3640
|
|
|
3814
|
-
export const
|
|
3641
|
+
export const ScromSessionSchema = {
|
|
3815
3642
|
properties: {
|
|
3816
3643
|
id: {
|
|
3817
3644
|
type: 'string',
|
|
3818
3645
|
},
|
|
3819
|
-
|
|
3820
|
-
type: 'string',
|
|
3821
|
-
},
|
|
3822
|
-
content: {
|
|
3823
|
-
type: 'string',
|
|
3824
|
-
},
|
|
3825
|
-
plainContent: {
|
|
3826
|
-
type: 'string',
|
|
3827
|
-
},
|
|
3828
|
-
forumId: {
|
|
3829
|
-
default: '',
|
|
3830
|
-
type: 'string',
|
|
3831
|
-
},
|
|
3832
|
-
contentPackageId: {
|
|
3833
|
-
default: '',
|
|
3646
|
+
model: {
|
|
3834
3647
|
type: 'string',
|
|
3835
3648
|
},
|
|
3836
|
-
|
|
3837
|
-
default: '',
|
|
3649
|
+
modelId: {
|
|
3838
3650
|
type: 'string',
|
|
3839
3651
|
},
|
|
3840
|
-
|
|
3841
|
-
default: '',
|
|
3652
|
+
resourceId: {
|
|
3842
3653
|
type: 'string',
|
|
3843
3654
|
},
|
|
3844
|
-
|
|
3845
|
-
type: '
|
|
3655
|
+
data: {
|
|
3656
|
+
type: 'object',
|
|
3846
3657
|
},
|
|
3847
3658
|
created: {
|
|
3848
3659
|
default: '$now',
|
|
@@ -3859,11 +3670,7 @@ export const PostSchema = {
|
|
|
3859
3670
|
type: 'string',
|
|
3860
3671
|
format: 'date-time',
|
|
3861
3672
|
},
|
|
3862
|
-
|
|
3863
|
-
type: 'string',
|
|
3864
|
-
format: 'date-time',
|
|
3865
|
-
},
|
|
3866
|
-
deletedBy: {
|
|
3673
|
+
UserId: {
|
|
3867
3674
|
type: 'string',
|
|
3868
3675
|
},
|
|
3869
3676
|
},
|
|
@@ -3872,25 +3679,26 @@ export const PostSchema = {
|
|
|
3872
3679
|
type: 'object',
|
|
3873
3680
|
} as const;
|
|
3874
3681
|
|
|
3875
|
-
export const
|
|
3682
|
+
export const TranslationSchema = {
|
|
3876
3683
|
properties: {
|
|
3877
3684
|
id: {
|
|
3878
3685
|
type: 'string',
|
|
3879
3686
|
},
|
|
3880
|
-
|
|
3687
|
+
langCode: {
|
|
3881
3688
|
type: 'string',
|
|
3882
3689
|
},
|
|
3883
|
-
|
|
3690
|
+
translateCode: {
|
|
3884
3691
|
type: 'string',
|
|
3885
3692
|
},
|
|
3886
|
-
|
|
3693
|
+
originalTranslation: {
|
|
3887
3694
|
type: 'string',
|
|
3888
3695
|
},
|
|
3889
|
-
|
|
3696
|
+
overrideTranslation: {
|
|
3890
3697
|
type: 'string',
|
|
3891
3698
|
},
|
|
3892
|
-
|
|
3893
|
-
|
|
3699
|
+
userable: {
|
|
3700
|
+
default: false,
|
|
3701
|
+
type: 'boolean',
|
|
3894
3702
|
},
|
|
3895
3703
|
created: {
|
|
3896
3704
|
default: '$now',
|
|
@@ -3907,11 +3715,7 @@ export const CommentSchema = {
|
|
|
3907
3715
|
type: 'string',
|
|
3908
3716
|
format: 'date-time',
|
|
3909
3717
|
},
|
|
3910
|
-
|
|
3911
|
-
type: 'string',
|
|
3912
|
-
format: 'date-time',
|
|
3913
|
-
},
|
|
3914
|
-
deletedBy: {
|
|
3718
|
+
UserId: {
|
|
3915
3719
|
type: 'string',
|
|
3916
3720
|
},
|
|
3917
3721
|
},
|
|
@@ -3920,75 +3724,52 @@ export const CommentSchema = {
|
|
|
3920
3724
|
type: 'object',
|
|
3921
3725
|
} as const;
|
|
3922
3726
|
|
|
3923
|
-
export const
|
|
3727
|
+
export const CustomFieldSchema = {
|
|
3924
3728
|
properties: {
|
|
3925
3729
|
id: {
|
|
3926
3730
|
type: 'string',
|
|
3927
3731
|
},
|
|
3928
|
-
|
|
3929
|
-
|
|
3930
|
-
},
|
|
3931
|
-
description: {
|
|
3732
|
+
key: {
|
|
3733
|
+
default: '',
|
|
3932
3734
|
type: 'string',
|
|
3933
3735
|
},
|
|
3934
|
-
|
|
3736
|
+
modelName: {
|
|
3935
3737
|
default: [],
|
|
3936
3738
|
type: 'array',
|
|
3937
3739
|
items: {
|
|
3938
3740
|
$ref: '#/definitions/x-any',
|
|
3939
3741
|
},
|
|
3940
3742
|
},
|
|
3941
|
-
|
|
3942
|
-
default:
|
|
3943
|
-
|
|
3944
|
-
'',
|
|
3945
|
-
'',
|
|
3946
|
-
'',
|
|
3947
|
-
'',
|
|
3948
|
-
'',
|
|
3949
|
-
'',
|
|
3950
|
-
'',
|
|
3951
|
-
'',
|
|
3952
|
-
'',
|
|
3953
|
-
'',
|
|
3954
|
-
'',
|
|
3955
|
-
'',
|
|
3956
|
-
'',
|
|
3957
|
-
'',
|
|
3958
|
-
'',
|
|
3959
|
-
'',
|
|
3960
|
-
'',
|
|
3961
|
-
'',
|
|
3962
|
-
'',
|
|
3963
|
-
],
|
|
3964
|
-
type: 'array',
|
|
3965
|
-
items: {
|
|
3966
|
-
$ref: '#/definitions/x-any',
|
|
3967
|
-
},
|
|
3743
|
+
type: {
|
|
3744
|
+
default: 'string',
|
|
3745
|
+
type: 'string',
|
|
3968
3746
|
},
|
|
3969
|
-
|
|
3970
|
-
default:
|
|
3971
|
-
|
|
3972
|
-
|
|
3973
|
-
|
|
3974
|
-
|
|
3975
|
-
|
|
3976
|
-
|
|
3977
|
-
|
|
3978
|
-
|
|
3979
|
-
|
|
3980
|
-
|
|
3981
|
-
|
|
3982
|
-
|
|
3983
|
-
|
|
3984
|
-
|
|
3985
|
-
|
|
3986
|
-
|
|
3987
|
-
|
|
3988
|
-
|
|
3989
|
-
|
|
3990
|
-
|
|
3991
|
-
|
|
3747
|
+
element: {
|
|
3748
|
+
default: 'input',
|
|
3749
|
+
type: 'string',
|
|
3750
|
+
},
|
|
3751
|
+
searchable: {
|
|
3752
|
+
default: true,
|
|
3753
|
+
type: 'boolean',
|
|
3754
|
+
},
|
|
3755
|
+
filterable: {
|
|
3756
|
+
default: false,
|
|
3757
|
+
type: 'boolean',
|
|
3758
|
+
},
|
|
3759
|
+
display: {
|
|
3760
|
+
default: true,
|
|
3761
|
+
type: 'boolean',
|
|
3762
|
+
},
|
|
3763
|
+
default: {
|
|
3764
|
+
$ref: '#/definitions/x-any',
|
|
3765
|
+
},
|
|
3766
|
+
weight: {
|
|
3767
|
+
default: 0,
|
|
3768
|
+
type: 'number',
|
|
3769
|
+
format: 'double',
|
|
3770
|
+
},
|
|
3771
|
+
options: {
|
|
3772
|
+
default: [],
|
|
3992
3773
|
type: 'array',
|
|
3993
3774
|
items: {
|
|
3994
3775
|
$ref: '#/definitions/x-any',
|
|
@@ -4009,122 +3790,143 @@ export const PriorityLabelSchema = {
|
|
|
4009
3790
|
type: 'string',
|
|
4010
3791
|
format: 'date-time',
|
|
4011
3792
|
},
|
|
3793
|
+
UserId: {
|
|
3794
|
+
type: 'string',
|
|
3795
|
+
},
|
|
4012
3796
|
},
|
|
4013
|
-
required: ['id', '
|
|
3797
|
+
required: ['id', 'key', 'modelName'],
|
|
4014
3798
|
additionalProperties: false,
|
|
4015
3799
|
type: 'object',
|
|
4016
3800
|
} as const;
|
|
4017
3801
|
|
|
4018
|
-
export const
|
|
3802
|
+
export const FormSchema = {
|
|
4019
3803
|
properties: {
|
|
4020
3804
|
id: {
|
|
4021
3805
|
type: 'string',
|
|
4022
3806
|
},
|
|
4023
|
-
|
|
3807
|
+
name: {
|
|
3808
|
+
default: '',
|
|
4024
3809
|
type: 'string',
|
|
4025
3810
|
},
|
|
4026
|
-
|
|
4027
|
-
|
|
3811
|
+
global: {
|
|
3812
|
+
default: false,
|
|
3813
|
+
type: 'boolean',
|
|
4028
3814
|
},
|
|
4029
|
-
|
|
4030
|
-
|
|
4031
|
-
|
|
3815
|
+
singleton: {
|
|
3816
|
+
default: false,
|
|
3817
|
+
type: 'boolean',
|
|
4032
3818
|
},
|
|
4033
|
-
|
|
4034
|
-
default:
|
|
4035
|
-
type: '
|
|
4036
|
-
format: 'date-time',
|
|
3819
|
+
sendNotificationEmail: {
|
|
3820
|
+
default: true,
|
|
3821
|
+
type: 'boolean',
|
|
4037
3822
|
},
|
|
4038
|
-
|
|
4039
|
-
default: '$now',
|
|
3823
|
+
icon: {
|
|
4040
3824
|
type: 'string',
|
|
4041
|
-
format: 'date-time',
|
|
4042
3825
|
},
|
|
4043
|
-
|
|
4044
|
-
default:
|
|
4045
|
-
type: '
|
|
4046
|
-
format: 'date-time',
|
|
3826
|
+
hasStatus: {
|
|
3827
|
+
default: false,
|
|
3828
|
+
type: 'boolean',
|
|
4047
3829
|
},
|
|
4048
|
-
|
|
4049
|
-
|
|
4050
|
-
|
|
3830
|
+
removeAssignee: {
|
|
3831
|
+
default: false,
|
|
3832
|
+
type: 'boolean',
|
|
3833
|
+
},
|
|
3834
|
+
unassigned: {
|
|
3835
|
+
default: false,
|
|
3836
|
+
type: 'boolean',
|
|
3837
|
+
},
|
|
3838
|
+
viewCertificate: {
|
|
3839
|
+
default: [],
|
|
3840
|
+
type: 'array',
|
|
3841
|
+
items: {
|
|
3842
|
+
$ref: '#/definitions/x-any',
|
|
3843
|
+
},
|
|
3844
|
+
},
|
|
3845
|
+
createCertificate: {
|
|
3846
|
+
default: [],
|
|
3847
|
+
type: 'array',
|
|
3848
|
+
items: {
|
|
3849
|
+
$ref: '#/definitions/x-any',
|
|
3850
|
+
},
|
|
4051
3851
|
},
|
|
4052
|
-
|
|
4053
|
-
|
|
3852
|
+
closeCertificate: {
|
|
3853
|
+
default: [],
|
|
3854
|
+
type: 'array',
|
|
3855
|
+
items: {
|
|
3856
|
+
$ref: '#/definitions/x-any',
|
|
3857
|
+
},
|
|
4054
3858
|
},
|
|
4055
|
-
|
|
4056
|
-
|
|
3859
|
+
defaultAssignee: {
|
|
3860
|
+
default: [],
|
|
3861
|
+
type: 'array',
|
|
3862
|
+
items: {
|
|
3863
|
+
$ref: '#/definitions/x-any',
|
|
3864
|
+
},
|
|
4057
3865
|
},
|
|
4058
|
-
|
|
4059
|
-
|
|
4060
|
-
|
|
4061
|
-
|
|
4062
|
-
|
|
4063
|
-
|
|
4064
|
-
export const ConnectorFunctionSchema = {
|
|
4065
|
-
properties: {
|
|
4066
|
-
id: {
|
|
4067
|
-
type: 'string',
|
|
3866
|
+
fields: {
|
|
3867
|
+
default: [],
|
|
3868
|
+
type: 'array',
|
|
3869
|
+
items: {
|
|
3870
|
+
$ref: '#/definitions/x-any',
|
|
3871
|
+
},
|
|
4068
3872
|
},
|
|
4069
|
-
|
|
3873
|
+
defaultStatus: {
|
|
4070
3874
|
default: '',
|
|
4071
3875
|
type: 'string',
|
|
4072
3876
|
},
|
|
4073
|
-
|
|
4074
|
-
|
|
3877
|
+
_v: {
|
|
3878
|
+
default: 6,
|
|
3879
|
+
type: 'number',
|
|
3880
|
+
format: 'double',
|
|
4075
3881
|
},
|
|
4076
|
-
|
|
3882
|
+
statuses: {
|
|
4077
3883
|
default: [],
|
|
4078
3884
|
type: 'array',
|
|
4079
3885
|
items: {
|
|
4080
3886
|
$ref: '#/definitions/x-any',
|
|
4081
3887
|
},
|
|
4082
3888
|
},
|
|
4083
|
-
|
|
3889
|
+
approvalWorkflows: {
|
|
4084
3890
|
default: [],
|
|
4085
3891
|
type: 'array',
|
|
4086
3892
|
items: {
|
|
4087
3893
|
$ref: '#/definitions/x-any',
|
|
4088
3894
|
},
|
|
4089
3895
|
},
|
|
4090
|
-
|
|
4091
|
-
|
|
3896
|
+
presaveTriggers: {
|
|
3897
|
+
default: [],
|
|
3898
|
+
type: 'array',
|
|
3899
|
+
items: {
|
|
3900
|
+
$ref: '#/definitions/x-any',
|
|
3901
|
+
},
|
|
4092
3902
|
},
|
|
4093
|
-
|
|
4094
|
-
default:
|
|
4095
|
-
type: '
|
|
4096
|
-
|
|
3903
|
+
postsaveTriggers: {
|
|
3904
|
+
default: [],
|
|
3905
|
+
type: 'array',
|
|
3906
|
+
items: {
|
|
3907
|
+
$ref: '#/definitions/x-any',
|
|
3908
|
+
},
|
|
4097
3909
|
},
|
|
4098
|
-
|
|
4099
|
-
default: '
|
|
3910
|
+
fieldSettings: {
|
|
3911
|
+
default: '{}',
|
|
4100
3912
|
type: 'string',
|
|
4101
|
-
format: 'date-time',
|
|
4102
3913
|
},
|
|
4103
|
-
|
|
4104
|
-
default:
|
|
4105
|
-
type: '
|
|
4106
|
-
format: 'date-time',
|
|
3914
|
+
showInWorkflow: {
|
|
3915
|
+
default: false,
|
|
3916
|
+
type: 'boolean',
|
|
4107
3917
|
},
|
|
4108
|
-
|
|
4109
|
-
|
|
3918
|
+
isTemplate: {
|
|
3919
|
+
default: false,
|
|
3920
|
+
type: 'boolean',
|
|
4110
3921
|
},
|
|
4111
|
-
|
|
4112
|
-
|
|
4113
|
-
|
|
4114
|
-
type: 'object',
|
|
4115
|
-
} as const;
|
|
4116
|
-
|
|
4117
|
-
export const ConnectorSchema = {
|
|
4118
|
-
properties: {
|
|
4119
|
-
id: {
|
|
4120
|
-
type: 'string',
|
|
3922
|
+
includeInDigestEmail: {
|
|
3923
|
+
default: true,
|
|
3924
|
+
type: 'boolean',
|
|
4121
3925
|
},
|
|
4122
|
-
|
|
4123
|
-
default: '',
|
|
3926
|
+
viewForDigestEmail: {
|
|
4124
3927
|
type: 'string',
|
|
4125
3928
|
},
|
|
4126
|
-
|
|
4127
|
-
default: '',
|
|
3929
|
+
closeStatusOnWorkflowRelease: {
|
|
4128
3930
|
type: 'string',
|
|
4129
3931
|
},
|
|
4130
3932
|
created: {
|
|
@@ -4142,32 +3944,33 @@ export const ConnectorSchema = {
|
|
|
4142
3944
|
type: 'string',
|
|
4143
3945
|
format: 'date-time',
|
|
4144
3946
|
},
|
|
4145
|
-
|
|
3947
|
+
deletedAt: {
|
|
3948
|
+
type: 'string',
|
|
3949
|
+
format: 'date-time',
|
|
3950
|
+
},
|
|
3951
|
+
deletedBy: {
|
|
3952
|
+
type: 'string',
|
|
3953
|
+
},
|
|
3954
|
+
C_test: {
|
|
4146
3955
|
type: 'string',
|
|
4147
3956
|
},
|
|
4148
3957
|
},
|
|
4149
|
-
required: ['id', 'name'],
|
|
3958
|
+
required: ['id', 'name', 'fields'],
|
|
4150
3959
|
additionalProperties: false,
|
|
4151
3960
|
type: 'object',
|
|
4152
3961
|
} as const;
|
|
4153
3962
|
|
|
4154
|
-
export const
|
|
3963
|
+
export const FormDataCommentSchema = {
|
|
4155
3964
|
properties: {
|
|
4156
3965
|
id: {
|
|
4157
3966
|
type: 'string',
|
|
4158
3967
|
},
|
|
4159
|
-
|
|
4160
|
-
type: 'string',
|
|
4161
|
-
},
|
|
4162
|
-
modelId: {
|
|
3968
|
+
content: {
|
|
4163
3969
|
type: 'string',
|
|
4164
3970
|
},
|
|
4165
|
-
|
|
3971
|
+
plainContent: {
|
|
4166
3972
|
type: 'string',
|
|
4167
3973
|
},
|
|
4168
|
-
data: {
|
|
4169
|
-
type: 'object',
|
|
4170
|
-
},
|
|
4171
3974
|
created: {
|
|
4172
3975
|
default: '$now',
|
|
4173
3976
|
type: 'string',
|
|
@@ -4183,263 +3986,196 @@ export const ScromSessionSchema = {
|
|
|
4183
3986
|
type: 'string',
|
|
4184
3987
|
format: 'date-time',
|
|
4185
3988
|
},
|
|
3989
|
+
deletedAt: {
|
|
3990
|
+
type: 'string',
|
|
3991
|
+
format: 'date-time',
|
|
3992
|
+
},
|
|
3993
|
+
deletedBy: {
|
|
3994
|
+
type: 'string',
|
|
3995
|
+
},
|
|
3996
|
+
parentId: {
|
|
3997
|
+
type: 'string',
|
|
3998
|
+
},
|
|
4186
3999
|
UserId: {
|
|
4187
4000
|
type: 'string',
|
|
4188
4001
|
},
|
|
4002
|
+
createdBy: {
|
|
4003
|
+
type: 'string',
|
|
4004
|
+
},
|
|
4189
4005
|
},
|
|
4190
|
-
required: ['id'],
|
|
4006
|
+
required: ['id', 'content', 'plainContent'],
|
|
4191
4007
|
additionalProperties: false,
|
|
4192
4008
|
type: 'object',
|
|
4193
4009
|
} as const;
|
|
4194
4010
|
|
|
4195
|
-
export const
|
|
4011
|
+
export const FormDataSchema = {
|
|
4196
4012
|
properties: {
|
|
4197
4013
|
id: {
|
|
4198
4014
|
type: 'string',
|
|
4199
4015
|
},
|
|
4200
|
-
|
|
4201
|
-
type: '
|
|
4202
|
-
|
|
4203
|
-
translateCode: {
|
|
4204
|
-
type: 'string',
|
|
4016
|
+
number: {
|
|
4017
|
+
type: 'number',
|
|
4018
|
+
format: 'double',
|
|
4205
4019
|
},
|
|
4206
|
-
|
|
4020
|
+
formId: {
|
|
4207
4021
|
type: 'string',
|
|
4208
4022
|
},
|
|
4209
|
-
|
|
4023
|
+
sessionId: {
|
|
4210
4024
|
type: 'string',
|
|
4211
4025
|
},
|
|
4212
|
-
|
|
4213
|
-
default: false,
|
|
4214
|
-
type: 'boolean',
|
|
4215
|
-
},
|
|
4216
|
-
created: {
|
|
4217
|
-
default: '$now',
|
|
4026
|
+
serial: {
|
|
4218
4027
|
type: 'string',
|
|
4219
|
-
format: 'date-time',
|
|
4220
4028
|
},
|
|
4221
|
-
|
|
4222
|
-
default: '$now',
|
|
4029
|
+
workorderId: {
|
|
4223
4030
|
type: 'string',
|
|
4224
|
-
format: 'date-time',
|
|
4225
4031
|
},
|
|
4226
|
-
|
|
4227
|
-
default: '$now',
|
|
4032
|
+
workorderNumber: {
|
|
4228
4033
|
type: 'string',
|
|
4229
|
-
format: 'date-time',
|
|
4230
4034
|
},
|
|
4231
|
-
|
|
4035
|
+
sessionNodeId: {
|
|
4232
4036
|
type: 'string',
|
|
4233
4037
|
},
|
|
4234
|
-
|
|
4235
|
-
required: ['id'],
|
|
4236
|
-
additionalProperties: false,
|
|
4237
|
-
type: 'object',
|
|
4238
|
-
} as const;
|
|
4239
|
-
|
|
4240
|
-
export const CustomFieldSchema = {
|
|
4241
|
-
properties: {
|
|
4242
|
-
id: {
|
|
4038
|
+
nodeId: {
|
|
4243
4039
|
type: 'string',
|
|
4244
4040
|
},
|
|
4245
|
-
|
|
4246
|
-
default: '',
|
|
4041
|
+
originalNodeId: {
|
|
4247
4042
|
type: 'string',
|
|
4248
4043
|
},
|
|
4249
|
-
|
|
4250
|
-
default: [],
|
|
4251
|
-
type: 'array',
|
|
4252
|
-
items: {
|
|
4253
|
-
$ref: '#/definitions/x-any',
|
|
4254
|
-
},
|
|
4255
|
-
},
|
|
4256
|
-
type: {
|
|
4257
|
-
default: 'string',
|
|
4044
|
+
nodeName: {
|
|
4258
4045
|
type: 'string',
|
|
4259
4046
|
},
|
|
4260
|
-
|
|
4261
|
-
default: 'input',
|
|
4047
|
+
workflowId: {
|
|
4262
4048
|
type: 'string',
|
|
4263
4049
|
},
|
|
4264
|
-
|
|
4265
|
-
default: true,
|
|
4266
|
-
type: 'boolean',
|
|
4267
|
-
},
|
|
4268
|
-
filterable: {
|
|
4269
|
-
default: false,
|
|
4270
|
-
type: 'boolean',
|
|
4271
|
-
},
|
|
4272
|
-
display: {
|
|
4273
|
-
default: true,
|
|
4274
|
-
type: 'boolean',
|
|
4275
|
-
},
|
|
4276
|
-
default: {
|
|
4277
|
-
$ref: '#/definitions/x-any',
|
|
4278
|
-
},
|
|
4279
|
-
weight: {
|
|
4280
|
-
default: 0,
|
|
4281
|
-
type: 'number',
|
|
4282
|
-
format: 'double',
|
|
4283
|
-
},
|
|
4284
|
-
options: {
|
|
4285
|
-
default: [],
|
|
4286
|
-
type: 'array',
|
|
4287
|
-
items: {
|
|
4288
|
-
$ref: '#/definitions/x-any',
|
|
4289
|
-
},
|
|
4290
|
-
},
|
|
4291
|
-
created: {
|
|
4292
|
-
default: '$now',
|
|
4050
|
+
originalWorkflowId: {
|
|
4293
4051
|
type: 'string',
|
|
4294
|
-
format: 'date-time',
|
|
4295
4052
|
},
|
|
4296
|
-
|
|
4297
|
-
default: '$now',
|
|
4053
|
+
workflowName: {
|
|
4298
4054
|
type: 'string',
|
|
4299
|
-
format: 'date-time',
|
|
4300
4055
|
},
|
|
4301
|
-
|
|
4302
|
-
default: '$now',
|
|
4056
|
+
recordId: {
|
|
4303
4057
|
type: 'string',
|
|
4304
|
-
format: 'date-time',
|
|
4305
4058
|
},
|
|
4306
|
-
|
|
4307
|
-
type: '
|
|
4059
|
+
workflowVersion: {
|
|
4060
|
+
type: 'number',
|
|
4061
|
+
format: 'double',
|
|
4308
4062
|
},
|
|
4309
|
-
|
|
4310
|
-
|
|
4311
|
-
|
|
4312
|
-
type: 'object',
|
|
4313
|
-
} as const;
|
|
4314
|
-
|
|
4315
|
-
export const FormSchema = {
|
|
4316
|
-
properties: {
|
|
4317
|
-
id: {
|
|
4318
|
-
type: 'string',
|
|
4063
|
+
workflowSubVersion: {
|
|
4064
|
+
type: 'number',
|
|
4065
|
+
format: 'double',
|
|
4319
4066
|
},
|
|
4320
|
-
|
|
4321
|
-
default: '',
|
|
4067
|
+
workflowNormalizedVersion: {
|
|
4322
4068
|
type: 'string',
|
|
4323
4069
|
},
|
|
4324
|
-
|
|
4325
|
-
default: false,
|
|
4326
|
-
type: 'boolean',
|
|
4327
|
-
},
|
|
4328
|
-
singleton: {
|
|
4070
|
+
openInPreview: {
|
|
4329
4071
|
default: false,
|
|
4330
4072
|
type: 'boolean',
|
|
4331
4073
|
},
|
|
4332
|
-
|
|
4333
|
-
|
|
4334
|
-
type: 'boolean',
|
|
4074
|
+
partSku: {
|
|
4075
|
+
type: 'string',
|
|
4335
4076
|
},
|
|
4336
|
-
|
|
4077
|
+
partRev: {
|
|
4337
4078
|
type: 'string',
|
|
4338
4079
|
},
|
|
4339
4080
|
hasStatus: {
|
|
4340
|
-
default: false,
|
|
4341
4081
|
type: 'boolean',
|
|
4342
4082
|
},
|
|
4343
|
-
|
|
4083
|
+
unassigned: {
|
|
4344
4084
|
default: false,
|
|
4345
4085
|
type: 'boolean',
|
|
4346
4086
|
},
|
|
4347
|
-
|
|
4087
|
+
removeAssignee: {
|
|
4348
4088
|
default: false,
|
|
4349
4089
|
type: 'boolean',
|
|
4350
4090
|
},
|
|
4351
|
-
|
|
4091
|
+
assignee: {
|
|
4352
4092
|
default: [],
|
|
4353
4093
|
type: 'array',
|
|
4354
4094
|
items: {
|
|
4355
4095
|
$ref: '#/definitions/x-any',
|
|
4356
4096
|
},
|
|
4357
4097
|
},
|
|
4358
|
-
|
|
4098
|
+
viewers: {
|
|
4359
4099
|
default: [],
|
|
4360
4100
|
type: 'array',
|
|
4361
4101
|
items: {
|
|
4362
4102
|
$ref: '#/definitions/x-any',
|
|
4363
4103
|
},
|
|
4364
4104
|
},
|
|
4365
|
-
|
|
4105
|
+
status: {
|
|
4106
|
+
type: 'string',
|
|
4107
|
+
},
|
|
4108
|
+
ownerId: {
|
|
4109
|
+
type: 'string',
|
|
4110
|
+
},
|
|
4111
|
+
closedBy: {
|
|
4112
|
+
type: 'string',
|
|
4113
|
+
},
|
|
4114
|
+
closedAt: {
|
|
4115
|
+
type: 'string',
|
|
4116
|
+
format: 'date-time',
|
|
4117
|
+
},
|
|
4118
|
+
closeComments: {
|
|
4119
|
+
type: 'string',
|
|
4120
|
+
},
|
|
4121
|
+
fields: {
|
|
4366
4122
|
default: [],
|
|
4367
4123
|
type: 'array',
|
|
4368
4124
|
items: {
|
|
4369
4125
|
$ref: '#/definitions/x-any',
|
|
4370
4126
|
},
|
|
4371
4127
|
},
|
|
4372
|
-
|
|
4128
|
+
statuses: {
|
|
4373
4129
|
default: [],
|
|
4374
4130
|
type: 'array',
|
|
4375
4131
|
items: {
|
|
4376
4132
|
$ref: '#/definitions/x-any',
|
|
4377
4133
|
},
|
|
4378
4134
|
},
|
|
4379
|
-
|
|
4135
|
+
changeLog: {
|
|
4380
4136
|
default: [],
|
|
4381
4137
|
type: 'array',
|
|
4382
4138
|
items: {
|
|
4383
4139
|
$ref: '#/definitions/x-any',
|
|
4384
4140
|
},
|
|
4385
4141
|
},
|
|
4386
|
-
|
|
4387
|
-
|
|
4388
|
-
type: 'string',
|
|
4142
|
+
approvalWorkflow: {
|
|
4143
|
+
type: 'object',
|
|
4389
4144
|
},
|
|
4390
4145
|
_v: {
|
|
4391
|
-
default:
|
|
4146
|
+
default: 5,
|
|
4392
4147
|
type: 'number',
|
|
4393
4148
|
format: 'double',
|
|
4394
4149
|
},
|
|
4395
|
-
|
|
4396
|
-
|
|
4397
|
-
type: 'array',
|
|
4398
|
-
items: {
|
|
4399
|
-
$ref: '#/definitions/x-any',
|
|
4400
|
-
},
|
|
4150
|
+
stockSku: {
|
|
4151
|
+
type: 'string',
|
|
4401
4152
|
},
|
|
4402
|
-
|
|
4403
|
-
|
|
4404
|
-
type: 'array',
|
|
4405
|
-
items: {
|
|
4406
|
-
$ref: '#/definitions/x-any',
|
|
4407
|
-
},
|
|
4153
|
+
stockSerial: {
|
|
4154
|
+
type: 'string',
|
|
4408
4155
|
},
|
|
4409
|
-
|
|
4410
|
-
|
|
4156
|
+
stockLot: {
|
|
4157
|
+
type: 'string',
|
|
4158
|
+
},
|
|
4159
|
+
requireDeviceLink: {
|
|
4160
|
+
default: true,
|
|
4161
|
+
type: 'boolean',
|
|
4162
|
+
},
|
|
4163
|
+
linkedTo: {
|
|
4411
4164
|
type: 'array',
|
|
4412
4165
|
items: {
|
|
4413
|
-
|
|
4166
|
+
type: 'string',
|
|
4414
4167
|
},
|
|
4415
4168
|
},
|
|
4416
|
-
|
|
4417
|
-
default: [],
|
|
4169
|
+
linkedFrom: {
|
|
4418
4170
|
type: 'array',
|
|
4419
4171
|
items: {
|
|
4420
|
-
|
|
4172
|
+
type: 'string',
|
|
4421
4173
|
},
|
|
4422
4174
|
},
|
|
4423
|
-
|
|
4424
|
-
default: '{}',
|
|
4425
|
-
type: 'string',
|
|
4426
|
-
},
|
|
4427
|
-
showInWorkflow: {
|
|
4428
|
-
default: false,
|
|
4429
|
-
type: 'boolean',
|
|
4430
|
-
},
|
|
4431
|
-
isTemplate: {
|
|
4432
|
-
default: false,
|
|
4433
|
-
type: 'boolean',
|
|
4434
|
-
},
|
|
4435
|
-
includeInDigestEmail: {
|
|
4436
|
-
default: true,
|
|
4437
|
-
type: 'boolean',
|
|
4438
|
-
},
|
|
4439
|
-
viewForDigestEmail: {
|
|
4175
|
+
stringNumber: {
|
|
4440
4176
|
type: 'string',
|
|
4441
4177
|
},
|
|
4442
|
-
|
|
4178
|
+
originStockId: {
|
|
4443
4179
|
type: 'string',
|
|
4444
4180
|
},
|
|
4445
4181
|
created: {
|
|
@@ -4464,24 +4200,34 @@ export const FormSchema = {
|
|
|
4464
4200
|
deletedBy: {
|
|
4465
4201
|
type: 'string',
|
|
4466
4202
|
},
|
|
4467
|
-
|
|
4203
|
+
productionEntityId: {
|
|
4204
|
+
type: 'string',
|
|
4205
|
+
},
|
|
4206
|
+
UserId: {
|
|
4207
|
+
type: 'string',
|
|
4208
|
+
},
|
|
4209
|
+
createdBy: {
|
|
4468
4210
|
type: 'string',
|
|
4469
4211
|
},
|
|
4470
4212
|
},
|
|
4471
|
-
required: ['id', '
|
|
4213
|
+
required: ['id', 'formId', 'hasStatus', 'fields'],
|
|
4472
4214
|
additionalProperties: false,
|
|
4473
4215
|
type: 'object',
|
|
4474
4216
|
} as const;
|
|
4475
4217
|
|
|
4476
|
-
export const
|
|
4218
|
+
export const FolderSchema = {
|
|
4477
4219
|
properties: {
|
|
4478
4220
|
id: {
|
|
4479
4221
|
type: 'string',
|
|
4480
4222
|
},
|
|
4481
|
-
|
|
4223
|
+
name: {
|
|
4224
|
+
default: '',
|
|
4482
4225
|
type: 'string',
|
|
4483
4226
|
},
|
|
4484
|
-
|
|
4227
|
+
parentFolderId: {
|
|
4228
|
+
type: 'string',
|
|
4229
|
+
},
|
|
4230
|
+
UserId: {
|
|
4485
4231
|
type: 'string',
|
|
4486
4232
|
},
|
|
4487
4233
|
created: {
|
|
@@ -4499,198 +4245,250 @@ export const FormDataCommentSchema = {
|
|
|
4499
4245
|
type: 'string',
|
|
4500
4246
|
format: 'date-time',
|
|
4501
4247
|
},
|
|
4502
|
-
|
|
4248
|
+
},
|
|
4249
|
+
required: ['id', 'name'],
|
|
4250
|
+
additionalProperties: false,
|
|
4251
|
+
type: 'object',
|
|
4252
|
+
} as const;
|
|
4253
|
+
|
|
4254
|
+
export const WorkflowSessionItemSchema = {
|
|
4255
|
+
properties: {
|
|
4256
|
+
id: {
|
|
4503
4257
|
type: 'string',
|
|
4504
|
-
format: 'date-time',
|
|
4505
4258
|
},
|
|
4506
|
-
|
|
4259
|
+
name: {
|
|
4507
4260
|
type: 'string',
|
|
4508
4261
|
},
|
|
4509
|
-
|
|
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: {
|
|
4510
4298
|
type: 'string',
|
|
4511
4299
|
},
|
|
4512
|
-
|
|
4300
|
+
currentSessionNodeId: {
|
|
4513
4301
|
type: 'string',
|
|
4514
4302
|
},
|
|
4515
|
-
|
|
4303
|
+
currentWorkflowId: {
|
|
4516
4304
|
type: 'string',
|
|
4517
4305
|
},
|
|
4518
|
-
|
|
4519
|
-
required: ['id', 'content', 'plainContent'],
|
|
4520
|
-
additionalProperties: false,
|
|
4521
|
-
type: 'object',
|
|
4522
|
-
} as const;
|
|
4523
|
-
|
|
4524
|
-
export const FormDataSchema = {
|
|
4525
|
-
properties: {
|
|
4526
|
-
id: {
|
|
4306
|
+
recordId: {
|
|
4527
4307
|
type: 'string',
|
|
4528
4308
|
},
|
|
4529
|
-
|
|
4530
|
-
|
|
4531
|
-
|
|
4309
|
+
sessionNodes: {
|
|
4310
|
+
default: [],
|
|
4311
|
+
type: 'array',
|
|
4312
|
+
items: {
|
|
4313
|
+
$ref: '#/definitions/x-any',
|
|
4314
|
+
},
|
|
4532
4315
|
},
|
|
4533
|
-
|
|
4534
|
-
|
|
4316
|
+
nodesPath: {
|
|
4317
|
+
default: [],
|
|
4318
|
+
type: 'array',
|
|
4319
|
+
items: {
|
|
4320
|
+
$ref: '#/definitions/x-any',
|
|
4321
|
+
},
|
|
4535
4322
|
},
|
|
4536
|
-
|
|
4537
|
-
|
|
4323
|
+
variables: {
|
|
4324
|
+
default: [],
|
|
4325
|
+
type: 'array',
|
|
4326
|
+
items: {
|
|
4327
|
+
$ref: '#/definitions/x-any',
|
|
4328
|
+
},
|
|
4538
4329
|
},
|
|
4539
|
-
|
|
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',
|
|
4540
4356
|
type: 'string',
|
|
4541
4357
|
},
|
|
4542
|
-
|
|
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: {
|
|
4543
4376
|
type: 'string',
|
|
4377
|
+
format: 'date-time',
|
|
4544
4378
|
},
|
|
4545
|
-
|
|
4379
|
+
end: {
|
|
4546
4380
|
type: 'string',
|
|
4381
|
+
format: 'date-time',
|
|
4547
4382
|
},
|
|
4548
|
-
|
|
4383
|
+
UserId: {
|
|
4549
4384
|
type: 'string',
|
|
4550
4385
|
},
|
|
4551
|
-
|
|
4552
|
-
type: '
|
|
4386
|
+
activeUserId: {
|
|
4387
|
+
type: 'array',
|
|
4388
|
+
items: {
|
|
4389
|
+
type: 'string',
|
|
4390
|
+
},
|
|
4553
4391
|
},
|
|
4554
|
-
|
|
4555
|
-
type: '
|
|
4392
|
+
stockIds: {
|
|
4393
|
+
type: 'array',
|
|
4394
|
+
items: {
|
|
4395
|
+
type: 'string',
|
|
4396
|
+
},
|
|
4556
4397
|
},
|
|
4557
|
-
|
|
4398
|
+
nextChapterId: {
|
|
4558
4399
|
type: 'string',
|
|
4559
4400
|
},
|
|
4560
|
-
|
|
4401
|
+
nextChapterName: {
|
|
4561
4402
|
type: 'string',
|
|
4562
4403
|
},
|
|
4563
|
-
|
|
4404
|
+
nextNodeId: {
|
|
4564
4405
|
type: 'string',
|
|
4565
4406
|
},
|
|
4566
|
-
|
|
4407
|
+
nextNodeName: {
|
|
4567
4408
|
type: 'string',
|
|
4568
4409
|
},
|
|
4569
|
-
|
|
4410
|
+
workorderId: {
|
|
4570
4411
|
type: 'string',
|
|
4571
4412
|
},
|
|
4572
|
-
|
|
4573
|
-
type: 'number',
|
|
4574
|
-
format: 'double',
|
|
4575
|
-
},
|
|
4576
|
-
workflowSubVersion: {
|
|
4413
|
+
indicator: {
|
|
4577
4414
|
type: 'number',
|
|
4578
4415
|
format: 'double',
|
|
4579
4416
|
},
|
|
4580
|
-
|
|
4581
|
-
type: 'string',
|
|
4582
|
-
},
|
|
4583
|
-
openInPreview: {
|
|
4584
|
-
default: false,
|
|
4585
|
-
type: 'boolean',
|
|
4586
|
-
},
|
|
4587
|
-
partSku: {
|
|
4588
|
-
type: 'string',
|
|
4589
|
-
},
|
|
4590
|
-
partRev: {
|
|
4591
|
-
type: 'string',
|
|
4592
|
-
},
|
|
4593
|
-
hasStatus: {
|
|
4594
|
-
type: 'boolean',
|
|
4595
|
-
},
|
|
4596
|
-
unassigned: {
|
|
4597
|
-
default: false,
|
|
4598
|
-
type: 'boolean',
|
|
4599
|
-
},
|
|
4600
|
-
removeAssignee: {
|
|
4601
|
-
default: false,
|
|
4602
|
-
type: 'boolean',
|
|
4603
|
-
},
|
|
4604
|
-
assignee: {
|
|
4417
|
+
serials: {
|
|
4605
4418
|
default: [],
|
|
4606
4419
|
type: 'array',
|
|
4607
4420
|
items: {
|
|
4608
4421
|
$ref: '#/definitions/x-any',
|
|
4609
4422
|
},
|
|
4610
4423
|
},
|
|
4611
|
-
|
|
4424
|
+
configuration: {
|
|
4612
4425
|
default: [],
|
|
4613
4426
|
type: 'array',
|
|
4614
4427
|
items: {
|
|
4615
4428
|
$ref: '#/definitions/x-any',
|
|
4616
4429
|
},
|
|
4617
4430
|
},
|
|
4618
|
-
|
|
4619
|
-
type: 'string',
|
|
4620
|
-
},
|
|
4621
|
-
ownerId: {
|
|
4622
|
-
type: 'string',
|
|
4623
|
-
},
|
|
4624
|
-
closedBy: {
|
|
4431
|
+
parentSessionId: {
|
|
4625
4432
|
type: 'string',
|
|
4626
4433
|
},
|
|
4627
|
-
|
|
4434
|
+
partSku: {
|
|
4628
4435
|
type: 'string',
|
|
4629
|
-
format: 'date-time',
|
|
4630
4436
|
},
|
|
4631
|
-
|
|
4437
|
+
partRev: {
|
|
4632
4438
|
type: 'string',
|
|
4633
4439
|
},
|
|
4634
|
-
|
|
4440
|
+
bom: {
|
|
4635
4441
|
default: [],
|
|
4636
4442
|
type: 'array',
|
|
4637
4443
|
items: {
|
|
4638
4444
|
$ref: '#/definitions/x-any',
|
|
4639
4445
|
},
|
|
4640
4446
|
},
|
|
4641
|
-
|
|
4447
|
+
activeUserIdsByUniqueId: {
|
|
4642
4448
|
default: [],
|
|
4643
4449
|
type: 'array',
|
|
4644
4450
|
items: {
|
|
4645
4451
|
$ref: '#/definitions/x-any',
|
|
4646
4452
|
},
|
|
4647
4453
|
},
|
|
4648
|
-
|
|
4454
|
+
connectionsPath: {
|
|
4649
4455
|
default: [],
|
|
4650
4456
|
type: 'array',
|
|
4651
4457
|
items: {
|
|
4652
4458
|
$ref: '#/definitions/x-any',
|
|
4653
4459
|
},
|
|
4654
4460
|
},
|
|
4655
|
-
|
|
4656
|
-
|
|
4657
|
-
},
|
|
4658
|
-
_v: {
|
|
4659
|
-
default: 5,
|
|
4461
|
+
quantity: {
|
|
4462
|
+
default: 1,
|
|
4660
4463
|
type: 'number',
|
|
4661
4464
|
format: 'double',
|
|
4662
4465
|
},
|
|
4663
|
-
|
|
4664
|
-
|
|
4665
|
-
|
|
4666
|
-
|
|
4667
|
-
type: 'string',
|
|
4668
|
-
},
|
|
4669
|
-
stockLot: {
|
|
4670
|
-
type: 'string',
|
|
4466
|
+
invalidQuantity: {
|
|
4467
|
+
default: 0,
|
|
4468
|
+
type: 'number',
|
|
4469
|
+
format: 'double',
|
|
4671
4470
|
},
|
|
4672
|
-
|
|
4673
|
-
default:
|
|
4674
|
-
type: '
|
|
4471
|
+
validQuantity: {
|
|
4472
|
+
default: 1,
|
|
4473
|
+
type: 'number',
|
|
4474
|
+
format: 'double',
|
|
4675
4475
|
},
|
|
4676
|
-
|
|
4476
|
+
groups: {
|
|
4477
|
+
default: [],
|
|
4677
4478
|
type: 'array',
|
|
4678
4479
|
items: {
|
|
4679
|
-
|
|
4480
|
+
$ref: '#/definitions/x-any',
|
|
4680
4481
|
},
|
|
4681
4482
|
},
|
|
4682
|
-
|
|
4483
|
+
workflowId: {
|
|
4484
|
+
type: 'string',
|
|
4485
|
+
},
|
|
4486
|
+
scromSessionIds: {
|
|
4683
4487
|
type: 'array',
|
|
4684
4488
|
items: {
|
|
4685
4489
|
type: 'string',
|
|
4686
4490
|
},
|
|
4687
4491
|
},
|
|
4688
|
-
stringNumber: {
|
|
4689
|
-
type: 'string',
|
|
4690
|
-
},
|
|
4691
|
-
originStockId: {
|
|
4692
|
-
type: 'string',
|
|
4693
|
-
},
|
|
4694
4492
|
created: {
|
|
4695
4493
|
default: '$now',
|
|
4696
4494
|
type: 'string',
|
|
@@ -4713,88 +4511,11 @@ export const FormDataSchema = {
|
|
|
4713
4511
|
deletedBy: {
|
|
4714
4512
|
type: 'string',
|
|
4715
4513
|
},
|
|
4716
|
-
productionEntityId: {
|
|
4717
|
-
type: 'string',
|
|
4718
|
-
},
|
|
4719
|
-
UserId: {
|
|
4720
|
-
type: 'string',
|
|
4721
|
-
},
|
|
4722
4514
|
createdBy: {
|
|
4723
4515
|
type: 'string',
|
|
4724
4516
|
},
|
|
4725
4517
|
},
|
|
4726
|
-
required: ['id'
|
|
4727
|
-
additionalProperties: false,
|
|
4728
|
-
type: 'object',
|
|
4729
|
-
} as const;
|
|
4730
|
-
|
|
4731
|
-
export const FolderSchema = {
|
|
4732
|
-
properties: {
|
|
4733
|
-
id: {
|
|
4734
|
-
type: 'string',
|
|
4735
|
-
},
|
|
4736
|
-
name: {
|
|
4737
|
-
default: '',
|
|
4738
|
-
type: 'string',
|
|
4739
|
-
},
|
|
4740
|
-
parentFolderId: {
|
|
4741
|
-
type: 'string',
|
|
4742
|
-
},
|
|
4743
|
-
UserId: {
|
|
4744
|
-
type: 'string',
|
|
4745
|
-
},
|
|
4746
|
-
created: {
|
|
4747
|
-
default: '$now',
|
|
4748
|
-
type: 'string',
|
|
4749
|
-
format: 'date-time',
|
|
4750
|
-
},
|
|
4751
|
-
modified: {
|
|
4752
|
-
default: '$now',
|
|
4753
|
-
type: 'string',
|
|
4754
|
-
format: 'date-time',
|
|
4755
|
-
},
|
|
4756
|
-
serverModified: {
|
|
4757
|
-
default: '$now',
|
|
4758
|
-
type: 'string',
|
|
4759
|
-
format: 'date-time',
|
|
4760
|
-
},
|
|
4761
|
-
},
|
|
4762
|
-
required: ['id', 'name'],
|
|
4763
|
-
additionalProperties: false,
|
|
4764
|
-
type: 'object',
|
|
4765
|
-
} as const;
|
|
4766
|
-
|
|
4767
|
-
export const ResourceMappingSchema = {
|
|
4768
|
-
properties: {
|
|
4769
|
-
id: {
|
|
4770
|
-
type: 'string',
|
|
4771
|
-
},
|
|
4772
|
-
modelName: {
|
|
4773
|
-
type: 'string',
|
|
4774
|
-
},
|
|
4775
|
-
modelId: {
|
|
4776
|
-
type: 'string',
|
|
4777
|
-
},
|
|
4778
|
-
resourceId: {
|
|
4779
|
-
type: 'string',
|
|
4780
|
-
},
|
|
4781
|
-
created: {
|
|
4782
|
-
default: '$now',
|
|
4783
|
-
type: 'string',
|
|
4784
|
-
format: 'date-time',
|
|
4785
|
-
},
|
|
4786
|
-
modified: {
|
|
4787
|
-
default: '$now',
|
|
4788
|
-
type: 'string',
|
|
4789
|
-
format: 'date-time',
|
|
4790
|
-
},
|
|
4791
|
-
serverModified: {
|
|
4792
|
-
default: '$now',
|
|
4793
|
-
type: 'string',
|
|
4794
|
-
format: 'date-time',
|
|
4795
|
-
},
|
|
4796
|
-
},
|
|
4797
|
-
required: ['id', 'modelName', 'modelId', 'resourceId'],
|
|
4518
|
+
required: ['id'],
|
|
4798
4519
|
additionalProperties: false,
|
|
4799
4520
|
type: 'object',
|
|
4800
4521
|
} as const;
|
|
@@ -5573,8 +5294,72 @@ export const ListSchema = {
|
|
|
5573
5294
|
id: {
|
|
5574
5295
|
type: 'string',
|
|
5575
5296
|
},
|
|
5576
|
-
name: {
|
|
5297
|
+
name: {
|
|
5298
|
+
type: 'string',
|
|
5299
|
+
},
|
|
5300
|
+
created: {
|
|
5301
|
+
default: '$now',
|
|
5302
|
+
type: 'string',
|
|
5303
|
+
format: 'date-time',
|
|
5304
|
+
},
|
|
5305
|
+
modified: {
|
|
5306
|
+
default: '$now',
|
|
5307
|
+
type: 'string',
|
|
5308
|
+
format: 'date-time',
|
|
5309
|
+
},
|
|
5310
|
+
serverModified: {
|
|
5311
|
+
default: '$now',
|
|
5312
|
+
type: 'string',
|
|
5313
|
+
format: 'date-time',
|
|
5314
|
+
},
|
|
5315
|
+
deletedAt: {
|
|
5316
|
+
type: 'string',
|
|
5317
|
+
format: 'date-time',
|
|
5318
|
+
},
|
|
5319
|
+
deletedBy: {
|
|
5320
|
+
type: 'string',
|
|
5321
|
+
},
|
|
5322
|
+
UserId: {
|
|
5323
|
+
type: 'string',
|
|
5324
|
+
},
|
|
5325
|
+
},
|
|
5326
|
+
required: ['id', 'name'],
|
|
5327
|
+
additionalProperties: false,
|
|
5328
|
+
type: 'object',
|
|
5329
|
+
} as const;
|
|
5330
|
+
|
|
5331
|
+
export const NPSSchema = {
|
|
5332
|
+
properties: {
|
|
5333
|
+
id: {
|
|
5334
|
+
type: 'string',
|
|
5335
|
+
},
|
|
5336
|
+
score: {
|
|
5337
|
+
type: 'number',
|
|
5338
|
+
format: 'double',
|
|
5339
|
+
},
|
|
5340
|
+
description: {
|
|
5341
|
+
type: 'string',
|
|
5342
|
+
},
|
|
5343
|
+
opened: {
|
|
5344
|
+
default: false,
|
|
5345
|
+
type: 'boolean',
|
|
5346
|
+
},
|
|
5347
|
+
ignored: {
|
|
5348
|
+
default: false,
|
|
5349
|
+
type: 'boolean',
|
|
5350
|
+
},
|
|
5351
|
+
latest: {
|
|
5352
|
+
default: false,
|
|
5353
|
+
type: 'boolean',
|
|
5354
|
+
},
|
|
5355
|
+
answerDate: {
|
|
5577
5356
|
type: 'string',
|
|
5357
|
+
format: 'date-time',
|
|
5358
|
+
},
|
|
5359
|
+
_v: {
|
|
5360
|
+
default: 1,
|
|
5361
|
+
type: 'number',
|
|
5362
|
+
format: 'double',
|
|
5578
5363
|
},
|
|
5579
5364
|
created: {
|
|
5580
5365
|
default: '$now',
|
|
@@ -5602,38 +5387,42 @@ export const ListSchema = {
|
|
|
5602
5387
|
type: 'string',
|
|
5603
5388
|
},
|
|
5604
5389
|
},
|
|
5605
|
-
required: ['id'
|
|
5390
|
+
required: ['id'],
|
|
5606
5391
|
additionalProperties: false,
|
|
5607
5392
|
type: 'object',
|
|
5608
5393
|
} as const;
|
|
5609
5394
|
|
|
5610
|
-
export const
|
|
5395
|
+
export const WorkflowTypeSchema = {
|
|
5611
5396
|
properties: {
|
|
5612
5397
|
id: {
|
|
5613
5398
|
type: 'string',
|
|
5614
5399
|
},
|
|
5615
|
-
|
|
5616
|
-
type: 'number',
|
|
5617
|
-
format: 'double',
|
|
5618
|
-
},
|
|
5619
|
-
description: {
|
|
5400
|
+
name: {
|
|
5620
5401
|
type: 'string',
|
|
5621
5402
|
},
|
|
5622
|
-
|
|
5403
|
+
default: {
|
|
5623
5404
|
default: false,
|
|
5624
5405
|
type: 'boolean',
|
|
5625
5406
|
},
|
|
5626
|
-
|
|
5407
|
+
createStock: {
|
|
5627
5408
|
default: false,
|
|
5628
5409
|
type: 'boolean',
|
|
5629
5410
|
},
|
|
5630
|
-
|
|
5411
|
+
erpWorkorderDefault: {
|
|
5631
5412
|
default: false,
|
|
5632
5413
|
type: 'boolean',
|
|
5633
5414
|
},
|
|
5634
|
-
|
|
5635
|
-
|
|
5636
|
-
|
|
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',
|
|
5637
5426
|
},
|
|
5638
5427
|
_v: {
|
|
5639
5428
|
default: 1,
|
|
@@ -5666,7 +5455,7 @@ export const NPSSchema = {
|
|
|
5666
5455
|
type: 'string',
|
|
5667
5456
|
},
|
|
5668
5457
|
},
|
|
5669
|
-
required: ['id'],
|
|
5458
|
+
required: ['id', 'name'],
|
|
5670
5459
|
additionalProperties: false,
|
|
5671
5460
|
type: 'object',
|
|
5672
5461
|
} as const;
|
|
@@ -6433,72 +6222,6 @@ export const OpcUaServerSchema = {
|
|
|
6433
6222
|
type: 'object',
|
|
6434
6223
|
} as const;
|
|
6435
6224
|
|
|
6436
|
-
export const ProductionEntityMappingSchema = {
|
|
6437
|
-
properties: {
|
|
6438
|
-
id: {
|
|
6439
|
-
type: 'string',
|
|
6440
|
-
},
|
|
6441
|
-
stockId: {
|
|
6442
|
-
type: 'string',
|
|
6443
|
-
},
|
|
6444
|
-
sessionId: {
|
|
6445
|
-
type: 'string',
|
|
6446
|
-
},
|
|
6447
|
-
workorderId: {
|
|
6448
|
-
type: 'string',
|
|
6449
|
-
},
|
|
6450
|
-
sessionNodeId: {
|
|
6451
|
-
type: 'string',
|
|
6452
|
-
},
|
|
6453
|
-
productionEntityId: {
|
|
6454
|
-
type: 'string',
|
|
6455
|
-
},
|
|
6456
|
-
sku: {
|
|
6457
|
-
type: 'string',
|
|
6458
|
-
},
|
|
6459
|
-
checkedInQty: {
|
|
6460
|
-
type: 'number',
|
|
6461
|
-
format: 'double',
|
|
6462
|
-
},
|
|
6463
|
-
checkedOutQty: {
|
|
6464
|
-
type: 'number',
|
|
6465
|
-
format: 'double',
|
|
6466
|
-
},
|
|
6467
|
-
created: {
|
|
6468
|
-
default: '$now',
|
|
6469
|
-
type: 'string',
|
|
6470
|
-
format: 'date-time',
|
|
6471
|
-
},
|
|
6472
|
-
modified: {
|
|
6473
|
-
default: '$now',
|
|
6474
|
-
type: 'string',
|
|
6475
|
-
format: 'date-time',
|
|
6476
|
-
},
|
|
6477
|
-
serverModified: {
|
|
6478
|
-
default: '$now',
|
|
6479
|
-
type: 'string',
|
|
6480
|
-
format: 'date-time',
|
|
6481
|
-
},
|
|
6482
|
-
deletedAt: {
|
|
6483
|
-
type: 'string',
|
|
6484
|
-
format: 'date-time',
|
|
6485
|
-
},
|
|
6486
|
-
deletedBy: {
|
|
6487
|
-
type: 'string',
|
|
6488
|
-
},
|
|
6489
|
-
},
|
|
6490
|
-
required: [
|
|
6491
|
-
'id',
|
|
6492
|
-
'sessionId',
|
|
6493
|
-
'sessionNodeId',
|
|
6494
|
-
'productionEntityId',
|
|
6495
|
-
'checkedInQty',
|
|
6496
|
-
'checkedOutQty',
|
|
6497
|
-
],
|
|
6498
|
-
additionalProperties: false,
|
|
6499
|
-
type: 'object',
|
|
6500
|
-
} as const;
|
|
6501
|
-
|
|
6502
6225
|
export const ProductionEntityTransactionSchema = {
|
|
6503
6226
|
properties: {
|
|
6504
6227
|
id: {
|
|
@@ -6949,3 +6672,153 @@ export const ObjectIDSchema = {
|
|
|
6949
6672
|
type: 'string',
|
|
6950
6673
|
pattern: '^[a-fA-F\\d]{24}$',
|
|
6951
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;
|