@brightinteractive/platform-api 0.1.1 → 0.1.2
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/api/accountSecurity.service.d.ts +6 -0
- package/api/accounts.service.d.ts +9 -0
- package/api/assetComments.service.d.ts +12 -0
- package/api/assetDeduplication.service.d.ts +3 -0
- package/api/assetDownloadEvents.service.d.ts +3 -0
- package/api/assetEmbeddableLinks.service.d.ts +15 -0
- package/api/assetMetadataExport.service.d.ts +12 -0
- package/api/assetSavedCropAreaSummaries.service.d.ts +6 -0
- package/api/assetSavedCropAreas.service.d.ts +12 -0
- package/api/assetShareAccessTokens.service.d.ts +3 -0
- package/api/assetShareEmails.service.d.ts +3 -0
- package/api/assetShares.service.d.ts +15 -0
- package/api/assets.service.d.ts +63 -0
- package/api/autoTaggingImageSettings.service.d.ts +6 -0
- package/api/cloudConnections.service.d.ts +15 -0
- package/api/cloudImportJobs.service.d.ts +15 -0
- package/api/cloudObjects.service.d.ts +6 -0
- package/api/collectionShareAccessTokens.service.d.ts +3 -0
- package/api/collectionShares.service.d.ts +18 -0
- package/api/collections.service.d.ts +9 -0
- package/api/corebook.service.d.ts +6 -0
- package/api/custom.service.d.ts +12 -0
- package/api/externalApp.service.d.ts +9 -0
- package/api/fieldOptionImages.service.d.ts +9 -0
- package/api/fieldOptions.service.d.ts +15 -0
- package/api/fieldViews.service.d.ts +3 -0
- package/api/fields.service.d.ts +9 -0
- package/api/folderSettings.service.d.ts +3 -0
- package/api/groups.service.d.ts +3 -0
- package/api/guestUploadAccessTokens.service.d.ts +3 -0
- package/api/guestUploadEmails.service.d.ts +3 -0
- package/api/guestUploads.service.d.ts +15 -0
- package/api/onboardingChecklist.service.d.ts +6 -0
- package/api/ping.service.d.ts +3 -0
- package/api/portalAccessTokens.service.d.ts +3 -0
- package/api/portalEmails.service.d.ts +3 -0
- package/api/portals.service.d.ts +15 -0
- package/api/presetTransformations.service.d.ts +9 -0
- package/api/publiclyAvailableGuestUploadData.service.d.ts +3 -0
- package/api/publiclyAvailablePortalDatas.service.d.ts +3 -0
- package/api/savedSearch.service.d.ts +3 -0
- package/api/savedSearches.service.d.ts +12 -0
- package/api/searchFilters.service.d.ts +6 -0
- package/api/shopify.service.d.ts +12 -0
- package/api/staffMembers.service.d.ts +9 -0
- package/api/subdomains.service.d.ts +3 -0
- package/api/subscription.service.d.ts +21 -0
- package/api/textInImageSettings.service.d.ts +6 -0
- package/api/theme.service.d.ts +24 -0
- package/api/userPreferences.service.d.ts +6 -0
- package/api/userReferrer.service.d.ts +3 -0
- package/api/users.service.d.ts +45 -0
- package/api/wordPress.service.d.ts +12 -0
- package/esm2022/api/accountSecurity.service.mjs +14 -3
- package/esm2022/api/accounts.service.mjs +19 -3
- package/esm2022/api/assetComments.service.mjs +24 -3
- package/esm2022/api/assetDeduplication.service.mjs +9 -3
- package/esm2022/api/assetDownloadEvents.service.mjs +9 -3
- package/esm2022/api/assetEmbeddableLinks.service.mjs +29 -3
- package/esm2022/api/assetMetadataExport.service.mjs +24 -3
- package/esm2022/api/assetSavedCropAreaSummaries.service.mjs +14 -3
- package/esm2022/api/assetSavedCropAreas.service.mjs +24 -3
- package/esm2022/api/assetShareAccessTokens.service.mjs +9 -3
- package/esm2022/api/assetShareEmails.service.mjs +9 -3
- package/esm2022/api/assetShares.service.mjs +29 -3
- package/esm2022/api/assets.service.mjs +109 -3
- package/esm2022/api/autoTaggingImageSettings.service.mjs +14 -3
- package/esm2022/api/cloudConnections.service.mjs +29 -3
- package/esm2022/api/cloudImportJobs.service.mjs +29 -3
- package/esm2022/api/cloudObjects.service.mjs +14 -3
- package/esm2022/api/collectionShareAccessTokens.service.mjs +9 -3
- package/esm2022/api/collectionShares.service.mjs +34 -3
- package/esm2022/api/collections.service.mjs +19 -3
- package/esm2022/api/corebook.service.mjs +14 -3
- package/esm2022/api/custom.service.mjs +24 -3
- package/esm2022/api/externalApp.service.mjs +19 -3
- package/esm2022/api/fieldOptionImages.service.mjs +19 -3
- package/esm2022/api/fieldOptions.service.mjs +29 -3
- package/esm2022/api/fieldViews.service.mjs +9 -3
- package/esm2022/api/fields.service.mjs +19 -3
- package/esm2022/api/folderSettings.service.mjs +9 -3
- package/esm2022/api/groups.service.mjs +9 -3
- package/esm2022/api/guestUploadAccessTokens.service.mjs +9 -3
- package/esm2022/api/guestUploadEmails.service.mjs +9 -3
- package/esm2022/api/guestUploads.service.mjs +29 -3
- package/esm2022/api/onboardingChecklist.service.mjs +14 -3
- package/esm2022/api/ping.service.mjs +9 -3
- package/esm2022/api/portalAccessTokens.service.mjs +9 -3
- package/esm2022/api/portalEmails.service.mjs +9 -3
- package/esm2022/api/portals.service.mjs +29 -3
- package/esm2022/api/presetTransformations.service.mjs +19 -3
- package/esm2022/api/publiclyAvailableGuestUploadData.service.mjs +9 -3
- package/esm2022/api/publiclyAvailablePortalDatas.service.mjs +9 -3
- package/esm2022/api/savedSearch.service.mjs +9 -3
- package/esm2022/api/savedSearches.service.mjs +24 -3
- package/esm2022/api/searchFilters.service.mjs +14 -3
- package/esm2022/api/shopify.service.mjs +24 -3
- package/esm2022/api/staffMembers.service.mjs +19 -3
- package/esm2022/api/subdomains.service.mjs +9 -3
- package/esm2022/api/subscription.service.mjs +39 -3
- package/esm2022/api/textInImageSettings.service.mjs +14 -3
- package/esm2022/api/theme.service.mjs +44 -3
- package/esm2022/api/userPreferences.service.mjs +14 -3
- package/esm2022/api/userReferrer.service.mjs +9 -3
- package/esm2022/api/users.service.mjs +79 -3
- package/esm2022/api/wordPress.service.mjs +24 -3
- package/esm2022/model/account.mjs +1 -1
- package/esm2022/model/accountRequest.mjs +1 -1
- package/esm2022/model/assetFile.mjs +1 -1
- package/esm2022/model/cloudObjectPagedSearch.mjs +1 -1
- package/esm2022/model/fieldOption.mjs +1 -1
- package/esm2022/model/models.mjs +1 -9
- package/esm2022/model/portalPatchRequest.mjs +1 -1
- package/esm2022/model/userPreferences.mjs +1 -1
- package/esm2022/model/userPreferencesPatchRequest.mjs +1 -1
- package/fesm2022/brightinteractive-platform-api.mjs +1044 -154
- package/fesm2022/brightinteractive-platform-api.mjs.map +1 -1
- package/model/account.d.ts +2 -2
- package/model/accountRequest.d.ts +2 -2
- package/model/assetFile.d.ts +16 -4
- package/model/cloudObjectPagedSearch.d.ts +2 -2
- package/model/fieldOption.d.ts +5 -2
- package/model/models.d.ts +0 -8
- package/model/portalPatchRequest.d.ts +2 -2
- package/model/userPreferences.d.ts +2 -2
- package/model/userPreferencesPatchRequest.d.ts +2 -2
- package/package.json +1 -1
- package/esm2022/model/accountRequestAttribution.mjs +0 -13
- package/esm2022/model/assetFileDimensions.mjs +0 -13
- package/esm2022/model/assetFileGpsLocation.mjs +0 -13
- package/esm2022/model/cloudObjectPagedSearchNextPage.mjs +0 -2
- package/esm2022/model/fieldOptionParent.mjs +0 -2
- package/esm2022/model/portalPatchRequestWelcomeMessage.mjs +0 -13
- package/esm2022/model/userPreferencesDefaultSort.mjs +0 -2
- package/esm2022/model/userPreferencesPatchRequestDefaultSort.mjs +0 -2
- package/model/accountRequestAttribution.d.ts +0 -15
- package/model/assetFileDimensions.d.ts +0 -24
- package/model/assetFileGpsLocation.d.ts +0 -24
- package/model/cloudObjectPagedSearchNextPage.d.ts +0 -27
- package/model/fieldOptionParent.d.ts +0 -23
- package/model/portalPatchRequestWelcomeMessage.d.ts +0 -21
- package/model/userPreferencesDefaultSort.d.ts +0 -19
- package/model/userPreferencesPatchRequestDefaultSort.d.ts +0 -15
|
@@ -162,8 +162,9 @@ class AccountSecurityService {
|
|
|
162
162
|
this.configuration = configuration;
|
|
163
163
|
}
|
|
164
164
|
if (typeof this.configuration.basePath !== 'string') {
|
|
165
|
-
|
|
166
|
-
|
|
165
|
+
const firstBasePath = Array.isArray(basePath) ? basePath[0] : undefined;
|
|
166
|
+
if (firstBasePath != undefined) {
|
|
167
|
+
basePath = firstBasePath;
|
|
167
168
|
}
|
|
168
169
|
if (typeof basePath !== 'string') {
|
|
169
170
|
basePath = this.basePath;
|
|
@@ -233,6 +234,10 @@ class AccountSecurityService {
|
|
|
233
234
|
if (localVarHttpContext === undefined) {
|
|
234
235
|
localVarHttpContext = new HttpContext();
|
|
235
236
|
}
|
|
237
|
+
let localVarTransferCache = options && options.transferCache;
|
|
238
|
+
if (localVarTransferCache === undefined) {
|
|
239
|
+
localVarTransferCache = true;
|
|
240
|
+
}
|
|
236
241
|
let responseType_ = 'json';
|
|
237
242
|
if (localVarHttpHeaderAcceptSelected) {
|
|
238
243
|
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
@@ -252,6 +257,7 @@ class AccountSecurityService {
|
|
|
252
257
|
withCredentials: this.configuration.withCredentials,
|
|
253
258
|
headers: localVarHeaders,
|
|
254
259
|
observe: observe,
|
|
260
|
+
transferCache: localVarTransferCache,
|
|
255
261
|
reportProgress: reportProgress
|
|
256
262
|
});
|
|
257
263
|
}
|
|
@@ -281,6 +287,10 @@ class AccountSecurityService {
|
|
|
281
287
|
if (localVarHttpContext === undefined) {
|
|
282
288
|
localVarHttpContext = new HttpContext();
|
|
283
289
|
}
|
|
290
|
+
let localVarTransferCache = options && options.transferCache;
|
|
291
|
+
if (localVarTransferCache === undefined) {
|
|
292
|
+
localVarTransferCache = true;
|
|
293
|
+
}
|
|
284
294
|
// to determine the Content-Type header
|
|
285
295
|
const consumes = [
|
|
286
296
|
'application/json'
|
|
@@ -309,6 +319,7 @@ class AccountSecurityService {
|
|
|
309
319
|
withCredentials: this.configuration.withCredentials,
|
|
310
320
|
headers: localVarHeaders,
|
|
311
321
|
observe: observe,
|
|
322
|
+
transferCache: localVarTransferCache,
|
|
312
323
|
reportProgress: reportProgress
|
|
313
324
|
});
|
|
314
325
|
}
|
|
@@ -351,8 +362,9 @@ class AccountsService {
|
|
|
351
362
|
this.configuration = configuration;
|
|
352
363
|
}
|
|
353
364
|
if (typeof this.configuration.basePath !== 'string') {
|
|
354
|
-
|
|
355
|
-
|
|
365
|
+
const firstBasePath = Array.isArray(basePath) ? basePath[0] : undefined;
|
|
366
|
+
if (firstBasePath != undefined) {
|
|
367
|
+
basePath = firstBasePath;
|
|
356
368
|
}
|
|
357
369
|
if (typeof basePath !== 'string') {
|
|
358
370
|
basePath = this.basePath;
|
|
@@ -425,6 +437,10 @@ class AccountsService {
|
|
|
425
437
|
if (localVarHttpContext === undefined) {
|
|
426
438
|
localVarHttpContext = new HttpContext();
|
|
427
439
|
}
|
|
440
|
+
let localVarTransferCache = options && options.transferCache;
|
|
441
|
+
if (localVarTransferCache === undefined) {
|
|
442
|
+
localVarTransferCache = true;
|
|
443
|
+
}
|
|
428
444
|
// to determine the Content-Type header
|
|
429
445
|
const consumes = [
|
|
430
446
|
'application/json'
|
|
@@ -453,6 +469,7 @@ class AccountsService {
|
|
|
453
469
|
withCredentials: this.configuration.withCredentials,
|
|
454
470
|
headers: localVarHeaders,
|
|
455
471
|
observe: observe,
|
|
472
|
+
transferCache: localVarTransferCache,
|
|
456
473
|
reportProgress: reportProgress
|
|
457
474
|
});
|
|
458
475
|
}
|
|
@@ -482,6 +499,10 @@ class AccountsService {
|
|
|
482
499
|
if (localVarHttpContext === undefined) {
|
|
483
500
|
localVarHttpContext = new HttpContext();
|
|
484
501
|
}
|
|
502
|
+
let localVarTransferCache = options && options.transferCache;
|
|
503
|
+
if (localVarTransferCache === undefined) {
|
|
504
|
+
localVarTransferCache = true;
|
|
505
|
+
}
|
|
485
506
|
// to determine the Content-Type header
|
|
486
507
|
const consumes = [
|
|
487
508
|
'application/json'
|
|
@@ -510,6 +531,7 @@ class AccountsService {
|
|
|
510
531
|
withCredentials: this.configuration.withCredentials,
|
|
511
532
|
headers: localVarHeaders,
|
|
512
533
|
observe: observe,
|
|
534
|
+
transferCache: localVarTransferCache,
|
|
513
535
|
reportProgress: reportProgress
|
|
514
536
|
});
|
|
515
537
|
}
|
|
@@ -533,6 +555,10 @@ class AccountsService {
|
|
|
533
555
|
if (localVarHttpContext === undefined) {
|
|
534
556
|
localVarHttpContext = new HttpContext();
|
|
535
557
|
}
|
|
558
|
+
let localVarTransferCache = options && options.transferCache;
|
|
559
|
+
if (localVarTransferCache === undefined) {
|
|
560
|
+
localVarTransferCache = true;
|
|
561
|
+
}
|
|
536
562
|
// to determine the Content-Type header
|
|
537
563
|
const consumes = [
|
|
538
564
|
'application/json'
|
|
@@ -561,6 +587,7 @@ class AccountsService {
|
|
|
561
587
|
withCredentials: this.configuration.withCredentials,
|
|
562
588
|
headers: localVarHeaders,
|
|
563
589
|
observe: observe,
|
|
590
|
+
transferCache: localVarTransferCache,
|
|
564
591
|
reportProgress: reportProgress
|
|
565
592
|
});
|
|
566
593
|
}
|
|
@@ -603,8 +630,9 @@ class AssetCommentsService {
|
|
|
603
630
|
this.configuration = configuration;
|
|
604
631
|
}
|
|
605
632
|
if (typeof this.configuration.basePath !== 'string') {
|
|
606
|
-
|
|
607
|
-
|
|
633
|
+
const firstBasePath = Array.isArray(basePath) ? basePath[0] : undefined;
|
|
634
|
+
if (firstBasePath != undefined) {
|
|
635
|
+
basePath = firstBasePath;
|
|
608
636
|
}
|
|
609
637
|
if (typeof basePath !== 'string') {
|
|
610
638
|
basePath = this.basePath;
|
|
@@ -677,6 +705,10 @@ class AssetCommentsService {
|
|
|
677
705
|
if (localVarHttpContext === undefined) {
|
|
678
706
|
localVarHttpContext = new HttpContext();
|
|
679
707
|
}
|
|
708
|
+
let localVarTransferCache = options && options.transferCache;
|
|
709
|
+
if (localVarTransferCache === undefined) {
|
|
710
|
+
localVarTransferCache = true;
|
|
711
|
+
}
|
|
680
712
|
let responseType_ = 'json';
|
|
681
713
|
if (localVarHttpHeaderAcceptSelected) {
|
|
682
714
|
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
@@ -696,6 +728,7 @@ class AssetCommentsService {
|
|
|
696
728
|
withCredentials: this.configuration.withCredentials,
|
|
697
729
|
headers: localVarHeaders,
|
|
698
730
|
observe: observe,
|
|
731
|
+
transferCache: localVarTransferCache,
|
|
699
732
|
reportProgress: reportProgress
|
|
700
733
|
});
|
|
701
734
|
}
|
|
@@ -725,6 +758,10 @@ class AssetCommentsService {
|
|
|
725
758
|
if (localVarHttpContext === undefined) {
|
|
726
759
|
localVarHttpContext = new HttpContext();
|
|
727
760
|
}
|
|
761
|
+
let localVarTransferCache = options && options.transferCache;
|
|
762
|
+
if (localVarTransferCache === undefined) {
|
|
763
|
+
localVarTransferCache = true;
|
|
764
|
+
}
|
|
728
765
|
let responseType_ = 'json';
|
|
729
766
|
if (localVarHttpHeaderAcceptSelected) {
|
|
730
767
|
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
@@ -744,6 +781,7 @@ class AssetCommentsService {
|
|
|
744
781
|
withCredentials: this.configuration.withCredentials,
|
|
745
782
|
headers: localVarHeaders,
|
|
746
783
|
observe: observe,
|
|
784
|
+
transferCache: localVarTransferCache,
|
|
747
785
|
reportProgress: reportProgress
|
|
748
786
|
});
|
|
749
787
|
}
|
|
@@ -776,6 +814,10 @@ class AssetCommentsService {
|
|
|
776
814
|
if (localVarHttpContext === undefined) {
|
|
777
815
|
localVarHttpContext = new HttpContext();
|
|
778
816
|
}
|
|
817
|
+
let localVarTransferCache = options && options.transferCache;
|
|
818
|
+
if (localVarTransferCache === undefined) {
|
|
819
|
+
localVarTransferCache = true;
|
|
820
|
+
}
|
|
779
821
|
// to determine the Content-Type header
|
|
780
822
|
const consumes = [
|
|
781
823
|
'application/json'
|
|
@@ -804,6 +846,7 @@ class AssetCommentsService {
|
|
|
804
846
|
withCredentials: this.configuration.withCredentials,
|
|
805
847
|
headers: localVarHeaders,
|
|
806
848
|
observe: observe,
|
|
849
|
+
transferCache: localVarTransferCache,
|
|
807
850
|
reportProgress: reportProgress
|
|
808
851
|
});
|
|
809
852
|
}
|
|
@@ -836,6 +879,10 @@ class AssetCommentsService {
|
|
|
836
879
|
if (localVarHttpContext === undefined) {
|
|
837
880
|
localVarHttpContext = new HttpContext();
|
|
838
881
|
}
|
|
882
|
+
let localVarTransferCache = options && options.transferCache;
|
|
883
|
+
if (localVarTransferCache === undefined) {
|
|
884
|
+
localVarTransferCache = true;
|
|
885
|
+
}
|
|
839
886
|
// to determine the Content-Type header
|
|
840
887
|
const consumes = [
|
|
841
888
|
'application/json'
|
|
@@ -864,6 +911,7 @@ class AssetCommentsService {
|
|
|
864
911
|
withCredentials: this.configuration.withCredentials,
|
|
865
912
|
headers: localVarHeaders,
|
|
866
913
|
observe: observe,
|
|
914
|
+
transferCache: localVarTransferCache,
|
|
867
915
|
reportProgress: reportProgress
|
|
868
916
|
});
|
|
869
917
|
}
|
|
@@ -906,8 +954,9 @@ class AssetDeduplicationService {
|
|
|
906
954
|
this.configuration = configuration;
|
|
907
955
|
}
|
|
908
956
|
if (typeof this.configuration.basePath !== 'string') {
|
|
909
|
-
|
|
910
|
-
|
|
957
|
+
const firstBasePath = Array.isArray(basePath) ? basePath[0] : undefined;
|
|
958
|
+
if (firstBasePath != undefined) {
|
|
959
|
+
basePath = firstBasePath;
|
|
911
960
|
}
|
|
912
961
|
if (typeof basePath !== 'string') {
|
|
913
962
|
basePath = this.basePath;
|
|
@@ -977,6 +1026,10 @@ class AssetDeduplicationService {
|
|
|
977
1026
|
if (localVarHttpContext === undefined) {
|
|
978
1027
|
localVarHttpContext = new HttpContext();
|
|
979
1028
|
}
|
|
1029
|
+
let localVarTransferCache = options && options.transferCache;
|
|
1030
|
+
if (localVarTransferCache === undefined) {
|
|
1031
|
+
localVarTransferCache = true;
|
|
1032
|
+
}
|
|
980
1033
|
let responseType_ = 'json';
|
|
981
1034
|
if (localVarHttpHeaderAcceptSelected) {
|
|
982
1035
|
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
@@ -996,6 +1049,7 @@ class AssetDeduplicationService {
|
|
|
996
1049
|
withCredentials: this.configuration.withCredentials,
|
|
997
1050
|
headers: localVarHeaders,
|
|
998
1051
|
observe: observe,
|
|
1052
|
+
transferCache: localVarTransferCache,
|
|
999
1053
|
reportProgress: reportProgress
|
|
1000
1054
|
});
|
|
1001
1055
|
}
|
|
@@ -1038,8 +1092,9 @@ class AssetDownloadEventsService {
|
|
|
1038
1092
|
this.configuration = configuration;
|
|
1039
1093
|
}
|
|
1040
1094
|
if (typeof this.configuration.basePath !== 'string') {
|
|
1041
|
-
|
|
1042
|
-
|
|
1095
|
+
const firstBasePath = Array.isArray(basePath) ? basePath[0] : undefined;
|
|
1096
|
+
if (firstBasePath != undefined) {
|
|
1097
|
+
basePath = firstBasePath;
|
|
1043
1098
|
}
|
|
1044
1099
|
if (typeof basePath !== 'string') {
|
|
1045
1100
|
basePath = this.basePath;
|
|
@@ -1112,6 +1167,10 @@ class AssetDownloadEventsService {
|
|
|
1112
1167
|
if (localVarHttpContext === undefined) {
|
|
1113
1168
|
localVarHttpContext = new HttpContext();
|
|
1114
1169
|
}
|
|
1170
|
+
let localVarTransferCache = options && options.transferCache;
|
|
1171
|
+
if (localVarTransferCache === undefined) {
|
|
1172
|
+
localVarTransferCache = true;
|
|
1173
|
+
}
|
|
1115
1174
|
// to determine the Content-Type header
|
|
1116
1175
|
const consumes = [
|
|
1117
1176
|
'application/json'
|
|
@@ -1140,6 +1199,7 @@ class AssetDownloadEventsService {
|
|
|
1140
1199
|
withCredentials: this.configuration.withCredentials,
|
|
1141
1200
|
headers: localVarHeaders,
|
|
1142
1201
|
observe: observe,
|
|
1202
|
+
transferCache: localVarTransferCache,
|
|
1143
1203
|
reportProgress: reportProgress
|
|
1144
1204
|
});
|
|
1145
1205
|
}
|
|
@@ -1182,8 +1242,9 @@ class AssetEmbeddableLinksService {
|
|
|
1182
1242
|
this.configuration = configuration;
|
|
1183
1243
|
}
|
|
1184
1244
|
if (typeof this.configuration.basePath !== 'string') {
|
|
1185
|
-
|
|
1186
|
-
|
|
1245
|
+
const firstBasePath = Array.isArray(basePath) ? basePath[0] : undefined;
|
|
1246
|
+
if (firstBasePath != undefined) {
|
|
1247
|
+
basePath = firstBasePath;
|
|
1187
1248
|
}
|
|
1188
1249
|
if (typeof basePath !== 'string') {
|
|
1189
1250
|
basePath = this.basePath;
|
|
@@ -1256,6 +1317,10 @@ class AssetEmbeddableLinksService {
|
|
|
1256
1317
|
if (localVarHttpContext === undefined) {
|
|
1257
1318
|
localVarHttpContext = new HttpContext();
|
|
1258
1319
|
}
|
|
1320
|
+
let localVarTransferCache = options && options.transferCache;
|
|
1321
|
+
if (localVarTransferCache === undefined) {
|
|
1322
|
+
localVarTransferCache = true;
|
|
1323
|
+
}
|
|
1259
1324
|
let responseType_ = 'json';
|
|
1260
1325
|
if (localVarHttpHeaderAcceptSelected) {
|
|
1261
1326
|
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
@@ -1275,6 +1340,7 @@ class AssetEmbeddableLinksService {
|
|
|
1275
1340
|
withCredentials: this.configuration.withCredentials,
|
|
1276
1341
|
headers: localVarHeaders,
|
|
1277
1342
|
observe: observe,
|
|
1343
|
+
transferCache: localVarTransferCache,
|
|
1278
1344
|
reportProgress: reportProgress
|
|
1279
1345
|
});
|
|
1280
1346
|
}
|
|
@@ -1307,6 +1373,10 @@ class AssetEmbeddableLinksService {
|
|
|
1307
1373
|
if (localVarHttpContext === undefined) {
|
|
1308
1374
|
localVarHttpContext = new HttpContext();
|
|
1309
1375
|
}
|
|
1376
|
+
let localVarTransferCache = options && options.transferCache;
|
|
1377
|
+
if (localVarTransferCache === undefined) {
|
|
1378
|
+
localVarTransferCache = true;
|
|
1379
|
+
}
|
|
1310
1380
|
// to determine the Content-Type header
|
|
1311
1381
|
const consumes = [
|
|
1312
1382
|
'application/json'
|
|
@@ -1335,6 +1405,7 @@ class AssetEmbeddableLinksService {
|
|
|
1335
1405
|
withCredentials: this.configuration.withCredentials,
|
|
1336
1406
|
headers: localVarHeaders,
|
|
1337
1407
|
observe: observe,
|
|
1408
|
+
transferCache: localVarTransferCache,
|
|
1338
1409
|
reportProgress: reportProgress
|
|
1339
1410
|
});
|
|
1340
1411
|
}
|
|
@@ -1364,6 +1435,10 @@ class AssetEmbeddableLinksService {
|
|
|
1364
1435
|
if (localVarHttpContext === undefined) {
|
|
1365
1436
|
localVarHttpContext = new HttpContext();
|
|
1366
1437
|
}
|
|
1438
|
+
let localVarTransferCache = options && options.transferCache;
|
|
1439
|
+
if (localVarTransferCache === undefined) {
|
|
1440
|
+
localVarTransferCache = true;
|
|
1441
|
+
}
|
|
1367
1442
|
let responseType_ = 'json';
|
|
1368
1443
|
if (localVarHttpHeaderAcceptSelected) {
|
|
1369
1444
|
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
@@ -1383,6 +1458,7 @@ class AssetEmbeddableLinksService {
|
|
|
1383
1458
|
withCredentials: this.configuration.withCredentials,
|
|
1384
1459
|
headers: localVarHeaders,
|
|
1385
1460
|
observe: observe,
|
|
1461
|
+
transferCache: localVarTransferCache,
|
|
1386
1462
|
reportProgress: reportProgress
|
|
1387
1463
|
});
|
|
1388
1464
|
}
|
|
@@ -1412,6 +1488,10 @@ class AssetEmbeddableLinksService {
|
|
|
1412
1488
|
if (localVarHttpContext === undefined) {
|
|
1413
1489
|
localVarHttpContext = new HttpContext();
|
|
1414
1490
|
}
|
|
1491
|
+
let localVarTransferCache = options && options.transferCache;
|
|
1492
|
+
if (localVarTransferCache === undefined) {
|
|
1493
|
+
localVarTransferCache = true;
|
|
1494
|
+
}
|
|
1415
1495
|
// to determine the Content-Type header
|
|
1416
1496
|
const consumes = [
|
|
1417
1497
|
'application/json'
|
|
@@ -1440,6 +1520,7 @@ class AssetEmbeddableLinksService {
|
|
|
1440
1520
|
withCredentials: this.configuration.withCredentials,
|
|
1441
1521
|
headers: localVarHeaders,
|
|
1442
1522
|
observe: observe,
|
|
1523
|
+
transferCache: localVarTransferCache,
|
|
1443
1524
|
reportProgress: reportProgress
|
|
1444
1525
|
});
|
|
1445
1526
|
}
|
|
@@ -1469,6 +1550,10 @@ class AssetEmbeddableLinksService {
|
|
|
1469
1550
|
if (localVarHttpContext === undefined) {
|
|
1470
1551
|
localVarHttpContext = new HttpContext();
|
|
1471
1552
|
}
|
|
1553
|
+
let localVarTransferCache = options && options.transferCache;
|
|
1554
|
+
if (localVarTransferCache === undefined) {
|
|
1555
|
+
localVarTransferCache = true;
|
|
1556
|
+
}
|
|
1472
1557
|
// to determine the Content-Type header
|
|
1473
1558
|
const consumes = [
|
|
1474
1559
|
'application/json'
|
|
@@ -1497,6 +1582,7 @@ class AssetEmbeddableLinksService {
|
|
|
1497
1582
|
withCredentials: this.configuration.withCredentials,
|
|
1498
1583
|
headers: localVarHeaders,
|
|
1499
1584
|
observe: observe,
|
|
1585
|
+
transferCache: localVarTransferCache,
|
|
1500
1586
|
reportProgress: reportProgress
|
|
1501
1587
|
});
|
|
1502
1588
|
}
|
|
@@ -1539,8 +1625,9 @@ class AssetMetadataExportService {
|
|
|
1539
1625
|
this.configuration = configuration;
|
|
1540
1626
|
}
|
|
1541
1627
|
if (typeof this.configuration.basePath !== 'string') {
|
|
1542
|
-
|
|
1543
|
-
|
|
1628
|
+
const firstBasePath = Array.isArray(basePath) ? basePath[0] : undefined;
|
|
1629
|
+
if (firstBasePath != undefined) {
|
|
1630
|
+
basePath = firstBasePath;
|
|
1544
1631
|
}
|
|
1545
1632
|
if (typeof basePath !== 'string') {
|
|
1546
1633
|
basePath = this.basePath;
|
|
@@ -1613,6 +1700,10 @@ class AssetMetadataExportService {
|
|
|
1613
1700
|
if (localVarHttpContext === undefined) {
|
|
1614
1701
|
localVarHttpContext = new HttpContext();
|
|
1615
1702
|
}
|
|
1703
|
+
let localVarTransferCache = options && options.transferCache;
|
|
1704
|
+
if (localVarTransferCache === undefined) {
|
|
1705
|
+
localVarTransferCache = true;
|
|
1706
|
+
}
|
|
1616
1707
|
let responseType_ = 'json';
|
|
1617
1708
|
if (localVarHttpHeaderAcceptSelected) {
|
|
1618
1709
|
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
@@ -1632,6 +1723,7 @@ class AssetMetadataExportService {
|
|
|
1632
1723
|
withCredentials: this.configuration.withCredentials,
|
|
1633
1724
|
headers: localVarHeaders,
|
|
1634
1725
|
observe: observe,
|
|
1726
|
+
transferCache: localVarTransferCache,
|
|
1635
1727
|
reportProgress: reportProgress
|
|
1636
1728
|
});
|
|
1637
1729
|
}
|
|
@@ -1661,6 +1753,10 @@ class AssetMetadataExportService {
|
|
|
1661
1753
|
if (localVarHttpContext === undefined) {
|
|
1662
1754
|
localVarHttpContext = new HttpContext();
|
|
1663
1755
|
}
|
|
1756
|
+
let localVarTransferCache = options && options.transferCache;
|
|
1757
|
+
if (localVarTransferCache === undefined) {
|
|
1758
|
+
localVarTransferCache = true;
|
|
1759
|
+
}
|
|
1664
1760
|
let responseType_ = 'json';
|
|
1665
1761
|
if (localVarHttpHeaderAcceptSelected) {
|
|
1666
1762
|
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
@@ -1680,6 +1776,7 @@ class AssetMetadataExportService {
|
|
|
1680
1776
|
withCredentials: this.configuration.withCredentials,
|
|
1681
1777
|
headers: localVarHeaders,
|
|
1682
1778
|
observe: observe,
|
|
1779
|
+
transferCache: localVarTransferCache,
|
|
1683
1780
|
reportProgress: reportProgress
|
|
1684
1781
|
});
|
|
1685
1782
|
}
|
|
@@ -1712,6 +1809,10 @@ class AssetMetadataExportService {
|
|
|
1712
1809
|
if (localVarHttpContext === undefined) {
|
|
1713
1810
|
localVarHttpContext = new HttpContext();
|
|
1714
1811
|
}
|
|
1812
|
+
let localVarTransferCache = options && options.transferCache;
|
|
1813
|
+
if (localVarTransferCache === undefined) {
|
|
1814
|
+
localVarTransferCache = true;
|
|
1815
|
+
}
|
|
1715
1816
|
// to determine the Content-Type header
|
|
1716
1817
|
const consumes = [
|
|
1717
1818
|
'application/json'
|
|
@@ -1740,6 +1841,7 @@ class AssetMetadataExportService {
|
|
|
1740
1841
|
withCredentials: this.configuration.withCredentials,
|
|
1741
1842
|
headers: localVarHeaders,
|
|
1742
1843
|
observe: observe,
|
|
1844
|
+
transferCache: localVarTransferCache,
|
|
1743
1845
|
reportProgress: reportProgress
|
|
1744
1846
|
});
|
|
1745
1847
|
}
|
|
@@ -1766,6 +1868,10 @@ class AssetMetadataExportService {
|
|
|
1766
1868
|
if (localVarHttpContext === undefined) {
|
|
1767
1869
|
localVarHttpContext = new HttpContext();
|
|
1768
1870
|
}
|
|
1871
|
+
let localVarTransferCache = options && options.transferCache;
|
|
1872
|
+
if (localVarTransferCache === undefined) {
|
|
1873
|
+
localVarTransferCache = true;
|
|
1874
|
+
}
|
|
1769
1875
|
let responseType_ = 'json';
|
|
1770
1876
|
if (localVarHttpHeaderAcceptSelected) {
|
|
1771
1877
|
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
@@ -1785,6 +1891,7 @@ class AssetMetadataExportService {
|
|
|
1785
1891
|
withCredentials: this.configuration.withCredentials,
|
|
1786
1892
|
headers: localVarHeaders,
|
|
1787
1893
|
observe: observe,
|
|
1894
|
+
transferCache: localVarTransferCache,
|
|
1788
1895
|
reportProgress: reportProgress
|
|
1789
1896
|
});
|
|
1790
1897
|
}
|
|
@@ -1827,8 +1934,9 @@ class AssetSavedCropAreaSummariesService {
|
|
|
1827
1934
|
this.configuration = configuration;
|
|
1828
1935
|
}
|
|
1829
1936
|
if (typeof this.configuration.basePath !== 'string') {
|
|
1830
|
-
|
|
1831
|
-
|
|
1937
|
+
const firstBasePath = Array.isArray(basePath) ? basePath[0] : undefined;
|
|
1938
|
+
if (firstBasePath != undefined) {
|
|
1939
|
+
basePath = firstBasePath;
|
|
1832
1940
|
}
|
|
1833
1941
|
if (typeof basePath !== 'string') {
|
|
1834
1942
|
basePath = this.basePath;
|
|
@@ -1901,6 +2009,10 @@ class AssetSavedCropAreaSummariesService {
|
|
|
1901
2009
|
if (localVarHttpContext === undefined) {
|
|
1902
2010
|
localVarHttpContext = new HttpContext();
|
|
1903
2011
|
}
|
|
2012
|
+
let localVarTransferCache = options && options.transferCache;
|
|
2013
|
+
if (localVarTransferCache === undefined) {
|
|
2014
|
+
localVarTransferCache = true;
|
|
2015
|
+
}
|
|
1904
2016
|
let responseType_ = 'json';
|
|
1905
2017
|
if (localVarHttpHeaderAcceptSelected) {
|
|
1906
2018
|
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
@@ -1920,6 +2032,7 @@ class AssetSavedCropAreaSummariesService {
|
|
|
1920
2032
|
withCredentials: this.configuration.withCredentials,
|
|
1921
2033
|
headers: localVarHeaders,
|
|
1922
2034
|
observe: observe,
|
|
2035
|
+
transferCache: localVarTransferCache,
|
|
1923
2036
|
reportProgress: reportProgress
|
|
1924
2037
|
});
|
|
1925
2038
|
}
|
|
@@ -1949,6 +2062,10 @@ class AssetSavedCropAreaSummariesService {
|
|
|
1949
2062
|
if (localVarHttpContext === undefined) {
|
|
1950
2063
|
localVarHttpContext = new HttpContext();
|
|
1951
2064
|
}
|
|
2065
|
+
let localVarTransferCache = options && options.transferCache;
|
|
2066
|
+
if (localVarTransferCache === undefined) {
|
|
2067
|
+
localVarTransferCache = true;
|
|
2068
|
+
}
|
|
1952
2069
|
// to determine the Content-Type header
|
|
1953
2070
|
const consumes = [
|
|
1954
2071
|
'application/json'
|
|
@@ -1977,6 +2094,7 @@ class AssetSavedCropAreaSummariesService {
|
|
|
1977
2094
|
withCredentials: this.configuration.withCredentials,
|
|
1978
2095
|
headers: localVarHeaders,
|
|
1979
2096
|
observe: observe,
|
|
2097
|
+
transferCache: localVarTransferCache,
|
|
1980
2098
|
reportProgress: reportProgress
|
|
1981
2099
|
});
|
|
1982
2100
|
}
|
|
@@ -2019,8 +2137,9 @@ class AssetSavedCropAreasService {
|
|
|
2019
2137
|
this.configuration = configuration;
|
|
2020
2138
|
}
|
|
2021
2139
|
if (typeof this.configuration.basePath !== 'string') {
|
|
2022
|
-
|
|
2023
|
-
|
|
2140
|
+
const firstBasePath = Array.isArray(basePath) ? basePath[0] : undefined;
|
|
2141
|
+
if (firstBasePath != undefined) {
|
|
2142
|
+
basePath = firstBasePath;
|
|
2024
2143
|
}
|
|
2025
2144
|
if (typeof basePath !== 'string') {
|
|
2026
2145
|
basePath = this.basePath;
|
|
@@ -2093,6 +2212,10 @@ class AssetSavedCropAreasService {
|
|
|
2093
2212
|
if (localVarHttpContext === undefined) {
|
|
2094
2213
|
localVarHttpContext = new HttpContext();
|
|
2095
2214
|
}
|
|
2215
|
+
let localVarTransferCache = options && options.transferCache;
|
|
2216
|
+
if (localVarTransferCache === undefined) {
|
|
2217
|
+
localVarTransferCache = true;
|
|
2218
|
+
}
|
|
2096
2219
|
let responseType_ = 'json';
|
|
2097
2220
|
if (localVarHttpHeaderAcceptSelected) {
|
|
2098
2221
|
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
@@ -2112,6 +2235,7 @@ class AssetSavedCropAreasService {
|
|
|
2112
2235
|
withCredentials: this.configuration.withCredentials,
|
|
2113
2236
|
headers: localVarHeaders,
|
|
2114
2237
|
observe: observe,
|
|
2238
|
+
transferCache: localVarTransferCache,
|
|
2115
2239
|
reportProgress: reportProgress
|
|
2116
2240
|
});
|
|
2117
2241
|
}
|
|
@@ -2141,6 +2265,10 @@ class AssetSavedCropAreasService {
|
|
|
2141
2265
|
if (localVarHttpContext === undefined) {
|
|
2142
2266
|
localVarHttpContext = new HttpContext();
|
|
2143
2267
|
}
|
|
2268
|
+
let localVarTransferCache = options && options.transferCache;
|
|
2269
|
+
if (localVarTransferCache === undefined) {
|
|
2270
|
+
localVarTransferCache = true;
|
|
2271
|
+
}
|
|
2144
2272
|
let responseType_ = 'json';
|
|
2145
2273
|
if (localVarHttpHeaderAcceptSelected) {
|
|
2146
2274
|
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
@@ -2160,6 +2288,7 @@ class AssetSavedCropAreasService {
|
|
|
2160
2288
|
withCredentials: this.configuration.withCredentials,
|
|
2161
2289
|
headers: localVarHeaders,
|
|
2162
2290
|
observe: observe,
|
|
2291
|
+
transferCache: localVarTransferCache,
|
|
2163
2292
|
reportProgress: reportProgress
|
|
2164
2293
|
});
|
|
2165
2294
|
}
|
|
@@ -2192,6 +2321,10 @@ class AssetSavedCropAreasService {
|
|
|
2192
2321
|
if (localVarHttpContext === undefined) {
|
|
2193
2322
|
localVarHttpContext = new HttpContext();
|
|
2194
2323
|
}
|
|
2324
|
+
let localVarTransferCache = options && options.transferCache;
|
|
2325
|
+
if (localVarTransferCache === undefined) {
|
|
2326
|
+
localVarTransferCache = true;
|
|
2327
|
+
}
|
|
2195
2328
|
// to determine the Content-Type header
|
|
2196
2329
|
const consumes = [
|
|
2197
2330
|
'application/json'
|
|
@@ -2220,6 +2353,7 @@ class AssetSavedCropAreasService {
|
|
|
2220
2353
|
withCredentials: this.configuration.withCredentials,
|
|
2221
2354
|
headers: localVarHeaders,
|
|
2222
2355
|
observe: observe,
|
|
2356
|
+
transferCache: localVarTransferCache,
|
|
2223
2357
|
reportProgress: reportProgress
|
|
2224
2358
|
});
|
|
2225
2359
|
}
|
|
@@ -2252,6 +2386,10 @@ class AssetSavedCropAreasService {
|
|
|
2252
2386
|
if (localVarHttpContext === undefined) {
|
|
2253
2387
|
localVarHttpContext = new HttpContext();
|
|
2254
2388
|
}
|
|
2389
|
+
let localVarTransferCache = options && options.transferCache;
|
|
2390
|
+
if (localVarTransferCache === undefined) {
|
|
2391
|
+
localVarTransferCache = true;
|
|
2392
|
+
}
|
|
2255
2393
|
// to determine the Content-Type header
|
|
2256
2394
|
const consumes = [
|
|
2257
2395
|
'application/json'
|
|
@@ -2280,6 +2418,7 @@ class AssetSavedCropAreasService {
|
|
|
2280
2418
|
withCredentials: this.configuration.withCredentials,
|
|
2281
2419
|
headers: localVarHeaders,
|
|
2282
2420
|
observe: observe,
|
|
2421
|
+
transferCache: localVarTransferCache,
|
|
2283
2422
|
reportProgress: reportProgress
|
|
2284
2423
|
});
|
|
2285
2424
|
}
|
|
@@ -2322,8 +2461,9 @@ class AssetShareAccessTokensService {
|
|
|
2322
2461
|
this.configuration = configuration;
|
|
2323
2462
|
}
|
|
2324
2463
|
if (typeof this.configuration.basePath !== 'string') {
|
|
2325
|
-
|
|
2326
|
-
|
|
2464
|
+
const firstBasePath = Array.isArray(basePath) ? basePath[0] : undefined;
|
|
2465
|
+
if (firstBasePath != undefined) {
|
|
2466
|
+
basePath = firstBasePath;
|
|
2327
2467
|
}
|
|
2328
2468
|
if (typeof basePath !== 'string') {
|
|
2329
2469
|
basePath = this.basePath;
|
|
@@ -2390,6 +2530,10 @@ class AssetShareAccessTokensService {
|
|
|
2390
2530
|
if (localVarHttpContext === undefined) {
|
|
2391
2531
|
localVarHttpContext = new HttpContext();
|
|
2392
2532
|
}
|
|
2533
|
+
let localVarTransferCache = options && options.transferCache;
|
|
2534
|
+
if (localVarTransferCache === undefined) {
|
|
2535
|
+
localVarTransferCache = true;
|
|
2536
|
+
}
|
|
2393
2537
|
let responseType_ = 'json';
|
|
2394
2538
|
if (localVarHttpHeaderAcceptSelected) {
|
|
2395
2539
|
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
@@ -2409,6 +2553,7 @@ class AssetShareAccessTokensService {
|
|
|
2409
2553
|
withCredentials: this.configuration.withCredentials,
|
|
2410
2554
|
headers: localVarHeaders,
|
|
2411
2555
|
observe: observe,
|
|
2556
|
+
transferCache: localVarTransferCache,
|
|
2412
2557
|
reportProgress: reportProgress
|
|
2413
2558
|
});
|
|
2414
2559
|
}
|
|
@@ -2451,8 +2596,9 @@ class AssetShareEmailsService {
|
|
|
2451
2596
|
this.configuration = configuration;
|
|
2452
2597
|
}
|
|
2453
2598
|
if (typeof this.configuration.basePath !== 'string') {
|
|
2454
|
-
|
|
2455
|
-
|
|
2599
|
+
const firstBasePath = Array.isArray(basePath) ? basePath[0] : undefined;
|
|
2600
|
+
if (firstBasePath != undefined) {
|
|
2601
|
+
basePath = firstBasePath;
|
|
2456
2602
|
}
|
|
2457
2603
|
if (typeof basePath !== 'string') {
|
|
2458
2604
|
basePath = this.basePath;
|
|
@@ -2525,6 +2671,10 @@ class AssetShareEmailsService {
|
|
|
2525
2671
|
if (localVarHttpContext === undefined) {
|
|
2526
2672
|
localVarHttpContext = new HttpContext();
|
|
2527
2673
|
}
|
|
2674
|
+
let localVarTransferCache = options && options.transferCache;
|
|
2675
|
+
if (localVarTransferCache === undefined) {
|
|
2676
|
+
localVarTransferCache = true;
|
|
2677
|
+
}
|
|
2528
2678
|
// to determine the Content-Type header
|
|
2529
2679
|
const consumes = [
|
|
2530
2680
|
'application/json'
|
|
@@ -2553,6 +2703,7 @@ class AssetShareEmailsService {
|
|
|
2553
2703
|
withCredentials: this.configuration.withCredentials,
|
|
2554
2704
|
headers: localVarHeaders,
|
|
2555
2705
|
observe: observe,
|
|
2706
|
+
transferCache: localVarTransferCache,
|
|
2556
2707
|
reportProgress: reportProgress
|
|
2557
2708
|
});
|
|
2558
2709
|
}
|
|
@@ -2595,8 +2746,9 @@ class AssetSharesService {
|
|
|
2595
2746
|
this.configuration = configuration;
|
|
2596
2747
|
}
|
|
2597
2748
|
if (typeof this.configuration.basePath !== 'string') {
|
|
2598
|
-
|
|
2599
|
-
|
|
2749
|
+
const firstBasePath = Array.isArray(basePath) ? basePath[0] : undefined;
|
|
2750
|
+
if (firstBasePath != undefined) {
|
|
2751
|
+
basePath = firstBasePath;
|
|
2600
2752
|
}
|
|
2601
2753
|
if (typeof basePath !== 'string') {
|
|
2602
2754
|
basePath = this.basePath;
|
|
@@ -2669,6 +2821,10 @@ class AssetSharesService {
|
|
|
2669
2821
|
if (localVarHttpContext === undefined) {
|
|
2670
2822
|
localVarHttpContext = new HttpContext();
|
|
2671
2823
|
}
|
|
2824
|
+
let localVarTransferCache = options && options.transferCache;
|
|
2825
|
+
if (localVarTransferCache === undefined) {
|
|
2826
|
+
localVarTransferCache = true;
|
|
2827
|
+
}
|
|
2672
2828
|
// to determine the Content-Type header
|
|
2673
2829
|
const consumes = [
|
|
2674
2830
|
'application/json'
|
|
@@ -2697,6 +2853,7 @@ class AssetSharesService {
|
|
|
2697
2853
|
withCredentials: this.configuration.withCredentials,
|
|
2698
2854
|
headers: localVarHeaders,
|
|
2699
2855
|
observe: observe,
|
|
2856
|
+
transferCache: localVarTransferCache,
|
|
2700
2857
|
reportProgress: reportProgress
|
|
2701
2858
|
});
|
|
2702
2859
|
}
|
|
@@ -2726,6 +2883,10 @@ class AssetSharesService {
|
|
|
2726
2883
|
if (localVarHttpContext === undefined) {
|
|
2727
2884
|
localVarHttpContext = new HttpContext();
|
|
2728
2885
|
}
|
|
2886
|
+
let localVarTransferCache = options && options.transferCache;
|
|
2887
|
+
if (localVarTransferCache === undefined) {
|
|
2888
|
+
localVarTransferCache = true;
|
|
2889
|
+
}
|
|
2729
2890
|
let responseType_ = 'json';
|
|
2730
2891
|
if (localVarHttpHeaderAcceptSelected) {
|
|
2731
2892
|
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
@@ -2745,6 +2906,7 @@ class AssetSharesService {
|
|
|
2745
2906
|
withCredentials: this.configuration.withCredentials,
|
|
2746
2907
|
headers: localVarHeaders,
|
|
2747
2908
|
observe: observe,
|
|
2909
|
+
transferCache: localVarTransferCache,
|
|
2748
2910
|
reportProgress: reportProgress
|
|
2749
2911
|
});
|
|
2750
2912
|
}
|
|
@@ -2768,6 +2930,10 @@ class AssetSharesService {
|
|
|
2768
2930
|
if (localVarHttpContext === undefined) {
|
|
2769
2931
|
localVarHttpContext = new HttpContext();
|
|
2770
2932
|
}
|
|
2933
|
+
let localVarTransferCache = options && options.transferCache;
|
|
2934
|
+
if (localVarTransferCache === undefined) {
|
|
2935
|
+
localVarTransferCache = true;
|
|
2936
|
+
}
|
|
2771
2937
|
let responseType_ = 'json';
|
|
2772
2938
|
if (localVarHttpHeaderAcceptSelected) {
|
|
2773
2939
|
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
@@ -2787,6 +2953,7 @@ class AssetSharesService {
|
|
|
2787
2953
|
withCredentials: this.configuration.withCredentials,
|
|
2788
2954
|
headers: localVarHeaders,
|
|
2789
2955
|
observe: observe,
|
|
2956
|
+
transferCache: localVarTransferCache,
|
|
2790
2957
|
reportProgress: reportProgress
|
|
2791
2958
|
});
|
|
2792
2959
|
}
|
|
@@ -2819,6 +2986,10 @@ class AssetSharesService {
|
|
|
2819
2986
|
if (localVarHttpContext === undefined) {
|
|
2820
2987
|
localVarHttpContext = new HttpContext();
|
|
2821
2988
|
}
|
|
2989
|
+
let localVarTransferCache = options && options.transferCache;
|
|
2990
|
+
if (localVarTransferCache === undefined) {
|
|
2991
|
+
localVarTransferCache = true;
|
|
2992
|
+
}
|
|
2822
2993
|
// to determine the Content-Type header
|
|
2823
2994
|
const consumes = [
|
|
2824
2995
|
'application/json'
|
|
@@ -2847,6 +3018,7 @@ class AssetSharesService {
|
|
|
2847
3018
|
withCredentials: this.configuration.withCredentials,
|
|
2848
3019
|
headers: localVarHeaders,
|
|
2849
3020
|
observe: observe,
|
|
3021
|
+
transferCache: localVarTransferCache,
|
|
2850
3022
|
reportProgress: reportProgress
|
|
2851
3023
|
});
|
|
2852
3024
|
}
|
|
@@ -2876,6 +3048,10 @@ class AssetSharesService {
|
|
|
2876
3048
|
if (localVarHttpContext === undefined) {
|
|
2877
3049
|
localVarHttpContext = new HttpContext();
|
|
2878
3050
|
}
|
|
3051
|
+
let localVarTransferCache = options && options.transferCache;
|
|
3052
|
+
if (localVarTransferCache === undefined) {
|
|
3053
|
+
localVarTransferCache = true;
|
|
3054
|
+
}
|
|
2879
3055
|
// to determine the Content-Type header
|
|
2880
3056
|
const consumes = [
|
|
2881
3057
|
'application/json'
|
|
@@ -2904,6 +3080,7 @@ class AssetSharesService {
|
|
|
2904
3080
|
withCredentials: this.configuration.withCredentials,
|
|
2905
3081
|
headers: localVarHeaders,
|
|
2906
3082
|
observe: observe,
|
|
3083
|
+
transferCache: localVarTransferCache,
|
|
2907
3084
|
reportProgress: reportProgress
|
|
2908
3085
|
});
|
|
2909
3086
|
}
|
|
@@ -2946,8 +3123,9 @@ class AssetsService {
|
|
|
2946
3123
|
this.configuration = configuration;
|
|
2947
3124
|
}
|
|
2948
3125
|
if (typeof this.configuration.basePath !== 'string') {
|
|
2949
|
-
|
|
2950
|
-
|
|
3126
|
+
const firstBasePath = Array.isArray(basePath) ? basePath[0] : undefined;
|
|
3127
|
+
if (firstBasePath != undefined) {
|
|
3128
|
+
basePath = firstBasePath;
|
|
2951
3129
|
}
|
|
2952
3130
|
if (typeof basePath !== 'string') {
|
|
2953
3131
|
basePath = this.basePath;
|
|
@@ -3020,6 +3198,10 @@ class AssetsService {
|
|
|
3020
3198
|
if (localVarHttpContext === undefined) {
|
|
3021
3199
|
localVarHttpContext = new HttpContext();
|
|
3022
3200
|
}
|
|
3201
|
+
let localVarTransferCache = options && options.transferCache;
|
|
3202
|
+
if (localVarTransferCache === undefined) {
|
|
3203
|
+
localVarTransferCache = true;
|
|
3204
|
+
}
|
|
3023
3205
|
let responseType_ = 'json';
|
|
3024
3206
|
if (localVarHttpHeaderAcceptSelected) {
|
|
3025
3207
|
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
@@ -3039,6 +3221,7 @@ class AssetsService {
|
|
|
3039
3221
|
withCredentials: this.configuration.withCredentials,
|
|
3040
3222
|
headers: localVarHeaders,
|
|
3041
3223
|
observe: observe,
|
|
3224
|
+
transferCache: localVarTransferCache,
|
|
3042
3225
|
reportProgress: reportProgress
|
|
3043
3226
|
});
|
|
3044
3227
|
}
|
|
@@ -3068,6 +3251,10 @@ class AssetsService {
|
|
|
3068
3251
|
if (localVarHttpContext === undefined) {
|
|
3069
3252
|
localVarHttpContext = new HttpContext();
|
|
3070
3253
|
}
|
|
3254
|
+
let localVarTransferCache = options && options.transferCache;
|
|
3255
|
+
if (localVarTransferCache === undefined) {
|
|
3256
|
+
localVarTransferCache = true;
|
|
3257
|
+
}
|
|
3071
3258
|
let responseType_ = 'json';
|
|
3072
3259
|
if (localVarHttpHeaderAcceptSelected) {
|
|
3073
3260
|
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
@@ -3087,6 +3274,7 @@ class AssetsService {
|
|
|
3087
3274
|
withCredentials: this.configuration.withCredentials,
|
|
3088
3275
|
headers: localVarHeaders,
|
|
3089
3276
|
observe: observe,
|
|
3277
|
+
transferCache: localVarTransferCache,
|
|
3090
3278
|
reportProgress: reportProgress
|
|
3091
3279
|
});
|
|
3092
3280
|
}
|
|
@@ -3116,6 +3304,10 @@ class AssetsService {
|
|
|
3116
3304
|
if (localVarHttpContext === undefined) {
|
|
3117
3305
|
localVarHttpContext = new HttpContext();
|
|
3118
3306
|
}
|
|
3307
|
+
let localVarTransferCache = options && options.transferCache;
|
|
3308
|
+
if (localVarTransferCache === undefined) {
|
|
3309
|
+
localVarTransferCache = true;
|
|
3310
|
+
}
|
|
3119
3311
|
let responseType_ = 'json';
|
|
3120
3312
|
if (localVarHttpHeaderAcceptSelected) {
|
|
3121
3313
|
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
@@ -3135,6 +3327,7 @@ class AssetsService {
|
|
|
3135
3327
|
withCredentials: this.configuration.withCredentials,
|
|
3136
3328
|
headers: localVarHeaders,
|
|
3137
3329
|
observe: observe,
|
|
3330
|
+
transferCache: localVarTransferCache,
|
|
3138
3331
|
reportProgress: reportProgress
|
|
3139
3332
|
});
|
|
3140
3333
|
}
|
|
@@ -3164,6 +3357,10 @@ class AssetsService {
|
|
|
3164
3357
|
if (localVarHttpContext === undefined) {
|
|
3165
3358
|
localVarHttpContext = new HttpContext();
|
|
3166
3359
|
}
|
|
3360
|
+
let localVarTransferCache = options && options.transferCache;
|
|
3361
|
+
if (localVarTransferCache === undefined) {
|
|
3362
|
+
localVarTransferCache = true;
|
|
3363
|
+
}
|
|
3167
3364
|
let responseType_ = 'json';
|
|
3168
3365
|
if (localVarHttpHeaderAcceptSelected) {
|
|
3169
3366
|
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
@@ -3183,6 +3380,7 @@ class AssetsService {
|
|
|
3183
3380
|
withCredentials: this.configuration.withCredentials,
|
|
3184
3381
|
headers: localVarHeaders,
|
|
3185
3382
|
observe: observe,
|
|
3383
|
+
transferCache: localVarTransferCache,
|
|
3186
3384
|
reportProgress: reportProgress
|
|
3187
3385
|
});
|
|
3188
3386
|
}
|
|
@@ -3212,6 +3410,10 @@ class AssetsService {
|
|
|
3212
3410
|
if (localVarHttpContext === undefined) {
|
|
3213
3411
|
localVarHttpContext = new HttpContext();
|
|
3214
3412
|
}
|
|
3413
|
+
let localVarTransferCache = options && options.transferCache;
|
|
3414
|
+
if (localVarTransferCache === undefined) {
|
|
3415
|
+
localVarTransferCache = true;
|
|
3416
|
+
}
|
|
3215
3417
|
let responseType_ = 'json';
|
|
3216
3418
|
if (localVarHttpHeaderAcceptSelected) {
|
|
3217
3419
|
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
@@ -3231,6 +3433,7 @@ class AssetsService {
|
|
|
3231
3433
|
withCredentials: this.configuration.withCredentials,
|
|
3232
3434
|
headers: localVarHeaders,
|
|
3233
3435
|
observe: observe,
|
|
3436
|
+
transferCache: localVarTransferCache,
|
|
3234
3437
|
reportProgress: reportProgress
|
|
3235
3438
|
});
|
|
3236
3439
|
}
|
|
@@ -3260,6 +3463,10 @@ class AssetsService {
|
|
|
3260
3463
|
if (localVarHttpContext === undefined) {
|
|
3261
3464
|
localVarHttpContext = new HttpContext();
|
|
3262
3465
|
}
|
|
3466
|
+
let localVarTransferCache = options && options.transferCache;
|
|
3467
|
+
if (localVarTransferCache === undefined) {
|
|
3468
|
+
localVarTransferCache = true;
|
|
3469
|
+
}
|
|
3263
3470
|
let responseType_ = 'json';
|
|
3264
3471
|
if (localVarHttpHeaderAcceptSelected) {
|
|
3265
3472
|
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
@@ -3279,6 +3486,7 @@ class AssetsService {
|
|
|
3279
3486
|
withCredentials: this.configuration.withCredentials,
|
|
3280
3487
|
headers: localVarHeaders,
|
|
3281
3488
|
observe: observe,
|
|
3489
|
+
transferCache: localVarTransferCache,
|
|
3282
3490
|
reportProgress: reportProgress
|
|
3283
3491
|
});
|
|
3284
3492
|
}
|
|
@@ -3308,6 +3516,10 @@ class AssetsService {
|
|
|
3308
3516
|
if (localVarHttpContext === undefined) {
|
|
3309
3517
|
localVarHttpContext = new HttpContext();
|
|
3310
3518
|
}
|
|
3519
|
+
let localVarTransferCache = options && options.transferCache;
|
|
3520
|
+
if (localVarTransferCache === undefined) {
|
|
3521
|
+
localVarTransferCache = true;
|
|
3522
|
+
}
|
|
3311
3523
|
let responseType_ = 'json';
|
|
3312
3524
|
if (localVarHttpHeaderAcceptSelected) {
|
|
3313
3525
|
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
@@ -3327,6 +3539,7 @@ class AssetsService {
|
|
|
3327
3539
|
withCredentials: this.configuration.withCredentials,
|
|
3328
3540
|
headers: localVarHeaders,
|
|
3329
3541
|
observe: observe,
|
|
3542
|
+
transferCache: localVarTransferCache,
|
|
3330
3543
|
reportProgress: reportProgress
|
|
3331
3544
|
});
|
|
3332
3545
|
}
|
|
@@ -3356,6 +3569,10 @@ class AssetsService {
|
|
|
3356
3569
|
if (localVarHttpContext === undefined) {
|
|
3357
3570
|
localVarHttpContext = new HttpContext();
|
|
3358
3571
|
}
|
|
3572
|
+
let localVarTransferCache = options && options.transferCache;
|
|
3573
|
+
if (localVarTransferCache === undefined) {
|
|
3574
|
+
localVarTransferCache = true;
|
|
3575
|
+
}
|
|
3359
3576
|
let responseType_ = 'json';
|
|
3360
3577
|
if (localVarHttpHeaderAcceptSelected) {
|
|
3361
3578
|
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
@@ -3375,6 +3592,7 @@ class AssetsService {
|
|
|
3375
3592
|
withCredentials: this.configuration.withCredentials,
|
|
3376
3593
|
headers: localVarHeaders,
|
|
3377
3594
|
observe: observe,
|
|
3595
|
+
transferCache: localVarTransferCache,
|
|
3378
3596
|
reportProgress: reportProgress
|
|
3379
3597
|
});
|
|
3380
3598
|
}
|
|
@@ -3404,6 +3622,10 @@ class AssetsService {
|
|
|
3404
3622
|
if (localVarHttpContext === undefined) {
|
|
3405
3623
|
localVarHttpContext = new HttpContext();
|
|
3406
3624
|
}
|
|
3625
|
+
let localVarTransferCache = options && options.transferCache;
|
|
3626
|
+
if (localVarTransferCache === undefined) {
|
|
3627
|
+
localVarTransferCache = true;
|
|
3628
|
+
}
|
|
3407
3629
|
let responseType_ = 'json';
|
|
3408
3630
|
if (localVarHttpHeaderAcceptSelected) {
|
|
3409
3631
|
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
@@ -3423,6 +3645,7 @@ class AssetsService {
|
|
|
3423
3645
|
withCredentials: this.configuration.withCredentials,
|
|
3424
3646
|
headers: localVarHeaders,
|
|
3425
3647
|
observe: observe,
|
|
3648
|
+
transferCache: localVarTransferCache,
|
|
3426
3649
|
reportProgress: reportProgress
|
|
3427
3650
|
});
|
|
3428
3651
|
}
|
|
@@ -3452,6 +3675,10 @@ class AssetsService {
|
|
|
3452
3675
|
if (localVarHttpContext === undefined) {
|
|
3453
3676
|
localVarHttpContext = new HttpContext();
|
|
3454
3677
|
}
|
|
3678
|
+
let localVarTransferCache = options && options.transferCache;
|
|
3679
|
+
if (localVarTransferCache === undefined) {
|
|
3680
|
+
localVarTransferCache = true;
|
|
3681
|
+
}
|
|
3455
3682
|
// to determine the Content-Type header
|
|
3456
3683
|
const consumes = [
|
|
3457
3684
|
'application/json'
|
|
@@ -3480,6 +3707,7 @@ class AssetsService {
|
|
|
3480
3707
|
withCredentials: this.configuration.withCredentials,
|
|
3481
3708
|
headers: localVarHeaders,
|
|
3482
3709
|
observe: observe,
|
|
3710
|
+
transferCache: localVarTransferCache,
|
|
3483
3711
|
reportProgress: reportProgress
|
|
3484
3712
|
});
|
|
3485
3713
|
}
|
|
@@ -3509,6 +3737,10 @@ class AssetsService {
|
|
|
3509
3737
|
if (localVarHttpContext === undefined) {
|
|
3510
3738
|
localVarHttpContext = new HttpContext();
|
|
3511
3739
|
}
|
|
3740
|
+
let localVarTransferCache = options && options.transferCache;
|
|
3741
|
+
if (localVarTransferCache === undefined) {
|
|
3742
|
+
localVarTransferCache = true;
|
|
3743
|
+
}
|
|
3512
3744
|
// to determine the Content-Type header
|
|
3513
3745
|
const consumes = [
|
|
3514
3746
|
'application/json'
|
|
@@ -3537,6 +3769,7 @@ class AssetsService {
|
|
|
3537
3769
|
withCredentials: this.configuration.withCredentials,
|
|
3538
3770
|
headers: localVarHeaders,
|
|
3539
3771
|
observe: observe,
|
|
3772
|
+
transferCache: localVarTransferCache,
|
|
3540
3773
|
reportProgress: reportProgress
|
|
3541
3774
|
});
|
|
3542
3775
|
}
|
|
@@ -3566,6 +3799,10 @@ class AssetsService {
|
|
|
3566
3799
|
if (localVarHttpContext === undefined) {
|
|
3567
3800
|
localVarHttpContext = new HttpContext();
|
|
3568
3801
|
}
|
|
3802
|
+
let localVarTransferCache = options && options.transferCache;
|
|
3803
|
+
if (localVarTransferCache === undefined) {
|
|
3804
|
+
localVarTransferCache = true;
|
|
3805
|
+
}
|
|
3569
3806
|
// to determine the Content-Type header
|
|
3570
3807
|
const consumes = [
|
|
3571
3808
|
'application/json'
|
|
@@ -3594,6 +3831,7 @@ class AssetsService {
|
|
|
3594
3831
|
withCredentials: this.configuration.withCredentials,
|
|
3595
3832
|
headers: localVarHeaders,
|
|
3596
3833
|
observe: observe,
|
|
3834
|
+
transferCache: localVarTransferCache,
|
|
3597
3835
|
reportProgress: reportProgress
|
|
3598
3836
|
});
|
|
3599
3837
|
}
|
|
@@ -3623,6 +3861,10 @@ class AssetsService {
|
|
|
3623
3861
|
if (localVarHttpContext === undefined) {
|
|
3624
3862
|
localVarHttpContext = new HttpContext();
|
|
3625
3863
|
}
|
|
3864
|
+
let localVarTransferCache = options && options.transferCache;
|
|
3865
|
+
if (localVarTransferCache === undefined) {
|
|
3866
|
+
localVarTransferCache = true;
|
|
3867
|
+
}
|
|
3626
3868
|
// to determine the Content-Type header
|
|
3627
3869
|
const consumes = [
|
|
3628
3870
|
'application/json'
|
|
@@ -3651,6 +3893,7 @@ class AssetsService {
|
|
|
3651
3893
|
withCredentials: this.configuration.withCredentials,
|
|
3652
3894
|
headers: localVarHeaders,
|
|
3653
3895
|
observe: observe,
|
|
3896
|
+
transferCache: localVarTransferCache,
|
|
3654
3897
|
reportProgress: reportProgress
|
|
3655
3898
|
});
|
|
3656
3899
|
}
|
|
@@ -3680,6 +3923,10 @@ class AssetsService {
|
|
|
3680
3923
|
if (localVarHttpContext === undefined) {
|
|
3681
3924
|
localVarHttpContext = new HttpContext();
|
|
3682
3925
|
}
|
|
3926
|
+
let localVarTransferCache = options && options.transferCache;
|
|
3927
|
+
if (localVarTransferCache === undefined) {
|
|
3928
|
+
localVarTransferCache = true;
|
|
3929
|
+
}
|
|
3683
3930
|
// to determine the Content-Type header
|
|
3684
3931
|
const consumes = [
|
|
3685
3932
|
'application/json'
|
|
@@ -3708,6 +3955,7 @@ class AssetsService {
|
|
|
3708
3955
|
withCredentials: this.configuration.withCredentials,
|
|
3709
3956
|
headers: localVarHeaders,
|
|
3710
3957
|
observe: observe,
|
|
3958
|
+
transferCache: localVarTransferCache,
|
|
3711
3959
|
reportProgress: reportProgress
|
|
3712
3960
|
});
|
|
3713
3961
|
}
|
|
@@ -3737,6 +3985,10 @@ class AssetsService {
|
|
|
3737
3985
|
if (localVarHttpContext === undefined) {
|
|
3738
3986
|
localVarHttpContext = new HttpContext();
|
|
3739
3987
|
}
|
|
3988
|
+
let localVarTransferCache = options && options.transferCache;
|
|
3989
|
+
if (localVarTransferCache === undefined) {
|
|
3990
|
+
localVarTransferCache = true;
|
|
3991
|
+
}
|
|
3740
3992
|
// to determine the Content-Type header
|
|
3741
3993
|
const consumes = [
|
|
3742
3994
|
'application/json'
|
|
@@ -3765,6 +4017,7 @@ class AssetsService {
|
|
|
3765
4017
|
withCredentials: this.configuration.withCredentials,
|
|
3766
4018
|
headers: localVarHeaders,
|
|
3767
4019
|
observe: observe,
|
|
4020
|
+
transferCache: localVarTransferCache,
|
|
3768
4021
|
reportProgress: reportProgress
|
|
3769
4022
|
});
|
|
3770
4023
|
}
|
|
@@ -3794,6 +4047,10 @@ class AssetsService {
|
|
|
3794
4047
|
if (localVarHttpContext === undefined) {
|
|
3795
4048
|
localVarHttpContext = new HttpContext();
|
|
3796
4049
|
}
|
|
4050
|
+
let localVarTransferCache = options && options.transferCache;
|
|
4051
|
+
if (localVarTransferCache === undefined) {
|
|
4052
|
+
localVarTransferCache = true;
|
|
4053
|
+
}
|
|
3797
4054
|
// to determine the Content-Type header
|
|
3798
4055
|
const consumes = [
|
|
3799
4056
|
'application/json'
|
|
@@ -3822,6 +4079,7 @@ class AssetsService {
|
|
|
3822
4079
|
withCredentials: this.configuration.withCredentials,
|
|
3823
4080
|
headers: localVarHeaders,
|
|
3824
4081
|
observe: observe,
|
|
4082
|
+
transferCache: localVarTransferCache,
|
|
3825
4083
|
reportProgress: reportProgress
|
|
3826
4084
|
});
|
|
3827
4085
|
}
|
|
@@ -3851,6 +4109,10 @@ class AssetsService {
|
|
|
3851
4109
|
if (localVarHttpContext === undefined) {
|
|
3852
4110
|
localVarHttpContext = new HttpContext();
|
|
3853
4111
|
}
|
|
4112
|
+
let localVarTransferCache = options && options.transferCache;
|
|
4113
|
+
if (localVarTransferCache === undefined) {
|
|
4114
|
+
localVarTransferCache = true;
|
|
4115
|
+
}
|
|
3854
4116
|
// to determine the Content-Type header
|
|
3855
4117
|
const consumes = [
|
|
3856
4118
|
'application/json'
|
|
@@ -3879,6 +4141,7 @@ class AssetsService {
|
|
|
3879
4141
|
withCredentials: this.configuration.withCredentials,
|
|
3880
4142
|
headers: localVarHeaders,
|
|
3881
4143
|
observe: observe,
|
|
4144
|
+
transferCache: localVarTransferCache,
|
|
3882
4145
|
reportProgress: reportProgress
|
|
3883
4146
|
});
|
|
3884
4147
|
}
|
|
@@ -3908,6 +4171,10 @@ class AssetsService {
|
|
|
3908
4171
|
if (localVarHttpContext === undefined) {
|
|
3909
4172
|
localVarHttpContext = new HttpContext();
|
|
3910
4173
|
}
|
|
4174
|
+
let localVarTransferCache = options && options.transferCache;
|
|
4175
|
+
if (localVarTransferCache === undefined) {
|
|
4176
|
+
localVarTransferCache = true;
|
|
4177
|
+
}
|
|
3911
4178
|
// to determine the Content-Type header
|
|
3912
4179
|
const consumes = [
|
|
3913
4180
|
'application/json'
|
|
@@ -3936,6 +4203,7 @@ class AssetsService {
|
|
|
3936
4203
|
withCredentials: this.configuration.withCredentials,
|
|
3937
4204
|
headers: localVarHeaders,
|
|
3938
4205
|
observe: observe,
|
|
4206
|
+
transferCache: localVarTransferCache,
|
|
3939
4207
|
reportProgress: reportProgress
|
|
3940
4208
|
});
|
|
3941
4209
|
}
|
|
@@ -3965,6 +4233,10 @@ class AssetsService {
|
|
|
3965
4233
|
if (localVarHttpContext === undefined) {
|
|
3966
4234
|
localVarHttpContext = new HttpContext();
|
|
3967
4235
|
}
|
|
4236
|
+
let localVarTransferCache = options && options.transferCache;
|
|
4237
|
+
if (localVarTransferCache === undefined) {
|
|
4238
|
+
localVarTransferCache = true;
|
|
4239
|
+
}
|
|
3968
4240
|
// to determine the Content-Type header
|
|
3969
4241
|
const consumes = [
|
|
3970
4242
|
'application/json'
|
|
@@ -3993,6 +4265,7 @@ class AssetsService {
|
|
|
3993
4265
|
withCredentials: this.configuration.withCredentials,
|
|
3994
4266
|
headers: localVarHeaders,
|
|
3995
4267
|
observe: observe,
|
|
4268
|
+
transferCache: localVarTransferCache,
|
|
3996
4269
|
reportProgress: reportProgress
|
|
3997
4270
|
});
|
|
3998
4271
|
}
|
|
@@ -4022,6 +4295,10 @@ class AssetsService {
|
|
|
4022
4295
|
if (localVarHttpContext === undefined) {
|
|
4023
4296
|
localVarHttpContext = new HttpContext();
|
|
4024
4297
|
}
|
|
4298
|
+
let localVarTransferCache = options && options.transferCache;
|
|
4299
|
+
if (localVarTransferCache === undefined) {
|
|
4300
|
+
localVarTransferCache = true;
|
|
4301
|
+
}
|
|
4025
4302
|
// to determine the Content-Type header
|
|
4026
4303
|
const consumes = [
|
|
4027
4304
|
'application/json'
|
|
@@ -4050,6 +4327,7 @@ class AssetsService {
|
|
|
4050
4327
|
withCredentials: this.configuration.withCredentials,
|
|
4051
4328
|
headers: localVarHeaders,
|
|
4052
4329
|
observe: observe,
|
|
4330
|
+
transferCache: localVarTransferCache,
|
|
4053
4331
|
reportProgress: reportProgress
|
|
4054
4332
|
});
|
|
4055
4333
|
}
|
|
@@ -4079,6 +4357,10 @@ class AssetsService {
|
|
|
4079
4357
|
if (localVarHttpContext === undefined) {
|
|
4080
4358
|
localVarHttpContext = new HttpContext();
|
|
4081
4359
|
}
|
|
4360
|
+
let localVarTransferCache = options && options.transferCache;
|
|
4361
|
+
if (localVarTransferCache === undefined) {
|
|
4362
|
+
localVarTransferCache = true;
|
|
4363
|
+
}
|
|
4082
4364
|
// to determine the Content-Type header
|
|
4083
4365
|
const consumes = [
|
|
4084
4366
|
'application/json'
|
|
@@ -4107,6 +4389,7 @@ class AssetsService {
|
|
|
4107
4389
|
withCredentials: this.configuration.withCredentials,
|
|
4108
4390
|
headers: localVarHeaders,
|
|
4109
4391
|
observe: observe,
|
|
4392
|
+
transferCache: localVarTransferCache,
|
|
4110
4393
|
reportProgress: reportProgress
|
|
4111
4394
|
});
|
|
4112
4395
|
}
|
|
@@ -4149,8 +4432,9 @@ class AutoTaggingImageSettingsService {
|
|
|
4149
4432
|
this.configuration = configuration;
|
|
4150
4433
|
}
|
|
4151
4434
|
if (typeof this.configuration.basePath !== 'string') {
|
|
4152
|
-
|
|
4153
|
-
|
|
4435
|
+
const firstBasePath = Array.isArray(basePath) ? basePath[0] : undefined;
|
|
4436
|
+
if (firstBasePath != undefined) {
|
|
4437
|
+
basePath = firstBasePath;
|
|
4154
4438
|
}
|
|
4155
4439
|
if (typeof basePath !== 'string') {
|
|
4156
4440
|
basePath = this.basePath;
|
|
@@ -4220,6 +4504,10 @@ class AutoTaggingImageSettingsService {
|
|
|
4220
4504
|
if (localVarHttpContext === undefined) {
|
|
4221
4505
|
localVarHttpContext = new HttpContext();
|
|
4222
4506
|
}
|
|
4507
|
+
let localVarTransferCache = options && options.transferCache;
|
|
4508
|
+
if (localVarTransferCache === undefined) {
|
|
4509
|
+
localVarTransferCache = true;
|
|
4510
|
+
}
|
|
4223
4511
|
let responseType_ = 'json';
|
|
4224
4512
|
if (localVarHttpHeaderAcceptSelected) {
|
|
4225
4513
|
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
@@ -4239,6 +4527,7 @@ class AutoTaggingImageSettingsService {
|
|
|
4239
4527
|
withCredentials: this.configuration.withCredentials,
|
|
4240
4528
|
headers: localVarHeaders,
|
|
4241
4529
|
observe: observe,
|
|
4530
|
+
transferCache: localVarTransferCache,
|
|
4242
4531
|
reportProgress: reportProgress
|
|
4243
4532
|
});
|
|
4244
4533
|
}
|
|
@@ -4268,6 +4557,10 @@ class AutoTaggingImageSettingsService {
|
|
|
4268
4557
|
if (localVarHttpContext === undefined) {
|
|
4269
4558
|
localVarHttpContext = new HttpContext();
|
|
4270
4559
|
}
|
|
4560
|
+
let localVarTransferCache = options && options.transferCache;
|
|
4561
|
+
if (localVarTransferCache === undefined) {
|
|
4562
|
+
localVarTransferCache = true;
|
|
4563
|
+
}
|
|
4271
4564
|
// to determine the Content-Type header
|
|
4272
4565
|
const consumes = [
|
|
4273
4566
|
'application/json'
|
|
@@ -4296,6 +4589,7 @@ class AutoTaggingImageSettingsService {
|
|
|
4296
4589
|
withCredentials: this.configuration.withCredentials,
|
|
4297
4590
|
headers: localVarHeaders,
|
|
4298
4591
|
observe: observe,
|
|
4592
|
+
transferCache: localVarTransferCache,
|
|
4299
4593
|
reportProgress: reportProgress
|
|
4300
4594
|
});
|
|
4301
4595
|
}
|
|
@@ -4338,8 +4632,9 @@ class CloudConnectionsService {
|
|
|
4338
4632
|
this.configuration = configuration;
|
|
4339
4633
|
}
|
|
4340
4634
|
if (typeof this.configuration.basePath !== 'string') {
|
|
4341
|
-
|
|
4342
|
-
|
|
4635
|
+
const firstBasePath = Array.isArray(basePath) ? basePath[0] : undefined;
|
|
4636
|
+
if (firstBasePath != undefined) {
|
|
4637
|
+
basePath = firstBasePath;
|
|
4343
4638
|
}
|
|
4344
4639
|
if (typeof basePath !== 'string') {
|
|
4345
4640
|
basePath = this.basePath;
|
|
@@ -4412,6 +4707,10 @@ class CloudConnectionsService {
|
|
|
4412
4707
|
if (localVarHttpContext === undefined) {
|
|
4413
4708
|
localVarHttpContext = new HttpContext();
|
|
4414
4709
|
}
|
|
4710
|
+
let localVarTransferCache = options && options.transferCache;
|
|
4711
|
+
if (localVarTransferCache === undefined) {
|
|
4712
|
+
localVarTransferCache = true;
|
|
4713
|
+
}
|
|
4415
4714
|
let responseType_ = 'json';
|
|
4416
4715
|
if (localVarHttpHeaderAcceptSelected) {
|
|
4417
4716
|
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
@@ -4431,6 +4730,7 @@ class CloudConnectionsService {
|
|
|
4431
4730
|
withCredentials: this.configuration.withCredentials,
|
|
4432
4731
|
headers: localVarHeaders,
|
|
4433
4732
|
observe: observe,
|
|
4733
|
+
transferCache: localVarTransferCache,
|
|
4434
4734
|
reportProgress: reportProgress
|
|
4435
4735
|
});
|
|
4436
4736
|
}
|
|
@@ -4460,6 +4760,10 @@ class CloudConnectionsService {
|
|
|
4460
4760
|
if (localVarHttpContext === undefined) {
|
|
4461
4761
|
localVarHttpContext = new HttpContext();
|
|
4462
4762
|
}
|
|
4763
|
+
let localVarTransferCache = options && options.transferCache;
|
|
4764
|
+
if (localVarTransferCache === undefined) {
|
|
4765
|
+
localVarTransferCache = true;
|
|
4766
|
+
}
|
|
4463
4767
|
let responseType_ = 'json';
|
|
4464
4768
|
if (localVarHttpHeaderAcceptSelected) {
|
|
4465
4769
|
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
@@ -4479,6 +4783,7 @@ class CloudConnectionsService {
|
|
|
4479
4783
|
withCredentials: this.configuration.withCredentials,
|
|
4480
4784
|
headers: localVarHeaders,
|
|
4481
4785
|
observe: observe,
|
|
4786
|
+
transferCache: localVarTransferCache,
|
|
4482
4787
|
reportProgress: reportProgress
|
|
4483
4788
|
});
|
|
4484
4789
|
}
|
|
@@ -4505,6 +4810,10 @@ class CloudConnectionsService {
|
|
|
4505
4810
|
if (localVarHttpContext === undefined) {
|
|
4506
4811
|
localVarHttpContext = new HttpContext();
|
|
4507
4812
|
}
|
|
4813
|
+
let localVarTransferCache = options && options.transferCache;
|
|
4814
|
+
if (localVarTransferCache === undefined) {
|
|
4815
|
+
localVarTransferCache = true;
|
|
4816
|
+
}
|
|
4508
4817
|
let responseType_ = 'json';
|
|
4509
4818
|
if (localVarHttpHeaderAcceptSelected) {
|
|
4510
4819
|
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
@@ -4524,6 +4833,7 @@ class CloudConnectionsService {
|
|
|
4524
4833
|
withCredentials: this.configuration.withCredentials,
|
|
4525
4834
|
headers: localVarHeaders,
|
|
4526
4835
|
observe: observe,
|
|
4836
|
+
transferCache: localVarTransferCache,
|
|
4527
4837
|
reportProgress: reportProgress
|
|
4528
4838
|
});
|
|
4529
4839
|
}
|
|
@@ -4544,6 +4854,10 @@ class CloudConnectionsService {
|
|
|
4544
4854
|
if (localVarHttpContext === undefined) {
|
|
4545
4855
|
localVarHttpContext = new HttpContext();
|
|
4546
4856
|
}
|
|
4857
|
+
let localVarTransferCache = options && options.transferCache;
|
|
4858
|
+
if (localVarTransferCache === undefined) {
|
|
4859
|
+
localVarTransferCache = true;
|
|
4860
|
+
}
|
|
4547
4861
|
let responseType_ = 'json';
|
|
4548
4862
|
if (localVarHttpHeaderAcceptSelected) {
|
|
4549
4863
|
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
@@ -4563,6 +4877,7 @@ class CloudConnectionsService {
|
|
|
4563
4877
|
withCredentials: this.configuration.withCredentials,
|
|
4564
4878
|
headers: localVarHeaders,
|
|
4565
4879
|
observe: observe,
|
|
4880
|
+
transferCache: localVarTransferCache,
|
|
4566
4881
|
reportProgress: reportProgress
|
|
4567
4882
|
});
|
|
4568
4883
|
}
|
|
@@ -4592,6 +4907,10 @@ class CloudConnectionsService {
|
|
|
4592
4907
|
if (localVarHttpContext === undefined) {
|
|
4593
4908
|
localVarHttpContext = new HttpContext();
|
|
4594
4909
|
}
|
|
4910
|
+
let localVarTransferCache = options && options.transferCache;
|
|
4911
|
+
if (localVarTransferCache === undefined) {
|
|
4912
|
+
localVarTransferCache = true;
|
|
4913
|
+
}
|
|
4595
4914
|
// to determine the Content-Type header
|
|
4596
4915
|
const consumes = [
|
|
4597
4916
|
'application/json'
|
|
@@ -4620,6 +4939,7 @@ class CloudConnectionsService {
|
|
|
4620
4939
|
withCredentials: this.configuration.withCredentials,
|
|
4621
4940
|
headers: localVarHeaders,
|
|
4622
4941
|
observe: observe,
|
|
4942
|
+
transferCache: localVarTransferCache,
|
|
4623
4943
|
reportProgress: reportProgress
|
|
4624
4944
|
});
|
|
4625
4945
|
}
|
|
@@ -4662,8 +4982,9 @@ class CloudImportJobsService {
|
|
|
4662
4982
|
this.configuration = configuration;
|
|
4663
4983
|
}
|
|
4664
4984
|
if (typeof this.configuration.basePath !== 'string') {
|
|
4665
|
-
|
|
4666
|
-
|
|
4985
|
+
const firstBasePath = Array.isArray(basePath) ? basePath[0] : undefined;
|
|
4986
|
+
if (firstBasePath != undefined) {
|
|
4987
|
+
basePath = firstBasePath;
|
|
4667
4988
|
}
|
|
4668
4989
|
if (typeof basePath !== 'string') {
|
|
4669
4990
|
basePath = this.basePath;
|
|
@@ -4736,6 +5057,10 @@ class CloudImportJobsService {
|
|
|
4736
5057
|
if (localVarHttpContext === undefined) {
|
|
4737
5058
|
localVarHttpContext = new HttpContext();
|
|
4738
5059
|
}
|
|
5060
|
+
let localVarTransferCache = options && options.transferCache;
|
|
5061
|
+
if (localVarTransferCache === undefined) {
|
|
5062
|
+
localVarTransferCache = true;
|
|
5063
|
+
}
|
|
4739
5064
|
let responseType_ = 'json';
|
|
4740
5065
|
if (localVarHttpHeaderAcceptSelected) {
|
|
4741
5066
|
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
@@ -4755,6 +5080,7 @@ class CloudImportJobsService {
|
|
|
4755
5080
|
withCredentials: this.configuration.withCredentials,
|
|
4756
5081
|
headers: localVarHeaders,
|
|
4757
5082
|
observe: observe,
|
|
5083
|
+
transferCache: localVarTransferCache,
|
|
4758
5084
|
reportProgress: reportProgress
|
|
4759
5085
|
});
|
|
4760
5086
|
}
|
|
@@ -4784,6 +5110,10 @@ class CloudImportJobsService {
|
|
|
4784
5110
|
if (localVarHttpContext === undefined) {
|
|
4785
5111
|
localVarHttpContext = new HttpContext();
|
|
4786
5112
|
}
|
|
5113
|
+
let localVarTransferCache = options && options.transferCache;
|
|
5114
|
+
if (localVarTransferCache === undefined) {
|
|
5115
|
+
localVarTransferCache = true;
|
|
5116
|
+
}
|
|
4787
5117
|
let responseType_ = 'json';
|
|
4788
5118
|
if (localVarHttpHeaderAcceptSelected) {
|
|
4789
5119
|
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
@@ -4803,6 +5133,7 @@ class CloudImportJobsService {
|
|
|
4803
5133
|
withCredentials: this.configuration.withCredentials,
|
|
4804
5134
|
headers: localVarHeaders,
|
|
4805
5135
|
observe: observe,
|
|
5136
|
+
transferCache: localVarTransferCache,
|
|
4806
5137
|
reportProgress: reportProgress
|
|
4807
5138
|
});
|
|
4808
5139
|
}
|
|
@@ -4833,6 +5164,10 @@ class CloudImportJobsService {
|
|
|
4833
5164
|
if (localVarHttpContext === undefined) {
|
|
4834
5165
|
localVarHttpContext = new HttpContext();
|
|
4835
5166
|
}
|
|
5167
|
+
let localVarTransferCache = options && options.transferCache;
|
|
5168
|
+
if (localVarTransferCache === undefined) {
|
|
5169
|
+
localVarTransferCache = true;
|
|
5170
|
+
}
|
|
4836
5171
|
let responseType_ = 'json';
|
|
4837
5172
|
if (localVarHttpHeaderAcceptSelected) {
|
|
4838
5173
|
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
@@ -4853,6 +5188,7 @@ class CloudImportJobsService {
|
|
|
4853
5188
|
withCredentials: this.configuration.withCredentials,
|
|
4854
5189
|
headers: localVarHeaders,
|
|
4855
5190
|
observe: observe,
|
|
5191
|
+
transferCache: localVarTransferCache,
|
|
4856
5192
|
reportProgress: reportProgress
|
|
4857
5193
|
});
|
|
4858
5194
|
}
|
|
@@ -4885,6 +5221,10 @@ class CloudImportJobsService {
|
|
|
4885
5221
|
if (localVarHttpContext === undefined) {
|
|
4886
5222
|
localVarHttpContext = new HttpContext();
|
|
4887
5223
|
}
|
|
5224
|
+
let localVarTransferCache = options && options.transferCache;
|
|
5225
|
+
if (localVarTransferCache === undefined) {
|
|
5226
|
+
localVarTransferCache = true;
|
|
5227
|
+
}
|
|
4888
5228
|
// to determine the Content-Type header
|
|
4889
5229
|
const consumes = [
|
|
4890
5230
|
'application/json'
|
|
@@ -4913,6 +5253,7 @@ class CloudImportJobsService {
|
|
|
4913
5253
|
withCredentials: this.configuration.withCredentials,
|
|
4914
5254
|
headers: localVarHeaders,
|
|
4915
5255
|
observe: observe,
|
|
5256
|
+
transferCache: localVarTransferCache,
|
|
4916
5257
|
reportProgress: reportProgress
|
|
4917
5258
|
});
|
|
4918
5259
|
}
|
|
@@ -4942,6 +5283,10 @@ class CloudImportJobsService {
|
|
|
4942
5283
|
if (localVarHttpContext === undefined) {
|
|
4943
5284
|
localVarHttpContext = new HttpContext();
|
|
4944
5285
|
}
|
|
5286
|
+
let localVarTransferCache = options && options.transferCache;
|
|
5287
|
+
if (localVarTransferCache === undefined) {
|
|
5288
|
+
localVarTransferCache = true;
|
|
5289
|
+
}
|
|
4945
5290
|
// to determine the Content-Type header
|
|
4946
5291
|
const consumes = [
|
|
4947
5292
|
'application/json'
|
|
@@ -4970,6 +5315,7 @@ class CloudImportJobsService {
|
|
|
4970
5315
|
withCredentials: this.configuration.withCredentials,
|
|
4971
5316
|
headers: localVarHeaders,
|
|
4972
5317
|
observe: observe,
|
|
5318
|
+
transferCache: localVarTransferCache,
|
|
4973
5319
|
reportProgress: reportProgress
|
|
4974
5320
|
});
|
|
4975
5321
|
}
|
|
@@ -5012,8 +5358,9 @@ class CloudObjectsService {
|
|
|
5012
5358
|
this.configuration = configuration;
|
|
5013
5359
|
}
|
|
5014
5360
|
if (typeof this.configuration.basePath !== 'string') {
|
|
5015
|
-
|
|
5016
|
-
|
|
5361
|
+
const firstBasePath = Array.isArray(basePath) ? basePath[0] : undefined;
|
|
5362
|
+
if (firstBasePath != undefined) {
|
|
5363
|
+
basePath = firstBasePath;
|
|
5017
5364
|
}
|
|
5018
5365
|
if (typeof basePath !== 'string') {
|
|
5019
5366
|
basePath = this.basePath;
|
|
@@ -5089,6 +5436,10 @@ class CloudObjectsService {
|
|
|
5089
5436
|
if (localVarHttpContext === undefined) {
|
|
5090
5437
|
localVarHttpContext = new HttpContext();
|
|
5091
5438
|
}
|
|
5439
|
+
let localVarTransferCache = options && options.transferCache;
|
|
5440
|
+
if (localVarTransferCache === undefined) {
|
|
5441
|
+
localVarTransferCache = true;
|
|
5442
|
+
}
|
|
5092
5443
|
let responseType_ = 'json';
|
|
5093
5444
|
if (localVarHttpHeaderAcceptSelected) {
|
|
5094
5445
|
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
@@ -5108,6 +5459,7 @@ class CloudObjectsService {
|
|
|
5108
5459
|
withCredentials: this.configuration.withCredentials,
|
|
5109
5460
|
headers: localVarHeaders,
|
|
5110
5461
|
observe: observe,
|
|
5462
|
+
transferCache: localVarTransferCache,
|
|
5111
5463
|
reportProgress: reportProgress
|
|
5112
5464
|
});
|
|
5113
5465
|
}
|
|
@@ -5137,6 +5489,10 @@ class CloudObjectsService {
|
|
|
5137
5489
|
if (localVarHttpContext === undefined) {
|
|
5138
5490
|
localVarHttpContext = new HttpContext();
|
|
5139
5491
|
}
|
|
5492
|
+
let localVarTransferCache = options && options.transferCache;
|
|
5493
|
+
if (localVarTransferCache === undefined) {
|
|
5494
|
+
localVarTransferCache = true;
|
|
5495
|
+
}
|
|
5140
5496
|
// to determine the Content-Type header
|
|
5141
5497
|
const consumes = [
|
|
5142
5498
|
'application/json'
|
|
@@ -5165,6 +5521,7 @@ class CloudObjectsService {
|
|
|
5165
5521
|
withCredentials: this.configuration.withCredentials,
|
|
5166
5522
|
headers: localVarHeaders,
|
|
5167
5523
|
observe: observe,
|
|
5524
|
+
transferCache: localVarTransferCache,
|
|
5168
5525
|
reportProgress: reportProgress
|
|
5169
5526
|
});
|
|
5170
5527
|
}
|
|
@@ -5207,8 +5564,9 @@ class CollectionShareAccessTokensService {
|
|
|
5207
5564
|
this.configuration = configuration;
|
|
5208
5565
|
}
|
|
5209
5566
|
if (typeof this.configuration.basePath !== 'string') {
|
|
5210
|
-
|
|
5211
|
-
|
|
5567
|
+
const firstBasePath = Array.isArray(basePath) ? basePath[0] : undefined;
|
|
5568
|
+
if (firstBasePath != undefined) {
|
|
5569
|
+
basePath = firstBasePath;
|
|
5212
5570
|
}
|
|
5213
5571
|
if (typeof basePath !== 'string') {
|
|
5214
5572
|
basePath = this.basePath;
|
|
@@ -5275,6 +5633,10 @@ class CollectionShareAccessTokensService {
|
|
|
5275
5633
|
if (localVarHttpContext === undefined) {
|
|
5276
5634
|
localVarHttpContext = new HttpContext();
|
|
5277
5635
|
}
|
|
5636
|
+
let localVarTransferCache = options && options.transferCache;
|
|
5637
|
+
if (localVarTransferCache === undefined) {
|
|
5638
|
+
localVarTransferCache = true;
|
|
5639
|
+
}
|
|
5278
5640
|
let responseType_ = 'json';
|
|
5279
5641
|
if (localVarHttpHeaderAcceptSelected) {
|
|
5280
5642
|
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
@@ -5294,6 +5656,7 @@ class CollectionShareAccessTokensService {
|
|
|
5294
5656
|
withCredentials: this.configuration.withCredentials,
|
|
5295
5657
|
headers: localVarHeaders,
|
|
5296
5658
|
observe: observe,
|
|
5659
|
+
transferCache: localVarTransferCache,
|
|
5297
5660
|
reportProgress: reportProgress
|
|
5298
5661
|
});
|
|
5299
5662
|
}
|
|
@@ -5336,8 +5699,9 @@ class CollectionSharesService {
|
|
|
5336
5699
|
this.configuration = configuration;
|
|
5337
5700
|
}
|
|
5338
5701
|
if (typeof this.configuration.basePath !== 'string') {
|
|
5339
|
-
|
|
5340
|
-
|
|
5702
|
+
const firstBasePath = Array.isArray(basePath) ? basePath[0] : undefined;
|
|
5703
|
+
if (firstBasePath != undefined) {
|
|
5704
|
+
basePath = firstBasePath;
|
|
5341
5705
|
}
|
|
5342
5706
|
if (typeof basePath !== 'string') {
|
|
5343
5707
|
basePath = this.basePath;
|
|
@@ -5410,6 +5774,10 @@ class CollectionSharesService {
|
|
|
5410
5774
|
if (localVarHttpContext === undefined) {
|
|
5411
5775
|
localVarHttpContext = new HttpContext();
|
|
5412
5776
|
}
|
|
5777
|
+
let localVarTransferCache = options && options.transferCache;
|
|
5778
|
+
if (localVarTransferCache === undefined) {
|
|
5779
|
+
localVarTransferCache = true;
|
|
5780
|
+
}
|
|
5413
5781
|
let responseType_ = 'json';
|
|
5414
5782
|
if (localVarHttpHeaderAcceptSelected) {
|
|
5415
5783
|
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
@@ -5429,6 +5797,7 @@ class CollectionSharesService {
|
|
|
5429
5797
|
withCredentials: this.configuration.withCredentials,
|
|
5430
5798
|
headers: localVarHeaders,
|
|
5431
5799
|
observe: observe,
|
|
5800
|
+
transferCache: localVarTransferCache,
|
|
5432
5801
|
reportProgress: reportProgress
|
|
5433
5802
|
});
|
|
5434
5803
|
}
|
|
@@ -5452,6 +5821,10 @@ class CollectionSharesService {
|
|
|
5452
5821
|
if (localVarHttpContext === undefined) {
|
|
5453
5822
|
localVarHttpContext = new HttpContext();
|
|
5454
5823
|
}
|
|
5824
|
+
let localVarTransferCache = options && options.transferCache;
|
|
5825
|
+
if (localVarTransferCache === undefined) {
|
|
5826
|
+
localVarTransferCache = true;
|
|
5827
|
+
}
|
|
5455
5828
|
let responseType_ = 'json';
|
|
5456
5829
|
if (localVarHttpHeaderAcceptSelected) {
|
|
5457
5830
|
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
@@ -5471,6 +5844,7 @@ class CollectionSharesService {
|
|
|
5471
5844
|
withCredentials: this.configuration.withCredentials,
|
|
5472
5845
|
headers: localVarHeaders,
|
|
5473
5846
|
observe: observe,
|
|
5847
|
+
transferCache: localVarTransferCache,
|
|
5474
5848
|
reportProgress: reportProgress
|
|
5475
5849
|
});
|
|
5476
5850
|
}
|
|
@@ -5503,6 +5877,10 @@ class CollectionSharesService {
|
|
|
5503
5877
|
if (localVarHttpContext === undefined) {
|
|
5504
5878
|
localVarHttpContext = new HttpContext();
|
|
5505
5879
|
}
|
|
5880
|
+
let localVarTransferCache = options && options.transferCache;
|
|
5881
|
+
if (localVarTransferCache === undefined) {
|
|
5882
|
+
localVarTransferCache = true;
|
|
5883
|
+
}
|
|
5506
5884
|
// to determine the Content-Type header
|
|
5507
5885
|
const consumes = [
|
|
5508
5886
|
'application/json'
|
|
@@ -5531,6 +5909,7 @@ class CollectionSharesService {
|
|
|
5531
5909
|
withCredentials: this.configuration.withCredentials,
|
|
5532
5910
|
headers: localVarHeaders,
|
|
5533
5911
|
observe: observe,
|
|
5912
|
+
transferCache: localVarTransferCache,
|
|
5534
5913
|
reportProgress: reportProgress
|
|
5535
5914
|
});
|
|
5536
5915
|
}
|
|
@@ -5560,6 +5939,10 @@ class CollectionSharesService {
|
|
|
5560
5939
|
if (localVarHttpContext === undefined) {
|
|
5561
5940
|
localVarHttpContext = new HttpContext();
|
|
5562
5941
|
}
|
|
5942
|
+
let localVarTransferCache = options && options.transferCache;
|
|
5943
|
+
if (localVarTransferCache === undefined) {
|
|
5944
|
+
localVarTransferCache = true;
|
|
5945
|
+
}
|
|
5563
5946
|
// to determine the Content-Type header
|
|
5564
5947
|
const consumes = [
|
|
5565
5948
|
'application/json'
|
|
@@ -5588,6 +5971,7 @@ class CollectionSharesService {
|
|
|
5588
5971
|
withCredentials: this.configuration.withCredentials,
|
|
5589
5972
|
headers: localVarHeaders,
|
|
5590
5973
|
observe: observe,
|
|
5974
|
+
transferCache: localVarTransferCache,
|
|
5591
5975
|
reportProgress: reportProgress
|
|
5592
5976
|
});
|
|
5593
5977
|
}
|
|
@@ -5617,6 +6001,10 @@ class CollectionSharesService {
|
|
|
5617
6001
|
if (localVarHttpContext === undefined) {
|
|
5618
6002
|
localVarHttpContext = new HttpContext();
|
|
5619
6003
|
}
|
|
6004
|
+
let localVarTransferCache = options && options.transferCache;
|
|
6005
|
+
if (localVarTransferCache === undefined) {
|
|
6006
|
+
localVarTransferCache = true;
|
|
6007
|
+
}
|
|
5620
6008
|
// to determine the Content-Type header
|
|
5621
6009
|
const consumes = [
|
|
5622
6010
|
'application/json'
|
|
@@ -5645,6 +6033,7 @@ class CollectionSharesService {
|
|
|
5645
6033
|
withCredentials: this.configuration.withCredentials,
|
|
5646
6034
|
headers: localVarHeaders,
|
|
5647
6035
|
observe: observe,
|
|
6036
|
+
transferCache: localVarTransferCache,
|
|
5648
6037
|
reportProgress: reportProgress
|
|
5649
6038
|
});
|
|
5650
6039
|
}
|
|
@@ -5668,6 +6057,10 @@ class CollectionSharesService {
|
|
|
5668
6057
|
if (localVarHttpContext === undefined) {
|
|
5669
6058
|
localVarHttpContext = new HttpContext();
|
|
5670
6059
|
}
|
|
6060
|
+
let localVarTransferCache = options && options.transferCache;
|
|
6061
|
+
if (localVarTransferCache === undefined) {
|
|
6062
|
+
localVarTransferCache = true;
|
|
6063
|
+
}
|
|
5671
6064
|
// to determine the Content-Type header
|
|
5672
6065
|
const consumes = [
|
|
5673
6066
|
'application/json'
|
|
@@ -5696,6 +6089,7 @@ class CollectionSharesService {
|
|
|
5696
6089
|
withCredentials: this.configuration.withCredentials,
|
|
5697
6090
|
headers: localVarHeaders,
|
|
5698
6091
|
observe: observe,
|
|
6092
|
+
transferCache: localVarTransferCache,
|
|
5699
6093
|
reportProgress: reportProgress
|
|
5700
6094
|
});
|
|
5701
6095
|
}
|
|
@@ -5738,8 +6132,9 @@ class CollectionsService {
|
|
|
5738
6132
|
this.configuration = configuration;
|
|
5739
6133
|
}
|
|
5740
6134
|
if (typeof this.configuration.basePath !== 'string') {
|
|
5741
|
-
|
|
5742
|
-
|
|
6135
|
+
const firstBasePath = Array.isArray(basePath) ? basePath[0] : undefined;
|
|
6136
|
+
if (firstBasePath != undefined) {
|
|
6137
|
+
basePath = firstBasePath;
|
|
5743
6138
|
}
|
|
5744
6139
|
if (typeof basePath !== 'string') {
|
|
5745
6140
|
basePath = this.basePath;
|
|
@@ -5815,6 +6210,10 @@ class CollectionsService {
|
|
|
5815
6210
|
if (localVarHttpContext === undefined) {
|
|
5816
6211
|
localVarHttpContext = new HttpContext();
|
|
5817
6212
|
}
|
|
6213
|
+
let localVarTransferCache = options && options.transferCache;
|
|
6214
|
+
if (localVarTransferCache === undefined) {
|
|
6215
|
+
localVarTransferCache = true;
|
|
6216
|
+
}
|
|
5818
6217
|
// to determine the Content-Type header
|
|
5819
6218
|
const consumes = [
|
|
5820
6219
|
'application/json'
|
|
@@ -5843,6 +6242,7 @@ class CollectionsService {
|
|
|
5843
6242
|
withCredentials: this.configuration.withCredentials,
|
|
5844
6243
|
headers: localVarHeaders,
|
|
5845
6244
|
observe: observe,
|
|
6245
|
+
transferCache: localVarTransferCache,
|
|
5846
6246
|
reportProgress: reportProgress
|
|
5847
6247
|
});
|
|
5848
6248
|
}
|
|
@@ -5872,6 +6272,10 @@ class CollectionsService {
|
|
|
5872
6272
|
if (localVarHttpContext === undefined) {
|
|
5873
6273
|
localVarHttpContext = new HttpContext();
|
|
5874
6274
|
}
|
|
6275
|
+
let localVarTransferCache = options && options.transferCache;
|
|
6276
|
+
if (localVarTransferCache === undefined) {
|
|
6277
|
+
localVarTransferCache = true;
|
|
6278
|
+
}
|
|
5875
6279
|
// to determine the Content-Type header
|
|
5876
6280
|
const consumes = [
|
|
5877
6281
|
'application/json'
|
|
@@ -5900,6 +6304,7 @@ class CollectionsService {
|
|
|
5900
6304
|
withCredentials: this.configuration.withCredentials,
|
|
5901
6305
|
headers: localVarHeaders,
|
|
5902
6306
|
observe: observe,
|
|
6307
|
+
transferCache: localVarTransferCache,
|
|
5903
6308
|
reportProgress: reportProgress
|
|
5904
6309
|
});
|
|
5905
6310
|
}
|
|
@@ -5929,6 +6334,10 @@ class CollectionsService {
|
|
|
5929
6334
|
if (localVarHttpContext === undefined) {
|
|
5930
6335
|
localVarHttpContext = new HttpContext();
|
|
5931
6336
|
}
|
|
6337
|
+
let localVarTransferCache = options && options.transferCache;
|
|
6338
|
+
if (localVarTransferCache === undefined) {
|
|
6339
|
+
localVarTransferCache = true;
|
|
6340
|
+
}
|
|
5932
6341
|
// to determine the Content-Type header
|
|
5933
6342
|
const consumes = [
|
|
5934
6343
|
'application/json'
|
|
@@ -5957,6 +6366,7 @@ class CollectionsService {
|
|
|
5957
6366
|
withCredentials: this.configuration.withCredentials,
|
|
5958
6367
|
headers: localVarHeaders,
|
|
5959
6368
|
observe: observe,
|
|
6369
|
+
transferCache: localVarTransferCache,
|
|
5960
6370
|
reportProgress: reportProgress
|
|
5961
6371
|
});
|
|
5962
6372
|
}
|
|
@@ -5999,8 +6409,9 @@ class CorebookService {
|
|
|
5999
6409
|
this.configuration = configuration;
|
|
6000
6410
|
}
|
|
6001
6411
|
if (typeof this.configuration.basePath !== 'string') {
|
|
6002
|
-
|
|
6003
|
-
|
|
6412
|
+
const firstBasePath = Array.isArray(basePath) ? basePath[0] : undefined;
|
|
6413
|
+
if (firstBasePath != undefined) {
|
|
6414
|
+
basePath = firstBasePath;
|
|
6004
6415
|
}
|
|
6005
6416
|
if (typeof basePath !== 'string') {
|
|
6006
6417
|
basePath = this.basePath;
|
|
@@ -6070,6 +6481,10 @@ class CorebookService {
|
|
|
6070
6481
|
if (localVarHttpContext === undefined) {
|
|
6071
6482
|
localVarHttpContext = new HttpContext();
|
|
6072
6483
|
}
|
|
6484
|
+
let localVarTransferCache = options && options.transferCache;
|
|
6485
|
+
if (localVarTransferCache === undefined) {
|
|
6486
|
+
localVarTransferCache = true;
|
|
6487
|
+
}
|
|
6073
6488
|
let responseType_ = 'json';
|
|
6074
6489
|
if (localVarHttpHeaderAcceptSelected) {
|
|
6075
6490
|
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
@@ -6089,6 +6504,7 @@ class CorebookService {
|
|
|
6089
6504
|
withCredentials: this.configuration.withCredentials,
|
|
6090
6505
|
headers: localVarHeaders,
|
|
6091
6506
|
observe: observe,
|
|
6507
|
+
transferCache: localVarTransferCache,
|
|
6092
6508
|
reportProgress: reportProgress
|
|
6093
6509
|
});
|
|
6094
6510
|
}
|
|
@@ -6118,6 +6534,10 @@ class CorebookService {
|
|
|
6118
6534
|
if (localVarHttpContext === undefined) {
|
|
6119
6535
|
localVarHttpContext = new HttpContext();
|
|
6120
6536
|
}
|
|
6537
|
+
let localVarTransferCache = options && options.transferCache;
|
|
6538
|
+
if (localVarTransferCache === undefined) {
|
|
6539
|
+
localVarTransferCache = true;
|
|
6540
|
+
}
|
|
6121
6541
|
// to determine the Content-Type header
|
|
6122
6542
|
const consumes = [
|
|
6123
6543
|
'application/json'
|
|
@@ -6146,6 +6566,7 @@ class CorebookService {
|
|
|
6146
6566
|
withCredentials: this.configuration.withCredentials,
|
|
6147
6567
|
headers: localVarHeaders,
|
|
6148
6568
|
observe: observe,
|
|
6569
|
+
transferCache: localVarTransferCache,
|
|
6149
6570
|
reportProgress: reportProgress
|
|
6150
6571
|
});
|
|
6151
6572
|
}
|
|
@@ -6188,8 +6609,9 @@ class CustomService {
|
|
|
6188
6609
|
this.configuration = configuration;
|
|
6189
6610
|
}
|
|
6190
6611
|
if (typeof this.configuration.basePath !== 'string') {
|
|
6191
|
-
|
|
6192
|
-
|
|
6612
|
+
const firstBasePath = Array.isArray(basePath) ? basePath[0] : undefined;
|
|
6613
|
+
if (firstBasePath != undefined) {
|
|
6614
|
+
basePath = firstBasePath;
|
|
6193
6615
|
}
|
|
6194
6616
|
if (typeof basePath !== 'string') {
|
|
6195
6617
|
basePath = this.basePath;
|
|
@@ -6259,6 +6681,10 @@ class CustomService {
|
|
|
6259
6681
|
if (localVarHttpContext === undefined) {
|
|
6260
6682
|
localVarHttpContext = new HttpContext();
|
|
6261
6683
|
}
|
|
6684
|
+
let localVarTransferCache = options && options.transferCache;
|
|
6685
|
+
if (localVarTransferCache === undefined) {
|
|
6686
|
+
localVarTransferCache = true;
|
|
6687
|
+
}
|
|
6262
6688
|
let responseType_ = 'json';
|
|
6263
6689
|
if (localVarHttpHeaderAcceptSelected) {
|
|
6264
6690
|
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
@@ -6278,6 +6704,7 @@ class CustomService {
|
|
|
6278
6704
|
withCredentials: this.configuration.withCredentials,
|
|
6279
6705
|
headers: localVarHeaders,
|
|
6280
6706
|
observe: observe,
|
|
6707
|
+
transferCache: localVarTransferCache,
|
|
6281
6708
|
reportProgress: reportProgress
|
|
6282
6709
|
});
|
|
6283
6710
|
}
|
|
@@ -6304,6 +6731,10 @@ class CustomService {
|
|
|
6304
6731
|
if (localVarHttpContext === undefined) {
|
|
6305
6732
|
localVarHttpContext = new HttpContext();
|
|
6306
6733
|
}
|
|
6734
|
+
let localVarTransferCache = options && options.transferCache;
|
|
6735
|
+
if (localVarTransferCache === undefined) {
|
|
6736
|
+
localVarTransferCache = true;
|
|
6737
|
+
}
|
|
6307
6738
|
let responseType_ = 'json';
|
|
6308
6739
|
if (localVarHttpHeaderAcceptSelected) {
|
|
6309
6740
|
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
@@ -6323,6 +6754,7 @@ class CustomService {
|
|
|
6323
6754
|
withCredentials: this.configuration.withCredentials,
|
|
6324
6755
|
headers: localVarHeaders,
|
|
6325
6756
|
observe: observe,
|
|
6757
|
+
transferCache: localVarTransferCache,
|
|
6326
6758
|
reportProgress: reportProgress
|
|
6327
6759
|
});
|
|
6328
6760
|
}
|
|
@@ -6352,6 +6784,10 @@ class CustomService {
|
|
|
6352
6784
|
if (localVarHttpContext === undefined) {
|
|
6353
6785
|
localVarHttpContext = new HttpContext();
|
|
6354
6786
|
}
|
|
6787
|
+
let localVarTransferCache = options && options.transferCache;
|
|
6788
|
+
if (localVarTransferCache === undefined) {
|
|
6789
|
+
localVarTransferCache = true;
|
|
6790
|
+
}
|
|
6355
6791
|
// to determine the Content-Type header
|
|
6356
6792
|
const consumes = [
|
|
6357
6793
|
'application/json'
|
|
@@ -6380,6 +6816,7 @@ class CustomService {
|
|
|
6380
6816
|
withCredentials: this.configuration.withCredentials,
|
|
6381
6817
|
headers: localVarHeaders,
|
|
6382
6818
|
observe: observe,
|
|
6819
|
+
transferCache: localVarTransferCache,
|
|
6383
6820
|
reportProgress: reportProgress
|
|
6384
6821
|
});
|
|
6385
6822
|
}
|
|
@@ -6409,6 +6846,10 @@ class CustomService {
|
|
|
6409
6846
|
if (localVarHttpContext === undefined) {
|
|
6410
6847
|
localVarHttpContext = new HttpContext();
|
|
6411
6848
|
}
|
|
6849
|
+
let localVarTransferCache = options && options.transferCache;
|
|
6850
|
+
if (localVarTransferCache === undefined) {
|
|
6851
|
+
localVarTransferCache = true;
|
|
6852
|
+
}
|
|
6412
6853
|
// to determine the Content-Type header
|
|
6413
6854
|
const consumes = [
|
|
6414
6855
|
'application/json'
|
|
@@ -6437,6 +6878,7 @@ class CustomService {
|
|
|
6437
6878
|
withCredentials: this.configuration.withCredentials,
|
|
6438
6879
|
headers: localVarHeaders,
|
|
6439
6880
|
observe: observe,
|
|
6881
|
+
transferCache: localVarTransferCache,
|
|
6440
6882
|
reportProgress: reportProgress
|
|
6441
6883
|
});
|
|
6442
6884
|
}
|
|
@@ -6479,8 +6921,9 @@ class ExternalAppService {
|
|
|
6479
6921
|
this.configuration = configuration;
|
|
6480
6922
|
}
|
|
6481
6923
|
if (typeof this.configuration.basePath !== 'string') {
|
|
6482
|
-
|
|
6483
|
-
|
|
6924
|
+
const firstBasePath = Array.isArray(basePath) ? basePath[0] : undefined;
|
|
6925
|
+
if (firstBasePath != undefined) {
|
|
6926
|
+
basePath = firstBasePath;
|
|
6484
6927
|
}
|
|
6485
6928
|
if (typeof basePath !== 'string') {
|
|
6486
6929
|
basePath = this.basePath;
|
|
@@ -6553,6 +6996,10 @@ class ExternalAppService {
|
|
|
6553
6996
|
if (localVarHttpContext === undefined) {
|
|
6554
6997
|
localVarHttpContext = new HttpContext();
|
|
6555
6998
|
}
|
|
6999
|
+
let localVarTransferCache = options && options.transferCache;
|
|
7000
|
+
if (localVarTransferCache === undefined) {
|
|
7001
|
+
localVarTransferCache = true;
|
|
7002
|
+
}
|
|
6556
7003
|
// to determine the Content-Type header
|
|
6557
7004
|
const consumes = [
|
|
6558
7005
|
'application/json'
|
|
@@ -6581,6 +7028,7 @@ class ExternalAppService {
|
|
|
6581
7028
|
withCredentials: this.configuration.withCredentials,
|
|
6582
7029
|
headers: localVarHeaders,
|
|
6583
7030
|
observe: observe,
|
|
7031
|
+
transferCache: localVarTransferCache,
|
|
6584
7032
|
reportProgress: reportProgress
|
|
6585
7033
|
});
|
|
6586
7034
|
}
|
|
@@ -6610,6 +7058,10 @@ class ExternalAppService {
|
|
|
6610
7058
|
if (localVarHttpContext === undefined) {
|
|
6611
7059
|
localVarHttpContext = new HttpContext();
|
|
6612
7060
|
}
|
|
7061
|
+
let localVarTransferCache = options && options.transferCache;
|
|
7062
|
+
if (localVarTransferCache === undefined) {
|
|
7063
|
+
localVarTransferCache = true;
|
|
7064
|
+
}
|
|
6613
7065
|
// to determine the Content-Type header
|
|
6614
7066
|
const consumes = [
|
|
6615
7067
|
'application/json'
|
|
@@ -6638,6 +7090,7 @@ class ExternalAppService {
|
|
|
6638
7090
|
withCredentials: this.configuration.withCredentials,
|
|
6639
7091
|
headers: localVarHeaders,
|
|
6640
7092
|
observe: observe,
|
|
7093
|
+
transferCache: localVarTransferCache,
|
|
6641
7094
|
reportProgress: reportProgress
|
|
6642
7095
|
});
|
|
6643
7096
|
}
|
|
@@ -6667,6 +7120,10 @@ class ExternalAppService {
|
|
|
6667
7120
|
if (localVarHttpContext === undefined) {
|
|
6668
7121
|
localVarHttpContext = new HttpContext();
|
|
6669
7122
|
}
|
|
7123
|
+
let localVarTransferCache = options && options.transferCache;
|
|
7124
|
+
if (localVarTransferCache === undefined) {
|
|
7125
|
+
localVarTransferCache = true;
|
|
7126
|
+
}
|
|
6670
7127
|
// to determine the Content-Type header
|
|
6671
7128
|
const consumes = [
|
|
6672
7129
|
'application/json'
|
|
@@ -6695,6 +7152,7 @@ class ExternalAppService {
|
|
|
6695
7152
|
withCredentials: this.configuration.withCredentials,
|
|
6696
7153
|
headers: localVarHeaders,
|
|
6697
7154
|
observe: observe,
|
|
7155
|
+
transferCache: localVarTransferCache,
|
|
6698
7156
|
reportProgress: reportProgress
|
|
6699
7157
|
});
|
|
6700
7158
|
}
|
|
@@ -6737,8 +7195,9 @@ class FieldOptionImagesService {
|
|
|
6737
7195
|
this.configuration = configuration;
|
|
6738
7196
|
}
|
|
6739
7197
|
if (typeof this.configuration.basePath !== 'string') {
|
|
6740
|
-
|
|
6741
|
-
|
|
7198
|
+
const firstBasePath = Array.isArray(basePath) ? basePath[0] : undefined;
|
|
7199
|
+
if (firstBasePath != undefined) {
|
|
7200
|
+
basePath = firstBasePath;
|
|
6742
7201
|
}
|
|
6743
7202
|
if (typeof basePath !== 'string') {
|
|
6744
7203
|
basePath = this.basePath;
|
|
@@ -6811,6 +7270,10 @@ class FieldOptionImagesService {
|
|
|
6811
7270
|
if (localVarHttpContext === undefined) {
|
|
6812
7271
|
localVarHttpContext = new HttpContext();
|
|
6813
7272
|
}
|
|
7273
|
+
let localVarTransferCache = options && options.transferCache;
|
|
7274
|
+
if (localVarTransferCache === undefined) {
|
|
7275
|
+
localVarTransferCache = true;
|
|
7276
|
+
}
|
|
6814
7277
|
let responseType_ = 'json';
|
|
6815
7278
|
if (localVarHttpHeaderAcceptSelected) {
|
|
6816
7279
|
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
@@ -6830,6 +7293,7 @@ class FieldOptionImagesService {
|
|
|
6830
7293
|
withCredentials: this.configuration.withCredentials,
|
|
6831
7294
|
headers: localVarHeaders,
|
|
6832
7295
|
observe: observe,
|
|
7296
|
+
transferCache: localVarTransferCache,
|
|
6833
7297
|
reportProgress: reportProgress
|
|
6834
7298
|
});
|
|
6835
7299
|
}
|
|
@@ -6859,6 +7323,10 @@ class FieldOptionImagesService {
|
|
|
6859
7323
|
if (localVarHttpContext === undefined) {
|
|
6860
7324
|
localVarHttpContext = new HttpContext();
|
|
6861
7325
|
}
|
|
7326
|
+
let localVarTransferCache = options && options.transferCache;
|
|
7327
|
+
if (localVarTransferCache === undefined) {
|
|
7328
|
+
localVarTransferCache = true;
|
|
7329
|
+
}
|
|
6862
7330
|
// to determine the Content-Type header
|
|
6863
7331
|
const consumes = [
|
|
6864
7332
|
'application/json'
|
|
@@ -6887,6 +7355,7 @@ class FieldOptionImagesService {
|
|
|
6887
7355
|
withCredentials: this.configuration.withCredentials,
|
|
6888
7356
|
headers: localVarHeaders,
|
|
6889
7357
|
observe: observe,
|
|
7358
|
+
transferCache: localVarTransferCache,
|
|
6890
7359
|
reportProgress: reportProgress
|
|
6891
7360
|
});
|
|
6892
7361
|
}
|
|
@@ -6916,6 +7385,10 @@ class FieldOptionImagesService {
|
|
|
6916
7385
|
if (localVarHttpContext === undefined) {
|
|
6917
7386
|
localVarHttpContext = new HttpContext();
|
|
6918
7387
|
}
|
|
7388
|
+
let localVarTransferCache = options && options.transferCache;
|
|
7389
|
+
if (localVarTransferCache === undefined) {
|
|
7390
|
+
localVarTransferCache = true;
|
|
7391
|
+
}
|
|
6919
7392
|
// to determine the Content-Type header
|
|
6920
7393
|
const consumes = [
|
|
6921
7394
|
'application/json'
|
|
@@ -6944,6 +7417,7 @@ class FieldOptionImagesService {
|
|
|
6944
7417
|
withCredentials: this.configuration.withCredentials,
|
|
6945
7418
|
headers: localVarHeaders,
|
|
6946
7419
|
observe: observe,
|
|
7420
|
+
transferCache: localVarTransferCache,
|
|
6947
7421
|
reportProgress: reportProgress
|
|
6948
7422
|
});
|
|
6949
7423
|
}
|
|
@@ -6986,8 +7460,9 @@ class FieldOptionsService {
|
|
|
6986
7460
|
this.configuration = configuration;
|
|
6987
7461
|
}
|
|
6988
7462
|
if (typeof this.configuration.basePath !== 'string') {
|
|
6989
|
-
|
|
6990
|
-
|
|
7463
|
+
const firstBasePath = Array.isArray(basePath) ? basePath[0] : undefined;
|
|
7464
|
+
if (firstBasePath != undefined) {
|
|
7465
|
+
basePath = firstBasePath;
|
|
6991
7466
|
}
|
|
6992
7467
|
if (typeof basePath !== 'string') {
|
|
6993
7468
|
basePath = this.basePath;
|
|
@@ -7060,6 +7535,10 @@ class FieldOptionsService {
|
|
|
7060
7535
|
if (localVarHttpContext === undefined) {
|
|
7061
7536
|
localVarHttpContext = new HttpContext();
|
|
7062
7537
|
}
|
|
7538
|
+
let localVarTransferCache = options && options.transferCache;
|
|
7539
|
+
if (localVarTransferCache === undefined) {
|
|
7540
|
+
localVarTransferCache = true;
|
|
7541
|
+
}
|
|
7063
7542
|
let responseType_ = 'json';
|
|
7064
7543
|
if (localVarHttpHeaderAcceptSelected) {
|
|
7065
7544
|
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
@@ -7079,6 +7558,7 @@ class FieldOptionsService {
|
|
|
7079
7558
|
withCredentials: this.configuration.withCredentials,
|
|
7080
7559
|
headers: localVarHeaders,
|
|
7081
7560
|
observe: observe,
|
|
7561
|
+
transferCache: localVarTransferCache,
|
|
7082
7562
|
reportProgress: reportProgress
|
|
7083
7563
|
});
|
|
7084
7564
|
}
|
|
@@ -7108,6 +7588,10 @@ class FieldOptionsService {
|
|
|
7108
7588
|
if (localVarHttpContext === undefined) {
|
|
7109
7589
|
localVarHttpContext = new HttpContext();
|
|
7110
7590
|
}
|
|
7591
|
+
let localVarTransferCache = options && options.transferCache;
|
|
7592
|
+
if (localVarTransferCache === undefined) {
|
|
7593
|
+
localVarTransferCache = true;
|
|
7594
|
+
}
|
|
7111
7595
|
let responseType_ = 'json';
|
|
7112
7596
|
if (localVarHttpHeaderAcceptSelected) {
|
|
7113
7597
|
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
@@ -7127,6 +7611,7 @@ class FieldOptionsService {
|
|
|
7127
7611
|
withCredentials: this.configuration.withCredentials,
|
|
7128
7612
|
headers: localVarHeaders,
|
|
7129
7613
|
observe: observe,
|
|
7614
|
+
transferCache: localVarTransferCache,
|
|
7130
7615
|
reportProgress: reportProgress
|
|
7131
7616
|
});
|
|
7132
7617
|
}
|
|
@@ -7156,6 +7641,10 @@ class FieldOptionsService {
|
|
|
7156
7641
|
if (localVarHttpContext === undefined) {
|
|
7157
7642
|
localVarHttpContext = new HttpContext();
|
|
7158
7643
|
}
|
|
7644
|
+
let localVarTransferCache = options && options.transferCache;
|
|
7645
|
+
if (localVarTransferCache === undefined) {
|
|
7646
|
+
localVarTransferCache = true;
|
|
7647
|
+
}
|
|
7159
7648
|
// to determine the Content-Type header
|
|
7160
7649
|
const consumes = [
|
|
7161
7650
|
'application/json'
|
|
@@ -7184,6 +7673,7 @@ class FieldOptionsService {
|
|
|
7184
7673
|
withCredentials: this.configuration.withCredentials,
|
|
7185
7674
|
headers: localVarHeaders,
|
|
7186
7675
|
observe: observe,
|
|
7676
|
+
transferCache: localVarTransferCache,
|
|
7187
7677
|
reportProgress: reportProgress
|
|
7188
7678
|
});
|
|
7189
7679
|
}
|
|
@@ -7213,6 +7703,10 @@ class FieldOptionsService {
|
|
|
7213
7703
|
if (localVarHttpContext === undefined) {
|
|
7214
7704
|
localVarHttpContext = new HttpContext();
|
|
7215
7705
|
}
|
|
7706
|
+
let localVarTransferCache = options && options.transferCache;
|
|
7707
|
+
if (localVarTransferCache === undefined) {
|
|
7708
|
+
localVarTransferCache = true;
|
|
7709
|
+
}
|
|
7216
7710
|
// to determine the Content-Type header
|
|
7217
7711
|
const consumes = [
|
|
7218
7712
|
'application/json'
|
|
@@ -7241,6 +7735,7 @@ class FieldOptionsService {
|
|
|
7241
7735
|
withCredentials: this.configuration.withCredentials,
|
|
7242
7736
|
headers: localVarHeaders,
|
|
7243
7737
|
observe: observe,
|
|
7738
|
+
transferCache: localVarTransferCache,
|
|
7244
7739
|
reportProgress: reportProgress
|
|
7245
7740
|
});
|
|
7246
7741
|
}
|
|
@@ -7270,6 +7765,10 @@ class FieldOptionsService {
|
|
|
7270
7765
|
if (localVarHttpContext === undefined) {
|
|
7271
7766
|
localVarHttpContext = new HttpContext();
|
|
7272
7767
|
}
|
|
7768
|
+
let localVarTransferCache = options && options.transferCache;
|
|
7769
|
+
if (localVarTransferCache === undefined) {
|
|
7770
|
+
localVarTransferCache = true;
|
|
7771
|
+
}
|
|
7273
7772
|
// to determine the Content-Type header
|
|
7274
7773
|
const consumes = [
|
|
7275
7774
|
'application/json'
|
|
@@ -7298,6 +7797,7 @@ class FieldOptionsService {
|
|
|
7298
7797
|
withCredentials: this.configuration.withCredentials,
|
|
7299
7798
|
headers: localVarHeaders,
|
|
7300
7799
|
observe: observe,
|
|
7800
|
+
transferCache: localVarTransferCache,
|
|
7301
7801
|
reportProgress: reportProgress
|
|
7302
7802
|
});
|
|
7303
7803
|
}
|
|
@@ -7340,8 +7840,9 @@ class FieldViewsService {
|
|
|
7340
7840
|
this.configuration = configuration;
|
|
7341
7841
|
}
|
|
7342
7842
|
if (typeof this.configuration.basePath !== 'string') {
|
|
7343
|
-
|
|
7344
|
-
|
|
7843
|
+
const firstBasePath = Array.isArray(basePath) ? basePath[0] : undefined;
|
|
7844
|
+
if (firstBasePath != undefined) {
|
|
7845
|
+
basePath = firstBasePath;
|
|
7345
7846
|
}
|
|
7346
7847
|
if (typeof basePath !== 'string') {
|
|
7347
7848
|
basePath = this.basePath;
|
|
@@ -7411,6 +7912,10 @@ class FieldViewsService {
|
|
|
7411
7912
|
if (localVarHttpContext === undefined) {
|
|
7412
7913
|
localVarHttpContext = new HttpContext();
|
|
7413
7914
|
}
|
|
7915
|
+
let localVarTransferCache = options && options.transferCache;
|
|
7916
|
+
if (localVarTransferCache === undefined) {
|
|
7917
|
+
localVarTransferCache = true;
|
|
7918
|
+
}
|
|
7414
7919
|
let responseType_ = 'json';
|
|
7415
7920
|
if (localVarHttpHeaderAcceptSelected) {
|
|
7416
7921
|
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
@@ -7430,6 +7935,7 @@ class FieldViewsService {
|
|
|
7430
7935
|
withCredentials: this.configuration.withCredentials,
|
|
7431
7936
|
headers: localVarHeaders,
|
|
7432
7937
|
observe: observe,
|
|
7938
|
+
transferCache: localVarTransferCache,
|
|
7433
7939
|
reportProgress: reportProgress
|
|
7434
7940
|
});
|
|
7435
7941
|
}
|
|
@@ -7472,8 +7978,9 @@ class FieldsService {
|
|
|
7472
7978
|
this.configuration = configuration;
|
|
7473
7979
|
}
|
|
7474
7980
|
if (typeof this.configuration.basePath !== 'string') {
|
|
7475
|
-
|
|
7476
|
-
|
|
7981
|
+
const firstBasePath = Array.isArray(basePath) ? basePath[0] : undefined;
|
|
7982
|
+
if (firstBasePath != undefined) {
|
|
7983
|
+
basePath = firstBasePath;
|
|
7477
7984
|
}
|
|
7478
7985
|
if (typeof basePath !== 'string') {
|
|
7479
7986
|
basePath = this.basePath;
|
|
@@ -7546,6 +8053,10 @@ class FieldsService {
|
|
|
7546
8053
|
if (localVarHttpContext === undefined) {
|
|
7547
8054
|
localVarHttpContext = new HttpContext();
|
|
7548
8055
|
}
|
|
8056
|
+
let localVarTransferCache = options && options.transferCache;
|
|
8057
|
+
if (localVarTransferCache === undefined) {
|
|
8058
|
+
localVarTransferCache = true;
|
|
8059
|
+
}
|
|
7549
8060
|
let responseType_ = 'json';
|
|
7550
8061
|
if (localVarHttpHeaderAcceptSelected) {
|
|
7551
8062
|
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
@@ -7565,6 +8076,7 @@ class FieldsService {
|
|
|
7565
8076
|
withCredentials: this.configuration.withCredentials,
|
|
7566
8077
|
headers: localVarHeaders,
|
|
7567
8078
|
observe: observe,
|
|
8079
|
+
transferCache: localVarTransferCache,
|
|
7568
8080
|
reportProgress: reportProgress
|
|
7569
8081
|
});
|
|
7570
8082
|
}
|
|
@@ -7591,6 +8103,10 @@ class FieldsService {
|
|
|
7591
8103
|
if (localVarHttpContext === undefined) {
|
|
7592
8104
|
localVarHttpContext = new HttpContext();
|
|
7593
8105
|
}
|
|
8106
|
+
let localVarTransferCache = options && options.transferCache;
|
|
8107
|
+
if (localVarTransferCache === undefined) {
|
|
8108
|
+
localVarTransferCache = true;
|
|
8109
|
+
}
|
|
7594
8110
|
let responseType_ = 'json';
|
|
7595
8111
|
if (localVarHttpHeaderAcceptSelected) {
|
|
7596
8112
|
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
@@ -7610,6 +8126,7 @@ class FieldsService {
|
|
|
7610
8126
|
withCredentials: this.configuration.withCredentials,
|
|
7611
8127
|
headers: localVarHeaders,
|
|
7612
8128
|
observe: observe,
|
|
8129
|
+
transferCache: localVarTransferCache,
|
|
7613
8130
|
reportProgress: reportProgress
|
|
7614
8131
|
});
|
|
7615
8132
|
}
|
|
@@ -7642,6 +8159,10 @@ class FieldsService {
|
|
|
7642
8159
|
if (localVarHttpContext === undefined) {
|
|
7643
8160
|
localVarHttpContext = new HttpContext();
|
|
7644
8161
|
}
|
|
8162
|
+
let localVarTransferCache = options && options.transferCache;
|
|
8163
|
+
if (localVarTransferCache === undefined) {
|
|
8164
|
+
localVarTransferCache = true;
|
|
8165
|
+
}
|
|
7645
8166
|
// to determine the Content-Type header
|
|
7646
8167
|
const consumes = [
|
|
7647
8168
|
'application/json'
|
|
@@ -7670,6 +8191,7 @@ class FieldsService {
|
|
|
7670
8191
|
withCredentials: this.configuration.withCredentials,
|
|
7671
8192
|
headers: localVarHeaders,
|
|
7672
8193
|
observe: observe,
|
|
8194
|
+
transferCache: localVarTransferCache,
|
|
7673
8195
|
reportProgress: reportProgress
|
|
7674
8196
|
});
|
|
7675
8197
|
}
|
|
@@ -7712,8 +8234,9 @@ class FolderSettingsService {
|
|
|
7712
8234
|
this.configuration = configuration;
|
|
7713
8235
|
}
|
|
7714
8236
|
if (typeof this.configuration.basePath !== 'string') {
|
|
7715
|
-
|
|
7716
|
-
|
|
8237
|
+
const firstBasePath = Array.isArray(basePath) ? basePath[0] : undefined;
|
|
8238
|
+
if (firstBasePath != undefined) {
|
|
8239
|
+
basePath = firstBasePath;
|
|
7717
8240
|
}
|
|
7718
8241
|
if (typeof basePath !== 'string') {
|
|
7719
8242
|
basePath = this.basePath;
|
|
@@ -7783,6 +8306,10 @@ class FolderSettingsService {
|
|
|
7783
8306
|
if (localVarHttpContext === undefined) {
|
|
7784
8307
|
localVarHttpContext = new HttpContext();
|
|
7785
8308
|
}
|
|
8309
|
+
let localVarTransferCache = options && options.transferCache;
|
|
8310
|
+
if (localVarTransferCache === undefined) {
|
|
8311
|
+
localVarTransferCache = true;
|
|
8312
|
+
}
|
|
7786
8313
|
let responseType_ = 'json';
|
|
7787
8314
|
if (localVarHttpHeaderAcceptSelected) {
|
|
7788
8315
|
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
@@ -7802,6 +8329,7 @@ class FolderSettingsService {
|
|
|
7802
8329
|
withCredentials: this.configuration.withCredentials,
|
|
7803
8330
|
headers: localVarHeaders,
|
|
7804
8331
|
observe: observe,
|
|
8332
|
+
transferCache: localVarTransferCache,
|
|
7805
8333
|
reportProgress: reportProgress
|
|
7806
8334
|
});
|
|
7807
8335
|
}
|
|
@@ -7844,8 +8372,9 @@ class GroupsService {
|
|
|
7844
8372
|
this.configuration = configuration;
|
|
7845
8373
|
}
|
|
7846
8374
|
if (typeof this.configuration.basePath !== 'string') {
|
|
7847
|
-
|
|
7848
|
-
|
|
8375
|
+
const firstBasePath = Array.isArray(basePath) ? basePath[0] : undefined;
|
|
8376
|
+
if (firstBasePath != undefined) {
|
|
8377
|
+
basePath = firstBasePath;
|
|
7849
8378
|
}
|
|
7850
8379
|
if (typeof basePath !== 'string') {
|
|
7851
8380
|
basePath = this.basePath;
|
|
@@ -7915,6 +8444,10 @@ class GroupsService {
|
|
|
7915
8444
|
if (localVarHttpContext === undefined) {
|
|
7916
8445
|
localVarHttpContext = new HttpContext();
|
|
7917
8446
|
}
|
|
8447
|
+
let localVarTransferCache = options && options.transferCache;
|
|
8448
|
+
if (localVarTransferCache === undefined) {
|
|
8449
|
+
localVarTransferCache = true;
|
|
8450
|
+
}
|
|
7918
8451
|
let responseType_ = 'json';
|
|
7919
8452
|
if (localVarHttpHeaderAcceptSelected) {
|
|
7920
8453
|
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
@@ -7934,6 +8467,7 @@ class GroupsService {
|
|
|
7934
8467
|
withCredentials: this.configuration.withCredentials,
|
|
7935
8468
|
headers: localVarHeaders,
|
|
7936
8469
|
observe: observe,
|
|
8470
|
+
transferCache: localVarTransferCache,
|
|
7937
8471
|
reportProgress: reportProgress
|
|
7938
8472
|
});
|
|
7939
8473
|
}
|
|
@@ -7976,8 +8510,9 @@ class GuestUploadAccessTokensService {
|
|
|
7976
8510
|
this.configuration = configuration;
|
|
7977
8511
|
}
|
|
7978
8512
|
if (typeof this.configuration.basePath !== 'string') {
|
|
7979
|
-
|
|
7980
|
-
|
|
8513
|
+
const firstBasePath = Array.isArray(basePath) ? basePath[0] : undefined;
|
|
8514
|
+
if (firstBasePath != undefined) {
|
|
8515
|
+
basePath = firstBasePath;
|
|
7981
8516
|
}
|
|
7982
8517
|
if (typeof basePath !== 'string') {
|
|
7983
8518
|
basePath = this.basePath;
|
|
@@ -8044,6 +8579,10 @@ class GuestUploadAccessTokensService {
|
|
|
8044
8579
|
if (localVarHttpContext === undefined) {
|
|
8045
8580
|
localVarHttpContext = new HttpContext();
|
|
8046
8581
|
}
|
|
8582
|
+
let localVarTransferCache = options && options.transferCache;
|
|
8583
|
+
if (localVarTransferCache === undefined) {
|
|
8584
|
+
localVarTransferCache = true;
|
|
8585
|
+
}
|
|
8047
8586
|
// to determine the Content-Type header
|
|
8048
8587
|
const consumes = [
|
|
8049
8588
|
'application/json'
|
|
@@ -8072,6 +8611,7 @@ class GuestUploadAccessTokensService {
|
|
|
8072
8611
|
withCredentials: this.configuration.withCredentials,
|
|
8073
8612
|
headers: localVarHeaders,
|
|
8074
8613
|
observe: observe,
|
|
8614
|
+
transferCache: localVarTransferCache,
|
|
8075
8615
|
reportProgress: reportProgress
|
|
8076
8616
|
});
|
|
8077
8617
|
}
|
|
@@ -8114,8 +8654,9 @@ class GuestUploadEmailsService {
|
|
|
8114
8654
|
this.configuration = configuration;
|
|
8115
8655
|
}
|
|
8116
8656
|
if (typeof this.configuration.basePath !== 'string') {
|
|
8117
|
-
|
|
8118
|
-
|
|
8657
|
+
const firstBasePath = Array.isArray(basePath) ? basePath[0] : undefined;
|
|
8658
|
+
if (firstBasePath != undefined) {
|
|
8659
|
+
basePath = firstBasePath;
|
|
8119
8660
|
}
|
|
8120
8661
|
if (typeof basePath !== 'string') {
|
|
8121
8662
|
basePath = this.basePath;
|
|
@@ -8188,6 +8729,10 @@ class GuestUploadEmailsService {
|
|
|
8188
8729
|
if (localVarHttpContext === undefined) {
|
|
8189
8730
|
localVarHttpContext = new HttpContext();
|
|
8190
8731
|
}
|
|
8732
|
+
let localVarTransferCache = options && options.transferCache;
|
|
8733
|
+
if (localVarTransferCache === undefined) {
|
|
8734
|
+
localVarTransferCache = true;
|
|
8735
|
+
}
|
|
8191
8736
|
// to determine the Content-Type header
|
|
8192
8737
|
const consumes = [
|
|
8193
8738
|
'application/json'
|
|
@@ -8216,6 +8761,7 @@ class GuestUploadEmailsService {
|
|
|
8216
8761
|
withCredentials: this.configuration.withCredentials,
|
|
8217
8762
|
headers: localVarHeaders,
|
|
8218
8763
|
observe: observe,
|
|
8764
|
+
transferCache: localVarTransferCache,
|
|
8219
8765
|
reportProgress: reportProgress
|
|
8220
8766
|
});
|
|
8221
8767
|
}
|
|
@@ -8258,8 +8804,9 @@ class GuestUploadsService {
|
|
|
8258
8804
|
this.configuration = configuration;
|
|
8259
8805
|
}
|
|
8260
8806
|
if (typeof this.configuration.basePath !== 'string') {
|
|
8261
|
-
|
|
8262
|
-
|
|
8807
|
+
const firstBasePath = Array.isArray(basePath) ? basePath[0] : undefined;
|
|
8808
|
+
if (firstBasePath != undefined) {
|
|
8809
|
+
basePath = firstBasePath;
|
|
8263
8810
|
}
|
|
8264
8811
|
if (typeof basePath !== 'string') {
|
|
8265
8812
|
basePath = this.basePath;
|
|
@@ -8332,6 +8879,10 @@ class GuestUploadsService {
|
|
|
8332
8879
|
if (localVarHttpContext === undefined) {
|
|
8333
8880
|
localVarHttpContext = new HttpContext();
|
|
8334
8881
|
}
|
|
8882
|
+
let localVarTransferCache = options && options.transferCache;
|
|
8883
|
+
if (localVarTransferCache === undefined) {
|
|
8884
|
+
localVarTransferCache = true;
|
|
8885
|
+
}
|
|
8335
8886
|
let responseType_ = 'json';
|
|
8336
8887
|
if (localVarHttpHeaderAcceptSelected) {
|
|
8337
8888
|
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
@@ -8351,6 +8902,7 @@ class GuestUploadsService {
|
|
|
8351
8902
|
withCredentials: this.configuration.withCredentials,
|
|
8352
8903
|
headers: localVarHeaders,
|
|
8353
8904
|
observe: observe,
|
|
8905
|
+
transferCache: localVarTransferCache,
|
|
8354
8906
|
reportProgress: reportProgress
|
|
8355
8907
|
});
|
|
8356
8908
|
}
|
|
@@ -8380,6 +8932,10 @@ class GuestUploadsService {
|
|
|
8380
8932
|
if (localVarHttpContext === undefined) {
|
|
8381
8933
|
localVarHttpContext = new HttpContext();
|
|
8382
8934
|
}
|
|
8935
|
+
let localVarTransferCache = options && options.transferCache;
|
|
8936
|
+
if (localVarTransferCache === undefined) {
|
|
8937
|
+
localVarTransferCache = true;
|
|
8938
|
+
}
|
|
8383
8939
|
let responseType_ = 'json';
|
|
8384
8940
|
if (localVarHttpHeaderAcceptSelected) {
|
|
8385
8941
|
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
@@ -8399,6 +8955,7 @@ class GuestUploadsService {
|
|
|
8399
8955
|
withCredentials: this.configuration.withCredentials,
|
|
8400
8956
|
headers: localVarHeaders,
|
|
8401
8957
|
observe: observe,
|
|
8958
|
+
transferCache: localVarTransferCache,
|
|
8402
8959
|
reportProgress: reportProgress
|
|
8403
8960
|
});
|
|
8404
8961
|
}
|
|
@@ -8431,6 +8988,10 @@ class GuestUploadsService {
|
|
|
8431
8988
|
if (localVarHttpContext === undefined) {
|
|
8432
8989
|
localVarHttpContext = new HttpContext();
|
|
8433
8990
|
}
|
|
8991
|
+
let localVarTransferCache = options && options.transferCache;
|
|
8992
|
+
if (localVarTransferCache === undefined) {
|
|
8993
|
+
localVarTransferCache = true;
|
|
8994
|
+
}
|
|
8434
8995
|
// to determine the Content-Type header
|
|
8435
8996
|
const consumes = [
|
|
8436
8997
|
'application/json'
|
|
@@ -8459,6 +9020,7 @@ class GuestUploadsService {
|
|
|
8459
9020
|
withCredentials: this.configuration.withCredentials,
|
|
8460
9021
|
headers: localVarHeaders,
|
|
8461
9022
|
observe: observe,
|
|
9023
|
+
transferCache: localVarTransferCache,
|
|
8462
9024
|
reportProgress: reportProgress
|
|
8463
9025
|
});
|
|
8464
9026
|
}
|
|
@@ -8488,6 +9050,10 @@ class GuestUploadsService {
|
|
|
8488
9050
|
if (localVarHttpContext === undefined) {
|
|
8489
9051
|
localVarHttpContext = new HttpContext();
|
|
8490
9052
|
}
|
|
9053
|
+
let localVarTransferCache = options && options.transferCache;
|
|
9054
|
+
if (localVarTransferCache === undefined) {
|
|
9055
|
+
localVarTransferCache = true;
|
|
9056
|
+
}
|
|
8491
9057
|
// to determine the Content-Type header
|
|
8492
9058
|
const consumes = [
|
|
8493
9059
|
'application/json'
|
|
@@ -8516,6 +9082,7 @@ class GuestUploadsService {
|
|
|
8516
9082
|
withCredentials: this.configuration.withCredentials,
|
|
8517
9083
|
headers: localVarHeaders,
|
|
8518
9084
|
observe: observe,
|
|
9085
|
+
transferCache: localVarTransferCache,
|
|
8519
9086
|
reportProgress: reportProgress
|
|
8520
9087
|
});
|
|
8521
9088
|
}
|
|
@@ -8545,6 +9112,10 @@ class GuestUploadsService {
|
|
|
8545
9112
|
if (localVarHttpContext === undefined) {
|
|
8546
9113
|
localVarHttpContext = new HttpContext();
|
|
8547
9114
|
}
|
|
9115
|
+
let localVarTransferCache = options && options.transferCache;
|
|
9116
|
+
if (localVarTransferCache === undefined) {
|
|
9117
|
+
localVarTransferCache = true;
|
|
9118
|
+
}
|
|
8548
9119
|
// to determine the Content-Type header
|
|
8549
9120
|
const consumes = [
|
|
8550
9121
|
'application/json'
|
|
@@ -8573,6 +9144,7 @@ class GuestUploadsService {
|
|
|
8573
9144
|
withCredentials: this.configuration.withCredentials,
|
|
8574
9145
|
headers: localVarHeaders,
|
|
8575
9146
|
observe: observe,
|
|
9147
|
+
transferCache: localVarTransferCache,
|
|
8576
9148
|
reportProgress: reportProgress
|
|
8577
9149
|
});
|
|
8578
9150
|
}
|
|
@@ -8615,8 +9187,9 @@ class OnboardingChecklistService {
|
|
|
8615
9187
|
this.configuration = configuration;
|
|
8616
9188
|
}
|
|
8617
9189
|
if (typeof this.configuration.basePath !== 'string') {
|
|
8618
|
-
|
|
8619
|
-
|
|
9190
|
+
const firstBasePath = Array.isArray(basePath) ? basePath[0] : undefined;
|
|
9191
|
+
if (firstBasePath != undefined) {
|
|
9192
|
+
basePath = firstBasePath;
|
|
8620
9193
|
}
|
|
8621
9194
|
if (typeof basePath !== 'string') {
|
|
8622
9195
|
basePath = this.basePath;
|
|
@@ -8686,6 +9259,10 @@ class OnboardingChecklistService {
|
|
|
8686
9259
|
if (localVarHttpContext === undefined) {
|
|
8687
9260
|
localVarHttpContext = new HttpContext();
|
|
8688
9261
|
}
|
|
9262
|
+
let localVarTransferCache = options && options.transferCache;
|
|
9263
|
+
if (localVarTransferCache === undefined) {
|
|
9264
|
+
localVarTransferCache = true;
|
|
9265
|
+
}
|
|
8689
9266
|
let responseType_ = 'json';
|
|
8690
9267
|
if (localVarHttpHeaderAcceptSelected) {
|
|
8691
9268
|
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
@@ -8705,6 +9282,7 @@ class OnboardingChecklistService {
|
|
|
8705
9282
|
withCredentials: this.configuration.withCredentials,
|
|
8706
9283
|
headers: localVarHeaders,
|
|
8707
9284
|
observe: observe,
|
|
9285
|
+
transferCache: localVarTransferCache,
|
|
8708
9286
|
reportProgress: reportProgress
|
|
8709
9287
|
});
|
|
8710
9288
|
}
|
|
@@ -8734,6 +9312,10 @@ class OnboardingChecklistService {
|
|
|
8734
9312
|
if (localVarHttpContext === undefined) {
|
|
8735
9313
|
localVarHttpContext = new HttpContext();
|
|
8736
9314
|
}
|
|
9315
|
+
let localVarTransferCache = options && options.transferCache;
|
|
9316
|
+
if (localVarTransferCache === undefined) {
|
|
9317
|
+
localVarTransferCache = true;
|
|
9318
|
+
}
|
|
8737
9319
|
// to determine the Content-Type header
|
|
8738
9320
|
const consumes = [
|
|
8739
9321
|
'application/json'
|
|
@@ -8762,6 +9344,7 @@ class OnboardingChecklistService {
|
|
|
8762
9344
|
withCredentials: this.configuration.withCredentials,
|
|
8763
9345
|
headers: localVarHeaders,
|
|
8764
9346
|
observe: observe,
|
|
9347
|
+
transferCache: localVarTransferCache,
|
|
8765
9348
|
reportProgress: reportProgress
|
|
8766
9349
|
});
|
|
8767
9350
|
}
|
|
@@ -8804,8 +9387,9 @@ class PingService {
|
|
|
8804
9387
|
this.configuration = configuration;
|
|
8805
9388
|
}
|
|
8806
9389
|
if (typeof this.configuration.basePath !== 'string') {
|
|
8807
|
-
|
|
8808
|
-
|
|
9390
|
+
const firstBasePath = Array.isArray(basePath) ? basePath[0] : undefined;
|
|
9391
|
+
if (firstBasePath != undefined) {
|
|
9392
|
+
basePath = firstBasePath;
|
|
8809
9393
|
}
|
|
8810
9394
|
if (typeof basePath !== 'string') {
|
|
8811
9395
|
basePath = this.basePath;
|
|
@@ -8869,6 +9453,10 @@ class PingService {
|
|
|
8869
9453
|
if (localVarHttpContext === undefined) {
|
|
8870
9454
|
localVarHttpContext = new HttpContext();
|
|
8871
9455
|
}
|
|
9456
|
+
let localVarTransferCache = options && options.transferCache;
|
|
9457
|
+
if (localVarTransferCache === undefined) {
|
|
9458
|
+
localVarTransferCache = true;
|
|
9459
|
+
}
|
|
8872
9460
|
let responseType_ = 'json';
|
|
8873
9461
|
if (localVarHttpHeaderAcceptSelected) {
|
|
8874
9462
|
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
@@ -8888,6 +9476,7 @@ class PingService {
|
|
|
8888
9476
|
withCredentials: this.configuration.withCredentials,
|
|
8889
9477
|
headers: localVarHeaders,
|
|
8890
9478
|
observe: observe,
|
|
9479
|
+
transferCache: localVarTransferCache,
|
|
8891
9480
|
reportProgress: reportProgress
|
|
8892
9481
|
});
|
|
8893
9482
|
}
|
|
@@ -8930,8 +9519,9 @@ class PortalAccessTokensService {
|
|
|
8930
9519
|
this.configuration = configuration;
|
|
8931
9520
|
}
|
|
8932
9521
|
if (typeof this.configuration.basePath !== 'string') {
|
|
8933
|
-
|
|
8934
|
-
|
|
9522
|
+
const firstBasePath = Array.isArray(basePath) ? basePath[0] : undefined;
|
|
9523
|
+
if (firstBasePath != undefined) {
|
|
9524
|
+
basePath = firstBasePath;
|
|
8935
9525
|
}
|
|
8936
9526
|
if (typeof basePath !== 'string') {
|
|
8937
9527
|
basePath = this.basePath;
|
|
@@ -9004,6 +9594,10 @@ class PortalAccessTokensService {
|
|
|
9004
9594
|
if (localVarHttpContext === undefined) {
|
|
9005
9595
|
localVarHttpContext = new HttpContext();
|
|
9006
9596
|
}
|
|
9597
|
+
let localVarTransferCache = options && options.transferCache;
|
|
9598
|
+
if (localVarTransferCache === undefined) {
|
|
9599
|
+
localVarTransferCache = true;
|
|
9600
|
+
}
|
|
9007
9601
|
let responseType_ = 'json';
|
|
9008
9602
|
if (localVarHttpHeaderAcceptSelected) {
|
|
9009
9603
|
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
@@ -9023,6 +9617,7 @@ class PortalAccessTokensService {
|
|
|
9023
9617
|
withCredentials: this.configuration.withCredentials,
|
|
9024
9618
|
headers: localVarHeaders,
|
|
9025
9619
|
observe: observe,
|
|
9620
|
+
transferCache: localVarTransferCache,
|
|
9026
9621
|
reportProgress: reportProgress
|
|
9027
9622
|
});
|
|
9028
9623
|
}
|
|
@@ -9065,8 +9660,9 @@ class PortalEmailsService {
|
|
|
9065
9660
|
this.configuration = configuration;
|
|
9066
9661
|
}
|
|
9067
9662
|
if (typeof this.configuration.basePath !== 'string') {
|
|
9068
|
-
|
|
9069
|
-
|
|
9663
|
+
const firstBasePath = Array.isArray(basePath) ? basePath[0] : undefined;
|
|
9664
|
+
if (firstBasePath != undefined) {
|
|
9665
|
+
basePath = firstBasePath;
|
|
9070
9666
|
}
|
|
9071
9667
|
if (typeof basePath !== 'string') {
|
|
9072
9668
|
basePath = this.basePath;
|
|
@@ -9139,6 +9735,10 @@ class PortalEmailsService {
|
|
|
9139
9735
|
if (localVarHttpContext === undefined) {
|
|
9140
9736
|
localVarHttpContext = new HttpContext();
|
|
9141
9737
|
}
|
|
9738
|
+
let localVarTransferCache = options && options.transferCache;
|
|
9739
|
+
if (localVarTransferCache === undefined) {
|
|
9740
|
+
localVarTransferCache = true;
|
|
9741
|
+
}
|
|
9142
9742
|
// to determine the Content-Type header
|
|
9143
9743
|
const consumes = [
|
|
9144
9744
|
'application/json'
|
|
@@ -9167,6 +9767,7 @@ class PortalEmailsService {
|
|
|
9167
9767
|
withCredentials: this.configuration.withCredentials,
|
|
9168
9768
|
headers: localVarHeaders,
|
|
9169
9769
|
observe: observe,
|
|
9770
|
+
transferCache: localVarTransferCache,
|
|
9170
9771
|
reportProgress: reportProgress
|
|
9171
9772
|
});
|
|
9172
9773
|
}
|
|
@@ -9209,8 +9810,9 @@ class PortalsService {
|
|
|
9209
9810
|
this.configuration = configuration;
|
|
9210
9811
|
}
|
|
9211
9812
|
if (typeof this.configuration.basePath !== 'string') {
|
|
9212
|
-
|
|
9213
|
-
|
|
9813
|
+
const firstBasePath = Array.isArray(basePath) ? basePath[0] : undefined;
|
|
9814
|
+
if (firstBasePath != undefined) {
|
|
9815
|
+
basePath = firstBasePath;
|
|
9214
9816
|
}
|
|
9215
9817
|
if (typeof basePath !== 'string') {
|
|
9216
9818
|
basePath = this.basePath;
|
|
@@ -9283,6 +9885,10 @@ class PortalsService {
|
|
|
9283
9885
|
if (localVarHttpContext === undefined) {
|
|
9284
9886
|
localVarHttpContext = new HttpContext();
|
|
9285
9887
|
}
|
|
9888
|
+
let localVarTransferCache = options && options.transferCache;
|
|
9889
|
+
if (localVarTransferCache === undefined) {
|
|
9890
|
+
localVarTransferCache = true;
|
|
9891
|
+
}
|
|
9286
9892
|
let responseType_ = 'json';
|
|
9287
9893
|
if (localVarHttpHeaderAcceptSelected) {
|
|
9288
9894
|
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
@@ -9302,6 +9908,7 @@ class PortalsService {
|
|
|
9302
9908
|
withCredentials: this.configuration.withCredentials,
|
|
9303
9909
|
headers: localVarHeaders,
|
|
9304
9910
|
observe: observe,
|
|
9911
|
+
transferCache: localVarTransferCache,
|
|
9305
9912
|
reportProgress: reportProgress
|
|
9306
9913
|
});
|
|
9307
9914
|
}
|
|
@@ -9331,6 +9938,10 @@ class PortalsService {
|
|
|
9331
9938
|
if (localVarHttpContext === undefined) {
|
|
9332
9939
|
localVarHttpContext = new HttpContext();
|
|
9333
9940
|
}
|
|
9941
|
+
let localVarTransferCache = options && options.transferCache;
|
|
9942
|
+
if (localVarTransferCache === undefined) {
|
|
9943
|
+
localVarTransferCache = true;
|
|
9944
|
+
}
|
|
9334
9945
|
let responseType_ = 'json';
|
|
9335
9946
|
if (localVarHttpHeaderAcceptSelected) {
|
|
9336
9947
|
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
@@ -9350,6 +9961,7 @@ class PortalsService {
|
|
|
9350
9961
|
withCredentials: this.configuration.withCredentials,
|
|
9351
9962
|
headers: localVarHeaders,
|
|
9352
9963
|
observe: observe,
|
|
9964
|
+
transferCache: localVarTransferCache,
|
|
9353
9965
|
reportProgress: reportProgress
|
|
9354
9966
|
});
|
|
9355
9967
|
}
|
|
@@ -9382,6 +9994,10 @@ class PortalsService {
|
|
|
9382
9994
|
if (localVarHttpContext === undefined) {
|
|
9383
9995
|
localVarHttpContext = new HttpContext();
|
|
9384
9996
|
}
|
|
9997
|
+
let localVarTransferCache = options && options.transferCache;
|
|
9998
|
+
if (localVarTransferCache === undefined) {
|
|
9999
|
+
localVarTransferCache = true;
|
|
10000
|
+
}
|
|
9385
10001
|
// to determine the Content-Type header
|
|
9386
10002
|
const consumes = [
|
|
9387
10003
|
'application/json'
|
|
@@ -9410,6 +10026,7 @@ class PortalsService {
|
|
|
9410
10026
|
withCredentials: this.configuration.withCredentials,
|
|
9411
10027
|
headers: localVarHeaders,
|
|
9412
10028
|
observe: observe,
|
|
10029
|
+
transferCache: localVarTransferCache,
|
|
9413
10030
|
reportProgress: reportProgress
|
|
9414
10031
|
});
|
|
9415
10032
|
}
|
|
@@ -9439,6 +10056,10 @@ class PortalsService {
|
|
|
9439
10056
|
if (localVarHttpContext === undefined) {
|
|
9440
10057
|
localVarHttpContext = new HttpContext();
|
|
9441
10058
|
}
|
|
10059
|
+
let localVarTransferCache = options && options.transferCache;
|
|
10060
|
+
if (localVarTransferCache === undefined) {
|
|
10061
|
+
localVarTransferCache = true;
|
|
10062
|
+
}
|
|
9442
10063
|
// to determine the Content-Type header
|
|
9443
10064
|
const consumes = [
|
|
9444
10065
|
'application/json'
|
|
@@ -9467,6 +10088,7 @@ class PortalsService {
|
|
|
9467
10088
|
withCredentials: this.configuration.withCredentials,
|
|
9468
10089
|
headers: localVarHeaders,
|
|
9469
10090
|
observe: observe,
|
|
10091
|
+
transferCache: localVarTransferCache,
|
|
9470
10092
|
reportProgress: reportProgress
|
|
9471
10093
|
});
|
|
9472
10094
|
}
|
|
@@ -9496,6 +10118,10 @@ class PortalsService {
|
|
|
9496
10118
|
if (localVarHttpContext === undefined) {
|
|
9497
10119
|
localVarHttpContext = new HttpContext();
|
|
9498
10120
|
}
|
|
10121
|
+
let localVarTransferCache = options && options.transferCache;
|
|
10122
|
+
if (localVarTransferCache === undefined) {
|
|
10123
|
+
localVarTransferCache = true;
|
|
10124
|
+
}
|
|
9499
10125
|
// to determine the Content-Type header
|
|
9500
10126
|
const consumes = [
|
|
9501
10127
|
'application/json'
|
|
@@ -9524,6 +10150,7 @@ class PortalsService {
|
|
|
9524
10150
|
withCredentials: this.configuration.withCredentials,
|
|
9525
10151
|
headers: localVarHeaders,
|
|
9526
10152
|
observe: observe,
|
|
10153
|
+
transferCache: localVarTransferCache,
|
|
9527
10154
|
reportProgress: reportProgress
|
|
9528
10155
|
});
|
|
9529
10156
|
}
|
|
@@ -9566,8 +10193,9 @@ class PresetTransformationsService {
|
|
|
9566
10193
|
this.configuration = configuration;
|
|
9567
10194
|
}
|
|
9568
10195
|
if (typeof this.configuration.basePath !== 'string') {
|
|
9569
|
-
|
|
9570
|
-
|
|
10196
|
+
const firstBasePath = Array.isArray(basePath) ? basePath[0] : undefined;
|
|
10197
|
+
if (firstBasePath != undefined) {
|
|
10198
|
+
basePath = firstBasePath;
|
|
9571
10199
|
}
|
|
9572
10200
|
if (typeof basePath !== 'string') {
|
|
9573
10201
|
basePath = this.basePath;
|
|
@@ -9637,6 +10265,10 @@ class PresetTransformationsService {
|
|
|
9637
10265
|
if (localVarHttpContext === undefined) {
|
|
9638
10266
|
localVarHttpContext = new HttpContext();
|
|
9639
10267
|
}
|
|
10268
|
+
let localVarTransferCache = options && options.transferCache;
|
|
10269
|
+
if (localVarTransferCache === undefined) {
|
|
10270
|
+
localVarTransferCache = true;
|
|
10271
|
+
}
|
|
9640
10272
|
let responseType_ = 'json';
|
|
9641
10273
|
if (localVarHttpHeaderAcceptSelected) {
|
|
9642
10274
|
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
@@ -9656,6 +10288,7 @@ class PresetTransformationsService {
|
|
|
9656
10288
|
withCredentials: this.configuration.withCredentials,
|
|
9657
10289
|
headers: localVarHeaders,
|
|
9658
10290
|
observe: observe,
|
|
10291
|
+
transferCache: localVarTransferCache,
|
|
9659
10292
|
reportProgress: reportProgress
|
|
9660
10293
|
});
|
|
9661
10294
|
}
|
|
@@ -9685,6 +10318,10 @@ class PresetTransformationsService {
|
|
|
9685
10318
|
if (localVarHttpContext === undefined) {
|
|
9686
10319
|
localVarHttpContext = new HttpContext();
|
|
9687
10320
|
}
|
|
10321
|
+
let localVarTransferCache = options && options.transferCache;
|
|
10322
|
+
if (localVarTransferCache === undefined) {
|
|
10323
|
+
localVarTransferCache = true;
|
|
10324
|
+
}
|
|
9688
10325
|
// to determine the Content-Type header
|
|
9689
10326
|
const consumes = [
|
|
9690
10327
|
'application/json'
|
|
@@ -9713,6 +10350,7 @@ class PresetTransformationsService {
|
|
|
9713
10350
|
withCredentials: this.configuration.withCredentials,
|
|
9714
10351
|
headers: localVarHeaders,
|
|
9715
10352
|
observe: observe,
|
|
10353
|
+
transferCache: localVarTransferCache,
|
|
9716
10354
|
reportProgress: reportProgress
|
|
9717
10355
|
});
|
|
9718
10356
|
}
|
|
@@ -9742,6 +10380,10 @@ class PresetTransformationsService {
|
|
|
9742
10380
|
if (localVarHttpContext === undefined) {
|
|
9743
10381
|
localVarHttpContext = new HttpContext();
|
|
9744
10382
|
}
|
|
10383
|
+
let localVarTransferCache = options && options.transferCache;
|
|
10384
|
+
if (localVarTransferCache === undefined) {
|
|
10385
|
+
localVarTransferCache = true;
|
|
10386
|
+
}
|
|
9745
10387
|
// to determine the Content-Type header
|
|
9746
10388
|
const consumes = [
|
|
9747
10389
|
'application/json'
|
|
@@ -9770,6 +10412,7 @@ class PresetTransformationsService {
|
|
|
9770
10412
|
withCredentials: this.configuration.withCredentials,
|
|
9771
10413
|
headers: localVarHeaders,
|
|
9772
10414
|
observe: observe,
|
|
10415
|
+
transferCache: localVarTransferCache,
|
|
9773
10416
|
reportProgress: reportProgress
|
|
9774
10417
|
});
|
|
9775
10418
|
}
|
|
@@ -9812,8 +10455,9 @@ class PubliclyAvailableGuestUploadDataService {
|
|
|
9812
10455
|
this.configuration = configuration;
|
|
9813
10456
|
}
|
|
9814
10457
|
if (typeof this.configuration.basePath !== 'string') {
|
|
9815
|
-
|
|
9816
|
-
|
|
10458
|
+
const firstBasePath = Array.isArray(basePath) ? basePath[0] : undefined;
|
|
10459
|
+
if (firstBasePath != undefined) {
|
|
10460
|
+
basePath = firstBasePath;
|
|
9817
10461
|
}
|
|
9818
10462
|
if (typeof basePath !== 'string') {
|
|
9819
10463
|
basePath = this.basePath;
|
|
@@ -9889,6 +10533,10 @@ class PubliclyAvailableGuestUploadDataService {
|
|
|
9889
10533
|
if (localVarHttpContext === undefined) {
|
|
9890
10534
|
localVarHttpContext = new HttpContext();
|
|
9891
10535
|
}
|
|
10536
|
+
let localVarTransferCache = options && options.transferCache;
|
|
10537
|
+
if (localVarTransferCache === undefined) {
|
|
10538
|
+
localVarTransferCache = true;
|
|
10539
|
+
}
|
|
9892
10540
|
let responseType_ = 'json';
|
|
9893
10541
|
if (localVarHttpHeaderAcceptSelected) {
|
|
9894
10542
|
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
@@ -9908,6 +10556,7 @@ class PubliclyAvailableGuestUploadDataService {
|
|
|
9908
10556
|
withCredentials: this.configuration.withCredentials,
|
|
9909
10557
|
headers: localVarHeaders,
|
|
9910
10558
|
observe: observe,
|
|
10559
|
+
transferCache: localVarTransferCache,
|
|
9911
10560
|
reportProgress: reportProgress
|
|
9912
10561
|
});
|
|
9913
10562
|
}
|
|
@@ -9950,8 +10599,9 @@ class PubliclyAvailablePortalDatasService {
|
|
|
9950
10599
|
this.configuration = configuration;
|
|
9951
10600
|
}
|
|
9952
10601
|
if (typeof this.configuration.basePath !== 'string') {
|
|
9953
|
-
|
|
9954
|
-
|
|
10602
|
+
const firstBasePath = Array.isArray(basePath) ? basePath[0] : undefined;
|
|
10603
|
+
if (firstBasePath != undefined) {
|
|
10604
|
+
basePath = firstBasePath;
|
|
9955
10605
|
}
|
|
9956
10606
|
if (typeof basePath !== 'string') {
|
|
9957
10607
|
basePath = this.basePath;
|
|
@@ -10027,6 +10677,10 @@ class PubliclyAvailablePortalDatasService {
|
|
|
10027
10677
|
if (localVarHttpContext === undefined) {
|
|
10028
10678
|
localVarHttpContext = new HttpContext();
|
|
10029
10679
|
}
|
|
10680
|
+
let localVarTransferCache = options && options.transferCache;
|
|
10681
|
+
if (localVarTransferCache === undefined) {
|
|
10682
|
+
localVarTransferCache = true;
|
|
10683
|
+
}
|
|
10030
10684
|
let responseType_ = 'json';
|
|
10031
10685
|
if (localVarHttpHeaderAcceptSelected) {
|
|
10032
10686
|
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
@@ -10046,6 +10700,7 @@ class PubliclyAvailablePortalDatasService {
|
|
|
10046
10700
|
withCredentials: this.configuration.withCredentials,
|
|
10047
10701
|
headers: localVarHeaders,
|
|
10048
10702
|
observe: observe,
|
|
10703
|
+
transferCache: localVarTransferCache,
|
|
10049
10704
|
reportProgress: reportProgress
|
|
10050
10705
|
});
|
|
10051
10706
|
}
|
|
@@ -10088,8 +10743,9 @@ class SavedSearchService {
|
|
|
10088
10743
|
this.configuration = configuration;
|
|
10089
10744
|
}
|
|
10090
10745
|
if (typeof this.configuration.basePath !== 'string') {
|
|
10091
|
-
|
|
10092
|
-
|
|
10746
|
+
const firstBasePath = Array.isArray(basePath) ? basePath[0] : undefined;
|
|
10747
|
+
if (firstBasePath != undefined) {
|
|
10748
|
+
basePath = firstBasePath;
|
|
10093
10749
|
}
|
|
10094
10750
|
if (typeof basePath !== 'string') {
|
|
10095
10751
|
basePath = this.basePath;
|
|
@@ -10162,6 +10818,10 @@ class SavedSearchService {
|
|
|
10162
10818
|
if (localVarHttpContext === undefined) {
|
|
10163
10819
|
localVarHttpContext = new HttpContext();
|
|
10164
10820
|
}
|
|
10821
|
+
let localVarTransferCache = options && options.transferCache;
|
|
10822
|
+
if (localVarTransferCache === undefined) {
|
|
10823
|
+
localVarTransferCache = true;
|
|
10824
|
+
}
|
|
10165
10825
|
let responseType_ = 'json';
|
|
10166
10826
|
if (localVarHttpHeaderAcceptSelected) {
|
|
10167
10827
|
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
@@ -10181,6 +10841,7 @@ class SavedSearchService {
|
|
|
10181
10841
|
withCredentials: this.configuration.withCredentials,
|
|
10182
10842
|
headers: localVarHeaders,
|
|
10183
10843
|
observe: observe,
|
|
10844
|
+
transferCache: localVarTransferCache,
|
|
10184
10845
|
reportProgress: reportProgress
|
|
10185
10846
|
});
|
|
10186
10847
|
}
|
|
@@ -10223,8 +10884,9 @@ class SavedSearchesService {
|
|
|
10223
10884
|
this.configuration = configuration;
|
|
10224
10885
|
}
|
|
10225
10886
|
if (typeof this.configuration.basePath !== 'string') {
|
|
10226
|
-
|
|
10227
|
-
|
|
10887
|
+
const firstBasePath = Array.isArray(basePath) ? basePath[0] : undefined;
|
|
10888
|
+
if (firstBasePath != undefined) {
|
|
10889
|
+
basePath = firstBasePath;
|
|
10228
10890
|
}
|
|
10229
10891
|
if (typeof basePath !== 'string') {
|
|
10230
10892
|
basePath = this.basePath;
|
|
@@ -10297,6 +10959,10 @@ class SavedSearchesService {
|
|
|
10297
10959
|
if (localVarHttpContext === undefined) {
|
|
10298
10960
|
localVarHttpContext = new HttpContext();
|
|
10299
10961
|
}
|
|
10962
|
+
let localVarTransferCache = options && options.transferCache;
|
|
10963
|
+
if (localVarTransferCache === undefined) {
|
|
10964
|
+
localVarTransferCache = true;
|
|
10965
|
+
}
|
|
10300
10966
|
let responseType_ = 'json';
|
|
10301
10967
|
if (localVarHttpHeaderAcceptSelected) {
|
|
10302
10968
|
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
@@ -10316,6 +10982,7 @@ class SavedSearchesService {
|
|
|
10316
10982
|
withCredentials: this.configuration.withCredentials,
|
|
10317
10983
|
headers: localVarHeaders,
|
|
10318
10984
|
observe: observe,
|
|
10985
|
+
transferCache: localVarTransferCache,
|
|
10319
10986
|
reportProgress: reportProgress
|
|
10320
10987
|
});
|
|
10321
10988
|
}
|
|
@@ -10348,6 +11015,10 @@ class SavedSearchesService {
|
|
|
10348
11015
|
if (localVarHttpContext === undefined) {
|
|
10349
11016
|
localVarHttpContext = new HttpContext();
|
|
10350
11017
|
}
|
|
11018
|
+
let localVarTransferCache = options && options.transferCache;
|
|
11019
|
+
if (localVarTransferCache === undefined) {
|
|
11020
|
+
localVarTransferCache = true;
|
|
11021
|
+
}
|
|
10351
11022
|
// to determine the Content-Type header
|
|
10352
11023
|
const consumes = [
|
|
10353
11024
|
'application/json'
|
|
@@ -10376,6 +11047,7 @@ class SavedSearchesService {
|
|
|
10376
11047
|
withCredentials: this.configuration.withCredentials,
|
|
10377
11048
|
headers: localVarHeaders,
|
|
10378
11049
|
observe: observe,
|
|
11050
|
+
transferCache: localVarTransferCache,
|
|
10379
11051
|
reportProgress: reportProgress
|
|
10380
11052
|
});
|
|
10381
11053
|
}
|
|
@@ -10405,6 +11077,10 @@ class SavedSearchesService {
|
|
|
10405
11077
|
if (localVarHttpContext === undefined) {
|
|
10406
11078
|
localVarHttpContext = new HttpContext();
|
|
10407
11079
|
}
|
|
11080
|
+
let localVarTransferCache = options && options.transferCache;
|
|
11081
|
+
if (localVarTransferCache === undefined) {
|
|
11082
|
+
localVarTransferCache = true;
|
|
11083
|
+
}
|
|
10408
11084
|
// to determine the Content-Type header
|
|
10409
11085
|
const consumes = [
|
|
10410
11086
|
'application/json'
|
|
@@ -10433,6 +11109,7 @@ class SavedSearchesService {
|
|
|
10433
11109
|
withCredentials: this.configuration.withCredentials,
|
|
10434
11110
|
headers: localVarHeaders,
|
|
10435
11111
|
observe: observe,
|
|
11112
|
+
transferCache: localVarTransferCache,
|
|
10436
11113
|
reportProgress: reportProgress
|
|
10437
11114
|
});
|
|
10438
11115
|
}
|
|
@@ -10462,6 +11139,10 @@ class SavedSearchesService {
|
|
|
10462
11139
|
if (localVarHttpContext === undefined) {
|
|
10463
11140
|
localVarHttpContext = new HttpContext();
|
|
10464
11141
|
}
|
|
11142
|
+
let localVarTransferCache = options && options.transferCache;
|
|
11143
|
+
if (localVarTransferCache === undefined) {
|
|
11144
|
+
localVarTransferCache = true;
|
|
11145
|
+
}
|
|
10465
11146
|
// to determine the Content-Type header
|
|
10466
11147
|
const consumes = [
|
|
10467
11148
|
'application/json'
|
|
@@ -10490,6 +11171,7 @@ class SavedSearchesService {
|
|
|
10490
11171
|
withCredentials: this.configuration.withCredentials,
|
|
10491
11172
|
headers: localVarHeaders,
|
|
10492
11173
|
observe: observe,
|
|
11174
|
+
transferCache: localVarTransferCache,
|
|
10493
11175
|
reportProgress: reportProgress
|
|
10494
11176
|
});
|
|
10495
11177
|
}
|
|
@@ -10532,8 +11214,9 @@ class SearchFiltersService {
|
|
|
10532
11214
|
this.configuration = configuration;
|
|
10533
11215
|
}
|
|
10534
11216
|
if (typeof this.configuration.basePath !== 'string') {
|
|
10535
|
-
|
|
10536
|
-
|
|
11217
|
+
const firstBasePath = Array.isArray(basePath) ? basePath[0] : undefined;
|
|
11218
|
+
if (firstBasePath != undefined) {
|
|
11219
|
+
basePath = firstBasePath;
|
|
10537
11220
|
}
|
|
10538
11221
|
if (typeof basePath !== 'string') {
|
|
10539
11222
|
basePath = this.basePath;
|
|
@@ -10603,6 +11286,10 @@ class SearchFiltersService {
|
|
|
10603
11286
|
if (localVarHttpContext === undefined) {
|
|
10604
11287
|
localVarHttpContext = new HttpContext();
|
|
10605
11288
|
}
|
|
11289
|
+
let localVarTransferCache = options && options.transferCache;
|
|
11290
|
+
if (localVarTransferCache === undefined) {
|
|
11291
|
+
localVarTransferCache = true;
|
|
11292
|
+
}
|
|
10606
11293
|
let responseType_ = 'json';
|
|
10607
11294
|
if (localVarHttpHeaderAcceptSelected) {
|
|
10608
11295
|
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
@@ -10622,6 +11309,7 @@ class SearchFiltersService {
|
|
|
10622
11309
|
withCredentials: this.configuration.withCredentials,
|
|
10623
11310
|
headers: localVarHeaders,
|
|
10624
11311
|
observe: observe,
|
|
11312
|
+
transferCache: localVarTransferCache,
|
|
10625
11313
|
reportProgress: reportProgress
|
|
10626
11314
|
});
|
|
10627
11315
|
}
|
|
@@ -10648,6 +11336,10 @@ class SearchFiltersService {
|
|
|
10648
11336
|
if (localVarHttpContext === undefined) {
|
|
10649
11337
|
localVarHttpContext = new HttpContext();
|
|
10650
11338
|
}
|
|
11339
|
+
let localVarTransferCache = options && options.transferCache;
|
|
11340
|
+
if (localVarTransferCache === undefined) {
|
|
11341
|
+
localVarTransferCache = true;
|
|
11342
|
+
}
|
|
10651
11343
|
let responseType_ = 'json';
|
|
10652
11344
|
if (localVarHttpHeaderAcceptSelected) {
|
|
10653
11345
|
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
@@ -10667,6 +11359,7 @@ class SearchFiltersService {
|
|
|
10667
11359
|
withCredentials: this.configuration.withCredentials,
|
|
10668
11360
|
headers: localVarHeaders,
|
|
10669
11361
|
observe: observe,
|
|
11362
|
+
transferCache: localVarTransferCache,
|
|
10670
11363
|
reportProgress: reportProgress
|
|
10671
11364
|
});
|
|
10672
11365
|
}
|
|
@@ -10709,8 +11402,9 @@ class ShopifyService {
|
|
|
10709
11402
|
this.configuration = configuration;
|
|
10710
11403
|
}
|
|
10711
11404
|
if (typeof this.configuration.basePath !== 'string') {
|
|
10712
|
-
|
|
10713
|
-
|
|
11405
|
+
const firstBasePath = Array.isArray(basePath) ? basePath[0] : undefined;
|
|
11406
|
+
if (firstBasePath != undefined) {
|
|
11407
|
+
basePath = firstBasePath;
|
|
10714
11408
|
}
|
|
10715
11409
|
if (typeof basePath !== 'string') {
|
|
10716
11410
|
basePath = this.basePath;
|
|
@@ -10802,6 +11496,10 @@ class ShopifyService {
|
|
|
10802
11496
|
if (localVarHttpContext === undefined) {
|
|
10803
11497
|
localVarHttpContext = new HttpContext();
|
|
10804
11498
|
}
|
|
11499
|
+
let localVarTransferCache = options && options.transferCache;
|
|
11500
|
+
if (localVarTransferCache === undefined) {
|
|
11501
|
+
localVarTransferCache = true;
|
|
11502
|
+
}
|
|
10805
11503
|
let responseType_ = 'json';
|
|
10806
11504
|
if (localVarHttpHeaderAcceptSelected) {
|
|
10807
11505
|
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
@@ -10822,6 +11520,7 @@ class ShopifyService {
|
|
|
10822
11520
|
withCredentials: this.configuration.withCredentials,
|
|
10823
11521
|
headers: localVarHeaders,
|
|
10824
11522
|
observe: observe,
|
|
11523
|
+
transferCache: localVarTransferCache,
|
|
10825
11524
|
reportProgress: reportProgress
|
|
10826
11525
|
});
|
|
10827
11526
|
}
|
|
@@ -10845,6 +11544,10 @@ class ShopifyService {
|
|
|
10845
11544
|
if (localVarHttpContext === undefined) {
|
|
10846
11545
|
localVarHttpContext = new HttpContext();
|
|
10847
11546
|
}
|
|
11547
|
+
let localVarTransferCache = options && options.transferCache;
|
|
11548
|
+
if (localVarTransferCache === undefined) {
|
|
11549
|
+
localVarTransferCache = true;
|
|
11550
|
+
}
|
|
10848
11551
|
let responseType_ = 'json';
|
|
10849
11552
|
if (localVarHttpHeaderAcceptSelected) {
|
|
10850
11553
|
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
@@ -10864,6 +11567,7 @@ class ShopifyService {
|
|
|
10864
11567
|
withCredentials: this.configuration.withCredentials,
|
|
10865
11568
|
headers: localVarHeaders,
|
|
10866
11569
|
observe: observe,
|
|
11570
|
+
transferCache: localVarTransferCache,
|
|
10867
11571
|
reportProgress: reportProgress
|
|
10868
11572
|
});
|
|
10869
11573
|
}
|
|
@@ -10893,6 +11597,10 @@ class ShopifyService {
|
|
|
10893
11597
|
if (localVarHttpContext === undefined) {
|
|
10894
11598
|
localVarHttpContext = new HttpContext();
|
|
10895
11599
|
}
|
|
11600
|
+
let localVarTransferCache = options && options.transferCache;
|
|
11601
|
+
if (localVarTransferCache === undefined) {
|
|
11602
|
+
localVarTransferCache = true;
|
|
11603
|
+
}
|
|
10896
11604
|
// to determine the Content-Type header
|
|
10897
11605
|
const consumes = [
|
|
10898
11606
|
'application/json'
|
|
@@ -10921,6 +11629,7 @@ class ShopifyService {
|
|
|
10921
11629
|
withCredentials: this.configuration.withCredentials,
|
|
10922
11630
|
headers: localVarHeaders,
|
|
10923
11631
|
observe: observe,
|
|
11632
|
+
transferCache: localVarTransferCache,
|
|
10924
11633
|
reportProgress: reportProgress
|
|
10925
11634
|
});
|
|
10926
11635
|
}
|
|
@@ -10950,6 +11659,10 @@ class ShopifyService {
|
|
|
10950
11659
|
if (localVarHttpContext === undefined) {
|
|
10951
11660
|
localVarHttpContext = new HttpContext();
|
|
10952
11661
|
}
|
|
11662
|
+
let localVarTransferCache = options && options.transferCache;
|
|
11663
|
+
if (localVarTransferCache === undefined) {
|
|
11664
|
+
localVarTransferCache = true;
|
|
11665
|
+
}
|
|
10953
11666
|
// to determine the Content-Type header
|
|
10954
11667
|
const consumes = [
|
|
10955
11668
|
'application/json'
|
|
@@ -10978,6 +11691,7 @@ class ShopifyService {
|
|
|
10978
11691
|
withCredentials: this.configuration.withCredentials,
|
|
10979
11692
|
headers: localVarHeaders,
|
|
10980
11693
|
observe: observe,
|
|
11694
|
+
transferCache: localVarTransferCache,
|
|
10981
11695
|
reportProgress: reportProgress
|
|
10982
11696
|
});
|
|
10983
11697
|
}
|
|
@@ -11020,8 +11734,9 @@ class StaffMembersService {
|
|
|
11020
11734
|
this.configuration = configuration;
|
|
11021
11735
|
}
|
|
11022
11736
|
if (typeof this.configuration.basePath !== 'string') {
|
|
11023
|
-
|
|
11024
|
-
|
|
11737
|
+
const firstBasePath = Array.isArray(basePath) ? basePath[0] : undefined;
|
|
11738
|
+
if (firstBasePath != undefined) {
|
|
11739
|
+
basePath = firstBasePath;
|
|
11025
11740
|
}
|
|
11026
11741
|
if (typeof basePath !== 'string') {
|
|
11027
11742
|
basePath = this.basePath;
|
|
@@ -11094,6 +11809,10 @@ class StaffMembersService {
|
|
|
11094
11809
|
if (localVarHttpContext === undefined) {
|
|
11095
11810
|
localVarHttpContext = new HttpContext();
|
|
11096
11811
|
}
|
|
11812
|
+
let localVarTransferCache = options && options.transferCache;
|
|
11813
|
+
if (localVarTransferCache === undefined) {
|
|
11814
|
+
localVarTransferCache = true;
|
|
11815
|
+
}
|
|
11097
11816
|
let responseType_ = 'json';
|
|
11098
11817
|
if (localVarHttpHeaderAcceptSelected) {
|
|
11099
11818
|
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
@@ -11113,6 +11832,7 @@ class StaffMembersService {
|
|
|
11113
11832
|
withCredentials: this.configuration.withCredentials,
|
|
11114
11833
|
headers: localVarHeaders,
|
|
11115
11834
|
observe: observe,
|
|
11835
|
+
transferCache: localVarTransferCache,
|
|
11116
11836
|
reportProgress: reportProgress
|
|
11117
11837
|
});
|
|
11118
11838
|
}
|
|
@@ -11139,6 +11859,10 @@ class StaffMembersService {
|
|
|
11139
11859
|
if (localVarHttpContext === undefined) {
|
|
11140
11860
|
localVarHttpContext = new HttpContext();
|
|
11141
11861
|
}
|
|
11862
|
+
let localVarTransferCache = options && options.transferCache;
|
|
11863
|
+
if (localVarTransferCache === undefined) {
|
|
11864
|
+
localVarTransferCache = true;
|
|
11865
|
+
}
|
|
11142
11866
|
let responseType_ = 'json';
|
|
11143
11867
|
if (localVarHttpHeaderAcceptSelected) {
|
|
11144
11868
|
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
@@ -11158,6 +11882,7 @@ class StaffMembersService {
|
|
|
11158
11882
|
withCredentials: this.configuration.withCredentials,
|
|
11159
11883
|
headers: localVarHeaders,
|
|
11160
11884
|
observe: observe,
|
|
11885
|
+
transferCache: localVarTransferCache,
|
|
11161
11886
|
reportProgress: reportProgress
|
|
11162
11887
|
});
|
|
11163
11888
|
}
|
|
@@ -11187,6 +11912,10 @@ class StaffMembersService {
|
|
|
11187
11912
|
if (localVarHttpContext === undefined) {
|
|
11188
11913
|
localVarHttpContext = new HttpContext();
|
|
11189
11914
|
}
|
|
11915
|
+
let localVarTransferCache = options && options.transferCache;
|
|
11916
|
+
if (localVarTransferCache === undefined) {
|
|
11917
|
+
localVarTransferCache = true;
|
|
11918
|
+
}
|
|
11190
11919
|
// to determine the Content-Type header
|
|
11191
11920
|
const consumes = [
|
|
11192
11921
|
'application/json'
|
|
@@ -11215,6 +11944,7 @@ class StaffMembersService {
|
|
|
11215
11944
|
withCredentials: this.configuration.withCredentials,
|
|
11216
11945
|
headers: localVarHeaders,
|
|
11217
11946
|
observe: observe,
|
|
11947
|
+
transferCache: localVarTransferCache,
|
|
11218
11948
|
reportProgress: reportProgress
|
|
11219
11949
|
});
|
|
11220
11950
|
}
|
|
@@ -11257,8 +11987,9 @@ class SubdomainsService {
|
|
|
11257
11987
|
this.configuration = configuration;
|
|
11258
11988
|
}
|
|
11259
11989
|
if (typeof this.configuration.basePath !== 'string') {
|
|
11260
|
-
|
|
11261
|
-
|
|
11990
|
+
const firstBasePath = Array.isArray(basePath) ? basePath[0] : undefined;
|
|
11991
|
+
if (firstBasePath != undefined) {
|
|
11992
|
+
basePath = firstBasePath;
|
|
11262
11993
|
}
|
|
11263
11994
|
if (typeof basePath !== 'string') {
|
|
11264
11995
|
basePath = this.basePath;
|
|
@@ -11325,6 +12056,10 @@ class SubdomainsService {
|
|
|
11325
12056
|
if (localVarHttpContext === undefined) {
|
|
11326
12057
|
localVarHttpContext = new HttpContext();
|
|
11327
12058
|
}
|
|
12059
|
+
let localVarTransferCache = options && options.transferCache;
|
|
12060
|
+
if (localVarTransferCache === undefined) {
|
|
12061
|
+
localVarTransferCache = true;
|
|
12062
|
+
}
|
|
11328
12063
|
// to determine the Content-Type header
|
|
11329
12064
|
const consumes = [
|
|
11330
12065
|
'application/json'
|
|
@@ -11353,6 +12088,7 @@ class SubdomainsService {
|
|
|
11353
12088
|
withCredentials: this.configuration.withCredentials,
|
|
11354
12089
|
headers: localVarHeaders,
|
|
11355
12090
|
observe: observe,
|
|
12091
|
+
transferCache: localVarTransferCache,
|
|
11356
12092
|
reportProgress: reportProgress
|
|
11357
12093
|
});
|
|
11358
12094
|
}
|
|
@@ -11395,8 +12131,9 @@ class SubscriptionService {
|
|
|
11395
12131
|
this.configuration = configuration;
|
|
11396
12132
|
}
|
|
11397
12133
|
if (typeof this.configuration.basePath !== 'string') {
|
|
11398
|
-
|
|
11399
|
-
|
|
12134
|
+
const firstBasePath = Array.isArray(basePath) ? basePath[0] : undefined;
|
|
12135
|
+
if (firstBasePath != undefined) {
|
|
12136
|
+
basePath = firstBasePath;
|
|
11400
12137
|
}
|
|
11401
12138
|
if (typeof basePath !== 'string') {
|
|
11402
12139
|
basePath = this.basePath;
|
|
@@ -11466,6 +12203,10 @@ class SubscriptionService {
|
|
|
11466
12203
|
if (localVarHttpContext === undefined) {
|
|
11467
12204
|
localVarHttpContext = new HttpContext();
|
|
11468
12205
|
}
|
|
12206
|
+
let localVarTransferCache = options && options.transferCache;
|
|
12207
|
+
if (localVarTransferCache === undefined) {
|
|
12208
|
+
localVarTransferCache = true;
|
|
12209
|
+
}
|
|
11469
12210
|
let responseType_ = 'json';
|
|
11470
12211
|
if (localVarHttpHeaderAcceptSelected) {
|
|
11471
12212
|
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
@@ -11485,6 +12226,7 @@ class SubscriptionService {
|
|
|
11485
12226
|
withCredentials: this.configuration.withCredentials,
|
|
11486
12227
|
headers: localVarHeaders,
|
|
11487
12228
|
observe: observe,
|
|
12229
|
+
transferCache: localVarTransferCache,
|
|
11488
12230
|
reportProgress: reportProgress
|
|
11489
12231
|
});
|
|
11490
12232
|
}
|
|
@@ -11511,6 +12253,10 @@ class SubscriptionService {
|
|
|
11511
12253
|
if (localVarHttpContext === undefined) {
|
|
11512
12254
|
localVarHttpContext = new HttpContext();
|
|
11513
12255
|
}
|
|
12256
|
+
let localVarTransferCache = options && options.transferCache;
|
|
12257
|
+
if (localVarTransferCache === undefined) {
|
|
12258
|
+
localVarTransferCache = true;
|
|
12259
|
+
}
|
|
11514
12260
|
let responseType_ = 'json';
|
|
11515
12261
|
if (localVarHttpHeaderAcceptSelected) {
|
|
11516
12262
|
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
@@ -11530,6 +12276,7 @@ class SubscriptionService {
|
|
|
11530
12276
|
withCredentials: this.configuration.withCredentials,
|
|
11531
12277
|
headers: localVarHeaders,
|
|
11532
12278
|
observe: observe,
|
|
12279
|
+
transferCache: localVarTransferCache,
|
|
11533
12280
|
reportProgress: reportProgress
|
|
11534
12281
|
});
|
|
11535
12282
|
}
|
|
@@ -11556,6 +12303,10 @@ class SubscriptionService {
|
|
|
11556
12303
|
if (localVarHttpContext === undefined) {
|
|
11557
12304
|
localVarHttpContext = new HttpContext();
|
|
11558
12305
|
}
|
|
12306
|
+
let localVarTransferCache = options && options.transferCache;
|
|
12307
|
+
if (localVarTransferCache === undefined) {
|
|
12308
|
+
localVarTransferCache = true;
|
|
12309
|
+
}
|
|
11559
12310
|
let responseType_ = 'json';
|
|
11560
12311
|
if (localVarHttpHeaderAcceptSelected) {
|
|
11561
12312
|
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
@@ -11575,6 +12326,7 @@ class SubscriptionService {
|
|
|
11575
12326
|
withCredentials: this.configuration.withCredentials,
|
|
11576
12327
|
headers: localVarHeaders,
|
|
11577
12328
|
observe: observe,
|
|
12329
|
+
transferCache: localVarTransferCache,
|
|
11578
12330
|
reportProgress: reportProgress
|
|
11579
12331
|
});
|
|
11580
12332
|
}
|
|
@@ -11604,6 +12356,10 @@ class SubscriptionService {
|
|
|
11604
12356
|
if (localVarHttpContext === undefined) {
|
|
11605
12357
|
localVarHttpContext = new HttpContext();
|
|
11606
12358
|
}
|
|
12359
|
+
let localVarTransferCache = options && options.transferCache;
|
|
12360
|
+
if (localVarTransferCache === undefined) {
|
|
12361
|
+
localVarTransferCache = true;
|
|
12362
|
+
}
|
|
11607
12363
|
let responseType_ = 'json';
|
|
11608
12364
|
if (localVarHttpHeaderAcceptSelected) {
|
|
11609
12365
|
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
@@ -11623,6 +12379,7 @@ class SubscriptionService {
|
|
|
11623
12379
|
withCredentials: this.configuration.withCredentials,
|
|
11624
12380
|
headers: localVarHeaders,
|
|
11625
12381
|
observe: observe,
|
|
12382
|
+
transferCache: localVarTransferCache,
|
|
11626
12383
|
reportProgress: reportProgress
|
|
11627
12384
|
});
|
|
11628
12385
|
}
|
|
@@ -11649,6 +12406,10 @@ class SubscriptionService {
|
|
|
11649
12406
|
if (localVarHttpContext === undefined) {
|
|
11650
12407
|
localVarHttpContext = new HttpContext();
|
|
11651
12408
|
}
|
|
12409
|
+
let localVarTransferCache = options && options.transferCache;
|
|
12410
|
+
if (localVarTransferCache === undefined) {
|
|
12411
|
+
localVarTransferCache = true;
|
|
12412
|
+
}
|
|
11652
12413
|
let responseType_ = 'json';
|
|
11653
12414
|
if (localVarHttpHeaderAcceptSelected) {
|
|
11654
12415
|
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
@@ -11668,6 +12429,7 @@ class SubscriptionService {
|
|
|
11668
12429
|
withCredentials: this.configuration.withCredentials,
|
|
11669
12430
|
headers: localVarHeaders,
|
|
11670
12431
|
observe: observe,
|
|
12432
|
+
transferCache: localVarTransferCache,
|
|
11671
12433
|
reportProgress: reportProgress
|
|
11672
12434
|
});
|
|
11673
12435
|
}
|
|
@@ -11700,6 +12462,10 @@ class SubscriptionService {
|
|
|
11700
12462
|
if (localVarHttpContext === undefined) {
|
|
11701
12463
|
localVarHttpContext = new HttpContext();
|
|
11702
12464
|
}
|
|
12465
|
+
let localVarTransferCache = options && options.transferCache;
|
|
12466
|
+
if (localVarTransferCache === undefined) {
|
|
12467
|
+
localVarTransferCache = true;
|
|
12468
|
+
}
|
|
11703
12469
|
// to determine the Content-Type header
|
|
11704
12470
|
const consumes = [
|
|
11705
12471
|
'application/json'
|
|
@@ -11728,6 +12494,7 @@ class SubscriptionService {
|
|
|
11728
12494
|
withCredentials: this.configuration.withCredentials,
|
|
11729
12495
|
headers: localVarHeaders,
|
|
11730
12496
|
observe: observe,
|
|
12497
|
+
transferCache: localVarTransferCache,
|
|
11731
12498
|
reportProgress: reportProgress
|
|
11732
12499
|
});
|
|
11733
12500
|
}
|
|
@@ -11757,6 +12524,10 @@ class SubscriptionService {
|
|
|
11757
12524
|
if (localVarHttpContext === undefined) {
|
|
11758
12525
|
localVarHttpContext = new HttpContext();
|
|
11759
12526
|
}
|
|
12527
|
+
let localVarTransferCache = options && options.transferCache;
|
|
12528
|
+
if (localVarTransferCache === undefined) {
|
|
12529
|
+
localVarTransferCache = true;
|
|
12530
|
+
}
|
|
11760
12531
|
// to determine the Content-Type header
|
|
11761
12532
|
const consumes = [
|
|
11762
12533
|
'application/json'
|
|
@@ -11785,6 +12556,7 @@ class SubscriptionService {
|
|
|
11785
12556
|
withCredentials: this.configuration.withCredentials,
|
|
11786
12557
|
headers: localVarHeaders,
|
|
11787
12558
|
observe: observe,
|
|
12559
|
+
transferCache: localVarTransferCache,
|
|
11788
12560
|
reportProgress: reportProgress
|
|
11789
12561
|
});
|
|
11790
12562
|
}
|
|
@@ -11827,8 +12599,9 @@ class TextInImageSettingsService {
|
|
|
11827
12599
|
this.configuration = configuration;
|
|
11828
12600
|
}
|
|
11829
12601
|
if (typeof this.configuration.basePath !== 'string') {
|
|
11830
|
-
|
|
11831
|
-
|
|
12602
|
+
const firstBasePath = Array.isArray(basePath) ? basePath[0] : undefined;
|
|
12603
|
+
if (firstBasePath != undefined) {
|
|
12604
|
+
basePath = firstBasePath;
|
|
11832
12605
|
}
|
|
11833
12606
|
if (typeof basePath !== 'string') {
|
|
11834
12607
|
basePath = this.basePath;
|
|
@@ -11898,6 +12671,10 @@ class TextInImageSettingsService {
|
|
|
11898
12671
|
if (localVarHttpContext === undefined) {
|
|
11899
12672
|
localVarHttpContext = new HttpContext();
|
|
11900
12673
|
}
|
|
12674
|
+
let localVarTransferCache = options && options.transferCache;
|
|
12675
|
+
if (localVarTransferCache === undefined) {
|
|
12676
|
+
localVarTransferCache = true;
|
|
12677
|
+
}
|
|
11901
12678
|
let responseType_ = 'json';
|
|
11902
12679
|
if (localVarHttpHeaderAcceptSelected) {
|
|
11903
12680
|
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
@@ -11917,6 +12694,7 @@ class TextInImageSettingsService {
|
|
|
11917
12694
|
withCredentials: this.configuration.withCredentials,
|
|
11918
12695
|
headers: localVarHeaders,
|
|
11919
12696
|
observe: observe,
|
|
12697
|
+
transferCache: localVarTransferCache,
|
|
11920
12698
|
reportProgress: reportProgress
|
|
11921
12699
|
});
|
|
11922
12700
|
}
|
|
@@ -11946,6 +12724,10 @@ class TextInImageSettingsService {
|
|
|
11946
12724
|
if (localVarHttpContext === undefined) {
|
|
11947
12725
|
localVarHttpContext = new HttpContext();
|
|
11948
12726
|
}
|
|
12727
|
+
let localVarTransferCache = options && options.transferCache;
|
|
12728
|
+
if (localVarTransferCache === undefined) {
|
|
12729
|
+
localVarTransferCache = true;
|
|
12730
|
+
}
|
|
11949
12731
|
// to determine the Content-Type header
|
|
11950
12732
|
const consumes = [
|
|
11951
12733
|
'application/json'
|
|
@@ -11974,6 +12756,7 @@ class TextInImageSettingsService {
|
|
|
11974
12756
|
withCredentials: this.configuration.withCredentials,
|
|
11975
12757
|
headers: localVarHeaders,
|
|
11976
12758
|
observe: observe,
|
|
12759
|
+
transferCache: localVarTransferCache,
|
|
11977
12760
|
reportProgress: reportProgress
|
|
11978
12761
|
});
|
|
11979
12762
|
}
|
|
@@ -12016,8 +12799,9 @@ class ThemeService {
|
|
|
12016
12799
|
this.configuration = configuration;
|
|
12017
12800
|
}
|
|
12018
12801
|
if (typeof this.configuration.basePath !== 'string') {
|
|
12019
|
-
|
|
12020
|
-
|
|
12802
|
+
const firstBasePath = Array.isArray(basePath) ? basePath[0] : undefined;
|
|
12803
|
+
if (firstBasePath != undefined) {
|
|
12804
|
+
basePath = firstBasePath;
|
|
12021
12805
|
}
|
|
12022
12806
|
if (typeof basePath !== 'string') {
|
|
12023
12807
|
basePath = this.basePath;
|
|
@@ -12087,6 +12871,10 @@ class ThemeService {
|
|
|
12087
12871
|
if (localVarHttpContext === undefined) {
|
|
12088
12872
|
localVarHttpContext = new HttpContext();
|
|
12089
12873
|
}
|
|
12874
|
+
let localVarTransferCache = options && options.transferCache;
|
|
12875
|
+
if (localVarTransferCache === undefined) {
|
|
12876
|
+
localVarTransferCache = true;
|
|
12877
|
+
}
|
|
12090
12878
|
let responseType_ = 'json';
|
|
12091
12879
|
if (localVarHttpHeaderAcceptSelected) {
|
|
12092
12880
|
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
@@ -12106,6 +12894,7 @@ class ThemeService {
|
|
|
12106
12894
|
withCredentials: this.configuration.withCredentials,
|
|
12107
12895
|
headers: localVarHeaders,
|
|
12108
12896
|
observe: observe,
|
|
12897
|
+
transferCache: localVarTransferCache,
|
|
12109
12898
|
reportProgress: reportProgress
|
|
12110
12899
|
});
|
|
12111
12900
|
}
|
|
@@ -12132,6 +12921,10 @@ class ThemeService {
|
|
|
12132
12921
|
if (localVarHttpContext === undefined) {
|
|
12133
12922
|
localVarHttpContext = new HttpContext();
|
|
12134
12923
|
}
|
|
12924
|
+
let localVarTransferCache = options && options.transferCache;
|
|
12925
|
+
if (localVarTransferCache === undefined) {
|
|
12926
|
+
localVarTransferCache = true;
|
|
12927
|
+
}
|
|
12135
12928
|
let responseType_ = 'json';
|
|
12136
12929
|
if (localVarHttpHeaderAcceptSelected) {
|
|
12137
12930
|
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
@@ -12151,6 +12944,7 @@ class ThemeService {
|
|
|
12151
12944
|
withCredentials: this.configuration.withCredentials,
|
|
12152
12945
|
headers: localVarHeaders,
|
|
12153
12946
|
observe: observe,
|
|
12947
|
+
transferCache: localVarTransferCache,
|
|
12154
12948
|
reportProgress: reportProgress
|
|
12155
12949
|
});
|
|
12156
12950
|
}
|
|
@@ -12177,6 +12971,10 @@ class ThemeService {
|
|
|
12177
12971
|
if (localVarHttpContext === undefined) {
|
|
12178
12972
|
localVarHttpContext = new HttpContext();
|
|
12179
12973
|
}
|
|
12974
|
+
let localVarTransferCache = options && options.transferCache;
|
|
12975
|
+
if (localVarTransferCache === undefined) {
|
|
12976
|
+
localVarTransferCache = true;
|
|
12977
|
+
}
|
|
12180
12978
|
let responseType_ = 'json';
|
|
12181
12979
|
if (localVarHttpHeaderAcceptSelected) {
|
|
12182
12980
|
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
@@ -12196,6 +12994,7 @@ class ThemeService {
|
|
|
12196
12994
|
withCredentials: this.configuration.withCredentials,
|
|
12197
12995
|
headers: localVarHeaders,
|
|
12198
12996
|
observe: observe,
|
|
12997
|
+
transferCache: localVarTransferCache,
|
|
12199
12998
|
reportProgress: reportProgress
|
|
12200
12999
|
});
|
|
12201
13000
|
}
|
|
@@ -12222,6 +13021,10 @@ class ThemeService {
|
|
|
12222
13021
|
if (localVarHttpContext === undefined) {
|
|
12223
13022
|
localVarHttpContext = new HttpContext();
|
|
12224
13023
|
}
|
|
13024
|
+
let localVarTransferCache = options && options.transferCache;
|
|
13025
|
+
if (localVarTransferCache === undefined) {
|
|
13026
|
+
localVarTransferCache = true;
|
|
13027
|
+
}
|
|
12225
13028
|
let responseType_ = 'json';
|
|
12226
13029
|
if (localVarHttpHeaderAcceptSelected) {
|
|
12227
13030
|
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
@@ -12241,6 +13044,7 @@ class ThemeService {
|
|
|
12241
13044
|
withCredentials: this.configuration.withCredentials,
|
|
12242
13045
|
headers: localVarHeaders,
|
|
12243
13046
|
observe: observe,
|
|
13047
|
+
transferCache: localVarTransferCache,
|
|
12244
13048
|
reportProgress: reportProgress
|
|
12245
13049
|
});
|
|
12246
13050
|
}
|
|
@@ -12267,6 +13071,10 @@ class ThemeService {
|
|
|
12267
13071
|
if (localVarHttpContext === undefined) {
|
|
12268
13072
|
localVarHttpContext = new HttpContext();
|
|
12269
13073
|
}
|
|
13074
|
+
let localVarTransferCache = options && options.transferCache;
|
|
13075
|
+
if (localVarTransferCache === undefined) {
|
|
13076
|
+
localVarTransferCache = true;
|
|
13077
|
+
}
|
|
12270
13078
|
let responseType_ = 'json';
|
|
12271
13079
|
if (localVarHttpHeaderAcceptSelected) {
|
|
12272
13080
|
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
@@ -12286,6 +13094,7 @@ class ThemeService {
|
|
|
12286
13094
|
withCredentials: this.configuration.withCredentials,
|
|
12287
13095
|
headers: localVarHeaders,
|
|
12288
13096
|
observe: observe,
|
|
13097
|
+
transferCache: localVarTransferCache,
|
|
12289
13098
|
reportProgress: reportProgress
|
|
12290
13099
|
});
|
|
12291
13100
|
}
|
|
@@ -12315,6 +13124,10 @@ class ThemeService {
|
|
|
12315
13124
|
if (localVarHttpContext === undefined) {
|
|
12316
13125
|
localVarHttpContext = new HttpContext();
|
|
12317
13126
|
}
|
|
13127
|
+
let localVarTransferCache = options && options.transferCache;
|
|
13128
|
+
if (localVarTransferCache === undefined) {
|
|
13129
|
+
localVarTransferCache = true;
|
|
13130
|
+
}
|
|
12318
13131
|
// to determine the Content-Type header
|
|
12319
13132
|
const consumes = [
|
|
12320
13133
|
'application/json'
|
|
@@ -12343,6 +13156,7 @@ class ThemeService {
|
|
|
12343
13156
|
withCredentials: this.configuration.withCredentials,
|
|
12344
13157
|
headers: localVarHeaders,
|
|
12345
13158
|
observe: observe,
|
|
13159
|
+
transferCache: localVarTransferCache,
|
|
12346
13160
|
reportProgress: reportProgress
|
|
12347
13161
|
});
|
|
12348
13162
|
}
|
|
@@ -12372,6 +13186,10 @@ class ThemeService {
|
|
|
12372
13186
|
if (localVarHttpContext === undefined) {
|
|
12373
13187
|
localVarHttpContext = new HttpContext();
|
|
12374
13188
|
}
|
|
13189
|
+
let localVarTransferCache = options && options.transferCache;
|
|
13190
|
+
if (localVarTransferCache === undefined) {
|
|
13191
|
+
localVarTransferCache = true;
|
|
13192
|
+
}
|
|
12375
13193
|
// to determine the Content-Type header
|
|
12376
13194
|
const consumes = [
|
|
12377
13195
|
'application/json'
|
|
@@ -12400,6 +13218,7 @@ class ThemeService {
|
|
|
12400
13218
|
withCredentials: this.configuration.withCredentials,
|
|
12401
13219
|
headers: localVarHeaders,
|
|
12402
13220
|
observe: observe,
|
|
13221
|
+
transferCache: localVarTransferCache,
|
|
12403
13222
|
reportProgress: reportProgress
|
|
12404
13223
|
});
|
|
12405
13224
|
}
|
|
@@ -12423,6 +13242,10 @@ class ThemeService {
|
|
|
12423
13242
|
if (localVarHttpContext === undefined) {
|
|
12424
13243
|
localVarHttpContext = new HttpContext();
|
|
12425
13244
|
}
|
|
13245
|
+
let localVarTransferCache = options && options.transferCache;
|
|
13246
|
+
if (localVarTransferCache === undefined) {
|
|
13247
|
+
localVarTransferCache = true;
|
|
13248
|
+
}
|
|
12426
13249
|
// to determine the Content-Type header
|
|
12427
13250
|
const consumes = [
|
|
12428
13251
|
'application/json'
|
|
@@ -12451,6 +13274,7 @@ class ThemeService {
|
|
|
12451
13274
|
withCredentials: this.configuration.withCredentials,
|
|
12452
13275
|
headers: localVarHeaders,
|
|
12453
13276
|
observe: observe,
|
|
13277
|
+
transferCache: localVarTransferCache,
|
|
12454
13278
|
reportProgress: reportProgress
|
|
12455
13279
|
});
|
|
12456
13280
|
}
|
|
@@ -12493,8 +13317,9 @@ class UserPreferencesService {
|
|
|
12493
13317
|
this.configuration = configuration;
|
|
12494
13318
|
}
|
|
12495
13319
|
if (typeof this.configuration.basePath !== 'string') {
|
|
12496
|
-
|
|
12497
|
-
|
|
13320
|
+
const firstBasePath = Array.isArray(basePath) ? basePath[0] : undefined;
|
|
13321
|
+
if (firstBasePath != undefined) {
|
|
13322
|
+
basePath = firstBasePath;
|
|
12498
13323
|
}
|
|
12499
13324
|
if (typeof basePath !== 'string') {
|
|
12500
13325
|
basePath = this.basePath;
|
|
@@ -12564,6 +13389,10 @@ class UserPreferencesService {
|
|
|
12564
13389
|
if (localVarHttpContext === undefined) {
|
|
12565
13390
|
localVarHttpContext = new HttpContext();
|
|
12566
13391
|
}
|
|
13392
|
+
let localVarTransferCache = options && options.transferCache;
|
|
13393
|
+
if (localVarTransferCache === undefined) {
|
|
13394
|
+
localVarTransferCache = true;
|
|
13395
|
+
}
|
|
12567
13396
|
let responseType_ = 'json';
|
|
12568
13397
|
if (localVarHttpHeaderAcceptSelected) {
|
|
12569
13398
|
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
@@ -12583,6 +13412,7 @@ class UserPreferencesService {
|
|
|
12583
13412
|
withCredentials: this.configuration.withCredentials,
|
|
12584
13413
|
headers: localVarHeaders,
|
|
12585
13414
|
observe: observe,
|
|
13415
|
+
transferCache: localVarTransferCache,
|
|
12586
13416
|
reportProgress: reportProgress
|
|
12587
13417
|
});
|
|
12588
13418
|
}
|
|
@@ -12612,6 +13442,10 @@ class UserPreferencesService {
|
|
|
12612
13442
|
if (localVarHttpContext === undefined) {
|
|
12613
13443
|
localVarHttpContext = new HttpContext();
|
|
12614
13444
|
}
|
|
13445
|
+
let localVarTransferCache = options && options.transferCache;
|
|
13446
|
+
if (localVarTransferCache === undefined) {
|
|
13447
|
+
localVarTransferCache = true;
|
|
13448
|
+
}
|
|
12615
13449
|
// to determine the Content-Type header
|
|
12616
13450
|
const consumes = [
|
|
12617
13451
|
'application/json'
|
|
@@ -12640,6 +13474,7 @@ class UserPreferencesService {
|
|
|
12640
13474
|
withCredentials: this.configuration.withCredentials,
|
|
12641
13475
|
headers: localVarHeaders,
|
|
12642
13476
|
observe: observe,
|
|
13477
|
+
transferCache: localVarTransferCache,
|
|
12643
13478
|
reportProgress: reportProgress
|
|
12644
13479
|
});
|
|
12645
13480
|
}
|
|
@@ -12682,8 +13517,9 @@ class UserReferrerService {
|
|
|
12682
13517
|
this.configuration = configuration;
|
|
12683
13518
|
}
|
|
12684
13519
|
if (typeof this.configuration.basePath !== 'string') {
|
|
12685
|
-
|
|
12686
|
-
|
|
13520
|
+
const firstBasePath = Array.isArray(basePath) ? basePath[0] : undefined;
|
|
13521
|
+
if (firstBasePath != undefined) {
|
|
13522
|
+
basePath = firstBasePath;
|
|
12687
13523
|
}
|
|
12688
13524
|
if (typeof basePath !== 'string') {
|
|
12689
13525
|
basePath = this.basePath;
|
|
@@ -12753,6 +13589,10 @@ class UserReferrerService {
|
|
|
12753
13589
|
if (localVarHttpContext === undefined) {
|
|
12754
13590
|
localVarHttpContext = new HttpContext();
|
|
12755
13591
|
}
|
|
13592
|
+
let localVarTransferCache = options && options.transferCache;
|
|
13593
|
+
if (localVarTransferCache === undefined) {
|
|
13594
|
+
localVarTransferCache = true;
|
|
13595
|
+
}
|
|
12756
13596
|
let responseType_ = 'json';
|
|
12757
13597
|
if (localVarHttpHeaderAcceptSelected) {
|
|
12758
13598
|
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
@@ -12772,6 +13612,7 @@ class UserReferrerService {
|
|
|
12772
13612
|
withCredentials: this.configuration.withCredentials,
|
|
12773
13613
|
headers: localVarHeaders,
|
|
12774
13614
|
observe: observe,
|
|
13615
|
+
transferCache: localVarTransferCache,
|
|
12775
13616
|
reportProgress: reportProgress
|
|
12776
13617
|
});
|
|
12777
13618
|
}
|
|
@@ -12814,8 +13655,9 @@ class UsersService {
|
|
|
12814
13655
|
this.configuration = configuration;
|
|
12815
13656
|
}
|
|
12816
13657
|
if (typeof this.configuration.basePath !== 'string') {
|
|
12817
|
-
|
|
12818
|
-
|
|
13658
|
+
const firstBasePath = Array.isArray(basePath) ? basePath[0] : undefined;
|
|
13659
|
+
if (firstBasePath != undefined) {
|
|
13660
|
+
basePath = firstBasePath;
|
|
12819
13661
|
}
|
|
12820
13662
|
if (typeof basePath !== 'string') {
|
|
12821
13663
|
basePath = this.basePath;
|
|
@@ -12888,6 +13730,10 @@ class UsersService {
|
|
|
12888
13730
|
if (localVarHttpContext === undefined) {
|
|
12889
13731
|
localVarHttpContext = new HttpContext();
|
|
12890
13732
|
}
|
|
13733
|
+
let localVarTransferCache = options && options.transferCache;
|
|
13734
|
+
if (localVarTransferCache === undefined) {
|
|
13735
|
+
localVarTransferCache = true;
|
|
13736
|
+
}
|
|
12891
13737
|
let responseType_ = 'json';
|
|
12892
13738
|
if (localVarHttpHeaderAcceptSelected) {
|
|
12893
13739
|
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
@@ -12907,6 +13753,7 @@ class UsersService {
|
|
|
12907
13753
|
withCredentials: this.configuration.withCredentials,
|
|
12908
13754
|
headers: localVarHeaders,
|
|
12909
13755
|
observe: observe,
|
|
13756
|
+
transferCache: localVarTransferCache,
|
|
12910
13757
|
reportProgress: reportProgress
|
|
12911
13758
|
});
|
|
12912
13759
|
}
|
|
@@ -12933,6 +13780,10 @@ class UsersService {
|
|
|
12933
13780
|
if (localVarHttpContext === undefined) {
|
|
12934
13781
|
localVarHttpContext = new HttpContext();
|
|
12935
13782
|
}
|
|
13783
|
+
let localVarTransferCache = options && options.transferCache;
|
|
13784
|
+
if (localVarTransferCache === undefined) {
|
|
13785
|
+
localVarTransferCache = true;
|
|
13786
|
+
}
|
|
12936
13787
|
let responseType_ = 'json';
|
|
12937
13788
|
if (localVarHttpHeaderAcceptSelected) {
|
|
12938
13789
|
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
@@ -12952,6 +13803,7 @@ class UsersService {
|
|
|
12952
13803
|
withCredentials: this.configuration.withCredentials,
|
|
12953
13804
|
headers: localVarHeaders,
|
|
12954
13805
|
observe: observe,
|
|
13806
|
+
transferCache: localVarTransferCache,
|
|
12955
13807
|
reportProgress: reportProgress
|
|
12956
13808
|
});
|
|
12957
13809
|
}
|
|
@@ -12978,6 +13830,10 @@ class UsersService {
|
|
|
12978
13830
|
if (localVarHttpContext === undefined) {
|
|
12979
13831
|
localVarHttpContext = new HttpContext();
|
|
12980
13832
|
}
|
|
13833
|
+
let localVarTransferCache = options && options.transferCache;
|
|
13834
|
+
if (localVarTransferCache === undefined) {
|
|
13835
|
+
localVarTransferCache = true;
|
|
13836
|
+
}
|
|
12981
13837
|
let responseType_ = 'json';
|
|
12982
13838
|
if (localVarHttpHeaderAcceptSelected) {
|
|
12983
13839
|
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
@@ -12997,6 +13853,7 @@ class UsersService {
|
|
|
12997
13853
|
withCredentials: this.configuration.withCredentials,
|
|
12998
13854
|
headers: localVarHeaders,
|
|
12999
13855
|
observe: observe,
|
|
13856
|
+
transferCache: localVarTransferCache,
|
|
13000
13857
|
reportProgress: reportProgress
|
|
13001
13858
|
});
|
|
13002
13859
|
}
|
|
@@ -13026,6 +13883,10 @@ class UsersService {
|
|
|
13026
13883
|
if (localVarHttpContext === undefined) {
|
|
13027
13884
|
localVarHttpContext = new HttpContext();
|
|
13028
13885
|
}
|
|
13886
|
+
let localVarTransferCache = options && options.transferCache;
|
|
13887
|
+
if (localVarTransferCache === undefined) {
|
|
13888
|
+
localVarTransferCache = true;
|
|
13889
|
+
}
|
|
13029
13890
|
let responseType_ = 'json';
|
|
13030
13891
|
if (localVarHttpHeaderAcceptSelected) {
|
|
13031
13892
|
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
@@ -13045,6 +13906,7 @@ class UsersService {
|
|
|
13045
13906
|
withCredentials: this.configuration.withCredentials,
|
|
13046
13907
|
headers: localVarHeaders,
|
|
13047
13908
|
observe: observe,
|
|
13909
|
+
transferCache: localVarTransferCache,
|
|
13048
13910
|
reportProgress: reportProgress
|
|
13049
13911
|
});
|
|
13050
13912
|
}
|
|
@@ -13074,6 +13936,10 @@ class UsersService {
|
|
|
13074
13936
|
if (localVarHttpContext === undefined) {
|
|
13075
13937
|
localVarHttpContext = new HttpContext();
|
|
13076
13938
|
}
|
|
13939
|
+
let localVarTransferCache = options && options.transferCache;
|
|
13940
|
+
if (localVarTransferCache === undefined) {
|
|
13941
|
+
localVarTransferCache = true;
|
|
13942
|
+
}
|
|
13077
13943
|
let responseType_ = 'json';
|
|
13078
13944
|
if (localVarHttpHeaderAcceptSelected) {
|
|
13079
13945
|
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
@@ -13093,6 +13959,7 @@ class UsersService {
|
|
|
13093
13959
|
withCredentials: this.configuration.withCredentials,
|
|
13094
13960
|
headers: localVarHeaders,
|
|
13095
13961
|
observe: observe,
|
|
13962
|
+
transferCache: localVarTransferCache,
|
|
13096
13963
|
reportProgress: reportProgress
|
|
13097
13964
|
});
|
|
13098
13965
|
}
|
|
@@ -13122,6 +13989,10 @@ class UsersService {
|
|
|
13122
13989
|
if (localVarHttpContext === undefined) {
|
|
13123
13990
|
localVarHttpContext = new HttpContext();
|
|
13124
13991
|
}
|
|
13992
|
+
let localVarTransferCache = options && options.transferCache;
|
|
13993
|
+
if (localVarTransferCache === undefined) {
|
|
13994
|
+
localVarTransferCache = true;
|
|
13995
|
+
}
|
|
13125
13996
|
// to determine the Content-Type header
|
|
13126
13997
|
const consumes = [
|
|
13127
13998
|
'application/json'
|
|
@@ -13150,6 +14021,7 @@ class UsersService {
|
|
|
13150
14021
|
withCredentials: this.configuration.withCredentials,
|
|
13151
14022
|
headers: localVarHeaders,
|
|
13152
14023
|
observe: observe,
|
|
14024
|
+
transferCache: localVarTransferCache,
|
|
13153
14025
|
reportProgress: reportProgress
|
|
13154
14026
|
});
|
|
13155
14027
|
}
|
|
@@ -13179,6 +14051,10 @@ class UsersService {
|
|
|
13179
14051
|
if (localVarHttpContext === undefined) {
|
|
13180
14052
|
localVarHttpContext = new HttpContext();
|
|
13181
14053
|
}
|
|
14054
|
+
let localVarTransferCache = options && options.transferCache;
|
|
14055
|
+
if (localVarTransferCache === undefined) {
|
|
14056
|
+
localVarTransferCache = true;
|
|
14057
|
+
}
|
|
13182
14058
|
// to determine the Content-Type header
|
|
13183
14059
|
const consumes = [
|
|
13184
14060
|
'application/json'
|
|
@@ -13207,6 +14083,7 @@ class UsersService {
|
|
|
13207
14083
|
withCredentials: this.configuration.withCredentials,
|
|
13208
14084
|
headers: localVarHeaders,
|
|
13209
14085
|
observe: observe,
|
|
14086
|
+
transferCache: localVarTransferCache,
|
|
13210
14087
|
reportProgress: reportProgress
|
|
13211
14088
|
});
|
|
13212
14089
|
}
|
|
@@ -13236,6 +14113,10 @@ class UsersService {
|
|
|
13236
14113
|
if (localVarHttpContext === undefined) {
|
|
13237
14114
|
localVarHttpContext = new HttpContext();
|
|
13238
14115
|
}
|
|
14116
|
+
let localVarTransferCache = options && options.transferCache;
|
|
14117
|
+
if (localVarTransferCache === undefined) {
|
|
14118
|
+
localVarTransferCache = true;
|
|
14119
|
+
}
|
|
13239
14120
|
// to determine the Content-Type header
|
|
13240
14121
|
const consumes = [
|
|
13241
14122
|
'application/json'
|
|
@@ -13264,6 +14145,7 @@ class UsersService {
|
|
|
13264
14145
|
withCredentials: this.configuration.withCredentials,
|
|
13265
14146
|
headers: localVarHeaders,
|
|
13266
14147
|
observe: observe,
|
|
14148
|
+
transferCache: localVarTransferCache,
|
|
13267
14149
|
reportProgress: reportProgress
|
|
13268
14150
|
});
|
|
13269
14151
|
}
|
|
@@ -13287,6 +14169,10 @@ class UsersService {
|
|
|
13287
14169
|
if (localVarHttpContext === undefined) {
|
|
13288
14170
|
localVarHttpContext = new HttpContext();
|
|
13289
14171
|
}
|
|
14172
|
+
let localVarTransferCache = options && options.transferCache;
|
|
14173
|
+
if (localVarTransferCache === undefined) {
|
|
14174
|
+
localVarTransferCache = true;
|
|
14175
|
+
}
|
|
13290
14176
|
// to determine the Content-Type header
|
|
13291
14177
|
const consumes = [
|
|
13292
14178
|
'application/json'
|
|
@@ -13315,6 +14201,7 @@ class UsersService {
|
|
|
13315
14201
|
withCredentials: this.configuration.withCredentials,
|
|
13316
14202
|
headers: localVarHeaders,
|
|
13317
14203
|
observe: observe,
|
|
14204
|
+
transferCache: localVarTransferCache,
|
|
13318
14205
|
reportProgress: reportProgress
|
|
13319
14206
|
});
|
|
13320
14207
|
}
|
|
@@ -13344,6 +14231,10 @@ class UsersService {
|
|
|
13344
14231
|
if (localVarHttpContext === undefined) {
|
|
13345
14232
|
localVarHttpContext = new HttpContext();
|
|
13346
14233
|
}
|
|
14234
|
+
let localVarTransferCache = options && options.transferCache;
|
|
14235
|
+
if (localVarTransferCache === undefined) {
|
|
14236
|
+
localVarTransferCache = true;
|
|
14237
|
+
}
|
|
13347
14238
|
// to determine the Content-Type header
|
|
13348
14239
|
const consumes = [
|
|
13349
14240
|
'application/json'
|
|
@@ -13372,6 +14263,7 @@ class UsersService {
|
|
|
13372
14263
|
withCredentials: this.configuration.withCredentials,
|
|
13373
14264
|
headers: localVarHeaders,
|
|
13374
14265
|
observe: observe,
|
|
14266
|
+
transferCache: localVarTransferCache,
|
|
13375
14267
|
reportProgress: reportProgress
|
|
13376
14268
|
});
|
|
13377
14269
|
}
|
|
@@ -13395,6 +14287,10 @@ class UsersService {
|
|
|
13395
14287
|
if (localVarHttpContext === undefined) {
|
|
13396
14288
|
localVarHttpContext = new HttpContext();
|
|
13397
14289
|
}
|
|
14290
|
+
let localVarTransferCache = options && options.transferCache;
|
|
14291
|
+
if (localVarTransferCache === undefined) {
|
|
14292
|
+
localVarTransferCache = true;
|
|
14293
|
+
}
|
|
13398
14294
|
// to determine the Content-Type header
|
|
13399
14295
|
const consumes = [
|
|
13400
14296
|
'application/json'
|
|
@@ -13423,6 +14319,7 @@ class UsersService {
|
|
|
13423
14319
|
withCredentials: this.configuration.withCredentials,
|
|
13424
14320
|
headers: localVarHeaders,
|
|
13425
14321
|
observe: observe,
|
|
14322
|
+
transferCache: localVarTransferCache,
|
|
13426
14323
|
reportProgress: reportProgress
|
|
13427
14324
|
});
|
|
13428
14325
|
}
|
|
@@ -13446,6 +14343,10 @@ class UsersService {
|
|
|
13446
14343
|
if (localVarHttpContext === undefined) {
|
|
13447
14344
|
localVarHttpContext = new HttpContext();
|
|
13448
14345
|
}
|
|
14346
|
+
let localVarTransferCache = options && options.transferCache;
|
|
14347
|
+
if (localVarTransferCache === undefined) {
|
|
14348
|
+
localVarTransferCache = true;
|
|
14349
|
+
}
|
|
13449
14350
|
// to determine the Content-Type header
|
|
13450
14351
|
const consumes = [
|
|
13451
14352
|
'application/json'
|
|
@@ -13474,6 +14375,7 @@ class UsersService {
|
|
|
13474
14375
|
withCredentials: this.configuration.withCredentials,
|
|
13475
14376
|
headers: localVarHeaders,
|
|
13476
14377
|
observe: observe,
|
|
14378
|
+
transferCache: localVarTransferCache,
|
|
13477
14379
|
reportProgress: reportProgress
|
|
13478
14380
|
});
|
|
13479
14381
|
}
|
|
@@ -13503,6 +14405,10 @@ class UsersService {
|
|
|
13503
14405
|
if (localVarHttpContext === undefined) {
|
|
13504
14406
|
localVarHttpContext = new HttpContext();
|
|
13505
14407
|
}
|
|
14408
|
+
let localVarTransferCache = options && options.transferCache;
|
|
14409
|
+
if (localVarTransferCache === undefined) {
|
|
14410
|
+
localVarTransferCache = true;
|
|
14411
|
+
}
|
|
13506
14412
|
// to determine the Content-Type header
|
|
13507
14413
|
const consumes = [
|
|
13508
14414
|
'application/json'
|
|
@@ -13531,6 +14437,7 @@ class UsersService {
|
|
|
13531
14437
|
withCredentials: this.configuration.withCredentials,
|
|
13532
14438
|
headers: localVarHeaders,
|
|
13533
14439
|
observe: observe,
|
|
14440
|
+
transferCache: localVarTransferCache,
|
|
13534
14441
|
reportProgress: reportProgress
|
|
13535
14442
|
});
|
|
13536
14443
|
}
|
|
@@ -13560,6 +14467,10 @@ class UsersService {
|
|
|
13560
14467
|
if (localVarHttpContext === undefined) {
|
|
13561
14468
|
localVarHttpContext = new HttpContext();
|
|
13562
14469
|
}
|
|
14470
|
+
let localVarTransferCache = options && options.transferCache;
|
|
14471
|
+
if (localVarTransferCache === undefined) {
|
|
14472
|
+
localVarTransferCache = true;
|
|
14473
|
+
}
|
|
13563
14474
|
// to determine the Content-Type header
|
|
13564
14475
|
const consumes = [
|
|
13565
14476
|
'application/json'
|
|
@@ -13588,6 +14499,7 @@ class UsersService {
|
|
|
13588
14499
|
withCredentials: this.configuration.withCredentials,
|
|
13589
14500
|
headers: localVarHeaders,
|
|
13590
14501
|
observe: observe,
|
|
14502
|
+
transferCache: localVarTransferCache,
|
|
13591
14503
|
reportProgress: reportProgress
|
|
13592
14504
|
});
|
|
13593
14505
|
}
|
|
@@ -13617,6 +14529,10 @@ class UsersService {
|
|
|
13617
14529
|
if (localVarHttpContext === undefined) {
|
|
13618
14530
|
localVarHttpContext = new HttpContext();
|
|
13619
14531
|
}
|
|
14532
|
+
let localVarTransferCache = options && options.transferCache;
|
|
14533
|
+
if (localVarTransferCache === undefined) {
|
|
14534
|
+
localVarTransferCache = true;
|
|
14535
|
+
}
|
|
13620
14536
|
// to determine the Content-Type header
|
|
13621
14537
|
const consumes = [
|
|
13622
14538
|
'application/json'
|
|
@@ -13645,6 +14561,7 @@ class UsersService {
|
|
|
13645
14561
|
withCredentials: this.configuration.withCredentials,
|
|
13646
14562
|
headers: localVarHeaders,
|
|
13647
14563
|
observe: observe,
|
|
14564
|
+
transferCache: localVarTransferCache,
|
|
13648
14565
|
reportProgress: reportProgress
|
|
13649
14566
|
});
|
|
13650
14567
|
}
|
|
@@ -13687,8 +14604,9 @@ class WordPressService {
|
|
|
13687
14604
|
this.configuration = configuration;
|
|
13688
14605
|
}
|
|
13689
14606
|
if (typeof this.configuration.basePath !== 'string') {
|
|
13690
|
-
|
|
13691
|
-
|
|
14607
|
+
const firstBasePath = Array.isArray(basePath) ? basePath[0] : undefined;
|
|
14608
|
+
if (firstBasePath != undefined) {
|
|
14609
|
+
basePath = firstBasePath;
|
|
13692
14610
|
}
|
|
13693
14611
|
if (typeof basePath !== 'string') {
|
|
13694
14612
|
basePath = this.basePath;
|
|
@@ -13758,6 +14676,10 @@ class WordPressService {
|
|
|
13758
14676
|
if (localVarHttpContext === undefined) {
|
|
13759
14677
|
localVarHttpContext = new HttpContext();
|
|
13760
14678
|
}
|
|
14679
|
+
let localVarTransferCache = options && options.transferCache;
|
|
14680
|
+
if (localVarTransferCache === undefined) {
|
|
14681
|
+
localVarTransferCache = true;
|
|
14682
|
+
}
|
|
13761
14683
|
let responseType_ = 'json';
|
|
13762
14684
|
if (localVarHttpHeaderAcceptSelected) {
|
|
13763
14685
|
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
@@ -13777,6 +14699,7 @@ class WordPressService {
|
|
|
13777
14699
|
withCredentials: this.configuration.withCredentials,
|
|
13778
14700
|
headers: localVarHeaders,
|
|
13779
14701
|
observe: observe,
|
|
14702
|
+
transferCache: localVarTransferCache,
|
|
13780
14703
|
reportProgress: reportProgress
|
|
13781
14704
|
});
|
|
13782
14705
|
}
|
|
@@ -13803,6 +14726,10 @@ class WordPressService {
|
|
|
13803
14726
|
if (localVarHttpContext === undefined) {
|
|
13804
14727
|
localVarHttpContext = new HttpContext();
|
|
13805
14728
|
}
|
|
14729
|
+
let localVarTransferCache = options && options.transferCache;
|
|
14730
|
+
if (localVarTransferCache === undefined) {
|
|
14731
|
+
localVarTransferCache = true;
|
|
14732
|
+
}
|
|
13806
14733
|
let responseType_ = 'json';
|
|
13807
14734
|
if (localVarHttpHeaderAcceptSelected) {
|
|
13808
14735
|
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
@@ -13822,6 +14749,7 @@ class WordPressService {
|
|
|
13822
14749
|
withCredentials: this.configuration.withCredentials,
|
|
13823
14750
|
headers: localVarHeaders,
|
|
13824
14751
|
observe: observe,
|
|
14752
|
+
transferCache: localVarTransferCache,
|
|
13825
14753
|
reportProgress: reportProgress
|
|
13826
14754
|
});
|
|
13827
14755
|
}
|
|
@@ -13851,6 +14779,10 @@ class WordPressService {
|
|
|
13851
14779
|
if (localVarHttpContext === undefined) {
|
|
13852
14780
|
localVarHttpContext = new HttpContext();
|
|
13853
14781
|
}
|
|
14782
|
+
let localVarTransferCache = options && options.transferCache;
|
|
14783
|
+
if (localVarTransferCache === undefined) {
|
|
14784
|
+
localVarTransferCache = true;
|
|
14785
|
+
}
|
|
13854
14786
|
// to determine the Content-Type header
|
|
13855
14787
|
const consumes = [
|
|
13856
14788
|
'application/json'
|
|
@@ -13879,6 +14811,7 @@ class WordPressService {
|
|
|
13879
14811
|
withCredentials: this.configuration.withCredentials,
|
|
13880
14812
|
headers: localVarHeaders,
|
|
13881
14813
|
observe: observe,
|
|
14814
|
+
transferCache: localVarTransferCache,
|
|
13882
14815
|
reportProgress: reportProgress
|
|
13883
14816
|
});
|
|
13884
14817
|
}
|
|
@@ -13908,6 +14841,10 @@ class WordPressService {
|
|
|
13908
14841
|
if (localVarHttpContext === undefined) {
|
|
13909
14842
|
localVarHttpContext = new HttpContext();
|
|
13910
14843
|
}
|
|
14844
|
+
let localVarTransferCache = options && options.transferCache;
|
|
14845
|
+
if (localVarTransferCache === undefined) {
|
|
14846
|
+
localVarTransferCache = true;
|
|
14847
|
+
}
|
|
13911
14848
|
// to determine the Content-Type header
|
|
13912
14849
|
const consumes = [
|
|
13913
14850
|
'application/json'
|
|
@@ -13936,6 +14873,7 @@ class WordPressService {
|
|
|
13936
14873
|
withCredentials: this.configuration.withCredentials,
|
|
13937
14874
|
headers: localVarHeaders,
|
|
13938
14875
|
observe: observe,
|
|
14876
|
+
transferCache: localVarTransferCache,
|
|
13939
14877
|
reportProgress: reportProgress
|
|
13940
14878
|
});
|
|
13941
14879
|
}
|
|
@@ -14021,18 +14959,6 @@ var Account;
|
|
|
14021
14959
|
* Do not edit the class manually.
|
|
14022
14960
|
*/
|
|
14023
14961
|
|
|
14024
|
-
/**
|
|
14025
|
-
* Dash API
|
|
14026
|
-
* # Introduction The Dash API follows the [REST](https://en.wikipedia.org/wiki/Representational_state_transfer) standard and uses common [HTTP](https://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol) headers, methods and response codes. Request and response bodies are all in [JSON](https://www.json.org/json-en.html) format except for `PUT` requests of binary file data when upload files. # Operations, Jobs and Batches If the standard `PUT`, `PATCH` and `DELETE` methods cannot adequately describe an operation on a resource the operation may itself be treated as a resource and the endpoint URLs will reflect this accordingly. For example making a `POST` to `/asset-uploads` returns an [`AssetUpload`](#operation/postAssetUpload) resource which describes the URL(s) the client should `PUT` the binary data to upload a file to an asset. If an operation is unlikely to complete via a synchronous REST call, or asynchronous behaviour is simply preferable, job resource endpoints may provided for the operation. Created job resources can then be periodically polled to Get the status of the operation. Such endpoints can be expected to contain a `job` qualifier. e.g `/asset-download-jobs` and `/asset-download-jobs/{id}` All job resources can be expected to conform to a polymorphic job structure with common properties such as `id`, `progress` and type specific properties such as `dateCompleted` for successfully completed jobs. If an operation can be applied to multiple resources an endpoint may provided to create a batch resource for the operation. Such endpoints can be expected to contain a `batch` qualifier. As batch operations almost always need to be asynchronous you can expect to see both qualifiers in the endpoint URL e.g `/asset-download-batch-jobs` and `/asset-download-batch-jobs/{id}`. # Authorisation ## Get a short-lived bearer token for testing You should read the [OAuth2 section](#section/Authorisation/OAuth2) if you want to set up programmatic API access to Dash. However, if you just want to try out an API endpoint, or want to [request your client ID and secret](#operation/putCustomIntegrationSettings) (required for OAuth2 below), you can get a short-lived bearer token: 1. Log in to your Dash account as normal 2. Open the browser developer tools (CMD + OPTION + I on Mac or CTRL + SHIFT + I on Windows) 3. Click the \"Application\" tab 4. Under \"Storage\" in the left panel, expand \"local storage\" 5. Click on the URL of your Dash site 6. Copy the \"value\" for the access_token from the right-hand panel (be sure to select the whole thing - double click to edit, select all then copy). This token can be used to try out an endpoint directly from these docs. Just click \"Try it...\" in the right-hand panel and enter your token in the \"Auth\" tab. ## OAuth2 Dash uses OAuth 2.0 for authorisation. A good overview of OAuth 2.0 can be found [here](https://auth0.com/docs/protocols/protocol-oauth2). Endpoints: * https://login.dash.app/authorize * https://login.dash.app/oauth/token Scopes to note: * **subdomain**: this should be set to the subdomain of the Dash the user is trying to access e.g. `subdomain:my-account` * **offline_access**: the standard OAuth 2.0 scope to use to obtain a refresh token Audience: An query parameter of `audience=https://assetplatform.io` must be provided to the https://login.dash.app/authorize endpoint To obtain your client ID and secret, follow the steps above to [get a temporary bearer token](#section/Authorisation/Get-a-short-lived-bearer-token-for-testing) and use this to [create custom integration settings](#operation/putCustomIntegrationSettings). The response you receive from the custom integrations settings endpoint will include your client ID and secret. ## Authorization Code Flow To begin the flow, send your user in a browser to to https://login.dash.app/authorize?response_type=code&audience=https://assetplatform.io&client_id={YOUR_CLIENT_ID}&redirect_uri={YOUR_REDIRECT}&scope=offline_access%20subdomain:{YOUR_SUBDOMAIN} Once the user successfully authenticates, they will be redirected to your `redirect_uri` with the Authorization Code provided in a query parameter. Now that you have an Authorization Code, you must exchange it for your tokens via the https://login.dash.app/oauth/token endpoint ``` curl --request POST \\ --url \'https://login.dash.app/oauth/token\' \\ --header \'content-type: application/x-www-form-urlencoded\' \\ --data grant_type=authorization_code \\ --data \'client_id={YOUR_CLIENT_ID}\' \\ --data \'client_secret={YOUR_CLIENT_SECRET}\' \\ --data \'code={CODE_FROM_PREVIOUS_STEP}\' \\ --data \'redirect_uri={YOUR_REDIRECT}\' ``` A more detailed description of the Authorization Code Flow can be found [here](https://auth0.com/docs/get-started/authentication-and-authorization-flow/add-login-auth-code-flow) ## Authentication Without User Interaction Due to security concerns, neither OAuth grant types `Client Credentials` or `Password` are supported by the Dash API. If you require an automated script to call the Dash API, we recommend going through the Authorization Code Flow described above once, specifying the offline_access scope to get a refresh token along with your access token. Your script can store and use this refresh token to call https://login.dash.app/oauth/token and get a new access token when the current one expires. ## Current User Details The Bearer Token is a standard [JWT](https://jwt.io/introduction) token so can be useful to decode in some cases. For example, the `sub` field of the Bearer Token can be used in cases where you need access to the `User.id` of the current user. e.g. When making an [`AssetSearch`](#operation/postAssetSearch) with the `STAGED_BY` criterion to find all [`Asset`](#tag/Assets) resources staged by the current user. Alternatively the [GET Current User](#operation/getCurrentUser) endpoint contains properties for the current user to avoid needing to decode the Bearer Token. # Permitted Actions In most responses from the Dash API you will find a `permittedActions` property alongside a `result` property which contains the resource. This is to provide context for operations the current user is permitted to perform on that resource. If an expected permitted action is not included in the `permittedActions` property then the current user does not have permission to perform the action. The [GET Current User](#operation/getCurrentUser) endpoint houses permitted actions which are not associated with a specific API resource instance. e.g. If the current user has permission to create new [`Asset`](#tag/Assets) resources then the [GET Current User](#operation/getCurrentUser) `permittedActions` property will contain the permitted action `ASSETS` : `CREATE_ASSETS`. # Common Use Cases ## Getting fields and field options for asset metadata [`Asset.metadata`](#tag/Assets) consists of a map of `String` to `String[]` The keys for map are [`Field`](#tag/Fields) IDs. Full details, including the field name, can be got via the [GET Field](#tag/Fields/operation/getField) endpoint or the full list of fields for an account can be retrieved via the [GET Fields](#tag/Fields/operation/getFields) endpoint. The map values are a list of plain text values if [`Field.hasFixedOptions = false`](#tag/Fields) or a list of [`FieldOption`](#tag/Field-Options) IDs if [`Field.hasFixedOptions = true`](#tag/Fields) Where [`Field.hasFixedOptions = true`](#tag/Fields) details, including the field option name, can be got via the [GET Field Option](#operation/getFieldOption) endpoint. Where [`Field.hierarchical = true`](#tag/Fields) the complete branch of the tree will be returned and can be constructed via the [`FieldOption.parent`](#tag/Field-Options) property. ## Getting the full schema of fields and field options The full list of fields for an account can be retrieved via the [GET Fields](#tag/Fields/operation/getFields) endpoint. Where [`Field.hasFixedOptions = true`](#tag/Fields) the [POST Field Option Searches](#operation/postFieldOptionSearch) endpoint can be used to get the available options. Where [`Field.hierarchical = true`](#tag/Fields) you should start with a `PARENT_ID` `FIELD_IS_EMPTY` query to get the top level options and then `PARENT_ID` `FIELD_EQUALS` queries to get each sub-level. ## Folders A Folder in Dash is simply a [`FieldOption`](#tag/Field-Options), for the built-in Folders [`Field`](#tag/Fields). To determine the ID of the Folders [`Field`](#tag/Fields), use the [`Folder Settings`](#tag/Folder-Settings) endpoint. Once you have this ID, Folders behave the same as any other [`Field`](#tag/Fields). For getting the folder tree see [Getting fields and field options for asset metadata](#section/Common-Use-Cases/Getting-fields-and-field-options-for-asset-metadata) and [Getting the full schema of fields and field options](#section/Common-Use-Cases/Getting-the-full-schema-of-fields-and-field-options) For getting assets in folders see [`AssetSearch`](#operation/postAssetSearch) For getting assets in no folders see the _Search for field is empty_ example in the [POST Asset Searches](#operation/postAssetSearch) endpoint. ## Creating a new asset Assets are the main resources in Dash. An asset consists of a file, some fixed properties (such as the date the asset was added to Dash) and custom metadata. To create new assets and upload files: 1. [Create an Asset and Upload batch job](#operation/postAssetAndUploadBatchJob) 2. Wait for the job to complete by checking the [GET Asset and upload batch job](#operation/postAssetUpload/operation/getAssetAndUploadBatchJob) endpoint 3. The completed job includes an [`AssetUpload`](#operation/postAssetUpload) resources in the job\'s `result` property. For each file you want to upload: * Make PUT requests to upload your file part with the byte ranges specified to the URLs in the corresponding `AssetUploadPart`. * Get the `etag` property from the response of each PUT request and use them to complete the upload via the (POST Asset Upload Completion)(#operation/postAssetUploadCompletion) 4. The assets will be created with a [lifecycle status](#tag/Asset-Lifecycle) of `STAGED`. Use the [POST Asset lifecycle transition batch job](postAssetLifecycleTransitionBatchJob) endpoint if you\'d like to change the state of the assets (e.g. to `PENDING_APPROVAL` or `LIVE`). ## Uploading a new file for an asset 1. Create an [`AssetUpload`](#operation/postAssetUpload) via the [POST Asset Upload](#operation/postAssetUpload/operation/postAssetUpload) endpoint 3. Make PUT requests to upload your file part with the byte ranges specified to the URLs in the corresponding `AssetUploadPart`. 4. Get the `etag` property from the response of each PUT request and use them to complete the upload via the (POST Asset Upload Completion)(#operation/postAssetUploadCompletion) ## Getting asset file versions The current [`AssetFile`](#operation/getAssetFiles) for an [`Asset`](#tag/Assets) is returned in the [`Asset`](#tag/Assets) resource via the [`Asset.currentFile`](#tag/Assets) property. The [GET Asset Files](#operation/getAssetFiles) endpoint can be used to get all [`AssetFile`](#operation/getAssetFiles) resources for an [`Asset`](#tag/Assets) ## Editing asset metadata Edit the contents of one or more [`Asset.metadata`](#tag/Assets) map properties via the [POST Asset Metadata Edit Batch Job](#operation/postAssetMetadataEditBatchJob) endpoint and check on the progress and status of the edit via the [GET Asset Metadata Edit Batch Job](#operation/getAssetMetadataEditBatchJob) endpoint. ## Getting user collections 1. Get the current user ID from the [current user details](#section/Authorisation/Current-User-Details) 2. Use this ID in the `ASSOCIATED_WITH_USER` criterion of the [POST Collection Search](#operation/postCollectionSearch/operation/postCollectionSearch) endpoint to get all collections a user has access to. 3. To get the [`Asset`](#tag/Assets) resources in each collection see the _All assets in a collection_ and _Search within assets in a collection_ examples in the [POST Asset Searches](#operation/postAssetSearch) endpoint for how to specify the [`Collection.id`](#tag/Collections) in a `COLLECTIONS` : `FIELD_EQUALS` criterion. ## Search by file extension See the _Search by file extension_ and _Search by multiple file extensions_ example in the [POST Asset Searches](#operation/postAssetSearch) endpoint ## Searching for changed assets The following date properties exist on an asset and can be supplied as FIXED field criteria in the [POST Asset Searches](#operation/postAssetSearch) endpoint - [`Asset.lifecycleStatus.dateStaged`](#tag/Assets) : The datetime the [`Asset`](#tag/Assets) was created but not yet live. `DATE_STAGED` in search criteria. - [`Asset.lifecycleStatus.datePendingApproval`](#tag/Assets) : The datetime the [`Asset`](#tag/Assets) was set for approval (if it was). `DATE_PENDING_APPROVAL` in search criteria. - [`Asset.lifecycleStatus.dateLive`](#tag/Assets) : The datetime the [`Asset`](#tag/Assets) was put live. `DATE_LIVE` in search criteria. - [`Asset.currentAssetFile.dateAdded`](#tag/Assets) : The datetime the latest [`AssetFile`](#operation/getAssetFiles) was added. `DATE_LAST_ASSET_FILE_ADDED` in search criteria. - [`Asset.dateLastModified`](#tag/Assets) : The datetime the *any* change was made to an [`Asset`](#tag/Assets). This includes all of the above and any change to custom metadata `DATE_LAST_MODIFIED` in search criteria. There is currently no way to determine if only custom metadata has changes. # Migration from V1 Several breaking changes have been introduced in the switch from V1 to V2, which are all the result of three changes. - The domain is changing from `brightdash.app` to `dash.app`. All URLs used to access the API, including for authorisation, should be updated to the new domain. - The concept of \"asset staging status\" has been renamed to \"asset lifecycle\" with the introduction of the bin, which adds another state for assets that isn\'t just about the staging workflow. This second change manifests in the changing of the StagingWorkflowTransitionBatchJob to the LifecycleTransitionBatchJob, a refactoring of the asset model to bring the \"date added\" and \"added by\" fields together with other lifecycle information, and the renaming of the \"date added\" and \"added by\" fields to the more specific \"date live\" and \"staged by\". - Asset batch jobs used to only support carrying out operations on assets by a search criterion. This has been extended to also allow performing operations by id, so the \"criterion\" field has changed to a \"selector\" field which supports objects of either type. - The term `Attribute` has been renamed to `Field` throughout, to mirror the change of terminology within the Dash frontend. All these changes are described in more specific detail below. ## Domain - Domain has changed from `brightdash.app` to `dash.app` throughout the API. ## Asset Staging Workflow - The path of this endpoint has changed from `asset-staging-workflow-transition-batch-jobs` to `asset-lifecycle-transition-batch-jobs`. - `criterion` in the POST body has become `selector`, and the criterion now needs to be wrapped in the following `{\"type\": \"BY_CRITERION\", \"criterion\": {...}}`. ## Asset Searches For both scroll and paged searches: - The following `criterion.field.fieldName` and `sorts.field.fieldName` values have been renamed: - `DATE_ADDED` -> `DATE_LIVE` - `ADDED_BY` -> `STAGED_BY` - The `stagingStatus`, `addedBy`, and `dateAdded` fields have been removed from the response. This data can now be found in the `lifecycleStatus` field. ## Asset Deletion - `criterion` in the POST body has become `selector`, and the criterion now needs to be wrapped in the following `{\"type\": \"BY_CRITERION\", \"criterion\": {...}}`. ## Asset Metadata Edit - `criterion` in the POST body has become `selector`, and the criterion now needs to be wrapped in the following `{\"type\": \"BY_CRITERION\", \"criterion\": {...}}`. ## Search Filters - The value returned from the `searchField` field of search filter results of type `HARD_CODED_FREE_OPTION` have changed from `DATE_ADDED` to `DATE_LIVE`. This isn\'t really a breaking change as the specification says this field could return any string, but it feels worth mentioning. ## Saved Search - The following `criterion.field.fieldName` and `sorts.field.fieldName` values have been renamed for both POSTing and GETting SavedSearches: - `DATE_ADDED` -> `DATE_LIVE` - `ADDED_BY` -> `STAGED_BY` ## Attributes/Fields - The string `Attribute` has been replaced with the string `Field` throughout. This includes e.g. `AttributeOption` being renamed to `FieldOption`. A simple find and replace should be enough to migrate.
|
|
14027
|
-
*
|
|
14028
|
-
* The version of the OpenAPI document: 2.0.0
|
|
14029
|
-
* Contact: help@dash.app
|
|
14030
|
-
*
|
|
14031
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
14032
|
-
* https://openapi-generator.tech
|
|
14033
|
-
* Do not edit the class manually.
|
|
14034
|
-
*/
|
|
14035
|
-
|
|
14036
14962
|
/**
|
|
14037
14963
|
* Dash API
|
|
14038
14964
|
* # Introduction The Dash API follows the [REST](https://en.wikipedia.org/wiki/Representational_state_transfer) standard and uses common [HTTP](https://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol) headers, methods and response codes. Request and response bodies are all in [JSON](https://www.json.org/json-en.html) format except for `PUT` requests of binary file data when upload files. # Operations, Jobs and Batches If the standard `PUT`, `PATCH` and `DELETE` methods cannot adequately describe an operation on a resource the operation may itself be treated as a resource and the endpoint URLs will reflect this accordingly. For example making a `POST` to `/asset-uploads` returns an [`AssetUpload`](#operation/postAssetUpload) resource which describes the URL(s) the client should `PUT` the binary data to upload a file to an asset. If an operation is unlikely to complete via a synchronous REST call, or asynchronous behaviour is simply preferable, job resource endpoints may provided for the operation. Created job resources can then be periodically polled to Get the status of the operation. Such endpoints can be expected to contain a `job` qualifier. e.g `/asset-download-jobs` and `/asset-download-jobs/{id}` All job resources can be expected to conform to a polymorphic job structure with common properties such as `id`, `progress` and type specific properties such as `dateCompleted` for successfully completed jobs. If an operation can be applied to multiple resources an endpoint may provided to create a batch resource for the operation. Such endpoints can be expected to contain a `batch` qualifier. As batch operations almost always need to be asynchronous you can expect to see both qualifiers in the endpoint URL e.g `/asset-download-batch-jobs` and `/asset-download-batch-jobs/{id}`. # Authorisation ## Get a short-lived bearer token for testing You should read the [OAuth2 section](#section/Authorisation/OAuth2) if you want to set up programmatic API access to Dash. However, if you just want to try out an API endpoint, or want to [request your client ID and secret](#operation/putCustomIntegrationSettings) (required for OAuth2 below), you can get a short-lived bearer token: 1. Log in to your Dash account as normal 2. Open the browser developer tools (CMD + OPTION + I on Mac or CTRL + SHIFT + I on Windows) 3. Click the \"Application\" tab 4. Under \"Storage\" in the left panel, expand \"local storage\" 5. Click on the URL of your Dash site 6. Copy the \"value\" for the access_token from the right-hand panel (be sure to select the whole thing - double click to edit, select all then copy). This token can be used to try out an endpoint directly from these docs. Just click \"Try it...\" in the right-hand panel and enter your token in the \"Auth\" tab. ## OAuth2 Dash uses OAuth 2.0 for authorisation. A good overview of OAuth 2.0 can be found [here](https://auth0.com/docs/protocols/protocol-oauth2). Endpoints: * https://login.dash.app/authorize * https://login.dash.app/oauth/token Scopes to note: * **subdomain**: this should be set to the subdomain of the Dash the user is trying to access e.g. `subdomain:my-account` * **offline_access**: the standard OAuth 2.0 scope to use to obtain a refresh token Audience: An query parameter of `audience=https://assetplatform.io` must be provided to the https://login.dash.app/authorize endpoint To obtain your client ID and secret, follow the steps above to [get a temporary bearer token](#section/Authorisation/Get-a-short-lived-bearer-token-for-testing) and use this to [create custom integration settings](#operation/putCustomIntegrationSettings). The response you receive from the custom integrations settings endpoint will include your client ID and secret. ## Authorization Code Flow To begin the flow, send your user in a browser to to https://login.dash.app/authorize?response_type=code&audience=https://assetplatform.io&client_id={YOUR_CLIENT_ID}&redirect_uri={YOUR_REDIRECT}&scope=offline_access%20subdomain:{YOUR_SUBDOMAIN} Once the user successfully authenticates, they will be redirected to your `redirect_uri` with the Authorization Code provided in a query parameter. Now that you have an Authorization Code, you must exchange it for your tokens via the https://login.dash.app/oauth/token endpoint ``` curl --request POST \\ --url \'https://login.dash.app/oauth/token\' \\ --header \'content-type: application/x-www-form-urlencoded\' \\ --data grant_type=authorization_code \\ --data \'client_id={YOUR_CLIENT_ID}\' \\ --data \'client_secret={YOUR_CLIENT_SECRET}\' \\ --data \'code={CODE_FROM_PREVIOUS_STEP}\' \\ --data \'redirect_uri={YOUR_REDIRECT}\' ``` A more detailed description of the Authorization Code Flow can be found [here](https://auth0.com/docs/get-started/authentication-and-authorization-flow/add-login-auth-code-flow) ## Authentication Without User Interaction Due to security concerns, neither OAuth grant types `Client Credentials` or `Password` are supported by the Dash API. If you require an automated script to call the Dash API, we recommend going through the Authorization Code Flow described above once, specifying the offline_access scope to get a refresh token along with your access token. Your script can store and use this refresh token to call https://login.dash.app/oauth/token and get a new access token when the current one expires. ## Current User Details The Bearer Token is a standard [JWT](https://jwt.io/introduction) token so can be useful to decode in some cases. For example, the `sub` field of the Bearer Token can be used in cases where you need access to the `User.id` of the current user. e.g. When making an [`AssetSearch`](#operation/postAssetSearch) with the `STAGED_BY` criterion to find all [`Asset`](#tag/Assets) resources staged by the current user. Alternatively the [GET Current User](#operation/getCurrentUser) endpoint contains properties for the current user to avoid needing to decode the Bearer Token. # Permitted Actions In most responses from the Dash API you will find a `permittedActions` property alongside a `result` property which contains the resource. This is to provide context for operations the current user is permitted to perform on that resource. If an expected permitted action is not included in the `permittedActions` property then the current user does not have permission to perform the action. The [GET Current User](#operation/getCurrentUser) endpoint houses permitted actions which are not associated with a specific API resource instance. e.g. If the current user has permission to create new [`Asset`](#tag/Assets) resources then the [GET Current User](#operation/getCurrentUser) `permittedActions` property will contain the permitted action `ASSETS` : `CREATE_ASSETS`. # Common Use Cases ## Getting fields and field options for asset metadata [`Asset.metadata`](#tag/Assets) consists of a map of `String` to `String[]` The keys for map are [`Field`](#tag/Fields) IDs. Full details, including the field name, can be got via the [GET Field](#tag/Fields/operation/getField) endpoint or the full list of fields for an account can be retrieved via the [GET Fields](#tag/Fields/operation/getFields) endpoint. The map values are a list of plain text values if [`Field.hasFixedOptions = false`](#tag/Fields) or a list of [`FieldOption`](#tag/Field-Options) IDs if [`Field.hasFixedOptions = true`](#tag/Fields) Where [`Field.hasFixedOptions = true`](#tag/Fields) details, including the field option name, can be got via the [GET Field Option](#operation/getFieldOption) endpoint. Where [`Field.hierarchical = true`](#tag/Fields) the complete branch of the tree will be returned and can be constructed via the [`FieldOption.parent`](#tag/Field-Options) property. ## Getting the full schema of fields and field options The full list of fields for an account can be retrieved via the [GET Fields](#tag/Fields/operation/getFields) endpoint. Where [`Field.hasFixedOptions = true`](#tag/Fields) the [POST Field Option Searches](#operation/postFieldOptionSearch) endpoint can be used to get the available options. Where [`Field.hierarchical = true`](#tag/Fields) you should start with a `PARENT_ID` `FIELD_IS_EMPTY` query to get the top level options and then `PARENT_ID` `FIELD_EQUALS` queries to get each sub-level. ## Folders A Folder in Dash is simply a [`FieldOption`](#tag/Field-Options), for the built-in Folders [`Field`](#tag/Fields). To determine the ID of the Folders [`Field`](#tag/Fields), use the [`Folder Settings`](#tag/Folder-Settings) endpoint. Once you have this ID, Folders behave the same as any other [`Field`](#tag/Fields). For getting the folder tree see [Getting fields and field options for asset metadata](#section/Common-Use-Cases/Getting-fields-and-field-options-for-asset-metadata) and [Getting the full schema of fields and field options](#section/Common-Use-Cases/Getting-the-full-schema-of-fields-and-field-options) For getting assets in folders see [`AssetSearch`](#operation/postAssetSearch) For getting assets in no folders see the _Search for field is empty_ example in the [POST Asset Searches](#operation/postAssetSearch) endpoint. ## Creating a new asset Assets are the main resources in Dash. An asset consists of a file, some fixed properties (such as the date the asset was added to Dash) and custom metadata. To create new assets and upload files: 1. [Create an Asset and Upload batch job](#operation/postAssetAndUploadBatchJob) 2. Wait for the job to complete by checking the [GET Asset and upload batch job](#operation/postAssetUpload/operation/getAssetAndUploadBatchJob) endpoint 3. The completed job includes an [`AssetUpload`](#operation/postAssetUpload) resources in the job\'s `result` property. For each file you want to upload: * Make PUT requests to upload your file part with the byte ranges specified to the URLs in the corresponding `AssetUploadPart`. * Get the `etag` property from the response of each PUT request and use them to complete the upload via the (POST Asset Upload Completion)(#operation/postAssetUploadCompletion) 4. The assets will be created with a [lifecycle status](#tag/Asset-Lifecycle) of `STAGED`. Use the [POST Asset lifecycle transition batch job](postAssetLifecycleTransitionBatchJob) endpoint if you\'d like to change the state of the assets (e.g. to `PENDING_APPROVAL` or `LIVE`). ## Uploading a new file for an asset 1. Create an [`AssetUpload`](#operation/postAssetUpload) via the [POST Asset Upload](#operation/postAssetUpload/operation/postAssetUpload) endpoint 3. Make PUT requests to upload your file part with the byte ranges specified to the URLs in the corresponding `AssetUploadPart`. 4. Get the `etag` property from the response of each PUT request and use them to complete the upload via the (POST Asset Upload Completion)(#operation/postAssetUploadCompletion) ## Getting asset file versions The current [`AssetFile`](#operation/getAssetFiles) for an [`Asset`](#tag/Assets) is returned in the [`Asset`](#tag/Assets) resource via the [`Asset.currentFile`](#tag/Assets) property. The [GET Asset Files](#operation/getAssetFiles) endpoint can be used to get all [`AssetFile`](#operation/getAssetFiles) resources for an [`Asset`](#tag/Assets) ## Editing asset metadata Edit the contents of one or more [`Asset.metadata`](#tag/Assets) map properties via the [POST Asset Metadata Edit Batch Job](#operation/postAssetMetadataEditBatchJob) endpoint and check on the progress and status of the edit via the [GET Asset Metadata Edit Batch Job](#operation/getAssetMetadataEditBatchJob) endpoint. ## Getting user collections 1. Get the current user ID from the [current user details](#section/Authorisation/Current-User-Details) 2. Use this ID in the `ASSOCIATED_WITH_USER` criterion of the [POST Collection Search](#operation/postCollectionSearch/operation/postCollectionSearch) endpoint to get all collections a user has access to. 3. To get the [`Asset`](#tag/Assets) resources in each collection see the _All assets in a collection_ and _Search within assets in a collection_ examples in the [POST Asset Searches](#operation/postAssetSearch) endpoint for how to specify the [`Collection.id`](#tag/Collections) in a `COLLECTIONS` : `FIELD_EQUALS` criterion. ## Search by file extension See the _Search by file extension_ and _Search by multiple file extensions_ example in the [POST Asset Searches](#operation/postAssetSearch) endpoint ## Searching for changed assets The following date properties exist on an asset and can be supplied as FIXED field criteria in the [POST Asset Searches](#operation/postAssetSearch) endpoint - [`Asset.lifecycleStatus.dateStaged`](#tag/Assets) : The datetime the [`Asset`](#tag/Assets) was created but not yet live. `DATE_STAGED` in search criteria. - [`Asset.lifecycleStatus.datePendingApproval`](#tag/Assets) : The datetime the [`Asset`](#tag/Assets) was set for approval (if it was). `DATE_PENDING_APPROVAL` in search criteria. - [`Asset.lifecycleStatus.dateLive`](#tag/Assets) : The datetime the [`Asset`](#tag/Assets) was put live. `DATE_LIVE` in search criteria. - [`Asset.currentAssetFile.dateAdded`](#tag/Assets) : The datetime the latest [`AssetFile`](#operation/getAssetFiles) was added. `DATE_LAST_ASSET_FILE_ADDED` in search criteria. - [`Asset.dateLastModified`](#tag/Assets) : The datetime the *any* change was made to an [`Asset`](#tag/Assets). This includes all of the above and any change to custom metadata `DATE_LAST_MODIFIED` in search criteria. There is currently no way to determine if only custom metadata has changes. # Migration from V1 Several breaking changes have been introduced in the switch from V1 to V2, which are all the result of three changes. - The domain is changing from `brightdash.app` to `dash.app`. All URLs used to access the API, including for authorisation, should be updated to the new domain. - The concept of \"asset staging status\" has been renamed to \"asset lifecycle\" with the introduction of the bin, which adds another state for assets that isn\'t just about the staging workflow. This second change manifests in the changing of the StagingWorkflowTransitionBatchJob to the LifecycleTransitionBatchJob, a refactoring of the asset model to bring the \"date added\" and \"added by\" fields together with other lifecycle information, and the renaming of the \"date added\" and \"added by\" fields to the more specific \"date live\" and \"staged by\". - Asset batch jobs used to only support carrying out operations on assets by a search criterion. This has been extended to also allow performing operations by id, so the \"criterion\" field has changed to a \"selector\" field which supports objects of either type. - The term `Attribute` has been renamed to `Field` throughout, to mirror the change of terminology within the Dash frontend. All these changes are described in more specific detail below. ## Domain - Domain has changed from `brightdash.app` to `dash.app` throughout the API. ## Asset Staging Workflow - The path of this endpoint has changed from `asset-staging-workflow-transition-batch-jobs` to `asset-lifecycle-transition-batch-jobs`. - `criterion` in the POST body has become `selector`, and the criterion now needs to be wrapped in the following `{\"type\": \"BY_CRITERION\", \"criterion\": {...}}`. ## Asset Searches For both scroll and paged searches: - The following `criterion.field.fieldName` and `sorts.field.fieldName` values have been renamed: - `DATE_ADDED` -> `DATE_LIVE` - `ADDED_BY` -> `STAGED_BY` - The `stagingStatus`, `addedBy`, and `dateAdded` fields have been removed from the response. This data can now be found in the `lifecycleStatus` field. ## Asset Deletion - `criterion` in the POST body has become `selector`, and the criterion now needs to be wrapped in the following `{\"type\": \"BY_CRITERION\", \"criterion\": {...}}`. ## Asset Metadata Edit - `criterion` in the POST body has become `selector`, and the criterion now needs to be wrapped in the following `{\"type\": \"BY_CRITERION\", \"criterion\": {...}}`. ## Search Filters - The value returned from the `searchField` field of search filter results of type `HARD_CODED_FREE_OPTION` have changed from `DATE_ADDED` to `DATE_LIVE`. This isn\'t really a breaking change as the specification says this field could return any string, but it feels worth mentioning. ## Saved Search - The following `criterion.field.fieldName` and `sorts.field.fieldName` values have been renamed for both POSTing and GETting SavedSearches: - `DATE_ADDED` -> `DATE_LIVE` - `ADDED_BY` -> `STAGED_BY` ## Attributes/Fields - The string `Attribute` has been replaced with the string `Field` throughout. This includes e.g. `AttributeOption` being renamed to `FieldOption`. A simple find and replace should be enough to migrate.
|
|
@@ -14340,30 +15266,6 @@ var AssetFieldMatchesSearchCriterion;
|
|
|
14340
15266
|
};
|
|
14341
15267
|
})(AssetFieldMatchesSearchCriterion || (AssetFieldMatchesSearchCriterion = {}));
|
|
14342
15268
|
|
|
14343
|
-
/**
|
|
14344
|
-
* Dash API
|
|
14345
|
-
* # Introduction The Dash API follows the [REST](https://en.wikipedia.org/wiki/Representational_state_transfer) standard and uses common [HTTP](https://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol) headers, methods and response codes. Request and response bodies are all in [JSON](https://www.json.org/json-en.html) format except for `PUT` requests of binary file data when upload files. # Operations, Jobs and Batches If the standard `PUT`, `PATCH` and `DELETE` methods cannot adequately describe an operation on a resource the operation may itself be treated as a resource and the endpoint URLs will reflect this accordingly. For example making a `POST` to `/asset-uploads` returns an [`AssetUpload`](#operation/postAssetUpload) resource which describes the URL(s) the client should `PUT` the binary data to upload a file to an asset. If an operation is unlikely to complete via a synchronous REST call, or asynchronous behaviour is simply preferable, job resource endpoints may provided for the operation. Created job resources can then be periodically polled to Get the status of the operation. Such endpoints can be expected to contain a `job` qualifier. e.g `/asset-download-jobs` and `/asset-download-jobs/{id}` All job resources can be expected to conform to a polymorphic job structure with common properties such as `id`, `progress` and type specific properties such as `dateCompleted` for successfully completed jobs. If an operation can be applied to multiple resources an endpoint may provided to create a batch resource for the operation. Such endpoints can be expected to contain a `batch` qualifier. As batch operations almost always need to be asynchronous you can expect to see both qualifiers in the endpoint URL e.g `/asset-download-batch-jobs` and `/asset-download-batch-jobs/{id}`. # Authorisation ## Get a short-lived bearer token for testing You should read the [OAuth2 section](#section/Authorisation/OAuth2) if you want to set up programmatic API access to Dash. However, if you just want to try out an API endpoint, or want to [request your client ID and secret](#operation/putCustomIntegrationSettings) (required for OAuth2 below), you can get a short-lived bearer token: 1. Log in to your Dash account as normal 2. Open the browser developer tools (CMD + OPTION + I on Mac or CTRL + SHIFT + I on Windows) 3. Click the \"Application\" tab 4. Under \"Storage\" in the left panel, expand \"local storage\" 5. Click on the URL of your Dash site 6. Copy the \"value\" for the access_token from the right-hand panel (be sure to select the whole thing - double click to edit, select all then copy). This token can be used to try out an endpoint directly from these docs. Just click \"Try it...\" in the right-hand panel and enter your token in the \"Auth\" tab. ## OAuth2 Dash uses OAuth 2.0 for authorisation. A good overview of OAuth 2.0 can be found [here](https://auth0.com/docs/protocols/protocol-oauth2). Endpoints: * https://login.dash.app/authorize * https://login.dash.app/oauth/token Scopes to note: * **subdomain**: this should be set to the subdomain of the Dash the user is trying to access e.g. `subdomain:my-account` * **offline_access**: the standard OAuth 2.0 scope to use to obtain a refresh token Audience: An query parameter of `audience=https://assetplatform.io` must be provided to the https://login.dash.app/authorize endpoint To obtain your client ID and secret, follow the steps above to [get a temporary bearer token](#section/Authorisation/Get-a-short-lived-bearer-token-for-testing) and use this to [create custom integration settings](#operation/putCustomIntegrationSettings). The response you receive from the custom integrations settings endpoint will include your client ID and secret. ## Authorization Code Flow To begin the flow, send your user in a browser to to https://login.dash.app/authorize?response_type=code&audience=https://assetplatform.io&client_id={YOUR_CLIENT_ID}&redirect_uri={YOUR_REDIRECT}&scope=offline_access%20subdomain:{YOUR_SUBDOMAIN} Once the user successfully authenticates, they will be redirected to your `redirect_uri` with the Authorization Code provided in a query parameter. Now that you have an Authorization Code, you must exchange it for your tokens via the https://login.dash.app/oauth/token endpoint ``` curl --request POST \\ --url \'https://login.dash.app/oauth/token\' \\ --header \'content-type: application/x-www-form-urlencoded\' \\ --data grant_type=authorization_code \\ --data \'client_id={YOUR_CLIENT_ID}\' \\ --data \'client_secret={YOUR_CLIENT_SECRET}\' \\ --data \'code={CODE_FROM_PREVIOUS_STEP}\' \\ --data \'redirect_uri={YOUR_REDIRECT}\' ``` A more detailed description of the Authorization Code Flow can be found [here](https://auth0.com/docs/get-started/authentication-and-authorization-flow/add-login-auth-code-flow) ## Authentication Without User Interaction Due to security concerns, neither OAuth grant types `Client Credentials` or `Password` are supported by the Dash API. If you require an automated script to call the Dash API, we recommend going through the Authorization Code Flow described above once, specifying the offline_access scope to get a refresh token along with your access token. Your script can store and use this refresh token to call https://login.dash.app/oauth/token and get a new access token when the current one expires. ## Current User Details The Bearer Token is a standard [JWT](https://jwt.io/introduction) token so can be useful to decode in some cases. For example, the `sub` field of the Bearer Token can be used in cases where you need access to the `User.id` of the current user. e.g. When making an [`AssetSearch`](#operation/postAssetSearch) with the `STAGED_BY` criterion to find all [`Asset`](#tag/Assets) resources staged by the current user. Alternatively the [GET Current User](#operation/getCurrentUser) endpoint contains properties for the current user to avoid needing to decode the Bearer Token. # Permitted Actions In most responses from the Dash API you will find a `permittedActions` property alongside a `result` property which contains the resource. This is to provide context for operations the current user is permitted to perform on that resource. If an expected permitted action is not included in the `permittedActions` property then the current user does not have permission to perform the action. The [GET Current User](#operation/getCurrentUser) endpoint houses permitted actions which are not associated with a specific API resource instance. e.g. If the current user has permission to create new [`Asset`](#tag/Assets) resources then the [GET Current User](#operation/getCurrentUser) `permittedActions` property will contain the permitted action `ASSETS` : `CREATE_ASSETS`. # Common Use Cases ## Getting fields and field options for asset metadata [`Asset.metadata`](#tag/Assets) consists of a map of `String` to `String[]` The keys for map are [`Field`](#tag/Fields) IDs. Full details, including the field name, can be got via the [GET Field](#tag/Fields/operation/getField) endpoint or the full list of fields for an account can be retrieved via the [GET Fields](#tag/Fields/operation/getFields) endpoint. The map values are a list of plain text values if [`Field.hasFixedOptions = false`](#tag/Fields) or a list of [`FieldOption`](#tag/Field-Options) IDs if [`Field.hasFixedOptions = true`](#tag/Fields) Where [`Field.hasFixedOptions = true`](#tag/Fields) details, including the field option name, can be got via the [GET Field Option](#operation/getFieldOption) endpoint. Where [`Field.hierarchical = true`](#tag/Fields) the complete branch of the tree will be returned and can be constructed via the [`FieldOption.parent`](#tag/Field-Options) property. ## Getting the full schema of fields and field options The full list of fields for an account can be retrieved via the [GET Fields](#tag/Fields/operation/getFields) endpoint. Where [`Field.hasFixedOptions = true`](#tag/Fields) the [POST Field Option Searches](#operation/postFieldOptionSearch) endpoint can be used to get the available options. Where [`Field.hierarchical = true`](#tag/Fields) you should start with a `PARENT_ID` `FIELD_IS_EMPTY` query to get the top level options and then `PARENT_ID` `FIELD_EQUALS` queries to get each sub-level. ## Folders A Folder in Dash is simply a [`FieldOption`](#tag/Field-Options), for the built-in Folders [`Field`](#tag/Fields). To determine the ID of the Folders [`Field`](#tag/Fields), use the [`Folder Settings`](#tag/Folder-Settings) endpoint. Once you have this ID, Folders behave the same as any other [`Field`](#tag/Fields). For getting the folder tree see [Getting fields and field options for asset metadata](#section/Common-Use-Cases/Getting-fields-and-field-options-for-asset-metadata) and [Getting the full schema of fields and field options](#section/Common-Use-Cases/Getting-the-full-schema-of-fields-and-field-options) For getting assets in folders see [`AssetSearch`](#operation/postAssetSearch) For getting assets in no folders see the _Search for field is empty_ example in the [POST Asset Searches](#operation/postAssetSearch) endpoint. ## Creating a new asset Assets are the main resources in Dash. An asset consists of a file, some fixed properties (such as the date the asset was added to Dash) and custom metadata. To create new assets and upload files: 1. [Create an Asset and Upload batch job](#operation/postAssetAndUploadBatchJob) 2. Wait for the job to complete by checking the [GET Asset and upload batch job](#operation/postAssetUpload/operation/getAssetAndUploadBatchJob) endpoint 3. The completed job includes an [`AssetUpload`](#operation/postAssetUpload) resources in the job\'s `result` property. For each file you want to upload: * Make PUT requests to upload your file part with the byte ranges specified to the URLs in the corresponding `AssetUploadPart`. * Get the `etag` property from the response of each PUT request and use them to complete the upload via the (POST Asset Upload Completion)(#operation/postAssetUploadCompletion) 4. The assets will be created with a [lifecycle status](#tag/Asset-Lifecycle) of `STAGED`. Use the [POST Asset lifecycle transition batch job](postAssetLifecycleTransitionBatchJob) endpoint if you\'d like to change the state of the assets (e.g. to `PENDING_APPROVAL` or `LIVE`). ## Uploading a new file for an asset 1. Create an [`AssetUpload`](#operation/postAssetUpload) via the [POST Asset Upload](#operation/postAssetUpload/operation/postAssetUpload) endpoint 3. Make PUT requests to upload your file part with the byte ranges specified to the URLs in the corresponding `AssetUploadPart`. 4. Get the `etag` property from the response of each PUT request and use them to complete the upload via the (POST Asset Upload Completion)(#operation/postAssetUploadCompletion) ## Getting asset file versions The current [`AssetFile`](#operation/getAssetFiles) for an [`Asset`](#tag/Assets) is returned in the [`Asset`](#tag/Assets) resource via the [`Asset.currentFile`](#tag/Assets) property. The [GET Asset Files](#operation/getAssetFiles) endpoint can be used to get all [`AssetFile`](#operation/getAssetFiles) resources for an [`Asset`](#tag/Assets) ## Editing asset metadata Edit the contents of one or more [`Asset.metadata`](#tag/Assets) map properties via the [POST Asset Metadata Edit Batch Job](#operation/postAssetMetadataEditBatchJob) endpoint and check on the progress and status of the edit via the [GET Asset Metadata Edit Batch Job](#operation/getAssetMetadataEditBatchJob) endpoint. ## Getting user collections 1. Get the current user ID from the [current user details](#section/Authorisation/Current-User-Details) 2. Use this ID in the `ASSOCIATED_WITH_USER` criterion of the [POST Collection Search](#operation/postCollectionSearch/operation/postCollectionSearch) endpoint to get all collections a user has access to. 3. To get the [`Asset`](#tag/Assets) resources in each collection see the _All assets in a collection_ and _Search within assets in a collection_ examples in the [POST Asset Searches](#operation/postAssetSearch) endpoint for how to specify the [`Collection.id`](#tag/Collections) in a `COLLECTIONS` : `FIELD_EQUALS` criterion. ## Search by file extension See the _Search by file extension_ and _Search by multiple file extensions_ example in the [POST Asset Searches](#operation/postAssetSearch) endpoint ## Searching for changed assets The following date properties exist on an asset and can be supplied as FIXED field criteria in the [POST Asset Searches](#operation/postAssetSearch) endpoint - [`Asset.lifecycleStatus.dateStaged`](#tag/Assets) : The datetime the [`Asset`](#tag/Assets) was created but not yet live. `DATE_STAGED` in search criteria. - [`Asset.lifecycleStatus.datePendingApproval`](#tag/Assets) : The datetime the [`Asset`](#tag/Assets) was set for approval (if it was). `DATE_PENDING_APPROVAL` in search criteria. - [`Asset.lifecycleStatus.dateLive`](#tag/Assets) : The datetime the [`Asset`](#tag/Assets) was put live. `DATE_LIVE` in search criteria. - [`Asset.currentAssetFile.dateAdded`](#tag/Assets) : The datetime the latest [`AssetFile`](#operation/getAssetFiles) was added. `DATE_LAST_ASSET_FILE_ADDED` in search criteria. - [`Asset.dateLastModified`](#tag/Assets) : The datetime the *any* change was made to an [`Asset`](#tag/Assets). This includes all of the above and any change to custom metadata `DATE_LAST_MODIFIED` in search criteria. There is currently no way to determine if only custom metadata has changes. # Migration from V1 Several breaking changes have been introduced in the switch from V1 to V2, which are all the result of three changes. - The domain is changing from `brightdash.app` to `dash.app`. All URLs used to access the API, including for authorisation, should be updated to the new domain. - The concept of \"asset staging status\" has been renamed to \"asset lifecycle\" with the introduction of the bin, which adds another state for assets that isn\'t just about the staging workflow. This second change manifests in the changing of the StagingWorkflowTransitionBatchJob to the LifecycleTransitionBatchJob, a refactoring of the asset model to bring the \"date added\" and \"added by\" fields together with other lifecycle information, and the renaming of the \"date added\" and \"added by\" fields to the more specific \"date live\" and \"staged by\". - Asset batch jobs used to only support carrying out operations on assets by a search criterion. This has been extended to also allow performing operations by id, so the \"criterion\" field has changed to a \"selector\" field which supports objects of either type. - The term `Attribute` has been renamed to `Field` throughout, to mirror the change of terminology within the Dash frontend. All these changes are described in more specific detail below. ## Domain - Domain has changed from `brightdash.app` to `dash.app` throughout the API. ## Asset Staging Workflow - The path of this endpoint has changed from `asset-staging-workflow-transition-batch-jobs` to `asset-lifecycle-transition-batch-jobs`. - `criterion` in the POST body has become `selector`, and the criterion now needs to be wrapped in the following `{\"type\": \"BY_CRITERION\", \"criterion\": {...}}`. ## Asset Searches For both scroll and paged searches: - The following `criterion.field.fieldName` and `sorts.field.fieldName` values have been renamed: - `DATE_ADDED` -> `DATE_LIVE` - `ADDED_BY` -> `STAGED_BY` - The `stagingStatus`, `addedBy`, and `dateAdded` fields have been removed from the response. This data can now be found in the `lifecycleStatus` field. ## Asset Deletion - `criterion` in the POST body has become `selector`, and the criterion now needs to be wrapped in the following `{\"type\": \"BY_CRITERION\", \"criterion\": {...}}`. ## Asset Metadata Edit - `criterion` in the POST body has become `selector`, and the criterion now needs to be wrapped in the following `{\"type\": \"BY_CRITERION\", \"criterion\": {...}}`. ## Search Filters - The value returned from the `searchField` field of search filter results of type `HARD_CODED_FREE_OPTION` have changed from `DATE_ADDED` to `DATE_LIVE`. This isn\'t really a breaking change as the specification says this field could return any string, but it feels worth mentioning. ## Saved Search - The following `criterion.field.fieldName` and `sorts.field.fieldName` values have been renamed for both POSTing and GETting SavedSearches: - `DATE_ADDED` -> `DATE_LIVE` - `ADDED_BY` -> `STAGED_BY` ## Attributes/Fields - The string `Attribute` has been replaced with the string `Field` throughout. This includes e.g. `AttributeOption` being renamed to `FieldOption`. A simple find and replace should be enough to migrate.
|
|
14346
|
-
*
|
|
14347
|
-
* The version of the OpenAPI document: 2.0.0
|
|
14348
|
-
* Contact: help@dash.app
|
|
14349
|
-
*
|
|
14350
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
14351
|
-
* https://openapi-generator.tech
|
|
14352
|
-
* Do not edit the class manually.
|
|
14353
|
-
*/
|
|
14354
|
-
|
|
14355
|
-
/**
|
|
14356
|
-
* Dash API
|
|
14357
|
-
* # Introduction The Dash API follows the [REST](https://en.wikipedia.org/wiki/Representational_state_transfer) standard and uses common [HTTP](https://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol) headers, methods and response codes. Request and response bodies are all in [JSON](https://www.json.org/json-en.html) format except for `PUT` requests of binary file data when upload files. # Operations, Jobs and Batches If the standard `PUT`, `PATCH` and `DELETE` methods cannot adequately describe an operation on a resource the operation may itself be treated as a resource and the endpoint URLs will reflect this accordingly. For example making a `POST` to `/asset-uploads` returns an [`AssetUpload`](#operation/postAssetUpload) resource which describes the URL(s) the client should `PUT` the binary data to upload a file to an asset. If an operation is unlikely to complete via a synchronous REST call, or asynchronous behaviour is simply preferable, job resource endpoints may provided for the operation. Created job resources can then be periodically polled to Get the status of the operation. Such endpoints can be expected to contain a `job` qualifier. e.g `/asset-download-jobs` and `/asset-download-jobs/{id}` All job resources can be expected to conform to a polymorphic job structure with common properties such as `id`, `progress` and type specific properties such as `dateCompleted` for successfully completed jobs. If an operation can be applied to multiple resources an endpoint may provided to create a batch resource for the operation. Such endpoints can be expected to contain a `batch` qualifier. As batch operations almost always need to be asynchronous you can expect to see both qualifiers in the endpoint URL e.g `/asset-download-batch-jobs` and `/asset-download-batch-jobs/{id}`. # Authorisation ## Get a short-lived bearer token for testing You should read the [OAuth2 section](#section/Authorisation/OAuth2) if you want to set up programmatic API access to Dash. However, if you just want to try out an API endpoint, or want to [request your client ID and secret](#operation/putCustomIntegrationSettings) (required for OAuth2 below), you can get a short-lived bearer token: 1. Log in to your Dash account as normal 2. Open the browser developer tools (CMD + OPTION + I on Mac or CTRL + SHIFT + I on Windows) 3. Click the \"Application\" tab 4. Under \"Storage\" in the left panel, expand \"local storage\" 5. Click on the URL of your Dash site 6. Copy the \"value\" for the access_token from the right-hand panel (be sure to select the whole thing - double click to edit, select all then copy). This token can be used to try out an endpoint directly from these docs. Just click \"Try it...\" in the right-hand panel and enter your token in the \"Auth\" tab. ## OAuth2 Dash uses OAuth 2.0 for authorisation. A good overview of OAuth 2.0 can be found [here](https://auth0.com/docs/protocols/protocol-oauth2). Endpoints: * https://login.dash.app/authorize * https://login.dash.app/oauth/token Scopes to note: * **subdomain**: this should be set to the subdomain of the Dash the user is trying to access e.g. `subdomain:my-account` * **offline_access**: the standard OAuth 2.0 scope to use to obtain a refresh token Audience: An query parameter of `audience=https://assetplatform.io` must be provided to the https://login.dash.app/authorize endpoint To obtain your client ID and secret, follow the steps above to [get a temporary bearer token](#section/Authorisation/Get-a-short-lived-bearer-token-for-testing) and use this to [create custom integration settings](#operation/putCustomIntegrationSettings). The response you receive from the custom integrations settings endpoint will include your client ID and secret. ## Authorization Code Flow To begin the flow, send your user in a browser to to https://login.dash.app/authorize?response_type=code&audience=https://assetplatform.io&client_id={YOUR_CLIENT_ID}&redirect_uri={YOUR_REDIRECT}&scope=offline_access%20subdomain:{YOUR_SUBDOMAIN} Once the user successfully authenticates, they will be redirected to your `redirect_uri` with the Authorization Code provided in a query parameter. Now that you have an Authorization Code, you must exchange it for your tokens via the https://login.dash.app/oauth/token endpoint ``` curl --request POST \\ --url \'https://login.dash.app/oauth/token\' \\ --header \'content-type: application/x-www-form-urlencoded\' \\ --data grant_type=authorization_code \\ --data \'client_id={YOUR_CLIENT_ID}\' \\ --data \'client_secret={YOUR_CLIENT_SECRET}\' \\ --data \'code={CODE_FROM_PREVIOUS_STEP}\' \\ --data \'redirect_uri={YOUR_REDIRECT}\' ``` A more detailed description of the Authorization Code Flow can be found [here](https://auth0.com/docs/get-started/authentication-and-authorization-flow/add-login-auth-code-flow) ## Authentication Without User Interaction Due to security concerns, neither OAuth grant types `Client Credentials` or `Password` are supported by the Dash API. If you require an automated script to call the Dash API, we recommend going through the Authorization Code Flow described above once, specifying the offline_access scope to get a refresh token along with your access token. Your script can store and use this refresh token to call https://login.dash.app/oauth/token and get a new access token when the current one expires. ## Current User Details The Bearer Token is a standard [JWT](https://jwt.io/introduction) token so can be useful to decode in some cases. For example, the `sub` field of the Bearer Token can be used in cases where you need access to the `User.id` of the current user. e.g. When making an [`AssetSearch`](#operation/postAssetSearch) with the `STAGED_BY` criterion to find all [`Asset`](#tag/Assets) resources staged by the current user. Alternatively the [GET Current User](#operation/getCurrentUser) endpoint contains properties for the current user to avoid needing to decode the Bearer Token. # Permitted Actions In most responses from the Dash API you will find a `permittedActions` property alongside a `result` property which contains the resource. This is to provide context for operations the current user is permitted to perform on that resource. If an expected permitted action is not included in the `permittedActions` property then the current user does not have permission to perform the action. The [GET Current User](#operation/getCurrentUser) endpoint houses permitted actions which are not associated with a specific API resource instance. e.g. If the current user has permission to create new [`Asset`](#tag/Assets) resources then the [GET Current User](#operation/getCurrentUser) `permittedActions` property will contain the permitted action `ASSETS` : `CREATE_ASSETS`. # Common Use Cases ## Getting fields and field options for asset metadata [`Asset.metadata`](#tag/Assets) consists of a map of `String` to `String[]` The keys for map are [`Field`](#tag/Fields) IDs. Full details, including the field name, can be got via the [GET Field](#tag/Fields/operation/getField) endpoint or the full list of fields for an account can be retrieved via the [GET Fields](#tag/Fields/operation/getFields) endpoint. The map values are a list of plain text values if [`Field.hasFixedOptions = false`](#tag/Fields) or a list of [`FieldOption`](#tag/Field-Options) IDs if [`Field.hasFixedOptions = true`](#tag/Fields) Where [`Field.hasFixedOptions = true`](#tag/Fields) details, including the field option name, can be got via the [GET Field Option](#operation/getFieldOption) endpoint. Where [`Field.hierarchical = true`](#tag/Fields) the complete branch of the tree will be returned and can be constructed via the [`FieldOption.parent`](#tag/Field-Options) property. ## Getting the full schema of fields and field options The full list of fields for an account can be retrieved via the [GET Fields](#tag/Fields/operation/getFields) endpoint. Where [`Field.hasFixedOptions = true`](#tag/Fields) the [POST Field Option Searches](#operation/postFieldOptionSearch) endpoint can be used to get the available options. Where [`Field.hierarchical = true`](#tag/Fields) you should start with a `PARENT_ID` `FIELD_IS_EMPTY` query to get the top level options and then `PARENT_ID` `FIELD_EQUALS` queries to get each sub-level. ## Folders A Folder in Dash is simply a [`FieldOption`](#tag/Field-Options), for the built-in Folders [`Field`](#tag/Fields). To determine the ID of the Folders [`Field`](#tag/Fields), use the [`Folder Settings`](#tag/Folder-Settings) endpoint. Once you have this ID, Folders behave the same as any other [`Field`](#tag/Fields). For getting the folder tree see [Getting fields and field options for asset metadata](#section/Common-Use-Cases/Getting-fields-and-field-options-for-asset-metadata) and [Getting the full schema of fields and field options](#section/Common-Use-Cases/Getting-the-full-schema-of-fields-and-field-options) For getting assets in folders see [`AssetSearch`](#operation/postAssetSearch) For getting assets in no folders see the _Search for field is empty_ example in the [POST Asset Searches](#operation/postAssetSearch) endpoint. ## Creating a new asset Assets are the main resources in Dash. An asset consists of a file, some fixed properties (such as the date the asset was added to Dash) and custom metadata. To create new assets and upload files: 1. [Create an Asset and Upload batch job](#operation/postAssetAndUploadBatchJob) 2. Wait for the job to complete by checking the [GET Asset and upload batch job](#operation/postAssetUpload/operation/getAssetAndUploadBatchJob) endpoint 3. The completed job includes an [`AssetUpload`](#operation/postAssetUpload) resources in the job\'s `result` property. For each file you want to upload: * Make PUT requests to upload your file part with the byte ranges specified to the URLs in the corresponding `AssetUploadPart`. * Get the `etag` property from the response of each PUT request and use them to complete the upload via the (POST Asset Upload Completion)(#operation/postAssetUploadCompletion) 4. The assets will be created with a [lifecycle status](#tag/Asset-Lifecycle) of `STAGED`. Use the [POST Asset lifecycle transition batch job](postAssetLifecycleTransitionBatchJob) endpoint if you\'d like to change the state of the assets (e.g. to `PENDING_APPROVAL` or `LIVE`). ## Uploading a new file for an asset 1. Create an [`AssetUpload`](#operation/postAssetUpload) via the [POST Asset Upload](#operation/postAssetUpload/operation/postAssetUpload) endpoint 3. Make PUT requests to upload your file part with the byte ranges specified to the URLs in the corresponding `AssetUploadPart`. 4. Get the `etag` property from the response of each PUT request and use them to complete the upload via the (POST Asset Upload Completion)(#operation/postAssetUploadCompletion) ## Getting asset file versions The current [`AssetFile`](#operation/getAssetFiles) for an [`Asset`](#tag/Assets) is returned in the [`Asset`](#tag/Assets) resource via the [`Asset.currentFile`](#tag/Assets) property. The [GET Asset Files](#operation/getAssetFiles) endpoint can be used to get all [`AssetFile`](#operation/getAssetFiles) resources for an [`Asset`](#tag/Assets) ## Editing asset metadata Edit the contents of one or more [`Asset.metadata`](#tag/Assets) map properties via the [POST Asset Metadata Edit Batch Job](#operation/postAssetMetadataEditBatchJob) endpoint and check on the progress and status of the edit via the [GET Asset Metadata Edit Batch Job](#operation/getAssetMetadataEditBatchJob) endpoint. ## Getting user collections 1. Get the current user ID from the [current user details](#section/Authorisation/Current-User-Details) 2. Use this ID in the `ASSOCIATED_WITH_USER` criterion of the [POST Collection Search](#operation/postCollectionSearch/operation/postCollectionSearch) endpoint to get all collections a user has access to. 3. To get the [`Asset`](#tag/Assets) resources in each collection see the _All assets in a collection_ and _Search within assets in a collection_ examples in the [POST Asset Searches](#operation/postAssetSearch) endpoint for how to specify the [`Collection.id`](#tag/Collections) in a `COLLECTIONS` : `FIELD_EQUALS` criterion. ## Search by file extension See the _Search by file extension_ and _Search by multiple file extensions_ example in the [POST Asset Searches](#operation/postAssetSearch) endpoint ## Searching for changed assets The following date properties exist on an asset and can be supplied as FIXED field criteria in the [POST Asset Searches](#operation/postAssetSearch) endpoint - [`Asset.lifecycleStatus.dateStaged`](#tag/Assets) : The datetime the [`Asset`](#tag/Assets) was created but not yet live. `DATE_STAGED` in search criteria. - [`Asset.lifecycleStatus.datePendingApproval`](#tag/Assets) : The datetime the [`Asset`](#tag/Assets) was set for approval (if it was). `DATE_PENDING_APPROVAL` in search criteria. - [`Asset.lifecycleStatus.dateLive`](#tag/Assets) : The datetime the [`Asset`](#tag/Assets) was put live. `DATE_LIVE` in search criteria. - [`Asset.currentAssetFile.dateAdded`](#tag/Assets) : The datetime the latest [`AssetFile`](#operation/getAssetFiles) was added. `DATE_LAST_ASSET_FILE_ADDED` in search criteria. - [`Asset.dateLastModified`](#tag/Assets) : The datetime the *any* change was made to an [`Asset`](#tag/Assets). This includes all of the above and any change to custom metadata `DATE_LAST_MODIFIED` in search criteria. There is currently no way to determine if only custom metadata has changes. # Migration from V1 Several breaking changes have been introduced in the switch from V1 to V2, which are all the result of three changes. - The domain is changing from `brightdash.app` to `dash.app`. All URLs used to access the API, including for authorisation, should be updated to the new domain. - The concept of \"asset staging status\" has been renamed to \"asset lifecycle\" with the introduction of the bin, which adds another state for assets that isn\'t just about the staging workflow. This second change manifests in the changing of the StagingWorkflowTransitionBatchJob to the LifecycleTransitionBatchJob, a refactoring of the asset model to bring the \"date added\" and \"added by\" fields together with other lifecycle information, and the renaming of the \"date added\" and \"added by\" fields to the more specific \"date live\" and \"staged by\". - Asset batch jobs used to only support carrying out operations on assets by a search criterion. This has been extended to also allow performing operations by id, so the \"criterion\" field has changed to a \"selector\" field which supports objects of either type. - The term `Attribute` has been renamed to `Field` throughout, to mirror the change of terminology within the Dash frontend. All these changes are described in more specific detail below. ## Domain - Domain has changed from `brightdash.app` to `dash.app` throughout the API. ## Asset Staging Workflow - The path of this endpoint has changed from `asset-staging-workflow-transition-batch-jobs` to `asset-lifecycle-transition-batch-jobs`. - `criterion` in the POST body has become `selector`, and the criterion now needs to be wrapped in the following `{\"type\": \"BY_CRITERION\", \"criterion\": {...}}`. ## Asset Searches For both scroll and paged searches: - The following `criterion.field.fieldName` and `sorts.field.fieldName` values have been renamed: - `DATE_ADDED` -> `DATE_LIVE` - `ADDED_BY` -> `STAGED_BY` - The `stagingStatus`, `addedBy`, and `dateAdded` fields have been removed from the response. This data can now be found in the `lifecycleStatus` field. ## Asset Deletion - `criterion` in the POST body has become `selector`, and the criterion now needs to be wrapped in the following `{\"type\": \"BY_CRITERION\", \"criterion\": {...}}`. ## Asset Metadata Edit - `criterion` in the POST body has become `selector`, and the criterion now needs to be wrapped in the following `{\"type\": \"BY_CRITERION\", \"criterion\": {...}}`. ## Search Filters - The value returned from the `searchField` field of search filter results of type `HARD_CODED_FREE_OPTION` have changed from `DATE_ADDED` to `DATE_LIVE`. This isn\'t really a breaking change as the specification says this field could return any string, but it feels worth mentioning. ## Saved Search - The following `criterion.field.fieldName` and `sorts.field.fieldName` values have been renamed for both POSTing and GETting SavedSearches: - `DATE_ADDED` -> `DATE_LIVE` - `ADDED_BY` -> `STAGED_BY` ## Attributes/Fields - The string `Attribute` has been replaced with the string `Field` throughout. This includes e.g. `AttributeOption` being renamed to `FieldOption`. A simple find and replace should be enough to migrate.
|
|
14358
|
-
*
|
|
14359
|
-
* The version of the OpenAPI document: 2.0.0
|
|
14360
|
-
* Contact: help@dash.app
|
|
14361
|
-
*
|
|
14362
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
14363
|
-
* https://openapi-generator.tech
|
|
14364
|
-
* Do not edit the class manually.
|
|
14365
|
-
*/
|
|
14366
|
-
|
|
14367
15269
|
var AssetNotSearchCriterion;
|
|
14368
15270
|
(function (AssetNotSearchCriterion) {
|
|
14369
15271
|
AssetNotSearchCriterion.TypeEnum = {
|
|
@@ -17012,18 +17914,6 @@ var PendingSubscription;
|
|
|
17012
17914
|
* Do not edit the class manually.
|
|
17013
17915
|
*/
|
|
17014
17916
|
|
|
17015
|
-
/**
|
|
17016
|
-
* Dash API
|
|
17017
|
-
* # Introduction The Dash API follows the [REST](https://en.wikipedia.org/wiki/Representational_state_transfer) standard and uses common [HTTP](https://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol) headers, methods and response codes. Request and response bodies are all in [JSON](https://www.json.org/json-en.html) format except for `PUT` requests of binary file data when upload files. # Operations, Jobs and Batches If the standard `PUT`, `PATCH` and `DELETE` methods cannot adequately describe an operation on a resource the operation may itself be treated as a resource and the endpoint URLs will reflect this accordingly. For example making a `POST` to `/asset-uploads` returns an [`AssetUpload`](#operation/postAssetUpload) resource which describes the URL(s) the client should `PUT` the binary data to upload a file to an asset. If an operation is unlikely to complete via a synchronous REST call, or asynchronous behaviour is simply preferable, job resource endpoints may provided for the operation. Created job resources can then be periodically polled to Get the status of the operation. Such endpoints can be expected to contain a `job` qualifier. e.g `/asset-download-jobs` and `/asset-download-jobs/{id}` All job resources can be expected to conform to a polymorphic job structure with common properties such as `id`, `progress` and type specific properties such as `dateCompleted` for successfully completed jobs. If an operation can be applied to multiple resources an endpoint may provided to create a batch resource for the operation. Such endpoints can be expected to contain a `batch` qualifier. As batch operations almost always need to be asynchronous you can expect to see both qualifiers in the endpoint URL e.g `/asset-download-batch-jobs` and `/asset-download-batch-jobs/{id}`. # Authorisation ## Get a short-lived bearer token for testing You should read the [OAuth2 section](#section/Authorisation/OAuth2) if you want to set up programmatic API access to Dash. However, if you just want to try out an API endpoint, or want to [request your client ID and secret](#operation/putCustomIntegrationSettings) (required for OAuth2 below), you can get a short-lived bearer token: 1. Log in to your Dash account as normal 2. Open the browser developer tools (CMD + OPTION + I on Mac or CTRL + SHIFT + I on Windows) 3. Click the \"Application\" tab 4. Under \"Storage\" in the left panel, expand \"local storage\" 5. Click on the URL of your Dash site 6. Copy the \"value\" for the access_token from the right-hand panel (be sure to select the whole thing - double click to edit, select all then copy). This token can be used to try out an endpoint directly from these docs. Just click \"Try it...\" in the right-hand panel and enter your token in the \"Auth\" tab. ## OAuth2 Dash uses OAuth 2.0 for authorisation. A good overview of OAuth 2.0 can be found [here](https://auth0.com/docs/protocols/protocol-oauth2). Endpoints: * https://login.dash.app/authorize * https://login.dash.app/oauth/token Scopes to note: * **subdomain**: this should be set to the subdomain of the Dash the user is trying to access e.g. `subdomain:my-account` * **offline_access**: the standard OAuth 2.0 scope to use to obtain a refresh token Audience: An query parameter of `audience=https://assetplatform.io` must be provided to the https://login.dash.app/authorize endpoint To obtain your client ID and secret, follow the steps above to [get a temporary bearer token](#section/Authorisation/Get-a-short-lived-bearer-token-for-testing) and use this to [create custom integration settings](#operation/putCustomIntegrationSettings). The response you receive from the custom integrations settings endpoint will include your client ID and secret. ## Authorization Code Flow To begin the flow, send your user in a browser to to https://login.dash.app/authorize?response_type=code&audience=https://assetplatform.io&client_id={YOUR_CLIENT_ID}&redirect_uri={YOUR_REDIRECT}&scope=offline_access%20subdomain:{YOUR_SUBDOMAIN} Once the user successfully authenticates, they will be redirected to your `redirect_uri` with the Authorization Code provided in a query parameter. Now that you have an Authorization Code, you must exchange it for your tokens via the https://login.dash.app/oauth/token endpoint ``` curl --request POST \\ --url \'https://login.dash.app/oauth/token\' \\ --header \'content-type: application/x-www-form-urlencoded\' \\ --data grant_type=authorization_code \\ --data \'client_id={YOUR_CLIENT_ID}\' \\ --data \'client_secret={YOUR_CLIENT_SECRET}\' \\ --data \'code={CODE_FROM_PREVIOUS_STEP}\' \\ --data \'redirect_uri={YOUR_REDIRECT}\' ``` A more detailed description of the Authorization Code Flow can be found [here](https://auth0.com/docs/get-started/authentication-and-authorization-flow/add-login-auth-code-flow) ## Authentication Without User Interaction Due to security concerns, neither OAuth grant types `Client Credentials` or `Password` are supported by the Dash API. If you require an automated script to call the Dash API, we recommend going through the Authorization Code Flow described above once, specifying the offline_access scope to get a refresh token along with your access token. Your script can store and use this refresh token to call https://login.dash.app/oauth/token and get a new access token when the current one expires. ## Current User Details The Bearer Token is a standard [JWT](https://jwt.io/introduction) token so can be useful to decode in some cases. For example, the `sub` field of the Bearer Token can be used in cases where you need access to the `User.id` of the current user. e.g. When making an [`AssetSearch`](#operation/postAssetSearch) with the `STAGED_BY` criterion to find all [`Asset`](#tag/Assets) resources staged by the current user. Alternatively the [GET Current User](#operation/getCurrentUser) endpoint contains properties for the current user to avoid needing to decode the Bearer Token. # Permitted Actions In most responses from the Dash API you will find a `permittedActions` property alongside a `result` property which contains the resource. This is to provide context for operations the current user is permitted to perform on that resource. If an expected permitted action is not included in the `permittedActions` property then the current user does not have permission to perform the action. The [GET Current User](#operation/getCurrentUser) endpoint houses permitted actions which are not associated with a specific API resource instance. e.g. If the current user has permission to create new [`Asset`](#tag/Assets) resources then the [GET Current User](#operation/getCurrentUser) `permittedActions` property will contain the permitted action `ASSETS` : `CREATE_ASSETS`. # Common Use Cases ## Getting fields and field options for asset metadata [`Asset.metadata`](#tag/Assets) consists of a map of `String` to `String[]` The keys for map are [`Field`](#tag/Fields) IDs. Full details, including the field name, can be got via the [GET Field](#tag/Fields/operation/getField) endpoint or the full list of fields for an account can be retrieved via the [GET Fields](#tag/Fields/operation/getFields) endpoint. The map values are a list of plain text values if [`Field.hasFixedOptions = false`](#tag/Fields) or a list of [`FieldOption`](#tag/Field-Options) IDs if [`Field.hasFixedOptions = true`](#tag/Fields) Where [`Field.hasFixedOptions = true`](#tag/Fields) details, including the field option name, can be got via the [GET Field Option](#operation/getFieldOption) endpoint. Where [`Field.hierarchical = true`](#tag/Fields) the complete branch of the tree will be returned and can be constructed via the [`FieldOption.parent`](#tag/Field-Options) property. ## Getting the full schema of fields and field options The full list of fields for an account can be retrieved via the [GET Fields](#tag/Fields/operation/getFields) endpoint. Where [`Field.hasFixedOptions = true`](#tag/Fields) the [POST Field Option Searches](#operation/postFieldOptionSearch) endpoint can be used to get the available options. Where [`Field.hierarchical = true`](#tag/Fields) you should start with a `PARENT_ID` `FIELD_IS_EMPTY` query to get the top level options and then `PARENT_ID` `FIELD_EQUALS` queries to get each sub-level. ## Folders A Folder in Dash is simply a [`FieldOption`](#tag/Field-Options), for the built-in Folders [`Field`](#tag/Fields). To determine the ID of the Folders [`Field`](#tag/Fields), use the [`Folder Settings`](#tag/Folder-Settings) endpoint. Once you have this ID, Folders behave the same as any other [`Field`](#tag/Fields). For getting the folder tree see [Getting fields and field options for asset metadata](#section/Common-Use-Cases/Getting-fields-and-field-options-for-asset-metadata) and [Getting the full schema of fields and field options](#section/Common-Use-Cases/Getting-the-full-schema-of-fields-and-field-options) For getting assets in folders see [`AssetSearch`](#operation/postAssetSearch) For getting assets in no folders see the _Search for field is empty_ example in the [POST Asset Searches](#operation/postAssetSearch) endpoint. ## Creating a new asset Assets are the main resources in Dash. An asset consists of a file, some fixed properties (such as the date the asset was added to Dash) and custom metadata. To create new assets and upload files: 1. [Create an Asset and Upload batch job](#operation/postAssetAndUploadBatchJob) 2. Wait for the job to complete by checking the [GET Asset and upload batch job](#operation/postAssetUpload/operation/getAssetAndUploadBatchJob) endpoint 3. The completed job includes an [`AssetUpload`](#operation/postAssetUpload) resources in the job\'s `result` property. For each file you want to upload: * Make PUT requests to upload your file part with the byte ranges specified to the URLs in the corresponding `AssetUploadPart`. * Get the `etag` property from the response of each PUT request and use them to complete the upload via the (POST Asset Upload Completion)(#operation/postAssetUploadCompletion) 4. The assets will be created with a [lifecycle status](#tag/Asset-Lifecycle) of `STAGED`. Use the [POST Asset lifecycle transition batch job](postAssetLifecycleTransitionBatchJob) endpoint if you\'d like to change the state of the assets (e.g. to `PENDING_APPROVAL` or `LIVE`). ## Uploading a new file for an asset 1. Create an [`AssetUpload`](#operation/postAssetUpload) via the [POST Asset Upload](#operation/postAssetUpload/operation/postAssetUpload) endpoint 3. Make PUT requests to upload your file part with the byte ranges specified to the URLs in the corresponding `AssetUploadPart`. 4. Get the `etag` property from the response of each PUT request and use them to complete the upload via the (POST Asset Upload Completion)(#operation/postAssetUploadCompletion) ## Getting asset file versions The current [`AssetFile`](#operation/getAssetFiles) for an [`Asset`](#tag/Assets) is returned in the [`Asset`](#tag/Assets) resource via the [`Asset.currentFile`](#tag/Assets) property. The [GET Asset Files](#operation/getAssetFiles) endpoint can be used to get all [`AssetFile`](#operation/getAssetFiles) resources for an [`Asset`](#tag/Assets) ## Editing asset metadata Edit the contents of one or more [`Asset.metadata`](#tag/Assets) map properties via the [POST Asset Metadata Edit Batch Job](#operation/postAssetMetadataEditBatchJob) endpoint and check on the progress and status of the edit via the [GET Asset Metadata Edit Batch Job](#operation/getAssetMetadataEditBatchJob) endpoint. ## Getting user collections 1. Get the current user ID from the [current user details](#section/Authorisation/Current-User-Details) 2. Use this ID in the `ASSOCIATED_WITH_USER` criterion of the [POST Collection Search](#operation/postCollectionSearch/operation/postCollectionSearch) endpoint to get all collections a user has access to. 3. To get the [`Asset`](#tag/Assets) resources in each collection see the _All assets in a collection_ and _Search within assets in a collection_ examples in the [POST Asset Searches](#operation/postAssetSearch) endpoint for how to specify the [`Collection.id`](#tag/Collections) in a `COLLECTIONS` : `FIELD_EQUALS` criterion. ## Search by file extension See the _Search by file extension_ and _Search by multiple file extensions_ example in the [POST Asset Searches](#operation/postAssetSearch) endpoint ## Searching for changed assets The following date properties exist on an asset and can be supplied as FIXED field criteria in the [POST Asset Searches](#operation/postAssetSearch) endpoint - [`Asset.lifecycleStatus.dateStaged`](#tag/Assets) : The datetime the [`Asset`](#tag/Assets) was created but not yet live. `DATE_STAGED` in search criteria. - [`Asset.lifecycleStatus.datePendingApproval`](#tag/Assets) : The datetime the [`Asset`](#tag/Assets) was set for approval (if it was). `DATE_PENDING_APPROVAL` in search criteria. - [`Asset.lifecycleStatus.dateLive`](#tag/Assets) : The datetime the [`Asset`](#tag/Assets) was put live. `DATE_LIVE` in search criteria. - [`Asset.currentAssetFile.dateAdded`](#tag/Assets) : The datetime the latest [`AssetFile`](#operation/getAssetFiles) was added. `DATE_LAST_ASSET_FILE_ADDED` in search criteria. - [`Asset.dateLastModified`](#tag/Assets) : The datetime the *any* change was made to an [`Asset`](#tag/Assets). This includes all of the above and any change to custom metadata `DATE_LAST_MODIFIED` in search criteria. There is currently no way to determine if only custom metadata has changes. # Migration from V1 Several breaking changes have been introduced in the switch from V1 to V2, which are all the result of three changes. - The domain is changing from `brightdash.app` to `dash.app`. All URLs used to access the API, including for authorisation, should be updated to the new domain. - The concept of \"asset staging status\" has been renamed to \"asset lifecycle\" with the introduction of the bin, which adds another state for assets that isn\'t just about the staging workflow. This second change manifests in the changing of the StagingWorkflowTransitionBatchJob to the LifecycleTransitionBatchJob, a refactoring of the asset model to bring the \"date added\" and \"added by\" fields together with other lifecycle information, and the renaming of the \"date added\" and \"added by\" fields to the more specific \"date live\" and \"staged by\". - Asset batch jobs used to only support carrying out operations on assets by a search criterion. This has been extended to also allow performing operations by id, so the \"criterion\" field has changed to a \"selector\" field which supports objects of either type. - The term `Attribute` has been renamed to `Field` throughout, to mirror the change of terminology within the Dash frontend. All these changes are described in more specific detail below. ## Domain - Domain has changed from `brightdash.app` to `dash.app` throughout the API. ## Asset Staging Workflow - The path of this endpoint has changed from `asset-staging-workflow-transition-batch-jobs` to `asset-lifecycle-transition-batch-jobs`. - `criterion` in the POST body has become `selector`, and the criterion now needs to be wrapped in the following `{\"type\": \"BY_CRITERION\", \"criterion\": {...}}`. ## Asset Searches For both scroll and paged searches: - The following `criterion.field.fieldName` and `sorts.field.fieldName` values have been renamed: - `DATE_ADDED` -> `DATE_LIVE` - `ADDED_BY` -> `STAGED_BY` - The `stagingStatus`, `addedBy`, and `dateAdded` fields have been removed from the response. This data can now be found in the `lifecycleStatus` field. ## Asset Deletion - `criterion` in the POST body has become `selector`, and the criterion now needs to be wrapped in the following `{\"type\": \"BY_CRITERION\", \"criterion\": {...}}`. ## Asset Metadata Edit - `criterion` in the POST body has become `selector`, and the criterion now needs to be wrapped in the following `{\"type\": \"BY_CRITERION\", \"criterion\": {...}}`. ## Search Filters - The value returned from the `searchField` field of search filter results of type `HARD_CODED_FREE_OPTION` have changed from `DATE_ADDED` to `DATE_LIVE`. This isn\'t really a breaking change as the specification says this field could return any string, but it feels worth mentioning. ## Saved Search - The following `criterion.field.fieldName` and `sorts.field.fieldName` values have been renamed for both POSTing and GETting SavedSearches: - `DATE_ADDED` -> `DATE_LIVE` - `ADDED_BY` -> `STAGED_BY` ## Attributes/Fields - The string `Attribute` has been replaced with the string `Field` throughout. This includes e.g. `AttributeOption` being renamed to `FieldOption`. A simple find and replace should be enough to migrate.
|
|
17018
|
-
*
|
|
17019
|
-
* The version of the OpenAPI document: 2.0.0
|
|
17020
|
-
* Contact: help@dash.app
|
|
17021
|
-
*
|
|
17022
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
17023
|
-
* https://openapi-generator.tech
|
|
17024
|
-
* Do not edit the class manually.
|
|
17025
|
-
*/
|
|
17026
|
-
|
|
17027
17917
|
/**
|
|
17028
17918
|
* Dash API
|
|
17029
17919
|
* # Introduction The Dash API follows the [REST](https://en.wikipedia.org/wiki/Representational_state_transfer) standard and uses common [HTTP](https://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol) headers, methods and response codes. Request and response bodies are all in [JSON](https://www.json.org/json-en.html) format except for `PUT` requests of binary file data when upload files. # Operations, Jobs and Batches If the standard `PUT`, `PATCH` and `DELETE` methods cannot adequately describe an operation on a resource the operation may itself be treated as a resource and the endpoint URLs will reflect this accordingly. For example making a `POST` to `/asset-uploads` returns an [`AssetUpload`](#operation/postAssetUpload) resource which describes the URL(s) the client should `PUT` the binary data to upload a file to an asset. If an operation is unlikely to complete via a synchronous REST call, or asynchronous behaviour is simply preferable, job resource endpoints may provided for the operation. Created job resources can then be periodically polled to Get the status of the operation. Such endpoints can be expected to contain a `job` qualifier. e.g `/asset-download-jobs` and `/asset-download-jobs/{id}` All job resources can be expected to conform to a polymorphic job structure with common properties such as `id`, `progress` and type specific properties such as `dateCompleted` for successfully completed jobs. If an operation can be applied to multiple resources an endpoint may provided to create a batch resource for the operation. Such endpoints can be expected to contain a `batch` qualifier. As batch operations almost always need to be asynchronous you can expect to see both qualifiers in the endpoint URL e.g `/asset-download-batch-jobs` and `/asset-download-batch-jobs/{id}`. # Authorisation ## Get a short-lived bearer token for testing You should read the [OAuth2 section](#section/Authorisation/OAuth2) if you want to set up programmatic API access to Dash. However, if you just want to try out an API endpoint, or want to [request your client ID and secret](#operation/putCustomIntegrationSettings) (required for OAuth2 below), you can get a short-lived bearer token: 1. Log in to your Dash account as normal 2. Open the browser developer tools (CMD + OPTION + I on Mac or CTRL + SHIFT + I on Windows) 3. Click the \"Application\" tab 4. Under \"Storage\" in the left panel, expand \"local storage\" 5. Click on the URL of your Dash site 6. Copy the \"value\" for the access_token from the right-hand panel (be sure to select the whole thing - double click to edit, select all then copy). This token can be used to try out an endpoint directly from these docs. Just click \"Try it...\" in the right-hand panel and enter your token in the \"Auth\" tab. ## OAuth2 Dash uses OAuth 2.0 for authorisation. A good overview of OAuth 2.0 can be found [here](https://auth0.com/docs/protocols/protocol-oauth2). Endpoints: * https://login.dash.app/authorize * https://login.dash.app/oauth/token Scopes to note: * **subdomain**: this should be set to the subdomain of the Dash the user is trying to access e.g. `subdomain:my-account` * **offline_access**: the standard OAuth 2.0 scope to use to obtain a refresh token Audience: An query parameter of `audience=https://assetplatform.io` must be provided to the https://login.dash.app/authorize endpoint To obtain your client ID and secret, follow the steps above to [get a temporary bearer token](#section/Authorisation/Get-a-short-lived-bearer-token-for-testing) and use this to [create custom integration settings](#operation/putCustomIntegrationSettings). The response you receive from the custom integrations settings endpoint will include your client ID and secret. ## Authorization Code Flow To begin the flow, send your user in a browser to to https://login.dash.app/authorize?response_type=code&audience=https://assetplatform.io&client_id={YOUR_CLIENT_ID}&redirect_uri={YOUR_REDIRECT}&scope=offline_access%20subdomain:{YOUR_SUBDOMAIN} Once the user successfully authenticates, they will be redirected to your `redirect_uri` with the Authorization Code provided in a query parameter. Now that you have an Authorization Code, you must exchange it for your tokens via the https://login.dash.app/oauth/token endpoint ``` curl --request POST \\ --url \'https://login.dash.app/oauth/token\' \\ --header \'content-type: application/x-www-form-urlencoded\' \\ --data grant_type=authorization_code \\ --data \'client_id={YOUR_CLIENT_ID}\' \\ --data \'client_secret={YOUR_CLIENT_SECRET}\' \\ --data \'code={CODE_FROM_PREVIOUS_STEP}\' \\ --data \'redirect_uri={YOUR_REDIRECT}\' ``` A more detailed description of the Authorization Code Flow can be found [here](https://auth0.com/docs/get-started/authentication-and-authorization-flow/add-login-auth-code-flow) ## Authentication Without User Interaction Due to security concerns, neither OAuth grant types `Client Credentials` or `Password` are supported by the Dash API. If you require an automated script to call the Dash API, we recommend going through the Authorization Code Flow described above once, specifying the offline_access scope to get a refresh token along with your access token. Your script can store and use this refresh token to call https://login.dash.app/oauth/token and get a new access token when the current one expires. ## Current User Details The Bearer Token is a standard [JWT](https://jwt.io/introduction) token so can be useful to decode in some cases. For example, the `sub` field of the Bearer Token can be used in cases where you need access to the `User.id` of the current user. e.g. When making an [`AssetSearch`](#operation/postAssetSearch) with the `STAGED_BY` criterion to find all [`Asset`](#tag/Assets) resources staged by the current user. Alternatively the [GET Current User](#operation/getCurrentUser) endpoint contains properties for the current user to avoid needing to decode the Bearer Token. # Permitted Actions In most responses from the Dash API you will find a `permittedActions` property alongside a `result` property which contains the resource. This is to provide context for operations the current user is permitted to perform on that resource. If an expected permitted action is not included in the `permittedActions` property then the current user does not have permission to perform the action. The [GET Current User](#operation/getCurrentUser) endpoint houses permitted actions which are not associated with a specific API resource instance. e.g. If the current user has permission to create new [`Asset`](#tag/Assets) resources then the [GET Current User](#operation/getCurrentUser) `permittedActions` property will contain the permitted action `ASSETS` : `CREATE_ASSETS`. # Common Use Cases ## Getting fields and field options for asset metadata [`Asset.metadata`](#tag/Assets) consists of a map of `String` to `String[]` The keys for map are [`Field`](#tag/Fields) IDs. Full details, including the field name, can be got via the [GET Field](#tag/Fields/operation/getField) endpoint or the full list of fields for an account can be retrieved via the [GET Fields](#tag/Fields/operation/getFields) endpoint. The map values are a list of plain text values if [`Field.hasFixedOptions = false`](#tag/Fields) or a list of [`FieldOption`](#tag/Field-Options) IDs if [`Field.hasFixedOptions = true`](#tag/Fields) Where [`Field.hasFixedOptions = true`](#tag/Fields) details, including the field option name, can be got via the [GET Field Option](#operation/getFieldOption) endpoint. Where [`Field.hierarchical = true`](#tag/Fields) the complete branch of the tree will be returned and can be constructed via the [`FieldOption.parent`](#tag/Field-Options) property. ## Getting the full schema of fields and field options The full list of fields for an account can be retrieved via the [GET Fields](#tag/Fields/operation/getFields) endpoint. Where [`Field.hasFixedOptions = true`](#tag/Fields) the [POST Field Option Searches](#operation/postFieldOptionSearch) endpoint can be used to get the available options. Where [`Field.hierarchical = true`](#tag/Fields) you should start with a `PARENT_ID` `FIELD_IS_EMPTY` query to get the top level options and then `PARENT_ID` `FIELD_EQUALS` queries to get each sub-level. ## Folders A Folder in Dash is simply a [`FieldOption`](#tag/Field-Options), for the built-in Folders [`Field`](#tag/Fields). To determine the ID of the Folders [`Field`](#tag/Fields), use the [`Folder Settings`](#tag/Folder-Settings) endpoint. Once you have this ID, Folders behave the same as any other [`Field`](#tag/Fields). For getting the folder tree see [Getting fields and field options for asset metadata](#section/Common-Use-Cases/Getting-fields-and-field-options-for-asset-metadata) and [Getting the full schema of fields and field options](#section/Common-Use-Cases/Getting-the-full-schema-of-fields-and-field-options) For getting assets in folders see [`AssetSearch`](#operation/postAssetSearch) For getting assets in no folders see the _Search for field is empty_ example in the [POST Asset Searches](#operation/postAssetSearch) endpoint. ## Creating a new asset Assets are the main resources in Dash. An asset consists of a file, some fixed properties (such as the date the asset was added to Dash) and custom metadata. To create new assets and upload files: 1. [Create an Asset and Upload batch job](#operation/postAssetAndUploadBatchJob) 2. Wait for the job to complete by checking the [GET Asset and upload batch job](#operation/postAssetUpload/operation/getAssetAndUploadBatchJob) endpoint 3. The completed job includes an [`AssetUpload`](#operation/postAssetUpload) resources in the job\'s `result` property. For each file you want to upload: * Make PUT requests to upload your file part with the byte ranges specified to the URLs in the corresponding `AssetUploadPart`. * Get the `etag` property from the response of each PUT request and use them to complete the upload via the (POST Asset Upload Completion)(#operation/postAssetUploadCompletion) 4. The assets will be created with a [lifecycle status](#tag/Asset-Lifecycle) of `STAGED`. Use the [POST Asset lifecycle transition batch job](postAssetLifecycleTransitionBatchJob) endpoint if you\'d like to change the state of the assets (e.g. to `PENDING_APPROVAL` or `LIVE`). ## Uploading a new file for an asset 1. Create an [`AssetUpload`](#operation/postAssetUpload) via the [POST Asset Upload](#operation/postAssetUpload/operation/postAssetUpload) endpoint 3. Make PUT requests to upload your file part with the byte ranges specified to the URLs in the corresponding `AssetUploadPart`. 4. Get the `etag` property from the response of each PUT request and use them to complete the upload via the (POST Asset Upload Completion)(#operation/postAssetUploadCompletion) ## Getting asset file versions The current [`AssetFile`](#operation/getAssetFiles) for an [`Asset`](#tag/Assets) is returned in the [`Asset`](#tag/Assets) resource via the [`Asset.currentFile`](#tag/Assets) property. The [GET Asset Files](#operation/getAssetFiles) endpoint can be used to get all [`AssetFile`](#operation/getAssetFiles) resources for an [`Asset`](#tag/Assets) ## Editing asset metadata Edit the contents of one or more [`Asset.metadata`](#tag/Assets) map properties via the [POST Asset Metadata Edit Batch Job](#operation/postAssetMetadataEditBatchJob) endpoint and check on the progress and status of the edit via the [GET Asset Metadata Edit Batch Job](#operation/getAssetMetadataEditBatchJob) endpoint. ## Getting user collections 1. Get the current user ID from the [current user details](#section/Authorisation/Current-User-Details) 2. Use this ID in the `ASSOCIATED_WITH_USER` criterion of the [POST Collection Search](#operation/postCollectionSearch/operation/postCollectionSearch) endpoint to get all collections a user has access to. 3. To get the [`Asset`](#tag/Assets) resources in each collection see the _All assets in a collection_ and _Search within assets in a collection_ examples in the [POST Asset Searches](#operation/postAssetSearch) endpoint for how to specify the [`Collection.id`](#tag/Collections) in a `COLLECTIONS` : `FIELD_EQUALS` criterion. ## Search by file extension See the _Search by file extension_ and _Search by multiple file extensions_ example in the [POST Asset Searches](#operation/postAssetSearch) endpoint ## Searching for changed assets The following date properties exist on an asset and can be supplied as FIXED field criteria in the [POST Asset Searches](#operation/postAssetSearch) endpoint - [`Asset.lifecycleStatus.dateStaged`](#tag/Assets) : The datetime the [`Asset`](#tag/Assets) was created but not yet live. `DATE_STAGED` in search criteria. - [`Asset.lifecycleStatus.datePendingApproval`](#tag/Assets) : The datetime the [`Asset`](#tag/Assets) was set for approval (if it was). `DATE_PENDING_APPROVAL` in search criteria. - [`Asset.lifecycleStatus.dateLive`](#tag/Assets) : The datetime the [`Asset`](#tag/Assets) was put live. `DATE_LIVE` in search criteria. - [`Asset.currentAssetFile.dateAdded`](#tag/Assets) : The datetime the latest [`AssetFile`](#operation/getAssetFiles) was added. `DATE_LAST_ASSET_FILE_ADDED` in search criteria. - [`Asset.dateLastModified`](#tag/Assets) : The datetime the *any* change was made to an [`Asset`](#tag/Assets). This includes all of the above and any change to custom metadata `DATE_LAST_MODIFIED` in search criteria. There is currently no way to determine if only custom metadata has changes. # Migration from V1 Several breaking changes have been introduced in the switch from V1 to V2, which are all the result of three changes. - The domain is changing from `brightdash.app` to `dash.app`. All URLs used to access the API, including for authorisation, should be updated to the new domain. - The concept of \"asset staging status\" has been renamed to \"asset lifecycle\" with the introduction of the bin, which adds another state for assets that isn\'t just about the staging workflow. This second change manifests in the changing of the StagingWorkflowTransitionBatchJob to the LifecycleTransitionBatchJob, a refactoring of the asset model to bring the \"date added\" and \"added by\" fields together with other lifecycle information, and the renaming of the \"date added\" and \"added by\" fields to the more specific \"date live\" and \"staged by\". - Asset batch jobs used to only support carrying out operations on assets by a search criterion. This has been extended to also allow performing operations by id, so the \"criterion\" field has changed to a \"selector\" field which supports objects of either type. - The term `Attribute` has been renamed to `Field` throughout, to mirror the change of terminology within the Dash frontend. All these changes are described in more specific detail below. ## Domain - Domain has changed from `brightdash.app` to `dash.app` throughout the API. ## Asset Staging Workflow - The path of this endpoint has changed from `asset-staging-workflow-transition-batch-jobs` to `asset-lifecycle-transition-batch-jobs`. - `criterion` in the POST body has become `selector`, and the criterion now needs to be wrapped in the following `{\"type\": \"BY_CRITERION\", \"criterion\": {...}}`. ## Asset Searches For both scroll and paged searches: - The following `criterion.field.fieldName` and `sorts.field.fieldName` values have been renamed: - `DATE_ADDED` -> `DATE_LIVE` - `ADDED_BY` -> `STAGED_BY` - The `stagingStatus`, `addedBy`, and `dateAdded` fields have been removed from the response. This data can now be found in the `lifecycleStatus` field. ## Asset Deletion - `criterion` in the POST body has become `selector`, and the criterion now needs to be wrapped in the following `{\"type\": \"BY_CRITERION\", \"criterion\": {...}}`. ## Asset Metadata Edit - `criterion` in the POST body has become `selector`, and the criterion now needs to be wrapped in the following `{\"type\": \"BY_CRITERION\", \"criterion\": {...}}`. ## Search Filters - The value returned from the `searchField` field of search filter results of type `HARD_CODED_FREE_OPTION` have changed from `DATE_ADDED` to `DATE_LIVE`. This isn\'t really a breaking change as the specification says this field could return any string, but it feels worth mentioning. ## Saved Search - The following `criterion.field.fieldName` and `sorts.field.fieldName` values have been renamed for both POSTing and GETting SavedSearches: - `DATE_ADDED` -> `DATE_LIVE` - `ADDED_BY` -> `STAGED_BY` ## Attributes/Fields - The string `Attribute` has been replaced with the string `Field` throughout. This includes e.g. `AttributeOption` being renamed to `FieldOption`. A simple find and replace should be enough to migrate.
|