@proveanything/smartlinks 2.1.16 → 2.1.18
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/adminViews.d.ts +85 -0
- package/dist/adminViews.js +259 -0
- package/dist/api/errors.d.ts +10 -0
- package/dist/api/errors.js +17 -0
- package/dist/api/index.d.ts +3 -0
- package/dist/api/index.js +3 -0
- package/dist/api/operations.d.ts +36 -0
- package/dist/api/operations.js +56 -0
- package/dist/api/order.d.ts +12 -1
- package/dist/api/order.js +15 -0
- package/dist/api/partner.d.ts +7 -1
- package/dist/api/partner.js +9 -0
- package/dist/api/userGroups.d.ts +78 -0
- package/dist/api/userGroups.js +124 -0
- package/dist/docs/API_SUMMARY.md +699 -46
- package/dist/docs/admin-views.md +125 -0
- package/dist/docs/app-manifest.md +2 -0
- package/dist/docs/app-objects.md +23 -0
- package/dist/docs/operations.md +281 -0
- package/dist/docs/overview.md +3 -0
- package/dist/docs/server-functions.md +106 -0
- package/dist/docs/tag-ranges.md +8 -0
- package/dist/docs/user-groups.md +168 -0
- package/dist/docs/utils.md +17 -0
- package/dist/http.js +4 -0
- package/dist/iframeResponder.d.ts +15 -0
- package/dist/iframeResponder.js +39 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.js +2 -0
- package/dist/openapi.yaml +1426 -276
- package/dist/testing/index.d.ts +29 -0
- package/dist/testing/index.js +178 -1
- package/dist/types/appManifest.d.ts +170 -0
- package/dist/types/appObjects.d.ts +22 -1
- package/dist/types/claimSet.d.ts +2 -0
- package/dist/types/clientLog.d.ts +46 -0
- package/dist/types/clientLog.js +1 -0
- package/dist/types/containers.d.ts +8 -0
- package/dist/types/iframeResponder.d.ts +16 -1
- package/dist/types/index.d.ts +3 -0
- package/dist/types/index.js +3 -0
- package/dist/types/operations.d.ts +598 -0
- package/dist/types/operations.js +8 -0
- package/dist/types/order.d.ts +35 -6
- package/dist/types/userGroups.d.ts +103 -0
- package/dist/types/userGroups.js +5 -0
- package/dist/utils/conditions.d.ts +7 -0
- package/dist/utils/conditions.js +16 -9
- package/docs/API_SUMMARY.md +699 -46
- package/docs/admin-views.md +125 -0
- package/docs/app-manifest.md +2 -0
- package/docs/app-objects.md +23 -0
- package/docs/operations.md +281 -0
- package/docs/overview.md +3 -0
- package/docs/server-functions.md +106 -0
- package/docs/tag-ranges.md +8 -0
- package/docs/user-groups.md +168 -0
- package/docs/utils.md +17 -0
- package/openapi.yaml +1426 -276
- package/package.json +1 -1
package/dist/openapi.yaml
CHANGED
|
@@ -124,6 +124,8 @@ tags:
|
|
|
124
124
|
description: Message and document templates.
|
|
125
125
|
- name: translations
|
|
126
126
|
description: Localization and translation lookup.
|
|
127
|
+
- name: userGroups
|
|
128
|
+
description: userGroups API
|
|
127
129
|
- name: variant
|
|
128
130
|
description: Product variant management.
|
|
129
131
|
security:
|
|
@@ -6143,6 +6145,16 @@ paths:
|
|
|
6143
6145
|
required: false
|
|
6144
6146
|
schema:
|
|
6145
6147
|
type: string
|
|
6148
|
+
- name: direction
|
|
6149
|
+
in: query
|
|
6150
|
+
required: false
|
|
6151
|
+
schema:
|
|
6152
|
+
$ref: "#/components/schemas/OrderDirection"
|
|
6153
|
+
- name: partyId
|
|
6154
|
+
in: query
|
|
6155
|
+
required: false
|
|
6156
|
+
schema:
|
|
6157
|
+
type: string
|
|
6146
6158
|
- name: includeItems
|
|
6147
6159
|
in: query
|
|
6148
6160
|
required: false
|
|
@@ -6263,7 +6275,7 @@ paths:
|
|
|
6263
6275
|
post:
|
|
6264
6276
|
tags:
|
|
6265
6277
|
- order
|
|
6266
|
-
summary: order.
|
|
6278
|
+
summary: Get comprehensive scan analytics for all tags in an order.
|
|
6267
6279
|
operationId: order_getAnalytics
|
|
6268
6280
|
security:
|
|
6269
6281
|
- bearerAuth: []
|
|
@@ -6845,110 +6857,12 @@ paths:
|
|
|
6845
6857
|
application/json:
|
|
6846
6858
|
schema:
|
|
6847
6859
|
$ref: "#/components/schemas/AddItemsRequest"
|
|
6848
|
-
/admin/collection/{collectionId}/
|
|
6849
|
-
get:
|
|
6850
|
-
tags:
|
|
6851
|
-
- contact
|
|
6852
|
-
summary: contact.getUser
|
|
6853
|
-
operationId: contact_getUser
|
|
6854
|
-
security:
|
|
6855
|
-
- bearerAuth: []
|
|
6856
|
-
parameters:
|
|
6857
|
-
- name: collectionId
|
|
6858
|
-
in: path
|
|
6859
|
-
required: true
|
|
6860
|
-
schema:
|
|
6861
|
-
type: string
|
|
6862
|
-
- name: userId
|
|
6863
|
-
in: path
|
|
6864
|
-
required: true
|
|
6865
|
-
schema:
|
|
6866
|
-
type: string
|
|
6867
|
-
responses:
|
|
6868
|
-
200:
|
|
6869
|
-
description: Success
|
|
6870
|
-
content:
|
|
6871
|
-
application/json:
|
|
6872
|
-
schema:
|
|
6873
|
-
$ref: "#/components/schemas/UserSearchResponse"
|
|
6874
|
-
400:
|
|
6875
|
-
description: Bad request
|
|
6876
|
-
401:
|
|
6877
|
-
description: Unauthorized
|
|
6878
|
-
404:
|
|
6879
|
-
description: Not found
|
|
6880
|
-
/admin/collection/{collectionId}/product:
|
|
6860
|
+
/admin/collection/{collectionId}/orders/{orderId}/items/{itemId}/done:
|
|
6881
6861
|
post:
|
|
6882
6862
|
tags:
|
|
6883
|
-
-
|
|
6884
|
-
summary:
|
|
6885
|
-
operationId:
|
|
6886
|
-
security:
|
|
6887
|
-
- bearerAuth: []
|
|
6888
|
-
parameters:
|
|
6889
|
-
- name: collectionId
|
|
6890
|
-
in: path
|
|
6891
|
-
required: true
|
|
6892
|
-
schema:
|
|
6893
|
-
type: string
|
|
6894
|
-
responses:
|
|
6895
|
-
200:
|
|
6896
|
-
description: Success
|
|
6897
|
-
content:
|
|
6898
|
-
application/json:
|
|
6899
|
-
schema:
|
|
6900
|
-
$ref: "#/components/schemas/ProductResponse"
|
|
6901
|
-
400:
|
|
6902
|
-
description: Bad request
|
|
6903
|
-
401:
|
|
6904
|
-
description: Unauthorized
|
|
6905
|
-
404:
|
|
6906
|
-
description: Not found
|
|
6907
|
-
requestBody:
|
|
6908
|
-
required: true
|
|
6909
|
-
content:
|
|
6910
|
-
application/json:
|
|
6911
|
-
schema:
|
|
6912
|
-
$ref: "#/components/schemas/ProductCreateRequest"
|
|
6913
|
-
/admin/collection/{collectionId}/product/find:
|
|
6914
|
-
post:
|
|
6915
|
-
tags:
|
|
6916
|
-
- product
|
|
6917
|
-
summary: product.find
|
|
6918
|
-
operationId: product_find
|
|
6919
|
-
security:
|
|
6920
|
-
- bearerAuth: []
|
|
6921
|
-
parameters:
|
|
6922
|
-
- name: collectionId
|
|
6923
|
-
in: path
|
|
6924
|
-
required: true
|
|
6925
|
-
schema:
|
|
6926
|
-
type: string
|
|
6927
|
-
responses:
|
|
6928
|
-
200:
|
|
6929
|
-
description: Success
|
|
6930
|
-
content:
|
|
6931
|
-
application/json:
|
|
6932
|
-
schema:
|
|
6933
|
-
$ref: "#/components/schemas/ProductQueryResponse"
|
|
6934
|
-
400:
|
|
6935
|
-
description: Bad request
|
|
6936
|
-
401:
|
|
6937
|
-
description: Unauthorized
|
|
6938
|
-
404:
|
|
6939
|
-
description: Not found
|
|
6940
|
-
requestBody:
|
|
6941
|
-
required: true
|
|
6942
|
-
content:
|
|
6943
|
-
application/json:
|
|
6944
|
-
schema:
|
|
6945
|
-
$ref: "#/components/schemas/ProductQueryRequest"
|
|
6946
|
-
/admin/collection/{collectionId}/product/{productId}:
|
|
6947
|
-
put:
|
|
6948
|
-
tags:
|
|
6949
|
-
- product
|
|
6950
|
-
summary: Update a product for a collection (admin only).
|
|
6951
|
-
operationId: product_update
|
|
6863
|
+
- order
|
|
6864
|
+
summary: Add to (or take from) how much of a line has been shipped or received.
|
|
6865
|
+
operationId: order_lineDone
|
|
6952
6866
|
security:
|
|
6953
6867
|
- bearerAuth: []
|
|
6954
6868
|
parameters:
|
|
@@ -6957,44 +6871,12 @@ paths:
|
|
|
6957
6871
|
required: true
|
|
6958
6872
|
schema:
|
|
6959
6873
|
type: string
|
|
6960
|
-
- name:
|
|
6961
|
-
in: path
|
|
6962
|
-
required: true
|
|
6963
|
-
schema:
|
|
6964
|
-
type: string
|
|
6965
|
-
responses:
|
|
6966
|
-
200:
|
|
6967
|
-
description: Success
|
|
6968
|
-
content:
|
|
6969
|
-
application/json:
|
|
6970
|
-
schema:
|
|
6971
|
-
$ref: "#/components/schemas/ProductResponse"
|
|
6972
|
-
400:
|
|
6973
|
-
description: Bad request
|
|
6974
|
-
401:
|
|
6975
|
-
description: Unauthorized
|
|
6976
|
-
404:
|
|
6977
|
-
description: Not found
|
|
6978
|
-
requestBody:
|
|
6979
|
-
required: true
|
|
6980
|
-
content:
|
|
6981
|
-
application/json:
|
|
6982
|
-
schema:
|
|
6983
|
-
$ref: "#/components/schemas/ProductUpdateRequest"
|
|
6984
|
-
delete:
|
|
6985
|
-
tags:
|
|
6986
|
-
- product
|
|
6987
|
-
summary: Delete a product for a collection (admin only).
|
|
6988
|
-
operationId: product_remove
|
|
6989
|
-
security:
|
|
6990
|
-
- bearerAuth: []
|
|
6991
|
-
parameters:
|
|
6992
|
-
- name: collectionId
|
|
6874
|
+
- name: orderId
|
|
6993
6875
|
in: path
|
|
6994
6876
|
required: true
|
|
6995
6877
|
schema:
|
|
6996
6878
|
type: string
|
|
6997
|
-
- name:
|
|
6879
|
+
- name: itemId
|
|
6998
6880
|
in: path
|
|
6999
6881
|
required: true
|
|
7000
6882
|
schema:
|
|
@@ -7005,97 +6887,19 @@ paths:
|
|
|
7005
6887
|
content:
|
|
7006
6888
|
application/json:
|
|
7007
6889
|
schema:
|
|
7008
|
-
|
|
7009
|
-
additionalProperties: true
|
|
6890
|
+
$ref: "#/components/schemas/OrderItem"
|
|
7010
6891
|
400:
|
|
7011
6892
|
description: Bad request
|
|
7012
6893
|
401:
|
|
7013
6894
|
description: Unauthorized
|
|
7014
6895
|
404:
|
|
7015
6896
|
description: Not found
|
|
7016
|
-
/admin/collection/{collectionId}/
|
|
7017
|
-
get:
|
|
7018
|
-
tags:
|
|
7019
|
-
- batch
|
|
7020
|
-
summary: Get serial numbers for a batch (admin only).
|
|
7021
|
-
operationId: batch_getSN
|
|
7022
|
-
security:
|
|
7023
|
-
- bearerAuth: []
|
|
7024
|
-
parameters:
|
|
7025
|
-
- name: collectionId
|
|
7026
|
-
in: path
|
|
7027
|
-
required: true
|
|
7028
|
-
schema:
|
|
7029
|
-
type: string
|
|
7030
|
-
- name: productId
|
|
7031
|
-
in: path
|
|
7032
|
-
required: true
|
|
7033
|
-
schema:
|
|
7034
|
-
type: string
|
|
7035
|
-
- name: batchId
|
|
7036
|
-
in: path
|
|
7037
|
-
required: true
|
|
7038
|
-
schema:
|
|
7039
|
-
type: string
|
|
7040
|
-
responses:
|
|
7041
|
-
200:
|
|
7042
|
-
description: Success
|
|
7043
|
-
content:
|
|
7044
|
-
application/json:
|
|
7045
|
-
schema: {}
|
|
7046
|
-
400:
|
|
7047
|
-
description: Bad request
|
|
7048
|
-
401:
|
|
7049
|
-
description: Unauthorized
|
|
7050
|
-
404:
|
|
7051
|
-
description: Not found
|
|
7052
|
-
/admin/collection/{collectionId}/product/{productId}/batch/{batchId}/lookupSN/{codeId}:
|
|
7053
|
-
get:
|
|
7054
|
-
tags:
|
|
7055
|
-
- batch
|
|
7056
|
-
summary: Look up a serial number by code for a batch (admin only).
|
|
7057
|
-
operationId: batch_lookupSN
|
|
7058
|
-
security:
|
|
7059
|
-
- bearerAuth: []
|
|
7060
|
-
parameters:
|
|
7061
|
-
- name: collectionId
|
|
7062
|
-
in: path
|
|
7063
|
-
required: true
|
|
7064
|
-
schema:
|
|
7065
|
-
type: string
|
|
7066
|
-
- name: productId
|
|
7067
|
-
in: path
|
|
7068
|
-
required: true
|
|
7069
|
-
schema:
|
|
7070
|
-
type: string
|
|
7071
|
-
- name: batchId
|
|
7072
|
-
in: path
|
|
7073
|
-
required: true
|
|
7074
|
-
schema:
|
|
7075
|
-
type: string
|
|
7076
|
-
- name: codeId
|
|
7077
|
-
in: path
|
|
7078
|
-
required: true
|
|
7079
|
-
schema:
|
|
7080
|
-
type: string
|
|
7081
|
-
responses:
|
|
7082
|
-
200:
|
|
7083
|
-
description: Success
|
|
7084
|
-
content:
|
|
7085
|
-
application/json:
|
|
7086
|
-
schema: {}
|
|
7087
|
-
400:
|
|
7088
|
-
description: Bad request
|
|
7089
|
-
401:
|
|
7090
|
-
description: Unauthorized
|
|
7091
|
-
404:
|
|
7092
|
-
description: Not found
|
|
7093
|
-
/admin/collection/{collectionId}/product/{productId}/batch/{batchId}/proof:
|
|
6897
|
+
/admin/collection/{collectionId}/owner/{userId}:
|
|
7094
6898
|
get:
|
|
7095
6899
|
tags:
|
|
7096
|
-
-
|
|
7097
|
-
summary:
|
|
7098
|
-
operationId:
|
|
6900
|
+
- contact
|
|
6901
|
+
summary: contact.getUser
|
|
6902
|
+
operationId: contact_getUser
|
|
7099
6903
|
security:
|
|
7100
6904
|
- bearerAuth: []
|
|
7101
6905
|
parameters:
|
|
@@ -7104,12 +6908,7 @@ paths:
|
|
|
7104
6908
|
required: true
|
|
7105
6909
|
schema:
|
|
7106
6910
|
type: string
|
|
7107
|
-
- name:
|
|
7108
|
-
in: path
|
|
7109
|
-
required: true
|
|
7110
|
-
schema:
|
|
7111
|
-
type: string
|
|
7112
|
-
- name: batchId
|
|
6911
|
+
- name: userId
|
|
7113
6912
|
in: path
|
|
7114
6913
|
required: true
|
|
7115
6914
|
schema:
|
|
@@ -7120,21 +6919,19 @@ paths:
|
|
|
7120
6919
|
content:
|
|
7121
6920
|
application/json:
|
|
7122
6921
|
schema:
|
|
7123
|
-
|
|
7124
|
-
items:
|
|
7125
|
-
$ref: "#/components/schemas/ProofResponse"
|
|
6922
|
+
$ref: "#/components/schemas/UserSearchResponse"
|
|
7126
6923
|
400:
|
|
7127
6924
|
description: Bad request
|
|
7128
6925
|
401:
|
|
7129
6926
|
description: Unauthorized
|
|
7130
6927
|
404:
|
|
7131
6928
|
description: Not found
|
|
7132
|
-
/admin/collection/{collectionId}/product
|
|
6929
|
+
/admin/collection/{collectionId}/product:
|
|
7133
6930
|
post:
|
|
7134
6931
|
tags:
|
|
7135
6932
|
- product
|
|
7136
|
-
summary: product.
|
|
7137
|
-
operationId:
|
|
6933
|
+
summary: Create a new product for a collection (admin only).
|
|
6934
|
+
operationId: product_create
|
|
7138
6935
|
security:
|
|
7139
6936
|
- bearerAuth: []
|
|
7140
6937
|
parameters:
|
|
@@ -7143,17 +6940,13 @@ paths:
|
|
|
7143
6940
|
required: true
|
|
7144
6941
|
schema:
|
|
7145
6942
|
type: string
|
|
7146
|
-
- name: productId
|
|
7147
|
-
in: path
|
|
7148
|
-
required: true
|
|
7149
|
-
schema:
|
|
7150
|
-
type: string
|
|
7151
6943
|
responses:
|
|
7152
6944
|
200:
|
|
7153
6945
|
description: Success
|
|
7154
6946
|
content:
|
|
7155
6947
|
application/json:
|
|
7156
|
-
schema:
|
|
6948
|
+
schema:
|
|
6949
|
+
$ref: "#/components/schemas/ProductResponse"
|
|
7157
6950
|
400:
|
|
7158
6951
|
description: Bad request
|
|
7159
6952
|
401:
|
|
@@ -7165,15 +6958,13 @@ paths:
|
|
|
7165
6958
|
content:
|
|
7166
6959
|
application/json:
|
|
7167
6960
|
schema:
|
|
7168
|
-
|
|
7169
|
-
|
|
7170
|
-
|
|
7171
|
-
/admin/collection/{collectionId}/product/{productId}/claimWindow/{claimId}:
|
|
7172
|
-
put:
|
|
6961
|
+
$ref: "#/components/schemas/ProductCreateRequest"
|
|
6962
|
+
/admin/collection/{collectionId}/product/find:
|
|
6963
|
+
post:
|
|
7173
6964
|
tags:
|
|
7174
6965
|
- product
|
|
7175
|
-
summary: product.
|
|
7176
|
-
operationId:
|
|
6966
|
+
summary: product.find
|
|
6967
|
+
operationId: product_find
|
|
7177
6968
|
security:
|
|
7178
6969
|
- bearerAuth: []
|
|
7179
6970
|
parameters:
|
|
@@ -7182,22 +6973,13 @@ paths:
|
|
|
7182
6973
|
required: true
|
|
7183
6974
|
schema:
|
|
7184
6975
|
type: string
|
|
7185
|
-
- name: productId
|
|
7186
|
-
in: path
|
|
7187
|
-
required: true
|
|
7188
|
-
schema:
|
|
7189
|
-
type: string
|
|
7190
|
-
- name: claimId
|
|
7191
|
-
in: path
|
|
7192
|
-
required: true
|
|
7193
|
-
schema:
|
|
7194
|
-
type: string
|
|
7195
6976
|
responses:
|
|
7196
6977
|
200:
|
|
7197
6978
|
description: Success
|
|
7198
6979
|
content:
|
|
7199
6980
|
application/json:
|
|
7200
|
-
schema:
|
|
6981
|
+
schema:
|
|
6982
|
+
$ref: "#/components/schemas/ProductQueryResponse"
|
|
7201
6983
|
400:
|
|
7202
6984
|
description: Bad request
|
|
7203
6985
|
401:
|
|
@@ -7209,15 +6991,282 @@ paths:
|
|
|
7209
6991
|
content:
|
|
7210
6992
|
application/json:
|
|
7211
6993
|
schema:
|
|
7212
|
-
|
|
7213
|
-
|
|
7214
|
-
|
|
7215
|
-
/admin/collection/{collectionId}/product/{productId}/clone:
|
|
7216
|
-
post:
|
|
6994
|
+
$ref: "#/components/schemas/ProductQueryRequest"
|
|
6995
|
+
/admin/collection/{collectionId}/product/{productId}:
|
|
6996
|
+
put:
|
|
7217
6997
|
tags:
|
|
7218
6998
|
- product
|
|
7219
|
-
summary: product.
|
|
7220
|
-
operationId:
|
|
6999
|
+
summary: Update a product for a collection (admin only).
|
|
7000
|
+
operationId: product_update
|
|
7001
|
+
security:
|
|
7002
|
+
- bearerAuth: []
|
|
7003
|
+
parameters:
|
|
7004
|
+
- name: collectionId
|
|
7005
|
+
in: path
|
|
7006
|
+
required: true
|
|
7007
|
+
schema:
|
|
7008
|
+
type: string
|
|
7009
|
+
- name: productId
|
|
7010
|
+
in: path
|
|
7011
|
+
required: true
|
|
7012
|
+
schema:
|
|
7013
|
+
type: string
|
|
7014
|
+
responses:
|
|
7015
|
+
200:
|
|
7016
|
+
description: Success
|
|
7017
|
+
content:
|
|
7018
|
+
application/json:
|
|
7019
|
+
schema:
|
|
7020
|
+
$ref: "#/components/schemas/ProductResponse"
|
|
7021
|
+
400:
|
|
7022
|
+
description: Bad request
|
|
7023
|
+
401:
|
|
7024
|
+
description: Unauthorized
|
|
7025
|
+
404:
|
|
7026
|
+
description: Not found
|
|
7027
|
+
requestBody:
|
|
7028
|
+
required: true
|
|
7029
|
+
content:
|
|
7030
|
+
application/json:
|
|
7031
|
+
schema:
|
|
7032
|
+
$ref: "#/components/schemas/ProductUpdateRequest"
|
|
7033
|
+
delete:
|
|
7034
|
+
tags:
|
|
7035
|
+
- product
|
|
7036
|
+
summary: Delete a product for a collection (admin only).
|
|
7037
|
+
operationId: product_remove
|
|
7038
|
+
security:
|
|
7039
|
+
- bearerAuth: []
|
|
7040
|
+
parameters:
|
|
7041
|
+
- name: collectionId
|
|
7042
|
+
in: path
|
|
7043
|
+
required: true
|
|
7044
|
+
schema:
|
|
7045
|
+
type: string
|
|
7046
|
+
- name: productId
|
|
7047
|
+
in: path
|
|
7048
|
+
required: true
|
|
7049
|
+
schema:
|
|
7050
|
+
type: string
|
|
7051
|
+
responses:
|
|
7052
|
+
200:
|
|
7053
|
+
description: Success
|
|
7054
|
+
content:
|
|
7055
|
+
application/json:
|
|
7056
|
+
schema:
|
|
7057
|
+
type: object
|
|
7058
|
+
additionalProperties: true
|
|
7059
|
+
400:
|
|
7060
|
+
description: Bad request
|
|
7061
|
+
401:
|
|
7062
|
+
description: Unauthorized
|
|
7063
|
+
404:
|
|
7064
|
+
description: Not found
|
|
7065
|
+
/admin/collection/{collectionId}/product/{productId}/batch/{batchId}/getSN:
|
|
7066
|
+
get:
|
|
7067
|
+
tags:
|
|
7068
|
+
- batch
|
|
7069
|
+
summary: Get serial numbers for a batch (admin only).
|
|
7070
|
+
operationId: batch_getSN
|
|
7071
|
+
security:
|
|
7072
|
+
- bearerAuth: []
|
|
7073
|
+
parameters:
|
|
7074
|
+
- name: collectionId
|
|
7075
|
+
in: path
|
|
7076
|
+
required: true
|
|
7077
|
+
schema:
|
|
7078
|
+
type: string
|
|
7079
|
+
- name: productId
|
|
7080
|
+
in: path
|
|
7081
|
+
required: true
|
|
7082
|
+
schema:
|
|
7083
|
+
type: string
|
|
7084
|
+
- name: batchId
|
|
7085
|
+
in: path
|
|
7086
|
+
required: true
|
|
7087
|
+
schema:
|
|
7088
|
+
type: string
|
|
7089
|
+
responses:
|
|
7090
|
+
200:
|
|
7091
|
+
description: Success
|
|
7092
|
+
content:
|
|
7093
|
+
application/json:
|
|
7094
|
+
schema: {}
|
|
7095
|
+
400:
|
|
7096
|
+
description: Bad request
|
|
7097
|
+
401:
|
|
7098
|
+
description: Unauthorized
|
|
7099
|
+
404:
|
|
7100
|
+
description: Not found
|
|
7101
|
+
/admin/collection/{collectionId}/product/{productId}/batch/{batchId}/lookupSN/{codeId}:
|
|
7102
|
+
get:
|
|
7103
|
+
tags:
|
|
7104
|
+
- batch
|
|
7105
|
+
summary: Look up a serial number by code for a batch (admin only).
|
|
7106
|
+
operationId: batch_lookupSN
|
|
7107
|
+
security:
|
|
7108
|
+
- bearerAuth: []
|
|
7109
|
+
parameters:
|
|
7110
|
+
- name: collectionId
|
|
7111
|
+
in: path
|
|
7112
|
+
required: true
|
|
7113
|
+
schema:
|
|
7114
|
+
type: string
|
|
7115
|
+
- name: productId
|
|
7116
|
+
in: path
|
|
7117
|
+
required: true
|
|
7118
|
+
schema:
|
|
7119
|
+
type: string
|
|
7120
|
+
- name: batchId
|
|
7121
|
+
in: path
|
|
7122
|
+
required: true
|
|
7123
|
+
schema:
|
|
7124
|
+
type: string
|
|
7125
|
+
- name: codeId
|
|
7126
|
+
in: path
|
|
7127
|
+
required: true
|
|
7128
|
+
schema:
|
|
7129
|
+
type: string
|
|
7130
|
+
responses:
|
|
7131
|
+
200:
|
|
7132
|
+
description: Success
|
|
7133
|
+
content:
|
|
7134
|
+
application/json:
|
|
7135
|
+
schema: {}
|
|
7136
|
+
400:
|
|
7137
|
+
description: Bad request
|
|
7138
|
+
401:
|
|
7139
|
+
description: Unauthorized
|
|
7140
|
+
404:
|
|
7141
|
+
description: Not found
|
|
7142
|
+
/admin/collection/{collectionId}/product/{productId}/batch/{batchId}/proof:
|
|
7143
|
+
get:
|
|
7144
|
+
tags:
|
|
7145
|
+
- proof
|
|
7146
|
+
summary: Get proofs for a batch (admin only).
|
|
7147
|
+
operationId: proof_getByBatch
|
|
7148
|
+
security:
|
|
7149
|
+
- bearerAuth: []
|
|
7150
|
+
parameters:
|
|
7151
|
+
- name: collectionId
|
|
7152
|
+
in: path
|
|
7153
|
+
required: true
|
|
7154
|
+
schema:
|
|
7155
|
+
type: string
|
|
7156
|
+
- name: productId
|
|
7157
|
+
in: path
|
|
7158
|
+
required: true
|
|
7159
|
+
schema:
|
|
7160
|
+
type: string
|
|
7161
|
+
- name: batchId
|
|
7162
|
+
in: path
|
|
7163
|
+
required: true
|
|
7164
|
+
schema:
|
|
7165
|
+
type: string
|
|
7166
|
+
responses:
|
|
7167
|
+
200:
|
|
7168
|
+
description: Success
|
|
7169
|
+
content:
|
|
7170
|
+
application/json:
|
|
7171
|
+
schema:
|
|
7172
|
+
type: array
|
|
7173
|
+
items:
|
|
7174
|
+
$ref: "#/components/schemas/ProofResponse"
|
|
7175
|
+
400:
|
|
7176
|
+
description: Bad request
|
|
7177
|
+
401:
|
|
7178
|
+
description: Unauthorized
|
|
7179
|
+
404:
|
|
7180
|
+
description: Not found
|
|
7181
|
+
/admin/collection/{collectionId}/product/{productId}/claimWindow:
|
|
7182
|
+
post:
|
|
7183
|
+
tags:
|
|
7184
|
+
- product
|
|
7185
|
+
summary: product.createClaimWindow
|
|
7186
|
+
operationId: product_createClaimWindow
|
|
7187
|
+
security:
|
|
7188
|
+
- bearerAuth: []
|
|
7189
|
+
parameters:
|
|
7190
|
+
- name: collectionId
|
|
7191
|
+
in: path
|
|
7192
|
+
required: true
|
|
7193
|
+
schema:
|
|
7194
|
+
type: string
|
|
7195
|
+
- name: productId
|
|
7196
|
+
in: path
|
|
7197
|
+
required: true
|
|
7198
|
+
schema:
|
|
7199
|
+
type: string
|
|
7200
|
+
responses:
|
|
7201
|
+
200:
|
|
7202
|
+
description: Success
|
|
7203
|
+
content:
|
|
7204
|
+
application/json:
|
|
7205
|
+
schema: {}
|
|
7206
|
+
400:
|
|
7207
|
+
description: Bad request
|
|
7208
|
+
401:
|
|
7209
|
+
description: Unauthorized
|
|
7210
|
+
404:
|
|
7211
|
+
description: Not found
|
|
7212
|
+
requestBody:
|
|
7213
|
+
required: true
|
|
7214
|
+
content:
|
|
7215
|
+
application/json:
|
|
7216
|
+
schema:
|
|
7217
|
+
type: object
|
|
7218
|
+
additionalProperties:
|
|
7219
|
+
$ref: "#/components/schemas/JsonValue"
|
|
7220
|
+
/admin/collection/{collectionId}/product/{productId}/claimWindow/{claimId}:
|
|
7221
|
+
put:
|
|
7222
|
+
tags:
|
|
7223
|
+
- product
|
|
7224
|
+
summary: product.updateClaimWindow
|
|
7225
|
+
operationId: product_updateClaimWindow
|
|
7226
|
+
security:
|
|
7227
|
+
- bearerAuth: []
|
|
7228
|
+
parameters:
|
|
7229
|
+
- name: collectionId
|
|
7230
|
+
in: path
|
|
7231
|
+
required: true
|
|
7232
|
+
schema:
|
|
7233
|
+
type: string
|
|
7234
|
+
- name: productId
|
|
7235
|
+
in: path
|
|
7236
|
+
required: true
|
|
7237
|
+
schema:
|
|
7238
|
+
type: string
|
|
7239
|
+
- name: claimId
|
|
7240
|
+
in: path
|
|
7241
|
+
required: true
|
|
7242
|
+
schema:
|
|
7243
|
+
type: string
|
|
7244
|
+
responses:
|
|
7245
|
+
200:
|
|
7246
|
+
description: Success
|
|
7247
|
+
content:
|
|
7248
|
+
application/json:
|
|
7249
|
+
schema: {}
|
|
7250
|
+
400:
|
|
7251
|
+
description: Bad request
|
|
7252
|
+
401:
|
|
7253
|
+
description: Unauthorized
|
|
7254
|
+
404:
|
|
7255
|
+
description: Not found
|
|
7256
|
+
requestBody:
|
|
7257
|
+
required: true
|
|
7258
|
+
content:
|
|
7259
|
+
application/json:
|
|
7260
|
+
schema:
|
|
7261
|
+
type: object
|
|
7262
|
+
additionalProperties:
|
|
7263
|
+
$ref: "#/components/schemas/JsonValue"
|
|
7264
|
+
/admin/collection/{collectionId}/product/{productId}/clone:
|
|
7265
|
+
post:
|
|
7266
|
+
tags:
|
|
7267
|
+
- product
|
|
7268
|
+
summary: product.clone
|
|
7269
|
+
operationId: product_clone
|
|
7221
7270
|
security:
|
|
7222
7271
|
- bearerAuth: []
|
|
7223
7272
|
parameters:
|
|
@@ -9141,6 +9190,35 @@ paths:
|
|
|
9141
9190
|
description: Unauthorized
|
|
9142
9191
|
404:
|
|
9143
9192
|
description: Not found
|
|
9193
|
+
/admin/partner/{partnerId}/tags/attempts:
|
|
9194
|
+
get:
|
|
9195
|
+
tags:
|
|
9196
|
+
- partner
|
|
9197
|
+
summary: "What phones reported about one chip (errors.report with entityType 'tag'), newest first: a tag that failed to program or register, with the host's NFC log in context."
|
|
9198
|
+
operationId: partner_tagAttempts
|
|
9199
|
+
security:
|
|
9200
|
+
- bearerAuth: []
|
|
9201
|
+
parameters:
|
|
9202
|
+
- name: partnerId
|
|
9203
|
+
in: path
|
|
9204
|
+
required: true
|
|
9205
|
+
schema:
|
|
9206
|
+
type: string
|
|
9207
|
+
responses:
|
|
9208
|
+
200:
|
|
9209
|
+
description: Success
|
|
9210
|
+
content:
|
|
9211
|
+
application/json:
|
|
9212
|
+
schema:
|
|
9213
|
+
type: array
|
|
9214
|
+
items:
|
|
9215
|
+
$ref: "#/components/schemas/ClientErrorEvent"
|
|
9216
|
+
400:
|
|
9217
|
+
description: Bad request
|
|
9218
|
+
401:
|
|
9219
|
+
description: Unauthorized
|
|
9220
|
+
404:
|
|
9221
|
+
description: Not found
|
|
9144
9222
|
/admin/partner/{partnerId}/tags/lookup:
|
|
9145
9223
|
get:
|
|
9146
9224
|
tags:
|
|
@@ -14319,6 +14397,32 @@ paths:
|
|
|
14319
14397
|
application/json:
|
|
14320
14398
|
schema:
|
|
14321
14399
|
$ref: "#/components/schemas/TranslationLookupRequest"
|
|
14400
|
+
/public/collection/{collectionId}/userGroups/mine:
|
|
14401
|
+
get:
|
|
14402
|
+
tags:
|
|
14403
|
+
- userGroups
|
|
14404
|
+
summary: "The signed-in person's own user groups in this collection."
|
|
14405
|
+
operationId: userGroups_mine
|
|
14406
|
+
security: []
|
|
14407
|
+
parameters:
|
|
14408
|
+
- name: collectionId
|
|
14409
|
+
in: path
|
|
14410
|
+
required: true
|
|
14411
|
+
schema:
|
|
14412
|
+
type: string
|
|
14413
|
+
responses:
|
|
14414
|
+
200:
|
|
14415
|
+
description: Success
|
|
14416
|
+
content:
|
|
14417
|
+
application/json:
|
|
14418
|
+
schema:
|
|
14419
|
+
$ref: "#/components/schemas/MyUserGroups"
|
|
14420
|
+
400:
|
|
14421
|
+
description: Bad request
|
|
14422
|
+
401:
|
|
14423
|
+
description: Unauthorized
|
|
14424
|
+
404:
|
|
14425
|
+
description: Not found
|
|
14322
14426
|
/public/config/fields:
|
|
14323
14427
|
get:
|
|
14324
14428
|
tags:
|
|
@@ -20655,6 +20759,10 @@ components:
|
|
|
20655
20759
|
$ref: "#/components/schemas/AppFunctionAuthority"
|
|
20656
20760
|
elevated:
|
|
20657
20761
|
type: boolean
|
|
20762
|
+
userGroups:
|
|
20763
|
+
type: array
|
|
20764
|
+
items:
|
|
20765
|
+
type: string
|
|
20658
20766
|
capabilities:
|
|
20659
20767
|
type: array
|
|
20660
20768
|
items:
|
|
@@ -20828,14 +20936,77 @@ components:
|
|
|
20828
20936
|
required:
|
|
20829
20937
|
- slots
|
|
20830
20938
|
- blocks
|
|
20939
|
+
AppHistoryEvent:
|
|
20940
|
+
type: object
|
|
20941
|
+
properties:
|
|
20942
|
+
id:
|
|
20943
|
+
type: string
|
|
20944
|
+
at:
|
|
20945
|
+
type: string
|
|
20946
|
+
type:
|
|
20947
|
+
type: string
|
|
20948
|
+
entityId:
|
|
20949
|
+
type: string
|
|
20950
|
+
data:
|
|
20951
|
+
type: object
|
|
20952
|
+
additionalProperties: true
|
|
20953
|
+
actorType:
|
|
20954
|
+
type: string
|
|
20955
|
+
enum:
|
|
20956
|
+
- user
|
|
20957
|
+
- contact
|
|
20958
|
+
actorId:
|
|
20959
|
+
type: string
|
|
20960
|
+
required:
|
|
20961
|
+
- id
|
|
20962
|
+
- at
|
|
20963
|
+
- type
|
|
20964
|
+
- entityId
|
|
20965
|
+
- data
|
|
20966
|
+
- actorType
|
|
20967
|
+
- actorId
|
|
20968
|
+
AppHistoryQuery:
|
|
20969
|
+
type: object
|
|
20970
|
+
properties:
|
|
20971
|
+
types:
|
|
20972
|
+
type: array
|
|
20973
|
+
items:
|
|
20974
|
+
type: object
|
|
20975
|
+
additionalProperties: true
|
|
20976
|
+
entityId:
|
|
20977
|
+
type: string
|
|
20978
|
+
data:
|
|
20979
|
+
type: object
|
|
20980
|
+
additionalProperties:
|
|
20981
|
+
type: object
|
|
20982
|
+
additionalProperties: true
|
|
20983
|
+
from:
|
|
20984
|
+
type: string
|
|
20985
|
+
to:
|
|
20986
|
+
type: string
|
|
20987
|
+
limit:
|
|
20988
|
+
type: number
|
|
20831
20989
|
ServerFunctionSl:
|
|
20832
20990
|
type: object
|
|
20833
20991
|
properties:
|
|
20992
|
+
workOrders:
|
|
20993
|
+
$ref: "#/components/schemas/WorkOrdersApi"
|
|
20994
|
+
stock:
|
|
20995
|
+
$ref: "#/components/schemas/StockApi"
|
|
20996
|
+
boms:
|
|
20997
|
+
$ref: "#/components/schemas/BomsApi"
|
|
20998
|
+
madeFrom:
|
|
20999
|
+
$ref: "#/components/schemas/MadeFromApi"
|
|
21000
|
+
operations:
|
|
21001
|
+
$ref: "#/components/schemas/OperationsApi"
|
|
20834
21002
|
bookings:
|
|
20835
21003
|
$ref: "#/components/schemas/ServerFunctionBookings"
|
|
20836
21004
|
appRecords:
|
|
20837
21005
|
type: object
|
|
20838
21006
|
additionalProperties: true
|
|
21007
|
+
history:
|
|
21008
|
+
type: object
|
|
21009
|
+
additionalProperties: true
|
|
20839
21010
|
counters:
|
|
20840
21011
|
$ref: "#/components/schemas/ServerFunctionCounters"
|
|
20841
21012
|
tags:
|
|
@@ -20855,8 +21026,14 @@ components:
|
|
|
20855
21026
|
appData:
|
|
20856
21027
|
$ref: "#/components/schemas/AppDataHandle"
|
|
20857
21028
|
required:
|
|
21029
|
+
- workOrders
|
|
21030
|
+
- stock
|
|
21031
|
+
- boms
|
|
21032
|
+
- madeFrom
|
|
21033
|
+
- operations
|
|
20858
21034
|
- bookings
|
|
20859
21035
|
- appRecords
|
|
21036
|
+
- history
|
|
20860
21037
|
- counters
|
|
20861
21038
|
- tags
|
|
20862
21039
|
- contacts
|
|
@@ -20878,10 +21055,16 @@ components:
|
|
|
20878
21055
|
type: string
|
|
20879
21056
|
via:
|
|
20880
21057
|
$ref: "#/components/schemas/AppFunctionTriggerType"
|
|
21058
|
+
userGroups:
|
|
21059
|
+
type: array
|
|
21060
|
+
items:
|
|
21061
|
+
type: object
|
|
21062
|
+
additionalProperties: true
|
|
20881
21063
|
required:
|
|
20882
21064
|
- userId
|
|
20883
21065
|
- anonymous
|
|
20884
21066
|
- via
|
|
21067
|
+
- userGroups
|
|
20885
21068
|
CallerContact:
|
|
20886
21069
|
type: object
|
|
20887
21070
|
properties:
|
|
@@ -21103,6 +21286,35 @@ components:
|
|
|
21103
21286
|
required:
|
|
21104
21287
|
- id
|
|
21105
21288
|
- title
|
|
21289
|
+
AdminView:
|
|
21290
|
+
type: object
|
|
21291
|
+
properties:
|
|
21292
|
+
id:
|
|
21293
|
+
type: string
|
|
21294
|
+
title:
|
|
21295
|
+
type: string
|
|
21296
|
+
path:
|
|
21297
|
+
type: string
|
|
21298
|
+
group:
|
|
21299
|
+
type: string
|
|
21300
|
+
enum:
|
|
21301
|
+
- main
|
|
21302
|
+
- settings
|
|
21303
|
+
- record
|
|
21304
|
+
within:
|
|
21305
|
+
type: string
|
|
21306
|
+
icon:
|
|
21307
|
+
type: string
|
|
21308
|
+
description:
|
|
21309
|
+
type: string
|
|
21310
|
+
params:
|
|
21311
|
+
type: object
|
|
21312
|
+
additionalProperties:
|
|
21313
|
+
type: string
|
|
21314
|
+
required:
|
|
21315
|
+
- id
|
|
21316
|
+
- title
|
|
21317
|
+
- path
|
|
21106
21318
|
AppManifest:
|
|
21107
21319
|
type: object
|
|
21108
21320
|
properties:
|
|
@@ -21182,6 +21394,10 @@ components:
|
|
|
21182
21394
|
type: array
|
|
21183
21395
|
items:
|
|
21184
21396
|
$ref: "#/components/schemas/PublicView"
|
|
21397
|
+
adminViews:
|
|
21398
|
+
type: array
|
|
21399
|
+
items:
|
|
21400
|
+
$ref: "#/components/schemas/AdminView"
|
|
21185
21401
|
executor:
|
|
21186
21402
|
$ref: "#/components/schemas/AppManifestExecutor"
|
|
21187
21403
|
functions:
|
|
@@ -21632,6 +21848,9 @@ components:
|
|
|
21632
21848
|
enum:
|
|
21633
21849
|
- caller
|
|
21634
21850
|
- collection
|
|
21851
|
+
RecordTransactionOp:
|
|
21852
|
+
type: object
|
|
21853
|
+
additionalProperties: true
|
|
21635
21854
|
PaginatedResponse:
|
|
21636
21855
|
type: object
|
|
21637
21856
|
properties:
|
|
@@ -21681,6 +21900,19 @@ components:
|
|
|
21681
21900
|
expires_at:
|
|
21682
21901
|
type: object
|
|
21683
21902
|
additionalProperties: true
|
|
21903
|
+
updated_at:
|
|
21904
|
+
type: object
|
|
21905
|
+
additionalProperties: true
|
|
21906
|
+
data:
|
|
21907
|
+
type: object
|
|
21908
|
+
additionalProperties:
|
|
21909
|
+
type: object
|
|
21910
|
+
additionalProperties: true
|
|
21911
|
+
dataRange:
|
|
21912
|
+
type: object
|
|
21913
|
+
additionalProperties:
|
|
21914
|
+
type: object
|
|
21915
|
+
additionalProperties: true
|
|
21684
21916
|
groupBy:
|
|
21685
21917
|
type: array
|
|
21686
21918
|
items:
|
|
@@ -26381,12 +26613,15 @@ components:
|
|
|
26381
26613
|
$ref: "#/components/schemas/ClaimSetRangeTag"
|
|
26382
26614
|
range:
|
|
26383
26615
|
$ref: "#/components/schemas/ClaimSetRange"
|
|
26616
|
+
group:
|
|
26617
|
+
$ref: "#/components/schemas/ClaimSetRange"
|
|
26384
26618
|
required:
|
|
26385
26619
|
- namespace
|
|
26386
26620
|
- claimSetId
|
|
26387
26621
|
- set
|
|
26388
26622
|
- tag
|
|
26389
26623
|
- range
|
|
26624
|
+
- group
|
|
26390
26625
|
CreatePartnerClaimSetRequest:
|
|
26391
26626
|
type: object
|
|
26392
26627
|
properties:
|
|
@@ -26444,6 +26679,92 @@ components:
|
|
|
26444
26679
|
- duplicate_uid
|
|
26445
26680
|
- uid_in_use
|
|
26446
26681
|
- uid_conflict
|
|
26682
|
+
ClientErrorReport:
|
|
26683
|
+
type: object
|
|
26684
|
+
properties:
|
|
26685
|
+
app:
|
|
26686
|
+
type: string
|
|
26687
|
+
appVersion:
|
|
26688
|
+
type: string
|
|
26689
|
+
collectionId:
|
|
26690
|
+
type: string
|
|
26691
|
+
operation:
|
|
26692
|
+
type: string
|
|
26693
|
+
severity:
|
|
26694
|
+
type: string
|
|
26695
|
+
enum:
|
|
26696
|
+
- debug
|
|
26697
|
+
- info
|
|
26698
|
+
- warning
|
|
26699
|
+
- error
|
|
26700
|
+
- critical
|
|
26701
|
+
errorCode:
|
|
26702
|
+
type: string
|
|
26703
|
+
errorType:
|
|
26704
|
+
type: string
|
|
26705
|
+
message:
|
|
26706
|
+
type: string
|
|
26707
|
+
stack:
|
|
26708
|
+
type: string
|
|
26709
|
+
entityType:
|
|
26710
|
+
type: string
|
|
26711
|
+
entityId:
|
|
26712
|
+
type: string
|
|
26713
|
+
labels:
|
|
26714
|
+
type: object
|
|
26715
|
+
additionalProperties: true
|
|
26716
|
+
context:
|
|
26717
|
+
type: object
|
|
26718
|
+
additionalProperties: true
|
|
26719
|
+
refId:
|
|
26720
|
+
type: string
|
|
26721
|
+
correlationId:
|
|
26722
|
+
type: string
|
|
26723
|
+
ClientErrorEvent:
|
|
26724
|
+
type: object
|
|
26725
|
+
properties:
|
|
26726
|
+
id:
|
|
26727
|
+
type: string
|
|
26728
|
+
time:
|
|
26729
|
+
type: string
|
|
26730
|
+
event_category:
|
|
26731
|
+
type: string
|
|
26732
|
+
event_action:
|
|
26733
|
+
type: string
|
|
26734
|
+
log_level:
|
|
26735
|
+
type: string
|
|
26736
|
+
error_code:
|
|
26737
|
+
type: string
|
|
26738
|
+
error_message:
|
|
26739
|
+
type: string
|
|
26740
|
+
service_name:
|
|
26741
|
+
type: string
|
|
26742
|
+
service_version:
|
|
26743
|
+
type: string
|
|
26744
|
+
collection_id:
|
|
26745
|
+
type: string
|
|
26746
|
+
user_id:
|
|
26747
|
+
type: string
|
|
26748
|
+
labels:
|
|
26749
|
+
type: object
|
|
26750
|
+
additionalProperties: true
|
|
26751
|
+
context:
|
|
26752
|
+
type: object
|
|
26753
|
+
additionalProperties: true
|
|
26754
|
+
required:
|
|
26755
|
+
- id
|
|
26756
|
+
- time
|
|
26757
|
+
- event_category
|
|
26758
|
+
- event_action
|
|
26759
|
+
- log_level
|
|
26760
|
+
- error_code
|
|
26761
|
+
- error_message
|
|
26762
|
+
- service_name
|
|
26763
|
+
- service_version
|
|
26764
|
+
- collection_id
|
|
26765
|
+
- user_id
|
|
26766
|
+
- labels
|
|
26767
|
+
- context
|
|
26447
26768
|
Collection:
|
|
26448
26769
|
type: object
|
|
26449
26770
|
properties:
|
|
@@ -27932,6 +28253,8 @@ components:
|
|
|
27932
28253
|
additionalProperties: true
|
|
27933
28254
|
parentContainerId:
|
|
27934
28255
|
type: string
|
|
28256
|
+
fixed:
|
|
28257
|
+
type: boolean
|
|
27935
28258
|
children:
|
|
27936
28259
|
type: array
|
|
27937
28260
|
items:
|
|
@@ -28005,6 +28328,8 @@ components:
|
|
|
28005
28328
|
additionalProperties: true
|
|
28006
28329
|
parentContainerId:
|
|
28007
28330
|
type: string
|
|
28331
|
+
fixed:
|
|
28332
|
+
type: boolean
|
|
28008
28333
|
required:
|
|
28009
28334
|
- containerType
|
|
28010
28335
|
UpdateContainerInput:
|
|
@@ -28025,6 +28350,8 @@ components:
|
|
|
28025
28350
|
additionalProperties: true
|
|
28026
28351
|
parentContainerId:
|
|
28027
28352
|
type: string
|
|
28353
|
+
fixed:
|
|
28354
|
+
type: boolean
|
|
28028
28355
|
AddContainerItemsInput:
|
|
28029
28356
|
type: object
|
|
28030
28357
|
properties:
|
|
@@ -31913,6 +32240,598 @@ components:
|
|
|
31913
32240
|
- rescan
|
|
31914
32241
|
- invalid
|
|
31915
32242
|
- error
|
|
32243
|
+
WorkOrderStage:
|
|
32244
|
+
type: object
|
|
32245
|
+
properties:
|
|
32246
|
+
key:
|
|
32247
|
+
type: string
|
|
32248
|
+
position:
|
|
32249
|
+
type: number
|
|
32250
|
+
status:
|
|
32251
|
+
$ref: "#/components/schemas/WorkOrderStageStatus"
|
|
32252
|
+
plannedStart:
|
|
32253
|
+
type: string
|
|
32254
|
+
plannedEnd:
|
|
32255
|
+
type: string
|
|
32256
|
+
startedAt:
|
|
32257
|
+
type: string
|
|
32258
|
+
doneAt:
|
|
32259
|
+
type: string
|
|
32260
|
+
quantityDone:
|
|
32261
|
+
type: number
|
|
32262
|
+
quantityScrapped:
|
|
32263
|
+
type: number
|
|
32264
|
+
data:
|
|
32265
|
+
type: object
|
|
32266
|
+
additionalProperties: true
|
|
32267
|
+
required:
|
|
32268
|
+
- key
|
|
32269
|
+
- position
|
|
32270
|
+
- status
|
|
32271
|
+
- plannedStart
|
|
32272
|
+
- plannedEnd
|
|
32273
|
+
- startedAt
|
|
32274
|
+
- doneAt
|
|
32275
|
+
- quantityDone
|
|
32276
|
+
- quantityScrapped
|
|
32277
|
+
- data
|
|
32278
|
+
WorkOrder:
|
|
32279
|
+
type: object
|
|
32280
|
+
properties:
|
|
32281
|
+
id:
|
|
32282
|
+
type: string
|
|
32283
|
+
collectionId:
|
|
32284
|
+
type: string
|
|
32285
|
+
appId:
|
|
32286
|
+
type: string
|
|
32287
|
+
ref:
|
|
32288
|
+
type: string
|
|
32289
|
+
kind:
|
|
32290
|
+
type: string
|
|
32291
|
+
productId:
|
|
32292
|
+
type: string
|
|
32293
|
+
variantId:
|
|
32294
|
+
type: string
|
|
32295
|
+
quantity:
|
|
32296
|
+
type: number
|
|
32297
|
+
unit:
|
|
32298
|
+
type: string
|
|
32299
|
+
dueAt:
|
|
32300
|
+
type: string
|
|
32301
|
+
priority:
|
|
32302
|
+
type: number
|
|
32303
|
+
status:
|
|
32304
|
+
$ref: "#/components/schemas/WorkOrderStatus"
|
|
32305
|
+
statusReason:
|
|
32306
|
+
type: string
|
|
32307
|
+
orderId:
|
|
32308
|
+
type: string
|
|
32309
|
+
orderItemId:
|
|
32310
|
+
type: string
|
|
32311
|
+
parentId:
|
|
32312
|
+
type: string
|
|
32313
|
+
outputBatchId:
|
|
32314
|
+
type: string
|
|
32315
|
+
stages:
|
|
32316
|
+
type: array
|
|
32317
|
+
items:
|
|
32318
|
+
$ref: "#/components/schemas/WorkOrderStage"
|
|
32319
|
+
currentStage:
|
|
32320
|
+
type: string
|
|
32321
|
+
late:
|
|
32322
|
+
type: boolean
|
|
32323
|
+
data:
|
|
32324
|
+
type: object
|
|
32325
|
+
additionalProperties: true
|
|
32326
|
+
createdBy:
|
|
32327
|
+
type: string
|
|
32328
|
+
createdAt:
|
|
32329
|
+
type: string
|
|
32330
|
+
updatedAt:
|
|
32331
|
+
type: string
|
|
32332
|
+
closedAt:
|
|
32333
|
+
type: string
|
|
32334
|
+
required:
|
|
32335
|
+
- id
|
|
32336
|
+
- collectionId
|
|
32337
|
+
- appId
|
|
32338
|
+
- ref
|
|
32339
|
+
- kind
|
|
32340
|
+
- productId
|
|
32341
|
+
- variantId
|
|
32342
|
+
- quantity
|
|
32343
|
+
- unit
|
|
32344
|
+
- dueAt
|
|
32345
|
+
- priority
|
|
32346
|
+
- status
|
|
32347
|
+
- statusReason
|
|
32348
|
+
- orderId
|
|
32349
|
+
- orderItemId
|
|
32350
|
+
- parentId
|
|
32351
|
+
- outputBatchId
|
|
32352
|
+
- stages
|
|
32353
|
+
- currentStage
|
|
32354
|
+
- late
|
|
32355
|
+
- data
|
|
32356
|
+
- createdBy
|
|
32357
|
+
- createdAt
|
|
32358
|
+
- updatedAt
|
|
32359
|
+
- closedAt
|
|
32360
|
+
CreateWorkOrderInput:
|
|
32361
|
+
type: object
|
|
32362
|
+
properties:
|
|
32363
|
+
ref:
|
|
32364
|
+
type: string
|
|
32365
|
+
kind:
|
|
32366
|
+
type: string
|
|
32367
|
+
productId:
|
|
32368
|
+
type: string
|
|
32369
|
+
variantId:
|
|
32370
|
+
type: string
|
|
32371
|
+
quantity:
|
|
32372
|
+
type: number
|
|
32373
|
+
unit:
|
|
32374
|
+
type: string
|
|
32375
|
+
dueAt:
|
|
32376
|
+
type: string
|
|
32377
|
+
priority:
|
|
32378
|
+
type: number
|
|
32379
|
+
orderId:
|
|
32380
|
+
type: string
|
|
32381
|
+
orderItemId:
|
|
32382
|
+
type: string
|
|
32383
|
+
parentId:
|
|
32384
|
+
type: string
|
|
32385
|
+
outputBatchId:
|
|
32386
|
+
type: string
|
|
32387
|
+
data:
|
|
32388
|
+
type: object
|
|
32389
|
+
additionalProperties: true
|
|
32390
|
+
stages:
|
|
32391
|
+
type: array
|
|
32392
|
+
items:
|
|
32393
|
+
$ref: "#/components/schemas/WorkOrderStageInput"
|
|
32394
|
+
required:
|
|
32395
|
+
- ref
|
|
32396
|
+
WorkOrderListParams:
|
|
32397
|
+
type: object
|
|
32398
|
+
properties:
|
|
32399
|
+
status:
|
|
32400
|
+
type: array
|
|
32401
|
+
items:
|
|
32402
|
+
$ref: "#/components/schemas/WorkOrderStatus"
|
|
32403
|
+
appId:
|
|
32404
|
+
type: string
|
|
32405
|
+
productId:
|
|
32406
|
+
type: string
|
|
32407
|
+
orderId:
|
|
32408
|
+
type: string
|
|
32409
|
+
parentId:
|
|
32410
|
+
type: string
|
|
32411
|
+
kind:
|
|
32412
|
+
type: string
|
|
32413
|
+
late:
|
|
32414
|
+
type: boolean
|
|
32415
|
+
dueFrom:
|
|
32416
|
+
type: string
|
|
32417
|
+
dueTo:
|
|
32418
|
+
type: string
|
|
32419
|
+
q:
|
|
32420
|
+
type: string
|
|
32421
|
+
sort:
|
|
32422
|
+
type: string
|
|
32423
|
+
enum:
|
|
32424
|
+
- due
|
|
32425
|
+
- priority
|
|
32426
|
+
- created
|
|
32427
|
+
- ref
|
|
32428
|
+
limit:
|
|
32429
|
+
type: number
|
|
32430
|
+
offset:
|
|
32431
|
+
type: number
|
|
32432
|
+
WorkOrdersApi:
|
|
32433
|
+
type: object
|
|
32434
|
+
properties: {}
|
|
32435
|
+
StockTarget:
|
|
32436
|
+
type: object
|
|
32437
|
+
properties:
|
|
32438
|
+
type:
|
|
32439
|
+
type: object
|
|
32440
|
+
additionalProperties: true
|
|
32441
|
+
required:
|
|
32442
|
+
- type
|
|
32443
|
+
StockLine:
|
|
32444
|
+
type: object
|
|
32445
|
+
properties:
|
|
32446
|
+
id:
|
|
32447
|
+
type: string
|
|
32448
|
+
containerId:
|
|
32449
|
+
type: string
|
|
32450
|
+
productId:
|
|
32451
|
+
type: string
|
|
32452
|
+
variantId:
|
|
32453
|
+
type: string
|
|
32454
|
+
batchId:
|
|
32455
|
+
type: string
|
|
32456
|
+
state:
|
|
32457
|
+
$ref: "#/components/schemas/StockState"
|
|
32458
|
+
allocatedTo:
|
|
32459
|
+
$ref: "#/components/schemas/StockTarget"
|
|
32460
|
+
quantity:
|
|
32461
|
+
type: number
|
|
32462
|
+
unit:
|
|
32463
|
+
type: string
|
|
32464
|
+
updatedAt:
|
|
32465
|
+
type: string
|
|
32466
|
+
required:
|
|
32467
|
+
- id
|
|
32468
|
+
- containerId
|
|
32469
|
+
- productId
|
|
32470
|
+
- variantId
|
|
32471
|
+
- batchId
|
|
32472
|
+
- state
|
|
32473
|
+
- allocatedTo
|
|
32474
|
+
- quantity
|
|
32475
|
+
- unit
|
|
32476
|
+
- updatedAt
|
|
32477
|
+
StockTotals:
|
|
32478
|
+
type: object
|
|
32479
|
+
properties:
|
|
32480
|
+
available:
|
|
32481
|
+
type: object
|
|
32482
|
+
additionalProperties: true
|
|
32483
|
+
required:
|
|
32484
|
+
- available
|
|
32485
|
+
StockItem:
|
|
32486
|
+
type: object
|
|
32487
|
+
properties:
|
|
32488
|
+
productId:
|
|
32489
|
+
type: object
|
|
32490
|
+
additionalProperties: true
|
|
32491
|
+
required:
|
|
32492
|
+
- productId
|
|
32493
|
+
StockMovementExtras:
|
|
32494
|
+
type: object
|
|
32495
|
+
properties:
|
|
32496
|
+
workOrderId:
|
|
32497
|
+
type: object
|
|
32498
|
+
additionalProperties: true
|
|
32499
|
+
StockMovementOptions:
|
|
32500
|
+
type: object
|
|
32501
|
+
properties:
|
|
32502
|
+
idempotencyKey:
|
|
32503
|
+
type: string
|
|
32504
|
+
StockMovement:
|
|
32505
|
+
type: object
|
|
32506
|
+
properties:
|
|
32507
|
+
movementId:
|
|
32508
|
+
type: string
|
|
32509
|
+
kind:
|
|
32510
|
+
type: string
|
|
32511
|
+
enum:
|
|
32512
|
+
- receive
|
|
32513
|
+
- produce
|
|
32514
|
+
- consume
|
|
32515
|
+
- move
|
|
32516
|
+
- allocate
|
|
32517
|
+
- release
|
|
32518
|
+
- hold
|
|
32519
|
+
- unhold
|
|
32520
|
+
- adjust
|
|
32521
|
+
productId:
|
|
32522
|
+
type: string
|
|
32523
|
+
quantity:
|
|
32524
|
+
type: number
|
|
32525
|
+
unit:
|
|
32526
|
+
type: string
|
|
32527
|
+
from:
|
|
32528
|
+
$ref: "#/components/schemas/StockLine"
|
|
32529
|
+
to:
|
|
32530
|
+
$ref: "#/components/schemas/StockLine"
|
|
32531
|
+
replayed:
|
|
32532
|
+
type: boolean
|
|
32533
|
+
required:
|
|
32534
|
+
- movementId
|
|
32535
|
+
- kind
|
|
32536
|
+
- productId
|
|
32537
|
+
- quantity
|
|
32538
|
+
- unit
|
|
32539
|
+
- replayed
|
|
32540
|
+
StockWhereLine:
|
|
32541
|
+
type: object
|
|
32542
|
+
properties:
|
|
32543
|
+
container:
|
|
32544
|
+
type: object
|
|
32545
|
+
additionalProperties: true
|
|
32546
|
+
path:
|
|
32547
|
+
type: array
|
|
32548
|
+
items:
|
|
32549
|
+
type: string
|
|
32550
|
+
place:
|
|
32551
|
+
type: object
|
|
32552
|
+
additionalProperties: true
|
|
32553
|
+
required:
|
|
32554
|
+
- container
|
|
32555
|
+
- path
|
|
32556
|
+
- place
|
|
32557
|
+
StockPosition:
|
|
32558
|
+
type: object
|
|
32559
|
+
properties:
|
|
32560
|
+
product:
|
|
32561
|
+
type: object
|
|
32562
|
+
additionalProperties: true
|
|
32563
|
+
onHand:
|
|
32564
|
+
$ref: "#/components/schemas/StockTotals"
|
|
32565
|
+
where:
|
|
32566
|
+
type: array
|
|
32567
|
+
items:
|
|
32568
|
+
type: object
|
|
32569
|
+
additionalProperties: true
|
|
32570
|
+
onOrder:
|
|
32571
|
+
type: object
|
|
32572
|
+
additionalProperties: true
|
|
32573
|
+
beingMade:
|
|
32574
|
+
type: object
|
|
32575
|
+
additionalProperties: true
|
|
32576
|
+
needed:
|
|
32577
|
+
type: object
|
|
32578
|
+
additionalProperties: true
|
|
32579
|
+
projected:
|
|
32580
|
+
type: array
|
|
32581
|
+
items:
|
|
32582
|
+
type: object
|
|
32583
|
+
additionalProperties: true
|
|
32584
|
+
shortfall:
|
|
32585
|
+
type: object
|
|
32586
|
+
additionalProperties: true
|
|
32587
|
+
horizonDays:
|
|
32588
|
+
type: number
|
|
32589
|
+
undatedLines:
|
|
32590
|
+
type: number
|
|
32591
|
+
asOf:
|
|
32592
|
+
type: string
|
|
32593
|
+
sources:
|
|
32594
|
+
type: object
|
|
32595
|
+
additionalProperties: true
|
|
32596
|
+
required:
|
|
32597
|
+
- product
|
|
32598
|
+
- onHand
|
|
32599
|
+
- where
|
|
32600
|
+
- onOrder
|
|
32601
|
+
- beingMade
|
|
32602
|
+
- needed
|
|
32603
|
+
- projected
|
|
32604
|
+
- shortfall
|
|
32605
|
+
- horizonDays
|
|
32606
|
+
- asOf
|
|
32607
|
+
- sources
|
|
32608
|
+
StockApi:
|
|
32609
|
+
type: object
|
|
32610
|
+
properties: {}
|
|
32611
|
+
BomLine:
|
|
32612
|
+
type: object
|
|
32613
|
+
properties:
|
|
32614
|
+
componentProductId:
|
|
32615
|
+
type: object
|
|
32616
|
+
additionalProperties: true
|
|
32617
|
+
required:
|
|
32618
|
+
- componentProductId
|
|
32619
|
+
Bom:
|
|
32620
|
+
type: object
|
|
32621
|
+
properties:
|
|
32622
|
+
id:
|
|
32623
|
+
type: string
|
|
32624
|
+
productId:
|
|
32625
|
+
type: string
|
|
32626
|
+
variantId:
|
|
32627
|
+
type: string
|
|
32628
|
+
version:
|
|
32629
|
+
type: number
|
|
32630
|
+
validFrom:
|
|
32631
|
+
type: string
|
|
32632
|
+
validTo:
|
|
32633
|
+
type: string
|
|
32634
|
+
yields:
|
|
32635
|
+
type: number
|
|
32636
|
+
note:
|
|
32637
|
+
type: string
|
|
32638
|
+
lines:
|
|
32639
|
+
type: array
|
|
32640
|
+
items:
|
|
32641
|
+
type: object
|
|
32642
|
+
additionalProperties: true
|
|
32643
|
+
data:
|
|
32644
|
+
type: object
|
|
32645
|
+
additionalProperties: true
|
|
32646
|
+
createdBy:
|
|
32647
|
+
type: string
|
|
32648
|
+
createdAt:
|
|
32649
|
+
type: string
|
|
32650
|
+
required:
|
|
32651
|
+
- id
|
|
32652
|
+
- productId
|
|
32653
|
+
- variantId
|
|
32654
|
+
- version
|
|
32655
|
+
- validFrom
|
|
32656
|
+
- validTo
|
|
32657
|
+
- yields
|
|
32658
|
+
- note
|
|
32659
|
+
- lines
|
|
32660
|
+
- data
|
|
32661
|
+
- createdBy
|
|
32662
|
+
- createdAt
|
|
32663
|
+
BomTreeNode:
|
|
32664
|
+
type: object
|
|
32665
|
+
properties:
|
|
32666
|
+
productId:
|
|
32667
|
+
type: array
|
|
32668
|
+
items:
|
|
32669
|
+
type: object
|
|
32670
|
+
additionalProperties: true
|
|
32671
|
+
required:
|
|
32672
|
+
- productId
|
|
32673
|
+
BomExplosion:
|
|
32674
|
+
type: object
|
|
32675
|
+
properties:
|
|
32676
|
+
productId:
|
|
32677
|
+
type: string
|
|
32678
|
+
variantId:
|
|
32679
|
+
type: string
|
|
32680
|
+
quantity:
|
|
32681
|
+
type: number
|
|
32682
|
+
hasBom:
|
|
32683
|
+
type: boolean
|
|
32684
|
+
tree:
|
|
32685
|
+
type: array
|
|
32686
|
+
items:
|
|
32687
|
+
$ref: "#/components/schemas/BomTreeNode"
|
|
32688
|
+
materials:
|
|
32689
|
+
type: array
|
|
32690
|
+
items:
|
|
32691
|
+
type: object
|
|
32692
|
+
additionalProperties: true
|
|
32693
|
+
required:
|
|
32694
|
+
- productId
|
|
32695
|
+
- variantId
|
|
32696
|
+
- quantity
|
|
32697
|
+
- hasBom
|
|
32698
|
+
- tree
|
|
32699
|
+
- materials
|
|
32700
|
+
BomsApi:
|
|
32701
|
+
type: object
|
|
32702
|
+
properties: {}
|
|
32703
|
+
MadeFromSubject:
|
|
32704
|
+
type: object
|
|
32705
|
+
properties:
|
|
32706
|
+
type:
|
|
32707
|
+
type: string
|
|
32708
|
+
enum:
|
|
32709
|
+
- batch
|
|
32710
|
+
- proof
|
|
32711
|
+
required:
|
|
32712
|
+
- type
|
|
32713
|
+
MadeFromSource:
|
|
32714
|
+
type: object
|
|
32715
|
+
properties:
|
|
32716
|
+
type:
|
|
32717
|
+
type: string
|
|
32718
|
+
enum:
|
|
32719
|
+
- batch
|
|
32720
|
+
- proof
|
|
32721
|
+
- product
|
|
32722
|
+
required:
|
|
32723
|
+
- type
|
|
32724
|
+
MadeFromEntry:
|
|
32725
|
+
type: object
|
|
32726
|
+
properties:
|
|
32727
|
+
id:
|
|
32728
|
+
type: string
|
|
32729
|
+
subject:
|
|
32730
|
+
$ref: "#/components/schemas/MadeFromSubject"
|
|
32731
|
+
source:
|
|
32732
|
+
$ref: "#/components/schemas/MadeFromSource"
|
|
32733
|
+
productId:
|
|
32734
|
+
type: string
|
|
32735
|
+
quantity:
|
|
32736
|
+
type: number
|
|
32737
|
+
unit:
|
|
32738
|
+
type: string
|
|
32739
|
+
workOrderId:
|
|
32740
|
+
type: string
|
|
32741
|
+
at:
|
|
32742
|
+
type: string
|
|
32743
|
+
by:
|
|
32744
|
+
type: string
|
|
32745
|
+
endedAt:
|
|
32746
|
+
type: string
|
|
32747
|
+
data:
|
|
32748
|
+
type: object
|
|
32749
|
+
additionalProperties: true
|
|
32750
|
+
required:
|
|
32751
|
+
- id
|
|
32752
|
+
- subject
|
|
32753
|
+
- source
|
|
32754
|
+
- productId
|
|
32755
|
+
- quantity
|
|
32756
|
+
- unit
|
|
32757
|
+
- workOrderId
|
|
32758
|
+
- at
|
|
32759
|
+
- by
|
|
32760
|
+
- endedAt
|
|
32761
|
+
- data
|
|
32762
|
+
MadeFromTraceNode:
|
|
32763
|
+
type: object
|
|
32764
|
+
properties:
|
|
32765
|
+
source:
|
|
32766
|
+
type: array
|
|
32767
|
+
items:
|
|
32768
|
+
type: object
|
|
32769
|
+
additionalProperties: true
|
|
32770
|
+
required:
|
|
32771
|
+
- source
|
|
32772
|
+
MadeFromApi:
|
|
32773
|
+
type: object
|
|
32774
|
+
properties: {}
|
|
32775
|
+
OperationStep:
|
|
32776
|
+
type: object
|
|
32777
|
+
properties:
|
|
32778
|
+
op:
|
|
32779
|
+
type: array
|
|
32780
|
+
items:
|
|
32781
|
+
type: object
|
|
32782
|
+
additionalProperties: true
|
|
32783
|
+
required:
|
|
32784
|
+
- op
|
|
32785
|
+
OperationsApi:
|
|
32786
|
+
type: object
|
|
32787
|
+
properties: {}
|
|
32788
|
+
OperationsAdmin:
|
|
32789
|
+
type: object
|
|
32790
|
+
properties:
|
|
32791
|
+
workOrders:
|
|
32792
|
+
$ref: "#/components/schemas/WorkOrdersApi"
|
|
32793
|
+
stock:
|
|
32794
|
+
$ref: "#/components/schemas/StockApi"
|
|
32795
|
+
boms:
|
|
32796
|
+
$ref: "#/components/schemas/BomsApi"
|
|
32797
|
+
madeFrom:
|
|
32798
|
+
$ref: "#/components/schemas/MadeFromApi"
|
|
32799
|
+
transaction:
|
|
32800
|
+
type: object
|
|
32801
|
+
additionalProperties: true
|
|
32802
|
+
required:
|
|
32803
|
+
- workOrders
|
|
32804
|
+
- stock
|
|
32805
|
+
- boms
|
|
32806
|
+
- madeFrom
|
|
32807
|
+
- transaction
|
|
32808
|
+
WorkOrderStatus:
|
|
32809
|
+
type: string
|
|
32810
|
+
enum:
|
|
32811
|
+
- open
|
|
32812
|
+
- on-hold
|
|
32813
|
+
- blocked
|
|
32814
|
+
- done
|
|
32815
|
+
- cancelled
|
|
32816
|
+
WorkOrderStageStatus:
|
|
32817
|
+
type: string
|
|
32818
|
+
enum:
|
|
32819
|
+
- pending
|
|
32820
|
+
- active
|
|
32821
|
+
- done
|
|
32822
|
+
- skipped
|
|
32823
|
+
WorkOrderStageInput:
|
|
32824
|
+
type: object
|
|
32825
|
+
additionalProperties: true
|
|
32826
|
+
UpdateWorkOrderInput:
|
|
32827
|
+
$ref: "#/components/schemas/CreateWorkOrderInput"
|
|
32828
|
+
StockState:
|
|
32829
|
+
type: string
|
|
32830
|
+
enum:
|
|
32831
|
+
- available
|
|
32832
|
+
- allocated
|
|
32833
|
+
- held
|
|
32834
|
+
- quarantine
|
|
31916
32835
|
OrderItem:
|
|
31917
32836
|
type: object
|
|
31918
32837
|
properties:
|
|
@@ -31926,6 +32845,7 @@ components:
|
|
|
31926
32845
|
- tag
|
|
31927
32846
|
- proof
|
|
31928
32847
|
- serial
|
|
32848
|
+
- product
|
|
31929
32849
|
itemId:
|
|
31930
32850
|
type: string
|
|
31931
32851
|
collectionId:
|
|
@@ -31936,6 +32856,14 @@ components:
|
|
|
31936
32856
|
type: string
|
|
31937
32857
|
batchId:
|
|
31938
32858
|
type: string
|
|
32859
|
+
quantity:
|
|
32860
|
+
type: number
|
|
32861
|
+
unit:
|
|
32862
|
+
type: string
|
|
32863
|
+
quantityDone:
|
|
32864
|
+
type: number
|
|
32865
|
+
dueAt:
|
|
32866
|
+
type: string
|
|
31939
32867
|
metadata:
|
|
31940
32868
|
type: object
|
|
31941
32869
|
additionalProperties: true
|
|
@@ -31948,8 +32876,50 @@ components:
|
|
|
31948
32876
|
- orderId
|
|
31949
32877
|
- itemType
|
|
31950
32878
|
- itemId
|
|
32879
|
+
- quantity
|
|
32880
|
+
- quantityDone
|
|
31951
32881
|
- metadata
|
|
31952
32882
|
- createdAt
|
|
32883
|
+
OrderItemInput:
|
|
32884
|
+
type: object
|
|
32885
|
+
properties:
|
|
32886
|
+
itemType:
|
|
32887
|
+
type: string
|
|
32888
|
+
enum:
|
|
32889
|
+
- tag
|
|
32890
|
+
- proof
|
|
32891
|
+
- serial
|
|
32892
|
+
itemId:
|
|
32893
|
+
type: string
|
|
32894
|
+
metadata:
|
|
32895
|
+
type: object
|
|
32896
|
+
additionalProperties: true
|
|
32897
|
+
required:
|
|
32898
|
+
- itemType
|
|
32899
|
+
- itemId
|
|
32900
|
+
OrderQuantityLineInput:
|
|
32901
|
+
type: object
|
|
32902
|
+
properties:
|
|
32903
|
+
itemType:
|
|
32904
|
+
type: string
|
|
32905
|
+
enum:
|
|
32906
|
+
- product
|
|
32907
|
+
productId:
|
|
32908
|
+
type: string
|
|
32909
|
+
variantId:
|
|
32910
|
+
type: string
|
|
32911
|
+
quantity:
|
|
32912
|
+
type: number
|
|
32913
|
+
unit:
|
|
32914
|
+
type: string
|
|
32915
|
+
dueAt:
|
|
32916
|
+
type: string
|
|
32917
|
+
metadata:
|
|
32918
|
+
type: object
|
|
32919
|
+
additionalProperties: true
|
|
32920
|
+
required:
|
|
32921
|
+
- productId
|
|
32922
|
+
- quantity
|
|
31953
32923
|
OrderSummary:
|
|
31954
32924
|
type: object
|
|
31955
32925
|
properties:
|
|
@@ -31982,6 +32952,12 @@ components:
|
|
|
31982
32952
|
type: string
|
|
31983
32953
|
status:
|
|
31984
32954
|
type: string
|
|
32955
|
+
direction:
|
|
32956
|
+
$ref: "#/components/schemas/OrderDirection"
|
|
32957
|
+
partyId:
|
|
32958
|
+
type: string
|
|
32959
|
+
dueAt:
|
|
32960
|
+
type: string
|
|
31985
32961
|
itemCount:
|
|
31986
32962
|
type: number
|
|
31987
32963
|
metadata:
|
|
@@ -32004,6 +32980,7 @@ components:
|
|
|
32004
32980
|
- orgId
|
|
32005
32981
|
- collectionId
|
|
32006
32982
|
- status
|
|
32983
|
+
- direction
|
|
32007
32984
|
- itemCount
|
|
32008
32985
|
- metadata
|
|
32009
32986
|
- createdAt
|
|
@@ -32012,29 +32989,28 @@ components:
|
|
|
32012
32989
|
type: object
|
|
32013
32990
|
properties:
|
|
32014
32991
|
items:
|
|
32015
|
-
type:
|
|
32016
|
-
|
|
32017
|
-
|
|
32992
|
+
type: array
|
|
32993
|
+
items:
|
|
32994
|
+
anyOf:
|
|
32995
|
+
- $ref: "#/components/schemas/OrderItemInput"
|
|
32996
|
+
- $ref: "#/components/schemas/OrderQuantityLineInput"
|
|
32997
|
+
direction:
|
|
32998
|
+
$ref: "#/components/schemas/OrderDirection"
|
|
32999
|
+
partyId:
|
|
32018
33000
|
type: string
|
|
32019
|
-
|
|
32020
|
-
- tag
|
|
32021
|
-
- proof
|
|
32022
|
-
- serial
|
|
32023
|
-
itemId:
|
|
33001
|
+
dueAt:
|
|
32024
33002
|
type: string
|
|
32025
|
-
metadata:
|
|
32026
|
-
type: object
|
|
32027
|
-
additionalProperties: true
|
|
32028
33003
|
orderRef:
|
|
32029
33004
|
type: string
|
|
32030
33005
|
customerId:
|
|
32031
33006
|
type: string
|
|
32032
33007
|
status:
|
|
32033
33008
|
type: string
|
|
33009
|
+
metadata:
|
|
33010
|
+
type: object
|
|
33011
|
+
additionalProperties: true
|
|
32034
33012
|
required:
|
|
32035
33013
|
- items
|
|
32036
|
-
- itemType
|
|
32037
|
-
- itemId
|
|
32038
33014
|
CreateOrderResponse:
|
|
32039
33015
|
type: object
|
|
32040
33016
|
properties: {}
|
|
@@ -32049,6 +33025,12 @@ components:
|
|
|
32049
33025
|
UpdateOrderRequest:
|
|
32050
33026
|
type: object
|
|
32051
33027
|
properties:
|
|
33028
|
+
direction:
|
|
33029
|
+
$ref: "#/components/schemas/OrderDirection"
|
|
33030
|
+
partyId:
|
|
33031
|
+
type: string
|
|
33032
|
+
dueAt:
|
|
33033
|
+
type: string
|
|
32052
33034
|
orderRef:
|
|
32053
33035
|
type: string
|
|
32054
33036
|
customerId:
|
|
@@ -32081,6 +33063,10 @@ components:
|
|
|
32081
33063
|
type: string
|
|
32082
33064
|
customerId:
|
|
32083
33065
|
type: string
|
|
33066
|
+
direction:
|
|
33067
|
+
$ref: "#/components/schemas/OrderDirection"
|
|
33068
|
+
partyId:
|
|
33069
|
+
type: string
|
|
32084
33070
|
includeItems:
|
|
32085
33071
|
type: boolean
|
|
32086
33072
|
ListOrdersResponse:
|
|
@@ -32766,6 +33752,11 @@ components:
|
|
|
32766
33752
|
- scansByDay
|
|
32767
33753
|
- adminScansByDay
|
|
32768
33754
|
- customerScansByDay
|
|
33755
|
+
OrderDirection:
|
|
33756
|
+
type: string
|
|
33757
|
+
enum:
|
|
33758
|
+
- sales
|
|
33759
|
+
- purchase
|
|
32769
33760
|
ProductKey:
|
|
32770
33761
|
type: object
|
|
32771
33762
|
properties:
|
|
@@ -34565,6 +35556,165 @@ components:
|
|
|
34565
35556
|
anyOf:
|
|
34566
35557
|
- $ref: "#/components/schemas/TranslationLookupSingleRequest"
|
|
34567
35558
|
- $ref: "#/components/schemas/TranslationLookupBatchRequest"
|
|
35559
|
+
UserGroup:
|
|
35560
|
+
type: object
|
|
35561
|
+
properties:
|
|
35562
|
+
id:
|
|
35563
|
+
type: string
|
|
35564
|
+
collectionId:
|
|
35565
|
+
type: string
|
|
35566
|
+
key:
|
|
35567
|
+
type: string
|
|
35568
|
+
name:
|
|
35569
|
+
type: string
|
|
35570
|
+
description:
|
|
35571
|
+
type: string
|
|
35572
|
+
members:
|
|
35573
|
+
type: array
|
|
35574
|
+
items:
|
|
35575
|
+
type: string
|
|
35576
|
+
createdAt:
|
|
35577
|
+
type: string
|
|
35578
|
+
updatedAt:
|
|
35579
|
+
type: string
|
|
35580
|
+
deleted:
|
|
35581
|
+
type: boolean
|
|
35582
|
+
deletedAt:
|
|
35583
|
+
type: string
|
|
35584
|
+
required:
|
|
35585
|
+
- id
|
|
35586
|
+
- name
|
|
35587
|
+
CreateUserGroupRequest:
|
|
35588
|
+
type: object
|
|
35589
|
+
properties:
|
|
35590
|
+
name:
|
|
35591
|
+
type: string
|
|
35592
|
+
key:
|
|
35593
|
+
type: string
|
|
35594
|
+
description:
|
|
35595
|
+
type: string
|
|
35596
|
+
members:
|
|
35597
|
+
type: array
|
|
35598
|
+
items:
|
|
35599
|
+
type: string
|
|
35600
|
+
required:
|
|
35601
|
+
- name
|
|
35602
|
+
UpdateUserGroupRequest:
|
|
35603
|
+
type: object
|
|
35604
|
+
properties:
|
|
35605
|
+
name:
|
|
35606
|
+
type: string
|
|
35607
|
+
description:
|
|
35608
|
+
type: string
|
|
35609
|
+
members:
|
|
35610
|
+
type: array
|
|
35611
|
+
items:
|
|
35612
|
+
type: string
|
|
35613
|
+
UserGroupMember:
|
|
35614
|
+
type: object
|
|
35615
|
+
properties:
|
|
35616
|
+
uid:
|
|
35617
|
+
type: string
|
|
35618
|
+
name:
|
|
35619
|
+
type: string
|
|
35620
|
+
email:
|
|
35621
|
+
type: string
|
|
35622
|
+
required:
|
|
35623
|
+
- uid
|
|
35624
|
+
UserGroupRef:
|
|
35625
|
+
type: object
|
|
35626
|
+
properties:
|
|
35627
|
+
id:
|
|
35628
|
+
type: string
|
|
35629
|
+
key:
|
|
35630
|
+
type: string
|
|
35631
|
+
name:
|
|
35632
|
+
type: string
|
|
35633
|
+
required:
|
|
35634
|
+
- id
|
|
35635
|
+
- key
|
|
35636
|
+
- name
|
|
35637
|
+
MyUserGroups:
|
|
35638
|
+
type: object
|
|
35639
|
+
properties:
|
|
35640
|
+
userGroups:
|
|
35641
|
+
type: array
|
|
35642
|
+
items:
|
|
35643
|
+
type: string
|
|
35644
|
+
userGroupIds:
|
|
35645
|
+
type: array
|
|
35646
|
+
items:
|
|
35647
|
+
type: string
|
|
35648
|
+
required:
|
|
35649
|
+
- userGroups
|
|
35650
|
+
- userGroupIds
|
|
35651
|
+
UserGroupChange:
|
|
35652
|
+
type: object
|
|
35653
|
+
properties:
|
|
35654
|
+
id:
|
|
35655
|
+
type: string
|
|
35656
|
+
at:
|
|
35657
|
+
type: string
|
|
35658
|
+
type:
|
|
35659
|
+
$ref: "#/components/schemas/UserGroupChangeType"
|
|
35660
|
+
entityId:
|
|
35661
|
+
type: string
|
|
35662
|
+
data:
|
|
35663
|
+
type: object
|
|
35664
|
+
additionalProperties: true
|
|
35665
|
+
userGroupId:
|
|
35666
|
+
type: string
|
|
35667
|
+
key:
|
|
35668
|
+
type: string
|
|
35669
|
+
name:
|
|
35670
|
+
type: string
|
|
35671
|
+
userId:
|
|
35672
|
+
type: string
|
|
35673
|
+
previousName:
|
|
35674
|
+
type: string
|
|
35675
|
+
members:
|
|
35676
|
+
type: array
|
|
35677
|
+
items:
|
|
35678
|
+
type: string
|
|
35679
|
+
actorType:
|
|
35680
|
+
type: string
|
|
35681
|
+
actorId:
|
|
35682
|
+
type: string
|
|
35683
|
+
required:
|
|
35684
|
+
- id
|
|
35685
|
+
- at
|
|
35686
|
+
- type
|
|
35687
|
+
- entityId
|
|
35688
|
+
- data
|
|
35689
|
+
- userGroupId
|
|
35690
|
+
- key
|
|
35691
|
+
- name
|
|
35692
|
+
- actorType
|
|
35693
|
+
- actorId
|
|
35694
|
+
UserGroupHistoryParams:
|
|
35695
|
+
type: object
|
|
35696
|
+
properties:
|
|
35697
|
+
userGroupId:
|
|
35698
|
+
type: string
|
|
35699
|
+
userId:
|
|
35700
|
+
type: string
|
|
35701
|
+
from:
|
|
35702
|
+
type: string
|
|
35703
|
+
to:
|
|
35704
|
+
type: string
|
|
35705
|
+
limit:
|
|
35706
|
+
type: number
|
|
35707
|
+
AddUserGroupMemberRequest:
|
|
35708
|
+
type: object
|
|
35709
|
+
additionalProperties: true
|
|
35710
|
+
UserGroupChangeType:
|
|
35711
|
+
type: string
|
|
35712
|
+
enum:
|
|
35713
|
+
- usergroup.created
|
|
35714
|
+
- usergroup.renamed
|
|
35715
|
+
- usergroup.deleted
|
|
35716
|
+
- usergroup.member-added
|
|
35717
|
+
- usergroup.member-removed
|
|
34568
35718
|
VariantResponse:
|
|
34569
35719
|
type: object
|
|
34570
35720
|
properties:
|