@shapediver/sdk.platform-api-sdk-v1 1.15.4 → 2.6.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/dist/bundle.js CHANGED
@@ -31,10 +31,9 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
31
31
  };
32
32
  Object.defineProperty(exports, "__esModule", ({ value: true }));
33
33
  __exportStar(__webpack_require__(1), exports);
34
- __exportStar(__webpack_require__(51), exports);
35
34
  __exportStar(__webpack_require__(52), exports);
36
- __exportStar(__webpack_require__(55), exports);
37
- __exportStar(__webpack_require__(58), exports);
35
+ __exportStar(__webpack_require__(53), exports);
36
+ __exportStar(__webpack_require__(56), exports);
38
37
  __exportStar(__webpack_require__(59), exports);
39
38
  __exportStar(__webpack_require__(60), exports);
40
39
  __exportStar(__webpack_require__(61), exports);
@@ -53,10 +52,11 @@ __exportStar(__webpack_require__(73), exports);
53
52
  __exportStar(__webpack_require__(74), exports);
54
53
  __exportStar(__webpack_require__(75), exports);
55
54
  __exportStar(__webpack_require__(76), exports);
56
- __exportStar(__webpack_require__(57), exports);
57
- __exportStar(__webpack_require__(53), exports);
58
55
  __exportStar(__webpack_require__(77), exports);
59
- __exportStar(__webpack_require__(111), exports);
56
+ __exportStar(__webpack_require__(58), exports);
57
+ __exportStar(__webpack_require__(54), exports);
58
+ __exportStar(__webpack_require__(78), exports);
59
+ __exportStar(__webpack_require__(113), exports);
60
60
 
61
61
 
62
62
  /***/ }),
@@ -129,6 +129,7 @@ __exportStar(__webpack_require__(47), exports);
129
129
  __exportStar(__webpack_require__(48), exports);
130
130
  __exportStar(__webpack_require__(49), exports);
131
131
  __exportStar(__webpack_require__(50), exports);
132
+ __exportStar(__webpack_require__(51), exports);
132
133
  //# sourceMappingURL=index.js.map
133
134
 
134
135
  /***/ }),
@@ -153,6 +154,7 @@ var SdPlatformApiTokenScopes;
153
154
  SdPlatformApiTokenScopes["ImagesFull"] = "images-full";
154
155
  SdPlatformApiTokenScopes["Tokens"] = "tokens";
155
156
  SdPlatformApiTokenScopes["TagsRead"] = "tags-read";
157
+ SdPlatformApiTokenScopes["TagsWrite"] = "tags-write";
156
158
  SdPlatformApiTokenScopes["UsersRead"] = "users-read";
157
159
  SdPlatformApiTokenScopes["UsersWrite"] = "users-write";
158
160
  SdPlatformApiTokenScopes["ModelSharingRead"] = "model-sharing-read";
@@ -167,9 +169,19 @@ var SdPlatformApiTokenScopes;
167
169
  SdPlatformApiTokenScopes["ActionsFull"] = "actions-full";
168
170
  SdPlatformApiTokenScopes["ApiClientsFull"] = "apiclients-full";
169
171
  SdPlatformApiTokenScopes["BackendSystemsFull"] = "backendsystems-full";
172
+ SdPlatformApiTokenScopes["DomainsRead"] = "domains-read";
170
173
  SdPlatformApiTokenScopes["DomainsFull"] = "domains-full";
171
174
  SdPlatformApiTokenScopes["HttpLogsFull"] = "httplogs-full";
172
175
  SdPlatformApiTokenScopes["PoliciesFull"] = "policies-full";
176
+ SdPlatformApiTokenScopes["OrganizationsRead"] = "organizations-read";
177
+ SdPlatformApiTokenScopes["OrganizationsWrite"] = "organizations-write";
178
+ SdPlatformApiTokenScopes["OrganizationsFull"] = "organizations-full";
179
+ SdPlatformApiTokenScopes["NotificationsRead"] = "notifications-read";
180
+ SdPlatformApiTokenScopes["NotificationsWrite"] = "notifications-write";
181
+ SdPlatformApiTokenScopes["NotificationsFull"] = "notifications-full";
182
+ SdPlatformApiTokenScopes["DocumentsRead"] = "documents-read";
183
+ SdPlatformApiTokenScopes["DocumentsWrite"] = "documents-write";
184
+ SdPlatformApiTokenScopes["DocumentsFull"] = "documents-full";
173
185
  SdPlatformApiTokenScopes["All"] = "*";
174
186
  })(SdPlatformApiTokenScopes = exports.SdPlatformApiTokenScopes || (exports.SdPlatformApiTokenScopes = {}));
175
187
  //# sourceMappingURL=SdPlatformApiTokenScopes.js.map
@@ -228,7 +240,7 @@ var SdPlatformNotificationType;
228
240
  SdPlatformNotificationType["ModelDenied"] = "model-denied";
229
241
  SdPlatformNotificationType["ScriptDenied"] = "script-denied";
230
242
  SdPlatformNotificationType["ComputationFailed"] = "computation-failed";
231
- SdPlatformNotificationType["ExportDeleted"] = "export-failed";
243
+ SdPlatformNotificationType["ExportFailed"] = "export-failed";
232
244
  SdPlatformNotificationType["CreditLimitWarning"] = "credit-limit-warning";
233
245
  SdPlatformNotificationType["CreditLimitError"] = "credit-limit-error";
234
246
  SdPlatformNotificationType["ModelShared"] = "model-shared";
@@ -757,7 +769,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
757
769
  "use strict";
758
770
 
759
771
  Object.defineProperty(exports, "__esModule", ({ value: true }));
760
- //# sourceMappingURL=SdPlatformRequestDomain.js.map
772
+ //# sourceMappingURL=SdPlatformRequestDocument.js.map
761
773
 
762
774
  /***/ }),
763
775
  /* 18 */
@@ -766,7 +778,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
766
778
  "use strict";
767
779
 
768
780
  Object.defineProperty(exports, "__esModule", ({ value: true }));
769
- //# sourceMappingURL=SdPlatformRequestImage.js.map
781
+ //# sourceMappingURL=SdPlatformRequestDomain.js.map
770
782
 
771
783
  /***/ }),
772
784
  /* 19 */
@@ -774,6 +786,15 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
774
786
 
775
787
  "use strict";
776
788
 
789
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
790
+ //# sourceMappingURL=SdPlatformRequestImage.js.map
791
+
792
+ /***/ }),
793
+ /* 20 */
794
+ /***/ ((__unused_webpack_module, exports) => {
795
+
796
+ "use strict";
797
+
777
798
  Object.defineProperty(exports, "__esModule", ({ value: true }));
778
799
  exports.SdPlatformRequestModelStatus = void 0;
779
800
  var SdPlatformRequestModelStatus;
@@ -784,7 +805,7 @@ var SdPlatformRequestModelStatus;
784
805
  //# sourceMappingURL=SdPlatformRequestModel.js.map
785
806
 
786
807
  /***/ }),
787
- /* 20 */
808
+ /* 21 */
788
809
  /***/ ((__unused_webpack_module, exports) => {
789
810
 
790
811
  "use strict";
@@ -793,7 +814,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
793
814
  //# sourceMappingURL=SdPlatformRequestModelSharing.js.map
794
815
 
795
816
  /***/ }),
796
- /* 21 */
817
+ /* 22 */
797
818
  /***/ ((__unused_webpack_module, exports) => {
798
819
 
799
820
  "use strict";
@@ -802,7 +823,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
802
823
  //# sourceMappingURL=SdPlatformRequestNotification.js.map
803
824
 
804
825
  /***/ }),
805
- /* 22 */
826
+ /* 23 */
806
827
  /***/ ((__unused_webpack_module, exports) => {
807
828
 
808
829
  "use strict";
@@ -811,7 +832,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
811
832
  //# sourceMappingURL=SdPlatformRequestModelToken.js.map
812
833
 
813
834
  /***/ }),
814
- /* 23 */
835
+ /* 24 */
815
836
  /***/ ((__unused_webpack_module, exports) => {
816
837
 
817
838
  "use strict";
@@ -820,7 +841,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
820
841
  //# sourceMappingURL=SdPlatformRequestModelTransfer.js.map
821
842
 
822
843
  /***/ }),
823
- /* 24 */
844
+ /* 25 */
824
845
  /***/ ((__unused_webpack_module, exports) => {
825
846
 
826
847
  "use strict";
@@ -829,7 +850,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
829
850
  //# sourceMappingURL=SdPlatformRequestOrganization.js.map
830
851
 
831
852
  /***/ }),
832
- /* 25 */
853
+ /* 26 */
833
854
  /***/ ((__unused_webpack_module, exports) => {
834
855
 
835
856
  "use strict";
@@ -838,7 +859,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
838
859
  //# sourceMappingURL=SdPlatformRequestPolicy.js.map
839
860
 
840
861
  /***/ }),
841
- /* 26 */
862
+ /* 27 */
842
863
  /***/ ((__unused_webpack_module, exports) => {
843
864
 
844
865
  "use strict";
@@ -847,7 +868,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
847
868
  //# sourceMappingURL=SdPlatformRequestSavedState.js.map
848
869
 
849
870
  /***/ }),
850
- /* 27 */
871
+ /* 28 */
851
872
  /***/ ((__unused_webpack_module, exports) => {
852
873
 
853
874
  "use strict";
@@ -856,7 +877,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
856
877
  //# sourceMappingURL=SdPlatformRequestSavedStateSharing.js.map
857
878
 
858
879
  /***/ }),
859
- /* 28 */
880
+ /* 29 */
860
881
  /***/ ((__unused_webpack_module, exports) => {
861
882
 
862
883
  "use strict";
@@ -865,7 +886,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
865
886
  //# sourceMappingURL=SdPlatformRequestUser.js.map
866
887
 
867
888
  /***/ }),
868
- /* 29 */
889
+ /* 30 */
869
890
  /***/ ((__unused_webpack_module, exports) => {
870
891
 
871
892
  "use strict";
@@ -874,7 +895,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
874
895
  //# sourceMappingURL=SdPlatformRequestWebhook.js.map
875
896
 
876
897
  /***/ }),
877
- /* 30 */
898
+ /* 31 */
878
899
  /***/ ((__unused_webpack_module, exports) => {
879
900
 
880
901
  "use strict";
@@ -883,7 +904,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
883
904
  //# sourceMappingURL=SdPlatformAuthResponse.js.map
884
905
 
885
906
  /***/ }),
886
- /* 31 */
907
+ /* 32 */
887
908
  /***/ ((__unused_webpack_module, exports) => {
888
909
 
889
910
  "use strict";
@@ -892,7 +913,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
892
913
  //# sourceMappingURL=SdPlatformBaseResponseTypes.js.map
893
914
 
894
915
  /***/ }),
895
- /* 32 */
916
+ /* 33 */
896
917
  /***/ ((__unused_webpack_module, exports) => {
897
918
 
898
919
  "use strict";
@@ -910,7 +931,7 @@ var SdPlatformResponseAnalyticsTimestampType;
910
931
  //# sourceMappingURL=SdPlatformResponseAnalytics.js.map
911
932
 
912
933
  /***/ }),
913
- /* 33 */
934
+ /* 34 */
914
935
  /***/ ((__unused_webpack_module, exports) => {
915
936
 
916
937
  "use strict";
@@ -919,7 +940,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
919
940
  //# sourceMappingURL=SdPlatformResponseApiToken.js.map
920
941
 
921
942
  /***/ }),
922
- /* 34 */
943
+ /* 35 */
923
944
  /***/ ((__unused_webpack_module, exports) => {
924
945
 
925
946
  "use strict";
@@ -928,7 +949,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
928
949
  //# sourceMappingURL=SdPlatformResponseBackendSystem.js.map
929
950
 
930
951
  /***/ }),
931
- /* 35 */
952
+ /* 36 */
932
953
  /***/ ((__unused_webpack_module, exports) => {
933
954
 
934
955
  "use strict";
@@ -945,7 +966,7 @@ var SdPlatformResponseChargebeeCurrencyCode;
945
966
  //# sourceMappingURL=SdPlatformResponseChargebee.js.map
946
967
 
947
968
  /***/ }),
948
- /* 36 */
969
+ /* 37 */
949
970
  /***/ ((__unused_webpack_module, exports) => {
950
971
 
951
972
  "use strict";
@@ -954,7 +975,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
954
975
  //# sourceMappingURL=SdPlatformResponseDocument.js.map
955
976
 
956
977
  /***/ }),
957
- /* 37 */
978
+ /* 38 */
958
979
  /***/ ((__unused_webpack_module, exports) => {
959
980
 
960
981
  "use strict";
@@ -963,7 +984,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
963
984
  //# sourceMappingURL=SdPlatformResponseDomain.js.map
964
985
 
965
986
  /***/ }),
966
- /* 38 */
987
+ /* 39 */
967
988
  /***/ ((__unused_webpack_module, exports) => {
968
989
 
969
990
  "use strict";
@@ -972,7 +993,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
972
993
  //# sourceMappingURL=SdPlatformResponseFeatures.js.map
973
994
 
974
995
  /***/ }),
975
- /* 39 */
996
+ /* 40 */
976
997
  /***/ ((__unused_webpack_module, exports) => {
977
998
 
978
999
  "use strict";
@@ -981,7 +1002,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
981
1002
  //# sourceMappingURL=SdPlatformResponseHttpLog.js.map
982
1003
 
983
1004
  /***/ }),
984
- /* 40 */
1005
+ /* 41 */
985
1006
  /***/ ((__unused_webpack_module, exports) => {
986
1007
 
987
1008
  "use strict";
@@ -990,7 +1011,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
990
1011
  //# sourceMappingURL=SdPlatformResponseImage.js.map
991
1012
 
992
1013
  /***/ }),
993
- /* 41 */
1014
+ /* 42 */
994
1015
  /***/ ((__unused_webpack_module, exports) => {
995
1016
 
996
1017
  "use strict";
@@ -1047,7 +1068,7 @@ var SdPlatformModelDenyReason;
1047
1068
  //# sourceMappingURL=SdPlatformResponseModel.js.map
1048
1069
 
1049
1070
  /***/ }),
1050
- /* 42 */
1071
+ /* 43 */
1051
1072
  /***/ ((__unused_webpack_module, exports) => {
1052
1073
 
1053
1074
  "use strict";
@@ -1056,7 +1077,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
1056
1077
  //# sourceMappingURL=SdPlatformResponseModelSharing.js.map
1057
1078
 
1058
1079
  /***/ }),
1059
- /* 43 */
1080
+ /* 44 */
1060
1081
  /***/ ((__unused_webpack_module, exports) => {
1061
1082
 
1062
1083
  "use strict";
@@ -1065,7 +1086,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
1065
1086
  //# sourceMappingURL=SdPlatformResponseModelToken.js.map
1066
1087
 
1067
1088
  /***/ }),
1068
- /* 44 */
1089
+ /* 45 */
1069
1090
  /***/ ((__unused_webpack_module, exports) => {
1070
1091
 
1071
1092
  "use strict";
@@ -1074,7 +1095,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
1074
1095
  //# sourceMappingURL=SdPlatformResponseNotification.js.map
1075
1096
 
1076
1097
  /***/ }),
1077
- /* 45 */
1098
+ /* 46 */
1078
1099
  /***/ ((__unused_webpack_module, exports) => {
1079
1100
 
1080
1101
  "use strict";
@@ -1083,7 +1104,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
1083
1104
  //# sourceMappingURL=SdPlatformResponseOrganization.js.map
1084
1105
 
1085
1106
  /***/ }),
1086
- /* 46 */
1107
+ /* 47 */
1087
1108
  /***/ ((__unused_webpack_module, exports) => {
1088
1109
 
1089
1110
  "use strict";
@@ -1092,7 +1113,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
1092
1113
  //# sourceMappingURL=SdPlatformResponsePolicy.js.map
1093
1114
 
1094
1115
  /***/ }),
1095
- /* 47 */
1116
+ /* 48 */
1096
1117
  /***/ ((__unused_webpack_module, exports) => {
1097
1118
 
1098
1119
  "use strict";
@@ -1101,7 +1122,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
1101
1122
  //# sourceMappingURL=SdPlatformResponseSavedState.js.map
1102
1123
 
1103
1124
  /***/ }),
1104
- /* 48 */
1125
+ /* 49 */
1105
1126
  /***/ ((__unused_webpack_module, exports) => {
1106
1127
 
1107
1128
  "use strict";
@@ -1110,7 +1131,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
1110
1131
  //# sourceMappingURL=SdPlatformResponseSavedStateSharing.js.map
1111
1132
 
1112
1133
  /***/ }),
1113
- /* 49 */
1134
+ /* 50 */
1114
1135
  /***/ ((__unused_webpack_module, exports) => {
1115
1136
 
1116
1137
  "use strict";
@@ -1119,7 +1140,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
1119
1140
  //# sourceMappingURL=SdPlatformResponseTag.js.map
1120
1141
 
1121
1142
  /***/ }),
1122
- /* 50 */
1143
+ /* 51 */
1123
1144
  /***/ ((__unused_webpack_module, exports) => {
1124
1145
 
1125
1146
  "use strict";
@@ -1128,7 +1149,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
1128
1149
  //# sourceMappingURL=SdPlatformResponseUser.js.map
1129
1150
 
1130
1151
  /***/ }),
1131
- /* 51 */
1152
+ /* 52 */
1132
1153
  /***/ ((__unused_webpack_module, exports) => {
1133
1154
 
1134
1155
  "use strict";
@@ -1239,11 +1260,20 @@ var RequestId;
1239
1260
  RequestId["ModelTransferRequestGet"] = "model_transfer_request_get";
1240
1261
  RequestId["ModelTransferRequestAccept"] = "model_transfer_request_accept";
1241
1262
  RequestId["ModelTransferRequestDeny"] = "model_transfer_request_deny";
1263
+ RequestId["DocumentCreate"] = "document_create";
1264
+ RequestId["DocumentQuery"] = "document_query";
1265
+ RequestId["DocumentDelete"] = "document_delete";
1266
+ RequestId["DocumentList"] = "document_list";
1267
+ RequestId["DocumentDownload"] = "document_download";
1268
+ RequestId["DocumentView"] = "document_view";
1269
+ RequestId["DocumentAccept"] = "document_accept";
1270
+ RequestId["DocumentBrowserDownload"] = "document_browser_download";
1271
+ RequestId["DocumentBrowserView"] = "document_browser_view";
1242
1272
  })(RequestId = exports.RequestId || (exports.RequestId = {}));
1243
1273
 
1244
1274
 
1245
1275
  /***/ }),
1246
- /* 52 */
1276
+ /* 53 */
1247
1277
  /***/ (function(__unused_webpack_module, exports, __webpack_require__) {
1248
1278
 
1249
1279
  "use strict";
@@ -1262,10 +1292,10 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
1262
1292
  };
1263
1293
  Object.defineProperty(exports, "__esModule", ({ value: true }));
1264
1294
  exports.SdPlatformAuthServiceApi = void 0;
1265
- const SdPlatformRequestId_1 = __webpack_require__(51);
1266
- const SdPlatformErrors_1 = __webpack_require__(53);
1295
+ const SdPlatformRequestId_1 = __webpack_require__(52);
1296
+ const SdPlatformErrors_1 = __webpack_require__(54);
1267
1297
  const api_platform_api_dto_v1_1 = __webpack_require__(1);
1268
- const jwt_decode_1 = __importDefault(__webpack_require__(54));
1298
+ const jwt_decode_1 = __importDefault(__webpack_require__(55));
1269
1299
  var RequestState;
1270
1300
  (function (RequestState) {
1271
1301
  RequestState["NoRequest"] = "NoRequest";
@@ -1425,7 +1455,7 @@ exports.SdPlatformAuthServiceApi = SdPlatformAuthServiceApi;
1425
1455
 
1426
1456
 
1427
1457
  /***/ }),
1428
- /* 53 */
1458
+ /* 54 */
1429
1459
  /***/ ((__unused_webpack_module, exports) => {
1430
1460
 
1431
1461
  "use strict";
@@ -1509,7 +1539,7 @@ exports.SdPlatformOAuthResponseError = SdPlatformOAuthResponseError;
1509
1539
 
1510
1540
 
1511
1541
  /***/ }),
1512
- /* 54 */
1542
+ /* 55 */
1513
1543
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
1514
1544
 
1515
1545
  "use strict";
@@ -1523,15 +1553,15 @@ function e(e){this.message=e}e.prototype=new Error,e.prototype.name="InvalidChar
1523
1553
 
1524
1554
 
1525
1555
  /***/ }),
1526
- /* 55 */
1556
+ /* 56 */
1527
1557
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
1528
1558
 
1529
1559
  "use strict";
1530
1560
 
1531
1561
  Object.defineProperty(exports, "__esModule", ({ value: true }));
1532
1562
  exports.SdPlatformApiTokenApi = void 0;
1533
- const SdPlatformRequestId_1 = __webpack_require__(51);
1534
- const ResourcesApi_1 = __webpack_require__(56);
1563
+ const SdPlatformRequestId_1 = __webpack_require__(52);
1564
+ const ResourcesApi_1 = __webpack_require__(57);
1535
1565
  /**
1536
1566
  * CRUD operations for Platform API tokens.
1537
1567
  * Platform API tokens can be limited in scope and lifetime.
@@ -1542,8 +1572,8 @@ class SdPlatformApiTokenApi extends ResourcesApi_1.ResourcesApi {
1542
1572
  get __resourcePath() {
1543
1573
  return "apitokens";
1544
1574
  }
1545
- get(id) {
1546
- return super.__get(SdPlatformRequestId_1.RequestId.ApiTokenGet, id);
1575
+ get(key_id) {
1576
+ return super.__get(SdPlatformRequestId_1.RequestId.ApiTokenGet, key_id);
1547
1577
  }
1548
1578
  query(query = {}) {
1549
1579
  return super.__action(SdPlatformRequestId_1.RequestId.ApiTokenQuery, ResourcesApi_1.Action.Post, "apitokens/query", query);
@@ -1554,15 +1584,15 @@ class SdPlatformApiTokenApi extends ResourcesApi_1.ResourcesApi {
1554
1584
  patch(key_id, body) {
1555
1585
  return super.__patch(SdPlatformRequestId_1.RequestId.ApiTokenPatch, key_id, body);
1556
1586
  }
1557
- delete(id) {
1558
- return super.__delete(SdPlatformRequestId_1.RequestId.ApiTokenDelete, id);
1587
+ delete(key_id) {
1588
+ return super.__delete(SdPlatformRequestId_1.RequestId.ApiTokenDelete, key_id);
1559
1589
  }
1560
1590
  }
1561
1591
  exports.SdPlatformApiTokenApi = SdPlatformApiTokenApi;
1562
1592
 
1563
1593
 
1564
1594
  /***/ }),
1565
- /* 56 */
1595
+ /* 57 */
1566
1596
  /***/ (function(__unused_webpack_module, exports, __webpack_require__) {
1567
1597
 
1568
1598
  "use strict";
@@ -1578,7 +1608,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
1578
1608
  };
1579
1609
  Object.defineProperty(exports, "__esModule", ({ value: true }));
1580
1610
  exports.ResourcesApi = exports.Action = void 0;
1581
- const SdPlatformSdkContext_1 = __webpack_require__(57);
1611
+ const SdPlatformSdkContext_1 = __webpack_require__(58);
1582
1612
  /**
1583
1613
  * Actions enum.
1584
1614
  */
@@ -1676,7 +1706,7 @@ exports.ResourcesApi = ResourcesApi;
1676
1706
 
1677
1707
 
1678
1708
  /***/ }),
1679
- /* 57 */
1709
+ /* 58 */
1680
1710
  /***/ ((__unused_webpack_module, exports) => {
1681
1711
 
1682
1712
  "use strict";
@@ -1770,15 +1800,15 @@ exports.SdPlatformSdkContext = SdPlatformSdkContext;
1770
1800
 
1771
1801
 
1772
1802
  /***/ }),
1773
- /* 58 */
1803
+ /* 59 */
1774
1804
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
1775
1805
 
1776
1806
  "use strict";
1777
1807
 
1778
1808
  Object.defineProperty(exports, "__esModule", ({ value: true }));
1779
1809
  exports.SdPlatformBackendSystemApi = void 0;
1780
- const SdPlatformRequestId_1 = __webpack_require__(51);
1781
- const ResourcesApi_1 = __webpack_require__(56);
1810
+ const SdPlatformRequestId_1 = __webpack_require__(52);
1811
+ const ResourcesApi_1 = __webpack_require__(57);
1782
1812
  /**
1783
1813
  * Operations for ShapeDiver Geometry Backend Systems known by the Platform Backend.
1784
1814
  */
@@ -1806,15 +1836,15 @@ exports.SdPlatformBackendSystemApi = SdPlatformBackendSystemApi;
1806
1836
 
1807
1837
 
1808
1838
  /***/ }),
1809
- /* 59 */
1839
+ /* 60 */
1810
1840
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
1811
1841
 
1812
1842
  "use strict";
1813
1843
 
1814
1844
  Object.defineProperty(exports, "__esModule", ({ value: true }));
1815
1845
  exports.SdPlatformBookmarkApi = void 0;
1816
- const SdPlatformRequestId_1 = __webpack_require__(51);
1817
- const ResourcesApi_1 = __webpack_require__(56);
1846
+ const SdPlatformRequestId_1 = __webpack_require__(52);
1847
+ const ResourcesApi_1 = __webpack_require__(57);
1818
1848
  /**
1819
1849
  * Operations for creating and deleting bookmarks
1820
1850
  */
@@ -1838,15 +1868,15 @@ exports.SdPlatformBookmarkApi = SdPlatformBookmarkApi;
1838
1868
 
1839
1869
 
1840
1870
  /***/ }),
1841
- /* 60 */
1871
+ /* 61 */
1842
1872
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
1843
1873
 
1844
1874
  "use strict";
1845
1875
 
1846
1876
  Object.defineProperty(exports, "__esModule", ({ value: true }));
1847
1877
  exports.SdPlatformChargebeeApi = void 0;
1848
- const ResourcesApi_1 = __webpack_require__(56);
1849
- const SdPlatformRequestId_1 = __webpack_require__(51);
1878
+ const ResourcesApi_1 = __webpack_require__(57);
1879
+ const SdPlatformRequestId_1 = __webpack_require__(52);
1850
1880
  /**
1851
1881
  * Actions related to Chargebee.
1852
1882
  */
@@ -1878,15 +1908,15 @@ exports.SdPlatformChargebeeApi = SdPlatformChargebeeApi;
1878
1908
 
1879
1909
 
1880
1910
  /***/ }),
1881
- /* 61 */
1911
+ /* 62 */
1882
1912
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
1883
1913
 
1884
1914
  "use strict";
1885
1915
 
1886
1916
  Object.defineProperty(exports, "__esModule", ({ value: true }));
1887
1917
  exports.SdPlatformDomainApi = exports.SdPlatformDomainQueryEmbeddableFields = exports.SdPlatformDomainGetEmbeddableFields = void 0;
1888
- const SdPlatformRequestId_1 = __webpack_require__(51);
1889
- const ResourcesApi_1 = __webpack_require__(56);
1918
+ const SdPlatformRequestId_1 = __webpack_require__(52);
1919
+ const ResourcesApi_1 = __webpack_require__(57);
1890
1920
  var SdPlatformDomainGetEmbeddableFields;
1891
1921
  (function (SdPlatformDomainGetEmbeddableFields) {
1892
1922
  SdPlatformDomainGetEmbeddableFields["Models"] = "models";
@@ -1945,15 +1975,15 @@ exports.SdPlatformDomainApi = SdPlatformDomainApi;
1945
1975
 
1946
1976
 
1947
1977
  /***/ }),
1948
- /* 62 */
1978
+ /* 63 */
1949
1979
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
1950
1980
 
1951
1981
  "use strict";
1952
1982
 
1953
1983
  Object.defineProperty(exports, "__esModule", ({ value: true }));
1954
1984
  exports.SdPlatformHttpLogApi = void 0;
1955
- const SdPlatformRequestId_1 = __webpack_require__(51);
1956
- const ResourcesApi_1 = __webpack_require__(56);
1985
+ const SdPlatformRequestId_1 = __webpack_require__(52);
1986
+ const ResourcesApi_1 = __webpack_require__(57);
1957
1987
  /**
1958
1988
  * HTTP logs.
1959
1989
  */
@@ -1973,15 +2003,15 @@ exports.SdPlatformHttpLogApi = SdPlatformHttpLogApi;
1973
2003
 
1974
2004
 
1975
2005
  /***/ }),
1976
- /* 63 */
2006
+ /* 64 */
1977
2007
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
1978
2008
 
1979
2009
  "use strict";
1980
2010
 
1981
2011
  Object.defineProperty(exports, "__esModule", ({ value: true }));
1982
2012
  exports.SdPlatformImageApi = exports.SdPlatformImageQueryEmbeddableFields = void 0;
1983
- const SdPlatformRequestId_1 = __webpack_require__(51);
1984
- const ResourcesApi_1 = __webpack_require__(56);
2013
+ const SdPlatformRequestId_1 = __webpack_require__(52);
2014
+ const ResourcesApi_1 = __webpack_require__(57);
1985
2015
  var SdPlatformImageQueryEmbeddableFields;
1986
2016
  (function (SdPlatformImageQueryEmbeddableFields) {
1987
2017
  SdPlatformImageQueryEmbeddableFields["User"] = "user";
@@ -2029,15 +2059,15 @@ exports.SdPlatformImageApi = SdPlatformImageApi;
2029
2059
 
2030
2060
 
2031
2061
  /***/ }),
2032
- /* 64 */
2062
+ /* 65 */
2033
2063
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
2034
2064
 
2035
2065
  "use strict";
2036
2066
 
2037
2067
  Object.defineProperty(exports, "__esModule", ({ value: true }));
2038
2068
  exports.SdPlatformModelApi = exports.SdPlatformModelGetEmbeddableFields = exports.SdPlatformModelQueryEmbeddableFields = void 0;
2039
- const SdPlatformRequestId_1 = __webpack_require__(51);
2040
- const ResourcesApi_1 = __webpack_require__(56);
2069
+ const SdPlatformRequestId_1 = __webpack_require__(52);
2070
+ const ResourcesApi_1 = __webpack_require__(57);
2041
2071
  var SdPlatformModelQueryEmbeddableFields;
2042
2072
  (function (SdPlatformModelQueryEmbeddableFields) {
2043
2073
  SdPlatformModelQueryEmbeddableFields["Accessdomains"] = "accessdomains";
@@ -2096,15 +2126,15 @@ exports.SdPlatformModelApi = SdPlatformModelApi;
2096
2126
 
2097
2127
 
2098
2128
  /***/ }),
2099
- /* 65 */
2129
+ /* 66 */
2100
2130
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
2101
2131
 
2102
2132
  "use strict";
2103
2133
 
2104
2134
  Object.defineProperty(exports, "__esModule", ({ value: true }));
2105
2135
  exports.SdPlatformModelSharingApi = void 0;
2106
- const SdPlatformRequestId_1 = __webpack_require__(51);
2107
- const ResourcesApi_1 = __webpack_require__(56);
2136
+ const SdPlatformRequestId_1 = __webpack_require__(52);
2137
+ const ResourcesApi_1 = __webpack_require__(57);
2108
2138
  /**
2109
2139
  * Operations for model sharing relationships.
2110
2140
  */
@@ -2167,15 +2197,15 @@ exports.SdPlatformModelSharingApi = SdPlatformModelSharingApi;
2167
2197
 
2168
2198
 
2169
2199
  /***/ }),
2170
- /* 66 */
2200
+ /* 67 */
2171
2201
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
2172
2202
 
2173
2203
  "use strict";
2174
2204
 
2175
2205
  Object.defineProperty(exports, "__esModule", ({ value: true }));
2176
2206
  exports.SdPlatformModelTokenApi = void 0;
2177
- const SdPlatformRequestId_1 = __webpack_require__(51);
2178
- const ResourcesApi_1 = __webpack_require__(56);
2207
+ const SdPlatformRequestId_1 = __webpack_require__(52);
2208
+ const ResourcesApi_1 = __webpack_require__(57);
2179
2209
  /**
2180
2210
  * Operations for creating tokens for models on Geometry Backend Systems
2181
2211
  */
@@ -2191,7 +2221,7 @@ exports.SdPlatformModelTokenApi = SdPlatformModelTokenApi;
2191
2221
 
2192
2222
 
2193
2223
  /***/ }),
2194
- /* 67 */
2224
+ /* 68 */
2195
2225
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
2196
2226
 
2197
2227
  "use strict";
@@ -2199,7 +2229,7 @@ exports.SdPlatformModelTokenApi = SdPlatformModelTokenApi;
2199
2229
  Object.defineProperty(exports, "__esModule", ({ value: true }));
2200
2230
  exports.SdPlatformModelTransferApi = void 0;
2201
2231
  const __1 = __webpack_require__(0);
2202
- const ResourcesApi_1 = __webpack_require__(56);
2232
+ const ResourcesApi_1 = __webpack_require__(57);
2203
2233
  /**
2204
2234
  * Operations for creating, revoking, accepting, denying, model ownership transfer notifications.
2205
2235
  */
@@ -2261,18 +2291,18 @@ exports.SdPlatformModelTransferApi = SdPlatformModelTransferApi;
2261
2291
 
2262
2292
 
2263
2293
  /***/ }),
2264
- /* 68 */
2294
+ /* 69 */
2265
2295
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
2266
2296
 
2267
2297
  "use strict";
2268
2298
 
2269
2299
  Object.defineProperty(exports, "__esModule", ({ value: true }));
2270
2300
  exports.SdPlatformNotificationApi = exports.SdPlatformNotificationEmbeddableFields = void 0;
2271
- const SdPlatformRequestId_1 = __webpack_require__(51);
2272
- const ResourcesApi_1 = __webpack_require__(56);
2301
+ const SdPlatformRequestId_1 = __webpack_require__(52);
2302
+ const ResourcesApi_1 = __webpack_require__(57);
2273
2303
  var SdPlatformNotificationEmbeddableFields;
2274
2304
  (function (SdPlatformNotificationEmbeddableFields) {
2275
- SdPlatformNotificationEmbeddableFields["Received"] = "receiver";
2305
+ SdPlatformNotificationEmbeddableFields["Receiver"] = "receiver";
2276
2306
  SdPlatformNotificationEmbeddableFields["User"] = "user";
2277
2307
  SdPlatformNotificationEmbeddableFields["Model"] = "model";
2278
2308
  SdPlatformNotificationEmbeddableFields["SavedState"] = "saved_state";
@@ -2303,15 +2333,15 @@ exports.SdPlatformNotificationApi = SdPlatformNotificationApi;
2303
2333
 
2304
2334
 
2305
2335
  /***/ }),
2306
- /* 69 */
2336
+ /* 70 */
2307
2337
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
2308
2338
 
2309
2339
  "use strict";
2310
2340
 
2311
2341
  Object.defineProperty(exports, "__esModule", ({ value: true }));
2312
2342
  exports.SdPlatformOrganizationApi = exports.SdPlatformOrganizationEmbeddableFields = void 0;
2313
- const SdPlatformRequestId_1 = __webpack_require__(51);
2314
- const ResourcesApi_1 = __webpack_require__(56);
2343
+ const SdPlatformRequestId_1 = __webpack_require__(52);
2344
+ const ResourcesApi_1 = __webpack_require__(57);
2315
2345
  var SdPlatformOrganizationEmbeddableFields;
2316
2346
  (function (SdPlatformOrganizationEmbeddableFields) {
2317
2347
  SdPlatformOrganizationEmbeddableFields["AccessDomains"] = "accessdomains";
@@ -2424,15 +2454,15 @@ exports.SdPlatformOrganizationApi = SdPlatformOrganizationApi;
2424
2454
 
2425
2455
 
2426
2456
  /***/ }),
2427
- /* 70 */
2457
+ /* 71 */
2428
2458
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
2429
2459
 
2430
2460
  "use strict";
2431
2461
 
2432
2462
  Object.defineProperty(exports, "__esModule", ({ value: true }));
2433
2463
  exports.SdPlatformPolicyApi = void 0;
2434
- const SdPlatformRequestId_1 = __webpack_require__(51);
2435
- const ResourcesApi_1 = __webpack_require__(56);
2464
+ const SdPlatformRequestId_1 = __webpack_require__(52);
2465
+ const ResourcesApi_1 = __webpack_require__(57);
2436
2466
  /**
2437
2467
  * Operations for policies.
2438
2468
  */
@@ -2460,15 +2490,15 @@ exports.SdPlatformPolicyApi = SdPlatformPolicyApi;
2460
2490
 
2461
2491
 
2462
2492
  /***/ }),
2463
- /* 71 */
2493
+ /* 72 */
2464
2494
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
2465
2495
 
2466
2496
  "use strict";
2467
2497
 
2468
2498
  Object.defineProperty(exports, "__esModule", ({ value: true }));
2469
2499
  exports.SdPlatformSavedStateApi = exports.SdPlatformSavedStateGetEmbedFields = exports.SdPlatformSavedStateQueryEmbeddableFields = void 0;
2470
- const ResourcesApi_1 = __webpack_require__(56);
2471
- const SdPlatformRequestId_1 = __webpack_require__(51);
2500
+ const ResourcesApi_1 = __webpack_require__(57);
2501
+ const SdPlatformRequestId_1 = __webpack_require__(52);
2472
2502
  var SdPlatformSavedStateQueryEmbeddableFields;
2473
2503
  (function (SdPlatformSavedStateQueryEmbeddableFields) {
2474
2504
  SdPlatformSavedStateQueryEmbeddableFields["Model"] = "model";
@@ -2533,15 +2563,15 @@ exports.SdPlatformSavedStateApi = SdPlatformSavedStateApi;
2533
2563
 
2534
2564
 
2535
2565
  /***/ }),
2536
- /* 72 */
2566
+ /* 73 */
2537
2567
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
2538
2568
 
2539
2569
  "use strict";
2540
2570
 
2541
2571
  Object.defineProperty(exports, "__esModule", ({ value: true }));
2542
2572
  exports.SdPlatformSavedStateSharingApi = void 0;
2543
- const ResourcesApi_1 = __webpack_require__(56);
2544
- const SdPlatformRequestId_1 = __webpack_require__(51);
2573
+ const ResourcesApi_1 = __webpack_require__(57);
2574
+ const SdPlatformRequestId_1 = __webpack_require__(52);
2545
2575
  /**
2546
2576
  * Operations for saved state sharing relationships.
2547
2577
  */
@@ -2605,15 +2635,15 @@ exports.SdPlatformSavedStateSharingApi = SdPlatformSavedStateSharingApi;
2605
2635
 
2606
2636
 
2607
2637
  /***/ }),
2608
- /* 73 */
2638
+ /* 74 */
2609
2639
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
2610
2640
 
2611
2641
  "use strict";
2612
2642
 
2613
2643
  Object.defineProperty(exports, "__esModule", ({ value: true }));
2614
2644
  exports.SdPlatformTagApi = exports.SdPlatformTagQueryEmbeddableFields = void 0;
2615
- const SdPlatformRequestId_1 = __webpack_require__(51);
2616
- const ResourcesApi_1 = __webpack_require__(56);
2645
+ const SdPlatformRequestId_1 = __webpack_require__(52);
2646
+ const ResourcesApi_1 = __webpack_require__(57);
2617
2647
  var SdPlatformTagQueryEmbeddableFields;
2618
2648
  (function (SdPlatformTagQueryEmbeddableFields) {
2619
2649
  SdPlatformTagQueryEmbeddableFields["ModelsCount"] = "models_count";
@@ -2636,15 +2666,15 @@ exports.SdPlatformTagApi = SdPlatformTagApi;
2636
2666
 
2637
2667
 
2638
2668
  /***/ }),
2639
- /* 74 */
2669
+ /* 75 */
2640
2670
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
2641
2671
 
2642
2672
  "use strict";
2643
2673
 
2644
2674
  Object.defineProperty(exports, "__esModule", ({ value: true }));
2645
2675
  exports.SdPlatformUserAnalyticsApi = void 0;
2646
- const SdPlatformRequestId_1 = __webpack_require__(51);
2647
- const ResourcesApi_1 = __webpack_require__(56);
2676
+ const SdPlatformRequestId_1 = __webpack_require__(52);
2677
+ const ResourcesApi_1 = __webpack_require__(57);
2648
2678
  /**
2649
2679
  * Analytics for users.
2650
2680
  */
@@ -2665,15 +2695,15 @@ exports.SdPlatformUserAnalyticsApi = SdPlatformUserAnalyticsApi;
2665
2695
 
2666
2696
 
2667
2697
  /***/ }),
2668
- /* 75 */
2698
+ /* 76 */
2669
2699
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
2670
2700
 
2671
2701
  "use strict";
2672
2702
 
2673
2703
  Object.defineProperty(exports, "__esModule", ({ value: true }));
2674
2704
  exports.SdPlatformUserApi = exports.SdPlatformUserGetEmbeddableFields = exports.SdPlatformUserQueryEmbeddableFields = void 0;
2675
- const SdPlatformRequestId_1 = __webpack_require__(51);
2676
- const ResourcesApi_1 = __webpack_require__(56);
2705
+ const SdPlatformRequestId_1 = __webpack_require__(52);
2706
+ const ResourcesApi_1 = __webpack_require__(57);
2677
2707
  var SdPlatformUserQueryEmbeddableFields;
2678
2708
  (function (SdPlatformUserQueryEmbeddableFields) {
2679
2709
  SdPlatformUserQueryEmbeddableFields["BackendSystem"] = "backend_system";
@@ -2772,14 +2802,14 @@ exports.SdPlatformUserApi = SdPlatformUserApi;
2772
2802
 
2773
2803
 
2774
2804
  /***/ }),
2775
- /* 76 */
2805
+ /* 77 */
2776
2806
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
2777
2807
 
2778
2808
  "use strict";
2779
2809
 
2780
2810
  Object.defineProperty(exports, "__esModule", ({ value: true }));
2781
2811
  exports.SdPlatformWebhookApi = void 0;
2782
- const SdPlatformRequestId_1 = __webpack_require__(51);
2812
+ const SdPlatformRequestId_1 = __webpack_require__(52);
2783
2813
  /**
2784
2814
  * Webhook calls.
2785
2815
  */
@@ -2845,37 +2875,38 @@ exports.SdPlatformWebhookApi = SdPlatformWebhookApi;
2845
2875
 
2846
2876
 
2847
2877
  /***/ }),
2848
- /* 77 */
2878
+ /* 78 */
2849
2879
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
2850
2880
 
2851
2881
  "use strict";
2852
2882
 
2853
2883
  Object.defineProperty(exports, "__esModule", ({ value: true }));
2854
2884
  exports.SdPlatformSdk = void 0;
2855
- const SdPlatformSdkApi_1 = __webpack_require__(78);
2856
- const SdPlatformSdkConfig_1 = __webpack_require__(110);
2857
- const SdPlatformAuthServiceApi_1 = __webpack_require__(52);
2858
- const SdPlatformSdkContext_1 = __webpack_require__(57);
2859
- const SdPlatformApiTokenApi_1 = __webpack_require__(55);
2860
- const SdPlatformBackendSystemApi_1 = __webpack_require__(58);
2861
- const SdPlatformBookmarkApi_1 = __webpack_require__(59);
2862
- const SdPlatformChargebeeApi_1 = __webpack_require__(60);
2863
- const SdPlatformDomainApi_1 = __webpack_require__(61);
2864
- const SdPlatformHttpLogApi_1 = __webpack_require__(62);
2865
- const SdPlatformImageApi_1 = __webpack_require__(63);
2866
- const SdPlatformModelApi_1 = __webpack_require__(64);
2867
- const SdPlatformModelSharingApi_1 = __webpack_require__(65);
2868
- const SdPlatformModelTokenApi_1 = __webpack_require__(66);
2869
- const SdPlatformModelTransferApi_1 = __webpack_require__(67);
2870
- const SdPlatformNotificationApi_1 = __webpack_require__(68);
2871
- const SdPlatformOrganizationApi_1 = __webpack_require__(69);
2872
- const SdPlatformPolicyApi_1 = __webpack_require__(70);
2873
- const SdPlatformSavedStateApi_1 = __webpack_require__(71);
2874
- const SdPlatformSavedStateSharingApi_1 = __webpack_require__(72);
2875
- const SdPlatformTagApi_1 = __webpack_require__(73);
2876
- const SdPlatformUserAnalyticsApi_1 = __webpack_require__(74);
2877
- const SdPlatformUserApi_1 = __webpack_require__(75);
2878
- const SdPlatformWebhookApi_1 = __webpack_require__(76);
2885
+ const SdPlatformSdkApi_1 = __webpack_require__(79);
2886
+ const SdPlatformSdkConfig_1 = __webpack_require__(111);
2887
+ const SdPlatformAuthServiceApi_1 = __webpack_require__(53);
2888
+ const SdPlatformSdkContext_1 = __webpack_require__(58);
2889
+ const SdPlatformApiTokenApi_1 = __webpack_require__(56);
2890
+ const SdPlatformBackendSystemApi_1 = __webpack_require__(59);
2891
+ const SdPlatformBookmarkApi_1 = __webpack_require__(60);
2892
+ const SdPlatformChargebeeApi_1 = __webpack_require__(61);
2893
+ const SdPlatformDocumentApi_1 = __webpack_require__(112);
2894
+ const SdPlatformDomainApi_1 = __webpack_require__(62);
2895
+ const SdPlatformHttpLogApi_1 = __webpack_require__(63);
2896
+ const SdPlatformImageApi_1 = __webpack_require__(64);
2897
+ const SdPlatformModelApi_1 = __webpack_require__(65);
2898
+ const SdPlatformModelSharingApi_1 = __webpack_require__(66);
2899
+ const SdPlatformModelTokenApi_1 = __webpack_require__(67);
2900
+ const SdPlatformModelTransferApi_1 = __webpack_require__(68);
2901
+ const SdPlatformNotificationApi_1 = __webpack_require__(69);
2902
+ const SdPlatformOrganizationApi_1 = __webpack_require__(70);
2903
+ const SdPlatformPolicyApi_1 = __webpack_require__(71);
2904
+ const SdPlatformSavedStateApi_1 = __webpack_require__(72);
2905
+ const SdPlatformSavedStateSharingApi_1 = __webpack_require__(73);
2906
+ const SdPlatformTagApi_1 = __webpack_require__(74);
2907
+ const SdPlatformUserAnalyticsApi_1 = __webpack_require__(75);
2908
+ const SdPlatformUserApi_1 = __webpack_require__(76);
2909
+ const SdPlatformWebhookApi_1 = __webpack_require__(77);
2879
2910
  class SdPlatformSdk {
2880
2911
  /**
2881
2912
  * ShapeDiverSDK constructor
@@ -2893,6 +2924,7 @@ class SdPlatformSdk {
2893
2924
  this.__bookmarks = new SdPlatformBookmarkApi_1.SdPlatformBookmarkApi(context, this.__authorization);
2894
2925
  this.__chargebee = new SdPlatformChargebeeApi_1.SdPlatformChargebeeApi(context, this.__authorization);
2895
2926
  this.__domains = new SdPlatformDomainApi_1.SdPlatformDomainApi(context, this.__authorization);
2927
+ this.__documents = new SdPlatformDocumentApi_1.SdPlatformDocumentApi(context, this.__authorization);
2896
2928
  this.__http_logs = new SdPlatformHttpLogApi_1.SdPlatformHttpLogApi(context, this.__authorization);
2897
2929
  this.__images = new SdPlatformImageApi_1.SdPlatformImageApi(context, this.__authorization);
2898
2930
  this.__model_sharing = new SdPlatformModelSharingApi_1.SdPlatformModelSharingApi(context, this.__authorization);
@@ -2948,6 +2980,12 @@ class SdPlatformSdk {
2948
2980
  get chargebee() {
2949
2981
  return this.__chargebee;
2950
2982
  }
2983
+ /**
2984
+ * The documents api actions.
2985
+ */
2986
+ get documents() {
2987
+ return this.__documents;
2988
+ }
2951
2989
  /**
2952
2990
  * Operations for domains which can be attached to users, organizations, models.
2953
2991
  */
@@ -3068,7 +3106,7 @@ exports.SdPlatformSdk = SdPlatformSdk;
3068
3106
 
3069
3107
 
3070
3108
  /***/ }),
3071
- /* 78 */
3109
+ /* 79 */
3072
3110
  /***/ (function(__unused_webpack_module, exports, __webpack_require__) {
3073
3111
 
3074
3112
  "use strict";
@@ -3087,8 +3125,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3087
3125
  };
3088
3126
  Object.defineProperty(exports, "__esModule", ({ value: true }));
3089
3127
  exports.SdPlatformSdkApi = void 0;
3090
- const SdPlatformSdkErrorMapping_1 = __webpack_require__(79);
3091
- const axios_1 = __importDefault(__webpack_require__(80));
3128
+ const SdPlatformSdkErrorMapping_1 = __webpack_require__(80);
3129
+ const axios_1 = __importDefault(__webpack_require__(81));
3092
3130
  var Method;
3093
3131
  (function (Method) {
3094
3132
  Method["GET"] = "GET";
@@ -3242,7 +3280,7 @@ exports.SdPlatformSdkApi = SdPlatformSdkApi;
3242
3280
 
3243
3281
 
3244
3282
  /***/ }),
3245
- /* 79 */
3283
+ /* 80 */
3246
3284
  /***/ (function(__unused_webpack_module, exports, __webpack_require__) {
3247
3285
 
3248
3286
  "use strict";
@@ -3252,8 +3290,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3252
3290
  };
3253
3291
  Object.defineProperty(exports, "__esModule", ({ value: true }));
3254
3292
  exports.mapToApiError = void 0;
3255
- const axios_1 = __importDefault(__webpack_require__(80));
3256
- const SdPlatformErrors_1 = __webpack_require__(53);
3293
+ const axios_1 = __importDefault(__webpack_require__(81));
3294
+ const SdPlatformErrors_1 = __webpack_require__(54);
3257
3295
  function isOAuthResponseError(response) {
3258
3296
  return ("error" in response) && ("error_description" in response);
3259
3297
  }
@@ -3298,23 +3336,23 @@ exports.mapToApiError = mapToApiError;
3298
3336
 
3299
3337
 
3300
3338
  /***/ }),
3301
- /* 80 */
3339
+ /* 81 */
3302
3340
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
3303
3341
 
3304
- module.exports = __webpack_require__(81);
3342
+ module.exports = __webpack_require__(82);
3305
3343
 
3306
3344
  /***/ }),
3307
- /* 81 */
3345
+ /* 82 */
3308
3346
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
3309
3347
 
3310
3348
  "use strict";
3311
3349
 
3312
3350
 
3313
- var utils = __webpack_require__(82);
3314
- var bind = __webpack_require__(83);
3315
- var Axios = __webpack_require__(84);
3316
- var mergeConfig = __webpack_require__(104);
3317
- var defaults = __webpack_require__(89);
3351
+ var utils = __webpack_require__(83);
3352
+ var bind = __webpack_require__(84);
3353
+ var Axios = __webpack_require__(85);
3354
+ var mergeConfig = __webpack_require__(105);
3355
+ var defaults = __webpack_require__(90);
3318
3356
 
3319
3357
  /**
3320
3358
  * Create an instance of Axios
@@ -3347,19 +3385,19 @@ var axios = createInstance(defaults);
3347
3385
  axios.Axios = Axios;
3348
3386
 
3349
3387
  // Expose Cancel & CancelToken
3350
- axios.Cancel = __webpack_require__(102);
3351
- axios.CancelToken = __webpack_require__(107);
3352
- axios.isCancel = __webpack_require__(103);
3353
- axios.VERSION = (__webpack_require__(106).version);
3388
+ axios.Cancel = __webpack_require__(103);
3389
+ axios.CancelToken = __webpack_require__(108);
3390
+ axios.isCancel = __webpack_require__(104);
3391
+ axios.VERSION = (__webpack_require__(107).version);
3354
3392
 
3355
3393
  // Expose all/spread
3356
3394
  axios.all = function all(promises) {
3357
3395
  return Promise.all(promises);
3358
3396
  };
3359
- axios.spread = __webpack_require__(108);
3397
+ axios.spread = __webpack_require__(109);
3360
3398
 
3361
3399
  // Expose isAxiosError
3362
- axios.isAxiosError = __webpack_require__(109);
3400
+ axios.isAxiosError = __webpack_require__(110);
3363
3401
 
3364
3402
  module.exports = axios;
3365
3403
 
@@ -3368,13 +3406,13 @@ module.exports["default"] = axios;
3368
3406
 
3369
3407
 
3370
3408
  /***/ }),
3371
- /* 82 */
3409
+ /* 83 */
3372
3410
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
3373
3411
 
3374
3412
  "use strict";
3375
3413
 
3376
3414
 
3377
- var bind = __webpack_require__(83);
3415
+ var bind = __webpack_require__(84);
3378
3416
 
3379
3417
  // utils is a library of generic helper functions non-specific to axios
3380
3418
 
@@ -3724,7 +3762,7 @@ module.exports = {
3724
3762
 
3725
3763
 
3726
3764
  /***/ }),
3727
- /* 83 */
3765
+ /* 84 */
3728
3766
  /***/ ((module) => {
3729
3767
 
3730
3768
  "use strict";
@@ -3742,18 +3780,18 @@ module.exports = function bind(fn, thisArg) {
3742
3780
 
3743
3781
 
3744
3782
  /***/ }),
3745
- /* 84 */
3783
+ /* 85 */
3746
3784
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
3747
3785
 
3748
3786
  "use strict";
3749
3787
 
3750
3788
 
3751
- var utils = __webpack_require__(82);
3752
- var buildURL = __webpack_require__(85);
3753
- var InterceptorManager = __webpack_require__(86);
3754
- var dispatchRequest = __webpack_require__(87);
3755
- var mergeConfig = __webpack_require__(104);
3756
- var validator = __webpack_require__(105);
3789
+ var utils = __webpack_require__(83);
3790
+ var buildURL = __webpack_require__(86);
3791
+ var InterceptorManager = __webpack_require__(87);
3792
+ var dispatchRequest = __webpack_require__(88);
3793
+ var mergeConfig = __webpack_require__(105);
3794
+ var validator = __webpack_require__(106);
3757
3795
 
3758
3796
  var validators = validator.validators;
3759
3797
  /**
@@ -3897,13 +3935,13 @@ module.exports = Axios;
3897
3935
 
3898
3936
 
3899
3937
  /***/ }),
3900
- /* 85 */
3938
+ /* 86 */
3901
3939
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
3902
3940
 
3903
3941
  "use strict";
3904
3942
 
3905
3943
 
3906
- var utils = __webpack_require__(82);
3944
+ var utils = __webpack_require__(83);
3907
3945
 
3908
3946
  function encode(val) {
3909
3947
  return encodeURIComponent(val).
@@ -3974,13 +4012,13 @@ module.exports = function buildURL(url, params, paramsSerializer) {
3974
4012
 
3975
4013
 
3976
4014
  /***/ }),
3977
- /* 86 */
4015
+ /* 87 */
3978
4016
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
3979
4017
 
3980
4018
  "use strict";
3981
4019
 
3982
4020
 
3983
- var utils = __webpack_require__(82);
4021
+ var utils = __webpack_require__(83);
3984
4022
 
3985
4023
  function InterceptorManager() {
3986
4024
  this.handlers = [];
@@ -4035,17 +4073,17 @@ module.exports = InterceptorManager;
4035
4073
 
4036
4074
 
4037
4075
  /***/ }),
4038
- /* 87 */
4076
+ /* 88 */
4039
4077
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
4040
4078
 
4041
4079
  "use strict";
4042
4080
 
4043
4081
 
4044
- var utils = __webpack_require__(82);
4045
- var transformData = __webpack_require__(88);
4046
- var isCancel = __webpack_require__(103);
4047
- var defaults = __webpack_require__(89);
4048
- var Cancel = __webpack_require__(102);
4082
+ var utils = __webpack_require__(83);
4083
+ var transformData = __webpack_require__(89);
4084
+ var isCancel = __webpack_require__(104);
4085
+ var defaults = __webpack_require__(90);
4086
+ var Cancel = __webpack_require__(103);
4049
4087
 
4050
4088
  /**
4051
4089
  * Throws a `Cancel` if cancellation has been requested.
@@ -4129,14 +4167,14 @@ module.exports = function dispatchRequest(config) {
4129
4167
 
4130
4168
 
4131
4169
  /***/ }),
4132
- /* 88 */
4170
+ /* 89 */
4133
4171
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
4134
4172
 
4135
4173
  "use strict";
4136
4174
 
4137
4175
 
4138
- var utils = __webpack_require__(82);
4139
- var defaults = __webpack_require__(89);
4176
+ var utils = __webpack_require__(83);
4177
+ var defaults = __webpack_require__(90);
4140
4178
 
4141
4179
  /**
4142
4180
  * Transform the data for a request or a response
@@ -4158,16 +4196,16 @@ module.exports = function transformData(data, headers, fns) {
4158
4196
 
4159
4197
 
4160
4198
  /***/ }),
4161
- /* 89 */
4199
+ /* 90 */
4162
4200
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
4163
4201
 
4164
4202
  "use strict";
4165
4203
 
4166
4204
 
4167
- var utils = __webpack_require__(82);
4168
- var normalizeHeaderName = __webpack_require__(90);
4169
- var enhanceError = __webpack_require__(91);
4170
- var transitionalDefaults = __webpack_require__(92);
4205
+ var utils = __webpack_require__(83);
4206
+ var normalizeHeaderName = __webpack_require__(91);
4207
+ var enhanceError = __webpack_require__(92);
4208
+ var transitionalDefaults = __webpack_require__(93);
4171
4209
 
4172
4210
  var DEFAULT_CONTENT_TYPE = {
4173
4211
  'Content-Type': 'application/x-www-form-urlencoded'
@@ -4183,10 +4221,10 @@ function getDefaultAdapter() {
4183
4221
  var adapter;
4184
4222
  if (typeof XMLHttpRequest !== 'undefined') {
4185
4223
  // For browsers use XHR adapter
4186
- adapter = __webpack_require__(93);
4224
+ adapter = __webpack_require__(94);
4187
4225
  } else if (typeof process !== 'undefined' && Object.prototype.toString.call(process) === '[object process]') {
4188
4226
  // For node use HTTP adapter
4189
- adapter = __webpack_require__(93);
4227
+ adapter = __webpack_require__(94);
4190
4228
  }
4191
4229
  return adapter;
4192
4230
  }
@@ -4296,13 +4334,13 @@ module.exports = defaults;
4296
4334
 
4297
4335
 
4298
4336
  /***/ }),
4299
- /* 90 */
4337
+ /* 91 */
4300
4338
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
4301
4339
 
4302
4340
  "use strict";
4303
4341
 
4304
4342
 
4305
- var utils = __webpack_require__(82);
4343
+ var utils = __webpack_require__(83);
4306
4344
 
4307
4345
  module.exports = function normalizeHeaderName(headers, normalizedName) {
4308
4346
  utils.forEach(headers, function processHeader(value, name) {
@@ -4315,7 +4353,7 @@ module.exports = function normalizeHeaderName(headers, normalizedName) {
4315
4353
 
4316
4354
 
4317
4355
  /***/ }),
4318
- /* 91 */
4356
+ /* 92 */
4319
4357
  /***/ ((module) => {
4320
4358
 
4321
4359
  "use strict";
@@ -4365,7 +4403,7 @@ module.exports = function enhanceError(error, config, code, request, response) {
4365
4403
 
4366
4404
 
4367
4405
  /***/ }),
4368
- /* 92 */
4406
+ /* 93 */
4369
4407
  /***/ ((module) => {
4370
4408
 
4371
4409
  "use strict";
@@ -4379,22 +4417,22 @@ module.exports = {
4379
4417
 
4380
4418
 
4381
4419
  /***/ }),
4382
- /* 93 */
4420
+ /* 94 */
4383
4421
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
4384
4422
 
4385
4423
  "use strict";
4386
4424
 
4387
4425
 
4388
- var utils = __webpack_require__(82);
4389
- var settle = __webpack_require__(94);
4390
- var cookies = __webpack_require__(96);
4391
- var buildURL = __webpack_require__(85);
4392
- var buildFullPath = __webpack_require__(97);
4393
- var parseHeaders = __webpack_require__(100);
4394
- var isURLSameOrigin = __webpack_require__(101);
4395
- var createError = __webpack_require__(95);
4396
- var transitionalDefaults = __webpack_require__(92);
4397
- var Cancel = __webpack_require__(102);
4426
+ var utils = __webpack_require__(83);
4427
+ var settle = __webpack_require__(95);
4428
+ var cookies = __webpack_require__(97);
4429
+ var buildURL = __webpack_require__(86);
4430
+ var buildFullPath = __webpack_require__(98);
4431
+ var parseHeaders = __webpack_require__(101);
4432
+ var isURLSameOrigin = __webpack_require__(102);
4433
+ var createError = __webpack_require__(96);
4434
+ var transitionalDefaults = __webpack_require__(93);
4435
+ var Cancel = __webpack_require__(103);
4398
4436
 
4399
4437
  module.exports = function xhrAdapter(config) {
4400
4438
  return new Promise(function dispatchXhrRequest(resolve, reject) {
@@ -4598,13 +4636,13 @@ module.exports = function xhrAdapter(config) {
4598
4636
 
4599
4637
 
4600
4638
  /***/ }),
4601
- /* 94 */
4639
+ /* 95 */
4602
4640
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
4603
4641
 
4604
4642
  "use strict";
4605
4643
 
4606
4644
 
4607
- var createError = __webpack_require__(95);
4645
+ var createError = __webpack_require__(96);
4608
4646
 
4609
4647
  /**
4610
4648
  * Resolve or reject a Promise based on response status.
@@ -4630,13 +4668,13 @@ module.exports = function settle(resolve, reject, response) {
4630
4668
 
4631
4669
 
4632
4670
  /***/ }),
4633
- /* 95 */
4671
+ /* 96 */
4634
4672
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
4635
4673
 
4636
4674
  "use strict";
4637
4675
 
4638
4676
 
4639
- var enhanceError = __webpack_require__(91);
4677
+ var enhanceError = __webpack_require__(92);
4640
4678
 
4641
4679
  /**
4642
4680
  * Create an Error with the specified message, config, error code, request and response.
@@ -4655,13 +4693,13 @@ module.exports = function createError(message, config, code, request, response)
4655
4693
 
4656
4694
 
4657
4695
  /***/ }),
4658
- /* 96 */
4696
+ /* 97 */
4659
4697
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
4660
4698
 
4661
4699
  "use strict";
4662
4700
 
4663
4701
 
4664
- var utils = __webpack_require__(82);
4702
+ var utils = __webpack_require__(83);
4665
4703
 
4666
4704
  module.exports = (
4667
4705
  utils.isStandardBrowserEnv() ?
@@ -4715,14 +4753,14 @@ module.exports = (
4715
4753
 
4716
4754
 
4717
4755
  /***/ }),
4718
- /* 97 */
4756
+ /* 98 */
4719
4757
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
4720
4758
 
4721
4759
  "use strict";
4722
4760
 
4723
4761
 
4724
- var isAbsoluteURL = __webpack_require__(98);
4725
- var combineURLs = __webpack_require__(99);
4762
+ var isAbsoluteURL = __webpack_require__(99);
4763
+ var combineURLs = __webpack_require__(100);
4726
4764
 
4727
4765
  /**
4728
4766
  * Creates a new URL by combining the baseURL with the requestedURL,
@@ -4742,7 +4780,7 @@ module.exports = function buildFullPath(baseURL, requestedURL) {
4742
4780
 
4743
4781
 
4744
4782
  /***/ }),
4745
- /* 98 */
4783
+ /* 99 */
4746
4784
  /***/ ((module) => {
4747
4785
 
4748
4786
  "use strict";
@@ -4763,7 +4801,7 @@ module.exports = function isAbsoluteURL(url) {
4763
4801
 
4764
4802
 
4765
4803
  /***/ }),
4766
- /* 99 */
4804
+ /* 100 */
4767
4805
  /***/ ((module) => {
4768
4806
 
4769
4807
  "use strict";
@@ -4784,13 +4822,13 @@ module.exports = function combineURLs(baseURL, relativeURL) {
4784
4822
 
4785
4823
 
4786
4824
  /***/ }),
4787
- /* 100 */
4825
+ /* 101 */
4788
4826
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
4789
4827
 
4790
4828
  "use strict";
4791
4829
 
4792
4830
 
4793
- var utils = __webpack_require__(82);
4831
+ var utils = __webpack_require__(83);
4794
4832
 
4795
4833
  // Headers whose duplicates are ignored by node
4796
4834
  // c.f. https://nodejs.org/api/http.html#http_message_headers
@@ -4844,13 +4882,13 @@ module.exports = function parseHeaders(headers) {
4844
4882
 
4845
4883
 
4846
4884
  /***/ }),
4847
- /* 101 */
4885
+ /* 102 */
4848
4886
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
4849
4887
 
4850
4888
  "use strict";
4851
4889
 
4852
4890
 
4853
- var utils = __webpack_require__(82);
4891
+ var utils = __webpack_require__(83);
4854
4892
 
4855
4893
  module.exports = (
4856
4894
  utils.isStandardBrowserEnv() ?
@@ -4919,7 +4957,7 @@ module.exports = (
4919
4957
 
4920
4958
 
4921
4959
  /***/ }),
4922
- /* 102 */
4960
+ /* 103 */
4923
4961
  /***/ ((module) => {
4924
4962
 
4925
4963
  "use strict";
@@ -4945,7 +4983,7 @@ module.exports = Cancel;
4945
4983
 
4946
4984
 
4947
4985
  /***/ }),
4948
- /* 103 */
4986
+ /* 104 */
4949
4987
  /***/ ((module) => {
4950
4988
 
4951
4989
  "use strict";
@@ -4957,13 +4995,13 @@ module.exports = function isCancel(value) {
4957
4995
 
4958
4996
 
4959
4997
  /***/ }),
4960
- /* 104 */
4998
+ /* 105 */
4961
4999
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
4962
5000
 
4963
5001
  "use strict";
4964
5002
 
4965
5003
 
4966
- var utils = __webpack_require__(82);
5004
+ var utils = __webpack_require__(83);
4967
5005
 
4968
5006
  /**
4969
5007
  * Config-specific merge-function which creates a new config-object
@@ -5063,13 +5101,13 @@ module.exports = function mergeConfig(config1, config2) {
5063
5101
 
5064
5102
 
5065
5103
  /***/ }),
5066
- /* 105 */
5104
+ /* 106 */
5067
5105
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
5068
5106
 
5069
5107
  "use strict";
5070
5108
 
5071
5109
 
5072
- var VERSION = (__webpack_require__(106).version);
5110
+ var VERSION = (__webpack_require__(107).version);
5073
5111
 
5074
5112
  var validators = {};
5075
5113
 
@@ -5152,7 +5190,7 @@ module.exports = {
5152
5190
 
5153
5191
 
5154
5192
  /***/ }),
5155
- /* 106 */
5193
+ /* 107 */
5156
5194
  /***/ ((module) => {
5157
5195
 
5158
5196
  module.exports = {
@@ -5160,13 +5198,13 @@ module.exports = {
5160
5198
  };
5161
5199
 
5162
5200
  /***/ }),
5163
- /* 107 */
5201
+ /* 108 */
5164
5202
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
5165
5203
 
5166
5204
  "use strict";
5167
5205
 
5168
5206
 
5169
- var Cancel = __webpack_require__(102);
5207
+ var Cancel = __webpack_require__(103);
5170
5208
 
5171
5209
  /**
5172
5210
  * A `CancelToken` is an object that can be used to request cancellation of an operation.
@@ -5286,7 +5324,7 @@ module.exports = CancelToken;
5286
5324
 
5287
5325
 
5288
5326
  /***/ }),
5289
- /* 108 */
5327
+ /* 109 */
5290
5328
  /***/ ((module) => {
5291
5329
 
5292
5330
  "use strict";
@@ -5320,13 +5358,13 @@ module.exports = function spread(callback) {
5320
5358
 
5321
5359
 
5322
5360
  /***/ }),
5323
- /* 109 */
5361
+ /* 110 */
5324
5362
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
5325
5363
 
5326
5364
  "use strict";
5327
5365
 
5328
5366
 
5329
- var utils = __webpack_require__(82);
5367
+ var utils = __webpack_require__(83);
5330
5368
 
5331
5369
  /**
5332
5370
  * Determines whether the payload is an error thrown by Axios
@@ -5340,7 +5378,7 @@ module.exports = function isAxiosError(payload) {
5340
5378
 
5341
5379
 
5342
5380
  /***/ }),
5343
- /* 110 */
5381
+ /* 111 */
5344
5382
  /***/ ((__unused_webpack_module, exports) => {
5345
5383
 
5346
5384
  "use strict";
@@ -5367,14 +5405,106 @@ exports.SdPlatformSdkConfig = SdPlatformSdkConfig;
5367
5405
 
5368
5406
 
5369
5407
  /***/ }),
5370
- /* 111 */
5408
+ /* 112 */
5409
+ /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
5410
+
5411
+ "use strict";
5412
+
5413
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
5414
+ exports.SdPlatformDocumentApi = void 0;
5415
+ const SdPlatformRequestId_1 = __webpack_require__(52);
5416
+ const ResourcesApi_1 = __webpack_require__(57);
5417
+ /**
5418
+ * Actions related to Documents.
5419
+ */
5420
+ class SdPlatformDocumentApi extends ResourcesApi_1.ResourcesApi {
5421
+ get __resourcePath() {
5422
+ return "documents";
5423
+ }
5424
+ /**
5425
+ * Create a document.
5426
+ * @param { SdPlatformRequestDocumentCreate } body
5427
+ * @returns { Promise<SdPlatformPostResponse<SdPlatformResponseDomainAdmin>> }
5428
+ */
5429
+ create(body) {
5430
+ return super.__post(SdPlatformRequestId_1.RequestId.DocumentCreate, body);
5431
+ }
5432
+ /**
5433
+ * Query documents.
5434
+ * @param { SdPlatformDocumentQueryParameters } query
5435
+ * @returns { Promise<SdPlatformQueryResponse<SdPlatformResponseDocument>> }
5436
+ */
5437
+ query(query = {}) {
5438
+ return super.__query(SdPlatformRequestId_1.RequestId.DocumentQuery, query);
5439
+ }
5440
+ /**
5441
+ * Delete a document.
5442
+ * @param { string } id - the id of a document.
5443
+ */
5444
+ delete(id) {
5445
+ return super.__delete(SdPlatformRequestId_1.RequestId.DocumentDelete, id);
5446
+ }
5447
+ /**
5448
+ * Get a list of documents which are relevant to the requesting user.
5449
+ * @param { SdPlatformDocumentGetQueryParameters | undefined | null } query_parameters
5450
+ * @returns { Promise<SdPlatformGetResponse<Array<SdPlatformResponseDocumentUser>>> }
5451
+ */
5452
+ list(query_parameters) {
5453
+ return super.__action(SdPlatformRequestId_1.RequestId.DocumentList, ResourcesApi_1.Action.Get, "", query_parameters !== null && query_parameters !== void 0 ? query_parameters : {});
5454
+ }
5455
+ /**
5456
+ * Download a document.
5457
+ * @param { string } document_id_or_type
5458
+ * @returns : Promise<SdPlatformGetResponse<void>>
5459
+ */
5460
+ download(document_id_or_type) {
5461
+ return super.__action(SdPlatformRequestId_1.RequestId.DocumentDownload, ResourcesApi_1.Action.Get, `${document_id_or_type}/download`, {});
5462
+ }
5463
+ /**
5464
+ * View a document.
5465
+ * @param { string } document_id_or_type
5466
+ * @returns : Promise<SdPlatformGetResponse<void>>
5467
+ */
5468
+ view(document_id_or_type) {
5469
+ return super.__action(SdPlatformRequestId_1.RequestId.DocumentView, ResourcesApi_1.Action.Get, `${document_id_or_type}/view`, {});
5470
+ }
5471
+ /**
5472
+ * Get a download document url.
5473
+ * @param { string } document_id_or_type
5474
+ * @returns { string }
5475
+ */
5476
+ getDownloadUrl(document_id_or_type) {
5477
+ return `${this.__commonPath}/browser/v1/documents/${document_id_or_type}/download`;
5478
+ }
5479
+ /**
5480
+ * Get a view document url.
5481
+ * @param { string } document_id_or_type
5482
+ * @returns { string }
5483
+ */
5484
+ getViewUrl(document_id_or_type) {
5485
+ return `${this.__commonPath}/browser/v1/documents/${document_id_or_type}/view`;
5486
+ }
5487
+ /**
5488
+ * Accept a document
5489
+ * @param { string } document_id
5490
+ * @param { SdPlatformRequestDocumentAccept } body
5491
+ */
5492
+ accept(document_id, body) {
5493
+ return super.__action(SdPlatformRequestId_1.RequestId.DocumentAccept, ResourcesApi_1.Action.Post, `${document_id}/accept`, body);
5494
+ }
5495
+ }
5496
+ exports.SdPlatformDocumentApi = SdPlatformDocumentApi;
5497
+
5498
+
5499
+ /***/ }),
5500
+ /* 113 */
5371
5501
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
5372
5502
 
5373
5503
  "use strict";
5374
5504
 
5375
5505
  Object.defineProperty(exports, "__esModule", ({ value: true }));
5376
5506
  exports.create = void 0;
5377
- const SdPlatformSdk_1 = __webpack_require__(77);
5507
+ const SdPlatformSdk_1 = __webpack_require__(78);
5378
5508
  function create(clientId, clientSecret, baseUrl) {
5379
5509
  const checkIfCredential = (clientId) => {
5380
5510
  return !!(clientId && clientId.clientId);