@ricado/api-client 2.7.8 → 2.7.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ricado.api.client.js +1 -1
- package/lib/Controllers/Packhouse/Site/RejectBinScaleController.js +2 -0
- package/lib/Controllers/UserAccountActionTokenController.js +15 -0
- package/lib/Models/Packhouse/Site/RejectBinScaleModel.js +33 -1
- package/lib/Models/TokenModel.js +105 -0
- package/lib/Models/UserAccountActionTokenModel.js +210 -0
- package/lib/PackageVersion.js +1 -1
- package/lib/index.d.ts +87 -1
- package/package.json +1 -1
- package/src/Controllers/Packhouse/Site/RejectBinScaleController.js +2 -0
- package/src/Controllers/UserAccountActionTokenController.js +15 -0
- package/src/Models/Packhouse/Site/RejectBinScaleModel.js +43 -1
- package/src/Models/TokenModel.js +136 -0
- package/src/Models/UserAccountActionTokenModel.js +272 -0
- package/src/PackageVersion.js +1 -1
|
@@ -268,7 +268,7 @@ class RejectBinScaleModel extends BaseModel
|
|
|
268
268
|
/**
|
|
269
269
|
* The FreshPack Integration Configuration for this Reject Bin Scale
|
|
270
270
|
*
|
|
271
|
-
* @type {?{points: Object, enabled: boolean, materialGroupId: ?number, binTypeId: number, printerGroupId: ?number, binCardPrintingEnabled: boolean, useWindowsDriverApi: boolean}}
|
|
271
|
+
* @type {?{points: Object, enabled: boolean, materialGroupId: ?number, binTypeId: number, printerGroupId: ?number, binCardPrintingEnabled: boolean, useWindowsDriverApi: boolean, forceSingleClassType: ?boolean, forcedClassType: ?string}}
|
|
272
272
|
* @public
|
|
273
273
|
*/
|
|
274
274
|
this.freshPackIntegration = null;
|
|
@@ -1483,6 +1483,48 @@ class RejectBinScaleModel extends BaseModel
|
|
|
1483
1483
|
{
|
|
1484
1484
|
freshPackIntegrationObject.useWindowsDriverApi = false;
|
|
1485
1485
|
}
|
|
1486
|
+
|
|
1487
|
+
if(typeof jsonObject['freshPackIntegration'] === 'object' && 'forceSingleClassType' in jsonObject['freshPackIntegration'])
|
|
1488
|
+
{
|
|
1489
|
+
freshPackIntegrationObject.forceSingleClassType = (function(){
|
|
1490
|
+
if(jsonObject['freshPackIntegration'].forceSingleClassType === null)
|
|
1491
|
+
{
|
|
1492
|
+
return null;
|
|
1493
|
+
}
|
|
1494
|
+
|
|
1495
|
+
if(typeof jsonObject['freshPackIntegration'].forceSingleClassType !== 'boolean')
|
|
1496
|
+
{
|
|
1497
|
+
return Boolean(jsonObject['freshPackIntegration'].forceSingleClassType);
|
|
1498
|
+
}
|
|
1499
|
+
|
|
1500
|
+
return jsonObject['freshPackIntegration'].forceSingleClassType;
|
|
1501
|
+
}());
|
|
1502
|
+
}
|
|
1503
|
+
else
|
|
1504
|
+
{
|
|
1505
|
+
freshPackIntegrationObject.forceSingleClassType = null;
|
|
1506
|
+
}
|
|
1507
|
+
|
|
1508
|
+
if(typeof jsonObject['freshPackIntegration'] === 'object' && 'forcedClassType' in jsonObject['freshPackIntegration'])
|
|
1509
|
+
{
|
|
1510
|
+
freshPackIntegrationObject.forcedClassType = (function(){
|
|
1511
|
+
if(jsonObject['freshPackIntegration'].forcedClassType === null)
|
|
1512
|
+
{
|
|
1513
|
+
return null;
|
|
1514
|
+
}
|
|
1515
|
+
|
|
1516
|
+
if(typeof jsonObject['freshPackIntegration'].forcedClassType !== 'string')
|
|
1517
|
+
{
|
|
1518
|
+
return String(jsonObject['freshPackIntegration'].forcedClassType);
|
|
1519
|
+
}
|
|
1520
|
+
|
|
1521
|
+
return jsonObject['freshPackIntegration'].forcedClassType;
|
|
1522
|
+
}());
|
|
1523
|
+
}
|
|
1524
|
+
else
|
|
1525
|
+
{
|
|
1526
|
+
freshPackIntegrationObject.forcedClassType = null;
|
|
1527
|
+
}
|
|
1486
1528
|
|
|
1487
1529
|
return freshPackIntegrationObject;
|
|
1488
1530
|
}());
|
package/src/Models/TokenModel.js
CHANGED
|
@@ -88,6 +88,28 @@ class TokenModel extends BaseModel
|
|
|
88
88
|
*/
|
|
89
89
|
this.lockTimestamp = null;
|
|
90
90
|
|
|
91
|
+
/**
|
|
92
|
+
* Metadata from the Request that generated this Token
|
|
93
|
+
*
|
|
94
|
+
* @type {{ipAddress: ?string, userAgent: ?string, cloudflareRayId: ?string, host: ?string, referrer: ?string}}
|
|
95
|
+
* @public
|
|
96
|
+
*/
|
|
97
|
+
this.issueMetadata = (function(){
|
|
98
|
+
let issueMetadataDefaultValue = {};
|
|
99
|
+
|
|
100
|
+
issueMetadataDefaultValue.ipAddress = null;
|
|
101
|
+
|
|
102
|
+
issueMetadataDefaultValue.userAgent = null;
|
|
103
|
+
|
|
104
|
+
issueMetadataDefaultValue.cloudflareRayId = null;
|
|
105
|
+
|
|
106
|
+
issueMetadataDefaultValue.host = null;
|
|
107
|
+
|
|
108
|
+
issueMetadataDefaultValue.referrer = null;
|
|
109
|
+
|
|
110
|
+
return issueMetadataDefaultValue;
|
|
111
|
+
}());
|
|
112
|
+
|
|
91
113
|
/**
|
|
92
114
|
* Whether the Token has been deleted
|
|
93
115
|
*
|
|
@@ -244,6 +266,120 @@ class TokenModel extends BaseModel
|
|
|
244
266
|
}());
|
|
245
267
|
}
|
|
246
268
|
|
|
269
|
+
if('issueMetadata' in jsonObject)
|
|
270
|
+
{
|
|
271
|
+
model.issueMetadata = (function(){
|
|
272
|
+
let issueMetadataObject = {};
|
|
273
|
+
|
|
274
|
+
if(typeof jsonObject['issueMetadata'] === 'object' && 'ipAddress' in jsonObject['issueMetadata'])
|
|
275
|
+
{
|
|
276
|
+
issueMetadataObject.ipAddress = (function(){
|
|
277
|
+
if(jsonObject['issueMetadata'].ipAddress === null)
|
|
278
|
+
{
|
|
279
|
+
return null;
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
if(typeof jsonObject['issueMetadata'].ipAddress !== 'string')
|
|
283
|
+
{
|
|
284
|
+
return String(jsonObject['issueMetadata'].ipAddress);
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
return jsonObject['issueMetadata'].ipAddress;
|
|
288
|
+
}());
|
|
289
|
+
}
|
|
290
|
+
else
|
|
291
|
+
{
|
|
292
|
+
issueMetadataObject.ipAddress = null;
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
if(typeof jsonObject['issueMetadata'] === 'object' && 'userAgent' in jsonObject['issueMetadata'])
|
|
296
|
+
{
|
|
297
|
+
issueMetadataObject.userAgent = (function(){
|
|
298
|
+
if(jsonObject['issueMetadata'].userAgent === null)
|
|
299
|
+
{
|
|
300
|
+
return null;
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
if(typeof jsonObject['issueMetadata'].userAgent !== 'string')
|
|
304
|
+
{
|
|
305
|
+
return String(jsonObject['issueMetadata'].userAgent);
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
return jsonObject['issueMetadata'].userAgent;
|
|
309
|
+
}());
|
|
310
|
+
}
|
|
311
|
+
else
|
|
312
|
+
{
|
|
313
|
+
issueMetadataObject.userAgent = null;
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
if(typeof jsonObject['issueMetadata'] === 'object' && 'cloudflareRayId' in jsonObject['issueMetadata'])
|
|
317
|
+
{
|
|
318
|
+
issueMetadataObject.cloudflareRayId = (function(){
|
|
319
|
+
if(jsonObject['issueMetadata'].cloudflareRayId === null)
|
|
320
|
+
{
|
|
321
|
+
return null;
|
|
322
|
+
}
|
|
323
|
+
|
|
324
|
+
if(typeof jsonObject['issueMetadata'].cloudflareRayId !== 'string')
|
|
325
|
+
{
|
|
326
|
+
return String(jsonObject['issueMetadata'].cloudflareRayId);
|
|
327
|
+
}
|
|
328
|
+
|
|
329
|
+
return jsonObject['issueMetadata'].cloudflareRayId;
|
|
330
|
+
}());
|
|
331
|
+
}
|
|
332
|
+
else
|
|
333
|
+
{
|
|
334
|
+
issueMetadataObject.cloudflareRayId = null;
|
|
335
|
+
}
|
|
336
|
+
|
|
337
|
+
if(typeof jsonObject['issueMetadata'] === 'object' && 'host' in jsonObject['issueMetadata'])
|
|
338
|
+
{
|
|
339
|
+
issueMetadataObject.host = (function(){
|
|
340
|
+
if(jsonObject['issueMetadata'].host === null)
|
|
341
|
+
{
|
|
342
|
+
return null;
|
|
343
|
+
}
|
|
344
|
+
|
|
345
|
+
if(typeof jsonObject['issueMetadata'].host !== 'string')
|
|
346
|
+
{
|
|
347
|
+
return String(jsonObject['issueMetadata'].host);
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
return jsonObject['issueMetadata'].host;
|
|
351
|
+
}());
|
|
352
|
+
}
|
|
353
|
+
else
|
|
354
|
+
{
|
|
355
|
+
issueMetadataObject.host = null;
|
|
356
|
+
}
|
|
357
|
+
|
|
358
|
+
if(typeof jsonObject['issueMetadata'] === 'object' && 'referrer' in jsonObject['issueMetadata'])
|
|
359
|
+
{
|
|
360
|
+
issueMetadataObject.referrer = (function(){
|
|
361
|
+
if(jsonObject['issueMetadata'].referrer === null)
|
|
362
|
+
{
|
|
363
|
+
return null;
|
|
364
|
+
}
|
|
365
|
+
|
|
366
|
+
if(typeof jsonObject['issueMetadata'].referrer !== 'string')
|
|
367
|
+
{
|
|
368
|
+
return String(jsonObject['issueMetadata'].referrer);
|
|
369
|
+
}
|
|
370
|
+
|
|
371
|
+
return jsonObject['issueMetadata'].referrer;
|
|
372
|
+
}());
|
|
373
|
+
}
|
|
374
|
+
else
|
|
375
|
+
{
|
|
376
|
+
issueMetadataObject.referrer = null;
|
|
377
|
+
}
|
|
378
|
+
|
|
379
|
+
return issueMetadataObject;
|
|
380
|
+
}());
|
|
381
|
+
}
|
|
382
|
+
|
|
247
383
|
if('deleted' in jsonObject)
|
|
248
384
|
{
|
|
249
385
|
model.deleted = (function(){
|
|
@@ -96,6 +96,50 @@ class UserAccountActionTokenModel extends BaseModel
|
|
|
96
96
|
*/
|
|
97
97
|
this.emailTimestamp = null;
|
|
98
98
|
|
|
99
|
+
/**
|
|
100
|
+
* Metadata from the Request that generated this Action Token
|
|
101
|
+
*
|
|
102
|
+
* @type {{ipAddress: ?string, userAgent: ?string, cloudflareRayId: ?string, host: ?string, referrer: ?string}}
|
|
103
|
+
* @public
|
|
104
|
+
*/
|
|
105
|
+
this.issueMetadata = (function(){
|
|
106
|
+
let issueMetadataDefaultValue = {};
|
|
107
|
+
|
|
108
|
+
issueMetadataDefaultValue.ipAddress = null;
|
|
109
|
+
|
|
110
|
+
issueMetadataDefaultValue.userAgent = null;
|
|
111
|
+
|
|
112
|
+
issueMetadataDefaultValue.cloudflareRayId = null;
|
|
113
|
+
|
|
114
|
+
issueMetadataDefaultValue.host = null;
|
|
115
|
+
|
|
116
|
+
issueMetadataDefaultValue.referrer = null;
|
|
117
|
+
|
|
118
|
+
return issueMetadataDefaultValue;
|
|
119
|
+
}());
|
|
120
|
+
|
|
121
|
+
/**
|
|
122
|
+
* Metadata from the Request that consumed this Action Token
|
|
123
|
+
*
|
|
124
|
+
* @type {{ipAddress: ?string, userAgent: ?string, cloudflareRayId: ?string, host: ?string, referrer: ?string}}
|
|
125
|
+
* @public
|
|
126
|
+
*/
|
|
127
|
+
this.consumeMetadata = (function(){
|
|
128
|
+
let consumeMetadataDefaultValue = {};
|
|
129
|
+
|
|
130
|
+
consumeMetadataDefaultValue.ipAddress = null;
|
|
131
|
+
|
|
132
|
+
consumeMetadataDefaultValue.userAgent = null;
|
|
133
|
+
|
|
134
|
+
consumeMetadataDefaultValue.cloudflareRayId = null;
|
|
135
|
+
|
|
136
|
+
consumeMetadataDefaultValue.host = null;
|
|
137
|
+
|
|
138
|
+
consumeMetadataDefaultValue.referrer = null;
|
|
139
|
+
|
|
140
|
+
return consumeMetadataDefaultValue;
|
|
141
|
+
}());
|
|
142
|
+
|
|
99
143
|
/**
|
|
100
144
|
* Whether the User Account Action Token has been deleted
|
|
101
145
|
*
|
|
@@ -264,6 +308,234 @@ class UserAccountActionTokenModel extends BaseModel
|
|
|
264
308
|
}());
|
|
265
309
|
}
|
|
266
310
|
|
|
311
|
+
if('issueMetadata' in jsonObject)
|
|
312
|
+
{
|
|
313
|
+
model.issueMetadata = (function(){
|
|
314
|
+
let issueMetadataObject = {};
|
|
315
|
+
|
|
316
|
+
if(typeof jsonObject['issueMetadata'] === 'object' && 'ipAddress' in jsonObject['issueMetadata'])
|
|
317
|
+
{
|
|
318
|
+
issueMetadataObject.ipAddress = (function(){
|
|
319
|
+
if(jsonObject['issueMetadata'].ipAddress === null)
|
|
320
|
+
{
|
|
321
|
+
return null;
|
|
322
|
+
}
|
|
323
|
+
|
|
324
|
+
if(typeof jsonObject['issueMetadata'].ipAddress !== 'string')
|
|
325
|
+
{
|
|
326
|
+
return String(jsonObject['issueMetadata'].ipAddress);
|
|
327
|
+
}
|
|
328
|
+
|
|
329
|
+
return jsonObject['issueMetadata'].ipAddress;
|
|
330
|
+
}());
|
|
331
|
+
}
|
|
332
|
+
else
|
|
333
|
+
{
|
|
334
|
+
issueMetadataObject.ipAddress = null;
|
|
335
|
+
}
|
|
336
|
+
|
|
337
|
+
if(typeof jsonObject['issueMetadata'] === 'object' && 'userAgent' in jsonObject['issueMetadata'])
|
|
338
|
+
{
|
|
339
|
+
issueMetadataObject.userAgent = (function(){
|
|
340
|
+
if(jsonObject['issueMetadata'].userAgent === null)
|
|
341
|
+
{
|
|
342
|
+
return null;
|
|
343
|
+
}
|
|
344
|
+
|
|
345
|
+
if(typeof jsonObject['issueMetadata'].userAgent !== 'string')
|
|
346
|
+
{
|
|
347
|
+
return String(jsonObject['issueMetadata'].userAgent);
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
return jsonObject['issueMetadata'].userAgent;
|
|
351
|
+
}());
|
|
352
|
+
}
|
|
353
|
+
else
|
|
354
|
+
{
|
|
355
|
+
issueMetadataObject.userAgent = null;
|
|
356
|
+
}
|
|
357
|
+
|
|
358
|
+
if(typeof jsonObject['issueMetadata'] === 'object' && 'cloudflareRayId' in jsonObject['issueMetadata'])
|
|
359
|
+
{
|
|
360
|
+
issueMetadataObject.cloudflareRayId = (function(){
|
|
361
|
+
if(jsonObject['issueMetadata'].cloudflareRayId === null)
|
|
362
|
+
{
|
|
363
|
+
return null;
|
|
364
|
+
}
|
|
365
|
+
|
|
366
|
+
if(typeof jsonObject['issueMetadata'].cloudflareRayId !== 'string')
|
|
367
|
+
{
|
|
368
|
+
return String(jsonObject['issueMetadata'].cloudflareRayId);
|
|
369
|
+
}
|
|
370
|
+
|
|
371
|
+
return jsonObject['issueMetadata'].cloudflareRayId;
|
|
372
|
+
}());
|
|
373
|
+
}
|
|
374
|
+
else
|
|
375
|
+
{
|
|
376
|
+
issueMetadataObject.cloudflareRayId = null;
|
|
377
|
+
}
|
|
378
|
+
|
|
379
|
+
if(typeof jsonObject['issueMetadata'] === 'object' && 'host' in jsonObject['issueMetadata'])
|
|
380
|
+
{
|
|
381
|
+
issueMetadataObject.host = (function(){
|
|
382
|
+
if(jsonObject['issueMetadata'].host === null)
|
|
383
|
+
{
|
|
384
|
+
return null;
|
|
385
|
+
}
|
|
386
|
+
|
|
387
|
+
if(typeof jsonObject['issueMetadata'].host !== 'string')
|
|
388
|
+
{
|
|
389
|
+
return String(jsonObject['issueMetadata'].host);
|
|
390
|
+
}
|
|
391
|
+
|
|
392
|
+
return jsonObject['issueMetadata'].host;
|
|
393
|
+
}());
|
|
394
|
+
}
|
|
395
|
+
else
|
|
396
|
+
{
|
|
397
|
+
issueMetadataObject.host = null;
|
|
398
|
+
}
|
|
399
|
+
|
|
400
|
+
if(typeof jsonObject['issueMetadata'] === 'object' && 'referrer' in jsonObject['issueMetadata'])
|
|
401
|
+
{
|
|
402
|
+
issueMetadataObject.referrer = (function(){
|
|
403
|
+
if(jsonObject['issueMetadata'].referrer === null)
|
|
404
|
+
{
|
|
405
|
+
return null;
|
|
406
|
+
}
|
|
407
|
+
|
|
408
|
+
if(typeof jsonObject['issueMetadata'].referrer !== 'string')
|
|
409
|
+
{
|
|
410
|
+
return String(jsonObject['issueMetadata'].referrer);
|
|
411
|
+
}
|
|
412
|
+
|
|
413
|
+
return jsonObject['issueMetadata'].referrer;
|
|
414
|
+
}());
|
|
415
|
+
}
|
|
416
|
+
else
|
|
417
|
+
{
|
|
418
|
+
issueMetadataObject.referrer = null;
|
|
419
|
+
}
|
|
420
|
+
|
|
421
|
+
return issueMetadataObject;
|
|
422
|
+
}());
|
|
423
|
+
}
|
|
424
|
+
|
|
425
|
+
if('consumeMetadata' in jsonObject)
|
|
426
|
+
{
|
|
427
|
+
model.consumeMetadata = (function(){
|
|
428
|
+
let consumeMetadataObject = {};
|
|
429
|
+
|
|
430
|
+
if(typeof jsonObject['consumeMetadata'] === 'object' && 'ipAddress' in jsonObject['consumeMetadata'])
|
|
431
|
+
{
|
|
432
|
+
consumeMetadataObject.ipAddress = (function(){
|
|
433
|
+
if(jsonObject['consumeMetadata'].ipAddress === null)
|
|
434
|
+
{
|
|
435
|
+
return null;
|
|
436
|
+
}
|
|
437
|
+
|
|
438
|
+
if(typeof jsonObject['consumeMetadata'].ipAddress !== 'string')
|
|
439
|
+
{
|
|
440
|
+
return String(jsonObject['consumeMetadata'].ipAddress);
|
|
441
|
+
}
|
|
442
|
+
|
|
443
|
+
return jsonObject['consumeMetadata'].ipAddress;
|
|
444
|
+
}());
|
|
445
|
+
}
|
|
446
|
+
else
|
|
447
|
+
{
|
|
448
|
+
consumeMetadataObject.ipAddress = null;
|
|
449
|
+
}
|
|
450
|
+
|
|
451
|
+
if(typeof jsonObject['consumeMetadata'] === 'object' && 'userAgent' in jsonObject['consumeMetadata'])
|
|
452
|
+
{
|
|
453
|
+
consumeMetadataObject.userAgent = (function(){
|
|
454
|
+
if(jsonObject['consumeMetadata'].userAgent === null)
|
|
455
|
+
{
|
|
456
|
+
return null;
|
|
457
|
+
}
|
|
458
|
+
|
|
459
|
+
if(typeof jsonObject['consumeMetadata'].userAgent !== 'string')
|
|
460
|
+
{
|
|
461
|
+
return String(jsonObject['consumeMetadata'].userAgent);
|
|
462
|
+
}
|
|
463
|
+
|
|
464
|
+
return jsonObject['consumeMetadata'].userAgent;
|
|
465
|
+
}());
|
|
466
|
+
}
|
|
467
|
+
else
|
|
468
|
+
{
|
|
469
|
+
consumeMetadataObject.userAgent = null;
|
|
470
|
+
}
|
|
471
|
+
|
|
472
|
+
if(typeof jsonObject['consumeMetadata'] === 'object' && 'cloudflareRayId' in jsonObject['consumeMetadata'])
|
|
473
|
+
{
|
|
474
|
+
consumeMetadataObject.cloudflareRayId = (function(){
|
|
475
|
+
if(jsonObject['consumeMetadata'].cloudflareRayId === null)
|
|
476
|
+
{
|
|
477
|
+
return null;
|
|
478
|
+
}
|
|
479
|
+
|
|
480
|
+
if(typeof jsonObject['consumeMetadata'].cloudflareRayId !== 'string')
|
|
481
|
+
{
|
|
482
|
+
return String(jsonObject['consumeMetadata'].cloudflareRayId);
|
|
483
|
+
}
|
|
484
|
+
|
|
485
|
+
return jsonObject['consumeMetadata'].cloudflareRayId;
|
|
486
|
+
}());
|
|
487
|
+
}
|
|
488
|
+
else
|
|
489
|
+
{
|
|
490
|
+
consumeMetadataObject.cloudflareRayId = null;
|
|
491
|
+
}
|
|
492
|
+
|
|
493
|
+
if(typeof jsonObject['consumeMetadata'] === 'object' && 'host' in jsonObject['consumeMetadata'])
|
|
494
|
+
{
|
|
495
|
+
consumeMetadataObject.host = (function(){
|
|
496
|
+
if(jsonObject['consumeMetadata'].host === null)
|
|
497
|
+
{
|
|
498
|
+
return null;
|
|
499
|
+
}
|
|
500
|
+
|
|
501
|
+
if(typeof jsonObject['consumeMetadata'].host !== 'string')
|
|
502
|
+
{
|
|
503
|
+
return String(jsonObject['consumeMetadata'].host);
|
|
504
|
+
}
|
|
505
|
+
|
|
506
|
+
return jsonObject['consumeMetadata'].host;
|
|
507
|
+
}());
|
|
508
|
+
}
|
|
509
|
+
else
|
|
510
|
+
{
|
|
511
|
+
consumeMetadataObject.host = null;
|
|
512
|
+
}
|
|
513
|
+
|
|
514
|
+
if(typeof jsonObject['consumeMetadata'] === 'object' && 'referrer' in jsonObject['consumeMetadata'])
|
|
515
|
+
{
|
|
516
|
+
consumeMetadataObject.referrer = (function(){
|
|
517
|
+
if(jsonObject['consumeMetadata'].referrer === null)
|
|
518
|
+
{
|
|
519
|
+
return null;
|
|
520
|
+
}
|
|
521
|
+
|
|
522
|
+
if(typeof jsonObject['consumeMetadata'].referrer !== 'string')
|
|
523
|
+
{
|
|
524
|
+
return String(jsonObject['consumeMetadata'].referrer);
|
|
525
|
+
}
|
|
526
|
+
|
|
527
|
+
return jsonObject['consumeMetadata'].referrer;
|
|
528
|
+
}());
|
|
529
|
+
}
|
|
530
|
+
else
|
|
531
|
+
{
|
|
532
|
+
consumeMetadataObject.referrer = null;
|
|
533
|
+
}
|
|
534
|
+
|
|
535
|
+
return consumeMetadataObject;
|
|
536
|
+
}());
|
|
537
|
+
}
|
|
538
|
+
|
|
267
539
|
if('deleted' in jsonObject)
|
|
268
540
|
{
|
|
269
541
|
model.deleted = (function(){
|
package/src/PackageVersion.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// Generated by genversion.
|
|
2
|
-
export const version = '2.7.
|
|
2
|
+
export const version = '2.7.9';
|