@salesforce/lds-adapters-analytics-unifiedanalytics 1.332.0-dev10 → 1.332.0-dev12
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
|
@@ -3642,7 +3642,7 @@ function validate$C(obj, path = 'AnalyticsUserRepresentation') {
|
|
|
3642
3642
|
}
|
|
3643
3643
|
|
|
3644
3644
|
const TTL$h = 500;
|
|
3645
|
-
const VERSION$r = "
|
|
3645
|
+
const VERSION$r = "43c05ab1871f7e0f8c17a6eaf58cdc17";
|
|
3646
3646
|
function validate$B(obj, path = 'DataAssetRequestRepresentation') {
|
|
3647
3647
|
const v_error = (() => {
|
|
3648
3648
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -3650,16 +3650,58 @@ function validate$B(obj, path = 'DataAssetRequestRepresentation') {
|
|
|
3650
3650
|
}
|
|
3651
3651
|
const obj_acknowledgedBy = obj.acknowledgedBy;
|
|
3652
3652
|
const path_acknowledgedBy = path + '.acknowledgedBy';
|
|
3653
|
-
|
|
3654
|
-
|
|
3655
|
-
|
|
3656
|
-
|
|
3653
|
+
let obj_acknowledgedBy_union0 = null;
|
|
3654
|
+
const obj_acknowledgedBy_union0_error = (() => {
|
|
3655
|
+
const referencepath_acknowledgedByValidationError = validate$C(obj_acknowledgedBy, path_acknowledgedBy);
|
|
3656
|
+
if (referencepath_acknowledgedByValidationError !== null) {
|
|
3657
|
+
let message = 'Object doesn\'t match AnalyticsUserRepresentation (at "' + path_acknowledgedBy + '")\n';
|
|
3658
|
+
message += referencepath_acknowledgedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
3659
|
+
return new TypeError(message);
|
|
3660
|
+
}
|
|
3661
|
+
})();
|
|
3662
|
+
if (obj_acknowledgedBy_union0_error != null) {
|
|
3663
|
+
obj_acknowledgedBy_union0 = obj_acknowledgedBy_union0_error.message;
|
|
3664
|
+
}
|
|
3665
|
+
let obj_acknowledgedBy_union1 = null;
|
|
3666
|
+
const obj_acknowledgedBy_union1_error = (() => {
|
|
3667
|
+
if (obj_acknowledgedBy !== null) {
|
|
3668
|
+
return new TypeError('Expected "null" but received "' + typeof obj_acknowledgedBy + '" (at "' + path_acknowledgedBy + '")');
|
|
3669
|
+
}
|
|
3670
|
+
})();
|
|
3671
|
+
if (obj_acknowledgedBy_union1_error != null) {
|
|
3672
|
+
obj_acknowledgedBy_union1 = obj_acknowledgedBy_union1_error.message;
|
|
3673
|
+
}
|
|
3674
|
+
if (obj_acknowledgedBy_union0 && obj_acknowledgedBy_union1) {
|
|
3675
|
+
let message = 'Object doesn\'t match union (at "' + path_acknowledgedBy + '")';
|
|
3676
|
+
message += '\n' + obj_acknowledgedBy_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
3677
|
+
message += '\n' + obj_acknowledgedBy_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
3657
3678
|
return new TypeError(message);
|
|
3658
3679
|
}
|
|
3659
3680
|
const obj_acknowledgedDate = obj.acknowledgedDate;
|
|
3660
3681
|
const path_acknowledgedDate = path + '.acknowledgedDate';
|
|
3661
|
-
|
|
3662
|
-
|
|
3682
|
+
let obj_acknowledgedDate_union0 = null;
|
|
3683
|
+
const obj_acknowledgedDate_union0_error = (() => {
|
|
3684
|
+
if (typeof obj_acknowledgedDate !== 'string') {
|
|
3685
|
+
return new TypeError('Expected "string" but received "' + typeof obj_acknowledgedDate + '" (at "' + path_acknowledgedDate + '")');
|
|
3686
|
+
}
|
|
3687
|
+
})();
|
|
3688
|
+
if (obj_acknowledgedDate_union0_error != null) {
|
|
3689
|
+
obj_acknowledgedDate_union0 = obj_acknowledgedDate_union0_error.message;
|
|
3690
|
+
}
|
|
3691
|
+
let obj_acknowledgedDate_union1 = null;
|
|
3692
|
+
const obj_acknowledgedDate_union1_error = (() => {
|
|
3693
|
+
if (obj_acknowledgedDate !== null) {
|
|
3694
|
+
return new TypeError('Expected "null" but received "' + typeof obj_acknowledgedDate + '" (at "' + path_acknowledgedDate + '")');
|
|
3695
|
+
}
|
|
3696
|
+
})();
|
|
3697
|
+
if (obj_acknowledgedDate_union1_error != null) {
|
|
3698
|
+
obj_acknowledgedDate_union1 = obj_acknowledgedDate_union1_error.message;
|
|
3699
|
+
}
|
|
3700
|
+
if (obj_acknowledgedDate_union0 && obj_acknowledgedDate_union1) {
|
|
3701
|
+
let message = 'Object doesn\'t match union (at "' + path_acknowledgedDate + '")';
|
|
3702
|
+
message += '\n' + obj_acknowledgedDate_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
3703
|
+
message += '\n' + obj_acknowledgedDate_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
3704
|
+
return new TypeError(message);
|
|
3663
3705
|
}
|
|
3664
3706
|
const obj_assetId = obj.assetId;
|
|
3665
3707
|
const path_assetId = path + '.assetId';
|
|
@@ -3668,39 +3710,165 @@ function validate$B(obj, path = 'DataAssetRequestRepresentation') {
|
|
|
3668
3710
|
}
|
|
3669
3711
|
const obj_assetLabel = obj.assetLabel;
|
|
3670
3712
|
const path_assetLabel = path + '.assetLabel';
|
|
3671
|
-
|
|
3672
|
-
|
|
3713
|
+
let obj_assetLabel_union0 = null;
|
|
3714
|
+
const obj_assetLabel_union0_error = (() => {
|
|
3715
|
+
if (typeof obj_assetLabel !== 'string') {
|
|
3716
|
+
return new TypeError('Expected "string" but received "' + typeof obj_assetLabel + '" (at "' + path_assetLabel + '")');
|
|
3717
|
+
}
|
|
3718
|
+
})();
|
|
3719
|
+
if (obj_assetLabel_union0_error != null) {
|
|
3720
|
+
obj_assetLabel_union0 = obj_assetLabel_union0_error.message;
|
|
3721
|
+
}
|
|
3722
|
+
let obj_assetLabel_union1 = null;
|
|
3723
|
+
const obj_assetLabel_union1_error = (() => {
|
|
3724
|
+
if (obj_assetLabel !== null) {
|
|
3725
|
+
return new TypeError('Expected "null" but received "' + typeof obj_assetLabel + '" (at "' + path_assetLabel + '")');
|
|
3726
|
+
}
|
|
3727
|
+
})();
|
|
3728
|
+
if (obj_assetLabel_union1_error != null) {
|
|
3729
|
+
obj_assetLabel_union1 = obj_assetLabel_union1_error.message;
|
|
3730
|
+
}
|
|
3731
|
+
if (obj_assetLabel_union0 && obj_assetLabel_union1) {
|
|
3732
|
+
let message = 'Object doesn\'t match union (at "' + path_assetLabel + '")';
|
|
3733
|
+
message += '\n' + obj_assetLabel_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
3734
|
+
message += '\n' + obj_assetLabel_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
3735
|
+
return new TypeError(message);
|
|
3673
3736
|
}
|
|
3674
3737
|
const obj_cancelledBy = obj.cancelledBy;
|
|
3675
3738
|
const path_cancelledBy = path + '.cancelledBy';
|
|
3676
|
-
|
|
3677
|
-
|
|
3678
|
-
|
|
3679
|
-
|
|
3739
|
+
let obj_cancelledBy_union0 = null;
|
|
3740
|
+
const obj_cancelledBy_union0_error = (() => {
|
|
3741
|
+
const referencepath_cancelledByValidationError = validate$C(obj_cancelledBy, path_cancelledBy);
|
|
3742
|
+
if (referencepath_cancelledByValidationError !== null) {
|
|
3743
|
+
let message = 'Object doesn\'t match AnalyticsUserRepresentation (at "' + path_cancelledBy + '")\n';
|
|
3744
|
+
message += referencepath_cancelledByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
3745
|
+
return new TypeError(message);
|
|
3746
|
+
}
|
|
3747
|
+
})();
|
|
3748
|
+
if (obj_cancelledBy_union0_error != null) {
|
|
3749
|
+
obj_cancelledBy_union0 = obj_cancelledBy_union0_error.message;
|
|
3750
|
+
}
|
|
3751
|
+
let obj_cancelledBy_union1 = null;
|
|
3752
|
+
const obj_cancelledBy_union1_error = (() => {
|
|
3753
|
+
if (obj_cancelledBy !== null) {
|
|
3754
|
+
return new TypeError('Expected "null" but received "' + typeof obj_cancelledBy + '" (at "' + path_cancelledBy + '")');
|
|
3755
|
+
}
|
|
3756
|
+
})();
|
|
3757
|
+
if (obj_cancelledBy_union1_error != null) {
|
|
3758
|
+
obj_cancelledBy_union1 = obj_cancelledBy_union1_error.message;
|
|
3759
|
+
}
|
|
3760
|
+
if (obj_cancelledBy_union0 && obj_cancelledBy_union1) {
|
|
3761
|
+
let message = 'Object doesn\'t match union (at "' + path_cancelledBy + '")';
|
|
3762
|
+
message += '\n' + obj_cancelledBy_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
3763
|
+
message += '\n' + obj_cancelledBy_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
3680
3764
|
return new TypeError(message);
|
|
3681
3765
|
}
|
|
3682
3766
|
const obj_cancelledDate = obj.cancelledDate;
|
|
3683
3767
|
const path_cancelledDate = path + '.cancelledDate';
|
|
3684
|
-
|
|
3685
|
-
|
|
3768
|
+
let obj_cancelledDate_union0 = null;
|
|
3769
|
+
const obj_cancelledDate_union0_error = (() => {
|
|
3770
|
+
if (typeof obj_cancelledDate !== 'string') {
|
|
3771
|
+
return new TypeError('Expected "string" but received "' + typeof obj_cancelledDate + '" (at "' + path_cancelledDate + '")');
|
|
3772
|
+
}
|
|
3773
|
+
})();
|
|
3774
|
+
if (obj_cancelledDate_union0_error != null) {
|
|
3775
|
+
obj_cancelledDate_union0 = obj_cancelledDate_union0_error.message;
|
|
3776
|
+
}
|
|
3777
|
+
let obj_cancelledDate_union1 = null;
|
|
3778
|
+
const obj_cancelledDate_union1_error = (() => {
|
|
3779
|
+
if (obj_cancelledDate !== null) {
|
|
3780
|
+
return new TypeError('Expected "null" but received "' + typeof obj_cancelledDate + '" (at "' + path_cancelledDate + '")');
|
|
3781
|
+
}
|
|
3782
|
+
})();
|
|
3783
|
+
if (obj_cancelledDate_union1_error != null) {
|
|
3784
|
+
obj_cancelledDate_union1 = obj_cancelledDate_union1_error.message;
|
|
3785
|
+
}
|
|
3786
|
+
if (obj_cancelledDate_union0 && obj_cancelledDate_union1) {
|
|
3787
|
+
let message = 'Object doesn\'t match union (at "' + path_cancelledDate + '")';
|
|
3788
|
+
message += '\n' + obj_cancelledDate_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
3789
|
+
message += '\n' + obj_cancelledDate_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
3790
|
+
return new TypeError(message);
|
|
3686
3791
|
}
|
|
3687
3792
|
const obj_completedBy = obj.completedBy;
|
|
3688
3793
|
const path_completedBy = path + '.completedBy';
|
|
3689
|
-
|
|
3690
|
-
|
|
3691
|
-
|
|
3692
|
-
|
|
3794
|
+
let obj_completedBy_union0 = null;
|
|
3795
|
+
const obj_completedBy_union0_error = (() => {
|
|
3796
|
+
const referencepath_completedByValidationError = validate$C(obj_completedBy, path_completedBy);
|
|
3797
|
+
if (referencepath_completedByValidationError !== null) {
|
|
3798
|
+
let message = 'Object doesn\'t match AnalyticsUserRepresentation (at "' + path_completedBy + '")\n';
|
|
3799
|
+
message += referencepath_completedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
3800
|
+
return new TypeError(message);
|
|
3801
|
+
}
|
|
3802
|
+
})();
|
|
3803
|
+
if (obj_completedBy_union0_error != null) {
|
|
3804
|
+
obj_completedBy_union0 = obj_completedBy_union0_error.message;
|
|
3805
|
+
}
|
|
3806
|
+
let obj_completedBy_union1 = null;
|
|
3807
|
+
const obj_completedBy_union1_error = (() => {
|
|
3808
|
+
if (obj_completedBy !== null) {
|
|
3809
|
+
return new TypeError('Expected "null" but received "' + typeof obj_completedBy + '" (at "' + path_completedBy + '")');
|
|
3810
|
+
}
|
|
3811
|
+
})();
|
|
3812
|
+
if (obj_completedBy_union1_error != null) {
|
|
3813
|
+
obj_completedBy_union1 = obj_completedBy_union1_error.message;
|
|
3814
|
+
}
|
|
3815
|
+
if (obj_completedBy_union0 && obj_completedBy_union1) {
|
|
3816
|
+
let message = 'Object doesn\'t match union (at "' + path_completedBy + '")';
|
|
3817
|
+
message += '\n' + obj_completedBy_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
3818
|
+
message += '\n' + obj_completedBy_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
3693
3819
|
return new TypeError(message);
|
|
3694
3820
|
}
|
|
3695
3821
|
const obj_completedDate = obj.completedDate;
|
|
3696
3822
|
const path_completedDate = path + '.completedDate';
|
|
3697
|
-
|
|
3698
|
-
|
|
3823
|
+
let obj_completedDate_union0 = null;
|
|
3824
|
+
const obj_completedDate_union0_error = (() => {
|
|
3825
|
+
if (typeof obj_completedDate !== 'string') {
|
|
3826
|
+
return new TypeError('Expected "string" but received "' + typeof obj_completedDate + '" (at "' + path_completedDate + '")');
|
|
3827
|
+
}
|
|
3828
|
+
})();
|
|
3829
|
+
if (obj_completedDate_union0_error != null) {
|
|
3830
|
+
obj_completedDate_union0 = obj_completedDate_union0_error.message;
|
|
3831
|
+
}
|
|
3832
|
+
let obj_completedDate_union1 = null;
|
|
3833
|
+
const obj_completedDate_union1_error = (() => {
|
|
3834
|
+
if (obj_completedDate !== null) {
|
|
3835
|
+
return new TypeError('Expected "null" but received "' + typeof obj_completedDate + '" (at "' + path_completedDate + '")');
|
|
3836
|
+
}
|
|
3837
|
+
})();
|
|
3838
|
+
if (obj_completedDate_union1_error != null) {
|
|
3839
|
+
obj_completedDate_union1 = obj_completedDate_union1_error.message;
|
|
3840
|
+
}
|
|
3841
|
+
if (obj_completedDate_union0 && obj_completedDate_union1) {
|
|
3842
|
+
let message = 'Object doesn\'t match union (at "' + path_completedDate + '")';
|
|
3843
|
+
message += '\n' + obj_completedDate_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
3844
|
+
message += '\n' + obj_completedDate_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
3845
|
+
return new TypeError(message);
|
|
3699
3846
|
}
|
|
3700
3847
|
const obj_failedDate = obj.failedDate;
|
|
3701
3848
|
const path_failedDate = path + '.failedDate';
|
|
3702
|
-
|
|
3703
|
-
|
|
3849
|
+
let obj_failedDate_union0 = null;
|
|
3850
|
+
const obj_failedDate_union0_error = (() => {
|
|
3851
|
+
if (typeof obj_failedDate !== 'string') {
|
|
3852
|
+
return new TypeError('Expected "string" but received "' + typeof obj_failedDate + '" (at "' + path_failedDate + '")');
|
|
3853
|
+
}
|
|
3854
|
+
})();
|
|
3855
|
+
if (obj_failedDate_union0_error != null) {
|
|
3856
|
+
obj_failedDate_union0 = obj_failedDate_union0_error.message;
|
|
3857
|
+
}
|
|
3858
|
+
let obj_failedDate_union1 = null;
|
|
3859
|
+
const obj_failedDate_union1_error = (() => {
|
|
3860
|
+
if (obj_failedDate !== null) {
|
|
3861
|
+
return new TypeError('Expected "null" but received "' + typeof obj_failedDate + '" (at "' + path_failedDate + '")');
|
|
3862
|
+
}
|
|
3863
|
+
})();
|
|
3864
|
+
if (obj_failedDate_union1_error != null) {
|
|
3865
|
+
obj_failedDate_union1 = obj_failedDate_union1_error.message;
|
|
3866
|
+
}
|
|
3867
|
+
if (obj_failedDate_union0 && obj_failedDate_union1) {
|
|
3868
|
+
let message = 'Object doesn\'t match union (at "' + path_failedDate + '")';
|
|
3869
|
+
message += '\n' + obj_failedDate_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
3870
|
+
message += '\n' + obj_failedDate_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
3871
|
+
return new TypeError(message);
|
|
3704
3872
|
}
|
|
3705
3873
|
const obj_id = obj.id;
|
|
3706
3874
|
const path_id = path + '.id';
|
|
@@ -3709,8 +3877,29 @@ function validate$B(obj, path = 'DataAssetRequestRepresentation') {
|
|
|
3709
3877
|
}
|
|
3710
3878
|
const obj_installedDate = obj.installedDate;
|
|
3711
3879
|
const path_installedDate = path + '.installedDate';
|
|
3712
|
-
|
|
3713
|
-
|
|
3880
|
+
let obj_installedDate_union0 = null;
|
|
3881
|
+
const obj_installedDate_union0_error = (() => {
|
|
3882
|
+
if (typeof obj_installedDate !== 'string') {
|
|
3883
|
+
return new TypeError('Expected "string" but received "' + typeof obj_installedDate + '" (at "' + path_installedDate + '")');
|
|
3884
|
+
}
|
|
3885
|
+
})();
|
|
3886
|
+
if (obj_installedDate_union0_error != null) {
|
|
3887
|
+
obj_installedDate_union0 = obj_installedDate_union0_error.message;
|
|
3888
|
+
}
|
|
3889
|
+
let obj_installedDate_union1 = null;
|
|
3890
|
+
const obj_installedDate_union1_error = (() => {
|
|
3891
|
+
if (obj_installedDate !== null) {
|
|
3892
|
+
return new TypeError('Expected "null" but received "' + typeof obj_installedDate + '" (at "' + path_installedDate + '")');
|
|
3893
|
+
}
|
|
3894
|
+
})();
|
|
3895
|
+
if (obj_installedDate_union1_error != null) {
|
|
3896
|
+
obj_installedDate_union1 = obj_installedDate_union1_error.message;
|
|
3897
|
+
}
|
|
3898
|
+
if (obj_installedDate_union0 && obj_installedDate_union1) {
|
|
3899
|
+
let message = 'Object doesn\'t match union (at "' + path_installedDate + '")';
|
|
3900
|
+
message += '\n' + obj_installedDate_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
3901
|
+
message += '\n' + obj_installedDate_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
3902
|
+
return new TypeError(message);
|
|
3714
3903
|
}
|
|
3715
3904
|
const obj_label = obj.label;
|
|
3716
3905
|
const path_label = path + '.label';
|
|
@@ -3719,38 +3908,185 @@ function validate$B(obj, path = 'DataAssetRequestRepresentation') {
|
|
|
3719
3908
|
}
|
|
3720
3909
|
const obj_migrationSucceededDate = obj.migrationSucceededDate;
|
|
3721
3910
|
const path_migrationSucceededDate = path + '.migrationSucceededDate';
|
|
3722
|
-
|
|
3723
|
-
|
|
3911
|
+
let obj_migrationSucceededDate_union0 = null;
|
|
3912
|
+
const obj_migrationSucceededDate_union0_error = (() => {
|
|
3913
|
+
if (typeof obj_migrationSucceededDate !== 'string') {
|
|
3914
|
+
return new TypeError('Expected "string" but received "' + typeof obj_migrationSucceededDate + '" (at "' + path_migrationSucceededDate + '")');
|
|
3915
|
+
}
|
|
3916
|
+
})();
|
|
3917
|
+
if (obj_migrationSucceededDate_union0_error != null) {
|
|
3918
|
+
obj_migrationSucceededDate_union0 = obj_migrationSucceededDate_union0_error.message;
|
|
3919
|
+
}
|
|
3920
|
+
let obj_migrationSucceededDate_union1 = null;
|
|
3921
|
+
const obj_migrationSucceededDate_union1_error = (() => {
|
|
3922
|
+
if (obj_migrationSucceededDate !== null) {
|
|
3923
|
+
return new TypeError('Expected "null" but received "' + typeof obj_migrationSucceededDate + '" (at "' + path_migrationSucceededDate + '")');
|
|
3924
|
+
}
|
|
3925
|
+
})();
|
|
3926
|
+
if (obj_migrationSucceededDate_union1_error != null) {
|
|
3927
|
+
obj_migrationSucceededDate_union1 = obj_migrationSucceededDate_union1_error.message;
|
|
3928
|
+
}
|
|
3929
|
+
if (obj_migrationSucceededDate_union0 && obj_migrationSucceededDate_union1) {
|
|
3930
|
+
let message = 'Object doesn\'t match union (at "' + path_migrationSucceededDate + '")';
|
|
3931
|
+
message += '\n' + obj_migrationSucceededDate_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
3932
|
+
message += '\n' + obj_migrationSucceededDate_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
3933
|
+
return new TypeError(message);
|
|
3724
3934
|
}
|
|
3725
3935
|
const obj_numberOfDependencies = obj.numberOfDependencies;
|
|
3726
3936
|
const path_numberOfDependencies = path + '.numberOfDependencies';
|
|
3727
|
-
|
|
3728
|
-
|
|
3937
|
+
let obj_numberOfDependencies_union0 = null;
|
|
3938
|
+
const obj_numberOfDependencies_union0_error = (() => {
|
|
3939
|
+
if (typeof obj_numberOfDependencies !== 'number' || (typeof obj_numberOfDependencies === 'number' && Math.floor(obj_numberOfDependencies) !== obj_numberOfDependencies)) {
|
|
3940
|
+
return new TypeError('Expected "integer" but received "' + typeof obj_numberOfDependencies + '" (at "' + path_numberOfDependencies + '")');
|
|
3941
|
+
}
|
|
3942
|
+
})();
|
|
3943
|
+
if (obj_numberOfDependencies_union0_error != null) {
|
|
3944
|
+
obj_numberOfDependencies_union0 = obj_numberOfDependencies_union0_error.message;
|
|
3945
|
+
}
|
|
3946
|
+
let obj_numberOfDependencies_union1 = null;
|
|
3947
|
+
const obj_numberOfDependencies_union1_error = (() => {
|
|
3948
|
+
if (obj_numberOfDependencies !== null) {
|
|
3949
|
+
return new TypeError('Expected "null" but received "' + typeof obj_numberOfDependencies + '" (at "' + path_numberOfDependencies + '")');
|
|
3950
|
+
}
|
|
3951
|
+
})();
|
|
3952
|
+
if (obj_numberOfDependencies_union1_error != null) {
|
|
3953
|
+
obj_numberOfDependencies_union1 = obj_numberOfDependencies_union1_error.message;
|
|
3954
|
+
}
|
|
3955
|
+
if (obj_numberOfDependencies_union0 && obj_numberOfDependencies_union1) {
|
|
3956
|
+
let message = 'Object doesn\'t match union (at "' + path_numberOfDependencies + '")';
|
|
3957
|
+
message += '\n' + obj_numberOfDependencies_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
3958
|
+
message += '\n' + obj_numberOfDependencies_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
3959
|
+
return new TypeError(message);
|
|
3729
3960
|
}
|
|
3730
3961
|
const obj_personalOrgId = obj.personalOrgId;
|
|
3731
3962
|
const path_personalOrgId = path + '.personalOrgId';
|
|
3732
|
-
|
|
3733
|
-
|
|
3963
|
+
let obj_personalOrgId_union0 = null;
|
|
3964
|
+
const obj_personalOrgId_union0_error = (() => {
|
|
3965
|
+
if (typeof obj_personalOrgId !== 'string') {
|
|
3966
|
+
return new TypeError('Expected "string" but received "' + typeof obj_personalOrgId + '" (at "' + path_personalOrgId + '")');
|
|
3967
|
+
}
|
|
3968
|
+
})();
|
|
3969
|
+
if (obj_personalOrgId_union0_error != null) {
|
|
3970
|
+
obj_personalOrgId_union0 = obj_personalOrgId_union0_error.message;
|
|
3971
|
+
}
|
|
3972
|
+
let obj_personalOrgId_union1 = null;
|
|
3973
|
+
const obj_personalOrgId_union1_error = (() => {
|
|
3974
|
+
if (obj_personalOrgId !== null) {
|
|
3975
|
+
return new TypeError('Expected "null" but received "' + typeof obj_personalOrgId + '" (at "' + path_personalOrgId + '")');
|
|
3976
|
+
}
|
|
3977
|
+
})();
|
|
3978
|
+
if (obj_personalOrgId_union1_error != null) {
|
|
3979
|
+
obj_personalOrgId_union1 = obj_personalOrgId_union1_error.message;
|
|
3980
|
+
}
|
|
3981
|
+
if (obj_personalOrgId_union0 && obj_personalOrgId_union1) {
|
|
3982
|
+
let message = 'Object doesn\'t match union (at "' + path_personalOrgId + '")';
|
|
3983
|
+
message += '\n' + obj_personalOrgId_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
3984
|
+
message += '\n' + obj_personalOrgId_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
3985
|
+
return new TypeError(message);
|
|
3734
3986
|
}
|
|
3735
3987
|
const obj_personalOrgWorkspaceId = obj.personalOrgWorkspaceId;
|
|
3736
3988
|
const path_personalOrgWorkspaceId = path + '.personalOrgWorkspaceId';
|
|
3737
|
-
|
|
3738
|
-
|
|
3989
|
+
let obj_personalOrgWorkspaceId_union0 = null;
|
|
3990
|
+
const obj_personalOrgWorkspaceId_union0_error = (() => {
|
|
3991
|
+
if (typeof obj_personalOrgWorkspaceId !== 'string') {
|
|
3992
|
+
return new TypeError('Expected "string" but received "' + typeof obj_personalOrgWorkspaceId + '" (at "' + path_personalOrgWorkspaceId + '")');
|
|
3993
|
+
}
|
|
3994
|
+
})();
|
|
3995
|
+
if (obj_personalOrgWorkspaceId_union0_error != null) {
|
|
3996
|
+
obj_personalOrgWorkspaceId_union0 = obj_personalOrgWorkspaceId_union0_error.message;
|
|
3997
|
+
}
|
|
3998
|
+
let obj_personalOrgWorkspaceId_union1 = null;
|
|
3999
|
+
const obj_personalOrgWorkspaceId_union1_error = (() => {
|
|
4000
|
+
if (obj_personalOrgWorkspaceId !== null) {
|
|
4001
|
+
return new TypeError('Expected "null" but received "' + typeof obj_personalOrgWorkspaceId + '" (at "' + path_personalOrgWorkspaceId + '")');
|
|
4002
|
+
}
|
|
4003
|
+
})();
|
|
4004
|
+
if (obj_personalOrgWorkspaceId_union1_error != null) {
|
|
4005
|
+
obj_personalOrgWorkspaceId_union1 = obj_personalOrgWorkspaceId_union1_error.message;
|
|
4006
|
+
}
|
|
4007
|
+
if (obj_personalOrgWorkspaceId_union0 && obj_personalOrgWorkspaceId_union1) {
|
|
4008
|
+
let message = 'Object doesn\'t match union (at "' + path_personalOrgWorkspaceId + '")';
|
|
4009
|
+
message += '\n' + obj_personalOrgWorkspaceId_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
4010
|
+
message += '\n' + obj_personalOrgWorkspaceId_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
4011
|
+
return new TypeError(message);
|
|
3739
4012
|
}
|
|
3740
4013
|
const obj_productionOrgId = obj.productionOrgId;
|
|
3741
4014
|
const path_productionOrgId = path + '.productionOrgId';
|
|
3742
|
-
|
|
3743
|
-
|
|
4015
|
+
let obj_productionOrgId_union0 = null;
|
|
4016
|
+
const obj_productionOrgId_union0_error = (() => {
|
|
4017
|
+
if (typeof obj_productionOrgId !== 'string') {
|
|
4018
|
+
return new TypeError('Expected "string" but received "' + typeof obj_productionOrgId + '" (at "' + path_productionOrgId + '")');
|
|
4019
|
+
}
|
|
4020
|
+
})();
|
|
4021
|
+
if (obj_productionOrgId_union0_error != null) {
|
|
4022
|
+
obj_productionOrgId_union0 = obj_productionOrgId_union0_error.message;
|
|
4023
|
+
}
|
|
4024
|
+
let obj_productionOrgId_union1 = null;
|
|
4025
|
+
const obj_productionOrgId_union1_error = (() => {
|
|
4026
|
+
if (obj_productionOrgId !== null) {
|
|
4027
|
+
return new TypeError('Expected "null" but received "' + typeof obj_productionOrgId + '" (at "' + path_productionOrgId + '")');
|
|
4028
|
+
}
|
|
4029
|
+
})();
|
|
4030
|
+
if (obj_productionOrgId_union1_error != null) {
|
|
4031
|
+
obj_productionOrgId_union1 = obj_productionOrgId_union1_error.message;
|
|
4032
|
+
}
|
|
4033
|
+
if (obj_productionOrgId_union0 && obj_productionOrgId_union1) {
|
|
4034
|
+
let message = 'Object doesn\'t match union (at "' + path_productionOrgId + '")';
|
|
4035
|
+
message += '\n' + obj_productionOrgId_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
4036
|
+
message += '\n' + obj_productionOrgId_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
4037
|
+
return new TypeError(message);
|
|
3744
4038
|
}
|
|
3745
4039
|
const obj_productionOrgWorkspaceId = obj.productionOrgWorkspaceId;
|
|
3746
4040
|
const path_productionOrgWorkspaceId = path + '.productionOrgWorkspaceId';
|
|
3747
|
-
|
|
3748
|
-
|
|
4041
|
+
let obj_productionOrgWorkspaceId_union0 = null;
|
|
4042
|
+
const obj_productionOrgWorkspaceId_union0_error = (() => {
|
|
4043
|
+
if (typeof obj_productionOrgWorkspaceId !== 'string') {
|
|
4044
|
+
return new TypeError('Expected "string" but received "' + typeof obj_productionOrgWorkspaceId + '" (at "' + path_productionOrgWorkspaceId + '")');
|
|
4045
|
+
}
|
|
4046
|
+
})();
|
|
4047
|
+
if (obj_productionOrgWorkspaceId_union0_error != null) {
|
|
4048
|
+
obj_productionOrgWorkspaceId_union0 = obj_productionOrgWorkspaceId_union0_error.message;
|
|
4049
|
+
}
|
|
4050
|
+
let obj_productionOrgWorkspaceId_union1 = null;
|
|
4051
|
+
const obj_productionOrgWorkspaceId_union1_error = (() => {
|
|
4052
|
+
if (obj_productionOrgWorkspaceId !== null) {
|
|
4053
|
+
return new TypeError('Expected "null" but received "' + typeof obj_productionOrgWorkspaceId + '" (at "' + path_productionOrgWorkspaceId + '")');
|
|
4054
|
+
}
|
|
4055
|
+
})();
|
|
4056
|
+
if (obj_productionOrgWorkspaceId_union1_error != null) {
|
|
4057
|
+
obj_productionOrgWorkspaceId_union1 = obj_productionOrgWorkspaceId_union1_error.message;
|
|
4058
|
+
}
|
|
4059
|
+
if (obj_productionOrgWorkspaceId_union0 && obj_productionOrgWorkspaceId_union1) {
|
|
4060
|
+
let message = 'Object doesn\'t match union (at "' + path_productionOrgWorkspaceId + '")';
|
|
4061
|
+
message += '\n' + obj_productionOrgWorkspaceId_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
4062
|
+
message += '\n' + obj_productionOrgWorkspaceId_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
4063
|
+
return new TypeError(message);
|
|
3749
4064
|
}
|
|
3750
4065
|
const obj_rejectionComment = obj.rejectionComment;
|
|
3751
4066
|
const path_rejectionComment = path + '.rejectionComment';
|
|
3752
|
-
|
|
3753
|
-
|
|
4067
|
+
let obj_rejectionComment_union0 = null;
|
|
4068
|
+
const obj_rejectionComment_union0_error = (() => {
|
|
4069
|
+
if (typeof obj_rejectionComment !== 'string') {
|
|
4070
|
+
return new TypeError('Expected "string" but received "' + typeof obj_rejectionComment + '" (at "' + path_rejectionComment + '")');
|
|
4071
|
+
}
|
|
4072
|
+
})();
|
|
4073
|
+
if (obj_rejectionComment_union0_error != null) {
|
|
4074
|
+
obj_rejectionComment_union0 = obj_rejectionComment_union0_error.message;
|
|
4075
|
+
}
|
|
4076
|
+
let obj_rejectionComment_union1 = null;
|
|
4077
|
+
const obj_rejectionComment_union1_error = (() => {
|
|
4078
|
+
if (obj_rejectionComment !== null) {
|
|
4079
|
+
return new TypeError('Expected "null" but received "' + typeof obj_rejectionComment + '" (at "' + path_rejectionComment + '")');
|
|
4080
|
+
}
|
|
4081
|
+
})();
|
|
4082
|
+
if (obj_rejectionComment_union1_error != null) {
|
|
4083
|
+
obj_rejectionComment_union1 = obj_rejectionComment_union1_error.message;
|
|
4084
|
+
}
|
|
4085
|
+
if (obj_rejectionComment_union0 && obj_rejectionComment_union1) {
|
|
4086
|
+
let message = 'Object doesn\'t match union (at "' + path_rejectionComment + '")';
|
|
4087
|
+
message += '\n' + obj_rejectionComment_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
4088
|
+
message += '\n' + obj_rejectionComment_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
4089
|
+
return new TypeError(message);
|
|
3754
4090
|
}
|
|
3755
4091
|
const obj_requestType = obj.requestType;
|
|
3756
4092
|
const path_requestType = path + '.requestType';
|
|
@@ -3777,8 +4113,29 @@ function validate$B(obj, path = 'DataAssetRequestRepresentation') {
|
|
|
3777
4113
|
}
|
|
3778
4114
|
const obj_sourceRequestId = obj.sourceRequestId;
|
|
3779
4115
|
const path_sourceRequestId = path + '.sourceRequestId';
|
|
3780
|
-
|
|
3781
|
-
|
|
4116
|
+
let obj_sourceRequestId_union0 = null;
|
|
4117
|
+
const obj_sourceRequestId_union0_error = (() => {
|
|
4118
|
+
if (typeof obj_sourceRequestId !== 'string') {
|
|
4119
|
+
return new TypeError('Expected "string" but received "' + typeof obj_sourceRequestId + '" (at "' + path_sourceRequestId + '")');
|
|
4120
|
+
}
|
|
4121
|
+
})();
|
|
4122
|
+
if (obj_sourceRequestId_union0_error != null) {
|
|
4123
|
+
obj_sourceRequestId_union0 = obj_sourceRequestId_union0_error.message;
|
|
4124
|
+
}
|
|
4125
|
+
let obj_sourceRequestId_union1 = null;
|
|
4126
|
+
const obj_sourceRequestId_union1_error = (() => {
|
|
4127
|
+
if (obj_sourceRequestId !== null) {
|
|
4128
|
+
return new TypeError('Expected "null" but received "' + typeof obj_sourceRequestId + '" (at "' + path_sourceRequestId + '")');
|
|
4129
|
+
}
|
|
4130
|
+
})();
|
|
4131
|
+
if (obj_sourceRequestId_union1_error != null) {
|
|
4132
|
+
obj_sourceRequestId_union1 = obj_sourceRequestId_union1_error.message;
|
|
4133
|
+
}
|
|
4134
|
+
if (obj_sourceRequestId_union0 && obj_sourceRequestId_union1) {
|
|
4135
|
+
let message = 'Object doesn\'t match union (at "' + path_sourceRequestId + '")';
|
|
4136
|
+
message += '\n' + obj_sourceRequestId_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
4137
|
+
message += '\n' + obj_sourceRequestId_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
4138
|
+
return new TypeError(message);
|
|
3782
4139
|
}
|
|
3783
4140
|
const obj_status = obj.status;
|
|
3784
4141
|
const path_status = path + '.status';
|
|
@@ -3787,8 +4144,29 @@ function validate$B(obj, path = 'DataAssetRequestRepresentation') {
|
|
|
3787
4144
|
}
|
|
3788
4145
|
const obj_targetRequestId = obj.targetRequestId;
|
|
3789
4146
|
const path_targetRequestId = path + '.targetRequestId';
|
|
3790
|
-
|
|
3791
|
-
|
|
4147
|
+
let obj_targetRequestId_union0 = null;
|
|
4148
|
+
const obj_targetRequestId_union0_error = (() => {
|
|
4149
|
+
if (typeof obj_targetRequestId !== 'string') {
|
|
4150
|
+
return new TypeError('Expected "string" but received "' + typeof obj_targetRequestId + '" (at "' + path_targetRequestId + '")');
|
|
4151
|
+
}
|
|
4152
|
+
})();
|
|
4153
|
+
if (obj_targetRequestId_union0_error != null) {
|
|
4154
|
+
obj_targetRequestId_union0 = obj_targetRequestId_union0_error.message;
|
|
4155
|
+
}
|
|
4156
|
+
let obj_targetRequestId_union1 = null;
|
|
4157
|
+
const obj_targetRequestId_union1_error = (() => {
|
|
4158
|
+
if (obj_targetRequestId !== null) {
|
|
4159
|
+
return new TypeError('Expected "null" but received "' + typeof obj_targetRequestId + '" (at "' + path_targetRequestId + '")');
|
|
4160
|
+
}
|
|
4161
|
+
})();
|
|
4162
|
+
if (obj_targetRequestId_union1_error != null) {
|
|
4163
|
+
obj_targetRequestId_union1 = obj_targetRequestId_union1_error.message;
|
|
4164
|
+
}
|
|
4165
|
+
if (obj_targetRequestId_union0 && obj_targetRequestId_union1) {
|
|
4166
|
+
let message = 'Object doesn\'t match union (at "' + path_targetRequestId + '")';
|
|
4167
|
+
message += '\n' + obj_targetRequestId_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
4168
|
+
message += '\n' + obj_targetRequestId_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
4169
|
+
return new TypeError(message);
|
|
3792
4170
|
}
|
|
3793
4171
|
const obj_workspaceAssetId = obj.workspaceAssetId;
|
|
3794
4172
|
const path_workspaceAssetId = path + '.workspaceAssetId';
|
|
@@ -4099,16 +4477,16 @@ function createResourceRequest$E(config) {
|
|
|
4099
4477
|
|
|
4100
4478
|
const adapterName$E = 'createDataAssetRequest';
|
|
4101
4479
|
const createDataAssetRequest_ConfigPropertyMetadata = [
|
|
4102
|
-
generateParamConfigMetadata('assetId',
|
|
4103
|
-
generateParamConfigMetadata('id',
|
|
4104
|
-
generateParamConfigMetadata('label',
|
|
4105
|
-
generateParamConfigMetadata('numberOfDependencies',
|
|
4106
|
-
generateParamConfigMetadata('rejectionComment',
|
|
4107
|
-
generateParamConfigMetadata('requestType',
|
|
4108
|
-
generateParamConfigMetadata('requesterComment',
|
|
4109
|
-
generateParamConfigMetadata('sourceRequestId',
|
|
4110
|
-
generateParamConfigMetadata('status',
|
|
4111
|
-
generateParamConfigMetadata('workspaceIdOrApiName',
|
|
4480
|
+
generateParamConfigMetadata('assetId', false, 2 /* Body */, 0 /* String */),
|
|
4481
|
+
generateParamConfigMetadata('id', false, 2 /* Body */, 0 /* String */),
|
|
4482
|
+
generateParamConfigMetadata('label', false, 2 /* Body */, 0 /* String */),
|
|
4483
|
+
generateParamConfigMetadata('numberOfDependencies', false, 2 /* Body */, 3 /* Integer */),
|
|
4484
|
+
generateParamConfigMetadata('rejectionComment', false, 2 /* Body */, 0 /* String */),
|
|
4485
|
+
generateParamConfigMetadata('requestType', false, 2 /* Body */, 0 /* String */),
|
|
4486
|
+
generateParamConfigMetadata('requesterComment', false, 2 /* Body */, 0 /* String */),
|
|
4487
|
+
generateParamConfigMetadata('sourceRequestId', false, 2 /* Body */, 0 /* String */),
|
|
4488
|
+
generateParamConfigMetadata('status', false, 2 /* Body */, 0 /* String */),
|
|
4489
|
+
generateParamConfigMetadata('workspaceIdOrApiName', false, 2 /* Body */, 0 /* String */),
|
|
4112
4490
|
];
|
|
4113
4491
|
const createDataAssetRequest_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$E, createDataAssetRequest_ConfigPropertyMetadata);
|
|
4114
4492
|
const createResourceParams$E = /*#__PURE__*/ createResourceParams$Q(createDataAssetRequest_ConfigPropertyMetadata);
|
|
@@ -4538,16 +4916,16 @@ function createResourceRequest$B(config) {
|
|
|
4538
4916
|
const adapterName$B = 'updateDataAssetRequest';
|
|
4539
4917
|
const updateDataAssetRequest_ConfigPropertyMetadata = [
|
|
4540
4918
|
generateParamConfigMetadata('requestIdOrApiName', true, 0 /* UrlParameter */, 0 /* String */),
|
|
4541
|
-
generateParamConfigMetadata('assetId',
|
|
4542
|
-
generateParamConfigMetadata('id',
|
|
4543
|
-
generateParamConfigMetadata('label',
|
|
4544
|
-
generateParamConfigMetadata('numberOfDependencies',
|
|
4545
|
-
generateParamConfigMetadata('rejectionComment',
|
|
4546
|
-
generateParamConfigMetadata('requestType',
|
|
4547
|
-
generateParamConfigMetadata('requesterComment',
|
|
4548
|
-
generateParamConfigMetadata('sourceRequestId',
|
|
4549
|
-
generateParamConfigMetadata('status',
|
|
4550
|
-
generateParamConfigMetadata('workspaceIdOrApiName',
|
|
4919
|
+
generateParamConfigMetadata('assetId', false, 2 /* Body */, 0 /* String */),
|
|
4920
|
+
generateParamConfigMetadata('id', false, 2 /* Body */, 0 /* String */),
|
|
4921
|
+
generateParamConfigMetadata('label', false, 2 /* Body */, 0 /* String */),
|
|
4922
|
+
generateParamConfigMetadata('numberOfDependencies', false, 2 /* Body */, 3 /* Integer */),
|
|
4923
|
+
generateParamConfigMetadata('rejectionComment', false, 2 /* Body */, 0 /* String */),
|
|
4924
|
+
generateParamConfigMetadata('requestType', false, 2 /* Body */, 0 /* String */),
|
|
4925
|
+
generateParamConfigMetadata('requesterComment', false, 2 /* Body */, 0 /* String */),
|
|
4926
|
+
generateParamConfigMetadata('sourceRequestId', false, 2 /* Body */, 0 /* String */),
|
|
4927
|
+
generateParamConfigMetadata('status', false, 2 /* Body */, 0 /* String */),
|
|
4928
|
+
generateParamConfigMetadata('workspaceIdOrApiName', false, 2 /* Body */, 0 /* String */),
|
|
4551
4929
|
];
|
|
4552
4930
|
const updateDataAssetRequest_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$B, updateDataAssetRequest_ConfigPropertyMetadata);
|
|
4553
4931
|
const createResourceParams$B = /*#__PURE__*/ createResourceParams$Q(updateDataAssetRequest_ConfigPropertyMetadata);
|
|
@@ -5965,16 +6343,16 @@ function validate$p(obj, path = 'OrgRepresentation') {
|
|
|
5965
6343
|
if (typeof obj_id !== 'string') {
|
|
5966
6344
|
return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
|
|
5967
6345
|
}
|
|
6346
|
+
const obj_isCurrentOrg = obj.isCurrentOrg;
|
|
6347
|
+
const path_isCurrentOrg = path + '.isCurrentOrg';
|
|
6348
|
+
if (typeof obj_isCurrentOrg !== 'boolean') {
|
|
6349
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_isCurrentOrg + '" (at "' + path_isCurrentOrg + '")');
|
|
6350
|
+
}
|
|
5968
6351
|
const obj_label = obj.label;
|
|
5969
6352
|
const path_label = path + '.label';
|
|
5970
6353
|
if (typeof obj_label !== 'string') {
|
|
5971
6354
|
return new TypeError('Expected "string" but received "' + typeof obj_label + '" (at "' + path_label + '")');
|
|
5972
6355
|
}
|
|
5973
|
-
const obj_orgUrl = obj.orgUrl;
|
|
5974
|
-
const path_orgUrl = path + '.orgUrl';
|
|
5975
|
-
if (typeof obj_orgUrl !== 'string') {
|
|
5976
|
-
return new TypeError('Expected "string" but received "' + typeof obj_orgUrl + '" (at "' + path_orgUrl + '")');
|
|
5977
|
-
}
|
|
5978
6356
|
const obj_targetUrl = obj.targetUrl;
|
|
5979
6357
|
const path_targetUrl = path + '.targetUrl';
|
|
5980
6358
|
if (typeof obj_targetUrl !== 'string') {
|
|
@@ -5985,35 +6363,35 @@ function validate$p(obj, path = 'OrgRepresentation') {
|
|
|
5985
6363
|
}
|
|
5986
6364
|
|
|
5987
6365
|
const TTL$8 = 500;
|
|
5988
|
-
const VERSION$i = "
|
|
6366
|
+
const VERSION$i = "dba0af366d4e42611a2437d6eeb19b6e";
|
|
5989
6367
|
function validate$o(obj, path = 'OrgCollectionRepresentation') {
|
|
5990
6368
|
const v_error = (() => {
|
|
5991
6369
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5992
6370
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
5993
6371
|
}
|
|
5994
|
-
const
|
|
5995
|
-
const
|
|
5996
|
-
|
|
5997
|
-
|
|
5998
|
-
|
|
5999
|
-
|
|
6000
|
-
|
|
6001
|
-
|
|
6002
|
-
|
|
6003
|
-
|
|
6004
|
-
|
|
6005
|
-
|
|
6006
|
-
}
|
|
6007
|
-
for (let i = 0; i < obj_orgs.length; i++) {
|
|
6008
|
-
const obj_orgs_item = obj_orgs[i];
|
|
6009
|
-
const path_orgs_item = path_orgs + '[' + i + ']';
|
|
6010
|
-
const referencepath_orgs_itemValidationError = validate$p(obj_orgs_item, path_orgs_item);
|
|
6011
|
-
if (referencepath_orgs_itemValidationError !== null) {
|
|
6012
|
-
let message = 'Object doesn\'t match OrgRepresentation (at "' + path_orgs_item + '")\n';
|
|
6013
|
-
message += referencepath_orgs_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
6372
|
+
const obj_personalOrgs = obj.personalOrgs;
|
|
6373
|
+
const path_personalOrgs = path + '.personalOrgs';
|
|
6374
|
+
if (!ArrayIsArray(obj_personalOrgs)) {
|
|
6375
|
+
return new TypeError('Expected "array" but received "' + typeof obj_personalOrgs + '" (at "' + path_personalOrgs + '")');
|
|
6376
|
+
}
|
|
6377
|
+
for (let i = 0; i < obj_personalOrgs.length; i++) {
|
|
6378
|
+
const obj_personalOrgs_item = obj_personalOrgs[i];
|
|
6379
|
+
const path_personalOrgs_item = path_personalOrgs + '[' + i + ']';
|
|
6380
|
+
const referencepath_personalOrgs_itemValidationError = validate$p(obj_personalOrgs_item, path_personalOrgs_item);
|
|
6381
|
+
if (referencepath_personalOrgs_itemValidationError !== null) {
|
|
6382
|
+
let message = 'Object doesn\'t match OrgRepresentation (at "' + path_personalOrgs_item + '")\n';
|
|
6383
|
+
message += referencepath_personalOrgs_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
6014
6384
|
return new TypeError(message);
|
|
6015
6385
|
}
|
|
6016
6386
|
}
|
|
6387
|
+
const obj_productionOrg = obj.productionOrg;
|
|
6388
|
+
const path_productionOrg = path + '.productionOrg';
|
|
6389
|
+
const referencepath_productionOrgValidationError = validate$p(obj_productionOrg, path_productionOrg);
|
|
6390
|
+
if (referencepath_productionOrgValidationError !== null) {
|
|
6391
|
+
let message = 'Object doesn\'t match OrgRepresentation (at "' + path_productionOrg + '")\n';
|
|
6392
|
+
message += referencepath_productionOrgValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
6393
|
+
return new TypeError(message);
|
|
6394
|
+
}
|
|
6017
6395
|
})();
|
|
6018
6396
|
return v_error === undefined ? null : v_error;
|
|
6019
6397
|
}
|
|
@@ -6061,14 +6439,14 @@ function select$G(luvio, params) {
|
|
|
6061
6439
|
return select$H();
|
|
6062
6440
|
}
|
|
6063
6441
|
function keyBuilder$G(luvio, params) {
|
|
6064
|
-
return keyPrefix + '::OrgCollectionRepresentation:(' + '
|
|
6442
|
+
return keyPrefix + '::OrgCollectionRepresentation:(' + ')';
|
|
6065
6443
|
}
|
|
6066
6444
|
function getResponseCacheKeys$t(storeKeyMap, luvio, resourceParams, response) {
|
|
6067
|
-
getTypeCacheKeys$i(storeKeyMap, luvio, response, () => keyBuilder$G(
|
|
6445
|
+
getTypeCacheKeys$i(storeKeyMap, luvio, response, () => keyBuilder$G());
|
|
6068
6446
|
}
|
|
6069
6447
|
function ingestSuccess$o(luvio, resourceParams, response, snapshotRefresh) {
|
|
6070
6448
|
const { body } = response;
|
|
6071
|
-
const key = keyBuilder$G(
|
|
6449
|
+
const key = keyBuilder$G();
|
|
6072
6450
|
luvio.storeIngest(key, ingest$i, body);
|
|
6073
6451
|
const snapshot = luvio.storeLookup({
|
|
6074
6452
|
recordId: key,
|
|
@@ -6084,7 +6462,7 @@ function ingestSuccess$o(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
6084
6462
|
return snapshot;
|
|
6085
6463
|
}
|
|
6086
6464
|
function ingestError$c(luvio, params, error, snapshotRefresh) {
|
|
6087
|
-
const key = keyBuilder$G(
|
|
6465
|
+
const key = keyBuilder$G();
|
|
6088
6466
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
6089
6467
|
const storeMetadataParams = {
|
|
6090
6468
|
ttl: TTL$8,
|
|
@@ -6099,10 +6477,10 @@ function createResourceRequest$t(config) {
|
|
|
6099
6477
|
const headers = {};
|
|
6100
6478
|
return {
|
|
6101
6479
|
baseUri: '/services/data/v63.0',
|
|
6102
|
-
basePath: '/tableau/orgs
|
|
6480
|
+
basePath: '/tableau/orgs',
|
|
6103
6481
|
method: 'get',
|
|
6104
6482
|
body: null,
|
|
6105
|
-
urlParams:
|
|
6483
|
+
urlParams: {},
|
|
6106
6484
|
queryParams: {},
|
|
6107
6485
|
headers,
|
|
6108
6486
|
priority: 'normal',
|
|
@@ -6110,18 +6488,15 @@ function createResourceRequest$t(config) {
|
|
|
6110
6488
|
}
|
|
6111
6489
|
|
|
6112
6490
|
const adapterName$t = 'getOrg';
|
|
6113
|
-
const getOrg_ConfigPropertyMetadata = [
|
|
6114
|
-
generateParamConfigMetadata('userName', true, 0 /* UrlParameter */, 0 /* String */),
|
|
6115
|
-
];
|
|
6491
|
+
const getOrg_ConfigPropertyMetadata = [];
|
|
6116
6492
|
const getOrg_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$t, getOrg_ConfigPropertyMetadata);
|
|
6117
6493
|
const createResourceParams$t = /*#__PURE__*/ createResourceParams$Q(getOrg_ConfigPropertyMetadata);
|
|
6118
6494
|
function keyBuilder$F(luvio, config) {
|
|
6119
|
-
|
|
6120
|
-
return keyBuilder$G(
|
|
6495
|
+
createResourceParams$t(config);
|
|
6496
|
+
return keyBuilder$G();
|
|
6121
6497
|
}
|
|
6122
6498
|
function typeCheckConfig$t(untrustedConfig) {
|
|
6123
6499
|
const config = {};
|
|
6124
|
-
typeCheckConfig$Q(untrustedConfig, config, getOrg_ConfigPropertyMetadata);
|
|
6125
6500
|
return config;
|
|
6126
6501
|
}
|
|
6127
6502
|
function validateAdapterConfig$t(untrustedConfig, configPropertyNames) {
|
|
@@ -6131,7 +6506,7 @@ function validateAdapterConfig$t(untrustedConfig, configPropertyNames) {
|
|
|
6131
6506
|
if (process.env.NODE_ENV !== 'production') {
|
|
6132
6507
|
validateConfig(untrustedConfig, configPropertyNames);
|
|
6133
6508
|
}
|
|
6134
|
-
const config = typeCheckConfig$t(
|
|
6509
|
+
const config = typeCheckConfig$t();
|
|
6135
6510
|
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
6136
6511
|
return null;
|
|
6137
6512
|
}
|
|
@@ -6157,7 +6532,7 @@ function onFetchResponseError$c(luvio, config, resourceParams, response) {
|
|
|
6157
6532
|
}
|
|
6158
6533
|
function buildNetworkSnapshot$t(luvio, config, options) {
|
|
6159
6534
|
const resourceParams = createResourceParams$t(config);
|
|
6160
|
-
const request = createResourceRequest$t(
|
|
6535
|
+
const request = createResourceRequest$t();
|
|
6161
6536
|
return luvio.dispatchResourceRequest(request, options)
|
|
6162
6537
|
.then((response) => {
|
|
6163
6538
|
return luvio.handleSuccessResponse(() => onFetchResponseSuccess$c(luvio, config, resourceParams, response), () => {
|