@salesforce/lds-adapters-industries-epc 1.346.0 → 1.347.1
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/es/es2018/industries-epc.js +768 -301
- package/dist/es/es2018/types/src/generated/adapters/pcmCatalogUpdate.d.ts +19 -0
- package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +2 -1
- package/dist/es/es2018/types/src/generated/resources/postConnectPcmActionsCatalogUpdate.d.ts +16 -0
- package/dist/es/es2018/types/src/generated/types/CatalogUpdateGraphOutputRepresentation.d.ts +32 -0
- package/dist/es/es2018/types/src/generated/types/CatalogUpdateInputRepresentation.d.ts +38 -0
- package/dist/es/es2018/types/src/generated/types/CatalogUpdateResponseRepresentation.d.ts +51 -0
- package/dist/es/es2018/types/src/generated/types/EpcErrorOutputRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/RecordUpdateOutputRepresentation.d.ts +38 -0
- package/dist/es/es2018/types/src/generated/types/Status.d.ts +5 -1
- package/package.json +4 -4
- package/sfdc/index.js +1230 -760
- package/src/raml/api.raml +98 -0
- package/src/raml/luvio.raml +9 -0
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* For full license text, see the LICENSE.txt file
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
-
import { serializeStructuredKey, ingestShape, deepFreeze, StoreKeyMap, createResourceParams as createResourceParams$
|
|
7
|
+
import { serializeStructuredKey, ingestShape, deepFreeze, StoreKeyMap, createResourceParams as createResourceParams$g, typeCheckConfig as typeCheckConfig$g, buildNetworkSnapshotCachePolicy as buildNetworkSnapshotCachePolicy$9 } from '@luvio/engine';
|
|
8
8
|
|
|
9
9
|
const { hasOwnProperty: ObjectPrototypeHasOwnProperty } = Object.prototype;
|
|
10
10
|
const { keys: ObjectKeys, create: ObjectCreate } = Object;
|
|
@@ -92,7 +92,597 @@ function createLink(ref) {
|
|
|
92
92
|
};
|
|
93
93
|
}
|
|
94
94
|
|
|
95
|
-
|
|
95
|
+
const VERSION$h = "1a4b2aa498f2d840ac6f890cffb13e2c";
|
|
96
|
+
function validate$T(obj, path = 'EpcErrorOutputRepresentation') {
|
|
97
|
+
const v_error = (() => {
|
|
98
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
99
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
100
|
+
}
|
|
101
|
+
if (obj.errorCode !== undefined) {
|
|
102
|
+
const obj_errorCode = obj.errorCode;
|
|
103
|
+
const path_errorCode = path + '.errorCode';
|
|
104
|
+
if (typeof obj_errorCode !== 'string') {
|
|
105
|
+
return new TypeError('Expected "string" but received "' + typeof obj_errorCode + '" (at "' + path_errorCode + '")');
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
if (obj.messageDetail !== undefined) {
|
|
109
|
+
const obj_messageDetail = obj.messageDetail;
|
|
110
|
+
const path_messageDetail = path + '.messageDetail';
|
|
111
|
+
if (typeof obj_messageDetail !== 'string') {
|
|
112
|
+
return new TypeError('Expected "string" but received "' + typeof obj_messageDetail + '" (at "' + path_messageDetail + '")');
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
if (obj.messageTitle !== undefined) {
|
|
116
|
+
const obj_messageTitle = obj.messageTitle;
|
|
117
|
+
const path_messageTitle = path + '.messageTitle';
|
|
118
|
+
if (typeof obj_messageTitle !== 'string') {
|
|
119
|
+
return new TypeError('Expected "string" but received "' + typeof obj_messageTitle + '" (at "' + path_messageTitle + '")');
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
if (obj.nodeProductId !== undefined) {
|
|
123
|
+
const obj_nodeProductId = obj.nodeProductId;
|
|
124
|
+
const path_nodeProductId = path + '.nodeProductId';
|
|
125
|
+
if (typeof obj_nodeProductId !== 'string') {
|
|
126
|
+
return new TypeError('Expected "string" but received "' + typeof obj_nodeProductId + '" (at "' + path_nodeProductId + '")');
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
if (obj.recordId !== undefined) {
|
|
130
|
+
const obj_recordId = obj.recordId;
|
|
131
|
+
const path_recordId = path + '.recordId';
|
|
132
|
+
if (typeof obj_recordId !== 'string') {
|
|
133
|
+
return new TypeError('Expected "string" but received "' + typeof obj_recordId + '" (at "' + path_recordId + '")');
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
if (obj.recordName !== undefined) {
|
|
137
|
+
const obj_recordName = obj.recordName;
|
|
138
|
+
const path_recordName = path + '.recordName';
|
|
139
|
+
if (typeof obj_recordName !== 'string') {
|
|
140
|
+
return new TypeError('Expected "string" but received "' + typeof obj_recordName + '" (at "' + path_recordName + '")');
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
if (obj.source !== undefined) {
|
|
144
|
+
const obj_source = obj.source;
|
|
145
|
+
const path_source = path + '.source';
|
|
146
|
+
if (typeof obj_source !== 'string') {
|
|
147
|
+
return new TypeError('Expected "string" but received "' + typeof obj_source + '" (at "' + path_source + '")');
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
})();
|
|
151
|
+
return v_error === undefined ? null : v_error;
|
|
152
|
+
}
|
|
153
|
+
const select$x = function EpcErrorOutputRepresentationSelect() {
|
|
154
|
+
return {
|
|
155
|
+
kind: 'Fragment',
|
|
156
|
+
version: VERSION$h,
|
|
157
|
+
private: [],
|
|
158
|
+
selections: [
|
|
159
|
+
{
|
|
160
|
+
name: 'errorCode',
|
|
161
|
+
kind: 'Scalar',
|
|
162
|
+
required: false
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
name: 'messageDetail',
|
|
166
|
+
kind: 'Scalar',
|
|
167
|
+
required: false
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
name: 'messageTitle',
|
|
171
|
+
kind: 'Scalar',
|
|
172
|
+
required: false
|
|
173
|
+
},
|
|
174
|
+
{
|
|
175
|
+
name: 'nodeProductId',
|
|
176
|
+
kind: 'Scalar',
|
|
177
|
+
required: false
|
|
178
|
+
},
|
|
179
|
+
{
|
|
180
|
+
name: 'recordId',
|
|
181
|
+
kind: 'Scalar',
|
|
182
|
+
required: false
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
name: 'recordName',
|
|
186
|
+
kind: 'Scalar',
|
|
187
|
+
required: false
|
|
188
|
+
},
|
|
189
|
+
{
|
|
190
|
+
name: 'source',
|
|
191
|
+
kind: 'Scalar',
|
|
192
|
+
required: false
|
|
193
|
+
}
|
|
194
|
+
]
|
|
195
|
+
};
|
|
196
|
+
};
|
|
197
|
+
function equals$h(existing, incoming) {
|
|
198
|
+
const existing_errorCode = existing.errorCode;
|
|
199
|
+
const incoming_errorCode = incoming.errorCode;
|
|
200
|
+
// if at least one of these optionals is defined
|
|
201
|
+
if (existing_errorCode !== undefined || incoming_errorCode !== undefined) {
|
|
202
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
203
|
+
// not equal
|
|
204
|
+
if (existing_errorCode === undefined || incoming_errorCode === undefined) {
|
|
205
|
+
return false;
|
|
206
|
+
}
|
|
207
|
+
if (!(existing_errorCode === incoming_errorCode)) {
|
|
208
|
+
return false;
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
const existing_messageDetail = existing.messageDetail;
|
|
212
|
+
const incoming_messageDetail = incoming.messageDetail;
|
|
213
|
+
// if at least one of these optionals is defined
|
|
214
|
+
if (existing_messageDetail !== undefined || incoming_messageDetail !== undefined) {
|
|
215
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
216
|
+
// not equal
|
|
217
|
+
if (existing_messageDetail === undefined || incoming_messageDetail === undefined) {
|
|
218
|
+
return false;
|
|
219
|
+
}
|
|
220
|
+
if (!(existing_messageDetail === incoming_messageDetail)) {
|
|
221
|
+
return false;
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
const existing_messageTitle = existing.messageTitle;
|
|
225
|
+
const incoming_messageTitle = incoming.messageTitle;
|
|
226
|
+
// if at least one of these optionals is defined
|
|
227
|
+
if (existing_messageTitle !== undefined || incoming_messageTitle !== undefined) {
|
|
228
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
229
|
+
// not equal
|
|
230
|
+
if (existing_messageTitle === undefined || incoming_messageTitle === undefined) {
|
|
231
|
+
return false;
|
|
232
|
+
}
|
|
233
|
+
if (!(existing_messageTitle === incoming_messageTitle)) {
|
|
234
|
+
return false;
|
|
235
|
+
}
|
|
236
|
+
}
|
|
237
|
+
const existing_nodeProductId = existing.nodeProductId;
|
|
238
|
+
const incoming_nodeProductId = incoming.nodeProductId;
|
|
239
|
+
// if at least one of these optionals is defined
|
|
240
|
+
if (existing_nodeProductId !== undefined || incoming_nodeProductId !== undefined) {
|
|
241
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
242
|
+
// not equal
|
|
243
|
+
if (existing_nodeProductId === undefined || incoming_nodeProductId === undefined) {
|
|
244
|
+
return false;
|
|
245
|
+
}
|
|
246
|
+
if (!(existing_nodeProductId === incoming_nodeProductId)) {
|
|
247
|
+
return false;
|
|
248
|
+
}
|
|
249
|
+
}
|
|
250
|
+
const existing_recordId = existing.recordId;
|
|
251
|
+
const incoming_recordId = incoming.recordId;
|
|
252
|
+
// if at least one of these optionals is defined
|
|
253
|
+
if (existing_recordId !== undefined || incoming_recordId !== undefined) {
|
|
254
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
255
|
+
// not equal
|
|
256
|
+
if (existing_recordId === undefined || incoming_recordId === undefined) {
|
|
257
|
+
return false;
|
|
258
|
+
}
|
|
259
|
+
if (!(existing_recordId === incoming_recordId)) {
|
|
260
|
+
return false;
|
|
261
|
+
}
|
|
262
|
+
}
|
|
263
|
+
const existing_recordName = existing.recordName;
|
|
264
|
+
const incoming_recordName = incoming.recordName;
|
|
265
|
+
// if at least one of these optionals is defined
|
|
266
|
+
if (existing_recordName !== undefined || incoming_recordName !== undefined) {
|
|
267
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
268
|
+
// not equal
|
|
269
|
+
if (existing_recordName === undefined || incoming_recordName === undefined) {
|
|
270
|
+
return false;
|
|
271
|
+
}
|
|
272
|
+
if (!(existing_recordName === incoming_recordName)) {
|
|
273
|
+
return false;
|
|
274
|
+
}
|
|
275
|
+
}
|
|
276
|
+
const existing_source = existing.source;
|
|
277
|
+
const incoming_source = incoming.source;
|
|
278
|
+
// if at least one of these optionals is defined
|
|
279
|
+
if (existing_source !== undefined || incoming_source !== undefined) {
|
|
280
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
281
|
+
// not equal
|
|
282
|
+
if (existing_source === undefined || incoming_source === undefined) {
|
|
283
|
+
return false;
|
|
284
|
+
}
|
|
285
|
+
if (!(existing_source === incoming_source)) {
|
|
286
|
+
return false;
|
|
287
|
+
}
|
|
288
|
+
}
|
|
289
|
+
return true;
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
function validate$S(obj, path = 'RecordUpdateOutputRepresentation') {
|
|
293
|
+
const v_error = (() => {
|
|
294
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
295
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
296
|
+
}
|
|
297
|
+
if (obj.error !== undefined) {
|
|
298
|
+
const obj_error = obj.error;
|
|
299
|
+
const path_error = path + '.error';
|
|
300
|
+
const referencepath_errorValidationError = validate$T(obj_error, path_error);
|
|
301
|
+
if (referencepath_errorValidationError !== null) {
|
|
302
|
+
let message = 'Object doesn\'t match EpcErrorOutputRepresentation (at "' + path_error + '")\n';
|
|
303
|
+
message += referencepath_errorValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
304
|
+
return new TypeError(message);
|
|
305
|
+
}
|
|
306
|
+
}
|
|
307
|
+
if (obj.recordIdentifier !== undefined) {
|
|
308
|
+
const obj_recordIdentifier = obj.recordIdentifier;
|
|
309
|
+
const path_recordIdentifier = path + '.recordIdentifier';
|
|
310
|
+
if (typeof obj_recordIdentifier !== 'string') {
|
|
311
|
+
return new TypeError('Expected "string" but received "' + typeof obj_recordIdentifier + '" (at "' + path_recordIdentifier + '")');
|
|
312
|
+
}
|
|
313
|
+
}
|
|
314
|
+
if (obj.referenceId !== undefined) {
|
|
315
|
+
const obj_referenceId = obj.referenceId;
|
|
316
|
+
const path_referenceId = path + '.referenceId';
|
|
317
|
+
if (typeof obj_referenceId !== 'string') {
|
|
318
|
+
return new TypeError('Expected "string" but received "' + typeof obj_referenceId + '" (at "' + path_referenceId + '")');
|
|
319
|
+
}
|
|
320
|
+
}
|
|
321
|
+
if (obj.type !== undefined) {
|
|
322
|
+
const obj_type = obj.type;
|
|
323
|
+
const path_type = path + '.type';
|
|
324
|
+
if (typeof obj_type !== 'string') {
|
|
325
|
+
return new TypeError('Expected "string" but received "' + typeof obj_type + '" (at "' + path_type + '")');
|
|
326
|
+
}
|
|
327
|
+
}
|
|
328
|
+
})();
|
|
329
|
+
return v_error === undefined ? null : v_error;
|
|
330
|
+
}
|
|
331
|
+
|
|
332
|
+
function validate$R(obj, path = 'CatalogUpdateGraphOutputRepresentation') {
|
|
333
|
+
const v_error = (() => {
|
|
334
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
335
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
336
|
+
}
|
|
337
|
+
if (obj.graphId !== undefined) {
|
|
338
|
+
const obj_graphId = obj.graphId;
|
|
339
|
+
const path_graphId = path + '.graphId';
|
|
340
|
+
if (typeof obj_graphId !== 'string') {
|
|
341
|
+
return new TypeError('Expected "string" but received "' + typeof obj_graphId + '" (at "' + path_graphId + '")');
|
|
342
|
+
}
|
|
343
|
+
}
|
|
344
|
+
if (obj.records !== undefined) {
|
|
345
|
+
const obj_records = obj.records;
|
|
346
|
+
const path_records = path + '.records';
|
|
347
|
+
if (!ArrayIsArray(obj_records)) {
|
|
348
|
+
return new TypeError('Expected "array" but received "' + typeof obj_records + '" (at "' + path_records + '")');
|
|
349
|
+
}
|
|
350
|
+
for (let i = 0; i < obj_records.length; i++) {
|
|
351
|
+
const obj_records_item = obj_records[i];
|
|
352
|
+
const path_records_item = path_records + '[' + i + ']';
|
|
353
|
+
const referencepath_records_itemValidationError = validate$S(obj_records_item, path_records_item);
|
|
354
|
+
if (referencepath_records_itemValidationError !== null) {
|
|
355
|
+
let message = 'Object doesn\'t match RecordUpdateOutputRepresentation (at "' + path_records_item + '")\n';
|
|
356
|
+
message += referencepath_records_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
357
|
+
return new TypeError(message);
|
|
358
|
+
}
|
|
359
|
+
}
|
|
360
|
+
}
|
|
361
|
+
})();
|
|
362
|
+
return v_error === undefined ? null : v_error;
|
|
363
|
+
}
|
|
364
|
+
|
|
365
|
+
const VERSION$g = "ed5b7c8711e813281aca97348f50923f";
|
|
366
|
+
function validate$Q(obj, path = 'Status') {
|
|
367
|
+
const v_error = (() => {
|
|
368
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
369
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
370
|
+
}
|
|
371
|
+
if (obj.code !== undefined) {
|
|
372
|
+
const obj_code = obj.code;
|
|
373
|
+
const path_code = path + '.code';
|
|
374
|
+
if (typeof obj_code !== 'string') {
|
|
375
|
+
return new TypeError('Expected "string" but received "' + typeof obj_code + '" (at "' + path_code + '")');
|
|
376
|
+
}
|
|
377
|
+
}
|
|
378
|
+
if (obj.errors !== undefined) {
|
|
379
|
+
const obj_errors = obj.errors;
|
|
380
|
+
const path_errors = path + '.errors';
|
|
381
|
+
if (!ArrayIsArray(obj_errors)) {
|
|
382
|
+
return new TypeError('Expected "array" but received "' + typeof obj_errors + '" (at "' + path_errors + '")');
|
|
383
|
+
}
|
|
384
|
+
for (let i = 0; i < obj_errors.length; i++) {
|
|
385
|
+
const obj_errors_item = obj_errors[i];
|
|
386
|
+
const path_errors_item = path_errors + '[' + i + ']';
|
|
387
|
+
const referencepath_errors_itemValidationError = validate$T(obj_errors_item, path_errors_item);
|
|
388
|
+
if (referencepath_errors_itemValidationError !== null) {
|
|
389
|
+
let message = 'Object doesn\'t match EpcErrorOutputRepresentation (at "' + path_errors_item + '")\n';
|
|
390
|
+
message += referencepath_errors_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
391
|
+
return new TypeError(message);
|
|
392
|
+
}
|
|
393
|
+
}
|
|
394
|
+
}
|
|
395
|
+
if (obj.message !== undefined) {
|
|
396
|
+
const obj_message = obj.message;
|
|
397
|
+
const path_message = path + '.message';
|
|
398
|
+
if (typeof obj_message !== 'string') {
|
|
399
|
+
return new TypeError('Expected "string" but received "' + typeof obj_message + '" (at "' + path_message + '")');
|
|
400
|
+
}
|
|
401
|
+
}
|
|
402
|
+
})();
|
|
403
|
+
return v_error === undefined ? null : v_error;
|
|
404
|
+
}
|
|
405
|
+
const select$w = function StatusSelect() {
|
|
406
|
+
const { selections: EpcErrorOutputRepresentation__selections, opaque: EpcErrorOutputRepresentation__opaque, } = select$x();
|
|
407
|
+
return {
|
|
408
|
+
kind: 'Fragment',
|
|
409
|
+
version: VERSION$g,
|
|
410
|
+
private: [],
|
|
411
|
+
selections: [
|
|
412
|
+
{
|
|
413
|
+
name: 'code',
|
|
414
|
+
kind: 'Scalar',
|
|
415
|
+
required: false
|
|
416
|
+
},
|
|
417
|
+
{
|
|
418
|
+
name: 'errors',
|
|
419
|
+
kind: 'Object',
|
|
420
|
+
plural: true,
|
|
421
|
+
selections: EpcErrorOutputRepresentation__selections,
|
|
422
|
+
required: false
|
|
423
|
+
},
|
|
424
|
+
{
|
|
425
|
+
name: 'message',
|
|
426
|
+
kind: 'Scalar',
|
|
427
|
+
required: false
|
|
428
|
+
}
|
|
429
|
+
]
|
|
430
|
+
};
|
|
431
|
+
};
|
|
432
|
+
function equals$g(existing, incoming) {
|
|
433
|
+
const existing_code = existing.code;
|
|
434
|
+
const incoming_code = incoming.code;
|
|
435
|
+
// if at least one of these optionals is defined
|
|
436
|
+
if (existing_code !== undefined || incoming_code !== undefined) {
|
|
437
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
438
|
+
// not equal
|
|
439
|
+
if (existing_code === undefined || incoming_code === undefined) {
|
|
440
|
+
return false;
|
|
441
|
+
}
|
|
442
|
+
if (!(existing_code === incoming_code)) {
|
|
443
|
+
return false;
|
|
444
|
+
}
|
|
445
|
+
}
|
|
446
|
+
const existing_message = existing.message;
|
|
447
|
+
const incoming_message = incoming.message;
|
|
448
|
+
// if at least one of these optionals is defined
|
|
449
|
+
if (existing_message !== undefined || incoming_message !== undefined) {
|
|
450
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
451
|
+
// not equal
|
|
452
|
+
if (existing_message === undefined || incoming_message === undefined) {
|
|
453
|
+
return false;
|
|
454
|
+
}
|
|
455
|
+
if (!(existing_message === incoming_message)) {
|
|
456
|
+
return false;
|
|
457
|
+
}
|
|
458
|
+
}
|
|
459
|
+
const existing_errors = existing.errors;
|
|
460
|
+
const incoming_errors = incoming.errors;
|
|
461
|
+
// if at least one of these optionals is defined
|
|
462
|
+
if (existing_errors !== undefined || incoming_errors !== undefined) {
|
|
463
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
464
|
+
// not equal
|
|
465
|
+
if (existing_errors === undefined || incoming_errors === undefined) {
|
|
466
|
+
return false;
|
|
467
|
+
}
|
|
468
|
+
const equals_errors_items = equalsArray(existing_errors, incoming_errors, (existing_errors_item, incoming_errors_item) => {
|
|
469
|
+
if (!(equals$h(existing_errors_item, incoming_errors_item))) {
|
|
470
|
+
return false;
|
|
471
|
+
}
|
|
472
|
+
});
|
|
473
|
+
if (equals_errors_items === false) {
|
|
474
|
+
return false;
|
|
475
|
+
}
|
|
476
|
+
}
|
|
477
|
+
return true;
|
|
478
|
+
}
|
|
479
|
+
|
|
480
|
+
const TTL$e = 6000;
|
|
481
|
+
const VERSION$f = "1a50bf399b835e5f51948f12543237ea";
|
|
482
|
+
function validate$P(obj, path = 'CatalogUpdateResponseRepresentation') {
|
|
483
|
+
const v_error = (() => {
|
|
484
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
485
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
486
|
+
}
|
|
487
|
+
const obj_correlationId = obj.correlationId;
|
|
488
|
+
const path_correlationId = path + '.correlationId';
|
|
489
|
+
if (typeof obj_correlationId !== 'string') {
|
|
490
|
+
return new TypeError('Expected "string" but received "' + typeof obj_correlationId + '" (at "' + path_correlationId + '")');
|
|
491
|
+
}
|
|
492
|
+
if (obj.graphResponse !== undefined) {
|
|
493
|
+
const obj_graphResponse = obj.graphResponse;
|
|
494
|
+
const path_graphResponse = path + '.graphResponse';
|
|
495
|
+
const referencepath_graphResponseValidationError = validate$R(obj_graphResponse, path_graphResponse);
|
|
496
|
+
if (referencepath_graphResponseValidationError !== null) {
|
|
497
|
+
let message = 'Object doesn\'t match CatalogUpdateGraphOutputRepresentation (at "' + path_graphResponse + '")\n';
|
|
498
|
+
message += referencepath_graphResponseValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
499
|
+
return new TypeError(message);
|
|
500
|
+
}
|
|
501
|
+
}
|
|
502
|
+
if (obj.isSuccessful !== undefined) {
|
|
503
|
+
const obj_isSuccessful = obj.isSuccessful;
|
|
504
|
+
const path_isSuccessful = path + '.isSuccessful';
|
|
505
|
+
if (typeof obj_isSuccessful !== 'boolean') {
|
|
506
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_isSuccessful + '" (at "' + path_isSuccessful + '")');
|
|
507
|
+
}
|
|
508
|
+
}
|
|
509
|
+
if (obj.source !== undefined) {
|
|
510
|
+
const obj_source = obj.source;
|
|
511
|
+
const path_source = path + '.source';
|
|
512
|
+
if (typeof obj_source !== 'string') {
|
|
513
|
+
return new TypeError('Expected "string" but received "' + typeof obj_source + '" (at "' + path_source + '")');
|
|
514
|
+
}
|
|
515
|
+
}
|
|
516
|
+
if (obj.status !== undefined) {
|
|
517
|
+
const obj_status = obj.status;
|
|
518
|
+
const path_status = path + '.status';
|
|
519
|
+
const referencepath_statusValidationError = validate$Q(obj_status, path_status);
|
|
520
|
+
if (referencepath_statusValidationError !== null) {
|
|
521
|
+
let message = 'Object doesn\'t match Status (at "' + path_status + '")\n';
|
|
522
|
+
message += referencepath_statusValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
523
|
+
return new TypeError(message);
|
|
524
|
+
}
|
|
525
|
+
}
|
|
526
|
+
})();
|
|
527
|
+
return v_error === undefined ? null : v_error;
|
|
528
|
+
}
|
|
529
|
+
const RepresentationType$f = 'CatalogUpdateResponseRepresentation';
|
|
530
|
+
function keyBuilder$o(luvio, config) {
|
|
531
|
+
return keyPrefix + '::' + RepresentationType$f + ':' + config.message;
|
|
532
|
+
}
|
|
533
|
+
function keyBuilderFromType$6(luvio, object) {
|
|
534
|
+
const keyParams = {
|
|
535
|
+
message: object.correlationId
|
|
536
|
+
};
|
|
537
|
+
return keyBuilder$o(luvio, keyParams);
|
|
538
|
+
}
|
|
539
|
+
function normalize$f(input, existing, path, luvio, store, timestamp) {
|
|
540
|
+
return input;
|
|
541
|
+
}
|
|
542
|
+
const select$v = function CatalogUpdateResponseRepresentationSelect() {
|
|
543
|
+
return {
|
|
544
|
+
kind: 'Fragment',
|
|
545
|
+
version: VERSION$f,
|
|
546
|
+
private: [],
|
|
547
|
+
opaque: true
|
|
548
|
+
};
|
|
549
|
+
};
|
|
550
|
+
function equals$f(existing, incoming) {
|
|
551
|
+
if (JSONStringify(incoming) !== JSONStringify(existing)) {
|
|
552
|
+
return false;
|
|
553
|
+
}
|
|
554
|
+
return true;
|
|
555
|
+
}
|
|
556
|
+
const ingest$f = function CatalogUpdateResponseRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
557
|
+
if (process.env.NODE_ENV !== 'production') {
|
|
558
|
+
const validateError = validate$P(input);
|
|
559
|
+
if (validateError !== null) {
|
|
560
|
+
throw validateError;
|
|
561
|
+
}
|
|
562
|
+
}
|
|
563
|
+
const key = keyBuilderFromType$6(luvio, input);
|
|
564
|
+
const ttlToUse = TTL$e;
|
|
565
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$f, "epc", VERSION$f, RepresentationType$f, equals$f);
|
|
566
|
+
return createLink(key);
|
|
567
|
+
};
|
|
568
|
+
function getTypeCacheKeys$f(rootKeySet, luvio, input, fullPathFactory) {
|
|
569
|
+
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
570
|
+
const rootKey = keyBuilderFromType$6(luvio, input);
|
|
571
|
+
rootKeySet.set(rootKey, {
|
|
572
|
+
namespace: keyPrefix,
|
|
573
|
+
representationName: RepresentationType$f,
|
|
574
|
+
mergeable: false
|
|
575
|
+
});
|
|
576
|
+
}
|
|
577
|
+
|
|
578
|
+
function select$u(luvio, params) {
|
|
579
|
+
return select$v();
|
|
580
|
+
}
|
|
581
|
+
function getResponseCacheKeys$f(storeKeyMap, luvio, resourceParams, response) {
|
|
582
|
+
getTypeCacheKeys$f(storeKeyMap, luvio, response);
|
|
583
|
+
}
|
|
584
|
+
function ingestSuccess$f(luvio, resourceParams, response) {
|
|
585
|
+
const { body } = response;
|
|
586
|
+
const key = keyBuilderFromType$6(luvio, body);
|
|
587
|
+
luvio.storeIngest(key, ingest$f, body);
|
|
588
|
+
const snapshot = luvio.storeLookup({
|
|
589
|
+
recordId: key,
|
|
590
|
+
node: select$u(),
|
|
591
|
+
variables: {},
|
|
592
|
+
});
|
|
593
|
+
if (process.env.NODE_ENV !== 'production') {
|
|
594
|
+
if (snapshot.state !== 'Fulfilled') {
|
|
595
|
+
throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
|
|
596
|
+
}
|
|
597
|
+
}
|
|
598
|
+
deepFreeze(snapshot.data);
|
|
599
|
+
return snapshot;
|
|
600
|
+
}
|
|
601
|
+
function createResourceRequest$f(config) {
|
|
602
|
+
const headers = {};
|
|
603
|
+
return {
|
|
604
|
+
baseUri: '/services/data/v64.0',
|
|
605
|
+
basePath: '/connect/pcm/actions/catalog-update',
|
|
606
|
+
method: 'post',
|
|
607
|
+
body: config.body,
|
|
608
|
+
urlParams: {},
|
|
609
|
+
queryParams: {},
|
|
610
|
+
headers,
|
|
611
|
+
priority: 'normal',
|
|
612
|
+
};
|
|
613
|
+
}
|
|
614
|
+
|
|
615
|
+
const adapterName$f = 'pcmCatalogUpdate';
|
|
616
|
+
const pcmCatalogUpdate_ConfigPropertyMetadata = [
|
|
617
|
+
generateParamConfigMetadata('correlationId', false, 2 /* Body */, 0 /* String */),
|
|
618
|
+
generateParamConfigMetadata('objectGraph', true, 2 /* Body */, 4 /* Unsupported */),
|
|
619
|
+
generateParamConfigMetadata('source', true, 2 /* Body */, 0 /* String */),
|
|
620
|
+
];
|
|
621
|
+
const pcmCatalogUpdate_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$f, pcmCatalogUpdate_ConfigPropertyMetadata);
|
|
622
|
+
const createResourceParams$f = /*#__PURE__*/ createResourceParams$g(pcmCatalogUpdate_ConfigPropertyMetadata);
|
|
623
|
+
function typeCheckConfig$f(untrustedConfig) {
|
|
624
|
+
const config = {};
|
|
625
|
+
typeCheckConfig$g(untrustedConfig, config, pcmCatalogUpdate_ConfigPropertyMetadata);
|
|
626
|
+
const untrustedConfig_objectGraph = untrustedConfig.objectGraph;
|
|
627
|
+
if (untrustedIsObject(untrustedConfig_objectGraph)) {
|
|
628
|
+
const untrustedConfig_objectGraph_object = {};
|
|
629
|
+
const untrustedConfig_objectGraph_keys = Object.keys(untrustedConfig_objectGraph);
|
|
630
|
+
for (let i = 0, arrayLength = untrustedConfig_objectGraph_keys.length; i < arrayLength; i++) {
|
|
631
|
+
const key = untrustedConfig_objectGraph_keys[i];
|
|
632
|
+
const untrustedConfig_objectGraph_prop = untrustedConfig_objectGraph[key];
|
|
633
|
+
if (untrustedConfig_objectGraph_object !== undefined) {
|
|
634
|
+
untrustedConfig_objectGraph_object[key] = untrustedConfig_objectGraph_prop;
|
|
635
|
+
}
|
|
636
|
+
}
|
|
637
|
+
if (untrustedConfig_objectGraph_object !== undefined && Object.keys(untrustedConfig_objectGraph_object).length >= 0) {
|
|
638
|
+
config.objectGraph = untrustedConfig_objectGraph_object;
|
|
639
|
+
}
|
|
640
|
+
}
|
|
641
|
+
return config;
|
|
642
|
+
}
|
|
643
|
+
function validateAdapterConfig$f(untrustedConfig, configPropertyNames) {
|
|
644
|
+
if (!untrustedIsObject(untrustedConfig)) {
|
|
645
|
+
return null;
|
|
646
|
+
}
|
|
647
|
+
if (process.env.NODE_ENV !== 'production') {
|
|
648
|
+
validateConfig(untrustedConfig, configPropertyNames);
|
|
649
|
+
}
|
|
650
|
+
const config = typeCheckConfig$f(untrustedConfig);
|
|
651
|
+
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
652
|
+
return null;
|
|
653
|
+
}
|
|
654
|
+
return config;
|
|
655
|
+
}
|
|
656
|
+
function buildNetworkSnapshot$f(luvio, config, options) {
|
|
657
|
+
const resourceParams = createResourceParams$f(config);
|
|
658
|
+
const request = createResourceRequest$f(resourceParams);
|
|
659
|
+
return luvio.dispatchResourceRequest(request, options)
|
|
660
|
+
.then((response) => {
|
|
661
|
+
return luvio.handleSuccessResponse(() => {
|
|
662
|
+
const snapshot = ingestSuccess$f(luvio, resourceParams, response);
|
|
663
|
+
return luvio.storeBroadcast().then(() => snapshot);
|
|
664
|
+
}, () => {
|
|
665
|
+
const cache = new StoreKeyMap();
|
|
666
|
+
getResponseCacheKeys$f(cache, luvio, resourceParams, response.body);
|
|
667
|
+
return cache;
|
|
668
|
+
});
|
|
669
|
+
}, (response) => {
|
|
670
|
+
deepFreeze(response);
|
|
671
|
+
throw response;
|
|
672
|
+
});
|
|
673
|
+
}
|
|
674
|
+
const pcmCatalogUpdateAdapterFactory = (luvio) => {
|
|
675
|
+
return function pcmCatalogUpdate(untrustedConfig) {
|
|
676
|
+
const config = validateAdapterConfig$f(untrustedConfig, pcmCatalogUpdate_ConfigPropertyNames);
|
|
677
|
+
// Invalid or incomplete config
|
|
678
|
+
if (config === null) {
|
|
679
|
+
throw new Error('Invalid config for "pcmCatalogUpdate"');
|
|
680
|
+
}
|
|
681
|
+
return buildNetworkSnapshot$f(luvio, config);
|
|
682
|
+
};
|
|
683
|
+
};
|
|
684
|
+
|
|
685
|
+
function validate$O(obj, path = 'DeactivateInputRepresentation') {
|
|
96
686
|
const v_error = (() => {
|
|
97
687
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
98
688
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -125,7 +715,7 @@ function validate$Q(obj, path = 'DeactivateInputRepresentation') {
|
|
|
125
715
|
return v_error === undefined ? null : v_error;
|
|
126
716
|
}
|
|
127
717
|
|
|
128
|
-
function validate$
|
|
718
|
+
function validate$N(obj, path = 'ErrorOutputRepresentation') {
|
|
129
719
|
const v_error = (() => {
|
|
130
720
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
131
721
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -157,8 +747,8 @@ function validate$P(obj, path = 'ErrorOutputRepresentation') {
|
|
|
157
747
|
}
|
|
158
748
|
|
|
159
749
|
const TTL$d = 6000;
|
|
160
|
-
const VERSION$
|
|
161
|
-
function validate$
|
|
750
|
+
const VERSION$e = "67abdeaa299bae24f468fd2e78cd1e1e";
|
|
751
|
+
function validate$M(obj, path = 'RecordIdMapOutputRepresentation') {
|
|
162
752
|
const v_error = (() => {
|
|
163
753
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
164
754
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -171,7 +761,7 @@ function validate$O(obj, path = 'RecordIdMapOutputRepresentation') {
|
|
|
171
761
|
for (let i = 0; i < obj_errors.length; i++) {
|
|
172
762
|
const obj_errors_item = obj_errors[i];
|
|
173
763
|
const path_errors_item = path_errors + '[' + i + ']';
|
|
174
|
-
const referencepath_errors_itemValidationError = validate$
|
|
764
|
+
const referencepath_errors_itemValidationError = validate$N(obj_errors_item, path_errors_item);
|
|
175
765
|
if (referencepath_errors_itemValidationError !== null) {
|
|
176
766
|
let message = 'Object doesn\'t match ErrorOutputRepresentation (at "' + path_errors_item + '")\n';
|
|
177
767
|
message += referencepath_errors_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -199,15 +789,15 @@ function keyBuilderFromType$5(luvio, object) {
|
|
|
199
789
|
function normalize$e(input, existing, path, luvio, store, timestamp) {
|
|
200
790
|
return input;
|
|
201
791
|
}
|
|
202
|
-
const select$
|
|
792
|
+
const select$t = function RecordIdMapOutputRepresentationSelect() {
|
|
203
793
|
return {
|
|
204
794
|
kind: 'Fragment',
|
|
205
|
-
version: VERSION$
|
|
795
|
+
version: VERSION$e,
|
|
206
796
|
private: [],
|
|
207
797
|
opaque: true
|
|
208
798
|
};
|
|
209
799
|
};
|
|
210
|
-
function equals$
|
|
800
|
+
function equals$e(existing, incoming) {
|
|
211
801
|
if (JSONStringify(incoming) !== JSONStringify(existing)) {
|
|
212
802
|
return false;
|
|
213
803
|
}
|
|
@@ -215,14 +805,14 @@ function equals$f(existing, incoming) {
|
|
|
215
805
|
}
|
|
216
806
|
const ingest$e = function RecordIdMapOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
217
807
|
if (process.env.NODE_ENV !== 'production') {
|
|
218
|
-
const validateError = validate$
|
|
808
|
+
const validateError = validate$M(input);
|
|
219
809
|
if (validateError !== null) {
|
|
220
810
|
throw validateError;
|
|
221
811
|
}
|
|
222
812
|
}
|
|
223
813
|
const key = keyBuilderFromType$5(luvio, input);
|
|
224
814
|
const ttlToUse = TTL$d;
|
|
225
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$e, "epc", VERSION$
|
|
815
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$e, "epc", VERSION$e, RepresentationType$e, equals$e);
|
|
226
816
|
return createLink(key);
|
|
227
817
|
};
|
|
228
818
|
function getTypeCacheKeys$e(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -235,8 +825,8 @@ function getTypeCacheKeys$e(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
235
825
|
});
|
|
236
826
|
}
|
|
237
827
|
|
|
238
|
-
function select$
|
|
239
|
-
return select$
|
|
828
|
+
function select$s(luvio, params) {
|
|
829
|
+
return select$t();
|
|
240
830
|
}
|
|
241
831
|
function getResponseCacheKeys$e(storeKeyMap, luvio, resourceParams, response) {
|
|
242
832
|
getTypeCacheKeys$e(storeKeyMap, luvio, response);
|
|
@@ -247,7 +837,7 @@ function ingestSuccess$e(luvio, resourceParams, response) {
|
|
|
247
837
|
luvio.storeIngest(key, ingest$e, body);
|
|
248
838
|
const snapshot = luvio.storeLookup({
|
|
249
839
|
recordId: key,
|
|
250
|
-
node: select$
|
|
840
|
+
node: select$s(),
|
|
251
841
|
variables: {},
|
|
252
842
|
});
|
|
253
843
|
if (process.env.NODE_ENV !== 'production') {
|
|
@@ -277,11 +867,11 @@ const deactivate_ConfigPropertyMetadata = [
|
|
|
277
867
|
generateParamConfigMetadata('deactivateInputPayload', true, 2 /* Body */, 4 /* Unsupported */),
|
|
278
868
|
];
|
|
279
869
|
const deactivate_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$e, deactivate_ConfigPropertyMetadata);
|
|
280
|
-
const createResourceParams$e = /*#__PURE__*/ createResourceParams$
|
|
870
|
+
const createResourceParams$e = /*#__PURE__*/ createResourceParams$g(deactivate_ConfigPropertyMetadata);
|
|
281
871
|
function typeCheckConfig$e(untrustedConfig) {
|
|
282
872
|
const config = {};
|
|
283
873
|
const untrustedConfig_deactivateInputPayload = untrustedConfig.deactivateInputPayload;
|
|
284
|
-
const referenceDeactivateInputRepresentationValidationError = validate$
|
|
874
|
+
const referenceDeactivateInputRepresentationValidationError = validate$O(untrustedConfig_deactivateInputPayload);
|
|
285
875
|
if (referenceDeactivateInputRepresentationValidationError === null) {
|
|
286
876
|
config.deactivateInputPayload = untrustedConfig_deactivateInputPayload;
|
|
287
877
|
}
|
|
@@ -329,58 +919,7 @@ const deactivateAdapterFactory = (luvio) => {
|
|
|
329
919
|
};
|
|
330
920
|
};
|
|
331
921
|
|
|
332
|
-
function validate$
|
|
333
|
-
const v_error = (() => {
|
|
334
|
-
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
335
|
-
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
336
|
-
}
|
|
337
|
-
if (obj.errorCode !== undefined) {
|
|
338
|
-
const obj_errorCode = obj.errorCode;
|
|
339
|
-
const path_errorCode = path + '.errorCode';
|
|
340
|
-
if (typeof obj_errorCode !== 'string') {
|
|
341
|
-
return new TypeError('Expected "string" but received "' + typeof obj_errorCode + '" (at "' + path_errorCode + '")');
|
|
342
|
-
}
|
|
343
|
-
}
|
|
344
|
-
if (obj.messageDetail !== undefined) {
|
|
345
|
-
const obj_messageDetail = obj.messageDetail;
|
|
346
|
-
const path_messageDetail = path + '.messageDetail';
|
|
347
|
-
if (typeof obj_messageDetail !== 'string') {
|
|
348
|
-
return new TypeError('Expected "string" but received "' + typeof obj_messageDetail + '" (at "' + path_messageDetail + '")');
|
|
349
|
-
}
|
|
350
|
-
}
|
|
351
|
-
if (obj.nodeProductId !== undefined) {
|
|
352
|
-
const obj_nodeProductId = obj.nodeProductId;
|
|
353
|
-
const path_nodeProductId = path + '.nodeProductId';
|
|
354
|
-
if (typeof obj_nodeProductId !== 'string') {
|
|
355
|
-
return new TypeError('Expected "string" but received "' + typeof obj_nodeProductId + '" (at "' + path_nodeProductId + '")');
|
|
356
|
-
}
|
|
357
|
-
}
|
|
358
|
-
if (obj.recordId !== undefined) {
|
|
359
|
-
const obj_recordId = obj.recordId;
|
|
360
|
-
const path_recordId = path + '.recordId';
|
|
361
|
-
if (typeof obj_recordId !== 'string') {
|
|
362
|
-
return new TypeError('Expected "string" but received "' + typeof obj_recordId + '" (at "' + path_recordId + '")');
|
|
363
|
-
}
|
|
364
|
-
}
|
|
365
|
-
if (obj.recordName !== undefined) {
|
|
366
|
-
const obj_recordName = obj.recordName;
|
|
367
|
-
const path_recordName = path + '.recordName';
|
|
368
|
-
if (typeof obj_recordName !== 'string') {
|
|
369
|
-
return new TypeError('Expected "string" but received "' + typeof obj_recordName + '" (at "' + path_recordName + '")');
|
|
370
|
-
}
|
|
371
|
-
}
|
|
372
|
-
if (obj.source !== undefined) {
|
|
373
|
-
const obj_source = obj.source;
|
|
374
|
-
const path_source = path + '.source';
|
|
375
|
-
if (typeof obj_source !== 'string') {
|
|
376
|
-
return new TypeError('Expected "string" but received "' + typeof obj_source + '" (at "' + path_source + '")');
|
|
377
|
-
}
|
|
378
|
-
}
|
|
379
|
-
})();
|
|
380
|
-
return v_error === undefined ? null : v_error;
|
|
381
|
-
}
|
|
382
|
-
|
|
383
|
-
function validate$M(obj, path = 'IndexConfigurationFieldOutputRepresentation') {
|
|
922
|
+
function validate$L(obj, path = 'IndexConfigurationFieldOutputRepresentation') {
|
|
384
923
|
const v_error = (() => {
|
|
385
924
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
386
925
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -452,7 +991,7 @@ function validate$M(obj, path = 'IndexConfigurationFieldOutputRepresentation') {
|
|
|
452
991
|
return v_error === undefined ? null : v_error;
|
|
453
992
|
}
|
|
454
993
|
|
|
455
|
-
function validate$
|
|
994
|
+
function validate$K(obj, path = 'FieldsInfoOutputRepresentation') {
|
|
456
995
|
const v_error = (() => {
|
|
457
996
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
458
997
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -510,7 +1049,7 @@ function validate$L(obj, path = 'FieldsInfoOutputRepresentation') {
|
|
|
510
1049
|
return v_error === undefined ? null : v_error;
|
|
511
1050
|
}
|
|
512
1051
|
|
|
513
|
-
function validate$
|
|
1052
|
+
function validate$J(obj, path = 'ObjectInfoOutputRepresentation') {
|
|
514
1053
|
const v_error = (() => {
|
|
515
1054
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
516
1055
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -524,7 +1063,7 @@ function validate$K(obj, path = 'ObjectInfoOutputRepresentation') {
|
|
|
524
1063
|
for (let i = 0; i < obj_fields.length; i++) {
|
|
525
1064
|
const obj_fields_item = obj_fields[i];
|
|
526
1065
|
const path_fields_item = path_fields + '[' + i + ']';
|
|
527
|
-
const referencepath_fields_itemValidationError = validate$
|
|
1066
|
+
const referencepath_fields_itemValidationError = validate$K(obj_fields_item, path_fields_item);
|
|
528
1067
|
if (referencepath_fields_itemValidationError !== null) {
|
|
529
1068
|
let message = 'Object doesn\'t match FieldsInfoOutputRepresentation (at "' + path_fields_item + '")\n';
|
|
530
1069
|
message += referencepath_fields_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -543,7 +1082,7 @@ function validate$K(obj, path = 'ObjectInfoOutputRepresentation') {
|
|
|
543
1082
|
return v_error === undefined ? null : v_error;
|
|
544
1083
|
}
|
|
545
1084
|
|
|
546
|
-
function validate$
|
|
1085
|
+
function validate$I(obj, path = 'MetadataOutputRepresentation') {
|
|
547
1086
|
const v_error = (() => {
|
|
548
1087
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
549
1088
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -557,7 +1096,7 @@ function validate$J(obj, path = 'MetadataOutputRepresentation') {
|
|
|
557
1096
|
for (let i = 0; i < obj_objectInfos.length; i++) {
|
|
558
1097
|
const obj_objectInfos_item = obj_objectInfos[i];
|
|
559
1098
|
const path_objectInfos_item = path_objectInfos + '[' + i + ']';
|
|
560
|
-
const referencepath_objectInfos_itemValidationError = validate$
|
|
1099
|
+
const referencepath_objectInfos_itemValidationError = validate$J(obj_objectInfos_item, path_objectInfos_item);
|
|
561
1100
|
if (referencepath_objectInfos_itemValidationError !== null) {
|
|
562
1101
|
let message = 'Object doesn\'t match ObjectInfoOutputRepresentation (at "' + path_objectInfos_item + '")\n';
|
|
563
1102
|
message += referencepath_objectInfos_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -570,8 +1109,8 @@ function validate$J(obj, path = 'MetadataOutputRepresentation') {
|
|
|
570
1109
|
}
|
|
571
1110
|
|
|
572
1111
|
const TTL$c = 6000;
|
|
573
|
-
const VERSION$
|
|
574
|
-
function validate$
|
|
1112
|
+
const VERSION$d = "61cfe23ab3d064d226af215df6681afc";
|
|
1113
|
+
function validate$H(obj, path = 'IndexConfigurationCollectionOutputRepresentation') {
|
|
575
1114
|
const v_error = (() => {
|
|
576
1115
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
577
1116
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -592,7 +1131,7 @@ function validate$I(obj, path = 'IndexConfigurationCollectionOutputRepresentatio
|
|
|
592
1131
|
for (let i = 0; i < obj_errors.length; i++) {
|
|
593
1132
|
const obj_errors_item = obj_errors[i];
|
|
594
1133
|
const path_errors_item = path_errors + '[' + i + ']';
|
|
595
|
-
const referencepath_errors_itemValidationError = validate$
|
|
1134
|
+
const referencepath_errors_itemValidationError = validate$T(obj_errors_item, path_errors_item);
|
|
596
1135
|
if (referencepath_errors_itemValidationError !== null) {
|
|
597
1136
|
let message = 'Object doesn\'t match EpcErrorOutputRepresentation (at "' + path_errors_item + '")\n';
|
|
598
1137
|
message += referencepath_errors_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -609,7 +1148,7 @@ function validate$I(obj, path = 'IndexConfigurationCollectionOutputRepresentatio
|
|
|
609
1148
|
for (let i = 0; i < obj_indexConfigurations.length; i++) {
|
|
610
1149
|
const obj_indexConfigurations_item = obj_indexConfigurations[i];
|
|
611
1150
|
const path_indexConfigurations_item = path_indexConfigurations + '[' + i + ']';
|
|
612
|
-
const referencepath_indexConfigurations_itemValidationError = validate$
|
|
1151
|
+
const referencepath_indexConfigurations_itemValidationError = validate$L(obj_indexConfigurations_item, path_indexConfigurations_item);
|
|
613
1152
|
if (referencepath_indexConfigurations_itemValidationError !== null) {
|
|
614
1153
|
let message = 'Object doesn\'t match IndexConfigurationFieldOutputRepresentation (at "' + path_indexConfigurations_item + '")\n';
|
|
615
1154
|
message += referencepath_indexConfigurations_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -620,7 +1159,7 @@ function validate$I(obj, path = 'IndexConfigurationCollectionOutputRepresentatio
|
|
|
620
1159
|
if (obj.metadata !== undefined) {
|
|
621
1160
|
const obj_metadata = obj.metadata;
|
|
622
1161
|
const path_metadata = path + '.metadata';
|
|
623
|
-
const referencepath_metadataValidationError = validate$
|
|
1162
|
+
const referencepath_metadataValidationError = validate$I(obj_metadata, path_metadata);
|
|
624
1163
|
if (referencepath_metadataValidationError !== null) {
|
|
625
1164
|
let message = 'Object doesn\'t match MetadataOutputRepresentation (at "' + path_metadata + '")\n';
|
|
626
1165
|
message += referencepath_metadataValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -641,15 +1180,15 @@ const RepresentationType$d = 'IndexConfigurationCollectionOutputRepresentation';
|
|
|
641
1180
|
function normalize$d(input, existing, path, luvio, store, timestamp) {
|
|
642
1181
|
return input;
|
|
643
1182
|
}
|
|
644
|
-
const select$
|
|
1183
|
+
const select$r = function IndexConfigurationCollectionOutputRepresentationSelect() {
|
|
645
1184
|
return {
|
|
646
1185
|
kind: 'Fragment',
|
|
647
|
-
version: VERSION$
|
|
1186
|
+
version: VERSION$d,
|
|
648
1187
|
private: [],
|
|
649
1188
|
opaque: true
|
|
650
1189
|
};
|
|
651
1190
|
};
|
|
652
|
-
function equals$
|
|
1191
|
+
function equals$d(existing, incoming) {
|
|
653
1192
|
if (JSONStringify(incoming) !== JSONStringify(existing)) {
|
|
654
1193
|
return false;
|
|
655
1194
|
}
|
|
@@ -657,14 +1196,14 @@ function equals$e(existing, incoming) {
|
|
|
657
1196
|
}
|
|
658
1197
|
const ingest$d = function IndexConfigurationCollectionOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
659
1198
|
if (process.env.NODE_ENV !== 'production') {
|
|
660
|
-
const validateError = validate$
|
|
1199
|
+
const validateError = validate$H(input);
|
|
661
1200
|
if (validateError !== null) {
|
|
662
1201
|
throw validateError;
|
|
663
1202
|
}
|
|
664
1203
|
}
|
|
665
1204
|
const key = path.fullPath;
|
|
666
1205
|
const ttlToUse = TTL$c;
|
|
667
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$d, "epc", VERSION$
|
|
1206
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$d, "epc", VERSION$d, RepresentationType$d, equals$d);
|
|
668
1207
|
return createLink(key);
|
|
669
1208
|
};
|
|
670
1209
|
function getTypeCacheKeys$d(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -677,8 +1216,8 @@ function getTypeCacheKeys$d(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
677
1216
|
});
|
|
678
1217
|
}
|
|
679
1218
|
|
|
680
|
-
function select$
|
|
681
|
-
return select$
|
|
1219
|
+
function select$q(luvio, params) {
|
|
1220
|
+
return select$r();
|
|
682
1221
|
}
|
|
683
1222
|
function keyBuilder$m(luvio, params) {
|
|
684
1223
|
return keyPrefix + '::IndexConfigurationCollectionOutputRepresentation:(' + 'correlationId:' + params.queryParams.correlationId + ',' + 'fieldTypes:' + params.queryParams.fieldTypes + ',' + 'includeMetadata:' + params.queryParams.includeMetadata + ')';
|
|
@@ -692,7 +1231,7 @@ function ingestSuccess$d(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
692
1231
|
luvio.storeIngest(key, ingest$d, body);
|
|
693
1232
|
const snapshot = luvio.storeLookup({
|
|
694
1233
|
recordId: key,
|
|
695
|
-
node: select$
|
|
1234
|
+
node: select$q(),
|
|
696
1235
|
variables: {},
|
|
697
1236
|
}, snapshotRefresh);
|
|
698
1237
|
if (process.env.NODE_ENV !== 'production') {
|
|
@@ -709,7 +1248,7 @@ function ingestError$8(luvio, params, error, snapshotRefresh) {
|
|
|
709
1248
|
const storeMetadataParams = {
|
|
710
1249
|
ttl: TTL$c,
|
|
711
1250
|
namespace: keyPrefix,
|
|
712
|
-
version: VERSION$
|
|
1251
|
+
version: VERSION$d,
|
|
713
1252
|
representationName: RepresentationType$d
|
|
714
1253
|
};
|
|
715
1254
|
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
@@ -736,14 +1275,14 @@ const getIndexConfigurations_ConfigPropertyMetadata = [
|
|
|
736
1275
|
generateParamConfigMetadata('includeMetadata', false, 1 /* QueryParameter */, 1 /* Boolean */),
|
|
737
1276
|
];
|
|
738
1277
|
const getIndexConfigurations_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$d, getIndexConfigurations_ConfigPropertyMetadata);
|
|
739
|
-
const createResourceParams$d = /*#__PURE__*/ createResourceParams$
|
|
1278
|
+
const createResourceParams$d = /*#__PURE__*/ createResourceParams$g(getIndexConfigurations_ConfigPropertyMetadata);
|
|
740
1279
|
function keyBuilder$l(luvio, config) {
|
|
741
1280
|
const resourceParams = createResourceParams$d(config);
|
|
742
1281
|
return keyBuilder$m(luvio, resourceParams);
|
|
743
1282
|
}
|
|
744
1283
|
function typeCheckConfig$d(untrustedConfig) {
|
|
745
1284
|
const config = {};
|
|
746
|
-
typeCheckConfig$
|
|
1285
|
+
typeCheckConfig$g(untrustedConfig, config, getIndexConfigurations_ConfigPropertyMetadata);
|
|
747
1286
|
return config;
|
|
748
1287
|
}
|
|
749
1288
|
function validateAdapterConfig$d(untrustedConfig, configPropertyNames) {
|
|
@@ -761,7 +1300,7 @@ function validateAdapterConfig$d(untrustedConfig, configPropertyNames) {
|
|
|
761
1300
|
}
|
|
762
1301
|
function adapterFragment$8(luvio, config) {
|
|
763
1302
|
createResourceParams$d(config);
|
|
764
|
-
return select$
|
|
1303
|
+
return select$q();
|
|
765
1304
|
}
|
|
766
1305
|
function onFetchResponseSuccess$8(luvio, config, resourceParams, response) {
|
|
767
1306
|
const snapshot = ingestSuccess$d(luvio, resourceParams, response, {
|
|
@@ -818,8 +1357,8 @@ const getIndexConfigurationsAdapterFactory = (luvio) => function epc__getIndexCo
|
|
|
818
1357
|
};
|
|
819
1358
|
|
|
820
1359
|
const TTL$b = 6000;
|
|
821
|
-
const VERSION$
|
|
822
|
-
function validate$
|
|
1360
|
+
const VERSION$c = "d8fe6f305d394e3ad9e8b064fd805a31";
|
|
1361
|
+
function validate$G(obj, path = 'IndexConfigurationsUpdateOutputRepresentation') {
|
|
823
1362
|
const v_error = (() => {
|
|
824
1363
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
825
1364
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -840,7 +1379,7 @@ function validate$H(obj, path = 'IndexConfigurationsUpdateOutputRepresentation')
|
|
|
840
1379
|
for (let i = 0; i < obj_errors.length; i++) {
|
|
841
1380
|
const obj_errors_item = obj_errors[i];
|
|
842
1381
|
const path_errors_item = path_errors + '[' + i + ']';
|
|
843
|
-
const referencepath_errors_itemValidationError = validate$
|
|
1382
|
+
const referencepath_errors_itemValidationError = validate$T(obj_errors_item, path_errors_item);
|
|
844
1383
|
if (referencepath_errors_itemValidationError !== null) {
|
|
845
1384
|
let message = 'Object doesn\'t match EpcErrorOutputRepresentation (at "' + path_errors_item + '")\n';
|
|
846
1385
|
message += referencepath_errors_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -857,7 +1396,7 @@ function validate$H(obj, path = 'IndexConfigurationsUpdateOutputRepresentation')
|
|
|
857
1396
|
for (let i = 0; i < obj_indexConfigurations.length; i++) {
|
|
858
1397
|
const obj_indexConfigurations_item = obj_indexConfigurations[i];
|
|
859
1398
|
const path_indexConfigurations_item = path_indexConfigurations + '[' + i + ']';
|
|
860
|
-
const referencepath_indexConfigurations_itemValidationError = validate$
|
|
1399
|
+
const referencepath_indexConfigurations_itemValidationError = validate$L(obj_indexConfigurations_item, path_indexConfigurations_item);
|
|
861
1400
|
if (referencepath_indexConfigurations_itemValidationError !== null) {
|
|
862
1401
|
let message = 'Object doesn\'t match IndexConfigurationFieldOutputRepresentation (at "' + path_indexConfigurations_item + '")\n';
|
|
863
1402
|
message += referencepath_indexConfigurations_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -886,15 +1425,15 @@ function keyBuilderFromType$4(luvio, object) {
|
|
|
886
1425
|
function normalize$c(input, existing, path, luvio, store, timestamp) {
|
|
887
1426
|
return input;
|
|
888
1427
|
}
|
|
889
|
-
const select$
|
|
1428
|
+
const select$p = function IndexConfigurationsUpdateOutputRepresentationSelect() {
|
|
890
1429
|
return {
|
|
891
1430
|
kind: 'Fragment',
|
|
892
|
-
version: VERSION$
|
|
1431
|
+
version: VERSION$c,
|
|
893
1432
|
private: [],
|
|
894
1433
|
opaque: true
|
|
895
1434
|
};
|
|
896
1435
|
};
|
|
897
|
-
function equals$
|
|
1436
|
+
function equals$c(existing, incoming) {
|
|
898
1437
|
if (JSONStringify(incoming) !== JSONStringify(existing)) {
|
|
899
1438
|
return false;
|
|
900
1439
|
}
|
|
@@ -902,14 +1441,14 @@ function equals$d(existing, incoming) {
|
|
|
902
1441
|
}
|
|
903
1442
|
const ingest$c = function IndexConfigurationsUpdateOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
904
1443
|
if (process.env.NODE_ENV !== 'production') {
|
|
905
|
-
const validateError = validate$
|
|
1444
|
+
const validateError = validate$G(input);
|
|
906
1445
|
if (validateError !== null) {
|
|
907
1446
|
throw validateError;
|
|
908
1447
|
}
|
|
909
1448
|
}
|
|
910
1449
|
const key = keyBuilderFromType$4(luvio, input);
|
|
911
1450
|
const ttlToUse = TTL$b;
|
|
912
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$c, "epc", VERSION$
|
|
1451
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$c, "epc", VERSION$c, RepresentationType$c, equals$c);
|
|
913
1452
|
return createLink(key);
|
|
914
1453
|
};
|
|
915
1454
|
function getTypeCacheKeys$c(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -922,8 +1461,8 @@ function getTypeCacheKeys$c(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
922
1461
|
});
|
|
923
1462
|
}
|
|
924
1463
|
|
|
925
|
-
function select$
|
|
926
|
-
return select$
|
|
1464
|
+
function select$o(luvio, params) {
|
|
1465
|
+
return select$p();
|
|
927
1466
|
}
|
|
928
1467
|
function getResponseCacheKeys$c(storeKeyMap, luvio, resourceParams, response) {
|
|
929
1468
|
getTypeCacheKeys$c(storeKeyMap, luvio, response);
|
|
@@ -934,7 +1473,7 @@ function ingestSuccess$c(luvio, resourceParams, response) {
|
|
|
934
1473
|
luvio.storeIngest(key, ingest$c, body);
|
|
935
1474
|
const snapshot = luvio.storeLookup({
|
|
936
1475
|
recordId: key,
|
|
937
|
-
node: select$
|
|
1476
|
+
node: select$o(),
|
|
938
1477
|
variables: {},
|
|
939
1478
|
});
|
|
940
1479
|
if (process.env.NODE_ENV !== 'production') {
|
|
@@ -965,10 +1504,10 @@ const updateIndexConfigurations_ConfigPropertyMetadata = [
|
|
|
965
1504
|
generateParamConfigMetadata('indexConfigurations', false, 2 /* Body */, 4 /* Unsupported */, true),
|
|
966
1505
|
];
|
|
967
1506
|
const updateIndexConfigurations_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$c, updateIndexConfigurations_ConfigPropertyMetadata);
|
|
968
|
-
const createResourceParams$c = /*#__PURE__*/ createResourceParams$
|
|
1507
|
+
const createResourceParams$c = /*#__PURE__*/ createResourceParams$g(updateIndexConfigurations_ConfigPropertyMetadata);
|
|
969
1508
|
function typeCheckConfig$c(untrustedConfig) {
|
|
970
1509
|
const config = {};
|
|
971
|
-
typeCheckConfig$
|
|
1510
|
+
typeCheckConfig$g(untrustedConfig, config, updateIndexConfigurations_ConfigPropertyMetadata);
|
|
972
1511
|
const untrustedConfig_indexConfigurations = untrustedConfig.indexConfigurations;
|
|
973
1512
|
if (ArrayIsArray$1(untrustedConfig_indexConfigurations)) {
|
|
974
1513
|
const untrustedConfig_indexConfigurations_array = [];
|
|
@@ -1022,7 +1561,7 @@ const updateIndexConfigurationsAdapterFactory = (luvio) => {
|
|
|
1022
1561
|
};
|
|
1023
1562
|
};
|
|
1024
1563
|
|
|
1025
|
-
function validate$
|
|
1564
|
+
function validate$F(obj, path = 'SnapshotIndexInfoOutputRepresentation') {
|
|
1026
1565
|
const v_error = (() => {
|
|
1027
1566
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1028
1567
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1059,7 +1598,7 @@ function validate$G(obj, path = 'SnapshotIndexInfoOutputRepresentation') {
|
|
|
1059
1598
|
return v_error === undefined ? null : v_error;
|
|
1060
1599
|
}
|
|
1061
1600
|
|
|
1062
|
-
function validate$
|
|
1601
|
+
function validate$E(obj, path = 'SnapshotIndexLogOutputRepresentation') {
|
|
1063
1602
|
const v_error = (() => {
|
|
1064
1603
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1065
1604
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1124,7 +1663,7 @@ function validate$F(obj, path = 'SnapshotIndexLogOutputRepresentation') {
|
|
|
1124
1663
|
return v_error === undefined ? null : v_error;
|
|
1125
1664
|
}
|
|
1126
1665
|
|
|
1127
|
-
function validate$
|
|
1666
|
+
function validate$D(obj, path = 'SnapshotIndexOutputRepresentation') {
|
|
1128
1667
|
const v_error = (() => {
|
|
1129
1668
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1130
1669
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1166,7 +1705,7 @@ function validate$E(obj, path = 'SnapshotIndexOutputRepresentation') {
|
|
|
1166
1705
|
for (let i = 0; i < obj_indexInfos.length; i++) {
|
|
1167
1706
|
const obj_indexInfos_item = obj_indexInfos[i];
|
|
1168
1707
|
const path_indexInfos_item = path_indexInfos + '[' + i + ']';
|
|
1169
|
-
const referencepath_indexInfos_itemValidationError = validate$
|
|
1708
|
+
const referencepath_indexInfos_itemValidationError = validate$F(obj_indexInfos_item, path_indexInfos_item);
|
|
1170
1709
|
if (referencepath_indexInfos_itemValidationError !== null) {
|
|
1171
1710
|
let message = 'Object doesn\'t match SnapshotIndexInfoOutputRepresentation (at "' + path_indexInfos_item + '")\n';
|
|
1172
1711
|
message += referencepath_indexInfos_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1183,7 +1722,7 @@ function validate$E(obj, path = 'SnapshotIndexOutputRepresentation') {
|
|
|
1183
1722
|
for (let i = 0; i < obj_indexLogs.length; i++) {
|
|
1184
1723
|
const obj_indexLogs_item = obj_indexLogs[i];
|
|
1185
1724
|
const path_indexLogs_item = path_indexLogs + '[' + i + ']';
|
|
1186
|
-
const referencepath_indexLogs_itemValidationError = validate$
|
|
1725
|
+
const referencepath_indexLogs_itemValidationError = validate$E(obj_indexLogs_item, path_indexLogs_item);
|
|
1187
1726
|
if (referencepath_indexLogs_itemValidationError !== null) {
|
|
1188
1727
|
let message = 'Object doesn\'t match SnapshotIndexLogOutputRepresentation (at "' + path_indexLogs_item + '")\n';
|
|
1189
1728
|
message += referencepath_indexLogs_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1223,7 +1762,7 @@ function validate$E(obj, path = 'SnapshotIndexOutputRepresentation') {
|
|
|
1223
1762
|
return v_error === undefined ? null : v_error;
|
|
1224
1763
|
}
|
|
1225
1764
|
|
|
1226
|
-
function validate$
|
|
1765
|
+
function validate$C(obj, path = 'SnapshotOutputRepresentation') {
|
|
1227
1766
|
const v_error = (() => {
|
|
1228
1767
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1229
1768
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1265,7 +1804,7 @@ function validate$D(obj, path = 'SnapshotOutputRepresentation') {
|
|
|
1265
1804
|
for (let i = 0; i < obj_snapshotIndexes.length; i++) {
|
|
1266
1805
|
const obj_snapshotIndexes_item = obj_snapshotIndexes[i];
|
|
1267
1806
|
const path_snapshotIndexes_item = path_snapshotIndexes + '[' + i + ']';
|
|
1268
|
-
const referencepath_snapshotIndexes_itemValidationError = validate$
|
|
1807
|
+
const referencepath_snapshotIndexes_itemValidationError = validate$D(obj_snapshotIndexes_item, path_snapshotIndexes_item);
|
|
1269
1808
|
if (referencepath_snapshotIndexes_itemValidationError !== null) {
|
|
1270
1809
|
let message = 'Object doesn\'t match SnapshotIndexOutputRepresentation (at "' + path_snapshotIndexes_item + '")\n';
|
|
1271
1810
|
message += referencepath_snapshotIndexes_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1278,8 +1817,8 @@ function validate$D(obj, path = 'SnapshotOutputRepresentation') {
|
|
|
1278
1817
|
}
|
|
1279
1818
|
|
|
1280
1819
|
const TTL$a = 6000;
|
|
1281
|
-
const VERSION$
|
|
1282
|
-
function validate$
|
|
1820
|
+
const VERSION$b = "a482669465add5966119b942982ae104";
|
|
1821
|
+
function validate$B(obj, path = 'SnapshotDeploymentOutputRepresentation') {
|
|
1283
1822
|
const v_error = (() => {
|
|
1284
1823
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1285
1824
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1293,7 +1832,7 @@ function validate$C(obj, path = 'SnapshotDeploymentOutputRepresentation') {
|
|
|
1293
1832
|
for (let i = 0; i < obj_errors.length; i++) {
|
|
1294
1833
|
const obj_errors_item = obj_errors[i];
|
|
1295
1834
|
const path_errors_item = path_errors + '[' + i + ']';
|
|
1296
|
-
const referencepath_errors_itemValidationError = validate$
|
|
1835
|
+
const referencepath_errors_itemValidationError = validate$T(obj_errors_item, path_errors_item);
|
|
1297
1836
|
if (referencepath_errors_itemValidationError !== null) {
|
|
1298
1837
|
let message = 'Object doesn\'t match EpcErrorOutputRepresentation (at "' + path_errors_item + '")\n';
|
|
1299
1838
|
message += referencepath_errors_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1304,7 +1843,7 @@ function validate$C(obj, path = 'SnapshotDeploymentOutputRepresentation') {
|
|
|
1304
1843
|
if (obj.snapshot !== undefined) {
|
|
1305
1844
|
const obj_snapshot = obj.snapshot;
|
|
1306
1845
|
const path_snapshot = path + '.snapshot';
|
|
1307
|
-
const referencepath_snapshotValidationError = validate$
|
|
1846
|
+
const referencepath_snapshotValidationError = validate$C(obj_snapshot, path_snapshot);
|
|
1308
1847
|
if (referencepath_snapshotValidationError !== null) {
|
|
1309
1848
|
let message = 'Object doesn\'t match SnapshotOutputRepresentation (at "' + path_snapshot + '")\n';
|
|
1310
1849
|
message += referencepath_snapshotValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1332,15 +1871,15 @@ function keyBuilderFromType$3(luvio, object) {
|
|
|
1332
1871
|
function normalize$b(input, existing, path, luvio, store, timestamp) {
|
|
1333
1872
|
return input;
|
|
1334
1873
|
}
|
|
1335
|
-
const select$
|
|
1874
|
+
const select$n = function SnapshotDeploymentOutputRepresentationSelect() {
|
|
1336
1875
|
return {
|
|
1337
1876
|
kind: 'Fragment',
|
|
1338
|
-
version: VERSION$
|
|
1877
|
+
version: VERSION$b,
|
|
1339
1878
|
private: [],
|
|
1340
1879
|
opaque: true
|
|
1341
1880
|
};
|
|
1342
1881
|
};
|
|
1343
|
-
function equals$
|
|
1882
|
+
function equals$b(existing, incoming) {
|
|
1344
1883
|
if (JSONStringify(incoming) !== JSONStringify(existing)) {
|
|
1345
1884
|
return false;
|
|
1346
1885
|
}
|
|
@@ -1348,14 +1887,14 @@ function equals$c(existing, incoming) {
|
|
|
1348
1887
|
}
|
|
1349
1888
|
const ingest$b = function SnapshotDeploymentOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
1350
1889
|
if (process.env.NODE_ENV !== 'production') {
|
|
1351
|
-
const validateError = validate$
|
|
1890
|
+
const validateError = validate$B(input);
|
|
1352
1891
|
if (validateError !== null) {
|
|
1353
1892
|
throw validateError;
|
|
1354
1893
|
}
|
|
1355
1894
|
}
|
|
1356
1895
|
const key = keyBuilderFromType$3(luvio, input);
|
|
1357
1896
|
const ttlToUse = TTL$a;
|
|
1358
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$b, "epc", VERSION$
|
|
1897
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$b, "epc", VERSION$b, RepresentationType$b, equals$b);
|
|
1359
1898
|
return createLink(key);
|
|
1360
1899
|
};
|
|
1361
1900
|
function getTypeCacheKeys$b(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -1368,8 +1907,8 @@ function getTypeCacheKeys$b(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
1368
1907
|
});
|
|
1369
1908
|
}
|
|
1370
1909
|
|
|
1371
|
-
function select$
|
|
1372
|
-
return select$
|
|
1910
|
+
function select$m(luvio, params) {
|
|
1911
|
+
return select$n();
|
|
1373
1912
|
}
|
|
1374
1913
|
function getResponseCacheKeys$b(storeKeyMap, luvio, resourceParams, response) {
|
|
1375
1914
|
getTypeCacheKeys$b(storeKeyMap, luvio, response);
|
|
@@ -1380,7 +1919,7 @@ function ingestSuccess$b(luvio, resourceParams, response) {
|
|
|
1380
1919
|
luvio.storeIngest(key, ingest$b, body);
|
|
1381
1920
|
const snapshot = luvio.storeLookup({
|
|
1382
1921
|
recordId: key,
|
|
1383
|
-
node: select$
|
|
1922
|
+
node: select$m(),
|
|
1384
1923
|
variables: {},
|
|
1385
1924
|
});
|
|
1386
1925
|
if (process.env.NODE_ENV !== 'production') {
|
|
@@ -1411,10 +1950,10 @@ const deploySnapshotIndex_ConfigPropertyMetadata = [
|
|
|
1411
1950
|
generateParamConfigMetadata('snapshot', false, 2 /* Body */, 4 /* Unsupported */),
|
|
1412
1951
|
];
|
|
1413
1952
|
const deploySnapshotIndex_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$b, deploySnapshotIndex_ConfigPropertyMetadata);
|
|
1414
|
-
const createResourceParams$b = /*#__PURE__*/ createResourceParams$
|
|
1953
|
+
const createResourceParams$b = /*#__PURE__*/ createResourceParams$g(deploySnapshotIndex_ConfigPropertyMetadata);
|
|
1415
1954
|
function typeCheckConfig$b(untrustedConfig) {
|
|
1416
1955
|
const config = {};
|
|
1417
|
-
typeCheckConfig$
|
|
1956
|
+
typeCheckConfig$g(untrustedConfig, config, deploySnapshotIndex_ConfigPropertyMetadata);
|
|
1418
1957
|
const untrustedConfig_snapshot = untrustedConfig.snapshot;
|
|
1419
1958
|
config.snapshot = untrustedConfig_snapshot;
|
|
1420
1959
|
return config;
|
|
@@ -1461,7 +2000,7 @@ const deploySnapshotIndexAdapterFactory = (luvio) => {
|
|
|
1461
2000
|
};
|
|
1462
2001
|
};
|
|
1463
2002
|
|
|
1464
|
-
function validate$
|
|
2003
|
+
function validate$A(obj, path = 'SettingMetadataOutputRepresentation') {
|
|
1465
2004
|
const v_error = (() => {
|
|
1466
2005
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1467
2006
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1484,7 +2023,7 @@ function validate$B(obj, path = 'SettingMetadataOutputRepresentation') {
|
|
|
1484
2023
|
return v_error === undefined ? null : v_error;
|
|
1485
2024
|
}
|
|
1486
2025
|
|
|
1487
|
-
function validate$
|
|
2026
|
+
function validate$z(obj, path = 'SettingOutputRepresentation') {
|
|
1488
2027
|
const v_error = (() => {
|
|
1489
2028
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1490
2029
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1522,8 +2061,8 @@ function validate$A(obj, path = 'SettingOutputRepresentation') {
|
|
|
1522
2061
|
}
|
|
1523
2062
|
|
|
1524
2063
|
const TTL$9 = 6000;
|
|
1525
|
-
const VERSION$
|
|
1526
|
-
function validate$
|
|
2064
|
+
const VERSION$a = "9f52dc7c38815ba6aa72af8ff9843d5b";
|
|
2065
|
+
function validate$y(obj, path = 'IndexSettingOutputRepresentation') {
|
|
1527
2066
|
const v_error = (() => {
|
|
1528
2067
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1529
2068
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1537,7 +2076,7 @@ function validate$z(obj, path = 'IndexSettingOutputRepresentation') {
|
|
|
1537
2076
|
for (let i = 0; i < obj_errors.length; i++) {
|
|
1538
2077
|
const obj_errors_item = obj_errors[i];
|
|
1539
2078
|
const path_errors_item = path_errors + '[' + i + ']';
|
|
1540
|
-
const referencepath_errors_itemValidationError = validate$
|
|
2079
|
+
const referencepath_errors_itemValidationError = validate$T(obj_errors_item, path_errors_item);
|
|
1541
2080
|
if (referencepath_errors_itemValidationError !== null) {
|
|
1542
2081
|
let message = 'Object doesn\'t match EpcErrorOutputRepresentation (at "' + path_errors_item + '")\n';
|
|
1543
2082
|
message += referencepath_errors_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1548,7 +2087,7 @@ function validate$z(obj, path = 'IndexSettingOutputRepresentation') {
|
|
|
1548
2087
|
if (obj.metadata !== undefined) {
|
|
1549
2088
|
const obj_metadata = obj.metadata;
|
|
1550
2089
|
const path_metadata = path + '.metadata';
|
|
1551
|
-
const referencepath_metadataValidationError = validate$
|
|
2090
|
+
const referencepath_metadataValidationError = validate$A(obj_metadata, path_metadata);
|
|
1552
2091
|
if (referencepath_metadataValidationError !== null) {
|
|
1553
2092
|
let message = 'Object doesn\'t match SettingMetadataOutputRepresentation (at "' + path_metadata + '")\n';
|
|
1554
2093
|
message += referencepath_metadataValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1558,7 +2097,7 @@ function validate$z(obj, path = 'IndexSettingOutputRepresentation') {
|
|
|
1558
2097
|
if (obj.setting !== undefined) {
|
|
1559
2098
|
const obj_setting = obj.setting;
|
|
1560
2099
|
const path_setting = path + '.setting';
|
|
1561
|
-
const referencepath_settingValidationError = validate$
|
|
2100
|
+
const referencepath_settingValidationError = validate$z(obj_setting, path_setting);
|
|
1562
2101
|
if (referencepath_settingValidationError !== null) {
|
|
1563
2102
|
let message = 'Object doesn\'t match SettingOutputRepresentation (at "' + path_setting + '")\n';
|
|
1564
2103
|
message += referencepath_settingValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1577,15 +2116,15 @@ const RepresentationType$a = 'IndexSettingOutputRepresentation';
|
|
|
1577
2116
|
function normalize$a(input, existing, path, luvio, store, timestamp) {
|
|
1578
2117
|
return input;
|
|
1579
2118
|
}
|
|
1580
|
-
const select$
|
|
2119
|
+
const select$l = function IndexSettingOutputRepresentationSelect() {
|
|
1581
2120
|
return {
|
|
1582
2121
|
kind: 'Fragment',
|
|
1583
|
-
version: VERSION$
|
|
2122
|
+
version: VERSION$a,
|
|
1584
2123
|
private: [],
|
|
1585
2124
|
opaque: true
|
|
1586
2125
|
};
|
|
1587
2126
|
};
|
|
1588
|
-
function equals$
|
|
2127
|
+
function equals$a(existing, incoming) {
|
|
1589
2128
|
if (JSONStringify(incoming) !== JSONStringify(existing)) {
|
|
1590
2129
|
return false;
|
|
1591
2130
|
}
|
|
@@ -1593,14 +2132,14 @@ function equals$b(existing, incoming) {
|
|
|
1593
2132
|
}
|
|
1594
2133
|
const ingest$a = function IndexSettingOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
1595
2134
|
if (process.env.NODE_ENV !== 'production') {
|
|
1596
|
-
const validateError = validate$
|
|
2135
|
+
const validateError = validate$y(input);
|
|
1597
2136
|
if (validateError !== null) {
|
|
1598
2137
|
throw validateError;
|
|
1599
2138
|
}
|
|
1600
2139
|
}
|
|
1601
2140
|
const key = path.fullPath;
|
|
1602
2141
|
const ttlToUse = TTL$9;
|
|
1603
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$a, "epc", VERSION$
|
|
2142
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$a, "epc", VERSION$a, RepresentationType$a, equals$a);
|
|
1604
2143
|
return createLink(key);
|
|
1605
2144
|
};
|
|
1606
2145
|
function getTypeCacheKeys$a(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -1613,8 +2152,8 @@ function getTypeCacheKeys$a(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
1613
2152
|
});
|
|
1614
2153
|
}
|
|
1615
2154
|
|
|
1616
|
-
function select$
|
|
1617
|
-
return select$
|
|
2155
|
+
function select$k(luvio, params) {
|
|
2156
|
+
return select$l();
|
|
1618
2157
|
}
|
|
1619
2158
|
function keyBuilder$i(luvio, params) {
|
|
1620
2159
|
return keyPrefix + '::IndexSettingOutputRepresentation:(' + ')';
|
|
@@ -1628,7 +2167,7 @@ function ingestSuccess$a(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
1628
2167
|
luvio.storeIngest(key, ingest$a, body);
|
|
1629
2168
|
const snapshot = luvio.storeLookup({
|
|
1630
2169
|
recordId: key,
|
|
1631
|
-
node: select$
|
|
2170
|
+
node: select$k(),
|
|
1632
2171
|
variables: {},
|
|
1633
2172
|
}, snapshotRefresh);
|
|
1634
2173
|
if (process.env.NODE_ENV !== 'production') {
|
|
@@ -1645,7 +2184,7 @@ function ingestError$7(luvio, params, error, snapshotRefresh) {
|
|
|
1645
2184
|
const storeMetadataParams = {
|
|
1646
2185
|
ttl: TTL$9,
|
|
1647
2186
|
namespace: keyPrefix,
|
|
1648
|
-
version: VERSION$
|
|
2187
|
+
version: VERSION$a,
|
|
1649
2188
|
representationName: RepresentationType$a
|
|
1650
2189
|
};
|
|
1651
2190
|
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
@@ -1668,7 +2207,7 @@ function createResourceRequest$a(config) {
|
|
|
1668
2207
|
const adapterName$a = 'getIndexSetting';
|
|
1669
2208
|
const getIndexSetting_ConfigPropertyMetadata = [];
|
|
1670
2209
|
const getIndexSetting_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$a, getIndexSetting_ConfigPropertyMetadata);
|
|
1671
|
-
const createResourceParams$a = /*#__PURE__*/ createResourceParams$
|
|
2210
|
+
const createResourceParams$a = /*#__PURE__*/ createResourceParams$g(getIndexSetting_ConfigPropertyMetadata);
|
|
1672
2211
|
function keyBuilder$h(luvio, config) {
|
|
1673
2212
|
createResourceParams$a(config);
|
|
1674
2213
|
return keyBuilder$i();
|
|
@@ -1692,7 +2231,7 @@ function validateAdapterConfig$a(untrustedConfig, configPropertyNames) {
|
|
|
1692
2231
|
}
|
|
1693
2232
|
function adapterFragment$7(luvio, config) {
|
|
1694
2233
|
createResourceParams$a(config);
|
|
1695
|
-
return select$
|
|
2234
|
+
return select$k();
|
|
1696
2235
|
}
|
|
1697
2236
|
function onFetchResponseSuccess$7(luvio, config, resourceParams, response) {
|
|
1698
2237
|
const snapshot = ingestSuccess$a(luvio, resourceParams, response, {
|
|
@@ -1748,7 +2287,7 @@ const getIndexSettingAdapterFactory = (luvio) => function epc__getIndexSetting(u
|
|
|
1748
2287
|
buildCachedSnapshotCachePolicy$7, buildNetworkSnapshotCachePolicy$7);
|
|
1749
2288
|
};
|
|
1750
2289
|
|
|
1751
|
-
function validate$
|
|
2290
|
+
function validate$x(obj, path = 'SettingInputRepresentation') {
|
|
1752
2291
|
const v_error = (() => {
|
|
1753
2292
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1754
2293
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1779,8 +2318,8 @@ function validate$y(obj, path = 'SettingInputRepresentation') {
|
|
|
1779
2318
|
}
|
|
1780
2319
|
|
|
1781
2320
|
const TTL$8 = 6000;
|
|
1782
|
-
const VERSION$
|
|
1783
|
-
function validate$
|
|
2321
|
+
const VERSION$9 = "dbe377fb2384a444e75e085b06800b5f";
|
|
2322
|
+
function validate$w(obj, path = 'IndexSettingPatchOutputRepresentation') {
|
|
1784
2323
|
const v_error = (() => {
|
|
1785
2324
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1786
2325
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1794,7 +2333,7 @@ function validate$x(obj, path = 'IndexSettingPatchOutputRepresentation') {
|
|
|
1794
2333
|
for (let i = 0; i < obj_errors.length; i++) {
|
|
1795
2334
|
const obj_errors_item = obj_errors[i];
|
|
1796
2335
|
const path_errors_item = path_errors + '[' + i + ']';
|
|
1797
|
-
const referencepath_errors_itemValidationError = validate$
|
|
2336
|
+
const referencepath_errors_itemValidationError = validate$T(obj_errors_item, path_errors_item);
|
|
1798
2337
|
if (referencepath_errors_itemValidationError !== null) {
|
|
1799
2338
|
let message = 'Object doesn\'t match EpcErrorOutputRepresentation (at "' + path_errors_item + '")\n';
|
|
1800
2339
|
message += referencepath_errors_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1805,7 +2344,7 @@ function validate$x(obj, path = 'IndexSettingPatchOutputRepresentation') {
|
|
|
1805
2344
|
if (obj.setting !== undefined) {
|
|
1806
2345
|
const obj_setting = obj.setting;
|
|
1807
2346
|
const path_setting = path + '.setting';
|
|
1808
|
-
const referencepath_settingValidationError = validate$
|
|
2347
|
+
const referencepath_settingValidationError = validate$z(obj_setting, path_setting);
|
|
1809
2348
|
if (referencepath_settingValidationError !== null) {
|
|
1810
2349
|
let message = 'Object doesn\'t match SettingOutputRepresentation (at "' + path_setting + '")\n';
|
|
1811
2350
|
message += referencepath_settingValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1833,15 +2372,15 @@ function keyBuilderFromType$2(luvio, object) {
|
|
|
1833
2372
|
function normalize$9(input, existing, path, luvio, store, timestamp) {
|
|
1834
2373
|
return input;
|
|
1835
2374
|
}
|
|
1836
|
-
const select$
|
|
2375
|
+
const select$j = function IndexSettingPatchOutputRepresentationSelect() {
|
|
1837
2376
|
return {
|
|
1838
2377
|
kind: 'Fragment',
|
|
1839
|
-
version: VERSION$
|
|
2378
|
+
version: VERSION$9,
|
|
1840
2379
|
private: [],
|
|
1841
2380
|
opaque: true
|
|
1842
2381
|
};
|
|
1843
2382
|
};
|
|
1844
|
-
function equals$
|
|
2383
|
+
function equals$9(existing, incoming) {
|
|
1845
2384
|
if (JSONStringify(incoming) !== JSONStringify(existing)) {
|
|
1846
2385
|
return false;
|
|
1847
2386
|
}
|
|
@@ -1849,14 +2388,14 @@ function equals$a(existing, incoming) {
|
|
|
1849
2388
|
}
|
|
1850
2389
|
const ingest$9 = function IndexSettingPatchOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
1851
2390
|
if (process.env.NODE_ENV !== 'production') {
|
|
1852
|
-
const validateError = validate$
|
|
2391
|
+
const validateError = validate$w(input);
|
|
1853
2392
|
if (validateError !== null) {
|
|
1854
2393
|
throw validateError;
|
|
1855
2394
|
}
|
|
1856
2395
|
}
|
|
1857
2396
|
const key = keyBuilderFromType$2(luvio, input);
|
|
1858
2397
|
const ttlToUse = TTL$8;
|
|
1859
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$9, "epc", VERSION$
|
|
2398
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$9, "epc", VERSION$9, RepresentationType$9, equals$9);
|
|
1860
2399
|
return createLink(key);
|
|
1861
2400
|
};
|
|
1862
2401
|
function getTypeCacheKeys$9(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -1869,8 +2408,8 @@ function getTypeCacheKeys$9(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
1869
2408
|
});
|
|
1870
2409
|
}
|
|
1871
2410
|
|
|
1872
|
-
function select$
|
|
1873
|
-
return select$
|
|
2411
|
+
function select$i(luvio, params) {
|
|
2412
|
+
return select$j();
|
|
1874
2413
|
}
|
|
1875
2414
|
function getResponseCacheKeys$9(storeKeyMap, luvio, resourceParams, response) {
|
|
1876
2415
|
getTypeCacheKeys$9(storeKeyMap, luvio, response);
|
|
@@ -1881,7 +2420,7 @@ function ingestSuccess$9(luvio, resourceParams, response) {
|
|
|
1881
2420
|
luvio.storeIngest(key, ingest$9, body);
|
|
1882
2421
|
const snapshot = luvio.storeLookup({
|
|
1883
2422
|
recordId: key,
|
|
1884
|
-
node: select$
|
|
2423
|
+
node: select$i(),
|
|
1885
2424
|
variables: {},
|
|
1886
2425
|
});
|
|
1887
2426
|
if (process.env.NODE_ENV !== 'production') {
|
|
@@ -1912,12 +2451,12 @@ const patchIndexSetting_ConfigPropertyMetadata = [
|
|
|
1912
2451
|
generateParamConfigMetadata('setting', false, 2 /* Body */, 4 /* Unsupported */),
|
|
1913
2452
|
];
|
|
1914
2453
|
const patchIndexSetting_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$9, patchIndexSetting_ConfigPropertyMetadata);
|
|
1915
|
-
const createResourceParams$9 = /*#__PURE__*/ createResourceParams$
|
|
2454
|
+
const createResourceParams$9 = /*#__PURE__*/ createResourceParams$g(patchIndexSetting_ConfigPropertyMetadata);
|
|
1916
2455
|
function typeCheckConfig$9(untrustedConfig) {
|
|
1917
2456
|
const config = {};
|
|
1918
|
-
typeCheckConfig$
|
|
2457
|
+
typeCheckConfig$g(untrustedConfig, config, patchIndexSetting_ConfigPropertyMetadata);
|
|
1919
2458
|
const untrustedConfig_setting = untrustedConfig.setting;
|
|
1920
|
-
const referenceSettingInputRepresentationValidationError = validate$
|
|
2459
|
+
const referenceSettingInputRepresentationValidationError = validate$x(untrustedConfig_setting);
|
|
1921
2460
|
if (referenceSettingInputRepresentationValidationError === null) {
|
|
1922
2461
|
config.setting = untrustedConfig_setting;
|
|
1923
2462
|
}
|
|
@@ -1966,8 +2505,8 @@ const patchIndexSettingAdapterFactory = (luvio) => {
|
|
|
1966
2505
|
};
|
|
1967
2506
|
|
|
1968
2507
|
const TTL$7 = 6000;
|
|
1969
|
-
const VERSION$
|
|
1970
|
-
function validate$
|
|
2508
|
+
const VERSION$8 = "b1566a76d9cf30f61b94a2d92caab70d";
|
|
2509
|
+
function validate$v(obj, path = 'SnapshotCollectionOutputRepresentation') {
|
|
1971
2510
|
const v_error = (() => {
|
|
1972
2511
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1973
2512
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1981,7 +2520,7 @@ function validate$w(obj, path = 'SnapshotCollectionOutputRepresentation') {
|
|
|
1981
2520
|
for (let i = 0; i < obj_errors.length; i++) {
|
|
1982
2521
|
const obj_errors_item = obj_errors[i];
|
|
1983
2522
|
const path_errors_item = path_errors + '[' + i + ']';
|
|
1984
|
-
const referencepath_errors_itemValidationError = validate$
|
|
2523
|
+
const referencepath_errors_itemValidationError = validate$T(obj_errors_item, path_errors_item);
|
|
1985
2524
|
if (referencepath_errors_itemValidationError !== null) {
|
|
1986
2525
|
let message = 'Object doesn\'t match EpcErrorOutputRepresentation (at "' + path_errors_item + '")\n';
|
|
1987
2526
|
message += referencepath_errors_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1998,7 +2537,7 @@ function validate$w(obj, path = 'SnapshotCollectionOutputRepresentation') {
|
|
|
1998
2537
|
for (let i = 0; i < obj_snapshots.length; i++) {
|
|
1999
2538
|
const obj_snapshots_item = obj_snapshots[i];
|
|
2000
2539
|
const path_snapshots_item = path_snapshots + '[' + i + ']';
|
|
2001
|
-
const referencepath_snapshots_itemValidationError = validate$
|
|
2540
|
+
const referencepath_snapshots_itemValidationError = validate$C(obj_snapshots_item, path_snapshots_item);
|
|
2002
2541
|
if (referencepath_snapshots_itemValidationError !== null) {
|
|
2003
2542
|
let message = 'Object doesn\'t match SnapshotOutputRepresentation (at "' + path_snapshots_item + '")\n';
|
|
2004
2543
|
message += referencepath_snapshots_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2020,15 +2559,15 @@ const RepresentationType$8 = 'SnapshotCollectionOutputRepresentation';
|
|
|
2020
2559
|
function normalize$8(input, existing, path, luvio, store, timestamp) {
|
|
2021
2560
|
return input;
|
|
2022
2561
|
}
|
|
2023
|
-
const select$
|
|
2562
|
+
const select$h = function SnapshotCollectionOutputRepresentationSelect() {
|
|
2024
2563
|
return {
|
|
2025
2564
|
kind: 'Fragment',
|
|
2026
|
-
version: VERSION$
|
|
2565
|
+
version: VERSION$8,
|
|
2027
2566
|
private: [],
|
|
2028
2567
|
opaque: true
|
|
2029
2568
|
};
|
|
2030
2569
|
};
|
|
2031
|
-
function equals$
|
|
2570
|
+
function equals$8(existing, incoming) {
|
|
2032
2571
|
if (JSONStringify(incoming) !== JSONStringify(existing)) {
|
|
2033
2572
|
return false;
|
|
2034
2573
|
}
|
|
@@ -2036,14 +2575,14 @@ function equals$9(existing, incoming) {
|
|
|
2036
2575
|
}
|
|
2037
2576
|
const ingest$8 = function SnapshotCollectionOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
2038
2577
|
if (process.env.NODE_ENV !== 'production') {
|
|
2039
|
-
const validateError = validate$
|
|
2578
|
+
const validateError = validate$v(input);
|
|
2040
2579
|
if (validateError !== null) {
|
|
2041
2580
|
throw validateError;
|
|
2042
2581
|
}
|
|
2043
2582
|
}
|
|
2044
2583
|
const key = path.fullPath;
|
|
2045
2584
|
const ttlToUse = TTL$7;
|
|
2046
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$8, "epc", VERSION$
|
|
2585
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$8, "epc", VERSION$8, RepresentationType$8, equals$8);
|
|
2047
2586
|
return createLink(key);
|
|
2048
2587
|
};
|
|
2049
2588
|
function getTypeCacheKeys$8(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -2056,8 +2595,8 @@ function getTypeCacheKeys$8(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
2056
2595
|
});
|
|
2057
2596
|
}
|
|
2058
2597
|
|
|
2059
|
-
function select$
|
|
2060
|
-
return select$
|
|
2598
|
+
function select$g(luvio, params) {
|
|
2599
|
+
return select$h();
|
|
2061
2600
|
}
|
|
2062
2601
|
function keyBuilder$f(luvio, params) {
|
|
2063
2602
|
return keyPrefix + '::SnapshotCollectionOutputRepresentation:(' + 'numberOfIndexLogs:' + params.queryParams.numberOfIndexLogs + ')';
|
|
@@ -2071,7 +2610,7 @@ function ingestSuccess$8(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
2071
2610
|
luvio.storeIngest(key, ingest$8, body);
|
|
2072
2611
|
const snapshot = luvio.storeLookup({
|
|
2073
2612
|
recordId: key,
|
|
2074
|
-
node: select$
|
|
2613
|
+
node: select$g(),
|
|
2075
2614
|
variables: {},
|
|
2076
2615
|
}, snapshotRefresh);
|
|
2077
2616
|
if (process.env.NODE_ENV !== 'production') {
|
|
@@ -2088,7 +2627,7 @@ function ingestError$6(luvio, params, error, snapshotRefresh) {
|
|
|
2088
2627
|
const storeMetadataParams = {
|
|
2089
2628
|
ttl: TTL$7,
|
|
2090
2629
|
namespace: keyPrefix,
|
|
2091
|
-
version: VERSION$
|
|
2630
|
+
version: VERSION$8,
|
|
2092
2631
|
representationName: RepresentationType$8
|
|
2093
2632
|
};
|
|
2094
2633
|
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
@@ -2113,14 +2652,14 @@ const getSnapshots_ConfigPropertyMetadata = [
|
|
|
2113
2652
|
generateParamConfigMetadata('numberOfIndexLogs', false, 1 /* QueryParameter */, 3 /* Integer */),
|
|
2114
2653
|
];
|
|
2115
2654
|
const getSnapshots_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$8, getSnapshots_ConfigPropertyMetadata);
|
|
2116
|
-
const createResourceParams$8 = /*#__PURE__*/ createResourceParams$
|
|
2655
|
+
const createResourceParams$8 = /*#__PURE__*/ createResourceParams$g(getSnapshots_ConfigPropertyMetadata);
|
|
2117
2656
|
function keyBuilder$e(luvio, config) {
|
|
2118
2657
|
const resourceParams = createResourceParams$8(config);
|
|
2119
2658
|
return keyBuilder$f(luvio, resourceParams);
|
|
2120
2659
|
}
|
|
2121
2660
|
function typeCheckConfig$8(untrustedConfig) {
|
|
2122
2661
|
const config = {};
|
|
2123
|
-
typeCheckConfig$
|
|
2662
|
+
typeCheckConfig$g(untrustedConfig, config, getSnapshots_ConfigPropertyMetadata);
|
|
2124
2663
|
return config;
|
|
2125
2664
|
}
|
|
2126
2665
|
function validateAdapterConfig$8(untrustedConfig, configPropertyNames) {
|
|
@@ -2138,7 +2677,7 @@ function validateAdapterConfig$8(untrustedConfig, configPropertyNames) {
|
|
|
2138
2677
|
}
|
|
2139
2678
|
function adapterFragment$6(luvio, config) {
|
|
2140
2679
|
createResourceParams$8(config);
|
|
2141
|
-
return select$
|
|
2680
|
+
return select$g();
|
|
2142
2681
|
}
|
|
2143
2682
|
function onFetchResponseSuccess$6(luvio, config, resourceParams, response) {
|
|
2144
2683
|
const snapshot = ingestSuccess$8(luvio, resourceParams, response, {
|
|
@@ -2194,7 +2733,7 @@ const getSnapshotsAdapterFactory = (luvio) => function epc__getSnapshots(untrust
|
|
|
2194
2733
|
buildCachedSnapshotCachePolicy$6, buildNetworkSnapshotCachePolicy$6);
|
|
2195
2734
|
};
|
|
2196
2735
|
|
|
2197
|
-
function validate$
|
|
2736
|
+
function validate$u(obj, path = 'IndexErrorOutputRepresentation') {
|
|
2198
2737
|
const v_error = (() => {
|
|
2199
2738
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2200
2739
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2239,8 +2778,8 @@ function validate$v(obj, path = 'IndexErrorOutputRepresentation') {
|
|
|
2239
2778
|
}
|
|
2240
2779
|
|
|
2241
2780
|
const TTL$6 = 6000;
|
|
2242
|
-
const VERSION$
|
|
2243
|
-
function validate$
|
|
2781
|
+
const VERSION$7 = "e31c001fd55621e81285a4979e12f08b";
|
|
2782
|
+
function validate$t(obj, path = 'SnapshotIndexErrorOutputRepresentation') {
|
|
2244
2783
|
const v_error = (() => {
|
|
2245
2784
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2246
2785
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2254,7 +2793,7 @@ function validate$u(obj, path = 'SnapshotIndexErrorOutputRepresentation') {
|
|
|
2254
2793
|
for (let i = 0; i < obj_errors.length; i++) {
|
|
2255
2794
|
const obj_errors_item = obj_errors[i];
|
|
2256
2795
|
const path_errors_item = path_errors + '[' + i + ']';
|
|
2257
|
-
const referencepath_errors_itemValidationError = validate$
|
|
2796
|
+
const referencepath_errors_itemValidationError = validate$T(obj_errors_item, path_errors_item);
|
|
2258
2797
|
if (referencepath_errors_itemValidationError !== null) {
|
|
2259
2798
|
let message = 'Object doesn\'t match EpcErrorOutputRepresentation (at "' + path_errors_item + '")\n';
|
|
2260
2799
|
message += referencepath_errors_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2265,7 +2804,7 @@ function validate$u(obj, path = 'SnapshotIndexErrorOutputRepresentation') {
|
|
|
2265
2804
|
if (obj.indexErrorDetails !== undefined) {
|
|
2266
2805
|
const obj_indexErrorDetails = obj.indexErrorDetails;
|
|
2267
2806
|
const path_indexErrorDetails = path + '.indexErrorDetails';
|
|
2268
|
-
const referencepath_indexErrorDetailsValidationError = validate$
|
|
2807
|
+
const referencepath_indexErrorDetailsValidationError = validate$u(obj_indexErrorDetails, path_indexErrorDetails);
|
|
2269
2808
|
if (referencepath_indexErrorDetailsValidationError !== null) {
|
|
2270
2809
|
let message = 'Object doesn\'t match IndexErrorOutputRepresentation (at "' + path_indexErrorDetails + '")\n';
|
|
2271
2810
|
message += referencepath_indexErrorDetailsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2284,15 +2823,15 @@ const RepresentationType$7 = 'SnapshotIndexErrorOutputRepresentation';
|
|
|
2284
2823
|
function normalize$7(input, existing, path, luvio, store, timestamp) {
|
|
2285
2824
|
return input;
|
|
2286
2825
|
}
|
|
2287
|
-
const select$
|
|
2826
|
+
const select$f = function SnapshotIndexErrorOutputRepresentationSelect() {
|
|
2288
2827
|
return {
|
|
2289
2828
|
kind: 'Fragment',
|
|
2290
|
-
version: VERSION$
|
|
2829
|
+
version: VERSION$7,
|
|
2291
2830
|
private: [],
|
|
2292
2831
|
opaque: true
|
|
2293
2832
|
};
|
|
2294
2833
|
};
|
|
2295
|
-
function equals$
|
|
2834
|
+
function equals$7(existing, incoming) {
|
|
2296
2835
|
if (JSONStringify(incoming) !== JSONStringify(existing)) {
|
|
2297
2836
|
return false;
|
|
2298
2837
|
}
|
|
@@ -2300,14 +2839,14 @@ function equals$8(existing, incoming) {
|
|
|
2300
2839
|
}
|
|
2301
2840
|
const ingest$7 = function SnapshotIndexErrorOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
2302
2841
|
if (process.env.NODE_ENV !== 'production') {
|
|
2303
|
-
const validateError = validate$
|
|
2842
|
+
const validateError = validate$t(input);
|
|
2304
2843
|
if (validateError !== null) {
|
|
2305
2844
|
throw validateError;
|
|
2306
2845
|
}
|
|
2307
2846
|
}
|
|
2308
2847
|
const key = path.fullPath;
|
|
2309
2848
|
const ttlToUse = TTL$6;
|
|
2310
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$7, "epc", VERSION$
|
|
2849
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$7, "epc", VERSION$7, RepresentationType$7, equals$7);
|
|
2311
2850
|
return createLink(key);
|
|
2312
2851
|
};
|
|
2313
2852
|
function getTypeCacheKeys$7(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -2320,8 +2859,8 @@ function getTypeCacheKeys$7(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
2320
2859
|
});
|
|
2321
2860
|
}
|
|
2322
2861
|
|
|
2323
|
-
function select$
|
|
2324
|
-
return select$
|
|
2862
|
+
function select$e(luvio, params) {
|
|
2863
|
+
return select$f();
|
|
2325
2864
|
}
|
|
2326
2865
|
function keyBuilder$d(luvio, params) {
|
|
2327
2866
|
return keyPrefix + '::SnapshotIndexErrorOutputRepresentation:(' + 'indexId:' + params.queryParams.indexId + ',' + 'snapshotIndexId:' + params.queryParams.snapshotIndexId + ')';
|
|
@@ -2335,7 +2874,7 @@ function ingestSuccess$7(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
2335
2874
|
luvio.storeIngest(key, ingest$7, body);
|
|
2336
2875
|
const snapshot = luvio.storeLookup({
|
|
2337
2876
|
recordId: key,
|
|
2338
|
-
node: select$
|
|
2877
|
+
node: select$e(),
|
|
2339
2878
|
variables: {},
|
|
2340
2879
|
}, snapshotRefresh);
|
|
2341
2880
|
if (process.env.NODE_ENV !== 'production') {
|
|
@@ -2352,7 +2891,7 @@ function ingestError$5(luvio, params, error, snapshotRefresh) {
|
|
|
2352
2891
|
const storeMetadataParams = {
|
|
2353
2892
|
ttl: TTL$6,
|
|
2354
2893
|
namespace: keyPrefix,
|
|
2355
|
-
version: VERSION$
|
|
2894
|
+
version: VERSION$7,
|
|
2356
2895
|
representationName: RepresentationType$7
|
|
2357
2896
|
};
|
|
2358
2897
|
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
@@ -2378,14 +2917,14 @@ const getIndexError_ConfigPropertyMetadata = [
|
|
|
2378
2917
|
generateParamConfigMetadata('snapshotIndexId', false, 1 /* QueryParameter */, 0 /* String */),
|
|
2379
2918
|
];
|
|
2380
2919
|
const getIndexError_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$7, getIndexError_ConfigPropertyMetadata);
|
|
2381
|
-
const createResourceParams$7 = /*#__PURE__*/ createResourceParams$
|
|
2920
|
+
const createResourceParams$7 = /*#__PURE__*/ createResourceParams$g(getIndexError_ConfigPropertyMetadata);
|
|
2382
2921
|
function keyBuilder$c(luvio, config) {
|
|
2383
2922
|
const resourceParams = createResourceParams$7(config);
|
|
2384
2923
|
return keyBuilder$d(luvio, resourceParams);
|
|
2385
2924
|
}
|
|
2386
2925
|
function typeCheckConfig$7(untrustedConfig) {
|
|
2387
2926
|
const config = {};
|
|
2388
|
-
typeCheckConfig$
|
|
2927
|
+
typeCheckConfig$g(untrustedConfig, config, getIndexError_ConfigPropertyMetadata);
|
|
2389
2928
|
return config;
|
|
2390
2929
|
}
|
|
2391
2930
|
function validateAdapterConfig$7(untrustedConfig, configPropertyNames) {
|
|
@@ -2403,7 +2942,7 @@ function validateAdapterConfig$7(untrustedConfig, configPropertyNames) {
|
|
|
2403
2942
|
}
|
|
2404
2943
|
function adapterFragment$5(luvio, config) {
|
|
2405
2944
|
createResourceParams$7(config);
|
|
2406
|
-
return select$
|
|
2945
|
+
return select$e();
|
|
2407
2946
|
}
|
|
2408
2947
|
function onFetchResponseSuccess$5(luvio, config, resourceParams, response) {
|
|
2409
2948
|
const snapshot = ingestSuccess$7(luvio, resourceParams, response, {
|
|
@@ -2459,7 +2998,7 @@ const getIndexErrorAdapterFactory = (luvio) => function epc__getIndexError(untru
|
|
|
2459
2998
|
buildCachedSnapshotCachePolicy$5, buildNetworkSnapshotCachePolicy$5);
|
|
2460
2999
|
};
|
|
2461
3000
|
|
|
2462
|
-
function validate$
|
|
3001
|
+
function validate$s(obj, path = 'ProductAttributeDefinitionListInputRepresentation') {
|
|
2463
3002
|
const v_error = (() => {
|
|
2464
3003
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2465
3004
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2480,7 +3019,7 @@ function validate$t(obj, path = 'ProductAttributeDefinitionListInputRepresentati
|
|
|
2480
3019
|
return v_error === undefined ? null : v_error;
|
|
2481
3020
|
}
|
|
2482
3021
|
|
|
2483
|
-
function validate$
|
|
3022
|
+
function validate$r(obj, path = 'ProductAttributeDefinitionRepresentation') {
|
|
2484
3023
|
const v_error = (() => {
|
|
2485
3024
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2486
3025
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2504,8 +3043,8 @@ function validate$s(obj, path = 'ProductAttributeDefinitionRepresentation') {
|
|
|
2504
3043
|
}
|
|
2505
3044
|
|
|
2506
3045
|
const TTL$5 = 6000;
|
|
2507
|
-
const VERSION$
|
|
2508
|
-
function validate$
|
|
3046
|
+
const VERSION$6 = "e67d3c8569b9667eac98cc1a9840041c";
|
|
3047
|
+
function validate$q(obj, path = 'ProductAttributeDefinitionListRepresentation') {
|
|
2509
3048
|
const v_error = (() => {
|
|
2510
3049
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2511
3050
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2518,7 +3057,7 @@ function validate$r(obj, path = 'ProductAttributeDefinitionListRepresentation')
|
|
|
2518
3057
|
for (let i = 0; i < obj_data.length; i++) {
|
|
2519
3058
|
const obj_data_item = obj_data[i];
|
|
2520
3059
|
const path_data_item = path_data + '[' + i + ']';
|
|
2521
|
-
const referencepath_data_itemValidationError = validate$
|
|
3060
|
+
const referencepath_data_itemValidationError = validate$r(obj_data_item, path_data_item);
|
|
2522
3061
|
if (referencepath_data_itemValidationError !== null) {
|
|
2523
3062
|
let message = 'Object doesn\'t match ProductAttributeDefinitionRepresentation (at "' + path_data_item + '")\n';
|
|
2524
3063
|
message += referencepath_data_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2546,15 +3085,15 @@ function keyBuilderFromType$1(luvio, object) {
|
|
|
2546
3085
|
function normalize$6(input, existing, path, luvio, store, timestamp) {
|
|
2547
3086
|
return input;
|
|
2548
3087
|
}
|
|
2549
|
-
const select$
|
|
3088
|
+
const select$d = function ProductAttributeDefinitionListRepresentationSelect() {
|
|
2550
3089
|
return {
|
|
2551
3090
|
kind: 'Fragment',
|
|
2552
|
-
version: VERSION$
|
|
3091
|
+
version: VERSION$6,
|
|
2553
3092
|
private: [],
|
|
2554
3093
|
opaque: true
|
|
2555
3094
|
};
|
|
2556
3095
|
};
|
|
2557
|
-
function equals$
|
|
3096
|
+
function equals$6(existing, incoming) {
|
|
2558
3097
|
if (JSONStringify(incoming) !== JSONStringify(existing)) {
|
|
2559
3098
|
return false;
|
|
2560
3099
|
}
|
|
@@ -2562,14 +3101,14 @@ function equals$7(existing, incoming) {
|
|
|
2562
3101
|
}
|
|
2563
3102
|
const ingest$6 = function ProductAttributeDefinitionListRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
2564
3103
|
if (process.env.NODE_ENV !== 'production') {
|
|
2565
|
-
const validateError = validate$
|
|
3104
|
+
const validateError = validate$q(input);
|
|
2566
3105
|
if (validateError !== null) {
|
|
2567
3106
|
throw validateError;
|
|
2568
3107
|
}
|
|
2569
3108
|
}
|
|
2570
3109
|
const key = keyBuilderFromType$1(luvio, input);
|
|
2571
3110
|
const ttlToUse = TTL$5;
|
|
2572
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$6, "epc", VERSION$
|
|
3111
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$6, "epc", VERSION$6, RepresentationType$6, equals$6);
|
|
2573
3112
|
return createLink(key);
|
|
2574
3113
|
};
|
|
2575
3114
|
function getTypeCacheKeys$6(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -2582,8 +3121,8 @@ function getTypeCacheKeys$6(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
2582
3121
|
});
|
|
2583
3122
|
}
|
|
2584
3123
|
|
|
2585
|
-
function select$
|
|
2586
|
-
return select$
|
|
3124
|
+
function select$c(luvio, params) {
|
|
3125
|
+
return select$d();
|
|
2587
3126
|
}
|
|
2588
3127
|
function getResponseCacheKeys$6(storeKeyMap, luvio, resourceParams, response) {
|
|
2589
3128
|
getTypeCacheKeys$6(storeKeyMap, luvio, response);
|
|
@@ -2594,7 +3133,7 @@ function ingestSuccess$6(luvio, resourceParams, response) {
|
|
|
2594
3133
|
luvio.storeIngest(key, ingest$6, body);
|
|
2595
3134
|
const snapshot = luvio.storeLookup({
|
|
2596
3135
|
recordId: key,
|
|
2597
|
-
node: select$
|
|
3136
|
+
node: select$c(),
|
|
2598
3137
|
variables: {},
|
|
2599
3138
|
});
|
|
2600
3139
|
if (process.env.NODE_ENV !== 'production') {
|
|
@@ -2624,11 +3163,11 @@ const createProductAttributeDefinition_ConfigPropertyMetadata = [
|
|
|
2624
3163
|
generateParamConfigMetadata('productAttributeDefinitionListInputPayload', true, 2 /* Body */, 4 /* Unsupported */),
|
|
2625
3164
|
];
|
|
2626
3165
|
const createProductAttributeDefinition_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$6, createProductAttributeDefinition_ConfigPropertyMetadata);
|
|
2627
|
-
const createResourceParams$6 = /*#__PURE__*/ createResourceParams$
|
|
3166
|
+
const createResourceParams$6 = /*#__PURE__*/ createResourceParams$g(createProductAttributeDefinition_ConfigPropertyMetadata);
|
|
2628
3167
|
function typeCheckConfig$6(untrustedConfig) {
|
|
2629
3168
|
const config = {};
|
|
2630
3169
|
const untrustedConfig_productAttributeDefinitionListInputPayload = untrustedConfig.productAttributeDefinitionListInputPayload;
|
|
2631
|
-
const referenceProductAttributeDefinitionListInputRepresentationValidationError = validate$
|
|
3170
|
+
const referenceProductAttributeDefinitionListInputRepresentationValidationError = validate$s(untrustedConfig_productAttributeDefinitionListInputPayload);
|
|
2632
3171
|
if (referenceProductAttributeDefinitionListInputRepresentationValidationError === null) {
|
|
2633
3172
|
config.productAttributeDefinitionListInputPayload = untrustedConfig_productAttributeDefinitionListInputPayload;
|
|
2634
3173
|
}
|
|
@@ -2676,7 +3215,7 @@ const createProductAttributeDefinitionAdapterFactory = (luvio) => {
|
|
|
2676
3215
|
};
|
|
2677
3216
|
};
|
|
2678
3217
|
|
|
2679
|
-
function validate$
|
|
3218
|
+
function validate$p(obj, path = 'ProductFlowConnectRepresentation') {
|
|
2680
3219
|
const v_error = (() => {
|
|
2681
3220
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2682
3221
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2692,78 +3231,6 @@ function validate$q(obj, path = 'ProductFlowConnectRepresentation') {
|
|
|
2692
3231
|
return v_error === undefined ? null : v_error;
|
|
2693
3232
|
}
|
|
2694
3233
|
|
|
2695
|
-
const VERSION$6 = "9e839ceea7c6caa2747b4d3170bd209d";
|
|
2696
|
-
function validate$p(obj, path = 'Status') {
|
|
2697
|
-
const v_error = (() => {
|
|
2698
|
-
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2699
|
-
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
2700
|
-
}
|
|
2701
|
-
if (obj.code !== undefined) {
|
|
2702
|
-
const obj_code = obj.code;
|
|
2703
|
-
const path_code = path + '.code';
|
|
2704
|
-
if (typeof obj_code !== 'string') {
|
|
2705
|
-
return new TypeError('Expected "string" but received "' + typeof obj_code + '" (at "' + path_code + '")');
|
|
2706
|
-
}
|
|
2707
|
-
}
|
|
2708
|
-
if (obj.message !== undefined) {
|
|
2709
|
-
const obj_message = obj.message;
|
|
2710
|
-
const path_message = path + '.message';
|
|
2711
|
-
if (typeof obj_message !== 'string') {
|
|
2712
|
-
return new TypeError('Expected "string" but received "' + typeof obj_message + '" (at "' + path_message + '")');
|
|
2713
|
-
}
|
|
2714
|
-
}
|
|
2715
|
-
})();
|
|
2716
|
-
return v_error === undefined ? null : v_error;
|
|
2717
|
-
}
|
|
2718
|
-
const select$c = function StatusSelect() {
|
|
2719
|
-
return {
|
|
2720
|
-
kind: 'Fragment',
|
|
2721
|
-
version: VERSION$6,
|
|
2722
|
-
private: [],
|
|
2723
|
-
selections: [
|
|
2724
|
-
{
|
|
2725
|
-
name: 'code',
|
|
2726
|
-
kind: 'Scalar',
|
|
2727
|
-
required: false
|
|
2728
|
-
},
|
|
2729
|
-
{
|
|
2730
|
-
name: 'message',
|
|
2731
|
-
kind: 'Scalar',
|
|
2732
|
-
required: false
|
|
2733
|
-
}
|
|
2734
|
-
]
|
|
2735
|
-
};
|
|
2736
|
-
};
|
|
2737
|
-
function equals$6(existing, incoming) {
|
|
2738
|
-
const existing_code = existing.code;
|
|
2739
|
-
const incoming_code = incoming.code;
|
|
2740
|
-
// if at least one of these optionals is defined
|
|
2741
|
-
if (existing_code !== undefined || incoming_code !== undefined) {
|
|
2742
|
-
// if one of these is not defined we know the other is defined and therefore
|
|
2743
|
-
// not equal
|
|
2744
|
-
if (existing_code === undefined || incoming_code === undefined) {
|
|
2745
|
-
return false;
|
|
2746
|
-
}
|
|
2747
|
-
if (!(existing_code === incoming_code)) {
|
|
2748
|
-
return false;
|
|
2749
|
-
}
|
|
2750
|
-
}
|
|
2751
|
-
const existing_message = existing.message;
|
|
2752
|
-
const incoming_message = incoming.message;
|
|
2753
|
-
// if at least one of these optionals is defined
|
|
2754
|
-
if (existing_message !== undefined || incoming_message !== undefined) {
|
|
2755
|
-
// if one of these is not defined we know the other is defined and therefore
|
|
2756
|
-
// not equal
|
|
2757
|
-
if (existing_message === undefined || incoming_message === undefined) {
|
|
2758
|
-
return false;
|
|
2759
|
-
}
|
|
2760
|
-
if (!(existing_message === incoming_message)) {
|
|
2761
|
-
return false;
|
|
2762
|
-
}
|
|
2763
|
-
}
|
|
2764
|
-
return true;
|
|
2765
|
-
}
|
|
2766
|
-
|
|
2767
3234
|
const TTL$4 = 6000;
|
|
2768
3235
|
const VERSION$5 = "a75aed3c640fb969c24561ef4f8cb169";
|
|
2769
3236
|
function validate$o(obj, path = 'ProductFlowOutputRepresentation') {
|
|
@@ -2781,7 +3248,7 @@ function validate$o(obj, path = 'ProductFlowOutputRepresentation') {
|
|
|
2781
3248
|
if (obj.productFlow !== undefined) {
|
|
2782
3249
|
const obj_productFlow = obj.productFlow;
|
|
2783
3250
|
const path_productFlow = path + '.productFlow';
|
|
2784
|
-
const referencepath_productFlowValidationError = validate$
|
|
3251
|
+
const referencepath_productFlowValidationError = validate$p(obj_productFlow, path_productFlow);
|
|
2785
3252
|
if (referencepath_productFlowValidationError !== null) {
|
|
2786
3253
|
let message = 'Object doesn\'t match ProductFlowConnectRepresentation (at "' + path_productFlow + '")\n';
|
|
2787
3254
|
message += referencepath_productFlowValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2791,7 +3258,7 @@ function validate$o(obj, path = 'ProductFlowOutputRepresentation') {
|
|
|
2791
3258
|
if (obj.status !== undefined) {
|
|
2792
3259
|
const obj_status = obj.status;
|
|
2793
3260
|
const path_status = path + '.status';
|
|
2794
|
-
const referencepath_statusValidationError = validate$
|
|
3261
|
+
const referencepath_statusValidationError = validate$Q(obj_status, path_status);
|
|
2795
3262
|
if (referencepath_statusValidationError !== null) {
|
|
2796
3263
|
let message = 'Object doesn\'t match Status (at "' + path_status + '")\n';
|
|
2797
3264
|
message += referencepath_statusValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2899,14 +3366,14 @@ const getProductFlowByProductId_ConfigPropertyMetadata = [
|
|
|
2899
3366
|
generateParamConfigMetadata('correlationId', false, 1 /* QueryParameter */, 0 /* String */),
|
|
2900
3367
|
];
|
|
2901
3368
|
const getProductFlowByProductId_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$5, getProductFlowByProductId_ConfigPropertyMetadata);
|
|
2902
|
-
const createResourceParams$5 = /*#__PURE__*/ createResourceParams$
|
|
3369
|
+
const createResourceParams$5 = /*#__PURE__*/ createResourceParams$g(getProductFlowByProductId_ConfigPropertyMetadata);
|
|
2903
3370
|
function keyBuilder$9(luvio, config) {
|
|
2904
3371
|
const resourceParams = createResourceParams$5(config);
|
|
2905
3372
|
return keyBuilder$a(luvio, resourceParams);
|
|
2906
3373
|
}
|
|
2907
3374
|
function typeCheckConfig$5(untrustedConfig) {
|
|
2908
3375
|
const config = {};
|
|
2909
|
-
typeCheckConfig$
|
|
3376
|
+
typeCheckConfig$g(untrustedConfig, config, getProductFlowByProductId_ConfigPropertyMetadata);
|
|
2910
3377
|
return config;
|
|
2911
3378
|
}
|
|
2912
3379
|
function validateAdapterConfig$5(untrustedConfig, configPropertyNames) {
|
|
@@ -3833,14 +4300,14 @@ const getProductAttributesByProductId_ConfigPropertyMetadata = [
|
|
|
3833
4300
|
generateParamConfigMetadata('isPriceImpacting', false, 1 /* QueryParameter */, 1 /* Boolean */),
|
|
3834
4301
|
];
|
|
3835
4302
|
const getProductAttributesByProductId_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$4, getProductAttributesByProductId_ConfigPropertyMetadata);
|
|
3836
|
-
const createResourceParams$4 = /*#__PURE__*/ createResourceParams$
|
|
4303
|
+
const createResourceParams$4 = /*#__PURE__*/ createResourceParams$g(getProductAttributesByProductId_ConfigPropertyMetadata);
|
|
3837
4304
|
function keyBuilder$7(luvio, config) {
|
|
3838
4305
|
const resourceParams = createResourceParams$4(config);
|
|
3839
4306
|
return keyBuilder$8(luvio, resourceParams);
|
|
3840
4307
|
}
|
|
3841
4308
|
function typeCheckConfig$4(untrustedConfig) {
|
|
3842
4309
|
const config = {};
|
|
3843
|
-
typeCheckConfig$
|
|
4310
|
+
typeCheckConfig$g(untrustedConfig, config, getProductAttributesByProductId_ConfigPropertyMetadata);
|
|
3844
4311
|
return config;
|
|
3845
4312
|
}
|
|
3846
4313
|
function validateAdapterConfig$4(untrustedConfig, configPropertyNames) {
|
|
@@ -3951,7 +4418,7 @@ function validate$c(obj, path = 'ProductsOutputRepresentation') {
|
|
|
3951
4418
|
if (obj.status !== undefined) {
|
|
3952
4419
|
const obj_status = obj.status;
|
|
3953
4420
|
const path_status = path + '.status';
|
|
3954
|
-
const referencepath_statusValidationError = validate$
|
|
4421
|
+
const referencepath_statusValidationError = validate$Q(obj_status, path_status);
|
|
3955
4422
|
if (referencepath_statusValidationError !== null) {
|
|
3956
4423
|
let message = 'Object doesn\'t match Status (at "' + path_status + '")\n';
|
|
3957
4424
|
message += referencepath_statusValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3984,7 +4451,7 @@ function normalize$3(input, existing, path, luvio, store, timestamp) {
|
|
|
3984
4451
|
return input;
|
|
3985
4452
|
}
|
|
3986
4453
|
const select$7 = function ProductsOutputRepresentationSelect() {
|
|
3987
|
-
const { selections: Status__selections, opaque: Status__opaque, } = select$
|
|
4454
|
+
const { selections: Status__selections, opaque: Status__opaque, } = select$w();
|
|
3988
4455
|
return {
|
|
3989
4456
|
kind: 'Fragment',
|
|
3990
4457
|
version: VERSION$3,
|
|
@@ -4070,7 +4537,7 @@ function equals$3(existing, incoming) {
|
|
|
4070
4537
|
if (existing_status === undefined || incoming_status === undefined) {
|
|
4071
4538
|
return false;
|
|
4072
4539
|
}
|
|
4073
|
-
if (!(equals$
|
|
4540
|
+
if (!(equals$g(existing_status, incoming_status))) {
|
|
4074
4541
|
return false;
|
|
4075
4542
|
}
|
|
4076
4543
|
}
|
|
@@ -4156,14 +4623,14 @@ const getProductById_ConfigPropertyMetadata = [
|
|
|
4156
4623
|
generateParamConfigMetadata('correlationId', false, 1 /* QueryParameter */, 0 /* String */),
|
|
4157
4624
|
];
|
|
4158
4625
|
const getProductById_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$3, getProductById_ConfigPropertyMetadata);
|
|
4159
|
-
const createResourceParams$3 = /*#__PURE__*/ createResourceParams$
|
|
4626
|
+
const createResourceParams$3 = /*#__PURE__*/ createResourceParams$g(getProductById_ConfigPropertyMetadata);
|
|
4160
4627
|
function keyBuilder$5(luvio, config) {
|
|
4161
4628
|
const resourceParams = createResourceParams$3(config);
|
|
4162
4629
|
return keyBuilder$6(luvio, resourceParams);
|
|
4163
4630
|
}
|
|
4164
4631
|
function typeCheckConfig$3(untrustedConfig) {
|
|
4165
4632
|
const config = {};
|
|
4166
|
-
typeCheckConfig$
|
|
4633
|
+
typeCheckConfig$g(untrustedConfig, config, getProductById_ConfigPropertyMetadata);
|
|
4167
4634
|
return config;
|
|
4168
4635
|
}
|
|
4169
4636
|
function validateAdapterConfig$3(untrustedConfig, configPropertyNames) {
|
|
@@ -4434,7 +4901,7 @@ function validate$7(obj, path = 'ContextDefinitionOutputRepresentation') {
|
|
|
4434
4901
|
if (obj.status !== undefined) {
|
|
4435
4902
|
const obj_status = obj.status;
|
|
4436
4903
|
const path_status = path + '.status';
|
|
4437
|
-
const referencepath_statusValidationError = validate$
|
|
4904
|
+
const referencepath_statusValidationError = validate$Q(obj_status, path_status);
|
|
4438
4905
|
if (referencepath_statusValidationError !== null) {
|
|
4439
4906
|
let message = 'Object doesn\'t match Status (at "' + path_status + '")\n';
|
|
4440
4907
|
message += referencepath_statusValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4542,14 +5009,14 @@ const getContextDefinitionInfoById_ConfigPropertyMetadata = [
|
|
|
4542
5009
|
generateParamConfigMetadata('correlationId', false, 1 /* QueryParameter */, 0 /* String */),
|
|
4543
5010
|
];
|
|
4544
5011
|
const getContextDefinitionInfoById_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$2, getContextDefinitionInfoById_ConfigPropertyMetadata);
|
|
4545
|
-
const createResourceParams$2 = /*#__PURE__*/ createResourceParams$
|
|
5012
|
+
const createResourceParams$2 = /*#__PURE__*/ createResourceParams$g(getContextDefinitionInfoById_ConfigPropertyMetadata);
|
|
4546
5013
|
function keyBuilder$3(luvio, config) {
|
|
4547
5014
|
const resourceParams = createResourceParams$2(config);
|
|
4548
5015
|
return keyBuilder$4(luvio, resourceParams);
|
|
4549
5016
|
}
|
|
4550
5017
|
function typeCheckConfig$2(untrustedConfig) {
|
|
4551
5018
|
const config = {};
|
|
4552
|
-
typeCheckConfig$
|
|
5019
|
+
typeCheckConfig$g(untrustedConfig, config, getContextDefinitionInfoById_ConfigPropertyMetadata);
|
|
4553
5020
|
return config;
|
|
4554
5021
|
}
|
|
4555
5022
|
function validateAdapterConfig$2(untrustedConfig, configPropertyNames) {
|
|
@@ -4721,7 +5188,7 @@ function validate$4(obj, path = 'ConfigRuleMetadataOutputRepresentation') {
|
|
|
4721
5188
|
if (obj.status !== undefined) {
|
|
4722
5189
|
const obj_status = obj.status;
|
|
4723
5190
|
const path_status = path + '.status';
|
|
4724
|
-
const referencepath_statusValidationError = validate$
|
|
5191
|
+
const referencepath_statusValidationError = validate$Q(obj_status, path_status);
|
|
4725
5192
|
if (referencepath_statusValidationError !== null) {
|
|
4726
5193
|
let message = 'Object doesn\'t match Status (at "' + path_status + '")\n';
|
|
4727
5194
|
message += referencepath_statusValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4830,14 +5297,14 @@ const getConfigRuleMetadata_ConfigPropertyMetadata = [
|
|
|
4830
5297
|
generateParamConfigMetadata('correlationId', false, 1 /* QueryParameter */, 0 /* String */),
|
|
4831
5298
|
];
|
|
4832
5299
|
const getConfigRuleMetadata_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$1, getConfigRuleMetadata_ConfigPropertyMetadata);
|
|
4833
|
-
const createResourceParams$1 = /*#__PURE__*/ createResourceParams$
|
|
5300
|
+
const createResourceParams$1 = /*#__PURE__*/ createResourceParams$g(getConfigRuleMetadata_ConfigPropertyMetadata);
|
|
4834
5301
|
function keyBuilder$1(luvio, config) {
|
|
4835
5302
|
const resourceParams = createResourceParams$1(config);
|
|
4836
5303
|
return keyBuilder$2(luvio, resourceParams);
|
|
4837
5304
|
}
|
|
4838
5305
|
function typeCheckConfig$1(untrustedConfig) {
|
|
4839
5306
|
const config = {};
|
|
4840
|
-
typeCheckConfig$
|
|
5307
|
+
typeCheckConfig$g(untrustedConfig, config, getConfigRuleMetadata_ConfigPropertyMetadata);
|
|
4841
5308
|
return config;
|
|
4842
5309
|
}
|
|
4843
5310
|
function validateAdapterConfig$1(untrustedConfig, configPropertyNames) {
|
|
@@ -5026,7 +5493,7 @@ function validate(obj, path = 'RelatedRecordsListOutputRepresentation') {
|
|
|
5026
5493
|
}
|
|
5027
5494
|
const obj_status = obj.status;
|
|
5028
5495
|
const path_status = path + '.status';
|
|
5029
|
-
const referencepath_statusValidationError = validate$
|
|
5496
|
+
const referencepath_statusValidationError = validate$Q(obj_status, path_status);
|
|
5030
5497
|
if (referencepath_statusValidationError !== null) {
|
|
5031
5498
|
let message = 'Object doesn\'t match Status (at "' + path_status + '")\n';
|
|
5032
5499
|
message += referencepath_statusValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5129,10 +5596,10 @@ const fetchRelatedRecords_ConfigPropertyMetadata = [
|
|
|
5129
5596
|
generateParamConfigMetadata('relatedObjectNodes', true, 2 /* Body */, 4 /* Unsupported */, true),
|
|
5130
5597
|
];
|
|
5131
5598
|
const fetchRelatedRecords_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName, fetchRelatedRecords_ConfigPropertyMetadata);
|
|
5132
|
-
const createResourceParams = /*#__PURE__*/ createResourceParams$
|
|
5599
|
+
const createResourceParams = /*#__PURE__*/ createResourceParams$g(fetchRelatedRecords_ConfigPropertyMetadata);
|
|
5133
5600
|
function typeCheckConfig(untrustedConfig) {
|
|
5134
5601
|
const config = {};
|
|
5135
|
-
typeCheckConfig$
|
|
5602
|
+
typeCheckConfig$g(untrustedConfig, config, fetchRelatedRecords_ConfigPropertyMetadata);
|
|
5136
5603
|
const untrustedConfig_relatedObjectNodes = untrustedConfig.relatedObjectNodes;
|
|
5137
5604
|
if (ArrayIsArray$1(untrustedConfig_relatedObjectNodes)) {
|
|
5138
5605
|
const untrustedConfig_relatedObjectNodes_array = [];
|
|
@@ -5186,4 +5653,4 @@ const fetchRelatedRecordsAdapterFactory = (luvio) => {
|
|
|
5186
5653
|
};
|
|
5187
5654
|
};
|
|
5188
5655
|
|
|
5189
|
-
export { createProductAttributeDefinitionAdapterFactory, deactivateAdapterFactory, deploySnapshotIndexAdapterFactory, fetchRelatedRecordsAdapterFactory, getConfigRuleMetadataAdapterFactory, getContextDefinitionInfoByIdAdapterFactory, getIndexConfigurationsAdapterFactory, getIndexErrorAdapterFactory, getIndexSettingAdapterFactory, getProductAttributesByProductIdAdapterFactory, getProductByIdAdapterFactory, getProductFlowByProductIdAdapterFactory, getSnapshotsAdapterFactory, patchIndexSettingAdapterFactory, updateIndexConfigurationsAdapterFactory };
|
|
5656
|
+
export { createProductAttributeDefinitionAdapterFactory, deactivateAdapterFactory, deploySnapshotIndexAdapterFactory, fetchRelatedRecordsAdapterFactory, getConfigRuleMetadataAdapterFactory, getContextDefinitionInfoByIdAdapterFactory, getIndexConfigurationsAdapterFactory, getIndexErrorAdapterFactory, getIndexSettingAdapterFactory, getProductAttributesByProductIdAdapterFactory, getProductByIdAdapterFactory, getProductFlowByProductIdAdapterFactory, getSnapshotsAdapterFactory, patchIndexSettingAdapterFactory, pcmCatalogUpdateAdapterFactory, updateIndexConfigurationsAdapterFactory };
|