@salesforce/lds-adapters-analytics-unifiedanalytics 1.332.0-dev10 → 1.332.0-dev11
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/analytics-unifiedanalytics.js +478 -103
- package/dist/es/es2018/types/src/generated/adapters/createDataAssetRequest.d.ts +10 -10
- package/dist/es/es2018/types/src/generated/adapters/getOrg.d.ts +4 -5
- package/dist/es/es2018/types/src/generated/adapters/updateDataAssetRequest.d.ts +10 -10
- package/dist/es/es2018/types/src/generated/resources/{getTableauOrgsByUserName.d.ts → getTableauOrgs.d.ts} +0 -3
- package/dist/es/es2018/types/src/generated/resources/patchTableauDataAssetsRequestsByRequestIdOrApiName.d.ts +10 -10
- package/dist/es/es2018/types/src/generated/resources/postTableauDataAssetsRequests.d.ts +10 -10
- package/dist/es/es2018/types/src/generated/types/DataAssetRequestInputRepresentation.d.ts +21 -21
- package/dist/es/es2018/types/src/generated/types/DataAssetRequestRepresentation.d.ts +37 -37
- package/dist/es/es2018/types/src/generated/types/OrgCollectionRepresentation.d.ts +6 -6
- package/dist/es/es2018/types/src/generated/types/OrgRepresentation.d.ts +4 -4
- package/package.json +3 -3
- package/sfdc/index.js +479 -104
- package/src/raml/api.raml +37 -38
- package/src/raml/luvio.raml +1 -1
- package/dist/es/es2018/types/src/generated/types/OrgInputRepresentation.d.ts +0 -28
package/sfdc/index.js
CHANGED
|
@@ -2314,7 +2314,7 @@ function validate$I(obj, path = 'AnalyticsUserRepresentation') {
|
|
|
2314
2314
|
}
|
|
2315
2315
|
|
|
2316
2316
|
const TTL$k = 500;
|
|
2317
|
-
const VERSION$v = "
|
|
2317
|
+
const VERSION$v = "43c05ab1871f7e0f8c17a6eaf58cdc17";
|
|
2318
2318
|
function validate$H(obj, path = 'DataAssetRequestRepresentation') {
|
|
2319
2319
|
const v_error = (() => {
|
|
2320
2320
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -2322,16 +2322,58 @@ function validate$H(obj, path = 'DataAssetRequestRepresentation') {
|
|
|
2322
2322
|
}
|
|
2323
2323
|
const obj_acknowledgedBy = obj.acknowledgedBy;
|
|
2324
2324
|
const path_acknowledgedBy = path + '.acknowledgedBy';
|
|
2325
|
-
|
|
2326
|
-
|
|
2327
|
-
|
|
2328
|
-
|
|
2325
|
+
let obj_acknowledgedBy_union0 = null;
|
|
2326
|
+
const obj_acknowledgedBy_union0_error = (() => {
|
|
2327
|
+
const referencepath_acknowledgedByValidationError = validate$I(obj_acknowledgedBy, path_acknowledgedBy);
|
|
2328
|
+
if (referencepath_acknowledgedByValidationError !== null) {
|
|
2329
|
+
let message = 'Object doesn\'t match AnalyticsUserRepresentation (at "' + path_acknowledgedBy + '")\n';
|
|
2330
|
+
message += referencepath_acknowledgedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
2331
|
+
return new TypeError(message);
|
|
2332
|
+
}
|
|
2333
|
+
})();
|
|
2334
|
+
if (obj_acknowledgedBy_union0_error != null) {
|
|
2335
|
+
obj_acknowledgedBy_union0 = obj_acknowledgedBy_union0_error.message;
|
|
2336
|
+
}
|
|
2337
|
+
let obj_acknowledgedBy_union1 = null;
|
|
2338
|
+
const obj_acknowledgedBy_union1_error = (() => {
|
|
2339
|
+
if (obj_acknowledgedBy !== null) {
|
|
2340
|
+
return new TypeError('Expected "null" but received "' + typeof obj_acknowledgedBy + '" (at "' + path_acknowledgedBy + '")');
|
|
2341
|
+
}
|
|
2342
|
+
})();
|
|
2343
|
+
if (obj_acknowledgedBy_union1_error != null) {
|
|
2344
|
+
obj_acknowledgedBy_union1 = obj_acknowledgedBy_union1_error.message;
|
|
2345
|
+
}
|
|
2346
|
+
if (obj_acknowledgedBy_union0 && obj_acknowledgedBy_union1) {
|
|
2347
|
+
let message = 'Object doesn\'t match union (at "' + path_acknowledgedBy + '")';
|
|
2348
|
+
message += '\n' + obj_acknowledgedBy_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
2349
|
+
message += '\n' + obj_acknowledgedBy_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
2329
2350
|
return new TypeError(message);
|
|
2330
2351
|
}
|
|
2331
2352
|
const obj_acknowledgedDate = obj.acknowledgedDate;
|
|
2332
2353
|
const path_acknowledgedDate = path + '.acknowledgedDate';
|
|
2333
|
-
|
|
2334
|
-
|
|
2354
|
+
let obj_acknowledgedDate_union0 = null;
|
|
2355
|
+
const obj_acknowledgedDate_union0_error = (() => {
|
|
2356
|
+
if (typeof obj_acknowledgedDate !== 'string') {
|
|
2357
|
+
return new TypeError('Expected "string" but received "' + typeof obj_acknowledgedDate + '" (at "' + path_acknowledgedDate + '")');
|
|
2358
|
+
}
|
|
2359
|
+
})();
|
|
2360
|
+
if (obj_acknowledgedDate_union0_error != null) {
|
|
2361
|
+
obj_acknowledgedDate_union0 = obj_acknowledgedDate_union0_error.message;
|
|
2362
|
+
}
|
|
2363
|
+
let obj_acknowledgedDate_union1 = null;
|
|
2364
|
+
const obj_acknowledgedDate_union1_error = (() => {
|
|
2365
|
+
if (obj_acknowledgedDate !== null) {
|
|
2366
|
+
return new TypeError('Expected "null" but received "' + typeof obj_acknowledgedDate + '" (at "' + path_acknowledgedDate + '")');
|
|
2367
|
+
}
|
|
2368
|
+
})();
|
|
2369
|
+
if (obj_acknowledgedDate_union1_error != null) {
|
|
2370
|
+
obj_acknowledgedDate_union1 = obj_acknowledgedDate_union1_error.message;
|
|
2371
|
+
}
|
|
2372
|
+
if (obj_acknowledgedDate_union0 && obj_acknowledgedDate_union1) {
|
|
2373
|
+
let message = 'Object doesn\'t match union (at "' + path_acknowledgedDate + '")';
|
|
2374
|
+
message += '\n' + obj_acknowledgedDate_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
2375
|
+
message += '\n' + obj_acknowledgedDate_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
2376
|
+
return new TypeError(message);
|
|
2335
2377
|
}
|
|
2336
2378
|
const obj_assetId = obj.assetId;
|
|
2337
2379
|
const path_assetId = path + '.assetId';
|
|
@@ -2340,39 +2382,165 @@ function validate$H(obj, path = 'DataAssetRequestRepresentation') {
|
|
|
2340
2382
|
}
|
|
2341
2383
|
const obj_assetLabel = obj.assetLabel;
|
|
2342
2384
|
const path_assetLabel = path + '.assetLabel';
|
|
2343
|
-
|
|
2344
|
-
|
|
2385
|
+
let obj_assetLabel_union0 = null;
|
|
2386
|
+
const obj_assetLabel_union0_error = (() => {
|
|
2387
|
+
if (typeof obj_assetLabel !== 'string') {
|
|
2388
|
+
return new TypeError('Expected "string" but received "' + typeof obj_assetLabel + '" (at "' + path_assetLabel + '")');
|
|
2389
|
+
}
|
|
2390
|
+
})();
|
|
2391
|
+
if (obj_assetLabel_union0_error != null) {
|
|
2392
|
+
obj_assetLabel_union0 = obj_assetLabel_union0_error.message;
|
|
2393
|
+
}
|
|
2394
|
+
let obj_assetLabel_union1 = null;
|
|
2395
|
+
const obj_assetLabel_union1_error = (() => {
|
|
2396
|
+
if (obj_assetLabel !== null) {
|
|
2397
|
+
return new TypeError('Expected "null" but received "' + typeof obj_assetLabel + '" (at "' + path_assetLabel + '")');
|
|
2398
|
+
}
|
|
2399
|
+
})();
|
|
2400
|
+
if (obj_assetLabel_union1_error != null) {
|
|
2401
|
+
obj_assetLabel_union1 = obj_assetLabel_union1_error.message;
|
|
2402
|
+
}
|
|
2403
|
+
if (obj_assetLabel_union0 && obj_assetLabel_union1) {
|
|
2404
|
+
let message = 'Object doesn\'t match union (at "' + path_assetLabel + '")';
|
|
2405
|
+
message += '\n' + obj_assetLabel_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
2406
|
+
message += '\n' + obj_assetLabel_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
2407
|
+
return new TypeError(message);
|
|
2345
2408
|
}
|
|
2346
2409
|
const obj_cancelledBy = obj.cancelledBy;
|
|
2347
2410
|
const path_cancelledBy = path + '.cancelledBy';
|
|
2348
|
-
|
|
2349
|
-
|
|
2350
|
-
|
|
2351
|
-
|
|
2411
|
+
let obj_cancelledBy_union0 = null;
|
|
2412
|
+
const obj_cancelledBy_union0_error = (() => {
|
|
2413
|
+
const referencepath_cancelledByValidationError = validate$I(obj_cancelledBy, path_cancelledBy);
|
|
2414
|
+
if (referencepath_cancelledByValidationError !== null) {
|
|
2415
|
+
let message = 'Object doesn\'t match AnalyticsUserRepresentation (at "' + path_cancelledBy + '")\n';
|
|
2416
|
+
message += referencepath_cancelledByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
2417
|
+
return new TypeError(message);
|
|
2418
|
+
}
|
|
2419
|
+
})();
|
|
2420
|
+
if (obj_cancelledBy_union0_error != null) {
|
|
2421
|
+
obj_cancelledBy_union0 = obj_cancelledBy_union0_error.message;
|
|
2422
|
+
}
|
|
2423
|
+
let obj_cancelledBy_union1 = null;
|
|
2424
|
+
const obj_cancelledBy_union1_error = (() => {
|
|
2425
|
+
if (obj_cancelledBy !== null) {
|
|
2426
|
+
return new TypeError('Expected "null" but received "' + typeof obj_cancelledBy + '" (at "' + path_cancelledBy + '")');
|
|
2427
|
+
}
|
|
2428
|
+
})();
|
|
2429
|
+
if (obj_cancelledBy_union1_error != null) {
|
|
2430
|
+
obj_cancelledBy_union1 = obj_cancelledBy_union1_error.message;
|
|
2431
|
+
}
|
|
2432
|
+
if (obj_cancelledBy_union0 && obj_cancelledBy_union1) {
|
|
2433
|
+
let message = 'Object doesn\'t match union (at "' + path_cancelledBy + '")';
|
|
2434
|
+
message += '\n' + obj_cancelledBy_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
2435
|
+
message += '\n' + obj_cancelledBy_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
2352
2436
|
return new TypeError(message);
|
|
2353
2437
|
}
|
|
2354
2438
|
const obj_cancelledDate = obj.cancelledDate;
|
|
2355
2439
|
const path_cancelledDate = path + '.cancelledDate';
|
|
2356
|
-
|
|
2357
|
-
|
|
2440
|
+
let obj_cancelledDate_union0 = null;
|
|
2441
|
+
const obj_cancelledDate_union0_error = (() => {
|
|
2442
|
+
if (typeof obj_cancelledDate !== 'string') {
|
|
2443
|
+
return new TypeError('Expected "string" but received "' + typeof obj_cancelledDate + '" (at "' + path_cancelledDate + '")');
|
|
2444
|
+
}
|
|
2445
|
+
})();
|
|
2446
|
+
if (obj_cancelledDate_union0_error != null) {
|
|
2447
|
+
obj_cancelledDate_union0 = obj_cancelledDate_union0_error.message;
|
|
2448
|
+
}
|
|
2449
|
+
let obj_cancelledDate_union1 = null;
|
|
2450
|
+
const obj_cancelledDate_union1_error = (() => {
|
|
2451
|
+
if (obj_cancelledDate !== null) {
|
|
2452
|
+
return new TypeError('Expected "null" but received "' + typeof obj_cancelledDate + '" (at "' + path_cancelledDate + '")');
|
|
2453
|
+
}
|
|
2454
|
+
})();
|
|
2455
|
+
if (obj_cancelledDate_union1_error != null) {
|
|
2456
|
+
obj_cancelledDate_union1 = obj_cancelledDate_union1_error.message;
|
|
2457
|
+
}
|
|
2458
|
+
if (obj_cancelledDate_union0 && obj_cancelledDate_union1) {
|
|
2459
|
+
let message = 'Object doesn\'t match union (at "' + path_cancelledDate + '")';
|
|
2460
|
+
message += '\n' + obj_cancelledDate_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
2461
|
+
message += '\n' + obj_cancelledDate_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
2462
|
+
return new TypeError(message);
|
|
2358
2463
|
}
|
|
2359
2464
|
const obj_completedBy = obj.completedBy;
|
|
2360
2465
|
const path_completedBy = path + '.completedBy';
|
|
2361
|
-
|
|
2362
|
-
|
|
2363
|
-
|
|
2364
|
-
|
|
2466
|
+
let obj_completedBy_union0 = null;
|
|
2467
|
+
const obj_completedBy_union0_error = (() => {
|
|
2468
|
+
const referencepath_completedByValidationError = validate$I(obj_completedBy, path_completedBy);
|
|
2469
|
+
if (referencepath_completedByValidationError !== null) {
|
|
2470
|
+
let message = 'Object doesn\'t match AnalyticsUserRepresentation (at "' + path_completedBy + '")\n';
|
|
2471
|
+
message += referencepath_completedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
2472
|
+
return new TypeError(message);
|
|
2473
|
+
}
|
|
2474
|
+
})();
|
|
2475
|
+
if (obj_completedBy_union0_error != null) {
|
|
2476
|
+
obj_completedBy_union0 = obj_completedBy_union0_error.message;
|
|
2477
|
+
}
|
|
2478
|
+
let obj_completedBy_union1 = null;
|
|
2479
|
+
const obj_completedBy_union1_error = (() => {
|
|
2480
|
+
if (obj_completedBy !== null) {
|
|
2481
|
+
return new TypeError('Expected "null" but received "' + typeof obj_completedBy + '" (at "' + path_completedBy + '")');
|
|
2482
|
+
}
|
|
2483
|
+
})();
|
|
2484
|
+
if (obj_completedBy_union1_error != null) {
|
|
2485
|
+
obj_completedBy_union1 = obj_completedBy_union1_error.message;
|
|
2486
|
+
}
|
|
2487
|
+
if (obj_completedBy_union0 && obj_completedBy_union1) {
|
|
2488
|
+
let message = 'Object doesn\'t match union (at "' + path_completedBy + '")';
|
|
2489
|
+
message += '\n' + obj_completedBy_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
2490
|
+
message += '\n' + obj_completedBy_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
2365
2491
|
return new TypeError(message);
|
|
2366
2492
|
}
|
|
2367
2493
|
const obj_completedDate = obj.completedDate;
|
|
2368
2494
|
const path_completedDate = path + '.completedDate';
|
|
2369
|
-
|
|
2370
|
-
|
|
2495
|
+
let obj_completedDate_union0 = null;
|
|
2496
|
+
const obj_completedDate_union0_error = (() => {
|
|
2497
|
+
if (typeof obj_completedDate !== 'string') {
|
|
2498
|
+
return new TypeError('Expected "string" but received "' + typeof obj_completedDate + '" (at "' + path_completedDate + '")');
|
|
2499
|
+
}
|
|
2500
|
+
})();
|
|
2501
|
+
if (obj_completedDate_union0_error != null) {
|
|
2502
|
+
obj_completedDate_union0 = obj_completedDate_union0_error.message;
|
|
2503
|
+
}
|
|
2504
|
+
let obj_completedDate_union1 = null;
|
|
2505
|
+
const obj_completedDate_union1_error = (() => {
|
|
2506
|
+
if (obj_completedDate !== null) {
|
|
2507
|
+
return new TypeError('Expected "null" but received "' + typeof obj_completedDate + '" (at "' + path_completedDate + '")');
|
|
2508
|
+
}
|
|
2509
|
+
})();
|
|
2510
|
+
if (obj_completedDate_union1_error != null) {
|
|
2511
|
+
obj_completedDate_union1 = obj_completedDate_union1_error.message;
|
|
2512
|
+
}
|
|
2513
|
+
if (obj_completedDate_union0 && obj_completedDate_union1) {
|
|
2514
|
+
let message = 'Object doesn\'t match union (at "' + path_completedDate + '")';
|
|
2515
|
+
message += '\n' + obj_completedDate_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
2516
|
+
message += '\n' + obj_completedDate_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
2517
|
+
return new TypeError(message);
|
|
2371
2518
|
}
|
|
2372
2519
|
const obj_failedDate = obj.failedDate;
|
|
2373
2520
|
const path_failedDate = path + '.failedDate';
|
|
2374
|
-
|
|
2375
|
-
|
|
2521
|
+
let obj_failedDate_union0 = null;
|
|
2522
|
+
const obj_failedDate_union0_error = (() => {
|
|
2523
|
+
if (typeof obj_failedDate !== 'string') {
|
|
2524
|
+
return new TypeError('Expected "string" but received "' + typeof obj_failedDate + '" (at "' + path_failedDate + '")');
|
|
2525
|
+
}
|
|
2526
|
+
})();
|
|
2527
|
+
if (obj_failedDate_union0_error != null) {
|
|
2528
|
+
obj_failedDate_union0 = obj_failedDate_union0_error.message;
|
|
2529
|
+
}
|
|
2530
|
+
let obj_failedDate_union1 = null;
|
|
2531
|
+
const obj_failedDate_union1_error = (() => {
|
|
2532
|
+
if (obj_failedDate !== null) {
|
|
2533
|
+
return new TypeError('Expected "null" but received "' + typeof obj_failedDate + '" (at "' + path_failedDate + '")');
|
|
2534
|
+
}
|
|
2535
|
+
})();
|
|
2536
|
+
if (obj_failedDate_union1_error != null) {
|
|
2537
|
+
obj_failedDate_union1 = obj_failedDate_union1_error.message;
|
|
2538
|
+
}
|
|
2539
|
+
if (obj_failedDate_union0 && obj_failedDate_union1) {
|
|
2540
|
+
let message = 'Object doesn\'t match union (at "' + path_failedDate + '")';
|
|
2541
|
+
message += '\n' + obj_failedDate_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
2542
|
+
message += '\n' + obj_failedDate_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
2543
|
+
return new TypeError(message);
|
|
2376
2544
|
}
|
|
2377
2545
|
const obj_id = obj.id;
|
|
2378
2546
|
const path_id = path + '.id';
|
|
@@ -2381,8 +2549,29 @@ function validate$H(obj, path = 'DataAssetRequestRepresentation') {
|
|
|
2381
2549
|
}
|
|
2382
2550
|
const obj_installedDate = obj.installedDate;
|
|
2383
2551
|
const path_installedDate = path + '.installedDate';
|
|
2384
|
-
|
|
2385
|
-
|
|
2552
|
+
let obj_installedDate_union0 = null;
|
|
2553
|
+
const obj_installedDate_union0_error = (() => {
|
|
2554
|
+
if (typeof obj_installedDate !== 'string') {
|
|
2555
|
+
return new TypeError('Expected "string" but received "' + typeof obj_installedDate + '" (at "' + path_installedDate + '")');
|
|
2556
|
+
}
|
|
2557
|
+
})();
|
|
2558
|
+
if (obj_installedDate_union0_error != null) {
|
|
2559
|
+
obj_installedDate_union0 = obj_installedDate_union0_error.message;
|
|
2560
|
+
}
|
|
2561
|
+
let obj_installedDate_union1 = null;
|
|
2562
|
+
const obj_installedDate_union1_error = (() => {
|
|
2563
|
+
if (obj_installedDate !== null) {
|
|
2564
|
+
return new TypeError('Expected "null" but received "' + typeof obj_installedDate + '" (at "' + path_installedDate + '")');
|
|
2565
|
+
}
|
|
2566
|
+
})();
|
|
2567
|
+
if (obj_installedDate_union1_error != null) {
|
|
2568
|
+
obj_installedDate_union1 = obj_installedDate_union1_error.message;
|
|
2569
|
+
}
|
|
2570
|
+
if (obj_installedDate_union0 && obj_installedDate_union1) {
|
|
2571
|
+
let message = 'Object doesn\'t match union (at "' + path_installedDate + '")';
|
|
2572
|
+
message += '\n' + obj_installedDate_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
2573
|
+
message += '\n' + obj_installedDate_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
2574
|
+
return new TypeError(message);
|
|
2386
2575
|
}
|
|
2387
2576
|
const obj_label = obj.label;
|
|
2388
2577
|
const path_label = path + '.label';
|
|
@@ -2391,38 +2580,185 @@ function validate$H(obj, path = 'DataAssetRequestRepresentation') {
|
|
|
2391
2580
|
}
|
|
2392
2581
|
const obj_migrationSucceededDate = obj.migrationSucceededDate;
|
|
2393
2582
|
const path_migrationSucceededDate = path + '.migrationSucceededDate';
|
|
2394
|
-
|
|
2395
|
-
|
|
2583
|
+
let obj_migrationSucceededDate_union0 = null;
|
|
2584
|
+
const obj_migrationSucceededDate_union0_error = (() => {
|
|
2585
|
+
if (typeof obj_migrationSucceededDate !== 'string') {
|
|
2586
|
+
return new TypeError('Expected "string" but received "' + typeof obj_migrationSucceededDate + '" (at "' + path_migrationSucceededDate + '")');
|
|
2587
|
+
}
|
|
2588
|
+
})();
|
|
2589
|
+
if (obj_migrationSucceededDate_union0_error != null) {
|
|
2590
|
+
obj_migrationSucceededDate_union0 = obj_migrationSucceededDate_union0_error.message;
|
|
2591
|
+
}
|
|
2592
|
+
let obj_migrationSucceededDate_union1 = null;
|
|
2593
|
+
const obj_migrationSucceededDate_union1_error = (() => {
|
|
2594
|
+
if (obj_migrationSucceededDate !== null) {
|
|
2595
|
+
return new TypeError('Expected "null" but received "' + typeof obj_migrationSucceededDate + '" (at "' + path_migrationSucceededDate + '")');
|
|
2596
|
+
}
|
|
2597
|
+
})();
|
|
2598
|
+
if (obj_migrationSucceededDate_union1_error != null) {
|
|
2599
|
+
obj_migrationSucceededDate_union1 = obj_migrationSucceededDate_union1_error.message;
|
|
2600
|
+
}
|
|
2601
|
+
if (obj_migrationSucceededDate_union0 && obj_migrationSucceededDate_union1) {
|
|
2602
|
+
let message = 'Object doesn\'t match union (at "' + path_migrationSucceededDate + '")';
|
|
2603
|
+
message += '\n' + obj_migrationSucceededDate_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
2604
|
+
message += '\n' + obj_migrationSucceededDate_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
2605
|
+
return new TypeError(message);
|
|
2396
2606
|
}
|
|
2397
2607
|
const obj_numberOfDependencies = obj.numberOfDependencies;
|
|
2398
2608
|
const path_numberOfDependencies = path + '.numberOfDependencies';
|
|
2399
|
-
|
|
2400
|
-
|
|
2609
|
+
let obj_numberOfDependencies_union0 = null;
|
|
2610
|
+
const obj_numberOfDependencies_union0_error = (() => {
|
|
2611
|
+
if (typeof obj_numberOfDependencies !== 'number' || (typeof obj_numberOfDependencies === 'number' && Math.floor(obj_numberOfDependencies) !== obj_numberOfDependencies)) {
|
|
2612
|
+
return new TypeError('Expected "integer" but received "' + typeof obj_numberOfDependencies + '" (at "' + path_numberOfDependencies + '")');
|
|
2613
|
+
}
|
|
2614
|
+
})();
|
|
2615
|
+
if (obj_numberOfDependencies_union0_error != null) {
|
|
2616
|
+
obj_numberOfDependencies_union0 = obj_numberOfDependencies_union0_error.message;
|
|
2617
|
+
}
|
|
2618
|
+
let obj_numberOfDependencies_union1 = null;
|
|
2619
|
+
const obj_numberOfDependencies_union1_error = (() => {
|
|
2620
|
+
if (obj_numberOfDependencies !== null) {
|
|
2621
|
+
return new TypeError('Expected "null" but received "' + typeof obj_numberOfDependencies + '" (at "' + path_numberOfDependencies + '")');
|
|
2622
|
+
}
|
|
2623
|
+
})();
|
|
2624
|
+
if (obj_numberOfDependencies_union1_error != null) {
|
|
2625
|
+
obj_numberOfDependencies_union1 = obj_numberOfDependencies_union1_error.message;
|
|
2626
|
+
}
|
|
2627
|
+
if (obj_numberOfDependencies_union0 && obj_numberOfDependencies_union1) {
|
|
2628
|
+
let message = 'Object doesn\'t match union (at "' + path_numberOfDependencies + '")';
|
|
2629
|
+
message += '\n' + obj_numberOfDependencies_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
2630
|
+
message += '\n' + obj_numberOfDependencies_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
2631
|
+
return new TypeError(message);
|
|
2401
2632
|
}
|
|
2402
2633
|
const obj_personalOrgId = obj.personalOrgId;
|
|
2403
2634
|
const path_personalOrgId = path + '.personalOrgId';
|
|
2404
|
-
|
|
2405
|
-
|
|
2635
|
+
let obj_personalOrgId_union0 = null;
|
|
2636
|
+
const obj_personalOrgId_union0_error = (() => {
|
|
2637
|
+
if (typeof obj_personalOrgId !== 'string') {
|
|
2638
|
+
return new TypeError('Expected "string" but received "' + typeof obj_personalOrgId + '" (at "' + path_personalOrgId + '")');
|
|
2639
|
+
}
|
|
2640
|
+
})();
|
|
2641
|
+
if (obj_personalOrgId_union0_error != null) {
|
|
2642
|
+
obj_personalOrgId_union0 = obj_personalOrgId_union0_error.message;
|
|
2643
|
+
}
|
|
2644
|
+
let obj_personalOrgId_union1 = null;
|
|
2645
|
+
const obj_personalOrgId_union1_error = (() => {
|
|
2646
|
+
if (obj_personalOrgId !== null) {
|
|
2647
|
+
return new TypeError('Expected "null" but received "' + typeof obj_personalOrgId + '" (at "' + path_personalOrgId + '")');
|
|
2648
|
+
}
|
|
2649
|
+
})();
|
|
2650
|
+
if (obj_personalOrgId_union1_error != null) {
|
|
2651
|
+
obj_personalOrgId_union1 = obj_personalOrgId_union1_error.message;
|
|
2652
|
+
}
|
|
2653
|
+
if (obj_personalOrgId_union0 && obj_personalOrgId_union1) {
|
|
2654
|
+
let message = 'Object doesn\'t match union (at "' + path_personalOrgId + '")';
|
|
2655
|
+
message += '\n' + obj_personalOrgId_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
2656
|
+
message += '\n' + obj_personalOrgId_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
2657
|
+
return new TypeError(message);
|
|
2406
2658
|
}
|
|
2407
2659
|
const obj_personalOrgWorkspaceId = obj.personalOrgWorkspaceId;
|
|
2408
2660
|
const path_personalOrgWorkspaceId = path + '.personalOrgWorkspaceId';
|
|
2409
|
-
|
|
2410
|
-
|
|
2661
|
+
let obj_personalOrgWorkspaceId_union0 = null;
|
|
2662
|
+
const obj_personalOrgWorkspaceId_union0_error = (() => {
|
|
2663
|
+
if (typeof obj_personalOrgWorkspaceId !== 'string') {
|
|
2664
|
+
return new TypeError('Expected "string" but received "' + typeof obj_personalOrgWorkspaceId + '" (at "' + path_personalOrgWorkspaceId + '")');
|
|
2665
|
+
}
|
|
2666
|
+
})();
|
|
2667
|
+
if (obj_personalOrgWorkspaceId_union0_error != null) {
|
|
2668
|
+
obj_personalOrgWorkspaceId_union0 = obj_personalOrgWorkspaceId_union0_error.message;
|
|
2669
|
+
}
|
|
2670
|
+
let obj_personalOrgWorkspaceId_union1 = null;
|
|
2671
|
+
const obj_personalOrgWorkspaceId_union1_error = (() => {
|
|
2672
|
+
if (obj_personalOrgWorkspaceId !== null) {
|
|
2673
|
+
return new TypeError('Expected "null" but received "' + typeof obj_personalOrgWorkspaceId + '" (at "' + path_personalOrgWorkspaceId + '")');
|
|
2674
|
+
}
|
|
2675
|
+
})();
|
|
2676
|
+
if (obj_personalOrgWorkspaceId_union1_error != null) {
|
|
2677
|
+
obj_personalOrgWorkspaceId_union1 = obj_personalOrgWorkspaceId_union1_error.message;
|
|
2678
|
+
}
|
|
2679
|
+
if (obj_personalOrgWorkspaceId_union0 && obj_personalOrgWorkspaceId_union1) {
|
|
2680
|
+
let message = 'Object doesn\'t match union (at "' + path_personalOrgWorkspaceId + '")';
|
|
2681
|
+
message += '\n' + obj_personalOrgWorkspaceId_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
2682
|
+
message += '\n' + obj_personalOrgWorkspaceId_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
2683
|
+
return new TypeError(message);
|
|
2411
2684
|
}
|
|
2412
2685
|
const obj_productionOrgId = obj.productionOrgId;
|
|
2413
2686
|
const path_productionOrgId = path + '.productionOrgId';
|
|
2414
|
-
|
|
2415
|
-
|
|
2687
|
+
let obj_productionOrgId_union0 = null;
|
|
2688
|
+
const obj_productionOrgId_union0_error = (() => {
|
|
2689
|
+
if (typeof obj_productionOrgId !== 'string') {
|
|
2690
|
+
return new TypeError('Expected "string" but received "' + typeof obj_productionOrgId + '" (at "' + path_productionOrgId + '")');
|
|
2691
|
+
}
|
|
2692
|
+
})();
|
|
2693
|
+
if (obj_productionOrgId_union0_error != null) {
|
|
2694
|
+
obj_productionOrgId_union0 = obj_productionOrgId_union0_error.message;
|
|
2695
|
+
}
|
|
2696
|
+
let obj_productionOrgId_union1 = null;
|
|
2697
|
+
const obj_productionOrgId_union1_error = (() => {
|
|
2698
|
+
if (obj_productionOrgId !== null) {
|
|
2699
|
+
return new TypeError('Expected "null" but received "' + typeof obj_productionOrgId + '" (at "' + path_productionOrgId + '")');
|
|
2700
|
+
}
|
|
2701
|
+
})();
|
|
2702
|
+
if (obj_productionOrgId_union1_error != null) {
|
|
2703
|
+
obj_productionOrgId_union1 = obj_productionOrgId_union1_error.message;
|
|
2704
|
+
}
|
|
2705
|
+
if (obj_productionOrgId_union0 && obj_productionOrgId_union1) {
|
|
2706
|
+
let message = 'Object doesn\'t match union (at "' + path_productionOrgId + '")';
|
|
2707
|
+
message += '\n' + obj_productionOrgId_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
2708
|
+
message += '\n' + obj_productionOrgId_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
2709
|
+
return new TypeError(message);
|
|
2416
2710
|
}
|
|
2417
2711
|
const obj_productionOrgWorkspaceId = obj.productionOrgWorkspaceId;
|
|
2418
2712
|
const path_productionOrgWorkspaceId = path + '.productionOrgWorkspaceId';
|
|
2419
|
-
|
|
2420
|
-
|
|
2713
|
+
let obj_productionOrgWorkspaceId_union0 = null;
|
|
2714
|
+
const obj_productionOrgWorkspaceId_union0_error = (() => {
|
|
2715
|
+
if (typeof obj_productionOrgWorkspaceId !== 'string') {
|
|
2716
|
+
return new TypeError('Expected "string" but received "' + typeof obj_productionOrgWorkspaceId + '" (at "' + path_productionOrgWorkspaceId + '")');
|
|
2717
|
+
}
|
|
2718
|
+
})();
|
|
2719
|
+
if (obj_productionOrgWorkspaceId_union0_error != null) {
|
|
2720
|
+
obj_productionOrgWorkspaceId_union0 = obj_productionOrgWorkspaceId_union0_error.message;
|
|
2721
|
+
}
|
|
2722
|
+
let obj_productionOrgWorkspaceId_union1 = null;
|
|
2723
|
+
const obj_productionOrgWorkspaceId_union1_error = (() => {
|
|
2724
|
+
if (obj_productionOrgWorkspaceId !== null) {
|
|
2725
|
+
return new TypeError('Expected "null" but received "' + typeof obj_productionOrgWorkspaceId + '" (at "' + path_productionOrgWorkspaceId + '")');
|
|
2726
|
+
}
|
|
2727
|
+
})();
|
|
2728
|
+
if (obj_productionOrgWorkspaceId_union1_error != null) {
|
|
2729
|
+
obj_productionOrgWorkspaceId_union1 = obj_productionOrgWorkspaceId_union1_error.message;
|
|
2730
|
+
}
|
|
2731
|
+
if (obj_productionOrgWorkspaceId_union0 && obj_productionOrgWorkspaceId_union1) {
|
|
2732
|
+
let message = 'Object doesn\'t match union (at "' + path_productionOrgWorkspaceId + '")';
|
|
2733
|
+
message += '\n' + obj_productionOrgWorkspaceId_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
2734
|
+
message += '\n' + obj_productionOrgWorkspaceId_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
2735
|
+
return new TypeError(message);
|
|
2421
2736
|
}
|
|
2422
2737
|
const obj_rejectionComment = obj.rejectionComment;
|
|
2423
2738
|
const path_rejectionComment = path + '.rejectionComment';
|
|
2424
|
-
|
|
2425
|
-
|
|
2739
|
+
let obj_rejectionComment_union0 = null;
|
|
2740
|
+
const obj_rejectionComment_union0_error = (() => {
|
|
2741
|
+
if (typeof obj_rejectionComment !== 'string') {
|
|
2742
|
+
return new TypeError('Expected "string" but received "' + typeof obj_rejectionComment + '" (at "' + path_rejectionComment + '")');
|
|
2743
|
+
}
|
|
2744
|
+
})();
|
|
2745
|
+
if (obj_rejectionComment_union0_error != null) {
|
|
2746
|
+
obj_rejectionComment_union0 = obj_rejectionComment_union0_error.message;
|
|
2747
|
+
}
|
|
2748
|
+
let obj_rejectionComment_union1 = null;
|
|
2749
|
+
const obj_rejectionComment_union1_error = (() => {
|
|
2750
|
+
if (obj_rejectionComment !== null) {
|
|
2751
|
+
return new TypeError('Expected "null" but received "' + typeof obj_rejectionComment + '" (at "' + path_rejectionComment + '")');
|
|
2752
|
+
}
|
|
2753
|
+
})();
|
|
2754
|
+
if (obj_rejectionComment_union1_error != null) {
|
|
2755
|
+
obj_rejectionComment_union1 = obj_rejectionComment_union1_error.message;
|
|
2756
|
+
}
|
|
2757
|
+
if (obj_rejectionComment_union0 && obj_rejectionComment_union1) {
|
|
2758
|
+
let message = 'Object doesn\'t match union (at "' + path_rejectionComment + '")';
|
|
2759
|
+
message += '\n' + obj_rejectionComment_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
2760
|
+
message += '\n' + obj_rejectionComment_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
2761
|
+
return new TypeError(message);
|
|
2426
2762
|
}
|
|
2427
2763
|
const obj_requestType = obj.requestType;
|
|
2428
2764
|
const path_requestType = path + '.requestType';
|
|
@@ -2449,8 +2785,29 @@ function validate$H(obj, path = 'DataAssetRequestRepresentation') {
|
|
|
2449
2785
|
}
|
|
2450
2786
|
const obj_sourceRequestId = obj.sourceRequestId;
|
|
2451
2787
|
const path_sourceRequestId = path + '.sourceRequestId';
|
|
2452
|
-
|
|
2453
|
-
|
|
2788
|
+
let obj_sourceRequestId_union0 = null;
|
|
2789
|
+
const obj_sourceRequestId_union0_error = (() => {
|
|
2790
|
+
if (typeof obj_sourceRequestId !== 'string') {
|
|
2791
|
+
return new TypeError('Expected "string" but received "' + typeof obj_sourceRequestId + '" (at "' + path_sourceRequestId + '")');
|
|
2792
|
+
}
|
|
2793
|
+
})();
|
|
2794
|
+
if (obj_sourceRequestId_union0_error != null) {
|
|
2795
|
+
obj_sourceRequestId_union0 = obj_sourceRequestId_union0_error.message;
|
|
2796
|
+
}
|
|
2797
|
+
let obj_sourceRequestId_union1 = null;
|
|
2798
|
+
const obj_sourceRequestId_union1_error = (() => {
|
|
2799
|
+
if (obj_sourceRequestId !== null) {
|
|
2800
|
+
return new TypeError('Expected "null" but received "' + typeof obj_sourceRequestId + '" (at "' + path_sourceRequestId + '")');
|
|
2801
|
+
}
|
|
2802
|
+
})();
|
|
2803
|
+
if (obj_sourceRequestId_union1_error != null) {
|
|
2804
|
+
obj_sourceRequestId_union1 = obj_sourceRequestId_union1_error.message;
|
|
2805
|
+
}
|
|
2806
|
+
if (obj_sourceRequestId_union0 && obj_sourceRequestId_union1) {
|
|
2807
|
+
let message = 'Object doesn\'t match union (at "' + path_sourceRequestId + '")';
|
|
2808
|
+
message += '\n' + obj_sourceRequestId_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
2809
|
+
message += '\n' + obj_sourceRequestId_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
2810
|
+
return new TypeError(message);
|
|
2454
2811
|
}
|
|
2455
2812
|
const obj_status = obj.status;
|
|
2456
2813
|
const path_status = path + '.status';
|
|
@@ -2459,8 +2816,29 @@ function validate$H(obj, path = 'DataAssetRequestRepresentation') {
|
|
|
2459
2816
|
}
|
|
2460
2817
|
const obj_targetRequestId = obj.targetRequestId;
|
|
2461
2818
|
const path_targetRequestId = path + '.targetRequestId';
|
|
2462
|
-
|
|
2463
|
-
|
|
2819
|
+
let obj_targetRequestId_union0 = null;
|
|
2820
|
+
const obj_targetRequestId_union0_error = (() => {
|
|
2821
|
+
if (typeof obj_targetRequestId !== 'string') {
|
|
2822
|
+
return new TypeError('Expected "string" but received "' + typeof obj_targetRequestId + '" (at "' + path_targetRequestId + '")');
|
|
2823
|
+
}
|
|
2824
|
+
})();
|
|
2825
|
+
if (obj_targetRequestId_union0_error != null) {
|
|
2826
|
+
obj_targetRequestId_union0 = obj_targetRequestId_union0_error.message;
|
|
2827
|
+
}
|
|
2828
|
+
let obj_targetRequestId_union1 = null;
|
|
2829
|
+
const obj_targetRequestId_union1_error = (() => {
|
|
2830
|
+
if (obj_targetRequestId !== null) {
|
|
2831
|
+
return new TypeError('Expected "null" but received "' + typeof obj_targetRequestId + '" (at "' + path_targetRequestId + '")');
|
|
2832
|
+
}
|
|
2833
|
+
})();
|
|
2834
|
+
if (obj_targetRequestId_union1_error != null) {
|
|
2835
|
+
obj_targetRequestId_union1 = obj_targetRequestId_union1_error.message;
|
|
2836
|
+
}
|
|
2837
|
+
if (obj_targetRequestId_union0 && obj_targetRequestId_union1) {
|
|
2838
|
+
let message = 'Object doesn\'t match union (at "' + path_targetRequestId + '")';
|
|
2839
|
+
message += '\n' + obj_targetRequestId_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
2840
|
+
message += '\n' + obj_targetRequestId_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
2841
|
+
return new TypeError(message);
|
|
2464
2842
|
}
|
|
2465
2843
|
const obj_workspaceAssetId = obj.workspaceAssetId;
|
|
2466
2844
|
const path_workspaceAssetId = path + '.workspaceAssetId';
|
|
@@ -2558,16 +2936,16 @@ function createResourceRequest$M(config) {
|
|
|
2558
2936
|
|
|
2559
2937
|
const adapterName$M = 'createDataAssetRequest';
|
|
2560
2938
|
const createDataAssetRequest_ConfigPropertyMetadata = [
|
|
2561
|
-
generateParamConfigMetadata('assetId',
|
|
2562
|
-
generateParamConfigMetadata('id',
|
|
2563
|
-
generateParamConfigMetadata('label',
|
|
2564
|
-
generateParamConfigMetadata('numberOfDependencies',
|
|
2565
|
-
generateParamConfigMetadata('rejectionComment',
|
|
2566
|
-
generateParamConfigMetadata('requestType',
|
|
2567
|
-
generateParamConfigMetadata('requesterComment',
|
|
2568
|
-
generateParamConfigMetadata('sourceRequestId',
|
|
2569
|
-
generateParamConfigMetadata('status',
|
|
2570
|
-
generateParamConfigMetadata('workspaceIdOrApiName',
|
|
2939
|
+
generateParamConfigMetadata('assetId', false, 2 /* Body */, 0 /* String */),
|
|
2940
|
+
generateParamConfigMetadata('id', false, 2 /* Body */, 0 /* String */),
|
|
2941
|
+
generateParamConfigMetadata('label', false, 2 /* Body */, 0 /* String */),
|
|
2942
|
+
generateParamConfigMetadata('numberOfDependencies', false, 2 /* Body */, 3 /* Integer */),
|
|
2943
|
+
generateParamConfigMetadata('rejectionComment', false, 2 /* Body */, 0 /* String */),
|
|
2944
|
+
generateParamConfigMetadata('requestType', false, 2 /* Body */, 0 /* String */),
|
|
2945
|
+
generateParamConfigMetadata('requesterComment', false, 2 /* Body */, 0 /* String */),
|
|
2946
|
+
generateParamConfigMetadata('sourceRequestId', false, 2 /* Body */, 0 /* String */),
|
|
2947
|
+
generateParamConfigMetadata('status', false, 2 /* Body */, 0 /* String */),
|
|
2948
|
+
generateParamConfigMetadata('workspaceIdOrApiName', false, 2 /* Body */, 0 /* String */),
|
|
2571
2949
|
];
|
|
2572
2950
|
const createDataAssetRequest_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$M, createDataAssetRequest_ConfigPropertyMetadata);
|
|
2573
2951
|
const createResourceParams$M = /*#__PURE__*/ createResourceParams$Q(createDataAssetRequest_ConfigPropertyMetadata);
|
|
@@ -7804,16 +8182,16 @@ function validate$f(obj, path = 'OrgRepresentation') {
|
|
|
7804
8182
|
if (typeof obj_id !== 'string') {
|
|
7805
8183
|
return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
|
|
7806
8184
|
}
|
|
8185
|
+
const obj_isCurrentOrg = obj.isCurrentOrg;
|
|
8186
|
+
const path_isCurrentOrg = path + '.isCurrentOrg';
|
|
8187
|
+
if (typeof obj_isCurrentOrg !== 'boolean') {
|
|
8188
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_isCurrentOrg + '" (at "' + path_isCurrentOrg + '")');
|
|
8189
|
+
}
|
|
7807
8190
|
const obj_label = obj.label;
|
|
7808
8191
|
const path_label = path + '.label';
|
|
7809
8192
|
if (typeof obj_label !== 'string') {
|
|
7810
8193
|
return new TypeError('Expected "string" but received "' + typeof obj_label + '" (at "' + path_label + '")');
|
|
7811
8194
|
}
|
|
7812
|
-
const obj_orgUrl = obj.orgUrl;
|
|
7813
|
-
const path_orgUrl = path + '.orgUrl';
|
|
7814
|
-
if (typeof obj_orgUrl !== 'string') {
|
|
7815
|
-
return new TypeError('Expected "string" but received "' + typeof obj_orgUrl + '" (at "' + path_orgUrl + '")');
|
|
7816
|
-
}
|
|
7817
8195
|
const obj_targetUrl = obj.targetUrl;
|
|
7818
8196
|
const path_targetUrl = path + '.targetUrl';
|
|
7819
8197
|
if (typeof obj_targetUrl !== 'string') {
|
|
@@ -7824,35 +8202,35 @@ function validate$f(obj, path = 'OrgRepresentation') {
|
|
|
7824
8202
|
}
|
|
7825
8203
|
|
|
7826
8204
|
const TTL$7 = 500;
|
|
7827
|
-
const VERSION$b = "
|
|
8205
|
+
const VERSION$b = "dba0af366d4e42611a2437d6eeb19b6e";
|
|
7828
8206
|
function validate$e(obj, path = 'OrgCollectionRepresentation') {
|
|
7829
8207
|
const v_error = (() => {
|
|
7830
8208
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
7831
8209
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
7832
8210
|
}
|
|
7833
|
-
const
|
|
7834
|
-
const
|
|
7835
|
-
|
|
7836
|
-
|
|
7837
|
-
|
|
7838
|
-
|
|
7839
|
-
|
|
7840
|
-
|
|
7841
|
-
|
|
7842
|
-
|
|
7843
|
-
|
|
7844
|
-
|
|
7845
|
-
}
|
|
7846
|
-
for (let i = 0; i < obj_orgs.length; i++) {
|
|
7847
|
-
const obj_orgs_item = obj_orgs[i];
|
|
7848
|
-
const path_orgs_item = path_orgs + '[' + i + ']';
|
|
7849
|
-
const referencepath_orgs_itemValidationError = validate$f(obj_orgs_item, path_orgs_item);
|
|
7850
|
-
if (referencepath_orgs_itemValidationError !== null) {
|
|
7851
|
-
let message = 'Object doesn\'t match OrgRepresentation (at "' + path_orgs_item + '")\n';
|
|
7852
|
-
message += referencepath_orgs_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
8211
|
+
const obj_personalOrgs = obj.personalOrgs;
|
|
8212
|
+
const path_personalOrgs = path + '.personalOrgs';
|
|
8213
|
+
if (!ArrayIsArray(obj_personalOrgs)) {
|
|
8214
|
+
return new TypeError('Expected "array" but received "' + typeof obj_personalOrgs + '" (at "' + path_personalOrgs + '")');
|
|
8215
|
+
}
|
|
8216
|
+
for (let i = 0; i < obj_personalOrgs.length; i++) {
|
|
8217
|
+
const obj_personalOrgs_item = obj_personalOrgs[i];
|
|
8218
|
+
const path_personalOrgs_item = path_personalOrgs + '[' + i + ']';
|
|
8219
|
+
const referencepath_personalOrgs_itemValidationError = validate$f(obj_personalOrgs_item, path_personalOrgs_item);
|
|
8220
|
+
if (referencepath_personalOrgs_itemValidationError !== null) {
|
|
8221
|
+
let message = 'Object doesn\'t match OrgRepresentation (at "' + path_personalOrgs_item + '")\n';
|
|
8222
|
+
message += referencepath_personalOrgs_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
7853
8223
|
return new TypeError(message);
|
|
7854
8224
|
}
|
|
7855
8225
|
}
|
|
8226
|
+
const obj_productionOrg = obj.productionOrg;
|
|
8227
|
+
const path_productionOrg = path + '.productionOrg';
|
|
8228
|
+
const referencepath_productionOrgValidationError = validate$f(obj_productionOrg, path_productionOrg);
|
|
8229
|
+
if (referencepath_productionOrgValidationError !== null) {
|
|
8230
|
+
let message = 'Object doesn\'t match OrgRepresentation (at "' + path_productionOrg + '")\n';
|
|
8231
|
+
message += referencepath_productionOrgValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
8232
|
+
return new TypeError(message);
|
|
8233
|
+
}
|
|
7856
8234
|
})();
|
|
7857
8235
|
return v_error === undefined ? null : v_error;
|
|
7858
8236
|
}
|
|
@@ -7900,14 +8278,14 @@ function select$v(luvio, params) {
|
|
|
7900
8278
|
return select$w();
|
|
7901
8279
|
}
|
|
7902
8280
|
function keyBuilder$s(luvio, params) {
|
|
7903
|
-
return keyPrefix + '::OrgCollectionRepresentation:(' + '
|
|
8281
|
+
return keyPrefix + '::OrgCollectionRepresentation:(' + ')';
|
|
7904
8282
|
}
|
|
7905
8283
|
function getResponseCacheKeys$l(storeKeyMap, luvio, resourceParams, response) {
|
|
7906
|
-
getTypeCacheKeys$b(storeKeyMap, luvio, response, () => keyBuilder$s(
|
|
8284
|
+
getTypeCacheKeys$b(storeKeyMap, luvio, response, () => keyBuilder$s());
|
|
7907
8285
|
}
|
|
7908
8286
|
function ingestSuccess$k(luvio, resourceParams, response, snapshotRefresh) {
|
|
7909
8287
|
const { body } = response;
|
|
7910
|
-
const key = keyBuilder$s(
|
|
8288
|
+
const key = keyBuilder$s();
|
|
7911
8289
|
luvio.storeIngest(key, ingest$b, body);
|
|
7912
8290
|
const snapshot = luvio.storeLookup({
|
|
7913
8291
|
recordId: key,
|
|
@@ -7923,7 +8301,7 @@ function ingestSuccess$k(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
7923
8301
|
return snapshot;
|
|
7924
8302
|
}
|
|
7925
8303
|
function ingestError$a(luvio, params, error, snapshotRefresh) {
|
|
7926
|
-
const key = keyBuilder$s(
|
|
8304
|
+
const key = keyBuilder$s();
|
|
7927
8305
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
7928
8306
|
const storeMetadataParams = {
|
|
7929
8307
|
ttl: TTL$7,
|
|
@@ -7938,10 +8316,10 @@ function createResourceRequest$l(config) {
|
|
|
7938
8316
|
const headers = {};
|
|
7939
8317
|
return {
|
|
7940
8318
|
baseUri: '/services/data/v63.0',
|
|
7941
|
-
basePath: '/tableau/orgs
|
|
8319
|
+
basePath: '/tableau/orgs',
|
|
7942
8320
|
method: 'get',
|
|
7943
8321
|
body: null,
|
|
7944
|
-
urlParams:
|
|
8322
|
+
urlParams: {},
|
|
7945
8323
|
queryParams: {},
|
|
7946
8324
|
headers,
|
|
7947
8325
|
priority: 'normal',
|
|
@@ -7949,18 +8327,15 @@ function createResourceRequest$l(config) {
|
|
|
7949
8327
|
}
|
|
7950
8328
|
|
|
7951
8329
|
const adapterName$l = 'getOrg';
|
|
7952
|
-
const getOrg_ConfigPropertyMetadata = [
|
|
7953
|
-
generateParamConfigMetadata('userName', true, 0 /* UrlParameter */, 0 /* String */),
|
|
7954
|
-
];
|
|
8330
|
+
const getOrg_ConfigPropertyMetadata = [];
|
|
7955
8331
|
const getOrg_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$l, getOrg_ConfigPropertyMetadata);
|
|
7956
8332
|
const createResourceParams$l = /*#__PURE__*/ createResourceParams$Q(getOrg_ConfigPropertyMetadata);
|
|
7957
8333
|
function keyBuilder$r(luvio, config) {
|
|
7958
|
-
|
|
7959
|
-
return keyBuilder$s(
|
|
8334
|
+
createResourceParams$l(config);
|
|
8335
|
+
return keyBuilder$s();
|
|
7960
8336
|
}
|
|
7961
8337
|
function typeCheckConfig$l(untrustedConfig) {
|
|
7962
8338
|
const config = {};
|
|
7963
|
-
typeCheckConfig$Q(untrustedConfig, config, getOrg_ConfigPropertyMetadata);
|
|
7964
8339
|
return config;
|
|
7965
8340
|
}
|
|
7966
8341
|
function validateAdapterConfig$l(untrustedConfig, configPropertyNames) {
|
|
@@ -7970,7 +8345,7 @@ function validateAdapterConfig$l(untrustedConfig, configPropertyNames) {
|
|
|
7970
8345
|
if (process.env.NODE_ENV !== 'production') {
|
|
7971
8346
|
validateConfig(untrustedConfig, configPropertyNames);
|
|
7972
8347
|
}
|
|
7973
|
-
const config = typeCheckConfig$l(
|
|
8348
|
+
const config = typeCheckConfig$l();
|
|
7974
8349
|
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
7975
8350
|
return null;
|
|
7976
8351
|
}
|
|
@@ -7996,7 +8371,7 @@ function onFetchResponseError$a(luvio, config, resourceParams, response) {
|
|
|
7996
8371
|
}
|
|
7997
8372
|
function buildNetworkSnapshot$l(luvio, config, options) {
|
|
7998
8373
|
const resourceParams = createResourceParams$l(config);
|
|
7999
|
-
const request = createResourceRequest$l(
|
|
8374
|
+
const request = createResourceRequest$l();
|
|
8000
8375
|
return luvio.dispatchResourceRequest(request, options)
|
|
8001
8376
|
.then((response) => {
|
|
8002
8377
|
return luvio.handleSuccessResponse(() => onFetchResponseSuccess$a(luvio, config, resourceParams, response), () => {
|
|
@@ -11384,16 +11759,16 @@ function createResourceRequest$4(config) {
|
|
|
11384
11759
|
const adapterName$4 = 'updateDataAssetRequest';
|
|
11385
11760
|
const updateDataAssetRequest_ConfigPropertyMetadata = [
|
|
11386
11761
|
generateParamConfigMetadata('requestIdOrApiName', true, 0 /* UrlParameter */, 0 /* String */),
|
|
11387
|
-
generateParamConfigMetadata('assetId',
|
|
11388
|
-
generateParamConfigMetadata('id',
|
|
11389
|
-
generateParamConfigMetadata('label',
|
|
11390
|
-
generateParamConfigMetadata('numberOfDependencies',
|
|
11391
|
-
generateParamConfigMetadata('rejectionComment',
|
|
11392
|
-
generateParamConfigMetadata('requestType',
|
|
11393
|
-
generateParamConfigMetadata('requesterComment',
|
|
11394
|
-
generateParamConfigMetadata('sourceRequestId',
|
|
11395
|
-
generateParamConfigMetadata('status',
|
|
11396
|
-
generateParamConfigMetadata('workspaceIdOrApiName',
|
|
11762
|
+
generateParamConfigMetadata('assetId', false, 2 /* Body */, 0 /* String */),
|
|
11763
|
+
generateParamConfigMetadata('id', false, 2 /* Body */, 0 /* String */),
|
|
11764
|
+
generateParamConfigMetadata('label', false, 2 /* Body */, 0 /* String */),
|
|
11765
|
+
generateParamConfigMetadata('numberOfDependencies', false, 2 /* Body */, 3 /* Integer */),
|
|
11766
|
+
generateParamConfigMetadata('rejectionComment', false, 2 /* Body */, 0 /* String */),
|
|
11767
|
+
generateParamConfigMetadata('requestType', false, 2 /* Body */, 0 /* String */),
|
|
11768
|
+
generateParamConfigMetadata('requesterComment', false, 2 /* Body */, 0 /* String */),
|
|
11769
|
+
generateParamConfigMetadata('sourceRequestId', false, 2 /* Body */, 0 /* String */),
|
|
11770
|
+
generateParamConfigMetadata('status', false, 2 /* Body */, 0 /* String */),
|
|
11771
|
+
generateParamConfigMetadata('workspaceIdOrApiName', false, 2 /* Body */, 0 /* String */),
|
|
11397
11772
|
];
|
|
11398
11773
|
const updateDataAssetRequest_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$4, updateDataAssetRequest_ConfigPropertyMetadata);
|
|
11399
11774
|
const createResourceParams$4 = /*#__PURE__*/ createResourceParams$Q(updateDataAssetRequest_ConfigPropertyMetadata);
|
|
@@ -12278,4 +12653,4 @@ withDefaultLuvio((luvio) => {
|
|
|
12278
12653
|
});
|
|
12279
12654
|
|
|
12280
12655
|
export { createAnnotation, createAssetSlackChannel, createDashboard, createDataAssetRequest, createLoglines, createRecordShares, createVisualization, createWorkspace, createWorkspaceAsset, deleteAllShares, deleteDashboard, deleteRecordShare, deleteVisualization, deleteWorkspace, deleteWorkspaceAsset, follow, generateSFDriveCredentials, getAnnotations, getAnnotations_imperative, getAssetSlackChannels, getAssetSlackChannels_imperative, getDashboardByName, getDashboardByNameNotifyChange, getDashboardByName_imperative, getDashboards, getDashboards_imperative, getDataAssetDependencies, getDataAssetDependencies_imperative, getDataAssetRequestByIdOrApiName, getDataAssetRequestByIdOrApiNameNotifyChange, getDataAssetRequestByIdOrApiName_imperative, getDataAssetRequests, getDataAssetRequestsCount, getDataAssetRequestsCount_imperative, getDataAssetRequests_imperative, getFlowByName, getFlowByName_imperative, getFlows, getFlows_imperative, getFollowedAssets, getFollowedAssets_imperative, getFollowers, getFollowers_imperative, getMarketplaceListingInstallationProgress, getMarketplaceListingInstallationProgress_imperative, getOrg, getOrg_imperative, getShares, getSharesNotifyChange, getShares_imperative, getSlackAppInfo, getSlackAppInfo_imperative, getSubscriptionDigestConfig, getSubscriptionDigestConfigNotifyChange, getSubscriptionDigestConfig_imperative, getUnifiedAnalyticsLibraryAssets, getUniqueFollowerCount, getUniqueFollowerCount_imperative, getVisualization, getVisualizationBundle, getVisualizationBundleNotifyChange, getVisualizationBundle_imperative, getVisualizationNotifyChange, getVisualization_imperative, getVisualizations, getVisualizations_imperative, getWorkspaceByIdOrName, getWorkspaceByIdOrNameNotifyChange, getWorkspaceByIdOrName_imperative, getWorkspaces, getWorkspaces_imperative, initiateMarketplaceListingInstallation, initiateMarketplaceListingInstallation_imperative, publish, queryAssets, queryUsers, unfollow, updateDashboard, updateDataAssetRequest, updateRecordShares, updateSubscriptionDigestConfig, updateVisualization, updateWorkspace };
|
|
12281
|
-
// version: 1.332.0-
|
|
12656
|
+
// version: 1.332.0-dev11-db48bc45f8
|