@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
|
@@ -4,24 +4,24 @@ import type {
|
|
|
4
4
|
StationFindResponse,
|
|
5
5
|
StationCreateResponse,
|
|
6
6
|
StationFindOneResponse,
|
|
7
|
-
|
|
7
|
+
StationPrototypePatchAttributesResponse,
|
|
8
8
|
DeviceFamilyFindResponse,
|
|
9
9
|
DeviceFamilyCreateResponse,
|
|
10
10
|
DeviceFamilyFindOneResponse,
|
|
11
|
-
|
|
12
|
-
|
|
11
|
+
DeviceFamilyPrototypePatchAttributesResponse,
|
|
12
|
+
DevicePrototypeGetDeviceFamilyResponse,
|
|
13
13
|
GatewayFindResponse,
|
|
14
14
|
GatewayFindOneResponse,
|
|
15
|
-
|
|
15
|
+
GatewayPrototypePatchAttributesResponse,
|
|
16
16
|
DocumentFindResponse,
|
|
17
17
|
DocumentFindOneResponse,
|
|
18
|
-
|
|
18
|
+
DocumentPrototypePatchAttributesResponse,
|
|
19
19
|
ContentPackageFindResponse,
|
|
20
20
|
ContentPackageCreateResponse,
|
|
21
21
|
ContentPackageFindOneResponse,
|
|
22
|
-
|
|
22
|
+
ContentPackagePrototypePatchAttributesResponse,
|
|
23
23
|
ContentPackageSessionFindResponse,
|
|
24
|
-
|
|
24
|
+
ContentPackageViewPrototypeGetContentPackageResponse,
|
|
25
25
|
ContentPackageViewFindResponse,
|
|
26
26
|
ContentPackageViewPatchOrCreateResponse,
|
|
27
27
|
ContentPackageViewCreateResponse,
|
|
@@ -29,20 +29,20 @@ import type {
|
|
|
29
29
|
ContentPackageViewReplaceOrCreatePostContentPackageViewsReplaceOrCreateResponse,
|
|
30
30
|
ContentPackageViewUpsertWithWhereResponse,
|
|
31
31
|
ContentPackageViewFindByIdResponse,
|
|
32
|
-
|
|
32
|
+
ContentPackageViewPrototypePatchAttributesResponse,
|
|
33
33
|
ContentPackageViewReplaceByIdPutContentPackageViewsIdResponse,
|
|
34
34
|
ContentPackageViewReplaceByIdPostContentPackageViewsIdReplaceResponse,
|
|
35
35
|
ContentPackageViewFindOneResponse,
|
|
36
36
|
TimelineFindResponse,
|
|
37
37
|
TimelineCreateResponse,
|
|
38
38
|
TimelineFindOneResponse,
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
39
|
+
TimelinePrototypePatchAttributesResponse,
|
|
40
|
+
CatalogPrototypeGetAssemblyResponse,
|
|
41
|
+
CatalogPrototypeFindByIdGroupModelResponse,
|
|
42
|
+
CatalogPrototypeUpdateByIdGroupModelResponse,
|
|
43
|
+
CatalogPrototypeLinkGroupModelResponse,
|
|
44
|
+
CatalogPrototypeGetGroupModelResponse,
|
|
45
|
+
CatalogPrototypeCreateGroupModelResponse,
|
|
46
46
|
CatalogFindResponse,
|
|
47
47
|
CatalogPatchOrCreateResponse,
|
|
48
48
|
CatalogCreateResponse,
|
|
@@ -50,13 +50,13 @@ import type {
|
|
|
50
50
|
CatalogReplaceOrCreatePostCatalogsReplaceOrCreateResponse,
|
|
51
51
|
CatalogUpsertWithWhereResponse,
|
|
52
52
|
CatalogFindByIdResponse,
|
|
53
|
-
|
|
53
|
+
CatalogPrototypePatchAttributesResponse,
|
|
54
54
|
CatalogReplaceByIdPutCatalogsIdResponse,
|
|
55
55
|
CatalogReplaceByIdPostCatalogsIdReplaceResponse,
|
|
56
56
|
CatalogFindOneResponse,
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
57
|
+
PartAssemblyPrototypeGetUnitResponse,
|
|
58
|
+
PartAssemblyPrototypeGetImageObjectResponse,
|
|
59
|
+
PartAssemblyPrototypeGetPictureObjectResponse,
|
|
60
60
|
PartAssemblyFindResponse,
|
|
61
61
|
PartAssemblyPatchOrCreateResponse,
|
|
62
62
|
PartAssemblyReplaceOrCreatePutPartAssemblyResponse,
|
|
@@ -66,8 +66,8 @@ import type {
|
|
|
66
66
|
PartAssemblyReplaceByIdPutPartAssemblyIdResponse,
|
|
67
67
|
PartAssemblyReplaceByIdPostPartAssemblyIdReplaceResponse,
|
|
68
68
|
PartAssemblyFindOneResponse,
|
|
69
|
-
|
|
70
|
-
|
|
69
|
+
PartAssemblyDocumentPrototypeGetResourceResponse,
|
|
70
|
+
WirePrototypeGetResourceObjectResponse,
|
|
71
71
|
WireFindResponse,
|
|
72
72
|
WirePatchOrCreateResponse,
|
|
73
73
|
WireCreateResponse,
|
|
@@ -75,21 +75,21 @@ import type {
|
|
|
75
75
|
WireReplaceOrCreatePostWiringReplaceOrCreateResponse,
|
|
76
76
|
WireUpsertWithWhereResponse,
|
|
77
77
|
WireFindByIdResponse,
|
|
78
|
-
|
|
78
|
+
WirePrototypePatchAttributesResponse,
|
|
79
79
|
WireReplaceByIdPutWiringIdResponse,
|
|
80
80
|
WireReplaceByIdPostWiringIdReplaceResponse,
|
|
81
81
|
WireFindOneResponse,
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
82
|
+
WiringlistPrototypeFindByIdWiresResponse,
|
|
83
|
+
WiringlistPrototypeUpdateByIdWiresResponse,
|
|
84
|
+
WiringlistPrototypeLinkWiresResponse,
|
|
85
|
+
WiringlistPrototypeGetResourceObjectResponse,
|
|
86
|
+
WiringlistPrototypeFindByIdGroupModelResponse,
|
|
87
|
+
WiringlistPrototypeUpdateByIdGroupModelResponse,
|
|
88
|
+
WiringlistPrototypeLinkGroupModelResponse,
|
|
89
|
+
WiringlistPrototypeGetWiresResponse,
|
|
90
|
+
WiringlistPrototypeCreateWiresResponse,
|
|
91
|
+
WiringlistPrototypeGetGroupModelResponse,
|
|
92
|
+
WiringlistPrototypeCreateGroupModelResponse,
|
|
93
93
|
WiringlistFindResponse,
|
|
94
94
|
WiringlistPatchOrCreateResponse,
|
|
95
95
|
WiringlistCreateResponse,
|
|
@@ -97,11 +97,11 @@ import type {
|
|
|
97
97
|
WiringlistReplaceOrCreatePostWiringlistReplaceOrCreateResponse,
|
|
98
98
|
WiringlistUpsertWithWhereResponse,
|
|
99
99
|
WiringlistFindByIdResponse,
|
|
100
|
-
|
|
100
|
+
WiringlistPrototypePatchAttributesResponse,
|
|
101
101
|
WiringlistReplaceByIdPutWiringlistIdResponse,
|
|
102
102
|
WiringlistReplaceByIdPostWiringlistIdReplaceResponse,
|
|
103
103
|
WiringlistFindOneResponse,
|
|
104
|
-
|
|
104
|
+
UnitPrototypeGetUserResponse,
|
|
105
105
|
UnitFindResponse,
|
|
106
106
|
UnitPatchOrCreateResponse,
|
|
107
107
|
UnitCreateResponse,
|
|
@@ -109,7 +109,7 @@ import type {
|
|
|
109
109
|
UnitReplaceOrCreatePostUnitsReplaceOrCreateResponse,
|
|
110
110
|
UnitUpsertWithWhereResponse,
|
|
111
111
|
UnitFindByIdResponse,
|
|
112
|
-
|
|
112
|
+
UnitPrototypePatchAttributesResponse,
|
|
113
113
|
UnitReplaceByIdPutUnitsIdResponse,
|
|
114
114
|
UnitReplaceByIdPostUnitsIdReplaceResponse,
|
|
115
115
|
UnitFindOneResponse,
|
|
@@ -120,40 +120,27 @@ import type {
|
|
|
120
120
|
AclReplaceOrCreatePostAcLsReplaceOrCreateResponse,
|
|
121
121
|
AclUpsertWithWhereResponse,
|
|
122
122
|
AclFindByIdResponse,
|
|
123
|
-
|
|
123
|
+
AclPrototypePatchAttributesResponse,
|
|
124
124
|
AclReplaceByIdPutAcLsIdResponse,
|
|
125
125
|
AclReplaceByIdPostAcLsIdReplaceResponse,
|
|
126
126
|
AclFindOneResponse,
|
|
127
|
-
RoleMappingGetRoleResponse,
|
|
128
|
-
RoleMappingGetUserModelResponse,
|
|
129
|
-
RoleMappingFindResponse,
|
|
130
|
-
RoleMappingPatchOrCreateResponse,
|
|
131
|
-
RoleMappingCreateResponse,
|
|
132
|
-
RoleMappingReplaceOrCreatePutRoleMappingsResponse,
|
|
133
|
-
RoleMappingReplaceOrCreatePostRoleMappingsReplaceOrCreateResponse,
|
|
134
|
-
RoleMappingUpsertWithWhereResponse,
|
|
135
|
-
RoleMappingFindByIdResponse,
|
|
136
|
-
RoleMappingPatchAttributesResponse,
|
|
137
|
-
RoleMappingReplaceByIdPutRoleMappingsIdResponse,
|
|
138
|
-
RoleMappingReplaceByIdPostRoleMappingsIdReplaceResponse,
|
|
139
|
-
RoleMappingFindOneResponse,
|
|
140
127
|
UserModelFindByIdResponse,
|
|
141
|
-
|
|
142
|
-
|
|
128
|
+
UserModelPrototypePatchAttributesPatchUserModelsIdResponse,
|
|
129
|
+
UserModelPrototypePatchAttributesPutUserModelsIdResponse,
|
|
143
130
|
UserModelFindResponse,
|
|
144
131
|
UserModelValidateCredentialsAndApproverAclResponse,
|
|
145
132
|
UserModelActivateUserResponse,
|
|
146
133
|
UserModelDeActivateUserResponse,
|
|
147
134
|
UserModelReplayFromAuthProviderResponse,
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
135
|
+
RolePrototypeFindByIdPrincipalsResponse,
|
|
136
|
+
RolePrototypeUpdateByIdPrincipalsResponse,
|
|
137
|
+
RolePrototypeFindByIdUserModelsResponse,
|
|
138
|
+
RolePrototypeUpdateByIdUserModelsResponse,
|
|
139
|
+
RolePrototypeLinkUserModelsResponse,
|
|
140
|
+
RolePrototypeGetPrincipalsResponse,
|
|
141
|
+
RolePrototypeCreatePrincipalsResponse,
|
|
142
|
+
RolePrototypeGetUserModelsResponse,
|
|
143
|
+
RolePrototypeCreateUserModelsResponse,
|
|
157
144
|
RoleFindResponse,
|
|
158
145
|
RolePatchOrCreateResponse,
|
|
159
146
|
RoleCreateResponse,
|
|
@@ -161,11 +148,11 @@ import type {
|
|
|
161
148
|
RoleReplaceOrCreatePostRolesReplaceOrCreateResponse,
|
|
162
149
|
RoleUpsertWithWhereResponse,
|
|
163
150
|
RoleFindByIdResponse,
|
|
164
|
-
|
|
151
|
+
RolePrototypePatchAttributesResponse,
|
|
165
152
|
RoleReplaceByIdPutRolesIdResponse,
|
|
166
153
|
RoleReplaceByIdPostRolesIdReplaceResponse,
|
|
167
154
|
RoleFindOneResponse,
|
|
168
|
-
|
|
155
|
+
ResourcePrototypeGetUserResponse,
|
|
169
156
|
ResourceFindResponse,
|
|
170
157
|
ResourcePatchOrCreateResponse,
|
|
171
158
|
ResourceCreateResponse,
|
|
@@ -173,46 +160,46 @@ import type {
|
|
|
173
160
|
ResourceReplaceOrCreatePostResourcesReplaceOrCreateResponse,
|
|
174
161
|
ResourceUpsertWithWhereResponse,
|
|
175
162
|
ResourceFindByIdResponse,
|
|
176
|
-
|
|
163
|
+
ResourcePrototypePatchAttributesResponse,
|
|
177
164
|
ResourceReplaceByIdPutResourcesIdResponse,
|
|
178
165
|
ResourceReplaceByIdPostResourcesIdReplaceResponse,
|
|
179
166
|
ResourceFindOneResponse,
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
167
|
+
WorkflowPrototypeFindByIdGlobalConnectionsResponse,
|
|
168
|
+
WorkflowPrototypeUpdateByIdGlobalConnectionsResponse,
|
|
169
|
+
WorkflowPrototypeFindByIdConnectionsResponse,
|
|
170
|
+
WorkflowPrototypeUpdateByIdConnectionsResponse,
|
|
171
|
+
WorkflowPrototypeFindByIdGlobalNodesResponse,
|
|
172
|
+
WorkflowPrototypeUpdateByIdGlobalNodesResponse,
|
|
173
|
+
WorkflowPrototypeFindByIdNodesResponse,
|
|
174
|
+
WorkflowPrototypeUpdateByIdNodesResponse,
|
|
175
|
+
WorkflowPrototypeFindByIdToolsResponse,
|
|
176
|
+
WorkflowPrototypeUpdateByIdToolsResponse,
|
|
177
|
+
WorkflowPrototypeFindByIdFieldsResponse,
|
|
178
|
+
WorkflowPrototypeUpdateByIdFieldsResponse,
|
|
179
|
+
WorkflowPrototypeFindByIdListItemsResponse,
|
|
180
|
+
WorkflowPrototypeUpdateByIdListItemsResponse,
|
|
181
|
+
WorkflowPrototypeLinkListItemsResponse,
|
|
182
|
+
WorkflowPrototypeGetResourceResponse,
|
|
183
|
+
WorkflowPrototypeGetUserResponse,
|
|
184
|
+
WorkflowPrototypeFindByIdGroupModelResponse,
|
|
185
|
+
WorkflowPrototypeUpdateByIdGroupModelResponse,
|
|
186
|
+
WorkflowPrototypeLinkGroupModelResponse,
|
|
187
|
+
WorkflowPrototypeGetGlobalConnectionsResponse,
|
|
188
|
+
WorkflowPrototypeCreateGlobalConnectionsResponse,
|
|
189
|
+
WorkflowPrototypeGetConnectionsResponse,
|
|
190
|
+
WorkflowPrototypeCreateConnectionsResponse,
|
|
191
|
+
WorkflowPrototypeGetGlobalNodesResponse,
|
|
192
|
+
WorkflowPrototypeCreateGlobalNodesResponse,
|
|
193
|
+
WorkflowPrototypeGetNodesResponse,
|
|
194
|
+
WorkflowPrototypeCreateNodesResponse,
|
|
195
|
+
WorkflowPrototypeGetToolsResponse,
|
|
196
|
+
WorkflowPrototypeCreateToolsResponse,
|
|
197
|
+
WorkflowPrototypeGetFieldsResponse,
|
|
198
|
+
WorkflowPrototypeCreateFieldsResponse,
|
|
199
|
+
WorkflowPrototypeGetListItemsResponse,
|
|
200
|
+
WorkflowPrototypeCreateListItemsResponse,
|
|
201
|
+
WorkflowPrototypeGetGroupModelResponse,
|
|
202
|
+
WorkflowPrototypeCreateGroupModelResponse,
|
|
216
203
|
WorkflowFindResponse,
|
|
217
204
|
WorkflowPatchOrCreateResponse,
|
|
218
205
|
WorkflowCreateResponse,
|
|
@@ -220,7 +207,7 @@ import type {
|
|
|
220
207
|
WorkflowReplaceOrCreatePostWorkflowsReplaceOrCreateResponse,
|
|
221
208
|
WorkflowUpsertWithWhereResponse,
|
|
222
209
|
WorkflowFindByIdResponse,
|
|
223
|
-
|
|
210
|
+
WorkflowPrototypePatchAttributesResponse,
|
|
224
211
|
WorkflowReplaceByIdPutWorkflowsIdResponse,
|
|
225
212
|
WorkflowReplaceByIdPostWorkflowsIdReplaceResponse,
|
|
226
213
|
WorkflowFindOneResponse,
|
|
@@ -229,7 +216,7 @@ import type {
|
|
|
229
216
|
WorkflowDeleteByWorkflowIdResponse,
|
|
230
217
|
WorkflowForkResponse,
|
|
231
218
|
WorkflowMassiveCopyResponse,
|
|
232
|
-
|
|
219
|
+
WorkflowPrototypeCreateNodeAndConnectionResponse,
|
|
233
220
|
AiPromptFindResponse,
|
|
234
221
|
AiPromptPatchOrCreateResponse,
|
|
235
222
|
AiPromptCreateResponse,
|
|
@@ -237,46 +224,35 @@ import type {
|
|
|
237
224
|
AiPromptReplaceOrCreatePostAiPromptsReplaceOrCreateResponse,
|
|
238
225
|
AiPromptUpsertWithWhereResponse,
|
|
239
226
|
AiPromptFindByIdResponse,
|
|
240
|
-
|
|
227
|
+
AiPromptPrototypePatchAttributesResponse,
|
|
241
228
|
AiPromptReplaceByIdPutAiPromptsIdResponse,
|
|
242
229
|
AiPromptReplaceByIdPostAiPromptsIdReplaceResponse,
|
|
243
230
|
AiPromptFindOneResponse,
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
NodeLinkListItemsResponse,
|
|
270
|
-
NodeGetResourceResponse,
|
|
271
|
-
NodeGetResourcesResponse,
|
|
272
|
-
NodeCreateResourcesResponse,
|
|
273
|
-
NodeGetToolsResponse,
|
|
274
|
-
NodeCreateToolsResponse,
|
|
275
|
-
NodeGetFieldsResponse,
|
|
276
|
-
NodeCreateFieldsResponse,
|
|
277
|
-
NodeGetListItemsResponse,
|
|
278
|
-
NodeCreateListItemsResponse,
|
|
279
|
-
BomGetPartResponse,
|
|
231
|
+
ConnectionPrototypeGetFromResponse,
|
|
232
|
+
ConnectionPrototypeGetToResponse,
|
|
233
|
+
NodePrototypeFindByIdResourcesResponse,
|
|
234
|
+
NodePrototypeUpdateByIdResourcesResponse,
|
|
235
|
+
NodePrototypeLinkResourcesResponse,
|
|
236
|
+
NodePrototypeGetLocationsResponse,
|
|
237
|
+
NodePrototypeFindByIdToolsResponse,
|
|
238
|
+
NodePrototypeUpdateByIdToolsResponse,
|
|
239
|
+
NodePrototypeLinkToolsResponse,
|
|
240
|
+
NodePrototypeFindByIdFieldsResponse,
|
|
241
|
+
NodePrototypeUpdateByIdFieldsResponse,
|
|
242
|
+
NodePrototypeLinkFieldsResponse,
|
|
243
|
+
NodePrototypeFindByIdListItemsResponse,
|
|
244
|
+
NodePrototypeUpdateByIdListItemsResponse,
|
|
245
|
+
NodePrototypeLinkListItemsResponse,
|
|
246
|
+
NodePrototypeGetResourceResponse,
|
|
247
|
+
NodePrototypeGetResourcesResponse,
|
|
248
|
+
NodePrototypeCreateResourcesResponse,
|
|
249
|
+
NodePrototypeGetToolsResponse,
|
|
250
|
+
NodePrototypeCreateToolsResponse,
|
|
251
|
+
NodePrototypeGetFieldsResponse,
|
|
252
|
+
NodePrototypeCreateFieldsResponse,
|
|
253
|
+
NodePrototypeGetListItemsResponse,
|
|
254
|
+
NodePrototypeCreateListItemsResponse,
|
|
255
|
+
BomPrototypeGetPartResponse,
|
|
280
256
|
PartFindResponse,
|
|
281
257
|
PartPatchOrCreateResponse,
|
|
282
258
|
PartCreateResponse,
|
|
@@ -284,16 +260,16 @@ import type {
|
|
|
284
260
|
PartReplaceOrCreatePostPartsReplaceOrCreateResponse,
|
|
285
261
|
PartUpsertWithWhereResponse,
|
|
286
262
|
PartFindByIdResponse,
|
|
287
|
-
|
|
263
|
+
PartPrototypePatchAttributesResponse,
|
|
288
264
|
PartReplaceByIdPutPartsIdResponse,
|
|
289
265
|
PartReplaceByIdPostPartsIdReplaceResponse,
|
|
290
266
|
PartFindOneResponse,
|
|
291
267
|
LocationFindResponse,
|
|
292
268
|
LocationCreateResponse,
|
|
293
269
|
LocationFindByIdResponse,
|
|
294
|
-
|
|
270
|
+
LocationPrototypePatchAttributesResponse,
|
|
295
271
|
LocationFindOneResponse,
|
|
296
|
-
|
|
272
|
+
ProjectPrototypeGetResourceResponse,
|
|
297
273
|
ProjectFindResponse,
|
|
298
274
|
ProjectPatchOrCreateResponse,
|
|
299
275
|
ProjectCreateResponse,
|
|
@@ -301,116 +277,34 @@ import type {
|
|
|
301
277
|
ProjectReplaceOrCreatePostProjectsReplaceOrCreateResponse,
|
|
302
278
|
ProjectUpsertWithWhereResponse,
|
|
303
279
|
ProjectFindByIdResponse,
|
|
304
|
-
|
|
280
|
+
ProjectPrototypePatchAttributesResponse,
|
|
305
281
|
ProjectReplaceByIdPutProjectsIdResponse,
|
|
306
282
|
ProjectReplaceByIdPostProjectsIdReplaceResponse,
|
|
307
283
|
ProjectFindOneResponse,
|
|
308
284
|
ToolFindResponse,
|
|
309
285
|
ToolCreateResponse,
|
|
310
286
|
ToolFindOneResponse,
|
|
311
|
-
|
|
287
|
+
ToolPrototypePatchAttributesResponse,
|
|
312
288
|
FieldFindResponse,
|
|
313
289
|
FieldCreateResponse,
|
|
314
290
|
FieldFindOneResponse,
|
|
315
|
-
|
|
291
|
+
FieldPrototypePatchAttributesResponse,
|
|
316
292
|
UpdateInfoFindOneResponse,
|
|
317
|
-
WorkorderFindByIdPartResponse,
|
|
318
|
-
WorkorderUpdateByIdPartResponse,
|
|
319
|
-
WorkorderLinkPartResponse,
|
|
320
|
-
WorkorderFindByIdLocationsResponse,
|
|
321
|
-
WorkorderUpdateByIdLocationsResponse,
|
|
322
|
-
WorkorderLinkLocationsResponse,
|
|
323
|
-
WorkorderGetParentWorkorderResponse,
|
|
324
|
-
WorkorderCreateParentWorkorderResponse,
|
|
325
|
-
WorkorderUpdateParentWorkorderResponse,
|
|
326
|
-
WorkorderFindByIdKitsResponse,
|
|
327
|
-
WorkorderUpdateByIdKitsResponse,
|
|
328
|
-
WorkorderGetWorkflowResponse,
|
|
329
|
-
WorkorderGetUnmatchRevApprovedUserResponse,
|
|
330
|
-
WorkorderGetNewVersionApprovedUserResponse,
|
|
331
|
-
WorkorderFindByIdCurrentLocationsResponse,
|
|
332
|
-
WorkorderUpdateByIdCurrentLocationsResponse,
|
|
333
|
-
WorkorderLinkCurrentLocationsResponse,
|
|
334
|
-
WorkorderFindByIdStocksResponse,
|
|
335
|
-
WorkorderUpdateByIdStocksResponse,
|
|
336
|
-
WorkorderLinkStocksResponse,
|
|
337
|
-
WorkorderFindByIdSessionsResponse,
|
|
338
|
-
WorkorderUpdateByIdSessionsResponse,
|
|
339
|
-
WorkorderLinkSessionsResponse,
|
|
340
|
-
WorkorderGetWorkorderTypeResponse,
|
|
341
|
-
WorkorderFindByIdGroupModelResponse,
|
|
342
|
-
WorkorderUpdateByIdGroupModelResponse,
|
|
343
|
-
WorkorderLinkGroupModelResponse,
|
|
344
|
-
WorkorderGetPartResponse,
|
|
345
|
-
WorkorderCreatePartResponse,
|
|
346
|
-
WorkorderGetLocationsResponse,
|
|
347
|
-
WorkorderCreateLocationsResponse,
|
|
348
|
-
WorkorderGetKitsResponse,
|
|
349
|
-
WorkorderCreateKitsResponse,
|
|
350
|
-
WorkorderGetCurrentLocationsResponse,
|
|
351
|
-
WorkorderCreateCurrentLocationsResponse,
|
|
352
|
-
WorkorderGetStocksResponse,
|
|
353
|
-
WorkorderCreateStocksResponse,
|
|
354
|
-
WorkorderGetSessionsResponse,
|
|
355
|
-
WorkorderCreateSessionsResponse,
|
|
356
|
-
WorkorderGetGroupModelResponse,
|
|
357
|
-
WorkorderCreateGroupModelResponse,
|
|
358
|
-
WorkorderFindResponse,
|
|
359
|
-
WorkorderPatchOrCreateResponse,
|
|
360
|
-
WorkorderReplaceOrCreatePutWorkordersResponse,
|
|
361
|
-
WorkorderReplaceOrCreatePostWorkordersReplaceOrCreateResponse,
|
|
362
|
-
WorkorderUpsertWithWhereResponse,
|
|
363
293
|
WorkorderFindByIdResponse,
|
|
364
|
-
|
|
365
|
-
WorkorderReplaceByIdPostWorkordersIdReplaceResponse,
|
|
294
|
+
WorkorderFindResponse,
|
|
366
295
|
WorkorderFindOneResponse,
|
|
367
296
|
WorkorderSetSessionSerialResponse,
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
WorkorderSetStockSerialsLocalResponse,
|
|
297
|
+
WorkorderPrototypeSetStockSerialsResponse,
|
|
298
|
+
WorkorderPrototypeCommitResponse,
|
|
371
299
|
WorkorderGetResponse,
|
|
372
300
|
WorkorderAssignResponse,
|
|
373
301
|
WorkorderChangeGroupsResponse,
|
|
374
|
-
StockGetPartResponse,
|
|
375
|
-
StockGetLocationResponse,
|
|
376
|
-
StockFindByIdLocationsResponse,
|
|
377
|
-
StockUpdateByIdLocationsResponse,
|
|
378
|
-
StockLinkLocationsResponse,
|
|
379
|
-
StockGetWorkorderResponse,
|
|
380
|
-
StockGetActiveUserResponse,
|
|
381
|
-
StockGetParentStockResponse,
|
|
382
|
-
StockFindByIdChildStockResponse,
|
|
383
|
-
StockUpdateByIdChildStockResponse,
|
|
384
|
-
StockLinkChildStockResponse,
|
|
385
|
-
StockFindByIdUsersResponse,
|
|
386
|
-
StockUpdateByIdUsersResponse,
|
|
387
|
-
StockLinkUsersResponse,
|
|
388
|
-
StockGetWorkWithoutKitApprovedResponse,
|
|
389
|
-
StockFindByIdTimeLogResponse,
|
|
390
|
-
StockUpdateByIdTimeLogResponse,
|
|
391
|
-
StockGetWorkflowSessionItemResponse,
|
|
392
|
-
StockGetUserResponse,
|
|
393
|
-
StockGetLocationsResponse,
|
|
394
|
-
StockCreateLocationsResponse,
|
|
395
|
-
StockGetChildStockResponse,
|
|
396
|
-
StockCreateChildStockResponse,
|
|
397
|
-
StockGetUsersResponse,
|
|
398
|
-
StockCreateUsersResponse,
|
|
399
|
-
StockGetTimeLogResponse,
|
|
400
|
-
StockCreateTimeLogResponse,
|
|
401
302
|
StockFindResponse,
|
|
402
|
-
StockPatchOrCreateResponse,
|
|
403
303
|
StockCreateResponse,
|
|
404
|
-
StockReplaceOrCreatePutStocksResponse,
|
|
405
|
-
StockReplaceOrCreatePostStocksReplaceOrCreateResponse,
|
|
406
|
-
StockUpsertWithWhereResponse,
|
|
407
304
|
StockFindByIdResponse,
|
|
408
|
-
|
|
409
|
-
StockReplaceByIdPutStocksIdResponse,
|
|
410
|
-
StockReplaceByIdPostStocksIdReplaceResponse,
|
|
305
|
+
StockPrototypePatchAttributesResponse,
|
|
411
306
|
StockFindOneResponse,
|
|
412
|
-
|
|
413
|
-
PagesGetUserResponse,
|
|
307
|
+
PagesPrototypeGetUserResponse,
|
|
414
308
|
PagesFindResponse,
|
|
415
309
|
PagesPatchOrCreateResponse,
|
|
416
310
|
PagesCreateResponse,
|
|
@@ -418,11 +312,11 @@ import type {
|
|
|
418
312
|
PagesReplaceOrCreatePostPagesReplaceOrCreateResponse,
|
|
419
313
|
PagesUpsertWithWhereResponse,
|
|
420
314
|
PagesFindByIdResponse,
|
|
421
|
-
|
|
315
|
+
PagesPrototypePatchAttributesResponse,
|
|
422
316
|
PagesReplaceByIdPutPagesIdResponse,
|
|
423
317
|
PagesReplaceByIdPostPagesIdReplaceResponse,
|
|
424
318
|
PagesFindOneResponse,
|
|
425
|
-
|
|
319
|
+
MenusPrototypeGetUserResponse,
|
|
426
320
|
MenusFindResponse,
|
|
427
321
|
MenusPatchOrCreateResponse,
|
|
428
322
|
MenusCreateResponse,
|
|
@@ -430,11 +324,11 @@ import type {
|
|
|
430
324
|
MenusReplaceOrCreatePostMenusReplaceOrCreateResponse,
|
|
431
325
|
MenusUpsertWithWhereResponse,
|
|
432
326
|
MenusFindByIdResponse,
|
|
433
|
-
|
|
327
|
+
MenusPrototypePatchAttributesResponse,
|
|
434
328
|
MenusReplaceByIdPutMenusIdResponse,
|
|
435
329
|
MenusReplaceByIdPostMenusIdReplaceResponse,
|
|
436
330
|
MenusFindOneResponse,
|
|
437
|
-
|
|
331
|
+
RulePrototypeGetUserResponse,
|
|
438
332
|
RuleFindResponse,
|
|
439
333
|
RulePatchOrCreateResponse,
|
|
440
334
|
RuleCreateResponse,
|
|
@@ -442,40 +336,40 @@ import type {
|
|
|
442
336
|
RuleReplaceOrCreatePostRulesReplaceOrCreateResponse,
|
|
443
337
|
RuleUpsertWithWhereResponse,
|
|
444
338
|
RuleFindByIdResponse,
|
|
445
|
-
|
|
339
|
+
RulePrototypePatchAttributesResponse,
|
|
446
340
|
RuleReplaceByIdPutRulesIdResponse,
|
|
447
341
|
RuleReplaceByIdPostRulesIdReplaceResponse,
|
|
448
342
|
RuleFindOneResponse,
|
|
449
343
|
GroupFindResponse,
|
|
450
344
|
GroupCreateResponse,
|
|
451
345
|
GroupFindOneResponse,
|
|
452
|
-
|
|
346
|
+
GroupPrototypePatchAttributesResponse,
|
|
453
347
|
CategoryFindResponse,
|
|
454
348
|
CategoryCreateResponse,
|
|
455
349
|
CategoryFindOneResponse,
|
|
456
|
-
|
|
350
|
+
CategoryPrototypePatchAttributesResponse,
|
|
457
351
|
ForumFindResponse,
|
|
458
352
|
ForumCreateResponse,
|
|
459
353
|
ForumFindOneResponse,
|
|
460
|
-
|
|
354
|
+
ForumPrototypePatchAttributesResponse,
|
|
461
355
|
PostFindResponse,
|
|
462
356
|
PostCreateResponse,
|
|
463
357
|
PostFindOneResponse,
|
|
464
|
-
|
|
358
|
+
PostPrototypePatchAttributesResponse,
|
|
465
359
|
CommentFindResponse,
|
|
466
360
|
CommentCreateResponse,
|
|
467
361
|
CommentFindOneResponse,
|
|
468
|
-
|
|
362
|
+
CommentPrototypePatchAttributesResponse,
|
|
469
363
|
PriorityLabelFindResponse,
|
|
470
364
|
PriorityLabelFindOneResponse,
|
|
471
|
-
|
|
365
|
+
PriorityLabelPrototypePatchAttributesResponse,
|
|
472
366
|
VoteMappingCreateResponse,
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
367
|
+
VoteMappingPrototypePatchAttributesResponse,
|
|
368
|
+
ConnectorPrototypeFindByIdFunctionsResponse,
|
|
369
|
+
ConnectorPrototypeUpdateByIdFunctionsResponse,
|
|
370
|
+
ConnectorPrototypeGetUserResponse,
|
|
371
|
+
ConnectorPrototypeGetFunctionsResponse,
|
|
372
|
+
ConnectorPrototypeCreateFunctionsResponse,
|
|
479
373
|
ConnectorFindResponse,
|
|
480
374
|
ConnectorPatchOrCreateResponse,
|
|
481
375
|
ConnectorCreateResponse,
|
|
@@ -483,11 +377,11 @@ import type {
|
|
|
483
377
|
ConnectorReplaceOrCreatePostConnectorsReplaceOrCreateResponse,
|
|
484
378
|
ConnectorUpsertWithWhereResponse,
|
|
485
379
|
ConnectorFindByIdResponse,
|
|
486
|
-
|
|
380
|
+
ConnectorPrototypePatchAttributesResponse,
|
|
487
381
|
ConnectorReplaceByIdPutConnectorsIdResponse,
|
|
488
382
|
ConnectorReplaceByIdPostConnectorsIdReplaceResponse,
|
|
489
383
|
ConnectorFindOneResponse,
|
|
490
|
-
|
|
384
|
+
ConnectorFunctionPrototypeGetUserResponse,
|
|
491
385
|
ConnectorFunctionFindResponse,
|
|
492
386
|
ConnectorFunctionPatchOrCreateResponse,
|
|
493
387
|
ConnectorFunctionCreateResponse,
|
|
@@ -495,13 +389,13 @@ import type {
|
|
|
495
389
|
ConnectorFunctionReplaceOrCreatePostConnectorFunctionsReplaceOrCreateResponse,
|
|
496
390
|
ConnectorFunctionUpsertWithWhereResponse,
|
|
497
391
|
ConnectorFunctionFindByIdResponse,
|
|
498
|
-
|
|
392
|
+
ConnectorFunctionPrototypePatchAttributesResponse,
|
|
499
393
|
ConnectorFunctionReplaceByIdPutConnectorFunctionsIdResponse,
|
|
500
394
|
ConnectorFunctionReplaceByIdPostConnectorFunctionsIdReplaceResponse,
|
|
501
395
|
ConnectorFunctionFindOneResponse,
|
|
502
396
|
ScromSessionFindResponse,
|
|
503
397
|
ScromSessionCreateResponse,
|
|
504
|
-
|
|
398
|
+
TranslationPrototypeGetUserResponse,
|
|
505
399
|
TranslationFindResponse,
|
|
506
400
|
TranslationPatchOrCreateResponse,
|
|
507
401
|
TranslationCreateResponse,
|
|
@@ -509,20 +403,20 @@ import type {
|
|
|
509
403
|
TranslationReplaceOrCreatePostTranslationsReplaceOrCreateResponse,
|
|
510
404
|
TranslationUpsertWithWhereResponse,
|
|
511
405
|
TranslationFindByIdResponse,
|
|
512
|
-
|
|
406
|
+
TranslationPrototypePatchAttributesResponse,
|
|
513
407
|
TranslationReplaceByIdPutTranslationsIdResponse,
|
|
514
408
|
TranslationReplaceByIdPostTranslationsIdReplaceResponse,
|
|
515
409
|
TranslationFindOneResponse,
|
|
516
410
|
CustomFieldFindResponse,
|
|
517
411
|
CustomFieldCreateResponse,
|
|
518
412
|
CustomFieldFindOneResponse,
|
|
519
|
-
|
|
413
|
+
CustomFieldPrototypePatchAttributesResponse,
|
|
520
414
|
FormFindResponse,
|
|
521
415
|
FormCreateResponse,
|
|
522
416
|
FormFindOneResponse,
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
417
|
+
FormPrototypePatchAttributesResponse,
|
|
418
|
+
FormDataCommentPrototypeGetUserResponse,
|
|
419
|
+
FormDataCommentPrototypeGetCreatedUserResponse,
|
|
526
420
|
FormDataCommentFindResponse,
|
|
527
421
|
FormDataCommentPatchOrCreateResponse,
|
|
528
422
|
FormDataCommentCreateResponse,
|
|
@@ -530,31 +424,20 @@ import type {
|
|
|
530
424
|
FormDataCommentReplaceOrCreatePostFormDataCommentsReplaceOrCreateResponse,
|
|
531
425
|
FormDataCommentUpsertWithWhereResponse,
|
|
532
426
|
FormDataCommentFindByIdResponse,
|
|
533
|
-
|
|
427
|
+
FormDataCommentPrototypePatchAttributesResponse,
|
|
534
428
|
FormDataCommentReplaceByIdPutFormDataCommentsIdResponse,
|
|
535
429
|
FormDataCommentReplaceByIdPostFormDataCommentsIdReplaceResponse,
|
|
536
430
|
FormDataCommentFindOneResponse,
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
431
|
+
FormDataPrototypeUpdateByIdCommentsResponse,
|
|
432
|
+
FormDataPrototypeGetCommentsResponse,
|
|
433
|
+
FormDataPrototypeCreateCommentsResponse,
|
|
540
434
|
FormDataFindResponse,
|
|
541
435
|
FormDataCreateResponse,
|
|
542
436
|
FormDataFindOneResponse,
|
|
543
|
-
|
|
437
|
+
FormDataPrototypePatchAttributesResponse,
|
|
544
438
|
FolderFindResponse,
|
|
545
439
|
FolderCreateResponse,
|
|
546
|
-
|
|
547
|
-
ResourceMappingFindResponse,
|
|
548
|
-
ResourceMappingPatchOrCreateResponse,
|
|
549
|
-
ResourceMappingCreateResponse,
|
|
550
|
-
ResourceMappingReplaceOrCreatePutResourceMappingsResponse,
|
|
551
|
-
ResourceMappingReplaceOrCreatePostResourceMappingsReplaceOrCreateResponse,
|
|
552
|
-
ResourceMappingUpsertWithWhereResponse,
|
|
553
|
-
ResourceMappingFindByIdResponse,
|
|
554
|
-
ResourceMappingPatchAttributesResponse,
|
|
555
|
-
ResourceMappingReplaceByIdPutResourceMappingsIdResponse,
|
|
556
|
-
ResourceMappingReplaceByIdPostResourceMappingsIdReplaceResponse,
|
|
557
|
-
ResourceMappingFindOneResponse,
|
|
440
|
+
FolderPrototypePatchAttributesResponse,
|
|
558
441
|
WorkflowSessionItemFindByIdResponse,
|
|
559
442
|
WorkflowSessionItemFindResponse,
|
|
560
443
|
WorkflowSessionItemFindOneResponse,
|
|
@@ -562,10 +445,10 @@ import type {
|
|
|
562
445
|
CertificateFindResponse,
|
|
563
446
|
CertificateCreateResponse,
|
|
564
447
|
CertificateFindOneResponse,
|
|
565
|
-
|
|
448
|
+
CertificatePrototypePatchAttributesResponse,
|
|
566
449
|
CertificateMappingFindResponse,
|
|
567
450
|
CertificateMappingCreateResponse,
|
|
568
|
-
|
|
451
|
+
SyncClientsPrototypeGetUserResponse,
|
|
569
452
|
SyncClientsFindResponse,
|
|
570
453
|
SyncClientsPatchOrCreateResponse,
|
|
571
454
|
SyncClientsCreateResponse,
|
|
@@ -573,11 +456,11 @@ import type {
|
|
|
573
456
|
SyncClientsReplaceOrCreatePostSyncClientsReplaceOrCreateResponse,
|
|
574
457
|
SyncClientsUpsertWithWhereResponse,
|
|
575
458
|
SyncClientsFindByIdResponse,
|
|
576
|
-
|
|
459
|
+
SyncClientsPrototypePatchAttributesResponse,
|
|
577
460
|
SyncClientsReplaceByIdPutSyncClientsIdResponse,
|
|
578
461
|
SyncClientsReplaceByIdPostSyncClientsIdReplaceResponse,
|
|
579
462
|
SyncClientsFindOneResponse,
|
|
580
|
-
|
|
463
|
+
SyncHistoryPrototypeGetUserResponse,
|
|
581
464
|
SyncHistoryFindResponse,
|
|
582
465
|
SyncHistoryPatchOrCreateResponse,
|
|
583
466
|
SyncHistoryCreateResponse,
|
|
@@ -585,58 +468,58 @@ import type {
|
|
|
585
468
|
SyncHistoryReplaceOrCreatePostSyncHistoriesReplaceOrCreateResponse,
|
|
586
469
|
SyncHistoryUpsertWithWhereResponse,
|
|
587
470
|
SyncHistoryFindByIdResponse,
|
|
588
|
-
|
|
471
|
+
SyncHistoryPrototypePatchAttributesResponse,
|
|
589
472
|
SyncHistoryReplaceByIdPutSyncHistoriesIdResponse,
|
|
590
473
|
SyncHistoryReplaceByIdPostSyncHistoriesIdReplaceResponse,
|
|
591
474
|
SyncHistoryFindOneResponse,
|
|
592
475
|
BreakTypeFindResponse,
|
|
593
476
|
BreakTypeCreateResponse,
|
|
594
|
-
|
|
477
|
+
BreakTypePrototypePatchAttributesResponse,
|
|
595
478
|
EventFindResponse,
|
|
596
479
|
ConfigurationFindResponse,
|
|
597
480
|
ConfigurationCreateResponse,
|
|
598
481
|
ConfigurationFindOneResponse,
|
|
599
|
-
|
|
482
|
+
ConfigurationPrototypePatchAttributesResponse,
|
|
600
483
|
SyncKeepAliveResponse,
|
|
601
484
|
VariantFindResponse,
|
|
602
485
|
VariantCreateResponse,
|
|
603
|
-
|
|
486
|
+
VariantPrototypePatchAttributesResponse,
|
|
604
487
|
WorkorderTemplateFindResponse,
|
|
605
488
|
WorkorderTemplateCreateResponse,
|
|
606
489
|
WorkorderTemplateFindOneResponse,
|
|
607
|
-
|
|
490
|
+
WorkorderTemplatePrototypePatchAttributesResponse,
|
|
608
491
|
TableFindResponse,
|
|
609
492
|
TableCreateResponse,
|
|
610
493
|
TableFindOneResponse,
|
|
611
|
-
|
|
494
|
+
TablePrototypePatchAttributesResponse,
|
|
612
495
|
TableSetupFindResponse,
|
|
613
496
|
TableSetupCreateResponse,
|
|
614
497
|
TableSetupFindOneResponse,
|
|
615
|
-
|
|
498
|
+
TableSetupPrototypePatchAttributesResponse,
|
|
616
499
|
FileParserFindResponse,
|
|
617
500
|
FileParserCreateResponse,
|
|
618
501
|
FileParserFindOneResponse,
|
|
619
|
-
|
|
502
|
+
FileParserPrototypePatchAttributesResponse,
|
|
620
503
|
FileParserJobFindResponse,
|
|
621
504
|
FileParserJobCreateResponse,
|
|
622
505
|
FileParserJobFindOneResponse,
|
|
623
|
-
|
|
506
|
+
FileParserJobPrototypePatchAttributesResponse,
|
|
624
507
|
FileParserStrategyJobFindResponse,
|
|
625
508
|
FileParserStrategyJobCreateResponse,
|
|
626
509
|
FileParserStrategyJobFindOneResponse,
|
|
627
|
-
|
|
510
|
+
FileParserStrategyJobPrototypePatchAttributesResponse,
|
|
628
511
|
ListFindResponse,
|
|
629
512
|
ListCreateResponse,
|
|
630
513
|
ListFindOneResponse,
|
|
631
|
-
|
|
514
|
+
ListPrototypePatchAttributesResponse,
|
|
632
515
|
ListItemFindResponse,
|
|
633
516
|
ListItemCreateResponse,
|
|
634
517
|
ListItemFindOneResponse,
|
|
635
|
-
|
|
518
|
+
ListItemPrototypePatchAttributesResponse,
|
|
636
519
|
NpsFindResponse,
|
|
637
520
|
NpsCreateResponse,
|
|
638
521
|
NpsFindOneResponse,
|
|
639
|
-
|
|
522
|
+
NpsPrototypePatchAttributesResponse,
|
|
640
523
|
WorkflowTypeFindResponse,
|
|
641
524
|
WorkflowTypeCreateResponse,
|
|
642
525
|
WorkflowTypeFindOneResponse,
|
|
@@ -656,15 +539,15 @@ import type {
|
|
|
656
539
|
PrintPresetReplaceOrCreatePostPrintPresetsReplaceOrCreateResponse,
|
|
657
540
|
PrintPresetUpsertWithWhereResponse,
|
|
658
541
|
PrintPresetFindByIdResponse,
|
|
659
|
-
|
|
542
|
+
PrintPresetPrototypePatchAttributesResponse,
|
|
660
543
|
PrintPresetReplaceByIdPutPrintPresetsIdResponse,
|
|
661
544
|
PrintPresetReplaceByIdPostPrintPresetsIdReplaceResponse,
|
|
662
545
|
PrintPresetFindOneResponse,
|
|
663
546
|
WebhookFindResponse,
|
|
664
547
|
WebhookCreateResponse,
|
|
665
548
|
WebhookFindOneResponse,
|
|
666
|
-
|
|
667
|
-
|
|
549
|
+
WebhookPrototypePatchAttributesResponse,
|
|
550
|
+
InventoryTransactionPrototypeGetUserResponse,
|
|
668
551
|
InventoryTransactionFindResponse,
|
|
669
552
|
InventoryTransactionPatchOrCreateResponse,
|
|
670
553
|
InventoryTransactionCreateResponse,
|
|
@@ -672,12 +555,12 @@ import type {
|
|
|
672
555
|
InventoryTransactionReplaceOrCreatePostInventoryTransactionsReplaceOrCreateResponse,
|
|
673
556
|
InventoryTransactionUpsertWithWhereResponse,
|
|
674
557
|
InventoryTransactionFindByIdResponse,
|
|
675
|
-
|
|
558
|
+
InventoryTransactionPrototypePatchAttributesResponse,
|
|
676
559
|
InventoryTransactionReplaceByIdPutInventoryTransactionsIdResponse,
|
|
677
560
|
InventoryTransactionReplaceByIdPostInventoryTransactionsIdReplaceResponse,
|
|
678
561
|
InventoryTransactionFindOneResponse,
|
|
679
|
-
|
|
680
|
-
|
|
562
|
+
ProductionEntityPrototypeGetEntityTypeResponse,
|
|
563
|
+
ProductionEntityPrototypeGetUserResponse,
|
|
681
564
|
ProductionEntityFindResponse,
|
|
682
565
|
ProductionEntityPatchOrCreateResponse,
|
|
683
566
|
ProductionEntityCreateResponse,
|
|
@@ -685,11 +568,11 @@ import type {
|
|
|
685
568
|
ProductionEntityReplaceOrCreatePostProductionEntitiesReplaceOrCreateResponse,
|
|
686
569
|
ProductionEntityUpsertWithWhereResponse,
|
|
687
570
|
ProductionEntityFindByIdResponse,
|
|
688
|
-
|
|
571
|
+
ProductionEntityPrototypePatchAttributesResponse,
|
|
689
572
|
ProductionEntityReplaceByIdPutProductionEntitiesIdResponse,
|
|
690
573
|
ProductionEntityReplaceByIdPostProductionEntitiesIdReplaceResponse,
|
|
691
574
|
ProductionEntityFindOneResponse,
|
|
692
|
-
|
|
575
|
+
ProductionEntityTypePrototypeGetUserResponse,
|
|
693
576
|
ProductionEntityTypeFindResponse,
|
|
694
577
|
ProductionEntityTypePatchOrCreateResponse,
|
|
695
578
|
ProductionEntityTypeCreateResponse,
|
|
@@ -697,12 +580,12 @@ import type {
|
|
|
697
580
|
ProductionEntityTypeReplaceOrCreatePostProductionEntityTypesReplaceOrCreateResponse,
|
|
698
581
|
ProductionEntityTypeUpsertWithWhereResponse,
|
|
699
582
|
ProductionEntityTypeFindByIdResponse,
|
|
700
|
-
|
|
583
|
+
ProductionEntityTypePrototypePatchAttributesResponse,
|
|
701
584
|
ProductionEntityTypeReplaceByIdPutProductionEntityTypesIdResponse,
|
|
702
585
|
ProductionEntityTypeReplaceByIdPostProductionEntityTypesIdReplaceResponse,
|
|
703
586
|
ProductionEntityTypeFindOneResponse,
|
|
704
|
-
|
|
705
|
-
|
|
587
|
+
ProductionEntityEventPrototypeGetProductionEntityResponse,
|
|
588
|
+
ProductionEntityEventPrototypeGetUserResponse,
|
|
706
589
|
ProductionEntityEventFindResponse,
|
|
707
590
|
ProductionEntityEventPatchOrCreateResponse,
|
|
708
591
|
ProductionEntityEventCreateResponse,
|
|
@@ -710,11 +593,11 @@ import type {
|
|
|
710
593
|
ProductionEntityEventReplaceOrCreatePostProductionEntityEventsReplaceOrCreateResponse,
|
|
711
594
|
ProductionEntityEventUpsertWithWhereResponse,
|
|
712
595
|
ProductionEntityEventFindByIdResponse,
|
|
713
|
-
|
|
596
|
+
ProductionEntityEventPrototypePatchAttributesResponse,
|
|
714
597
|
ProductionEntityEventReplaceByIdPutProductionEntityEventsIdResponse,
|
|
715
598
|
ProductionEntityEventReplaceByIdPostProductionEntityEventsIdReplaceResponse,
|
|
716
599
|
ProductionEntityEventFindOneResponse,
|
|
717
|
-
|
|
600
|
+
OpcUaServerPrototypeGetUserResponse,
|
|
718
601
|
OpcUaServerFindResponse,
|
|
719
602
|
OpcUaServerPatchOrCreateResponse,
|
|
720
603
|
OpcUaServerCreateResponse,
|
|
@@ -722,21 +605,10 @@ import type {
|
|
|
722
605
|
OpcUaServerReplaceOrCreatePostOpcUaServersReplaceOrCreateResponse,
|
|
723
606
|
OpcUaServerUpsertWithWhereResponse,
|
|
724
607
|
OpcUaServerFindByIdResponse,
|
|
725
|
-
|
|
608
|
+
OpcUaServerPrototypePatchAttributesResponse,
|
|
726
609
|
OpcUaServerReplaceByIdPutOpcUaServersIdResponse,
|
|
727
610
|
OpcUaServerReplaceByIdPostOpcUaServersIdReplaceResponse,
|
|
728
611
|
OpcUaServerFindOneResponse,
|
|
729
|
-
ProductionEntityMappingFindResponse,
|
|
730
|
-
ProductionEntityMappingPatchOrCreateResponse,
|
|
731
|
-
ProductionEntityMappingCreateResponse,
|
|
732
|
-
ProductionEntityMappingReplaceOrCreatePutProductionEntityMappingsResponse,
|
|
733
|
-
ProductionEntityMappingReplaceOrCreatePostProductionEntityMappingsReplaceOrCreateResponse,
|
|
734
|
-
ProductionEntityMappingUpsertWithWhereResponse,
|
|
735
|
-
ProductionEntityMappingFindByIdResponse,
|
|
736
|
-
ProductionEntityMappingPatchAttributesResponse,
|
|
737
|
-
ProductionEntityMappingReplaceByIdPutProductionEntityMappingsIdResponse,
|
|
738
|
-
ProductionEntityMappingReplaceByIdPostProductionEntityMappingsIdReplaceResponse,
|
|
739
|
-
ProductionEntityMappingFindOneResponse,
|
|
740
612
|
ProductionEntityTransactionFindResponse,
|
|
741
613
|
ProductionEntityTransactionPatchOrCreateResponse,
|
|
742
614
|
ProductionEntityTransactionCreateResponse,
|
|
@@ -744,7 +616,7 @@ import type {
|
|
|
744
616
|
ProductionEntityTransactionReplaceOrCreatePostProductionEntityTransactionsReplaceOrCreateResponse,
|
|
745
617
|
ProductionEntityTransactionUpsertWithWhereResponse,
|
|
746
618
|
ProductionEntityTransactionFindByIdResponse,
|
|
747
|
-
|
|
619
|
+
ProductionEntityTransactionPrototypePatchAttributesResponse,
|
|
748
620
|
ProductionEntityTransactionReplaceByIdPutProductionEntityTransactionsIdResponse,
|
|
749
621
|
ProductionEntityTransactionReplaceByIdPostProductionEntityTransactionsIdReplaceResponse,
|
|
750
622
|
ProductionEntityTransactionFindOneResponse,
|
|
@@ -755,12 +627,12 @@ import type {
|
|
|
755
627
|
ShiftTypeReplaceOrCreatePostShiftTypesReplaceOrCreateResponse,
|
|
756
628
|
ShiftTypeUpsertWithWhereResponse,
|
|
757
629
|
ShiftTypeFindByIdResponse,
|
|
758
|
-
|
|
630
|
+
ShiftTypePrototypePatchAttributesResponse,
|
|
759
631
|
ShiftTypeReplaceByIdPutShiftTypesIdResponse,
|
|
760
632
|
ShiftTypeReplaceByIdPostShiftTypesIdReplaceResponse,
|
|
761
633
|
ShiftTypeFindOneResponse,
|
|
762
|
-
|
|
763
|
-
|
|
634
|
+
ShiftPrototypeGetProductionEntityResponse,
|
|
635
|
+
ShiftPrototypeGetShiftTypeResponse,
|
|
764
636
|
ShiftFindResponse,
|
|
765
637
|
ShiftPatchOrCreateResponse,
|
|
766
638
|
ShiftCreateResponse,
|
|
@@ -768,7 +640,7 @@ import type {
|
|
|
768
640
|
ShiftReplaceOrCreatePostShiftsReplaceOrCreateResponse,
|
|
769
641
|
ShiftUpsertWithWhereResponse,
|
|
770
642
|
ShiftFindByIdResponse,
|
|
771
|
-
|
|
643
|
+
ShiftPrototypePatchAttributesResponse,
|
|
772
644
|
ShiftReplaceByIdPutShiftsIdResponse,
|
|
773
645
|
ShiftReplaceByIdPostShiftsIdReplaceResponse,
|
|
774
646
|
ShiftFindOneResponse,
|
|
@@ -781,7 +653,7 @@ import type {
|
|
|
781
653
|
ApiMethodReplaceOrCreatePostApiMethodsReplaceOrCreateResponse,
|
|
782
654
|
ApiMethodUpsertWithWhereResponse,
|
|
783
655
|
ApiMethodFindByIdResponse,
|
|
784
|
-
|
|
656
|
+
ApiMethodPrototypePatchAttributesResponse,
|
|
785
657
|
ApiMethodReplaceByIdPutApiMethodsIdResponse,
|
|
786
658
|
ApiMethodReplaceByIdPostApiMethodsIdReplaceResponse,
|
|
787
659
|
ApiMethodFindOneResponse,
|
|
@@ -792,12 +664,12 @@ import type {
|
|
|
792
664
|
ApiMethodLogReplaceOrCreatePostApiMethodLogsReplaceOrCreateResponse,
|
|
793
665
|
ApiMethodLogUpsertWithWhereResponse,
|
|
794
666
|
ApiMethodLogFindByIdResponse,
|
|
795
|
-
|
|
667
|
+
ApiMethodLogPrototypePatchAttributesResponse,
|
|
796
668
|
ApiMethodLogReplaceByIdPutApiMethodLogsIdResponse,
|
|
797
669
|
ApiMethodLogReplaceByIdPostApiMethodLogsIdReplaceResponse,
|
|
798
670
|
ApiMethodLogFindOneResponse,
|
|
799
|
-
|
|
800
|
-
|
|
671
|
+
AddonPrototypeGetUserResponse,
|
|
672
|
+
AddonPrototypeGetCreatedUserResponse,
|
|
801
673
|
AddonFindResponse,
|
|
802
674
|
AddonPatchOrCreateResponse,
|
|
803
675
|
AddonCreateResponse,
|
|
@@ -805,7 +677,7 @@ import type {
|
|
|
805
677
|
AddonReplaceOrCreatePostAddonsReplaceOrCreateResponse,
|
|
806
678
|
AddonUpsertWithWhereResponse,
|
|
807
679
|
AddonFindByIdResponse,
|
|
808
|
-
|
|
680
|
+
AddonPrototypePatchAttributesResponse,
|
|
809
681
|
AddonReplaceByIdPutAddonsIdResponse,
|
|
810
682
|
AddonReplaceByIdPostAddonsIdReplaceResponse,
|
|
811
683
|
AddonFindOneResponse,
|
|
@@ -850,9 +722,9 @@ export const stationFindOneResponseTransformer = async (
|
|
|
850
722
|
return data;
|
|
851
723
|
};
|
|
852
724
|
|
|
853
|
-
export const
|
|
725
|
+
export const stationPrototypePatchAttributesResponseTransformer = async (
|
|
854
726
|
data: any,
|
|
855
|
-
): Promise<
|
|
727
|
+
): Promise<StationPrototypePatchAttributesResponse> => {
|
|
856
728
|
data = stationSchemaResponseTransformer(data);
|
|
857
729
|
return data;
|
|
858
730
|
};
|
|
@@ -896,16 +768,16 @@ export const deviceFamilyFindOneResponseTransformer = async (
|
|
|
896
768
|
return data;
|
|
897
769
|
};
|
|
898
770
|
|
|
899
|
-
export const
|
|
771
|
+
export const deviceFamilyPrototypePatchAttributesResponseTransformer = async (
|
|
900
772
|
data: any,
|
|
901
|
-
): Promise<
|
|
773
|
+
): Promise<DeviceFamilyPrototypePatchAttributesResponse> => {
|
|
902
774
|
data = deviceFamilySchemaResponseTransformer(data);
|
|
903
775
|
return data;
|
|
904
776
|
};
|
|
905
777
|
|
|
906
|
-
export const
|
|
778
|
+
export const devicePrototypeGetDeviceFamilyResponseTransformer = async (
|
|
907
779
|
data: any,
|
|
908
|
-
): Promise<
|
|
780
|
+
): Promise<DevicePrototypeGetDeviceFamilyResponse> => {
|
|
909
781
|
data = deviceFamilySchemaResponseTransformer(data);
|
|
910
782
|
return data;
|
|
911
783
|
};
|
|
@@ -966,9 +838,9 @@ export const gatewayFindOneResponseTransformer = async (
|
|
|
966
838
|
return data;
|
|
967
839
|
};
|
|
968
840
|
|
|
969
|
-
export const
|
|
841
|
+
export const gatewayPrototypePatchAttributesResponseTransformer = async (
|
|
970
842
|
data: any,
|
|
971
|
-
): Promise<
|
|
843
|
+
): Promise<GatewayPrototypePatchAttributesResponse> => {
|
|
972
844
|
data = gatewaySchemaResponseTransformer(data);
|
|
973
845
|
return data;
|
|
974
846
|
};
|
|
@@ -1008,9 +880,9 @@ export const documentFindOneResponseTransformer = async (
|
|
|
1008
880
|
return data;
|
|
1009
881
|
};
|
|
1010
882
|
|
|
1011
|
-
export const
|
|
883
|
+
export const documentPrototypePatchAttributesResponseTransformer = async (
|
|
1012
884
|
data: any,
|
|
1013
|
-
): Promise<
|
|
885
|
+
): Promise<DocumentPrototypePatchAttributesResponse> => {
|
|
1014
886
|
data = documentSchemaResponseTransformer(data);
|
|
1015
887
|
return data;
|
|
1016
888
|
};
|
|
@@ -1054,9 +926,9 @@ export const contentPackageFindOneResponseTransformer = async (
|
|
|
1054
926
|
return data;
|
|
1055
927
|
};
|
|
1056
928
|
|
|
1057
|
-
export const
|
|
929
|
+
export const contentPackagePrototypePatchAttributesResponseTransformer = async (
|
|
1058
930
|
data: any,
|
|
1059
|
-
): Promise<
|
|
931
|
+
): Promise<ContentPackagePrototypePatchAttributesResponse> => {
|
|
1060
932
|
data = contentPackageSchemaResponseTransformer(data);
|
|
1061
933
|
return data;
|
|
1062
934
|
};
|
|
@@ -1086,12 +958,13 @@ export const contentPackageSessionFindResponseTransformer = async (
|
|
|
1086
958
|
return data;
|
|
1087
959
|
};
|
|
1088
960
|
|
|
1089
|
-
export const
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
|
|
961
|
+
export const contentPackageViewPrototypeGetContentPackageResponseTransformer =
|
|
962
|
+
async (
|
|
963
|
+
data: any,
|
|
964
|
+
): Promise<ContentPackageViewPrototypeGetContentPackageResponse> => {
|
|
965
|
+
data = contentPackageSchemaResponseTransformer(data);
|
|
966
|
+
return data;
|
|
967
|
+
};
|
|
1095
968
|
|
|
1096
969
|
const contentPackageViewSchemaResponseTransformer = (data: any) => {
|
|
1097
970
|
if (data.created) {
|
|
@@ -1162,12 +1035,13 @@ export const contentPackageViewFindByIdResponseTransformer = async (
|
|
|
1162
1035
|
return data;
|
|
1163
1036
|
};
|
|
1164
1037
|
|
|
1165
|
-
export const
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
|
|
1038
|
+
export const contentPackageViewPrototypePatchAttributesResponseTransformer =
|
|
1039
|
+
async (
|
|
1040
|
+
data: any,
|
|
1041
|
+
): Promise<ContentPackageViewPrototypePatchAttributesResponse> => {
|
|
1042
|
+
data = contentPackageViewSchemaResponseTransformer(data);
|
|
1043
|
+
return data;
|
|
1044
|
+
};
|
|
1171
1045
|
|
|
1172
1046
|
export const contentPackageViewReplaceByIdPutContentPackageViewsIdResponseTransformer =
|
|
1173
1047
|
async (
|
|
@@ -1231,9 +1105,9 @@ export const timelineFindOneResponseTransformer = async (
|
|
|
1231
1105
|
return data;
|
|
1232
1106
|
};
|
|
1233
1107
|
|
|
1234
|
-
export const
|
|
1108
|
+
export const timelinePrototypePatchAttributesResponseTransformer = async (
|
|
1235
1109
|
data: any,
|
|
1236
|
-
): Promise<
|
|
1110
|
+
): Promise<TimelinePrototypePatchAttributesResponse> => {
|
|
1237
1111
|
data = timelineSchemaResponseTransformer(data);
|
|
1238
1112
|
return data;
|
|
1239
1113
|
};
|
|
@@ -1254,9 +1128,9 @@ const partAssemblySchemaResponseTransformer = (data: any) => {
|
|
|
1254
1128
|
return data;
|
|
1255
1129
|
};
|
|
1256
1130
|
|
|
1257
|
-
export const
|
|
1131
|
+
export const catalogPrototypeGetAssemblyResponseTransformer = async (
|
|
1258
1132
|
data: any,
|
|
1259
|
-
): Promise<
|
|
1133
|
+
): Promise<CatalogPrototypeGetAssemblyResponse> => {
|
|
1260
1134
|
data = partAssemblySchemaResponseTransformer(data);
|
|
1261
1135
|
return data;
|
|
1262
1136
|
};
|
|
@@ -1274,39 +1148,39 @@ const groupSchemaResponseTransformer = (data: any) => {
|
|
|
1274
1148
|
return data;
|
|
1275
1149
|
};
|
|
1276
1150
|
|
|
1277
|
-
export const
|
|
1151
|
+
export const catalogPrototypeFindByIdGroupModelResponseTransformer = async (
|
|
1278
1152
|
data: any,
|
|
1279
|
-
): Promise<
|
|
1153
|
+
): Promise<CatalogPrototypeFindByIdGroupModelResponse> => {
|
|
1280
1154
|
data = groupSchemaResponseTransformer(data);
|
|
1281
1155
|
return data;
|
|
1282
1156
|
};
|
|
1283
1157
|
|
|
1284
|
-
export const
|
|
1158
|
+
export const catalogPrototypeUpdateByIdGroupModelResponseTransformer = async (
|
|
1285
1159
|
data: any,
|
|
1286
|
-
): Promise<
|
|
1160
|
+
): Promise<CatalogPrototypeUpdateByIdGroupModelResponse> => {
|
|
1287
1161
|
data = groupSchemaResponseTransformer(data);
|
|
1288
1162
|
return data;
|
|
1289
1163
|
};
|
|
1290
1164
|
|
|
1291
|
-
export const
|
|
1165
|
+
export const catalogPrototypeLinkGroupModelResponseTransformer = async (
|
|
1292
1166
|
data: any,
|
|
1293
|
-
): Promise<
|
|
1167
|
+
): Promise<CatalogPrototypeLinkGroupModelResponse> => {
|
|
1294
1168
|
data = groupSchemaResponseTransformer(data);
|
|
1295
1169
|
return data;
|
|
1296
1170
|
};
|
|
1297
1171
|
|
|
1298
|
-
export const
|
|
1172
|
+
export const catalogPrototypeGetGroupModelResponseTransformer = async (
|
|
1299
1173
|
data: any,
|
|
1300
|
-
): Promise<
|
|
1174
|
+
): Promise<CatalogPrototypeGetGroupModelResponse> => {
|
|
1301
1175
|
data = data.map((item: any) => {
|
|
1302
1176
|
return groupSchemaResponseTransformer(item);
|
|
1303
1177
|
});
|
|
1304
1178
|
return data;
|
|
1305
1179
|
};
|
|
1306
1180
|
|
|
1307
|
-
export const
|
|
1181
|
+
export const catalogPrototypeCreateGroupModelResponseTransformer = async (
|
|
1308
1182
|
data: any,
|
|
1309
|
-
): Promise<
|
|
1183
|
+
): Promise<CatalogPrototypeCreateGroupModelResponse> => {
|
|
1310
1184
|
data = groupSchemaResponseTransformer(data);
|
|
1311
1185
|
return data;
|
|
1312
1186
|
};
|
|
@@ -1379,9 +1253,9 @@ export const catalogFindByIdResponseTransformer = async (
|
|
|
1379
1253
|
return data;
|
|
1380
1254
|
};
|
|
1381
1255
|
|
|
1382
|
-
export const
|
|
1256
|
+
export const catalogPrototypePatchAttributesResponseTransformer = async (
|
|
1383
1257
|
data: any,
|
|
1384
|
-
): Promise<
|
|
1258
|
+
): Promise<CatalogPrototypePatchAttributesResponse> => {
|
|
1385
1259
|
data = catalogSchemaResponseTransformer(data);
|
|
1386
1260
|
return data;
|
|
1387
1261
|
};
|
|
@@ -1424,9 +1298,9 @@ const unitSchemaResponseTransformer = (data: any) => {
|
|
|
1424
1298
|
return data;
|
|
1425
1299
|
};
|
|
1426
1300
|
|
|
1427
|
-
export const
|
|
1301
|
+
export const partAssemblyPrototypeGetUnitResponseTransformer = async (
|
|
1428
1302
|
data: any,
|
|
1429
|
-
): Promise<
|
|
1303
|
+
): Promise<PartAssemblyPrototypeGetUnitResponse> => {
|
|
1430
1304
|
data = unitSchemaResponseTransformer(data);
|
|
1431
1305
|
return data;
|
|
1432
1306
|
};
|
|
@@ -1444,16 +1318,16 @@ const resourceSchemaResponseTransformer = (data: any) => {
|
|
|
1444
1318
|
return data;
|
|
1445
1319
|
};
|
|
1446
1320
|
|
|
1447
|
-
export const
|
|
1321
|
+
export const partAssemblyPrototypeGetImageObjectResponseTransformer = async (
|
|
1448
1322
|
data: any,
|
|
1449
|
-
): Promise<
|
|
1323
|
+
): Promise<PartAssemblyPrototypeGetImageObjectResponse> => {
|
|
1450
1324
|
data = resourceSchemaResponseTransformer(data);
|
|
1451
1325
|
return data;
|
|
1452
1326
|
};
|
|
1453
1327
|
|
|
1454
|
-
export const
|
|
1328
|
+
export const partAssemblyPrototypeGetPictureObjectResponseTransformer = async (
|
|
1455
1329
|
data: any,
|
|
1456
|
-
): Promise<
|
|
1330
|
+
): Promise<PartAssemblyPrototypeGetPictureObjectResponse> => {
|
|
1457
1331
|
data = resourceSchemaResponseTransformer(data);
|
|
1458
1332
|
return data;
|
|
1459
1333
|
};
|
|
@@ -1527,16 +1401,17 @@ export const partAssemblyFindOneResponseTransformer = async (
|
|
|
1527
1401
|
return data;
|
|
1528
1402
|
};
|
|
1529
1403
|
|
|
1530
|
-
export const
|
|
1531
|
-
|
|
1532
|
-
|
|
1533
|
-
|
|
1534
|
-
|
|
1535
|
-
|
|
1404
|
+
export const partAssemblyDocumentPrototypeGetResourceResponseTransformer =
|
|
1405
|
+
async (
|
|
1406
|
+
data: any,
|
|
1407
|
+
): Promise<PartAssemblyDocumentPrototypeGetResourceResponse> => {
|
|
1408
|
+
data = resourceSchemaResponseTransformer(data);
|
|
1409
|
+
return data;
|
|
1410
|
+
};
|
|
1536
1411
|
|
|
1537
|
-
export const
|
|
1412
|
+
export const wirePrototypeGetResourceObjectResponseTransformer = async (
|
|
1538
1413
|
data: any,
|
|
1539
|
-
): Promise<
|
|
1414
|
+
): Promise<WirePrototypeGetResourceObjectResponse> => {
|
|
1540
1415
|
data = resourceSchemaResponseTransformer(data);
|
|
1541
1416
|
return data;
|
|
1542
1417
|
};
|
|
@@ -1609,9 +1484,9 @@ export const wireFindByIdResponseTransformer = async (
|
|
|
1609
1484
|
return data;
|
|
1610
1485
|
};
|
|
1611
1486
|
|
|
1612
|
-
export const
|
|
1487
|
+
export const wirePrototypePatchAttributesResponseTransformer = async (
|
|
1613
1488
|
data: any,
|
|
1614
|
-
): Promise<
|
|
1489
|
+
): Promise<WirePrototypePatchAttributesResponse> => {
|
|
1615
1490
|
data = wireSchemaResponseTransformer(data);
|
|
1616
1491
|
return data;
|
|
1617
1492
|
};
|
|
@@ -1637,83 +1512,84 @@ export const wireFindOneResponseTransformer = async (
|
|
|
1637
1512
|
return data;
|
|
1638
1513
|
};
|
|
1639
1514
|
|
|
1640
|
-
export const
|
|
1515
|
+
export const wiringlistPrototypeFindByIdWiresResponseTransformer = async (
|
|
1641
1516
|
data: any,
|
|
1642
|
-
): Promise<
|
|
1517
|
+
): Promise<WiringlistPrototypeFindByIdWiresResponse> => {
|
|
1643
1518
|
data = wireSchemaResponseTransformer(data);
|
|
1644
1519
|
return data;
|
|
1645
1520
|
};
|
|
1646
1521
|
|
|
1647
|
-
export const
|
|
1522
|
+
export const wiringlistPrototypeUpdateByIdWiresResponseTransformer = async (
|
|
1648
1523
|
data: any,
|
|
1649
|
-
): Promise<
|
|
1524
|
+
): Promise<WiringlistPrototypeUpdateByIdWiresResponse> => {
|
|
1650
1525
|
data = wireSchemaResponseTransformer(data);
|
|
1651
1526
|
return data;
|
|
1652
1527
|
};
|
|
1653
1528
|
|
|
1654
|
-
export const
|
|
1529
|
+
export const wiringlistPrototypeLinkWiresResponseTransformer = async (
|
|
1655
1530
|
data: any,
|
|
1656
|
-
): Promise<
|
|
1531
|
+
): Promise<WiringlistPrototypeLinkWiresResponse> => {
|
|
1657
1532
|
data = wireSchemaResponseTransformer(data);
|
|
1658
1533
|
return data;
|
|
1659
1534
|
};
|
|
1660
1535
|
|
|
1661
|
-
export const
|
|
1536
|
+
export const wiringlistPrototypeGetResourceObjectResponseTransformer = async (
|
|
1662
1537
|
data: any,
|
|
1663
|
-
): Promise<
|
|
1538
|
+
): Promise<WiringlistPrototypeGetResourceObjectResponse> => {
|
|
1664
1539
|
data = resourceSchemaResponseTransformer(data);
|
|
1665
1540
|
return data;
|
|
1666
1541
|
};
|
|
1667
1542
|
|
|
1668
|
-
export const
|
|
1543
|
+
export const wiringlistPrototypeFindByIdGroupModelResponseTransformer = async (
|
|
1669
1544
|
data: any,
|
|
1670
|
-
): Promise<
|
|
1545
|
+
): Promise<WiringlistPrototypeFindByIdGroupModelResponse> => {
|
|
1671
1546
|
data = groupSchemaResponseTransformer(data);
|
|
1672
1547
|
return data;
|
|
1673
1548
|
};
|
|
1674
1549
|
|
|
1675
|
-
export const
|
|
1676
|
-
|
|
1677
|
-
|
|
1678
|
-
|
|
1679
|
-
|
|
1680
|
-
|
|
1550
|
+
export const wiringlistPrototypeUpdateByIdGroupModelResponseTransformer =
|
|
1551
|
+
async (
|
|
1552
|
+
data: any,
|
|
1553
|
+
): Promise<WiringlistPrototypeUpdateByIdGroupModelResponse> => {
|
|
1554
|
+
data = groupSchemaResponseTransformer(data);
|
|
1555
|
+
return data;
|
|
1556
|
+
};
|
|
1681
1557
|
|
|
1682
|
-
export const
|
|
1558
|
+
export const wiringlistPrototypeLinkGroupModelResponseTransformer = async (
|
|
1683
1559
|
data: any,
|
|
1684
|
-
): Promise<
|
|
1560
|
+
): Promise<WiringlistPrototypeLinkGroupModelResponse> => {
|
|
1685
1561
|
data = groupSchemaResponseTransformer(data);
|
|
1686
1562
|
return data;
|
|
1687
1563
|
};
|
|
1688
1564
|
|
|
1689
|
-
export const
|
|
1565
|
+
export const wiringlistPrototypeGetWiresResponseTransformer = async (
|
|
1690
1566
|
data: any,
|
|
1691
|
-
): Promise<
|
|
1567
|
+
): Promise<WiringlistPrototypeGetWiresResponse> => {
|
|
1692
1568
|
data = data.map((item: any) => {
|
|
1693
1569
|
return wireSchemaResponseTransformer(item);
|
|
1694
1570
|
});
|
|
1695
1571
|
return data;
|
|
1696
1572
|
};
|
|
1697
1573
|
|
|
1698
|
-
export const
|
|
1574
|
+
export const wiringlistPrototypeCreateWiresResponseTransformer = async (
|
|
1699
1575
|
data: any,
|
|
1700
|
-
): Promise<
|
|
1576
|
+
): Promise<WiringlistPrototypeCreateWiresResponse> => {
|
|
1701
1577
|
data = wireSchemaResponseTransformer(data);
|
|
1702
1578
|
return data;
|
|
1703
1579
|
};
|
|
1704
1580
|
|
|
1705
|
-
export const
|
|
1581
|
+
export const wiringlistPrototypeGetGroupModelResponseTransformer = async (
|
|
1706
1582
|
data: any,
|
|
1707
|
-
): Promise<
|
|
1583
|
+
): Promise<WiringlistPrototypeGetGroupModelResponse> => {
|
|
1708
1584
|
data = data.map((item: any) => {
|
|
1709
1585
|
return groupSchemaResponseTransformer(item);
|
|
1710
1586
|
});
|
|
1711
1587
|
return data;
|
|
1712
1588
|
};
|
|
1713
1589
|
|
|
1714
|
-
export const
|
|
1590
|
+
export const wiringlistPrototypeCreateGroupModelResponseTransformer = async (
|
|
1715
1591
|
data: any,
|
|
1716
|
-
): Promise<
|
|
1592
|
+
): Promise<WiringlistPrototypeCreateGroupModelResponse> => {
|
|
1717
1593
|
data = groupSchemaResponseTransformer(data);
|
|
1718
1594
|
return data;
|
|
1719
1595
|
};
|
|
@@ -1786,9 +1662,9 @@ export const wiringlistFindByIdResponseTransformer = async (
|
|
|
1786
1662
|
return data;
|
|
1787
1663
|
};
|
|
1788
1664
|
|
|
1789
|
-
export const
|
|
1665
|
+
export const wiringlistPrototypePatchAttributesResponseTransformer = async (
|
|
1790
1666
|
data: any,
|
|
1791
|
-
): Promise<
|
|
1667
|
+
): Promise<WiringlistPrototypePatchAttributesResponse> => {
|
|
1792
1668
|
data = wiringlistSchemaResponseTransformer(data);
|
|
1793
1669
|
return data;
|
|
1794
1670
|
};
|
|
@@ -1849,9 +1725,9 @@ const userModelSchemaResponseTransformer = (data: any) => {
|
|
|
1849
1725
|
return data;
|
|
1850
1726
|
};
|
|
1851
1727
|
|
|
1852
|
-
export const
|
|
1728
|
+
export const unitPrototypeGetUserResponseTransformer = async (
|
|
1853
1729
|
data: any,
|
|
1854
|
-
): Promise<
|
|
1730
|
+
): Promise<UnitPrototypeGetUserResponse> => {
|
|
1855
1731
|
data = userModelSchemaResponseTransformer(data);
|
|
1856
1732
|
return data;
|
|
1857
1733
|
};
|
|
@@ -1908,9 +1784,9 @@ export const unitFindByIdResponseTransformer = async (
|
|
|
1908
1784
|
return data;
|
|
1909
1785
|
};
|
|
1910
1786
|
|
|
1911
|
-
export const
|
|
1787
|
+
export const unitPrototypePatchAttributesResponseTransformer = async (
|
|
1912
1788
|
data: any,
|
|
1913
|
-
): Promise<
|
|
1789
|
+
): Promise<UnitPrototypePatchAttributesResponse> => {
|
|
1914
1790
|
data = unitSchemaResponseTransformer(data);
|
|
1915
1791
|
return data;
|
|
1916
1792
|
};
|
|
@@ -2001,9 +1877,9 @@ export const aclFindByIdResponseTransformer = async (
|
|
|
2001
1877
|
return data;
|
|
2002
1878
|
};
|
|
2003
1879
|
|
|
2004
|
-
export const
|
|
1880
|
+
export const aclPrototypePatchAttributesResponseTransformer = async (
|
|
2005
1881
|
data: any,
|
|
2006
|
-
): Promise<
|
|
1882
|
+
): Promise<AclPrototypePatchAttributesResponse> => {
|
|
2007
1883
|
data = aclSchemaResponseTransformer(data);
|
|
2008
1884
|
return data;
|
|
2009
1885
|
};
|
|
@@ -2029,129 +1905,6 @@ export const aclFindOneResponseTransformer = async (
|
|
|
2029
1905
|
return data;
|
|
2030
1906
|
};
|
|
2031
1907
|
|
|
2032
|
-
const roleSchemaResponseTransformer = (data: any) => {
|
|
2033
|
-
if (data.created) {
|
|
2034
|
-
data.created = new Date(data.created);
|
|
2035
|
-
}
|
|
2036
|
-
if (data.modified) {
|
|
2037
|
-
data.modified = new Date(data.modified);
|
|
2038
|
-
}
|
|
2039
|
-
if (data.serverModified) {
|
|
2040
|
-
data.serverModified = new Date(data.serverModified);
|
|
2041
|
-
}
|
|
2042
|
-
return data;
|
|
2043
|
-
};
|
|
2044
|
-
|
|
2045
|
-
export const roleMappingGetRoleResponseTransformer = async (
|
|
2046
|
-
data: any,
|
|
2047
|
-
): Promise<RoleMappingGetRoleResponse> => {
|
|
2048
|
-
data = roleSchemaResponseTransformer(data);
|
|
2049
|
-
return data;
|
|
2050
|
-
};
|
|
2051
|
-
|
|
2052
|
-
export const roleMappingGetUserModelResponseTransformer = async (
|
|
2053
|
-
data: any,
|
|
2054
|
-
): Promise<RoleMappingGetUserModelResponse> => {
|
|
2055
|
-
data = userModelSchemaResponseTransformer(data);
|
|
2056
|
-
return data;
|
|
2057
|
-
};
|
|
2058
|
-
|
|
2059
|
-
const roleMappingSchemaResponseTransformer = (data: any) => {
|
|
2060
|
-
if (data.created) {
|
|
2061
|
-
data.created = new Date(data.created);
|
|
2062
|
-
}
|
|
2063
|
-
if (data.modified) {
|
|
2064
|
-
data.modified = new Date(data.modified);
|
|
2065
|
-
}
|
|
2066
|
-
if (data.serverModified) {
|
|
2067
|
-
data.serverModified = new Date(data.serverModified);
|
|
2068
|
-
}
|
|
2069
|
-
return data;
|
|
2070
|
-
};
|
|
2071
|
-
|
|
2072
|
-
export const roleMappingFindResponseTransformer = async (
|
|
2073
|
-
data: any,
|
|
2074
|
-
): Promise<RoleMappingFindResponse> => {
|
|
2075
|
-
data = data.map((item: any) => {
|
|
2076
|
-
return roleMappingSchemaResponseTransformer(item);
|
|
2077
|
-
});
|
|
2078
|
-
return data;
|
|
2079
|
-
};
|
|
2080
|
-
|
|
2081
|
-
export const roleMappingPatchOrCreateResponseTransformer = async (
|
|
2082
|
-
data: any,
|
|
2083
|
-
): Promise<RoleMappingPatchOrCreateResponse> => {
|
|
2084
|
-
data = roleMappingSchemaResponseTransformer(data);
|
|
2085
|
-
return data;
|
|
2086
|
-
};
|
|
2087
|
-
|
|
2088
|
-
export const roleMappingCreateResponseTransformer = async (
|
|
2089
|
-
data: any,
|
|
2090
|
-
): Promise<RoleMappingCreateResponse> => {
|
|
2091
|
-
data = roleMappingSchemaResponseTransformer(data);
|
|
2092
|
-
return data;
|
|
2093
|
-
};
|
|
2094
|
-
|
|
2095
|
-
export const roleMappingReplaceOrCreatePutRoleMappingsResponseTransformer =
|
|
2096
|
-
async (
|
|
2097
|
-
data: any,
|
|
2098
|
-
): Promise<RoleMappingReplaceOrCreatePutRoleMappingsResponse> => {
|
|
2099
|
-
data = roleMappingSchemaResponseTransformer(data);
|
|
2100
|
-
return data;
|
|
2101
|
-
};
|
|
2102
|
-
|
|
2103
|
-
export const roleMappingReplaceOrCreatePostRoleMappingsReplaceOrCreateResponseTransformer =
|
|
2104
|
-
async (
|
|
2105
|
-
data: any,
|
|
2106
|
-
): Promise<RoleMappingReplaceOrCreatePostRoleMappingsReplaceOrCreateResponse> => {
|
|
2107
|
-
data = roleMappingSchemaResponseTransformer(data);
|
|
2108
|
-
return data;
|
|
2109
|
-
};
|
|
2110
|
-
|
|
2111
|
-
export const roleMappingUpsertWithWhereResponseTransformer = async (
|
|
2112
|
-
data: any,
|
|
2113
|
-
): Promise<RoleMappingUpsertWithWhereResponse> => {
|
|
2114
|
-
data = roleMappingSchemaResponseTransformer(data);
|
|
2115
|
-
return data;
|
|
2116
|
-
};
|
|
2117
|
-
|
|
2118
|
-
export const roleMappingFindByIdResponseTransformer = async (
|
|
2119
|
-
data: any,
|
|
2120
|
-
): Promise<RoleMappingFindByIdResponse> => {
|
|
2121
|
-
data = roleMappingSchemaResponseTransformer(data);
|
|
2122
|
-
return data;
|
|
2123
|
-
};
|
|
2124
|
-
|
|
2125
|
-
export const roleMappingPatchAttributesResponseTransformer = async (
|
|
2126
|
-
data: any,
|
|
2127
|
-
): Promise<RoleMappingPatchAttributesResponse> => {
|
|
2128
|
-
data = roleMappingSchemaResponseTransformer(data);
|
|
2129
|
-
return data;
|
|
2130
|
-
};
|
|
2131
|
-
|
|
2132
|
-
export const roleMappingReplaceByIdPutRoleMappingsIdResponseTransformer =
|
|
2133
|
-
async (
|
|
2134
|
-
data: any,
|
|
2135
|
-
): Promise<RoleMappingReplaceByIdPutRoleMappingsIdResponse> => {
|
|
2136
|
-
data = roleMappingSchemaResponseTransformer(data);
|
|
2137
|
-
return data;
|
|
2138
|
-
};
|
|
2139
|
-
|
|
2140
|
-
export const roleMappingReplaceByIdPostRoleMappingsIdReplaceResponseTransformer =
|
|
2141
|
-
async (
|
|
2142
|
-
data: any,
|
|
2143
|
-
): Promise<RoleMappingReplaceByIdPostRoleMappingsIdReplaceResponse> => {
|
|
2144
|
-
data = roleMappingSchemaResponseTransformer(data);
|
|
2145
|
-
return data;
|
|
2146
|
-
};
|
|
2147
|
-
|
|
2148
|
-
export const roleMappingFindOneResponseTransformer = async (
|
|
2149
|
-
data: any,
|
|
2150
|
-
): Promise<RoleMappingFindOneResponse> => {
|
|
2151
|
-
data = roleMappingSchemaResponseTransformer(data);
|
|
2152
|
-
return data;
|
|
2153
|
-
};
|
|
2154
|
-
|
|
2155
1908
|
export const userModelFindByIdResponseTransformer = async (
|
|
2156
1909
|
data: any,
|
|
2157
1910
|
): Promise<UserModelFindByIdResponse> => {
|
|
@@ -2159,18 +1912,18 @@ export const userModelFindByIdResponseTransformer = async (
|
|
|
2159
1912
|
return data;
|
|
2160
1913
|
};
|
|
2161
1914
|
|
|
2162
|
-
export const
|
|
1915
|
+
export const userModelPrototypePatchAttributesPatchUserModelsIdResponseTransformer =
|
|
2163
1916
|
async (
|
|
2164
1917
|
data: any,
|
|
2165
|
-
): Promise<
|
|
1918
|
+
): Promise<UserModelPrototypePatchAttributesPatchUserModelsIdResponse> => {
|
|
2166
1919
|
data = userModelSchemaResponseTransformer(data);
|
|
2167
1920
|
return data;
|
|
2168
1921
|
};
|
|
2169
1922
|
|
|
2170
|
-
export const
|
|
1923
|
+
export const userModelPrototypePatchAttributesPutUserModelsIdResponseTransformer =
|
|
2171
1924
|
async (
|
|
2172
1925
|
data: any,
|
|
2173
|
-
): Promise<
|
|
1926
|
+
): Promise<UserModelPrototypePatchAttributesPutUserModelsIdResponse> => {
|
|
2174
1927
|
data = userModelSchemaResponseTransformer(data);
|
|
2175
1928
|
return data;
|
|
2176
1929
|
};
|
|
@@ -2220,73 +1973,99 @@ export const userModelReplayFromAuthProviderResponseTransformer = async (
|
|
|
2220
1973
|
return data;
|
|
2221
1974
|
};
|
|
2222
1975
|
|
|
2223
|
-
|
|
1976
|
+
const roleMappingSchemaResponseTransformer = (data: any) => {
|
|
1977
|
+
if (data.created) {
|
|
1978
|
+
data.created = new Date(data.created);
|
|
1979
|
+
}
|
|
1980
|
+
if (data.modified) {
|
|
1981
|
+
data.modified = new Date(data.modified);
|
|
1982
|
+
}
|
|
1983
|
+
if (data.serverModified) {
|
|
1984
|
+
data.serverModified = new Date(data.serverModified);
|
|
1985
|
+
}
|
|
1986
|
+
return data;
|
|
1987
|
+
};
|
|
1988
|
+
|
|
1989
|
+
export const rolePrototypeFindByIdPrincipalsResponseTransformer = async (
|
|
2224
1990
|
data: any,
|
|
2225
|
-
): Promise<
|
|
1991
|
+
): Promise<RolePrototypeFindByIdPrincipalsResponse> => {
|
|
2226
1992
|
data = roleMappingSchemaResponseTransformer(data);
|
|
2227
1993
|
return data;
|
|
2228
1994
|
};
|
|
2229
1995
|
|
|
2230
|
-
export const
|
|
1996
|
+
export const rolePrototypeUpdateByIdPrincipalsResponseTransformer = async (
|
|
2231
1997
|
data: any,
|
|
2232
|
-
): Promise<
|
|
1998
|
+
): Promise<RolePrototypeUpdateByIdPrincipalsResponse> => {
|
|
2233
1999
|
data = roleMappingSchemaResponseTransformer(data);
|
|
2234
2000
|
return data;
|
|
2235
2001
|
};
|
|
2236
2002
|
|
|
2237
|
-
export const
|
|
2003
|
+
export const rolePrototypeFindByIdUserModelsResponseTransformer = async (
|
|
2238
2004
|
data: any,
|
|
2239
|
-
): Promise<
|
|
2005
|
+
): Promise<RolePrototypeFindByIdUserModelsResponse> => {
|
|
2240
2006
|
data = userModelSchemaResponseTransformer(data);
|
|
2241
2007
|
return data;
|
|
2242
2008
|
};
|
|
2243
2009
|
|
|
2244
|
-
export const
|
|
2010
|
+
export const rolePrototypeUpdateByIdUserModelsResponseTransformer = async (
|
|
2245
2011
|
data: any,
|
|
2246
|
-
): Promise<
|
|
2012
|
+
): Promise<RolePrototypeUpdateByIdUserModelsResponse> => {
|
|
2247
2013
|
data = userModelSchemaResponseTransformer(data);
|
|
2248
2014
|
return data;
|
|
2249
2015
|
};
|
|
2250
2016
|
|
|
2251
|
-
export const
|
|
2017
|
+
export const rolePrototypeLinkUserModelsResponseTransformer = async (
|
|
2252
2018
|
data: any,
|
|
2253
|
-
): Promise<
|
|
2019
|
+
): Promise<RolePrototypeLinkUserModelsResponse> => {
|
|
2254
2020
|
data = roleMappingSchemaResponseTransformer(data);
|
|
2255
2021
|
return data;
|
|
2256
2022
|
};
|
|
2257
2023
|
|
|
2258
|
-
export const
|
|
2024
|
+
export const rolePrototypeGetPrincipalsResponseTransformer = async (
|
|
2259
2025
|
data: any,
|
|
2260
|
-
): Promise<
|
|
2026
|
+
): Promise<RolePrototypeGetPrincipalsResponse> => {
|
|
2261
2027
|
data = data.map((item: any) => {
|
|
2262
2028
|
return roleMappingSchemaResponseTransformer(item);
|
|
2263
2029
|
});
|
|
2264
2030
|
return data;
|
|
2265
2031
|
};
|
|
2266
2032
|
|
|
2267
|
-
export const
|
|
2033
|
+
export const rolePrototypeCreatePrincipalsResponseTransformer = async (
|
|
2268
2034
|
data: any,
|
|
2269
|
-
): Promise<
|
|
2035
|
+
): Promise<RolePrototypeCreatePrincipalsResponse> => {
|
|
2270
2036
|
data = roleMappingSchemaResponseTransformer(data);
|
|
2271
2037
|
return data;
|
|
2272
2038
|
};
|
|
2273
2039
|
|
|
2274
|
-
export const
|
|
2040
|
+
export const rolePrototypeGetUserModelsResponseTransformer = async (
|
|
2275
2041
|
data: any,
|
|
2276
|
-
): Promise<
|
|
2042
|
+
): Promise<RolePrototypeGetUserModelsResponse> => {
|
|
2277
2043
|
data = data.map((item: any) => {
|
|
2278
2044
|
return userModelSchemaResponseTransformer(item);
|
|
2279
2045
|
});
|
|
2280
2046
|
return data;
|
|
2281
2047
|
};
|
|
2282
2048
|
|
|
2283
|
-
export const
|
|
2049
|
+
export const rolePrototypeCreateUserModelsResponseTransformer = async (
|
|
2284
2050
|
data: any,
|
|
2285
|
-
): Promise<
|
|
2051
|
+
): Promise<RolePrototypeCreateUserModelsResponse> => {
|
|
2286
2052
|
data = userModelSchemaResponseTransformer(data);
|
|
2287
2053
|
return data;
|
|
2288
2054
|
};
|
|
2289
2055
|
|
|
2056
|
+
const roleSchemaResponseTransformer = (data: any) => {
|
|
2057
|
+
if (data.created) {
|
|
2058
|
+
data.created = new Date(data.created);
|
|
2059
|
+
}
|
|
2060
|
+
if (data.modified) {
|
|
2061
|
+
data.modified = new Date(data.modified);
|
|
2062
|
+
}
|
|
2063
|
+
if (data.serverModified) {
|
|
2064
|
+
data.serverModified = new Date(data.serverModified);
|
|
2065
|
+
}
|
|
2066
|
+
return data;
|
|
2067
|
+
};
|
|
2068
|
+
|
|
2290
2069
|
export const roleFindResponseTransformer = async (
|
|
2291
2070
|
data: any,
|
|
2292
2071
|
): Promise<RoleFindResponse> => {
|
|
@@ -2339,9 +2118,9 @@ export const roleFindByIdResponseTransformer = async (
|
|
|
2339
2118
|
return data;
|
|
2340
2119
|
};
|
|
2341
2120
|
|
|
2342
|
-
export const
|
|
2121
|
+
export const rolePrototypePatchAttributesResponseTransformer = async (
|
|
2343
2122
|
data: any,
|
|
2344
|
-
): Promise<
|
|
2123
|
+
): Promise<RolePrototypePatchAttributesResponse> => {
|
|
2345
2124
|
data = roleSchemaResponseTransformer(data);
|
|
2346
2125
|
return data;
|
|
2347
2126
|
};
|
|
@@ -2367,9 +2146,9 @@ export const roleFindOneResponseTransformer = async (
|
|
|
2367
2146
|
return data;
|
|
2368
2147
|
};
|
|
2369
2148
|
|
|
2370
|
-
export const
|
|
2149
|
+
export const resourcePrototypeGetUserResponseTransformer = async (
|
|
2371
2150
|
data: any,
|
|
2372
|
-
): Promise<
|
|
2151
|
+
): Promise<ResourcePrototypeGetUserResponse> => {
|
|
2373
2152
|
data = userModelSchemaResponseTransformer(data);
|
|
2374
2153
|
return data;
|
|
2375
2154
|
};
|
|
@@ -2426,9 +2205,9 @@ export const resourceFindByIdResponseTransformer = async (
|
|
|
2426
2205
|
return data;
|
|
2427
2206
|
};
|
|
2428
2207
|
|
|
2429
|
-
export const
|
|
2208
|
+
export const resourcePrototypePatchAttributesResponseTransformer = async (
|
|
2430
2209
|
data: any,
|
|
2431
|
-
): Promise<
|
|
2210
|
+
): Promise<ResourcePrototypePatchAttributesResponse> => {
|
|
2432
2211
|
data = resourceSchemaResponseTransformer(data);
|
|
2433
2212
|
return data;
|
|
2434
2213
|
};
|
|
@@ -2468,30 +2247,32 @@ const connectionSchemaResponseTransformer = (data: any) => {
|
|
|
2468
2247
|
return data;
|
|
2469
2248
|
};
|
|
2470
2249
|
|
|
2471
|
-
export const
|
|
2472
|
-
|
|
2473
|
-
|
|
2474
|
-
|
|
2475
|
-
|
|
2476
|
-
|
|
2250
|
+
export const workflowPrototypeFindByIdGlobalConnectionsResponseTransformer =
|
|
2251
|
+
async (
|
|
2252
|
+
data: any,
|
|
2253
|
+
): Promise<WorkflowPrototypeFindByIdGlobalConnectionsResponse> => {
|
|
2254
|
+
data = connectionSchemaResponseTransformer(data);
|
|
2255
|
+
return data;
|
|
2256
|
+
};
|
|
2477
2257
|
|
|
2478
|
-
export const
|
|
2479
|
-
|
|
2480
|
-
|
|
2481
|
-
|
|
2482
|
-
|
|
2483
|
-
|
|
2258
|
+
export const workflowPrototypeUpdateByIdGlobalConnectionsResponseTransformer =
|
|
2259
|
+
async (
|
|
2260
|
+
data: any,
|
|
2261
|
+
): Promise<WorkflowPrototypeUpdateByIdGlobalConnectionsResponse> => {
|
|
2262
|
+
data = connectionSchemaResponseTransformer(data);
|
|
2263
|
+
return data;
|
|
2264
|
+
};
|
|
2484
2265
|
|
|
2485
|
-
export const
|
|
2266
|
+
export const workflowPrototypeFindByIdConnectionsResponseTransformer = async (
|
|
2486
2267
|
data: any,
|
|
2487
|
-
): Promise<
|
|
2268
|
+
): Promise<WorkflowPrototypeFindByIdConnectionsResponse> => {
|
|
2488
2269
|
data = connectionSchemaResponseTransformer(data);
|
|
2489
2270
|
return data;
|
|
2490
2271
|
};
|
|
2491
2272
|
|
|
2492
|
-
export const
|
|
2273
|
+
export const workflowPrototypeUpdateByIdConnectionsResponseTransformer = async (
|
|
2493
2274
|
data: any,
|
|
2494
|
-
): Promise<
|
|
2275
|
+
): Promise<WorkflowPrototypeUpdateByIdConnectionsResponse> => {
|
|
2495
2276
|
data = connectionSchemaResponseTransformer(data);
|
|
2496
2277
|
return data;
|
|
2497
2278
|
};
|
|
@@ -2509,30 +2290,30 @@ const nodeSchemaResponseTransformer = (data: any) => {
|
|
|
2509
2290
|
return data;
|
|
2510
2291
|
};
|
|
2511
2292
|
|
|
2512
|
-
export const
|
|
2293
|
+
export const workflowPrototypeFindByIdGlobalNodesResponseTransformer = async (
|
|
2513
2294
|
data: any,
|
|
2514
|
-
): Promise<
|
|
2295
|
+
): Promise<WorkflowPrototypeFindByIdGlobalNodesResponse> => {
|
|
2515
2296
|
data = nodeSchemaResponseTransformer(data);
|
|
2516
2297
|
return data;
|
|
2517
2298
|
};
|
|
2518
2299
|
|
|
2519
|
-
export const
|
|
2300
|
+
export const workflowPrototypeUpdateByIdGlobalNodesResponseTransformer = async (
|
|
2520
2301
|
data: any,
|
|
2521
|
-
): Promise<
|
|
2302
|
+
): Promise<WorkflowPrototypeUpdateByIdGlobalNodesResponse> => {
|
|
2522
2303
|
data = nodeSchemaResponseTransformer(data);
|
|
2523
2304
|
return data;
|
|
2524
2305
|
};
|
|
2525
2306
|
|
|
2526
|
-
export const
|
|
2307
|
+
export const workflowPrototypeFindByIdNodesResponseTransformer = async (
|
|
2527
2308
|
data: any,
|
|
2528
|
-
): Promise<
|
|
2309
|
+
): Promise<WorkflowPrototypeFindByIdNodesResponse> => {
|
|
2529
2310
|
data = nodeSchemaResponseTransformer(data);
|
|
2530
2311
|
return data;
|
|
2531
2312
|
};
|
|
2532
2313
|
|
|
2533
|
-
export const
|
|
2314
|
+
export const workflowPrototypeUpdateByIdNodesResponseTransformer = async (
|
|
2534
2315
|
data: any,
|
|
2535
|
-
): Promise<
|
|
2316
|
+
): Promise<WorkflowPrototypeUpdateByIdNodesResponse> => {
|
|
2536
2317
|
data = nodeSchemaResponseTransformer(data);
|
|
2537
2318
|
return data;
|
|
2538
2319
|
};
|
|
@@ -2553,16 +2334,16 @@ const toolSchemaResponseTransformer = (data: any) => {
|
|
|
2553
2334
|
return data;
|
|
2554
2335
|
};
|
|
2555
2336
|
|
|
2556
|
-
export const
|
|
2337
|
+
export const workflowPrototypeFindByIdToolsResponseTransformer = async (
|
|
2557
2338
|
data: any,
|
|
2558
|
-
): Promise<
|
|
2339
|
+
): Promise<WorkflowPrototypeFindByIdToolsResponse> => {
|
|
2559
2340
|
data = toolSchemaResponseTransformer(data);
|
|
2560
2341
|
return data;
|
|
2561
2342
|
};
|
|
2562
2343
|
|
|
2563
|
-
export const
|
|
2344
|
+
export const workflowPrototypeUpdateByIdToolsResponseTransformer = async (
|
|
2564
2345
|
data: any,
|
|
2565
|
-
): Promise<
|
|
2346
|
+
): Promise<WorkflowPrototypeUpdateByIdToolsResponse> => {
|
|
2566
2347
|
data = toolSchemaResponseTransformer(data);
|
|
2567
2348
|
return data;
|
|
2568
2349
|
};
|
|
@@ -2589,16 +2370,16 @@ const fieldSchemaResponseTransformer = (data: any) => {
|
|
|
2589
2370
|
return data;
|
|
2590
2371
|
};
|
|
2591
2372
|
|
|
2592
|
-
export const
|
|
2373
|
+
export const workflowPrototypeFindByIdFieldsResponseTransformer = async (
|
|
2593
2374
|
data: any,
|
|
2594
|
-
): Promise<
|
|
2375
|
+
): Promise<WorkflowPrototypeFindByIdFieldsResponse> => {
|
|
2595
2376
|
data = fieldSchemaResponseTransformer(data);
|
|
2596
2377
|
return data;
|
|
2597
2378
|
};
|
|
2598
2379
|
|
|
2599
|
-
export const
|
|
2380
|
+
export const workflowPrototypeUpdateByIdFieldsResponseTransformer = async (
|
|
2600
2381
|
data: any,
|
|
2601
|
-
): Promise<
|
|
2382
|
+
): Promise<WorkflowPrototypeUpdateByIdFieldsResponse> => {
|
|
2602
2383
|
data = fieldSchemaResponseTransformer(data);
|
|
2603
2384
|
return data;
|
|
2604
2385
|
};
|
|
@@ -2619,186 +2400,187 @@ const listItemSchemaResponseTransformer = (data: any) => {
|
|
|
2619
2400
|
return data;
|
|
2620
2401
|
};
|
|
2621
2402
|
|
|
2622
|
-
export const
|
|
2403
|
+
export const workflowPrototypeFindByIdListItemsResponseTransformer = async (
|
|
2623
2404
|
data: any,
|
|
2624
|
-
): Promise<
|
|
2405
|
+
): Promise<WorkflowPrototypeFindByIdListItemsResponse> => {
|
|
2625
2406
|
data = listItemSchemaResponseTransformer(data);
|
|
2626
2407
|
return data;
|
|
2627
2408
|
};
|
|
2628
2409
|
|
|
2629
|
-
export const
|
|
2410
|
+
export const workflowPrototypeUpdateByIdListItemsResponseTransformer = async (
|
|
2630
2411
|
data: any,
|
|
2631
|
-
): Promise<
|
|
2412
|
+
): Promise<WorkflowPrototypeUpdateByIdListItemsResponse> => {
|
|
2632
2413
|
data = listItemSchemaResponseTransformer(data);
|
|
2633
2414
|
return data;
|
|
2634
2415
|
};
|
|
2635
2416
|
|
|
2636
|
-
export const
|
|
2417
|
+
export const workflowPrototypeLinkListItemsResponseTransformer = async (
|
|
2637
2418
|
data: any,
|
|
2638
|
-
): Promise<
|
|
2419
|
+
): Promise<WorkflowPrototypeLinkListItemsResponse> => {
|
|
2639
2420
|
data = listItemSchemaResponseTransformer(data);
|
|
2640
2421
|
return data;
|
|
2641
2422
|
};
|
|
2642
2423
|
|
|
2643
|
-
export const
|
|
2424
|
+
export const workflowPrototypeGetResourceResponseTransformer = async (
|
|
2644
2425
|
data: any,
|
|
2645
|
-
): Promise<
|
|
2426
|
+
): Promise<WorkflowPrototypeGetResourceResponse> => {
|
|
2646
2427
|
data = resourceSchemaResponseTransformer(data);
|
|
2647
2428
|
return data;
|
|
2648
2429
|
};
|
|
2649
2430
|
|
|
2650
|
-
export const
|
|
2431
|
+
export const workflowPrototypeGetUserResponseTransformer = async (
|
|
2651
2432
|
data: any,
|
|
2652
|
-
): Promise<
|
|
2433
|
+
): Promise<WorkflowPrototypeGetUserResponse> => {
|
|
2653
2434
|
data = userModelSchemaResponseTransformer(data);
|
|
2654
2435
|
return data;
|
|
2655
2436
|
};
|
|
2656
2437
|
|
|
2657
|
-
export const
|
|
2438
|
+
export const workflowPrototypeFindByIdGroupModelResponseTransformer = async (
|
|
2658
2439
|
data: any,
|
|
2659
|
-
): Promise<
|
|
2440
|
+
): Promise<WorkflowPrototypeFindByIdGroupModelResponse> => {
|
|
2660
2441
|
data = groupSchemaResponseTransformer(data);
|
|
2661
2442
|
return data;
|
|
2662
2443
|
};
|
|
2663
2444
|
|
|
2664
|
-
export const
|
|
2445
|
+
export const workflowPrototypeUpdateByIdGroupModelResponseTransformer = async (
|
|
2665
2446
|
data: any,
|
|
2666
|
-
): Promise<
|
|
2447
|
+
): Promise<WorkflowPrototypeUpdateByIdGroupModelResponse> => {
|
|
2667
2448
|
data = groupSchemaResponseTransformer(data);
|
|
2668
2449
|
return data;
|
|
2669
2450
|
};
|
|
2670
2451
|
|
|
2671
|
-
export const
|
|
2452
|
+
export const workflowPrototypeLinkGroupModelResponseTransformer = async (
|
|
2672
2453
|
data: any,
|
|
2673
|
-
): Promise<
|
|
2454
|
+
): Promise<WorkflowPrototypeLinkGroupModelResponse> => {
|
|
2674
2455
|
data = groupSchemaResponseTransformer(data);
|
|
2675
2456
|
return data;
|
|
2676
2457
|
};
|
|
2677
2458
|
|
|
2678
|
-
export const
|
|
2459
|
+
export const workflowPrototypeGetGlobalConnectionsResponseTransformer = async (
|
|
2679
2460
|
data: any,
|
|
2680
|
-
): Promise<
|
|
2461
|
+
): Promise<WorkflowPrototypeGetGlobalConnectionsResponse> => {
|
|
2681
2462
|
data = data.map((item: any) => {
|
|
2682
2463
|
return connectionSchemaResponseTransformer(item);
|
|
2683
2464
|
});
|
|
2684
2465
|
return data;
|
|
2685
2466
|
};
|
|
2686
2467
|
|
|
2687
|
-
export const
|
|
2688
|
-
|
|
2689
|
-
|
|
2690
|
-
|
|
2691
|
-
|
|
2692
|
-
|
|
2468
|
+
export const workflowPrototypeCreateGlobalConnectionsResponseTransformer =
|
|
2469
|
+
async (
|
|
2470
|
+
data: any,
|
|
2471
|
+
): Promise<WorkflowPrototypeCreateGlobalConnectionsResponse> => {
|
|
2472
|
+
data = connectionSchemaResponseTransformer(data);
|
|
2473
|
+
return data;
|
|
2474
|
+
};
|
|
2693
2475
|
|
|
2694
|
-
export const
|
|
2476
|
+
export const workflowPrototypeGetConnectionsResponseTransformer = async (
|
|
2695
2477
|
data: any,
|
|
2696
|
-
): Promise<
|
|
2478
|
+
): Promise<WorkflowPrototypeGetConnectionsResponse> => {
|
|
2697
2479
|
data = data.map((item: any) => {
|
|
2698
2480
|
return connectionSchemaResponseTransformer(item);
|
|
2699
2481
|
});
|
|
2700
2482
|
return data;
|
|
2701
2483
|
};
|
|
2702
2484
|
|
|
2703
|
-
export const
|
|
2485
|
+
export const workflowPrototypeCreateConnectionsResponseTransformer = async (
|
|
2704
2486
|
data: any,
|
|
2705
|
-
): Promise<
|
|
2487
|
+
): Promise<WorkflowPrototypeCreateConnectionsResponse> => {
|
|
2706
2488
|
data = connectionSchemaResponseTransformer(data);
|
|
2707
2489
|
return data;
|
|
2708
2490
|
};
|
|
2709
2491
|
|
|
2710
|
-
export const
|
|
2492
|
+
export const workflowPrototypeGetGlobalNodesResponseTransformer = async (
|
|
2711
2493
|
data: any,
|
|
2712
|
-
): Promise<
|
|
2494
|
+
): Promise<WorkflowPrototypeGetGlobalNodesResponse> => {
|
|
2713
2495
|
data = data.map((item: any) => {
|
|
2714
2496
|
return nodeSchemaResponseTransformer(item);
|
|
2715
2497
|
});
|
|
2716
2498
|
return data;
|
|
2717
2499
|
};
|
|
2718
2500
|
|
|
2719
|
-
export const
|
|
2501
|
+
export const workflowPrototypeCreateGlobalNodesResponseTransformer = async (
|
|
2720
2502
|
data: any,
|
|
2721
|
-
): Promise<
|
|
2503
|
+
): Promise<WorkflowPrototypeCreateGlobalNodesResponse> => {
|
|
2722
2504
|
data = nodeSchemaResponseTransformer(data);
|
|
2723
2505
|
return data;
|
|
2724
2506
|
};
|
|
2725
2507
|
|
|
2726
|
-
export const
|
|
2508
|
+
export const workflowPrototypeGetNodesResponseTransformer = async (
|
|
2727
2509
|
data: any,
|
|
2728
|
-
): Promise<
|
|
2510
|
+
): Promise<WorkflowPrototypeGetNodesResponse> => {
|
|
2729
2511
|
data = data.map((item: any) => {
|
|
2730
2512
|
return nodeSchemaResponseTransformer(item);
|
|
2731
2513
|
});
|
|
2732
2514
|
return data;
|
|
2733
2515
|
};
|
|
2734
2516
|
|
|
2735
|
-
export const
|
|
2517
|
+
export const workflowPrototypeCreateNodesResponseTransformer = async (
|
|
2736
2518
|
data: any,
|
|
2737
|
-
): Promise<
|
|
2519
|
+
): Promise<WorkflowPrototypeCreateNodesResponse> => {
|
|
2738
2520
|
data = nodeSchemaResponseTransformer(data);
|
|
2739
2521
|
return data;
|
|
2740
2522
|
};
|
|
2741
2523
|
|
|
2742
|
-
export const
|
|
2524
|
+
export const workflowPrototypeGetToolsResponseTransformer = async (
|
|
2743
2525
|
data: any,
|
|
2744
|
-
): Promise<
|
|
2526
|
+
): Promise<WorkflowPrototypeGetToolsResponse> => {
|
|
2745
2527
|
data = data.map((item: any) => {
|
|
2746
2528
|
return toolSchemaResponseTransformer(item);
|
|
2747
2529
|
});
|
|
2748
2530
|
return data;
|
|
2749
2531
|
};
|
|
2750
2532
|
|
|
2751
|
-
export const
|
|
2533
|
+
export const workflowPrototypeCreateToolsResponseTransformer = async (
|
|
2752
2534
|
data: any,
|
|
2753
|
-
): Promise<
|
|
2535
|
+
): Promise<WorkflowPrototypeCreateToolsResponse> => {
|
|
2754
2536
|
data = toolSchemaResponseTransformer(data);
|
|
2755
2537
|
return data;
|
|
2756
2538
|
};
|
|
2757
2539
|
|
|
2758
|
-
export const
|
|
2540
|
+
export const workflowPrototypeGetFieldsResponseTransformer = async (
|
|
2759
2541
|
data: any,
|
|
2760
|
-
): Promise<
|
|
2542
|
+
): Promise<WorkflowPrototypeGetFieldsResponse> => {
|
|
2761
2543
|
data = data.map((item: any) => {
|
|
2762
2544
|
return fieldSchemaResponseTransformer(item);
|
|
2763
2545
|
});
|
|
2764
2546
|
return data;
|
|
2765
2547
|
};
|
|
2766
2548
|
|
|
2767
|
-
export const
|
|
2549
|
+
export const workflowPrototypeCreateFieldsResponseTransformer = async (
|
|
2768
2550
|
data: any,
|
|
2769
|
-
): Promise<
|
|
2551
|
+
): Promise<WorkflowPrototypeCreateFieldsResponse> => {
|
|
2770
2552
|
data = fieldSchemaResponseTransformer(data);
|
|
2771
2553
|
return data;
|
|
2772
2554
|
};
|
|
2773
2555
|
|
|
2774
|
-
export const
|
|
2556
|
+
export const workflowPrototypeGetListItemsResponseTransformer = async (
|
|
2775
2557
|
data: any,
|
|
2776
|
-
): Promise<
|
|
2558
|
+
): Promise<WorkflowPrototypeGetListItemsResponse> => {
|
|
2777
2559
|
data = data.map((item: any) => {
|
|
2778
2560
|
return listItemSchemaResponseTransformer(item);
|
|
2779
2561
|
});
|
|
2780
2562
|
return data;
|
|
2781
2563
|
};
|
|
2782
2564
|
|
|
2783
|
-
export const
|
|
2565
|
+
export const workflowPrototypeCreateListItemsResponseTransformer = async (
|
|
2784
2566
|
data: any,
|
|
2785
|
-
): Promise<
|
|
2567
|
+
): Promise<WorkflowPrototypeCreateListItemsResponse> => {
|
|
2786
2568
|
data = listItemSchemaResponseTransformer(data);
|
|
2787
2569
|
return data;
|
|
2788
2570
|
};
|
|
2789
2571
|
|
|
2790
|
-
export const
|
|
2572
|
+
export const workflowPrototypeGetGroupModelResponseTransformer = async (
|
|
2791
2573
|
data: any,
|
|
2792
|
-
): Promise<
|
|
2574
|
+
): Promise<WorkflowPrototypeGetGroupModelResponse> => {
|
|
2793
2575
|
data = data.map((item: any) => {
|
|
2794
2576
|
return groupSchemaResponseTransformer(item);
|
|
2795
2577
|
});
|
|
2796
2578
|
return data;
|
|
2797
2579
|
};
|
|
2798
2580
|
|
|
2799
|
-
export const
|
|
2581
|
+
export const workflowPrototypeCreateGroupModelResponseTransformer = async (
|
|
2800
2582
|
data: any,
|
|
2801
|
-
): Promise<
|
|
2583
|
+
): Promise<WorkflowPrototypeCreateGroupModelResponse> => {
|
|
2802
2584
|
data = groupSchemaResponseTransformer(data);
|
|
2803
2585
|
return data;
|
|
2804
2586
|
};
|
|
@@ -2897,9 +2679,9 @@ export const workflowFindByIdResponseTransformer = async (
|
|
|
2897
2679
|
return data;
|
|
2898
2680
|
};
|
|
2899
2681
|
|
|
2900
|
-
export const
|
|
2682
|
+
export const workflowPrototypePatchAttributesResponseTransformer = async (
|
|
2901
2683
|
data: any,
|
|
2902
|
-
): Promise<
|
|
2684
|
+
): Promise<WorkflowPrototypePatchAttributesResponse> => {
|
|
2903
2685
|
data = workflowSchemaResponseTransformer(data);
|
|
2904
2686
|
return data;
|
|
2905
2687
|
};
|
|
@@ -2961,12 +2743,13 @@ export const workflowMassiveCopyResponseTransformer = async (
|
|
|
2961
2743
|
return data;
|
|
2962
2744
|
};
|
|
2963
2745
|
|
|
2964
|
-
export const
|
|
2965
|
-
|
|
2966
|
-
|
|
2967
|
-
|
|
2968
|
-
|
|
2969
|
-
|
|
2746
|
+
export const workflowPrototypeCreateNodeAndConnectionResponseTransformer =
|
|
2747
|
+
async (
|
|
2748
|
+
data: any,
|
|
2749
|
+
): Promise<WorkflowPrototypeCreateNodeAndConnectionResponse> => {
|
|
2750
|
+
data = workflowSchemaResponseTransformer(data);
|
|
2751
|
+
return data;
|
|
2752
|
+
};
|
|
2970
2753
|
|
|
2971
2754
|
const aiPromptSchemaResponseTransformer = (data: any) => {
|
|
2972
2755
|
if (data.created) {
|
|
@@ -3033,9 +2816,9 @@ export const aiPromptFindByIdResponseTransformer = async (
|
|
|
3033
2816
|
return data;
|
|
3034
2817
|
};
|
|
3035
2818
|
|
|
3036
|
-
export const
|
|
2819
|
+
export const aiPromptPrototypePatchAttributesResponseTransformer = async (
|
|
3037
2820
|
data: any,
|
|
3038
|
-
): Promise<
|
|
2821
|
+
): Promise<AiPromptPrototypePatchAttributesResponse> => {
|
|
3039
2822
|
data = aiPromptSchemaResponseTransformer(data);
|
|
3040
2823
|
return data;
|
|
3041
2824
|
};
|
|
@@ -3062,136 +2845,37 @@ export const aiPromptFindOneResponseTransformer = async (
|
|
|
3062
2845
|
return data;
|
|
3063
2846
|
};
|
|
3064
2847
|
|
|
3065
|
-
const
|
|
3066
|
-
if (data.created) {
|
|
3067
|
-
data.created = new Date(data.created);
|
|
3068
|
-
}
|
|
3069
|
-
if (data.modified) {
|
|
3070
|
-
data.modified = new Date(data.modified);
|
|
3071
|
-
}
|
|
3072
|
-
if (data.serverModified) {
|
|
3073
|
-
data.serverModified = new Date(data.serverModified);
|
|
3074
|
-
}
|
|
3075
|
-
if (data.deletedAt) {
|
|
3076
|
-
data.deletedAt = new Date(data.deletedAt);
|
|
3077
|
-
}
|
|
3078
|
-
return data;
|
|
3079
|
-
};
|
|
3080
|
-
|
|
3081
|
-
export const workflowDetailsFindResponseTransformer = async (
|
|
3082
|
-
data: any,
|
|
3083
|
-
): Promise<WorkflowDetailsFindResponse> => {
|
|
3084
|
-
data = data.map((item: any) => {
|
|
3085
|
-
return workflowDetailsSchemaResponseTransformer(item);
|
|
3086
|
-
});
|
|
3087
|
-
return data;
|
|
3088
|
-
};
|
|
3089
|
-
|
|
3090
|
-
export const workflowDetailsPatchOrCreateResponseTransformer = async (
|
|
3091
|
-
data: any,
|
|
3092
|
-
): Promise<WorkflowDetailsPatchOrCreateResponse> => {
|
|
3093
|
-
data = workflowDetailsSchemaResponseTransformer(data);
|
|
3094
|
-
return data;
|
|
3095
|
-
};
|
|
3096
|
-
|
|
3097
|
-
export const workflowDetailsCreateResponseTransformer = async (
|
|
3098
|
-
data: any,
|
|
3099
|
-
): Promise<WorkflowDetailsCreateResponse> => {
|
|
3100
|
-
data = workflowDetailsSchemaResponseTransformer(data);
|
|
3101
|
-
return data;
|
|
3102
|
-
};
|
|
3103
|
-
|
|
3104
|
-
export const workflowDetailsReplaceOrCreatePutWorkflowDetailsResponseTransformer =
|
|
3105
|
-
async (
|
|
3106
|
-
data: any,
|
|
3107
|
-
): Promise<WorkflowDetailsReplaceOrCreatePutWorkflowDetailsResponse> => {
|
|
3108
|
-
data = workflowDetailsSchemaResponseTransformer(data);
|
|
3109
|
-
return data;
|
|
3110
|
-
};
|
|
3111
|
-
|
|
3112
|
-
export const workflowDetailsReplaceOrCreatePostWorkflowDetailsReplaceOrCreateResponseTransformer =
|
|
3113
|
-
async (
|
|
3114
|
-
data: any,
|
|
3115
|
-
): Promise<WorkflowDetailsReplaceOrCreatePostWorkflowDetailsReplaceOrCreateResponse> => {
|
|
3116
|
-
data = workflowDetailsSchemaResponseTransformer(data);
|
|
3117
|
-
return data;
|
|
3118
|
-
};
|
|
3119
|
-
|
|
3120
|
-
export const workflowDetailsUpsertWithWhereResponseTransformer = async (
|
|
3121
|
-
data: any,
|
|
3122
|
-
): Promise<WorkflowDetailsUpsertWithWhereResponse> => {
|
|
3123
|
-
data = workflowDetailsSchemaResponseTransformer(data);
|
|
3124
|
-
return data;
|
|
3125
|
-
};
|
|
3126
|
-
|
|
3127
|
-
export const workflowDetailsFindByIdResponseTransformer = async (
|
|
3128
|
-
data: any,
|
|
3129
|
-
): Promise<WorkflowDetailsFindByIdResponse> => {
|
|
3130
|
-
data = workflowDetailsSchemaResponseTransformer(data);
|
|
3131
|
-
return data;
|
|
3132
|
-
};
|
|
3133
|
-
|
|
3134
|
-
export const workflowDetailsPatchAttributesResponseTransformer = async (
|
|
3135
|
-
data: any,
|
|
3136
|
-
): Promise<WorkflowDetailsPatchAttributesResponse> => {
|
|
3137
|
-
data = workflowDetailsSchemaResponseTransformer(data);
|
|
3138
|
-
return data;
|
|
3139
|
-
};
|
|
3140
|
-
|
|
3141
|
-
export const workflowDetailsReplaceByIdPutWorkflowDetailsIdResponseTransformer =
|
|
3142
|
-
async (
|
|
3143
|
-
data: any,
|
|
3144
|
-
): Promise<WorkflowDetailsReplaceByIdPutWorkflowDetailsIdResponse> => {
|
|
3145
|
-
data = workflowDetailsSchemaResponseTransformer(data);
|
|
3146
|
-
return data;
|
|
3147
|
-
};
|
|
3148
|
-
|
|
3149
|
-
export const workflowDetailsReplaceByIdPostWorkflowDetailsIdReplaceResponseTransformer =
|
|
3150
|
-
async (
|
|
3151
|
-
data: any,
|
|
3152
|
-
): Promise<WorkflowDetailsReplaceByIdPostWorkflowDetailsIdReplaceResponse> => {
|
|
3153
|
-
data = workflowDetailsSchemaResponseTransformer(data);
|
|
3154
|
-
return data;
|
|
3155
|
-
};
|
|
3156
|
-
|
|
3157
|
-
export const workflowDetailsFindOneResponseTransformer = async (
|
|
3158
|
-
data: any,
|
|
3159
|
-
): Promise<WorkflowDetailsFindOneResponse> => {
|
|
3160
|
-
data = workflowDetailsSchemaResponseTransformer(data);
|
|
3161
|
-
return data;
|
|
3162
|
-
};
|
|
3163
|
-
|
|
3164
|
-
export const connectionGetFromResponseTransformer = async (
|
|
2848
|
+
export const connectionPrototypeGetFromResponseTransformer = async (
|
|
3165
2849
|
data: any,
|
|
3166
|
-
): Promise<
|
|
2850
|
+
): Promise<ConnectionPrototypeGetFromResponse> => {
|
|
3167
2851
|
data = nodeSchemaResponseTransformer(data);
|
|
3168
2852
|
return data;
|
|
3169
2853
|
};
|
|
3170
2854
|
|
|
3171
|
-
export const
|
|
2855
|
+
export const connectionPrototypeGetToResponseTransformer = async (
|
|
3172
2856
|
data: any,
|
|
3173
|
-
): Promise<
|
|
2857
|
+
): Promise<ConnectionPrototypeGetToResponse> => {
|
|
3174
2858
|
data = nodeSchemaResponseTransformer(data);
|
|
3175
2859
|
return data;
|
|
3176
2860
|
};
|
|
3177
2861
|
|
|
3178
|
-
export const
|
|
2862
|
+
export const nodePrototypeFindByIdResourcesResponseTransformer = async (
|
|
3179
2863
|
data: any,
|
|
3180
|
-
): Promise<
|
|
2864
|
+
): Promise<NodePrototypeFindByIdResourcesResponse> => {
|
|
3181
2865
|
data = resourceSchemaResponseTransformer(data);
|
|
3182
2866
|
return data;
|
|
3183
2867
|
};
|
|
3184
2868
|
|
|
3185
|
-
export const
|
|
2869
|
+
export const nodePrototypeUpdateByIdResourcesResponseTransformer = async (
|
|
3186
2870
|
data: any,
|
|
3187
|
-
): Promise<
|
|
2871
|
+
): Promise<NodePrototypeUpdateByIdResourcesResponse> => {
|
|
3188
2872
|
data = resourceSchemaResponseTransformer(data);
|
|
3189
2873
|
return data;
|
|
3190
2874
|
};
|
|
3191
2875
|
|
|
3192
|
-
export const
|
|
2876
|
+
export const nodePrototypeLinkResourcesResponseTransformer = async (
|
|
3193
2877
|
data: any,
|
|
3194
|
-
): Promise<
|
|
2878
|
+
): Promise<NodePrototypeLinkResourcesResponse> => {
|
|
3195
2879
|
data = resourceSchemaResponseTransformer(data);
|
|
3196
2880
|
return data;
|
|
3197
2881
|
};
|
|
@@ -3212,150 +2896,150 @@ const locationSchemaResponseTransformer = (data: any) => {
|
|
|
3212
2896
|
return data;
|
|
3213
2897
|
};
|
|
3214
2898
|
|
|
3215
|
-
export const
|
|
2899
|
+
export const nodePrototypeGetLocationsResponseTransformer = async (
|
|
3216
2900
|
data: any,
|
|
3217
|
-
): Promise<
|
|
2901
|
+
): Promise<NodePrototypeGetLocationsResponse> => {
|
|
3218
2902
|
data = locationSchemaResponseTransformer(data);
|
|
3219
2903
|
return data;
|
|
3220
2904
|
};
|
|
3221
2905
|
|
|
3222
|
-
export const
|
|
2906
|
+
export const nodePrototypeFindByIdToolsResponseTransformer = async (
|
|
3223
2907
|
data: any,
|
|
3224
|
-
): Promise<
|
|
2908
|
+
): Promise<NodePrototypeFindByIdToolsResponse> => {
|
|
3225
2909
|
data = toolSchemaResponseTransformer(data);
|
|
3226
2910
|
return data;
|
|
3227
2911
|
};
|
|
3228
2912
|
|
|
3229
|
-
export const
|
|
2913
|
+
export const nodePrototypeUpdateByIdToolsResponseTransformer = async (
|
|
3230
2914
|
data: any,
|
|
3231
|
-
): Promise<
|
|
2915
|
+
): Promise<NodePrototypeUpdateByIdToolsResponse> => {
|
|
3232
2916
|
data = toolSchemaResponseTransformer(data);
|
|
3233
2917
|
return data;
|
|
3234
2918
|
};
|
|
3235
2919
|
|
|
3236
|
-
export const
|
|
2920
|
+
export const nodePrototypeLinkToolsResponseTransformer = async (
|
|
3237
2921
|
data: any,
|
|
3238
|
-
): Promise<
|
|
2922
|
+
): Promise<NodePrototypeLinkToolsResponse> => {
|
|
3239
2923
|
data = toolSchemaResponseTransformer(data);
|
|
3240
2924
|
return data;
|
|
3241
2925
|
};
|
|
3242
2926
|
|
|
3243
|
-
export const
|
|
2927
|
+
export const nodePrototypeFindByIdFieldsResponseTransformer = async (
|
|
3244
2928
|
data: any,
|
|
3245
|
-
): Promise<
|
|
2929
|
+
): Promise<NodePrototypeFindByIdFieldsResponse> => {
|
|
3246
2930
|
data = fieldSchemaResponseTransformer(data);
|
|
3247
2931
|
return data;
|
|
3248
2932
|
};
|
|
3249
2933
|
|
|
3250
|
-
export const
|
|
2934
|
+
export const nodePrototypeUpdateByIdFieldsResponseTransformer = async (
|
|
3251
2935
|
data: any,
|
|
3252
|
-
): Promise<
|
|
2936
|
+
): Promise<NodePrototypeUpdateByIdFieldsResponse> => {
|
|
3253
2937
|
data = fieldSchemaResponseTransformer(data);
|
|
3254
2938
|
return data;
|
|
3255
2939
|
};
|
|
3256
2940
|
|
|
3257
|
-
export const
|
|
2941
|
+
export const nodePrototypeLinkFieldsResponseTransformer = async (
|
|
3258
2942
|
data: any,
|
|
3259
|
-
): Promise<
|
|
2943
|
+
): Promise<NodePrototypeLinkFieldsResponse> => {
|
|
3260
2944
|
data = fieldSchemaResponseTransformer(data);
|
|
3261
2945
|
return data;
|
|
3262
2946
|
};
|
|
3263
2947
|
|
|
3264
|
-
export const
|
|
2948
|
+
export const nodePrototypeFindByIdListItemsResponseTransformer = async (
|
|
3265
2949
|
data: any,
|
|
3266
|
-
): Promise<
|
|
2950
|
+
): Promise<NodePrototypeFindByIdListItemsResponse> => {
|
|
3267
2951
|
data = listItemSchemaResponseTransformer(data);
|
|
3268
2952
|
return data;
|
|
3269
2953
|
};
|
|
3270
2954
|
|
|
3271
|
-
export const
|
|
2955
|
+
export const nodePrototypeUpdateByIdListItemsResponseTransformer = async (
|
|
3272
2956
|
data: any,
|
|
3273
|
-
): Promise<
|
|
2957
|
+
): Promise<NodePrototypeUpdateByIdListItemsResponse> => {
|
|
3274
2958
|
data = listItemSchemaResponseTransformer(data);
|
|
3275
2959
|
return data;
|
|
3276
2960
|
};
|
|
3277
2961
|
|
|
3278
|
-
export const
|
|
2962
|
+
export const nodePrototypeLinkListItemsResponseTransformer = async (
|
|
3279
2963
|
data: any,
|
|
3280
|
-
): Promise<
|
|
2964
|
+
): Promise<NodePrototypeLinkListItemsResponse> => {
|
|
3281
2965
|
data = listItemSchemaResponseTransformer(data);
|
|
3282
2966
|
return data;
|
|
3283
2967
|
};
|
|
3284
2968
|
|
|
3285
|
-
export const
|
|
2969
|
+
export const nodePrototypeGetResourceResponseTransformer = async (
|
|
3286
2970
|
data: any,
|
|
3287
|
-
): Promise<
|
|
2971
|
+
): Promise<NodePrototypeGetResourceResponse> => {
|
|
3288
2972
|
data = resourceSchemaResponseTransformer(data);
|
|
3289
2973
|
return data;
|
|
3290
2974
|
};
|
|
3291
2975
|
|
|
3292
|
-
export const
|
|
2976
|
+
export const nodePrototypeGetResourcesResponseTransformer = async (
|
|
3293
2977
|
data: any,
|
|
3294
|
-
): Promise<
|
|
2978
|
+
): Promise<NodePrototypeGetResourcesResponse> => {
|
|
3295
2979
|
data = data.map((item: any) => {
|
|
3296
2980
|
return resourceSchemaResponseTransformer(item);
|
|
3297
2981
|
});
|
|
3298
2982
|
return data;
|
|
3299
2983
|
};
|
|
3300
2984
|
|
|
3301
|
-
export const
|
|
2985
|
+
export const nodePrototypeCreateResourcesResponseTransformer = async (
|
|
3302
2986
|
data: any,
|
|
3303
|
-
): Promise<
|
|
2987
|
+
): Promise<NodePrototypeCreateResourcesResponse> => {
|
|
3304
2988
|
data = resourceSchemaResponseTransformer(data);
|
|
3305
2989
|
return data;
|
|
3306
2990
|
};
|
|
3307
2991
|
|
|
3308
|
-
export const
|
|
2992
|
+
export const nodePrototypeGetToolsResponseTransformer = async (
|
|
3309
2993
|
data: any,
|
|
3310
|
-
): Promise<
|
|
2994
|
+
): Promise<NodePrototypeGetToolsResponse> => {
|
|
3311
2995
|
data = data.map((item: any) => {
|
|
3312
2996
|
return toolSchemaResponseTransformer(item);
|
|
3313
2997
|
});
|
|
3314
2998
|
return data;
|
|
3315
2999
|
};
|
|
3316
3000
|
|
|
3317
|
-
export const
|
|
3001
|
+
export const nodePrototypeCreateToolsResponseTransformer = async (
|
|
3318
3002
|
data: any,
|
|
3319
|
-
): Promise<
|
|
3003
|
+
): Promise<NodePrototypeCreateToolsResponse> => {
|
|
3320
3004
|
data = toolSchemaResponseTransformer(data);
|
|
3321
3005
|
return data;
|
|
3322
3006
|
};
|
|
3323
3007
|
|
|
3324
|
-
export const
|
|
3008
|
+
export const nodePrototypeGetFieldsResponseTransformer = async (
|
|
3325
3009
|
data: any,
|
|
3326
|
-
): Promise<
|
|
3010
|
+
): Promise<NodePrototypeGetFieldsResponse> => {
|
|
3327
3011
|
data = data.map((item: any) => {
|
|
3328
3012
|
return fieldSchemaResponseTransformer(item);
|
|
3329
3013
|
});
|
|
3330
3014
|
return data;
|
|
3331
3015
|
};
|
|
3332
3016
|
|
|
3333
|
-
export const
|
|
3017
|
+
export const nodePrototypeCreateFieldsResponseTransformer = async (
|
|
3334
3018
|
data: any,
|
|
3335
|
-
): Promise<
|
|
3019
|
+
): Promise<NodePrototypeCreateFieldsResponse> => {
|
|
3336
3020
|
data = fieldSchemaResponseTransformer(data);
|
|
3337
3021
|
return data;
|
|
3338
3022
|
};
|
|
3339
3023
|
|
|
3340
|
-
export const
|
|
3024
|
+
export const nodePrototypeGetListItemsResponseTransformer = async (
|
|
3341
3025
|
data: any,
|
|
3342
|
-
): Promise<
|
|
3026
|
+
): Promise<NodePrototypeGetListItemsResponse> => {
|
|
3343
3027
|
data = data.map((item: any) => {
|
|
3344
3028
|
return listItemSchemaResponseTransformer(item);
|
|
3345
3029
|
});
|
|
3346
3030
|
return data;
|
|
3347
3031
|
};
|
|
3348
3032
|
|
|
3349
|
-
export const
|
|
3033
|
+
export const nodePrototypeCreateListItemsResponseTransformer = async (
|
|
3350
3034
|
data: any,
|
|
3351
|
-
): Promise<
|
|
3035
|
+
): Promise<NodePrototypeCreateListItemsResponse> => {
|
|
3352
3036
|
data = listItemSchemaResponseTransformer(data);
|
|
3353
3037
|
return data;
|
|
3354
3038
|
};
|
|
3355
3039
|
|
|
3356
|
-
export const
|
|
3040
|
+
export const bomPrototypeGetPartResponseTransformer = async (
|
|
3357
3041
|
data: any,
|
|
3358
|
-
): Promise<
|
|
3042
|
+
): Promise<BomPrototypeGetPartResponse> => {
|
|
3359
3043
|
data = partAssemblySchemaResponseTransformer(data);
|
|
3360
3044
|
return data;
|
|
3361
3045
|
};
|
|
@@ -3425,9 +3109,9 @@ export const partFindByIdResponseTransformer = async (
|
|
|
3425
3109
|
return data;
|
|
3426
3110
|
};
|
|
3427
3111
|
|
|
3428
|
-
export const
|
|
3112
|
+
export const partPrototypePatchAttributesResponseTransformer = async (
|
|
3429
3113
|
data: any,
|
|
3430
|
-
): Promise<
|
|
3114
|
+
): Promise<PartPrototypePatchAttributesResponse> => {
|
|
3431
3115
|
data = partSchemaResponseTransformer(data);
|
|
3432
3116
|
return data;
|
|
3433
3117
|
};
|
|
@@ -3476,9 +3160,9 @@ export const locationFindByIdResponseTransformer = async (
|
|
|
3476
3160
|
return data;
|
|
3477
3161
|
};
|
|
3478
3162
|
|
|
3479
|
-
export const
|
|
3163
|
+
export const locationPrototypePatchAttributesResponseTransformer = async (
|
|
3480
3164
|
data: any,
|
|
3481
|
-
): Promise<
|
|
3165
|
+
): Promise<LocationPrototypePatchAttributesResponse> => {
|
|
3482
3166
|
data = locationSchemaResponseTransformer(data);
|
|
3483
3167
|
return data;
|
|
3484
3168
|
};
|
|
@@ -3490,9 +3174,9 @@ export const locationFindOneResponseTransformer = async (
|
|
|
3490
3174
|
return data;
|
|
3491
3175
|
};
|
|
3492
3176
|
|
|
3493
|
-
export const
|
|
3177
|
+
export const projectPrototypeGetResourceResponseTransformer = async (
|
|
3494
3178
|
data: any,
|
|
3495
|
-
): Promise<
|
|
3179
|
+
): Promise<ProjectPrototypeGetResourceResponse> => {
|
|
3496
3180
|
data = resourceSchemaResponseTransformer(data);
|
|
3497
3181
|
return data;
|
|
3498
3182
|
};
|
|
@@ -3562,9 +3246,9 @@ export const projectFindByIdResponseTransformer = async (
|
|
|
3562
3246
|
return data;
|
|
3563
3247
|
};
|
|
3564
3248
|
|
|
3565
|
-
export const
|
|
3249
|
+
export const projectPrototypePatchAttributesResponseTransformer = async (
|
|
3566
3250
|
data: any,
|
|
3567
|
-
): Promise<
|
|
3251
|
+
): Promise<ProjectPrototypePatchAttributesResponse> => {
|
|
3568
3252
|
data = projectSchemaResponseTransformer(data);
|
|
3569
3253
|
return data;
|
|
3570
3254
|
};
|
|
@@ -3614,9 +3298,9 @@ export const toolFindOneResponseTransformer = async (
|
|
|
3614
3298
|
return data;
|
|
3615
3299
|
};
|
|
3616
3300
|
|
|
3617
|
-
export const
|
|
3301
|
+
export const toolPrototypePatchAttributesResponseTransformer = async (
|
|
3618
3302
|
data: any,
|
|
3619
|
-
): Promise<
|
|
3303
|
+
): Promise<ToolPrototypePatchAttributesResponse> => {
|
|
3620
3304
|
data = toolSchemaResponseTransformer(data);
|
|
3621
3305
|
return data;
|
|
3622
3306
|
};
|
|
@@ -3644,9 +3328,9 @@ export const fieldFindOneResponseTransformer = async (
|
|
|
3644
3328
|
return data;
|
|
3645
3329
|
};
|
|
3646
3330
|
|
|
3647
|
-
export const
|
|
3331
|
+
export const fieldPrototypePatchAttributesResponseTransformer = async (
|
|
3648
3332
|
data: any,
|
|
3649
|
-
): Promise<
|
|
3333
|
+
): Promise<FieldPrototypePatchAttributesResponse> => {
|
|
3650
3334
|
data = fieldSchemaResponseTransformer(data);
|
|
3651
3335
|
return data;
|
|
3652
3336
|
};
|
|
@@ -3671,48 +3355,6 @@ export const updateInfoFindOneResponseTransformer = async (
|
|
|
3671
3355
|
return data;
|
|
3672
3356
|
};
|
|
3673
3357
|
|
|
3674
|
-
export const workorderFindByIdPartResponseTransformer = async (
|
|
3675
|
-
data: any,
|
|
3676
|
-
): Promise<WorkorderFindByIdPartResponse> => {
|
|
3677
|
-
data = partSchemaResponseTransformer(data);
|
|
3678
|
-
return data;
|
|
3679
|
-
};
|
|
3680
|
-
|
|
3681
|
-
export const workorderUpdateByIdPartResponseTransformer = async (
|
|
3682
|
-
data: any,
|
|
3683
|
-
): Promise<WorkorderUpdateByIdPartResponse> => {
|
|
3684
|
-
data = partSchemaResponseTransformer(data);
|
|
3685
|
-
return data;
|
|
3686
|
-
};
|
|
3687
|
-
|
|
3688
|
-
export const workorderLinkPartResponseTransformer = async (
|
|
3689
|
-
data: any,
|
|
3690
|
-
): Promise<WorkorderLinkPartResponse> => {
|
|
3691
|
-
data = partSchemaResponseTransformer(data);
|
|
3692
|
-
return data;
|
|
3693
|
-
};
|
|
3694
|
-
|
|
3695
|
-
export const workorderFindByIdLocationsResponseTransformer = async (
|
|
3696
|
-
data: any,
|
|
3697
|
-
): Promise<WorkorderFindByIdLocationsResponse> => {
|
|
3698
|
-
data = locationSchemaResponseTransformer(data);
|
|
3699
|
-
return data;
|
|
3700
|
-
};
|
|
3701
|
-
|
|
3702
|
-
export const workorderUpdateByIdLocationsResponseTransformer = async (
|
|
3703
|
-
data: any,
|
|
3704
|
-
): Promise<WorkorderUpdateByIdLocationsResponse> => {
|
|
3705
|
-
data = locationSchemaResponseTransformer(data);
|
|
3706
|
-
return data;
|
|
3707
|
-
};
|
|
3708
|
-
|
|
3709
|
-
export const workorderLinkLocationsResponseTransformer = async (
|
|
3710
|
-
data: any,
|
|
3711
|
-
): Promise<WorkorderLinkLocationsResponse> => {
|
|
3712
|
-
data = locationSchemaResponseTransformer(data);
|
|
3713
|
-
return data;
|
|
3714
|
-
};
|
|
3715
|
-
|
|
3716
3358
|
const kitSchemaResponseTransformer = (data: any) => {
|
|
3717
3359
|
if (data.created) {
|
|
3718
3360
|
data.created = new Date(data.created);
|
|
@@ -3774,83 +3416,29 @@ const workorderSchemaResponseTransformer = (data: any) => {
|
|
|
3774
3416
|
return data;
|
|
3775
3417
|
};
|
|
3776
3418
|
|
|
3777
|
-
export const
|
|
3419
|
+
export const workorderFindByIdResponseTransformer = async (
|
|
3778
3420
|
data: any,
|
|
3779
|
-
): Promise<
|
|
3421
|
+
): Promise<WorkorderFindByIdResponse> => {
|
|
3780
3422
|
data = workorderSchemaResponseTransformer(data);
|
|
3781
3423
|
return data;
|
|
3782
3424
|
};
|
|
3783
3425
|
|
|
3784
|
-
export const
|
|
3426
|
+
export const workorderFindResponseTransformer = async (
|
|
3785
3427
|
data: any,
|
|
3786
|
-
): Promise<
|
|
3787
|
-
data =
|
|
3428
|
+
): Promise<WorkorderFindResponse> => {
|
|
3429
|
+
data = data.map((item: any) => {
|
|
3430
|
+
return workorderSchemaResponseTransformer(item);
|
|
3431
|
+
});
|
|
3788
3432
|
return data;
|
|
3789
3433
|
};
|
|
3790
3434
|
|
|
3791
|
-
export const
|
|
3435
|
+
export const workorderFindOneResponseTransformer = async (
|
|
3792
3436
|
data: any,
|
|
3793
|
-
): Promise<
|
|
3437
|
+
): Promise<WorkorderFindOneResponse> => {
|
|
3794
3438
|
data = workorderSchemaResponseTransformer(data);
|
|
3795
3439
|
return data;
|
|
3796
3440
|
};
|
|
3797
3441
|
|
|
3798
|
-
export const workorderFindByIdKitsResponseTransformer = async (
|
|
3799
|
-
data: any,
|
|
3800
|
-
): Promise<WorkorderFindByIdKitsResponse> => {
|
|
3801
|
-
data = kitSchemaResponseTransformer(data);
|
|
3802
|
-
return data;
|
|
3803
|
-
};
|
|
3804
|
-
|
|
3805
|
-
export const workorderUpdateByIdKitsResponseTransformer = async (
|
|
3806
|
-
data: any,
|
|
3807
|
-
): Promise<WorkorderUpdateByIdKitsResponse> => {
|
|
3808
|
-
data = kitSchemaResponseTransformer(data);
|
|
3809
|
-
return data;
|
|
3810
|
-
};
|
|
3811
|
-
|
|
3812
|
-
export const workorderGetWorkflowResponseTransformer = async (
|
|
3813
|
-
data: any,
|
|
3814
|
-
): Promise<WorkorderGetWorkflowResponse> => {
|
|
3815
|
-
data = workflowSchemaResponseTransformer(data);
|
|
3816
|
-
return data;
|
|
3817
|
-
};
|
|
3818
|
-
|
|
3819
|
-
export const workorderGetUnmatchRevApprovedUserResponseTransformer = async (
|
|
3820
|
-
data: any,
|
|
3821
|
-
): Promise<WorkorderGetUnmatchRevApprovedUserResponse> => {
|
|
3822
|
-
data = userModelSchemaResponseTransformer(data);
|
|
3823
|
-
return data;
|
|
3824
|
-
};
|
|
3825
|
-
|
|
3826
|
-
export const workorderGetNewVersionApprovedUserResponseTransformer = async (
|
|
3827
|
-
data: any,
|
|
3828
|
-
): Promise<WorkorderGetNewVersionApprovedUserResponse> => {
|
|
3829
|
-
data = userModelSchemaResponseTransformer(data);
|
|
3830
|
-
return data;
|
|
3831
|
-
};
|
|
3832
|
-
|
|
3833
|
-
export const workorderFindByIdCurrentLocationsResponseTransformer = async (
|
|
3834
|
-
data: any,
|
|
3835
|
-
): Promise<WorkorderFindByIdCurrentLocationsResponse> => {
|
|
3836
|
-
data = locationSchemaResponseTransformer(data);
|
|
3837
|
-
return data;
|
|
3838
|
-
};
|
|
3839
|
-
|
|
3840
|
-
export const workorderUpdateByIdCurrentLocationsResponseTransformer = async (
|
|
3841
|
-
data: any,
|
|
3842
|
-
): Promise<WorkorderUpdateByIdCurrentLocationsResponse> => {
|
|
3843
|
-
data = locationSchemaResponseTransformer(data);
|
|
3844
|
-
return data;
|
|
3845
|
-
};
|
|
3846
|
-
|
|
3847
|
-
export const workorderLinkCurrentLocationsResponseTransformer = async (
|
|
3848
|
-
data: any,
|
|
3849
|
-
): Promise<WorkorderLinkCurrentLocationsResponse> => {
|
|
3850
|
-
data = locationSchemaResponseTransformer(data);
|
|
3851
|
-
return data;
|
|
3852
|
-
};
|
|
3853
|
-
|
|
3854
3442
|
const timeLogSchemaResponseTransformer = (data: any) => {
|
|
3855
3443
|
if (data.applyTime) {
|
|
3856
3444
|
data.applyTime = new Date(data.applyTime);
|
|
@@ -3891,608 +3479,74 @@ const stockSchemaResponseTransformer = (data: any) => {
|
|
|
3891
3479
|
return data;
|
|
3892
3480
|
};
|
|
3893
3481
|
|
|
3894
|
-
export const
|
|
3895
|
-
data: any,
|
|
3896
|
-
): Promise<WorkorderFindByIdStocksResponse> => {
|
|
3897
|
-
data = stockSchemaResponseTransformer(data);
|
|
3898
|
-
return data;
|
|
3899
|
-
};
|
|
3900
|
-
|
|
3901
|
-
export const workorderUpdateByIdStocksResponseTransformer = async (
|
|
3902
|
-
data: any,
|
|
3903
|
-
): Promise<WorkorderUpdateByIdStocksResponse> => {
|
|
3904
|
-
data = stockSchemaResponseTransformer(data);
|
|
3905
|
-
return data;
|
|
3906
|
-
};
|
|
3907
|
-
|
|
3908
|
-
export const workorderLinkStocksResponseTransformer = async (
|
|
3909
|
-
data: any,
|
|
3910
|
-
): Promise<WorkorderLinkStocksResponse> => {
|
|
3911
|
-
data = stockSchemaResponseTransformer(data);
|
|
3912
|
-
return data;
|
|
3913
|
-
};
|
|
3914
|
-
|
|
3915
|
-
const workflowSessionItemSchemaResponseTransformer = (data: any) => {
|
|
3916
|
-
if (data.start) {
|
|
3917
|
-
data.start = new Date(data.start);
|
|
3918
|
-
}
|
|
3919
|
-
if (data.end) {
|
|
3920
|
-
data.end = new Date(data.end);
|
|
3921
|
-
}
|
|
3922
|
-
if (data.created) {
|
|
3923
|
-
data.created = new Date(data.created);
|
|
3924
|
-
}
|
|
3925
|
-
if (data.modified) {
|
|
3926
|
-
data.modified = new Date(data.modified);
|
|
3927
|
-
}
|
|
3928
|
-
if (data.serverModified) {
|
|
3929
|
-
data.serverModified = new Date(data.serverModified);
|
|
3930
|
-
}
|
|
3931
|
-
if (data.deletedAt) {
|
|
3932
|
-
data.deletedAt = new Date(data.deletedAt);
|
|
3933
|
-
}
|
|
3934
|
-
return data;
|
|
3935
|
-
};
|
|
3936
|
-
|
|
3937
|
-
export const workorderFindByIdSessionsResponseTransformer = async (
|
|
3938
|
-
data: any,
|
|
3939
|
-
): Promise<WorkorderFindByIdSessionsResponse> => {
|
|
3940
|
-
data = workflowSessionItemSchemaResponseTransformer(data);
|
|
3941
|
-
return data;
|
|
3942
|
-
};
|
|
3943
|
-
|
|
3944
|
-
export const workorderUpdateByIdSessionsResponseTransformer = async (
|
|
3945
|
-
data: any,
|
|
3946
|
-
): Promise<WorkorderUpdateByIdSessionsResponse> => {
|
|
3947
|
-
data = workflowSessionItemSchemaResponseTransformer(data);
|
|
3948
|
-
return data;
|
|
3949
|
-
};
|
|
3950
|
-
|
|
3951
|
-
export const workorderLinkSessionsResponseTransformer = async (
|
|
3952
|
-
data: any,
|
|
3953
|
-
): Promise<WorkorderLinkSessionsResponse> => {
|
|
3954
|
-
data = workflowSessionItemSchemaResponseTransformer(data);
|
|
3955
|
-
return data;
|
|
3956
|
-
};
|
|
3957
|
-
|
|
3958
|
-
const workflowTypeSchemaResponseTransformer = (data: any) => {
|
|
3959
|
-
if (data.created) {
|
|
3960
|
-
data.created = new Date(data.created);
|
|
3961
|
-
}
|
|
3962
|
-
if (data.modified) {
|
|
3963
|
-
data.modified = new Date(data.modified);
|
|
3964
|
-
}
|
|
3965
|
-
if (data.serverModified) {
|
|
3966
|
-
data.serverModified = new Date(data.serverModified);
|
|
3967
|
-
}
|
|
3968
|
-
if (data.deletedAt) {
|
|
3969
|
-
data.deletedAt = new Date(data.deletedAt);
|
|
3970
|
-
}
|
|
3971
|
-
return data;
|
|
3972
|
-
};
|
|
3973
|
-
|
|
3974
|
-
export const workorderGetWorkorderTypeResponseTransformer = async (
|
|
3975
|
-
data: any,
|
|
3976
|
-
): Promise<WorkorderGetWorkorderTypeResponse> => {
|
|
3977
|
-
data = workflowTypeSchemaResponseTransformer(data);
|
|
3978
|
-
return data;
|
|
3979
|
-
};
|
|
3980
|
-
|
|
3981
|
-
export const workorderFindByIdGroupModelResponseTransformer = async (
|
|
3982
|
-
data: any,
|
|
3983
|
-
): Promise<WorkorderFindByIdGroupModelResponse> => {
|
|
3984
|
-
data = groupSchemaResponseTransformer(data);
|
|
3985
|
-
return data;
|
|
3986
|
-
};
|
|
3987
|
-
|
|
3988
|
-
export const workorderUpdateByIdGroupModelResponseTransformer = async (
|
|
3989
|
-
data: any,
|
|
3990
|
-
): Promise<WorkorderUpdateByIdGroupModelResponse> => {
|
|
3991
|
-
data = groupSchemaResponseTransformer(data);
|
|
3992
|
-
return data;
|
|
3993
|
-
};
|
|
3994
|
-
|
|
3995
|
-
export const workorderLinkGroupModelResponseTransformer = async (
|
|
3996
|
-
data: any,
|
|
3997
|
-
): Promise<WorkorderLinkGroupModelResponse> => {
|
|
3998
|
-
data = groupSchemaResponseTransformer(data);
|
|
3999
|
-
return data;
|
|
4000
|
-
};
|
|
4001
|
-
|
|
4002
|
-
export const workorderGetPartResponseTransformer = async (
|
|
4003
|
-
data: any,
|
|
4004
|
-
): Promise<WorkorderGetPartResponse> => {
|
|
4005
|
-
data = data.map((item: any) => {
|
|
4006
|
-
return partSchemaResponseTransformer(item);
|
|
4007
|
-
});
|
|
4008
|
-
return data;
|
|
4009
|
-
};
|
|
4010
|
-
|
|
4011
|
-
export const workorderCreatePartResponseTransformer = async (
|
|
4012
|
-
data: any,
|
|
4013
|
-
): Promise<WorkorderCreatePartResponse> => {
|
|
4014
|
-
data = partSchemaResponseTransformer(data);
|
|
4015
|
-
return data;
|
|
4016
|
-
};
|
|
4017
|
-
|
|
4018
|
-
export const workorderGetLocationsResponseTransformer = async (
|
|
4019
|
-
data: any,
|
|
4020
|
-
): Promise<WorkorderGetLocationsResponse> => {
|
|
4021
|
-
data = data.map((item: any) => {
|
|
4022
|
-
return locationSchemaResponseTransformer(item);
|
|
4023
|
-
});
|
|
4024
|
-
return data;
|
|
4025
|
-
};
|
|
4026
|
-
|
|
4027
|
-
export const workorderCreateLocationsResponseTransformer = async (
|
|
4028
|
-
data: any,
|
|
4029
|
-
): Promise<WorkorderCreateLocationsResponse> => {
|
|
4030
|
-
data = locationSchemaResponseTransformer(data);
|
|
4031
|
-
return data;
|
|
4032
|
-
};
|
|
4033
|
-
|
|
4034
|
-
export const workorderGetKitsResponseTransformer = async (
|
|
4035
|
-
data: any,
|
|
4036
|
-
): Promise<WorkorderGetKitsResponse> => {
|
|
4037
|
-
data = data.map((item: any) => {
|
|
4038
|
-
return kitSchemaResponseTransformer(item);
|
|
4039
|
-
});
|
|
4040
|
-
return data;
|
|
4041
|
-
};
|
|
4042
|
-
|
|
4043
|
-
export const workorderCreateKitsResponseTransformer = async (
|
|
4044
|
-
data: any,
|
|
4045
|
-
): Promise<WorkorderCreateKitsResponse> => {
|
|
4046
|
-
data = kitSchemaResponseTransformer(data);
|
|
4047
|
-
return data;
|
|
4048
|
-
};
|
|
4049
|
-
|
|
4050
|
-
export const workorderGetCurrentLocationsResponseTransformer = async (
|
|
4051
|
-
data: any,
|
|
4052
|
-
): Promise<WorkorderGetCurrentLocationsResponse> => {
|
|
4053
|
-
data = data.map((item: any) => {
|
|
4054
|
-
return locationSchemaResponseTransformer(item);
|
|
4055
|
-
});
|
|
4056
|
-
return data;
|
|
4057
|
-
};
|
|
4058
|
-
|
|
4059
|
-
export const workorderCreateCurrentLocationsResponseTransformer = async (
|
|
4060
|
-
data: any,
|
|
4061
|
-
): Promise<WorkorderCreateCurrentLocationsResponse> => {
|
|
4062
|
-
data = locationSchemaResponseTransformer(data);
|
|
4063
|
-
return data;
|
|
4064
|
-
};
|
|
4065
|
-
|
|
4066
|
-
export const workorderGetStocksResponseTransformer = async (
|
|
4067
|
-
data: any,
|
|
4068
|
-
): Promise<WorkorderGetStocksResponse> => {
|
|
4069
|
-
data = data.map((item: any) => {
|
|
4070
|
-
return stockSchemaResponseTransformer(item);
|
|
4071
|
-
});
|
|
4072
|
-
return data;
|
|
4073
|
-
};
|
|
4074
|
-
|
|
4075
|
-
export const workorderCreateStocksResponseTransformer = async (
|
|
4076
|
-
data: any,
|
|
4077
|
-
): Promise<WorkorderCreateStocksResponse> => {
|
|
4078
|
-
data = stockSchemaResponseTransformer(data);
|
|
4079
|
-
return data;
|
|
4080
|
-
};
|
|
4081
|
-
|
|
4082
|
-
export const workorderGetSessionsResponseTransformer = async (
|
|
4083
|
-
data: any,
|
|
4084
|
-
): Promise<WorkorderGetSessionsResponse> => {
|
|
4085
|
-
data = data.map((item: any) => {
|
|
4086
|
-
return workflowSessionItemSchemaResponseTransformer(item);
|
|
4087
|
-
});
|
|
4088
|
-
return data;
|
|
4089
|
-
};
|
|
4090
|
-
|
|
4091
|
-
export const workorderCreateSessionsResponseTransformer = async (
|
|
4092
|
-
data: any,
|
|
4093
|
-
): Promise<WorkorderCreateSessionsResponse> => {
|
|
4094
|
-
data = workflowSessionItemSchemaResponseTransformer(data);
|
|
4095
|
-
return data;
|
|
4096
|
-
};
|
|
4097
|
-
|
|
4098
|
-
export const workorderGetGroupModelResponseTransformer = async (
|
|
4099
|
-
data: any,
|
|
4100
|
-
): Promise<WorkorderGetGroupModelResponse> => {
|
|
4101
|
-
data = data.map((item: any) => {
|
|
4102
|
-
return groupSchemaResponseTransformer(item);
|
|
4103
|
-
});
|
|
4104
|
-
return data;
|
|
4105
|
-
};
|
|
4106
|
-
|
|
4107
|
-
export const workorderCreateGroupModelResponseTransformer = async (
|
|
4108
|
-
data: any,
|
|
4109
|
-
): Promise<WorkorderCreateGroupModelResponse> => {
|
|
4110
|
-
data = groupSchemaResponseTransformer(data);
|
|
4111
|
-
return data;
|
|
4112
|
-
};
|
|
4113
|
-
|
|
4114
|
-
export const workorderFindResponseTransformer = async (
|
|
4115
|
-
data: any,
|
|
4116
|
-
): Promise<WorkorderFindResponse> => {
|
|
4117
|
-
data = data.map((item: any) => {
|
|
4118
|
-
return workorderSchemaResponseTransformer(item);
|
|
4119
|
-
});
|
|
4120
|
-
return data;
|
|
4121
|
-
};
|
|
4122
|
-
|
|
4123
|
-
export const workorderPatchOrCreateResponseTransformer = async (
|
|
4124
|
-
data: any,
|
|
4125
|
-
): Promise<WorkorderPatchOrCreateResponse> => {
|
|
4126
|
-
data = workorderSchemaResponseTransformer(data);
|
|
4127
|
-
return data;
|
|
4128
|
-
};
|
|
4129
|
-
|
|
4130
|
-
export const workorderReplaceOrCreatePutWorkordersResponseTransformer = async (
|
|
4131
|
-
data: any,
|
|
4132
|
-
): Promise<WorkorderReplaceOrCreatePutWorkordersResponse> => {
|
|
4133
|
-
data = workorderSchemaResponseTransformer(data);
|
|
4134
|
-
return data;
|
|
4135
|
-
};
|
|
4136
|
-
|
|
4137
|
-
export const workorderReplaceOrCreatePostWorkordersReplaceOrCreateResponseTransformer =
|
|
4138
|
-
async (
|
|
4139
|
-
data: any,
|
|
4140
|
-
): Promise<WorkorderReplaceOrCreatePostWorkordersReplaceOrCreateResponse> => {
|
|
4141
|
-
data = workorderSchemaResponseTransformer(data);
|
|
4142
|
-
return data;
|
|
4143
|
-
};
|
|
4144
|
-
|
|
4145
|
-
export const workorderUpsertWithWhereResponseTransformer = async (
|
|
4146
|
-
data: any,
|
|
4147
|
-
): Promise<WorkorderUpsertWithWhereResponse> => {
|
|
4148
|
-
data = workorderSchemaResponseTransformer(data);
|
|
4149
|
-
return data;
|
|
4150
|
-
};
|
|
4151
|
-
|
|
4152
|
-
export const workorderFindByIdResponseTransformer = async (
|
|
4153
|
-
data: any,
|
|
4154
|
-
): Promise<WorkorderFindByIdResponse> => {
|
|
4155
|
-
data = workorderSchemaResponseTransformer(data);
|
|
4156
|
-
return data;
|
|
4157
|
-
};
|
|
4158
|
-
|
|
4159
|
-
export const workorderReplaceByIdPutWorkordersIdResponseTransformer = async (
|
|
4160
|
-
data: any,
|
|
4161
|
-
): Promise<WorkorderReplaceByIdPutWorkordersIdResponse> => {
|
|
4162
|
-
data = workorderSchemaResponseTransformer(data);
|
|
4163
|
-
return data;
|
|
4164
|
-
};
|
|
4165
|
-
|
|
4166
|
-
export const workorderReplaceByIdPostWorkordersIdReplaceResponseTransformer =
|
|
4167
|
-
async (
|
|
4168
|
-
data: any,
|
|
4169
|
-
): Promise<WorkorderReplaceByIdPostWorkordersIdReplaceResponse> => {
|
|
4170
|
-
data = workorderSchemaResponseTransformer(data);
|
|
4171
|
-
return data;
|
|
4172
|
-
};
|
|
4173
|
-
|
|
4174
|
-
export const workorderFindOneResponseTransformer = async (
|
|
4175
|
-
data: any,
|
|
4176
|
-
): Promise<WorkorderFindOneResponse> => {
|
|
4177
|
-
data = workorderSchemaResponseTransformer(data);
|
|
4178
|
-
return data;
|
|
4179
|
-
};
|
|
4180
|
-
|
|
4181
|
-
export const workorderSetSessionSerialResponseTransformer = async (
|
|
4182
|
-
data: any,
|
|
4183
|
-
): Promise<WorkorderSetSessionSerialResponse> => {
|
|
4184
|
-
data = stockSchemaResponseTransformer(data);
|
|
4185
|
-
return data;
|
|
4186
|
-
};
|
|
4187
|
-
|
|
4188
|
-
export const workorderSetStockSerialsResponseTransformer = async (
|
|
4189
|
-
data: any,
|
|
4190
|
-
): Promise<WorkorderSetStockSerialsResponse> => {
|
|
4191
|
-
data = stockSchemaResponseTransformer(data);
|
|
4192
|
-
return data;
|
|
4193
|
-
};
|
|
4194
|
-
|
|
4195
|
-
export const workorderCommitResponseTransformer = async (
|
|
4196
|
-
data: any,
|
|
4197
|
-
): Promise<WorkorderCommitResponse> => {
|
|
4198
|
-
data = stockSchemaResponseTransformer(data);
|
|
4199
|
-
return data;
|
|
4200
|
-
};
|
|
4201
|
-
|
|
4202
|
-
export const workorderSetStockSerialsLocalResponseTransformer = async (
|
|
4203
|
-
data: any,
|
|
4204
|
-
): Promise<WorkorderSetStockSerialsLocalResponse> => {
|
|
4205
|
-
data = stockSchemaResponseTransformer(data);
|
|
4206
|
-
return data;
|
|
4207
|
-
};
|
|
4208
|
-
|
|
4209
|
-
export const workorderGetResponseTransformer = async (
|
|
4210
|
-
data: any,
|
|
4211
|
-
): Promise<WorkorderGetResponse> => {
|
|
4212
|
-
data = workorderSchemaResponseTransformer(data);
|
|
4213
|
-
return data;
|
|
4214
|
-
};
|
|
4215
|
-
|
|
4216
|
-
export const workorderAssignResponseTransformer = async (
|
|
4217
|
-
data: any,
|
|
4218
|
-
): Promise<WorkorderAssignResponse> => {
|
|
4219
|
-
data = workorderSchemaResponseTransformer(data);
|
|
4220
|
-
return data;
|
|
4221
|
-
};
|
|
4222
|
-
|
|
4223
|
-
export const workorderChangeGroupsResponseTransformer = async (
|
|
4224
|
-
data: any,
|
|
4225
|
-
): Promise<WorkorderChangeGroupsResponse> => {
|
|
4226
|
-
data = workorderSchemaResponseTransformer(data);
|
|
4227
|
-
return data;
|
|
4228
|
-
};
|
|
4229
|
-
|
|
4230
|
-
export const stockGetPartResponseTransformer = async (
|
|
4231
|
-
data: any,
|
|
4232
|
-
): Promise<StockGetPartResponse> => {
|
|
4233
|
-
data = partSchemaResponseTransformer(data);
|
|
4234
|
-
return data;
|
|
4235
|
-
};
|
|
4236
|
-
|
|
4237
|
-
export const stockGetLocationResponseTransformer = async (
|
|
4238
|
-
data: any,
|
|
4239
|
-
): Promise<StockGetLocationResponse> => {
|
|
4240
|
-
data = locationSchemaResponseTransformer(data);
|
|
4241
|
-
return data;
|
|
4242
|
-
};
|
|
4243
|
-
|
|
4244
|
-
export const stockFindByIdLocationsResponseTransformer = async (
|
|
4245
|
-
data: any,
|
|
4246
|
-
): Promise<StockFindByIdLocationsResponse> => {
|
|
4247
|
-
data = locationSchemaResponseTransformer(data);
|
|
4248
|
-
return data;
|
|
4249
|
-
};
|
|
4250
|
-
|
|
4251
|
-
export const stockUpdateByIdLocationsResponseTransformer = async (
|
|
4252
|
-
data: any,
|
|
4253
|
-
): Promise<StockUpdateByIdLocationsResponse> => {
|
|
4254
|
-
data = locationSchemaResponseTransformer(data);
|
|
4255
|
-
return data;
|
|
4256
|
-
};
|
|
4257
|
-
|
|
4258
|
-
export const stockLinkLocationsResponseTransformer = async (
|
|
4259
|
-
data: any,
|
|
4260
|
-
): Promise<StockLinkLocationsResponse> => {
|
|
4261
|
-
data = locationSchemaResponseTransformer(data);
|
|
4262
|
-
return data;
|
|
4263
|
-
};
|
|
4264
|
-
|
|
4265
|
-
export const stockGetWorkorderResponseTransformer = async (
|
|
4266
|
-
data: any,
|
|
4267
|
-
): Promise<StockGetWorkorderResponse> => {
|
|
4268
|
-
data = workorderSchemaResponseTransformer(data);
|
|
4269
|
-
return data;
|
|
4270
|
-
};
|
|
4271
|
-
|
|
4272
|
-
export const stockGetActiveUserResponseTransformer = async (
|
|
4273
|
-
data: any,
|
|
4274
|
-
): Promise<StockGetActiveUserResponse> => {
|
|
4275
|
-
data = userModelSchemaResponseTransformer(data);
|
|
4276
|
-
return data;
|
|
4277
|
-
};
|
|
4278
|
-
|
|
4279
|
-
export const stockGetParentStockResponseTransformer = async (
|
|
4280
|
-
data: any,
|
|
4281
|
-
): Promise<StockGetParentStockResponse> => {
|
|
4282
|
-
data = stockSchemaResponseTransformer(data);
|
|
4283
|
-
return data;
|
|
4284
|
-
};
|
|
4285
|
-
|
|
4286
|
-
export const stockFindByIdChildStockResponseTransformer = async (
|
|
4287
|
-
data: any,
|
|
4288
|
-
): Promise<StockFindByIdChildStockResponse> => {
|
|
4289
|
-
data = stockSchemaResponseTransformer(data);
|
|
4290
|
-
return data;
|
|
4291
|
-
};
|
|
4292
|
-
|
|
4293
|
-
export const stockUpdateByIdChildStockResponseTransformer = async (
|
|
4294
|
-
data: any,
|
|
4295
|
-
): Promise<StockUpdateByIdChildStockResponse> => {
|
|
4296
|
-
data = stockSchemaResponseTransformer(data);
|
|
4297
|
-
return data;
|
|
4298
|
-
};
|
|
4299
|
-
|
|
4300
|
-
export const stockLinkChildStockResponseTransformer = async (
|
|
4301
|
-
data: any,
|
|
4302
|
-
): Promise<StockLinkChildStockResponse> => {
|
|
4303
|
-
data = stockSchemaResponseTransformer(data);
|
|
4304
|
-
return data;
|
|
4305
|
-
};
|
|
4306
|
-
|
|
4307
|
-
export const stockFindByIdUsersResponseTransformer = async (
|
|
4308
|
-
data: any,
|
|
4309
|
-
): Promise<StockFindByIdUsersResponse> => {
|
|
4310
|
-
data = userModelSchemaResponseTransformer(data);
|
|
4311
|
-
return data;
|
|
4312
|
-
};
|
|
4313
|
-
|
|
4314
|
-
export const stockUpdateByIdUsersResponseTransformer = async (
|
|
4315
|
-
data: any,
|
|
4316
|
-
): Promise<StockUpdateByIdUsersResponse> => {
|
|
4317
|
-
data = userModelSchemaResponseTransformer(data);
|
|
4318
|
-
return data;
|
|
4319
|
-
};
|
|
4320
|
-
|
|
4321
|
-
export const stockLinkUsersResponseTransformer = async (
|
|
4322
|
-
data: any,
|
|
4323
|
-
): Promise<StockLinkUsersResponse> => {
|
|
4324
|
-
data = userModelSchemaResponseTransformer(data);
|
|
4325
|
-
return data;
|
|
4326
|
-
};
|
|
4327
|
-
|
|
4328
|
-
export const stockGetWorkWithoutKitApprovedResponseTransformer = async (
|
|
4329
|
-
data: any,
|
|
4330
|
-
): Promise<StockGetWorkWithoutKitApprovedResponse> => {
|
|
4331
|
-
data = userModelSchemaResponseTransformer(data);
|
|
4332
|
-
return data;
|
|
4333
|
-
};
|
|
4334
|
-
|
|
4335
|
-
export const stockFindByIdTimeLogResponseTransformer = async (
|
|
4336
|
-
data: any,
|
|
4337
|
-
): Promise<StockFindByIdTimeLogResponse> => {
|
|
4338
|
-
data = timeLogSchemaResponseTransformer(data);
|
|
4339
|
-
return data;
|
|
4340
|
-
};
|
|
4341
|
-
|
|
4342
|
-
export const stockUpdateByIdTimeLogResponseTransformer = async (
|
|
4343
|
-
data: any,
|
|
4344
|
-
): Promise<StockUpdateByIdTimeLogResponse> => {
|
|
4345
|
-
data = timeLogSchemaResponseTransformer(data);
|
|
4346
|
-
return data;
|
|
4347
|
-
};
|
|
4348
|
-
|
|
4349
|
-
export const stockGetWorkflowSessionItemResponseTransformer = async (
|
|
4350
|
-
data: any,
|
|
4351
|
-
): Promise<StockGetWorkflowSessionItemResponse> => {
|
|
4352
|
-
data = workflowSessionItemSchemaResponseTransformer(data);
|
|
4353
|
-
return data;
|
|
4354
|
-
};
|
|
4355
|
-
|
|
4356
|
-
export const stockGetUserResponseTransformer = async (
|
|
4357
|
-
data: any,
|
|
4358
|
-
): Promise<StockGetUserResponse> => {
|
|
4359
|
-
data = userModelSchemaResponseTransformer(data);
|
|
4360
|
-
return data;
|
|
4361
|
-
};
|
|
4362
|
-
|
|
4363
|
-
export const stockGetLocationsResponseTransformer = async (
|
|
4364
|
-
data: any,
|
|
4365
|
-
): Promise<StockGetLocationsResponse> => {
|
|
4366
|
-
data = data.map((item: any) => {
|
|
4367
|
-
return locationSchemaResponseTransformer(item);
|
|
4368
|
-
});
|
|
4369
|
-
return data;
|
|
4370
|
-
};
|
|
4371
|
-
|
|
4372
|
-
export const stockCreateLocationsResponseTransformer = async (
|
|
4373
|
-
data: any,
|
|
4374
|
-
): Promise<StockCreateLocationsResponse> => {
|
|
4375
|
-
data = locationSchemaResponseTransformer(data);
|
|
4376
|
-
return data;
|
|
4377
|
-
};
|
|
4378
|
-
|
|
4379
|
-
export const stockGetChildStockResponseTransformer = async (
|
|
4380
|
-
data: any,
|
|
4381
|
-
): Promise<StockGetChildStockResponse> => {
|
|
4382
|
-
data = data.map((item: any) => {
|
|
4383
|
-
return stockSchemaResponseTransformer(item);
|
|
4384
|
-
});
|
|
4385
|
-
return data;
|
|
4386
|
-
};
|
|
4387
|
-
|
|
4388
|
-
export const stockCreateChildStockResponseTransformer = async (
|
|
4389
|
-
data: any,
|
|
4390
|
-
): Promise<StockCreateChildStockResponse> => {
|
|
4391
|
-
data = stockSchemaResponseTransformer(data);
|
|
4392
|
-
return data;
|
|
4393
|
-
};
|
|
4394
|
-
|
|
4395
|
-
export const stockGetUsersResponseTransformer = async (
|
|
4396
|
-
data: any,
|
|
4397
|
-
): Promise<StockGetUsersResponse> => {
|
|
4398
|
-
data = data.map((item: any) => {
|
|
4399
|
-
return userModelSchemaResponseTransformer(item);
|
|
4400
|
-
});
|
|
4401
|
-
return data;
|
|
4402
|
-
};
|
|
4403
|
-
|
|
4404
|
-
export const stockCreateUsersResponseTransformer = async (
|
|
4405
|
-
data: any,
|
|
4406
|
-
): Promise<StockCreateUsersResponse> => {
|
|
4407
|
-
data = userModelSchemaResponseTransformer(data);
|
|
4408
|
-
return data;
|
|
4409
|
-
};
|
|
4410
|
-
|
|
4411
|
-
export const stockGetTimeLogResponseTransformer = async (
|
|
4412
|
-
data: any,
|
|
4413
|
-
): Promise<StockGetTimeLogResponse> => {
|
|
4414
|
-
data = data.map((item: any) => {
|
|
4415
|
-
return timeLogSchemaResponseTransformer(item);
|
|
4416
|
-
});
|
|
4417
|
-
return data;
|
|
4418
|
-
};
|
|
4419
|
-
|
|
4420
|
-
export const stockCreateTimeLogResponseTransformer = async (
|
|
3482
|
+
export const workorderSetSessionSerialResponseTransformer = async (
|
|
4421
3483
|
data: any,
|
|
4422
|
-
): Promise<
|
|
4423
|
-
data =
|
|
3484
|
+
): Promise<WorkorderSetSessionSerialResponse> => {
|
|
3485
|
+
data = stockSchemaResponseTransformer(data);
|
|
4424
3486
|
return data;
|
|
4425
3487
|
};
|
|
4426
3488
|
|
|
4427
|
-
export const
|
|
3489
|
+
export const workorderPrototypeSetStockSerialsResponseTransformer = async (
|
|
4428
3490
|
data: any,
|
|
4429
|
-
): Promise<
|
|
4430
|
-
data = data
|
|
4431
|
-
return stockSchemaResponseTransformer(item);
|
|
4432
|
-
});
|
|
3491
|
+
): Promise<WorkorderPrototypeSetStockSerialsResponse> => {
|
|
3492
|
+
data = stockSchemaResponseTransformer(data);
|
|
4433
3493
|
return data;
|
|
4434
3494
|
};
|
|
4435
3495
|
|
|
4436
|
-
export const
|
|
3496
|
+
export const workorderPrototypeCommitResponseTransformer = async (
|
|
4437
3497
|
data: any,
|
|
4438
|
-
): Promise<
|
|
3498
|
+
): Promise<WorkorderPrototypeCommitResponse> => {
|
|
4439
3499
|
data = stockSchemaResponseTransformer(data);
|
|
4440
3500
|
return data;
|
|
4441
3501
|
};
|
|
4442
3502
|
|
|
4443
|
-
export const
|
|
3503
|
+
export const workorderGetResponseTransformer = async (
|
|
4444
3504
|
data: any,
|
|
4445
|
-
): Promise<
|
|
4446
|
-
data =
|
|
3505
|
+
): Promise<WorkorderGetResponse> => {
|
|
3506
|
+
data = workorderSchemaResponseTransformer(data);
|
|
4447
3507
|
return data;
|
|
4448
3508
|
};
|
|
4449
3509
|
|
|
4450
|
-
export const
|
|
3510
|
+
export const workorderAssignResponseTransformer = async (
|
|
4451
3511
|
data: any,
|
|
4452
|
-
): Promise<
|
|
4453
|
-
data =
|
|
3512
|
+
): Promise<WorkorderAssignResponse> => {
|
|
3513
|
+
data = workorderSchemaResponseTransformer(data);
|
|
4454
3514
|
return data;
|
|
4455
3515
|
};
|
|
4456
3516
|
|
|
4457
|
-
export const
|
|
4458
|
-
async (
|
|
4459
|
-
data: any,
|
|
4460
|
-
): Promise<StockReplaceOrCreatePostStocksReplaceOrCreateResponse> => {
|
|
4461
|
-
data = stockSchemaResponseTransformer(data);
|
|
4462
|
-
return data;
|
|
4463
|
-
};
|
|
4464
|
-
|
|
4465
|
-
export const stockUpsertWithWhereResponseTransformer = async (
|
|
3517
|
+
export const workorderChangeGroupsResponseTransformer = async (
|
|
4466
3518
|
data: any,
|
|
4467
|
-
): Promise<
|
|
4468
|
-
data =
|
|
3519
|
+
): Promise<WorkorderChangeGroupsResponse> => {
|
|
3520
|
+
data = workorderSchemaResponseTransformer(data);
|
|
4469
3521
|
return data;
|
|
4470
3522
|
};
|
|
4471
3523
|
|
|
4472
|
-
export const
|
|
3524
|
+
export const stockFindResponseTransformer = async (
|
|
4473
3525
|
data: any,
|
|
4474
|
-
): Promise<
|
|
4475
|
-
data =
|
|
3526
|
+
): Promise<StockFindResponse> => {
|
|
3527
|
+
data = data.map((item: any) => {
|
|
3528
|
+
return stockSchemaResponseTransformer(item);
|
|
3529
|
+
});
|
|
4476
3530
|
return data;
|
|
4477
3531
|
};
|
|
4478
3532
|
|
|
4479
|
-
export const
|
|
3533
|
+
export const stockCreateResponseTransformer = async (
|
|
4480
3534
|
data: any,
|
|
4481
|
-
): Promise<
|
|
3535
|
+
): Promise<StockCreateResponse> => {
|
|
4482
3536
|
data = stockSchemaResponseTransformer(data);
|
|
4483
3537
|
return data;
|
|
4484
3538
|
};
|
|
4485
3539
|
|
|
4486
|
-
export const
|
|
3540
|
+
export const stockFindByIdResponseTransformer = async (
|
|
4487
3541
|
data: any,
|
|
4488
|
-
): Promise<
|
|
3542
|
+
): Promise<StockFindByIdResponse> => {
|
|
4489
3543
|
data = stockSchemaResponseTransformer(data);
|
|
4490
3544
|
return data;
|
|
4491
3545
|
};
|
|
4492
3546
|
|
|
4493
|
-
export const
|
|
3547
|
+
export const stockPrototypePatchAttributesResponseTransformer = async (
|
|
4494
3548
|
data: any,
|
|
4495
|
-
): Promise<
|
|
3549
|
+
): Promise<StockPrototypePatchAttributesResponse> => {
|
|
4496
3550
|
data = stockSchemaResponseTransformer(data);
|
|
4497
3551
|
return data;
|
|
4498
3552
|
};
|
|
@@ -4504,16 +3558,9 @@ export const stockFindOneResponseTransformer = async (
|
|
|
4504
3558
|
return data;
|
|
4505
3559
|
};
|
|
4506
3560
|
|
|
4507
|
-
export const
|
|
3561
|
+
export const pagesPrototypeGetUserResponseTransformer = async (
|
|
4508
3562
|
data: any,
|
|
4509
|
-
): Promise<
|
|
4510
|
-
data = stockSchemaResponseTransformer(data);
|
|
4511
|
-
return data;
|
|
4512
|
-
};
|
|
4513
|
-
|
|
4514
|
-
export const pagesGetUserResponseTransformer = async (
|
|
4515
|
-
data: any,
|
|
4516
|
-
): Promise<PagesGetUserResponse> => {
|
|
3563
|
+
): Promise<PagesPrototypeGetUserResponse> => {
|
|
4517
3564
|
data = userModelSchemaResponseTransformer(data);
|
|
4518
3565
|
return data;
|
|
4519
3566
|
};
|
|
@@ -4586,9 +3633,9 @@ export const pagesFindByIdResponseTransformer = async (
|
|
|
4586
3633
|
return data;
|
|
4587
3634
|
};
|
|
4588
3635
|
|
|
4589
|
-
export const
|
|
3636
|
+
export const pagesPrototypePatchAttributesResponseTransformer = async (
|
|
4590
3637
|
data: any,
|
|
4591
|
-
): Promise<
|
|
3638
|
+
): Promise<PagesPrototypePatchAttributesResponse> => {
|
|
4592
3639
|
data = pagesSchemaResponseTransformer(data);
|
|
4593
3640
|
return data;
|
|
4594
3641
|
};
|
|
@@ -4614,9 +3661,9 @@ export const pagesFindOneResponseTransformer = async (
|
|
|
4614
3661
|
return data;
|
|
4615
3662
|
};
|
|
4616
3663
|
|
|
4617
|
-
export const
|
|
3664
|
+
export const menusPrototypeGetUserResponseTransformer = async (
|
|
4618
3665
|
data: any,
|
|
4619
|
-
): Promise<
|
|
3666
|
+
): Promise<MenusPrototypeGetUserResponse> => {
|
|
4620
3667
|
data = userModelSchemaResponseTransformer(data);
|
|
4621
3668
|
return data;
|
|
4622
3669
|
};
|
|
@@ -4686,9 +3733,9 @@ export const menusFindByIdResponseTransformer = async (
|
|
|
4686
3733
|
return data;
|
|
4687
3734
|
};
|
|
4688
3735
|
|
|
4689
|
-
export const
|
|
3736
|
+
export const menusPrototypePatchAttributesResponseTransformer = async (
|
|
4690
3737
|
data: any,
|
|
4691
|
-
): Promise<
|
|
3738
|
+
): Promise<MenusPrototypePatchAttributesResponse> => {
|
|
4692
3739
|
data = menusSchemaResponseTransformer(data);
|
|
4693
3740
|
return data;
|
|
4694
3741
|
};
|
|
@@ -4714,9 +3761,9 @@ export const menusFindOneResponseTransformer = async (
|
|
|
4714
3761
|
return data;
|
|
4715
3762
|
};
|
|
4716
3763
|
|
|
4717
|
-
export const
|
|
3764
|
+
export const rulePrototypeGetUserResponseTransformer = async (
|
|
4718
3765
|
data: any,
|
|
4719
|
-
): Promise<
|
|
3766
|
+
): Promise<RulePrototypeGetUserResponse> => {
|
|
4720
3767
|
data = userModelSchemaResponseTransformer(data);
|
|
4721
3768
|
return data;
|
|
4722
3769
|
};
|
|
@@ -4786,9 +3833,9 @@ export const ruleFindByIdResponseTransformer = async (
|
|
|
4786
3833
|
return data;
|
|
4787
3834
|
};
|
|
4788
3835
|
|
|
4789
|
-
export const
|
|
3836
|
+
export const rulePrototypePatchAttributesResponseTransformer = async (
|
|
4790
3837
|
data: any,
|
|
4791
|
-
): Promise<
|
|
3838
|
+
): Promise<RulePrototypePatchAttributesResponse> => {
|
|
4792
3839
|
data = ruleSchemaResponseTransformer(data);
|
|
4793
3840
|
return data;
|
|
4794
3841
|
};
|
|
@@ -4837,9 +3884,9 @@ export const groupFindOneResponseTransformer = async (
|
|
|
4837
3884
|
return data;
|
|
4838
3885
|
};
|
|
4839
3886
|
|
|
4840
|
-
export const
|
|
3887
|
+
export const groupPrototypePatchAttributesResponseTransformer = async (
|
|
4841
3888
|
data: any,
|
|
4842
|
-
): Promise<
|
|
3889
|
+
): Promise<GroupPrototypePatchAttributesResponse> => {
|
|
4843
3890
|
data = groupSchemaResponseTransformer(data);
|
|
4844
3891
|
return data;
|
|
4845
3892
|
};
|
|
@@ -4880,9 +3927,9 @@ export const categoryFindOneResponseTransformer = async (
|
|
|
4880
3927
|
return data;
|
|
4881
3928
|
};
|
|
4882
3929
|
|
|
4883
|
-
export const
|
|
3930
|
+
export const categoryPrototypePatchAttributesResponseTransformer = async (
|
|
4884
3931
|
data: any,
|
|
4885
|
-
): Promise<
|
|
3932
|
+
): Promise<CategoryPrototypePatchAttributesResponse> => {
|
|
4886
3933
|
data = categorySchemaResponseTransformer(data);
|
|
4887
3934
|
return data;
|
|
4888
3935
|
};
|
|
@@ -4926,9 +3973,9 @@ export const forumFindOneResponseTransformer = async (
|
|
|
4926
3973
|
return data;
|
|
4927
3974
|
};
|
|
4928
3975
|
|
|
4929
|
-
export const
|
|
3976
|
+
export const forumPrototypePatchAttributesResponseTransformer = async (
|
|
4930
3977
|
data: any,
|
|
4931
|
-
): Promise<
|
|
3978
|
+
): Promise<ForumPrototypePatchAttributesResponse> => {
|
|
4932
3979
|
data = forumSchemaResponseTransformer(data);
|
|
4933
3980
|
return data;
|
|
4934
3981
|
};
|
|
@@ -4972,9 +4019,9 @@ export const postFindOneResponseTransformer = async (
|
|
|
4972
4019
|
return data;
|
|
4973
4020
|
};
|
|
4974
4021
|
|
|
4975
|
-
export const
|
|
4022
|
+
export const postPrototypePatchAttributesResponseTransformer = async (
|
|
4976
4023
|
data: any,
|
|
4977
|
-
): Promise<
|
|
4024
|
+
): Promise<PostPrototypePatchAttributesResponse> => {
|
|
4978
4025
|
data = postSchemaResponseTransformer(data);
|
|
4979
4026
|
return data;
|
|
4980
4027
|
};
|
|
@@ -5018,9 +4065,9 @@ export const commentFindOneResponseTransformer = async (
|
|
|
5018
4065
|
return data;
|
|
5019
4066
|
};
|
|
5020
4067
|
|
|
5021
|
-
export const
|
|
4068
|
+
export const commentPrototypePatchAttributesResponseTransformer = async (
|
|
5022
4069
|
data: any,
|
|
5023
|
-
): Promise<
|
|
4070
|
+
): Promise<CommentPrototypePatchAttributesResponse> => {
|
|
5024
4071
|
data = commentSchemaResponseTransformer(data);
|
|
5025
4072
|
return data;
|
|
5026
4073
|
};
|
|
@@ -5054,9 +4101,9 @@ export const priorityLabelFindOneResponseTransformer = async (
|
|
|
5054
4101
|
return data;
|
|
5055
4102
|
};
|
|
5056
4103
|
|
|
5057
|
-
export const
|
|
4104
|
+
export const priorityLabelPrototypePatchAttributesResponseTransformer = async (
|
|
5058
4105
|
data: any,
|
|
5059
|
-
): Promise<
|
|
4106
|
+
): Promise<PriorityLabelPrototypePatchAttributesResponse> => {
|
|
5060
4107
|
data = priorityLabelSchemaResponseTransformer(data);
|
|
5061
4108
|
return data;
|
|
5062
4109
|
};
|
|
@@ -5084,9 +4131,9 @@ export const voteMappingCreateResponseTransformer = async (
|
|
|
5084
4131
|
return data;
|
|
5085
4132
|
};
|
|
5086
4133
|
|
|
5087
|
-
export const
|
|
4134
|
+
export const voteMappingPrototypePatchAttributesResponseTransformer = async (
|
|
5088
4135
|
data: any,
|
|
5089
|
-
): Promise<
|
|
4136
|
+
): Promise<VoteMappingPrototypePatchAttributesResponse> => {
|
|
5090
4137
|
data = voteMappingSchemaResponseTransformer(data);
|
|
5091
4138
|
return data;
|
|
5092
4139
|
};
|
|
@@ -5104,39 +4151,39 @@ const connectorFunctionSchemaResponseTransformer = (data: any) => {
|
|
|
5104
4151
|
return data;
|
|
5105
4152
|
};
|
|
5106
4153
|
|
|
5107
|
-
export const
|
|
4154
|
+
export const connectorPrototypeFindByIdFunctionsResponseTransformer = async (
|
|
5108
4155
|
data: any,
|
|
5109
|
-
): Promise<
|
|
4156
|
+
): Promise<ConnectorPrototypeFindByIdFunctionsResponse> => {
|
|
5110
4157
|
data = connectorFunctionSchemaResponseTransformer(data);
|
|
5111
4158
|
return data;
|
|
5112
4159
|
};
|
|
5113
4160
|
|
|
5114
|
-
export const
|
|
4161
|
+
export const connectorPrototypeUpdateByIdFunctionsResponseTransformer = async (
|
|
5115
4162
|
data: any,
|
|
5116
|
-
): Promise<
|
|
4163
|
+
): Promise<ConnectorPrototypeUpdateByIdFunctionsResponse> => {
|
|
5117
4164
|
data = connectorFunctionSchemaResponseTransformer(data);
|
|
5118
4165
|
return data;
|
|
5119
4166
|
};
|
|
5120
4167
|
|
|
5121
|
-
export const
|
|
4168
|
+
export const connectorPrototypeGetUserResponseTransformer = async (
|
|
5122
4169
|
data: any,
|
|
5123
|
-
): Promise<
|
|
4170
|
+
): Promise<ConnectorPrototypeGetUserResponse> => {
|
|
5124
4171
|
data = userModelSchemaResponseTransformer(data);
|
|
5125
4172
|
return data;
|
|
5126
4173
|
};
|
|
5127
4174
|
|
|
5128
|
-
export const
|
|
4175
|
+
export const connectorPrototypeGetFunctionsResponseTransformer = async (
|
|
5129
4176
|
data: any,
|
|
5130
|
-
): Promise<
|
|
4177
|
+
): Promise<ConnectorPrototypeGetFunctionsResponse> => {
|
|
5131
4178
|
data = data.map((item: any) => {
|
|
5132
4179
|
return connectorFunctionSchemaResponseTransformer(item);
|
|
5133
4180
|
});
|
|
5134
4181
|
return data;
|
|
5135
4182
|
};
|
|
5136
4183
|
|
|
5137
|
-
export const
|
|
4184
|
+
export const connectorPrototypeCreateFunctionsResponseTransformer = async (
|
|
5138
4185
|
data: any,
|
|
5139
|
-
): Promise<
|
|
4186
|
+
): Promise<ConnectorPrototypeCreateFunctionsResponse> => {
|
|
5140
4187
|
data = connectorFunctionSchemaResponseTransformer(data);
|
|
5141
4188
|
return data;
|
|
5142
4189
|
};
|
|
@@ -5206,9 +4253,9 @@ export const connectorFindByIdResponseTransformer = async (
|
|
|
5206
4253
|
return data;
|
|
5207
4254
|
};
|
|
5208
4255
|
|
|
5209
|
-
export const
|
|
4256
|
+
export const connectorPrototypePatchAttributesResponseTransformer = async (
|
|
5210
4257
|
data: any,
|
|
5211
|
-
): Promise<
|
|
4258
|
+
): Promise<ConnectorPrototypePatchAttributesResponse> => {
|
|
5212
4259
|
data = connectorSchemaResponseTransformer(data);
|
|
5213
4260
|
return data;
|
|
5214
4261
|
};
|
|
@@ -5235,9 +4282,9 @@ export const connectorFindOneResponseTransformer = async (
|
|
|
5235
4282
|
return data;
|
|
5236
4283
|
};
|
|
5237
4284
|
|
|
5238
|
-
export const
|
|
4285
|
+
export const connectorFunctionPrototypeGetUserResponseTransformer = async (
|
|
5239
4286
|
data: any,
|
|
5240
|
-
): Promise<
|
|
4287
|
+
): Promise<ConnectorFunctionPrototypeGetUserResponse> => {
|
|
5241
4288
|
data = userModelSchemaResponseTransformer(data);
|
|
5242
4289
|
return data;
|
|
5243
4290
|
};
|
|
@@ -5295,12 +4342,13 @@ export const connectorFunctionFindByIdResponseTransformer = async (
|
|
|
5295
4342
|
return data;
|
|
5296
4343
|
};
|
|
5297
4344
|
|
|
5298
|
-
export const
|
|
5299
|
-
|
|
5300
|
-
|
|
5301
|
-
|
|
5302
|
-
|
|
5303
|
-
|
|
4345
|
+
export const connectorFunctionPrototypePatchAttributesResponseTransformer =
|
|
4346
|
+
async (
|
|
4347
|
+
data: any,
|
|
4348
|
+
): Promise<ConnectorFunctionPrototypePatchAttributesResponse> => {
|
|
4349
|
+
data = connectorFunctionSchemaResponseTransformer(data);
|
|
4350
|
+
return data;
|
|
4351
|
+
};
|
|
5304
4352
|
|
|
5305
4353
|
export const connectorFunctionReplaceByIdPutConnectorFunctionsIdResponseTransformer =
|
|
5306
4354
|
async (
|
|
@@ -5354,9 +4402,9 @@ export const scromSessionCreateResponseTransformer = async (
|
|
|
5354
4402
|
return data;
|
|
5355
4403
|
};
|
|
5356
4404
|
|
|
5357
|
-
export const
|
|
4405
|
+
export const translationPrototypeGetUserResponseTransformer = async (
|
|
5358
4406
|
data: any,
|
|
5359
|
-
): Promise<
|
|
4407
|
+
): Promise<TranslationPrototypeGetUserResponse> => {
|
|
5360
4408
|
data = userModelSchemaResponseTransformer(data);
|
|
5361
4409
|
return data;
|
|
5362
4410
|
};
|
|
@@ -5427,9 +4475,9 @@ export const translationFindByIdResponseTransformer = async (
|
|
|
5427
4475
|
return data;
|
|
5428
4476
|
};
|
|
5429
4477
|
|
|
5430
|
-
export const
|
|
4478
|
+
export const translationPrototypePatchAttributesResponseTransformer = async (
|
|
5431
4479
|
data: any,
|
|
5432
|
-
): Promise<
|
|
4480
|
+
): Promise<TranslationPrototypePatchAttributesResponse> => {
|
|
5433
4481
|
data = translationSchemaResponseTransformer(data);
|
|
5434
4482
|
return data;
|
|
5435
4483
|
};
|
|
@@ -5493,9 +4541,9 @@ export const customFieldFindOneResponseTransformer = async (
|
|
|
5493
4541
|
return data;
|
|
5494
4542
|
};
|
|
5495
4543
|
|
|
5496
|
-
export const
|
|
4544
|
+
export const customFieldPrototypePatchAttributesResponseTransformer = async (
|
|
5497
4545
|
data: any,
|
|
5498
|
-
): Promise<
|
|
4546
|
+
): Promise<CustomFieldPrototypePatchAttributesResponse> => {
|
|
5499
4547
|
data = customFieldSchemaResponseTransformer(data);
|
|
5500
4548
|
return data;
|
|
5501
4549
|
};
|
|
@@ -5539,23 +4587,23 @@ export const formFindOneResponseTransformer = async (
|
|
|
5539
4587
|
return data;
|
|
5540
4588
|
};
|
|
5541
4589
|
|
|
5542
|
-
export const
|
|
4590
|
+
export const formPrototypePatchAttributesResponseTransformer = async (
|
|
5543
4591
|
data: any,
|
|
5544
|
-
): Promise<
|
|
4592
|
+
): Promise<FormPrototypePatchAttributesResponse> => {
|
|
5545
4593
|
data = formSchemaResponseTransformer(data);
|
|
5546
4594
|
return data;
|
|
5547
4595
|
};
|
|
5548
4596
|
|
|
5549
|
-
export const
|
|
4597
|
+
export const formDataCommentPrototypeGetUserResponseTransformer = async (
|
|
5550
4598
|
data: any,
|
|
5551
|
-
): Promise<
|
|
4599
|
+
): Promise<FormDataCommentPrototypeGetUserResponse> => {
|
|
5552
4600
|
data = userModelSchemaResponseTransformer(data);
|
|
5553
4601
|
return data;
|
|
5554
4602
|
};
|
|
5555
4603
|
|
|
5556
|
-
export const
|
|
4604
|
+
export const formDataCommentPrototypeGetCreatedUserResponseTransformer = async (
|
|
5557
4605
|
data: any,
|
|
5558
|
-
): Promise<
|
|
4606
|
+
): Promise<FormDataCommentPrototypeGetCreatedUserResponse> => {
|
|
5559
4607
|
data = userModelSchemaResponseTransformer(data);
|
|
5560
4608
|
return data;
|
|
5561
4609
|
};
|
|
@@ -5629,12 +4677,13 @@ export const formDataCommentFindByIdResponseTransformer = async (
|
|
|
5629
4677
|
return data;
|
|
5630
4678
|
};
|
|
5631
4679
|
|
|
5632
|
-
export const
|
|
5633
|
-
|
|
5634
|
-
|
|
5635
|
-
|
|
5636
|
-
|
|
5637
|
-
|
|
4680
|
+
export const formDataCommentPrototypePatchAttributesResponseTransformer =
|
|
4681
|
+
async (
|
|
4682
|
+
data: any,
|
|
4683
|
+
): Promise<FormDataCommentPrototypePatchAttributesResponse> => {
|
|
4684
|
+
data = formDataCommentSchemaResponseTransformer(data);
|
|
4685
|
+
return data;
|
|
4686
|
+
};
|
|
5638
4687
|
|
|
5639
4688
|
export const formDataCommentReplaceByIdPutFormDataCommentsIdResponseTransformer =
|
|
5640
4689
|
async (
|
|
@@ -5659,25 +4708,25 @@ export const formDataCommentFindOneResponseTransformer = async (
|
|
|
5659
4708
|
return data;
|
|
5660
4709
|
};
|
|
5661
4710
|
|
|
5662
|
-
export const
|
|
4711
|
+
export const formDataPrototypeUpdateByIdCommentsResponseTransformer = async (
|
|
5663
4712
|
data: any,
|
|
5664
|
-
): Promise<
|
|
4713
|
+
): Promise<FormDataPrototypeUpdateByIdCommentsResponse> => {
|
|
5665
4714
|
data = formDataCommentSchemaResponseTransformer(data);
|
|
5666
4715
|
return data;
|
|
5667
4716
|
};
|
|
5668
4717
|
|
|
5669
|
-
export const
|
|
4718
|
+
export const formDataPrototypeGetCommentsResponseTransformer = async (
|
|
5670
4719
|
data: any,
|
|
5671
|
-
): Promise<
|
|
4720
|
+
): Promise<FormDataPrototypeGetCommentsResponse> => {
|
|
5672
4721
|
data = data.map((item: any) => {
|
|
5673
4722
|
return formDataCommentSchemaResponseTransformer(item);
|
|
5674
4723
|
});
|
|
5675
4724
|
return data;
|
|
5676
4725
|
};
|
|
5677
4726
|
|
|
5678
|
-
export const
|
|
4727
|
+
export const formDataPrototypeCreateCommentsResponseTransformer = async (
|
|
5679
4728
|
data: any,
|
|
5680
|
-
): Promise<
|
|
4729
|
+
): Promise<FormDataPrototypeCreateCommentsResponse> => {
|
|
5681
4730
|
data = formDataCommentSchemaResponseTransformer(data);
|
|
5682
4731
|
return data;
|
|
5683
4732
|
};
|
|
@@ -5724,9 +4773,9 @@ export const formDataFindOneResponseTransformer = async (
|
|
|
5724
4773
|
return data;
|
|
5725
4774
|
};
|
|
5726
4775
|
|
|
5727
|
-
export const
|
|
4776
|
+
export const formDataPrototypePatchAttributesResponseTransformer = async (
|
|
5728
4777
|
data: any,
|
|
5729
|
-
): Promise<
|
|
4778
|
+
): Promise<FormDataPrototypePatchAttributesResponse> => {
|
|
5730
4779
|
data = formDataSchemaResponseTransformer(data);
|
|
5731
4780
|
return data;
|
|
5732
4781
|
};
|
|
@@ -5760,14 +4809,20 @@ export const folderCreateResponseTransformer = async (
|
|
|
5760
4809
|
return data;
|
|
5761
4810
|
};
|
|
5762
4811
|
|
|
5763
|
-
export const
|
|
4812
|
+
export const folderPrototypePatchAttributesResponseTransformer = async (
|
|
5764
4813
|
data: any,
|
|
5765
|
-
): Promise<
|
|
4814
|
+
): Promise<FolderPrototypePatchAttributesResponse> => {
|
|
5766
4815
|
data = folderSchemaResponseTransformer(data);
|
|
5767
4816
|
return data;
|
|
5768
4817
|
};
|
|
5769
4818
|
|
|
5770
|
-
const
|
|
4819
|
+
const workflowSessionItemSchemaResponseTransformer = (data: any) => {
|
|
4820
|
+
if (data.start) {
|
|
4821
|
+
data.start = new Date(data.start);
|
|
4822
|
+
}
|
|
4823
|
+
if (data.end) {
|
|
4824
|
+
data.end = new Date(data.end);
|
|
4825
|
+
}
|
|
5771
4826
|
if (data.created) {
|
|
5772
4827
|
data.created = new Date(data.created);
|
|
5773
4828
|
}
|
|
@@ -5777,89 +4832,9 @@ const resourceMappingSchemaResponseTransformer = (data: any) => {
|
|
|
5777
4832
|
if (data.serverModified) {
|
|
5778
4833
|
data.serverModified = new Date(data.serverModified);
|
|
5779
4834
|
}
|
|
5780
|
-
|
|
5781
|
-
|
|
5782
|
-
|
|
5783
|
-
export const resourceMappingFindResponseTransformer = async (
|
|
5784
|
-
data: any,
|
|
5785
|
-
): Promise<ResourceMappingFindResponse> => {
|
|
5786
|
-
data = data.map((item: any) => {
|
|
5787
|
-
return resourceMappingSchemaResponseTransformer(item);
|
|
5788
|
-
});
|
|
5789
|
-
return data;
|
|
5790
|
-
};
|
|
5791
|
-
|
|
5792
|
-
export const resourceMappingPatchOrCreateResponseTransformer = async (
|
|
5793
|
-
data: any,
|
|
5794
|
-
): Promise<ResourceMappingPatchOrCreateResponse> => {
|
|
5795
|
-
data = resourceMappingSchemaResponseTransformer(data);
|
|
5796
|
-
return data;
|
|
5797
|
-
};
|
|
5798
|
-
|
|
5799
|
-
export const resourceMappingCreateResponseTransformer = async (
|
|
5800
|
-
data: any,
|
|
5801
|
-
): Promise<ResourceMappingCreateResponse> => {
|
|
5802
|
-
data = resourceMappingSchemaResponseTransformer(data);
|
|
5803
|
-
return data;
|
|
5804
|
-
};
|
|
5805
|
-
|
|
5806
|
-
export const resourceMappingReplaceOrCreatePutResourceMappingsResponseTransformer =
|
|
5807
|
-
async (
|
|
5808
|
-
data: any,
|
|
5809
|
-
): Promise<ResourceMappingReplaceOrCreatePutResourceMappingsResponse> => {
|
|
5810
|
-
data = resourceMappingSchemaResponseTransformer(data);
|
|
5811
|
-
return data;
|
|
5812
|
-
};
|
|
5813
|
-
|
|
5814
|
-
export const resourceMappingReplaceOrCreatePostResourceMappingsReplaceOrCreateResponseTransformer =
|
|
5815
|
-
async (
|
|
5816
|
-
data: any,
|
|
5817
|
-
): Promise<ResourceMappingReplaceOrCreatePostResourceMappingsReplaceOrCreateResponse> => {
|
|
5818
|
-
data = resourceMappingSchemaResponseTransformer(data);
|
|
5819
|
-
return data;
|
|
5820
|
-
};
|
|
5821
|
-
|
|
5822
|
-
export const resourceMappingUpsertWithWhereResponseTransformer = async (
|
|
5823
|
-
data: any,
|
|
5824
|
-
): Promise<ResourceMappingUpsertWithWhereResponse> => {
|
|
5825
|
-
data = resourceMappingSchemaResponseTransformer(data);
|
|
5826
|
-
return data;
|
|
5827
|
-
};
|
|
5828
|
-
|
|
5829
|
-
export const resourceMappingFindByIdResponseTransformer = async (
|
|
5830
|
-
data: any,
|
|
5831
|
-
): Promise<ResourceMappingFindByIdResponse> => {
|
|
5832
|
-
data = resourceMappingSchemaResponseTransformer(data);
|
|
5833
|
-
return data;
|
|
5834
|
-
};
|
|
5835
|
-
|
|
5836
|
-
export const resourceMappingPatchAttributesResponseTransformer = async (
|
|
5837
|
-
data: any,
|
|
5838
|
-
): Promise<ResourceMappingPatchAttributesResponse> => {
|
|
5839
|
-
data = resourceMappingSchemaResponseTransformer(data);
|
|
5840
|
-
return data;
|
|
5841
|
-
};
|
|
5842
|
-
|
|
5843
|
-
export const resourceMappingReplaceByIdPutResourceMappingsIdResponseTransformer =
|
|
5844
|
-
async (
|
|
5845
|
-
data: any,
|
|
5846
|
-
): Promise<ResourceMappingReplaceByIdPutResourceMappingsIdResponse> => {
|
|
5847
|
-
data = resourceMappingSchemaResponseTransformer(data);
|
|
5848
|
-
return data;
|
|
5849
|
-
};
|
|
5850
|
-
|
|
5851
|
-
export const resourceMappingReplaceByIdPostResourceMappingsIdReplaceResponseTransformer =
|
|
5852
|
-
async (
|
|
5853
|
-
data: any,
|
|
5854
|
-
): Promise<ResourceMappingReplaceByIdPostResourceMappingsIdReplaceResponse> => {
|
|
5855
|
-
data = resourceMappingSchemaResponseTransformer(data);
|
|
5856
|
-
return data;
|
|
5857
|
-
};
|
|
5858
|
-
|
|
5859
|
-
export const resourceMappingFindOneResponseTransformer = async (
|
|
5860
|
-
data: any,
|
|
5861
|
-
): Promise<ResourceMappingFindOneResponse> => {
|
|
5862
|
-
data = resourceMappingSchemaResponseTransformer(data);
|
|
4835
|
+
if (data.deletedAt) {
|
|
4836
|
+
data.deletedAt = new Date(data.deletedAt);
|
|
4837
|
+
}
|
|
5863
4838
|
return data;
|
|
5864
4839
|
};
|
|
5865
4840
|
|
|
@@ -5932,9 +4907,9 @@ export const certificateFindOneResponseTransformer = async (
|
|
|
5932
4907
|
return data;
|
|
5933
4908
|
};
|
|
5934
4909
|
|
|
5935
|
-
export const
|
|
4910
|
+
export const certificatePrototypePatchAttributesResponseTransformer = async (
|
|
5936
4911
|
data: any,
|
|
5937
|
-
): Promise<
|
|
4912
|
+
): Promise<CertificatePrototypePatchAttributesResponse> => {
|
|
5938
4913
|
data = certificateSchemaResponseTransformer(data);
|
|
5939
4914
|
return data;
|
|
5940
4915
|
};
|
|
@@ -5974,9 +4949,9 @@ export const certificateMappingCreateResponseTransformer = async (
|
|
|
5974
4949
|
return data;
|
|
5975
4950
|
};
|
|
5976
4951
|
|
|
5977
|
-
export const
|
|
4952
|
+
export const syncClientsPrototypeGetUserResponseTransformer = async (
|
|
5978
4953
|
data: any,
|
|
5979
|
-
): Promise<
|
|
4954
|
+
): Promise<SyncClientsPrototypeGetUserResponse> => {
|
|
5980
4955
|
data = userModelSchemaResponseTransformer(data);
|
|
5981
4956
|
return data;
|
|
5982
4957
|
};
|
|
@@ -6053,9 +5028,9 @@ export const syncClientsFindByIdResponseTransformer = async (
|
|
|
6053
5028
|
return data;
|
|
6054
5029
|
};
|
|
6055
5030
|
|
|
6056
|
-
export const
|
|
5031
|
+
export const syncClientsPrototypePatchAttributesResponseTransformer = async (
|
|
6057
5032
|
data: any,
|
|
6058
|
-
): Promise<
|
|
5033
|
+
): Promise<SyncClientsPrototypePatchAttributesResponse> => {
|
|
6059
5034
|
data = syncClientsSchemaResponseTransformer(data);
|
|
6060
5035
|
return data;
|
|
6061
5036
|
};
|
|
@@ -6082,9 +5057,9 @@ export const syncClientsFindOneResponseTransformer = async (
|
|
|
6082
5057
|
return data;
|
|
6083
5058
|
};
|
|
6084
5059
|
|
|
6085
|
-
export const
|
|
5060
|
+
export const syncHistoryPrototypeGetUserResponseTransformer = async (
|
|
6086
5061
|
data: any,
|
|
6087
|
-
): Promise<
|
|
5062
|
+
): Promise<SyncHistoryPrototypeGetUserResponse> => {
|
|
6088
5063
|
data = userModelSchemaResponseTransformer(data);
|
|
6089
5064
|
return data;
|
|
6090
5065
|
};
|
|
@@ -6161,9 +5136,9 @@ export const syncHistoryFindByIdResponseTransformer = async (
|
|
|
6161
5136
|
return data;
|
|
6162
5137
|
};
|
|
6163
5138
|
|
|
6164
|
-
export const
|
|
5139
|
+
export const syncHistoryPrototypePatchAttributesResponseTransformer = async (
|
|
6165
5140
|
data: any,
|
|
6166
|
-
): Promise<
|
|
5141
|
+
): Promise<SyncHistoryPrototypePatchAttributesResponse> => {
|
|
6167
5142
|
data = syncHistorySchemaResponseTransformer(data);
|
|
6168
5143
|
return data;
|
|
6169
5144
|
};
|
|
@@ -6223,9 +5198,9 @@ export const breakTypeCreateResponseTransformer = async (
|
|
|
6223
5198
|
return data;
|
|
6224
5199
|
};
|
|
6225
5200
|
|
|
6226
|
-
export const
|
|
5201
|
+
export const breakTypePrototypePatchAttributesResponseTransformer = async (
|
|
6227
5202
|
data: any,
|
|
6228
|
-
): Promise<
|
|
5203
|
+
): Promise<BreakTypePrototypePatchAttributesResponse> => {
|
|
6229
5204
|
data = breakTypeSchemaResponseTransformer(data);
|
|
6230
5205
|
return data;
|
|
6231
5206
|
};
|
|
@@ -6297,9 +5272,9 @@ export const configurationFindOneResponseTransformer = async (
|
|
|
6297
5272
|
return data;
|
|
6298
5273
|
};
|
|
6299
5274
|
|
|
6300
|
-
export const
|
|
5275
|
+
export const configurationPrototypePatchAttributesResponseTransformer = async (
|
|
6301
5276
|
data: any,
|
|
6302
|
-
): Promise<
|
|
5277
|
+
): Promise<ConfigurationPrototypePatchAttributesResponse> => {
|
|
6303
5278
|
data = configurationSchemaResponseTransformer(data);
|
|
6304
5279
|
return data;
|
|
6305
5280
|
};
|
|
@@ -6343,9 +5318,9 @@ export const variantCreateResponseTransformer = async (
|
|
|
6343
5318
|
return data;
|
|
6344
5319
|
};
|
|
6345
5320
|
|
|
6346
|
-
export const
|
|
5321
|
+
export const variantPrototypePatchAttributesResponseTransformer = async (
|
|
6347
5322
|
data: any,
|
|
6348
|
-
): Promise<
|
|
5323
|
+
): Promise<VariantPrototypePatchAttributesResponse> => {
|
|
6349
5324
|
data = variantSchemaResponseTransformer(data);
|
|
6350
5325
|
return data;
|
|
6351
5326
|
};
|
|
@@ -6389,12 +5364,13 @@ export const workorderTemplateFindOneResponseTransformer = async (
|
|
|
6389
5364
|
return data;
|
|
6390
5365
|
};
|
|
6391
5366
|
|
|
6392
|
-
export const
|
|
6393
|
-
|
|
6394
|
-
|
|
6395
|
-
|
|
6396
|
-
|
|
6397
|
-
|
|
5367
|
+
export const workorderTemplatePrototypePatchAttributesResponseTransformer =
|
|
5368
|
+
async (
|
|
5369
|
+
data: any,
|
|
5370
|
+
): Promise<WorkorderTemplatePrototypePatchAttributesResponse> => {
|
|
5371
|
+
data = workorderTemplateSchemaResponseTransformer(data);
|
|
5372
|
+
return data;
|
|
5373
|
+
};
|
|
6398
5374
|
|
|
6399
5375
|
const tableSchemaResponseTransformer = (data: any) => {
|
|
6400
5376
|
if (data.created) {
|
|
@@ -6435,9 +5411,9 @@ export const tableFindOneResponseTransformer = async (
|
|
|
6435
5411
|
return data;
|
|
6436
5412
|
};
|
|
6437
5413
|
|
|
6438
|
-
export const
|
|
5414
|
+
export const tablePrototypePatchAttributesResponseTransformer = async (
|
|
6439
5415
|
data: any,
|
|
6440
|
-
): Promise<
|
|
5416
|
+
): Promise<TablePrototypePatchAttributesResponse> => {
|
|
6441
5417
|
data = tableSchemaResponseTransformer(data);
|
|
6442
5418
|
return data;
|
|
6443
5419
|
};
|
|
@@ -6481,9 +5457,9 @@ export const tableSetupFindOneResponseTransformer = async (
|
|
|
6481
5457
|
return data;
|
|
6482
5458
|
};
|
|
6483
5459
|
|
|
6484
|
-
export const
|
|
5460
|
+
export const tableSetupPrototypePatchAttributesResponseTransformer = async (
|
|
6485
5461
|
data: any,
|
|
6486
|
-
): Promise<
|
|
5462
|
+
): Promise<TableSetupPrototypePatchAttributesResponse> => {
|
|
6487
5463
|
data = tableSetupSchemaResponseTransformer(data);
|
|
6488
5464
|
return data;
|
|
6489
5465
|
};
|
|
@@ -6527,9 +5503,9 @@ export const fileParserFindOneResponseTransformer = async (
|
|
|
6527
5503
|
return data;
|
|
6528
5504
|
};
|
|
6529
5505
|
|
|
6530
|
-
export const
|
|
5506
|
+
export const fileParserPrototypePatchAttributesResponseTransformer = async (
|
|
6531
5507
|
data: any,
|
|
6532
|
-
): Promise<
|
|
5508
|
+
): Promise<FileParserPrototypePatchAttributesResponse> => {
|
|
6533
5509
|
data = fileParserSchemaResponseTransformer(data);
|
|
6534
5510
|
return data;
|
|
6535
5511
|
};
|
|
@@ -6573,9 +5549,9 @@ export const fileParserJobFindOneResponseTransformer = async (
|
|
|
6573
5549
|
return data;
|
|
6574
5550
|
};
|
|
6575
5551
|
|
|
6576
|
-
export const
|
|
5552
|
+
export const fileParserJobPrototypePatchAttributesResponseTransformer = async (
|
|
6577
5553
|
data: any,
|
|
6578
|
-
): Promise<
|
|
5554
|
+
): Promise<FileParserJobPrototypePatchAttributesResponse> => {
|
|
6579
5555
|
data = fileParserJobSchemaResponseTransformer(data);
|
|
6580
5556
|
return data;
|
|
6581
5557
|
};
|
|
@@ -6619,12 +5595,13 @@ export const fileParserStrategyJobFindOneResponseTransformer = async (
|
|
|
6619
5595
|
return data;
|
|
6620
5596
|
};
|
|
6621
5597
|
|
|
6622
|
-
export const
|
|
6623
|
-
|
|
6624
|
-
|
|
6625
|
-
|
|
6626
|
-
|
|
6627
|
-
|
|
5598
|
+
export const fileParserStrategyJobPrototypePatchAttributesResponseTransformer =
|
|
5599
|
+
async (
|
|
5600
|
+
data: any,
|
|
5601
|
+
): Promise<FileParserStrategyJobPrototypePatchAttributesResponse> => {
|
|
5602
|
+
data = fileParserStrategyJobSchemaResponseTransformer(data);
|
|
5603
|
+
return data;
|
|
5604
|
+
};
|
|
6628
5605
|
|
|
6629
5606
|
const listSchemaResponseTransformer = (data: any) => {
|
|
6630
5607
|
if (data.created) {
|
|
@@ -6665,9 +5642,9 @@ export const listFindOneResponseTransformer = async (
|
|
|
6665
5642
|
return data;
|
|
6666
5643
|
};
|
|
6667
5644
|
|
|
6668
|
-
export const
|
|
5645
|
+
export const listPrototypePatchAttributesResponseTransformer = async (
|
|
6669
5646
|
data: any,
|
|
6670
|
-
): Promise<
|
|
5647
|
+
): Promise<ListPrototypePatchAttributesResponse> => {
|
|
6671
5648
|
data = listSchemaResponseTransformer(data);
|
|
6672
5649
|
return data;
|
|
6673
5650
|
};
|
|
@@ -6695,9 +5672,9 @@ export const listItemFindOneResponseTransformer = async (
|
|
|
6695
5672
|
return data;
|
|
6696
5673
|
};
|
|
6697
5674
|
|
|
6698
|
-
export const
|
|
5675
|
+
export const listItemPrototypePatchAttributesResponseTransformer = async (
|
|
6699
5676
|
data: any,
|
|
6700
|
-
): Promise<
|
|
5677
|
+
): Promise<ListItemPrototypePatchAttributesResponse> => {
|
|
6701
5678
|
data = listItemSchemaResponseTransformer(data);
|
|
6702
5679
|
return data;
|
|
6703
5680
|
};
|
|
@@ -6744,13 +5721,29 @@ export const npsFindOneResponseTransformer = async (
|
|
|
6744
5721
|
return data;
|
|
6745
5722
|
};
|
|
6746
5723
|
|
|
6747
|
-
export const
|
|
5724
|
+
export const npsPrototypePatchAttributesResponseTransformer = async (
|
|
6748
5725
|
data: any,
|
|
6749
|
-
): Promise<
|
|
5726
|
+
): Promise<NpsPrototypePatchAttributesResponse> => {
|
|
6750
5727
|
data = npsSchemaResponseTransformer(data);
|
|
6751
5728
|
return data;
|
|
6752
5729
|
};
|
|
6753
5730
|
|
|
5731
|
+
const workflowTypeSchemaResponseTransformer = (data: any) => {
|
|
5732
|
+
if (data.created) {
|
|
5733
|
+
data.created = new Date(data.created);
|
|
5734
|
+
}
|
|
5735
|
+
if (data.modified) {
|
|
5736
|
+
data.modified = new Date(data.modified);
|
|
5737
|
+
}
|
|
5738
|
+
if (data.serverModified) {
|
|
5739
|
+
data.serverModified = new Date(data.serverModified);
|
|
5740
|
+
}
|
|
5741
|
+
if (data.deletedAt) {
|
|
5742
|
+
data.deletedAt = new Date(data.deletedAt);
|
|
5743
|
+
}
|
|
5744
|
+
return data;
|
|
5745
|
+
};
|
|
5746
|
+
|
|
6754
5747
|
export const workflowTypeFindResponseTransformer = async (
|
|
6755
5748
|
data: any,
|
|
6756
5749
|
): Promise<WorkflowTypeFindResponse> => {
|
|
@@ -6972,9 +5965,9 @@ export const printPresetFindByIdResponseTransformer = async (
|
|
|
6972
5965
|
return data;
|
|
6973
5966
|
};
|
|
6974
5967
|
|
|
6975
|
-
export const
|
|
5968
|
+
export const printPresetPrototypePatchAttributesResponseTransformer = async (
|
|
6976
5969
|
data: any,
|
|
6977
|
-
): Promise<
|
|
5970
|
+
): Promise<PrintPresetPrototypePatchAttributesResponse> => {
|
|
6978
5971
|
data = printPresetSchemaResponseTransformer(data);
|
|
6979
5972
|
return data;
|
|
6980
5973
|
};
|
|
@@ -7041,16 +6034,16 @@ export const webhookFindOneResponseTransformer = async (
|
|
|
7041
6034
|
return data;
|
|
7042
6035
|
};
|
|
7043
6036
|
|
|
7044
|
-
export const
|
|
6037
|
+
export const webhookPrototypePatchAttributesResponseTransformer = async (
|
|
7045
6038
|
data: any,
|
|
7046
|
-
): Promise<
|
|
6039
|
+
): Promise<WebhookPrototypePatchAttributesResponse> => {
|
|
7047
6040
|
data = webhookSchemaResponseTransformer(data);
|
|
7048
6041
|
return data;
|
|
7049
6042
|
};
|
|
7050
6043
|
|
|
7051
|
-
export const
|
|
6044
|
+
export const inventoryTransactionPrototypeGetUserResponseTransformer = async (
|
|
7052
6045
|
data: any,
|
|
7053
|
-
): Promise<
|
|
6046
|
+
): Promise<InventoryTransactionPrototypeGetUserResponse> => {
|
|
7054
6047
|
data = userModelSchemaResponseTransformer(data);
|
|
7055
6048
|
return data;
|
|
7056
6049
|
};
|
|
@@ -7124,12 +6117,13 @@ export const inventoryTransactionFindByIdResponseTransformer = async (
|
|
|
7124
6117
|
return data;
|
|
7125
6118
|
};
|
|
7126
6119
|
|
|
7127
|
-
export const
|
|
7128
|
-
|
|
7129
|
-
|
|
7130
|
-
|
|
7131
|
-
|
|
7132
|
-
|
|
6120
|
+
export const inventoryTransactionPrototypePatchAttributesResponseTransformer =
|
|
6121
|
+
async (
|
|
6122
|
+
data: any,
|
|
6123
|
+
): Promise<InventoryTransactionPrototypePatchAttributesResponse> => {
|
|
6124
|
+
data = inventoryTransactionSchemaResponseTransformer(data);
|
|
6125
|
+
return data;
|
|
6126
|
+
};
|
|
7133
6127
|
|
|
7134
6128
|
export const inventoryTransactionReplaceByIdPutInventoryTransactionsIdResponseTransformer =
|
|
7135
6129
|
async (
|
|
@@ -7170,16 +6164,16 @@ const productionEntityTypeSchemaResponseTransformer = (data: any) => {
|
|
|
7170
6164
|
return data;
|
|
7171
6165
|
};
|
|
7172
6166
|
|
|
7173
|
-
export const
|
|
6167
|
+
export const productionEntityPrototypeGetEntityTypeResponseTransformer = async (
|
|
7174
6168
|
data: any,
|
|
7175
|
-
): Promise<
|
|
6169
|
+
): Promise<ProductionEntityPrototypeGetEntityTypeResponse> => {
|
|
7176
6170
|
data = productionEntityTypeSchemaResponseTransformer(data);
|
|
7177
6171
|
return data;
|
|
7178
6172
|
};
|
|
7179
6173
|
|
|
7180
|
-
export const
|
|
6174
|
+
export const productionEntityPrototypeGetUserResponseTransformer = async (
|
|
7181
6175
|
data: any,
|
|
7182
|
-
): Promise<
|
|
6176
|
+
): Promise<ProductionEntityPrototypeGetUserResponse> => {
|
|
7183
6177
|
data = userModelSchemaResponseTransformer(data);
|
|
7184
6178
|
return data;
|
|
7185
6179
|
};
|
|
@@ -7253,12 +6247,13 @@ export const productionEntityFindByIdResponseTransformer = async (
|
|
|
7253
6247
|
return data;
|
|
7254
6248
|
};
|
|
7255
6249
|
|
|
7256
|
-
export const
|
|
7257
|
-
|
|
7258
|
-
|
|
7259
|
-
|
|
7260
|
-
|
|
7261
|
-
|
|
6250
|
+
export const productionEntityPrototypePatchAttributesResponseTransformer =
|
|
6251
|
+
async (
|
|
6252
|
+
data: any,
|
|
6253
|
+
): Promise<ProductionEntityPrototypePatchAttributesResponse> => {
|
|
6254
|
+
data = productionEntitySchemaResponseTransformer(data);
|
|
6255
|
+
return data;
|
|
6256
|
+
};
|
|
7262
6257
|
|
|
7263
6258
|
export const productionEntityReplaceByIdPutProductionEntitiesIdResponseTransformer =
|
|
7264
6259
|
async (
|
|
@@ -7283,9 +6278,9 @@ export const productionEntityFindOneResponseTransformer = async (
|
|
|
7283
6278
|
return data;
|
|
7284
6279
|
};
|
|
7285
6280
|
|
|
7286
|
-
export const
|
|
6281
|
+
export const productionEntityTypePrototypeGetUserResponseTransformer = async (
|
|
7287
6282
|
data: any,
|
|
7288
|
-
): Promise<
|
|
6283
|
+
): Promise<ProductionEntityTypePrototypeGetUserResponse> => {
|
|
7289
6284
|
data = userModelSchemaResponseTransformer(data);
|
|
7290
6285
|
return data;
|
|
7291
6286
|
};
|
|
@@ -7343,12 +6338,13 @@ export const productionEntityTypeFindByIdResponseTransformer = async (
|
|
|
7343
6338
|
return data;
|
|
7344
6339
|
};
|
|
7345
6340
|
|
|
7346
|
-
export const
|
|
7347
|
-
|
|
7348
|
-
|
|
7349
|
-
|
|
7350
|
-
|
|
7351
|
-
|
|
6341
|
+
export const productionEntityTypePrototypePatchAttributesResponseTransformer =
|
|
6342
|
+
async (
|
|
6343
|
+
data: any,
|
|
6344
|
+
): Promise<ProductionEntityTypePrototypePatchAttributesResponse> => {
|
|
6345
|
+
data = productionEntityTypeSchemaResponseTransformer(data);
|
|
6346
|
+
return data;
|
|
6347
|
+
};
|
|
7352
6348
|
|
|
7353
6349
|
export const productionEntityTypeReplaceByIdPutProductionEntityTypesIdResponseTransformer =
|
|
7354
6350
|
async (
|
|
@@ -7373,17 +6369,17 @@ export const productionEntityTypeFindOneResponseTransformer = async (
|
|
|
7373
6369
|
return data;
|
|
7374
6370
|
};
|
|
7375
6371
|
|
|
7376
|
-
export const
|
|
6372
|
+
export const productionEntityEventPrototypeGetProductionEntityResponseTransformer =
|
|
7377
6373
|
async (
|
|
7378
6374
|
data: any,
|
|
7379
|
-
): Promise<
|
|
6375
|
+
): Promise<ProductionEntityEventPrototypeGetProductionEntityResponse> => {
|
|
7380
6376
|
data = productionEntitySchemaResponseTransformer(data);
|
|
7381
6377
|
return data;
|
|
7382
6378
|
};
|
|
7383
6379
|
|
|
7384
|
-
export const
|
|
6380
|
+
export const productionEntityEventPrototypeGetUserResponseTransformer = async (
|
|
7385
6381
|
data: any,
|
|
7386
|
-
): Promise<
|
|
6382
|
+
): Promise<ProductionEntityEventPrototypeGetUserResponse> => {
|
|
7387
6383
|
data = userModelSchemaResponseTransformer(data);
|
|
7388
6384
|
return data;
|
|
7389
6385
|
};
|
|
@@ -7464,12 +6460,13 @@ export const productionEntityEventFindByIdResponseTransformer = async (
|
|
|
7464
6460
|
return data;
|
|
7465
6461
|
};
|
|
7466
6462
|
|
|
7467
|
-
export const
|
|
7468
|
-
|
|
7469
|
-
|
|
7470
|
-
|
|
7471
|
-
|
|
7472
|
-
|
|
6463
|
+
export const productionEntityEventPrototypePatchAttributesResponseTransformer =
|
|
6464
|
+
async (
|
|
6465
|
+
data: any,
|
|
6466
|
+
): Promise<ProductionEntityEventPrototypePatchAttributesResponse> => {
|
|
6467
|
+
data = productionEntityEventSchemaResponseTransformer(data);
|
|
6468
|
+
return data;
|
|
6469
|
+
};
|
|
7473
6470
|
|
|
7474
6471
|
export const productionEntityEventReplaceByIdPutProductionEntityEventsIdResponseTransformer =
|
|
7475
6472
|
async (
|
|
@@ -7494,9 +6491,9 @@ export const productionEntityEventFindOneResponseTransformer = async (
|
|
|
7494
6491
|
return data;
|
|
7495
6492
|
};
|
|
7496
6493
|
|
|
7497
|
-
export const
|
|
6494
|
+
export const opcUaServerPrototypeGetUserResponseTransformer = async (
|
|
7498
6495
|
data: any,
|
|
7499
|
-
): Promise<
|
|
6496
|
+
): Promise<OpcUaServerPrototypeGetUserResponse> => {
|
|
7500
6497
|
data = userModelSchemaResponseTransformer(data);
|
|
7501
6498
|
return data;
|
|
7502
6499
|
};
|
|
@@ -7570,9 +6567,9 @@ export const opcUaServerFindByIdResponseTransformer = async (
|
|
|
7570
6567
|
return data;
|
|
7571
6568
|
};
|
|
7572
6569
|
|
|
7573
|
-
export const
|
|
6570
|
+
export const opcUaServerPrototypePatchAttributesResponseTransformer = async (
|
|
7574
6571
|
data: any,
|
|
7575
|
-
): Promise<
|
|
6572
|
+
): Promise<OpcUaServerPrototypePatchAttributesResponse> => {
|
|
7576
6573
|
data = opcUaServerSchemaResponseTransformer(data);
|
|
7577
6574
|
return data;
|
|
7578
6575
|
};
|
|
@@ -7600,105 +6597,6 @@ export const opcUaServerFindOneResponseTransformer = async (
|
|
|
7600
6597
|
return data;
|
|
7601
6598
|
};
|
|
7602
6599
|
|
|
7603
|
-
const productionEntityMappingSchemaResponseTransformer = (data: any) => {
|
|
7604
|
-
if (data.created) {
|
|
7605
|
-
data.created = new Date(data.created);
|
|
7606
|
-
}
|
|
7607
|
-
if (data.modified) {
|
|
7608
|
-
data.modified = new Date(data.modified);
|
|
7609
|
-
}
|
|
7610
|
-
if (data.serverModified) {
|
|
7611
|
-
data.serverModified = new Date(data.serverModified);
|
|
7612
|
-
}
|
|
7613
|
-
if (data.deletedAt) {
|
|
7614
|
-
data.deletedAt = new Date(data.deletedAt);
|
|
7615
|
-
}
|
|
7616
|
-
return data;
|
|
7617
|
-
};
|
|
7618
|
-
|
|
7619
|
-
export const productionEntityMappingFindResponseTransformer = async (
|
|
7620
|
-
data: any,
|
|
7621
|
-
): Promise<ProductionEntityMappingFindResponse> => {
|
|
7622
|
-
data = data.map((item: any) => {
|
|
7623
|
-
return productionEntityMappingSchemaResponseTransformer(item);
|
|
7624
|
-
});
|
|
7625
|
-
return data;
|
|
7626
|
-
};
|
|
7627
|
-
|
|
7628
|
-
export const productionEntityMappingPatchOrCreateResponseTransformer = async (
|
|
7629
|
-
data: any,
|
|
7630
|
-
): Promise<ProductionEntityMappingPatchOrCreateResponse> => {
|
|
7631
|
-
data = productionEntityMappingSchemaResponseTransformer(data);
|
|
7632
|
-
return data;
|
|
7633
|
-
};
|
|
7634
|
-
|
|
7635
|
-
export const productionEntityMappingCreateResponseTransformer = async (
|
|
7636
|
-
data: any,
|
|
7637
|
-
): Promise<ProductionEntityMappingCreateResponse> => {
|
|
7638
|
-
data = productionEntityMappingSchemaResponseTransformer(data);
|
|
7639
|
-
return data;
|
|
7640
|
-
};
|
|
7641
|
-
|
|
7642
|
-
export const productionEntityMappingReplaceOrCreatePutProductionEntityMappingsResponseTransformer =
|
|
7643
|
-
async (
|
|
7644
|
-
data: any,
|
|
7645
|
-
): Promise<ProductionEntityMappingReplaceOrCreatePutProductionEntityMappingsResponse> => {
|
|
7646
|
-
data = productionEntityMappingSchemaResponseTransformer(data);
|
|
7647
|
-
return data;
|
|
7648
|
-
};
|
|
7649
|
-
|
|
7650
|
-
export const productionEntityMappingReplaceOrCreatePostProductionEntityMappingsReplaceOrCreateResponseTransformer =
|
|
7651
|
-
async (
|
|
7652
|
-
data: any,
|
|
7653
|
-
): Promise<ProductionEntityMappingReplaceOrCreatePostProductionEntityMappingsReplaceOrCreateResponse> => {
|
|
7654
|
-
data = productionEntityMappingSchemaResponseTransformer(data);
|
|
7655
|
-
return data;
|
|
7656
|
-
};
|
|
7657
|
-
|
|
7658
|
-
export const productionEntityMappingUpsertWithWhereResponseTransformer = async (
|
|
7659
|
-
data: any,
|
|
7660
|
-
): Promise<ProductionEntityMappingUpsertWithWhereResponse> => {
|
|
7661
|
-
data = productionEntityMappingSchemaResponseTransformer(data);
|
|
7662
|
-
return data;
|
|
7663
|
-
};
|
|
7664
|
-
|
|
7665
|
-
export const productionEntityMappingFindByIdResponseTransformer = async (
|
|
7666
|
-
data: any,
|
|
7667
|
-
): Promise<ProductionEntityMappingFindByIdResponse> => {
|
|
7668
|
-
data = productionEntityMappingSchemaResponseTransformer(data);
|
|
7669
|
-
return data;
|
|
7670
|
-
};
|
|
7671
|
-
|
|
7672
|
-
export const productionEntityMappingPatchAttributesResponseTransformer = async (
|
|
7673
|
-
data: any,
|
|
7674
|
-
): Promise<ProductionEntityMappingPatchAttributesResponse> => {
|
|
7675
|
-
data = productionEntityMappingSchemaResponseTransformer(data);
|
|
7676
|
-
return data;
|
|
7677
|
-
};
|
|
7678
|
-
|
|
7679
|
-
export const productionEntityMappingReplaceByIdPutProductionEntityMappingsIdResponseTransformer =
|
|
7680
|
-
async (
|
|
7681
|
-
data: any,
|
|
7682
|
-
): Promise<ProductionEntityMappingReplaceByIdPutProductionEntityMappingsIdResponse> => {
|
|
7683
|
-
data = productionEntityMappingSchemaResponseTransformer(data);
|
|
7684
|
-
return data;
|
|
7685
|
-
};
|
|
7686
|
-
|
|
7687
|
-
export const productionEntityMappingReplaceByIdPostProductionEntityMappingsIdReplaceResponseTransformer =
|
|
7688
|
-
async (
|
|
7689
|
-
data: any,
|
|
7690
|
-
): Promise<ProductionEntityMappingReplaceByIdPostProductionEntityMappingsIdReplaceResponse> => {
|
|
7691
|
-
data = productionEntityMappingSchemaResponseTransformer(data);
|
|
7692
|
-
return data;
|
|
7693
|
-
};
|
|
7694
|
-
|
|
7695
|
-
export const productionEntityMappingFindOneResponseTransformer = async (
|
|
7696
|
-
data: any,
|
|
7697
|
-
): Promise<ProductionEntityMappingFindOneResponse> => {
|
|
7698
|
-
data = productionEntityMappingSchemaResponseTransformer(data);
|
|
7699
|
-
return data;
|
|
7700
|
-
};
|
|
7701
|
-
|
|
7702
6600
|
const productionEntityTransactionSchemaResponseTransformer = (data: any) => {
|
|
7703
6601
|
if (data.created) {
|
|
7704
6602
|
data.created = new Date(data.created);
|
|
@@ -7770,10 +6668,10 @@ export const productionEntityTransactionFindByIdResponseTransformer = async (
|
|
|
7770
6668
|
return data;
|
|
7771
6669
|
};
|
|
7772
6670
|
|
|
7773
|
-
export const
|
|
6671
|
+
export const productionEntityTransactionPrototypePatchAttributesResponseTransformer =
|
|
7774
6672
|
async (
|
|
7775
6673
|
data: any,
|
|
7776
|
-
): Promise<
|
|
6674
|
+
): Promise<ProductionEntityTransactionPrototypePatchAttributesResponse> => {
|
|
7777
6675
|
data = productionEntityTransactionSchemaResponseTransformer(data);
|
|
7778
6676
|
return data;
|
|
7779
6677
|
};
|
|
@@ -7869,9 +6767,9 @@ export const shiftTypeFindByIdResponseTransformer = async (
|
|
|
7869
6767
|
return data;
|
|
7870
6768
|
};
|
|
7871
6769
|
|
|
7872
|
-
export const
|
|
6770
|
+
export const shiftTypePrototypePatchAttributesResponseTransformer = async (
|
|
7873
6771
|
data: any,
|
|
7874
|
-
): Promise<
|
|
6772
|
+
): Promise<ShiftTypePrototypePatchAttributesResponse> => {
|
|
7875
6773
|
data = shiftTypeSchemaResponseTransformer(data);
|
|
7876
6774
|
return data;
|
|
7877
6775
|
};
|
|
@@ -7898,16 +6796,16 @@ export const shiftTypeFindOneResponseTransformer = async (
|
|
|
7898
6796
|
return data;
|
|
7899
6797
|
};
|
|
7900
6798
|
|
|
7901
|
-
export const
|
|
6799
|
+
export const shiftPrototypeGetProductionEntityResponseTransformer = async (
|
|
7902
6800
|
data: any,
|
|
7903
|
-
): Promise<
|
|
6801
|
+
): Promise<ShiftPrototypeGetProductionEntityResponse> => {
|
|
7904
6802
|
data = productionEntitySchemaResponseTransformer(data);
|
|
7905
6803
|
return data;
|
|
7906
6804
|
};
|
|
7907
6805
|
|
|
7908
|
-
export const
|
|
6806
|
+
export const shiftPrototypeGetShiftTypeResponseTransformer = async (
|
|
7909
6807
|
data: any,
|
|
7910
|
-
): Promise<
|
|
6808
|
+
): Promise<ShiftPrototypeGetShiftTypeResponse> => {
|
|
7911
6809
|
data = shiftTypeSchemaResponseTransformer(data);
|
|
7912
6810
|
return data;
|
|
7913
6811
|
};
|
|
@@ -7979,9 +6877,9 @@ export const shiftFindByIdResponseTransformer = async (
|
|
|
7979
6877
|
return data;
|
|
7980
6878
|
};
|
|
7981
6879
|
|
|
7982
|
-
export const
|
|
6880
|
+
export const shiftPrototypePatchAttributesResponseTransformer = async (
|
|
7983
6881
|
data: any,
|
|
7984
|
-
): Promise<
|
|
6882
|
+
): Promise<ShiftPrototypePatchAttributesResponse> => {
|
|
7985
6883
|
data = shiftSchemaResponseTransformer(data);
|
|
7986
6884
|
return data;
|
|
7987
6885
|
};
|
|
@@ -8101,9 +6999,9 @@ export const apiMethodFindByIdResponseTransformer = async (
|
|
|
8101
6999
|
return data;
|
|
8102
7000
|
};
|
|
8103
7001
|
|
|
8104
|
-
export const
|
|
7002
|
+
export const apiMethodPrototypePatchAttributesResponseTransformer = async (
|
|
8105
7003
|
data: any,
|
|
8106
|
-
): Promise<
|
|
7004
|
+
): Promise<ApiMethodPrototypePatchAttributesResponse> => {
|
|
8107
7005
|
data = apiMethodSchemaResponseTransformer(data);
|
|
8108
7006
|
return data;
|
|
8109
7007
|
};
|
|
@@ -8196,9 +7094,9 @@ export const apiMethodLogFindByIdResponseTransformer = async (
|
|
|
8196
7094
|
return data;
|
|
8197
7095
|
};
|
|
8198
7096
|
|
|
8199
|
-
export const
|
|
7097
|
+
export const apiMethodLogPrototypePatchAttributesResponseTransformer = async (
|
|
8200
7098
|
data: any,
|
|
8201
|
-
): Promise<
|
|
7099
|
+
): Promise<ApiMethodLogPrototypePatchAttributesResponse> => {
|
|
8202
7100
|
data = apiMethodLogSchemaResponseTransformer(data);
|
|
8203
7101
|
return data;
|
|
8204
7102
|
};
|
|
@@ -8226,16 +7124,16 @@ export const apiMethodLogFindOneResponseTransformer = async (
|
|
|
8226
7124
|
return data;
|
|
8227
7125
|
};
|
|
8228
7126
|
|
|
8229
|
-
export const
|
|
7127
|
+
export const addonPrototypeGetUserResponseTransformer = async (
|
|
8230
7128
|
data: any,
|
|
8231
|
-
): Promise<
|
|
7129
|
+
): Promise<AddonPrototypeGetUserResponse> => {
|
|
8232
7130
|
data = userModelSchemaResponseTransformer(data);
|
|
8233
7131
|
return data;
|
|
8234
7132
|
};
|
|
8235
7133
|
|
|
8236
|
-
export const
|
|
7134
|
+
export const addonPrototypeGetCreatedUserResponseTransformer = async (
|
|
8237
7135
|
data: any,
|
|
8238
|
-
): Promise<
|
|
7136
|
+
): Promise<AddonPrototypeGetCreatedUserResponse> => {
|
|
8239
7137
|
data = userModelSchemaResponseTransformer(data);
|
|
8240
7138
|
return data;
|
|
8241
7139
|
};
|
|
@@ -8308,9 +7206,9 @@ export const addonFindByIdResponseTransformer = async (
|
|
|
8308
7206
|
return data;
|
|
8309
7207
|
};
|
|
8310
7208
|
|
|
8311
|
-
export const
|
|
7209
|
+
export const addonPrototypePatchAttributesResponseTransformer = async (
|
|
8312
7210
|
data: any,
|
|
8313
|
-
): Promise<
|
|
7211
|
+
): Promise<AddonPrototypePatchAttributesResponse> => {
|
|
8314
7212
|
data = addonSchemaResponseTransformer(data);
|
|
8315
7213
|
return data;
|
|
8316
7214
|
};
|