@shapediver/sdk.platform-api-sdk-v1 2.11.8 → 2.12.7

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
@@ -116,11 +116,9 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
116
116
  };
117
117
  Object.defineProperty(exports, "__esModule", { value: true });
118
118
  __exportStar(__webpack_require__(1), exports);
119
- __exportStar(__webpack_require__(54), exports);
120
- __exportStar(__webpack_require__(55), exports);
121
- __exportStar(__webpack_require__(58), exports);
122
- __exportStar(__webpack_require__(61), exports);
123
- __exportStar(__webpack_require__(62), exports);
119
+ __exportStar(__webpack_require__(56), exports);
120
+ __exportStar(__webpack_require__(57), exports);
121
+ __exportStar(__webpack_require__(60), exports);
124
122
  __exportStar(__webpack_require__(63), exports);
125
123
  __exportStar(__webpack_require__(64), exports);
126
124
  __exportStar(__webpack_require__(65), exports);
@@ -138,10 +136,12 @@ __exportStar(__webpack_require__(76), exports);
138
136
  __exportStar(__webpack_require__(77), exports);
139
137
  __exportStar(__webpack_require__(78), exports);
140
138
  __exportStar(__webpack_require__(79), exports);
141
- __exportStar(__webpack_require__(60), exports);
142
- __exportStar(__webpack_require__(56), exports);
143
139
  __exportStar(__webpack_require__(80), exports);
144
- __exportStar(__webpack_require__(118), exports);
140
+ __exportStar(__webpack_require__(81), exports);
141
+ __exportStar(__webpack_require__(62), exports);
142
+ __exportStar(__webpack_require__(58), exports);
143
+ __exportStar(__webpack_require__(82), exports);
144
+ __exportStar(__webpack_require__(121), exports);
145
145
 
146
146
 
147
147
  /***/ }),
@@ -217,6 +217,8 @@ __exportStar(__webpack_require__(50), exports);
217
217
  __exportStar(__webpack_require__(51), exports);
218
218
  __exportStar(__webpack_require__(52), exports);
219
219
  __exportStar(__webpack_require__(53), exports);
220
+ __exportStar(__webpack_require__(54), exports);
221
+ __exportStar(__webpack_require__(55), exports);
220
222
  //# sourceMappingURL=index.js.map
221
223
 
222
224
  /***/ }),
@@ -303,8 +305,11 @@ var SdPlatformNotificationCreator;
303
305
  */
304
306
  var SdPlatformNotificationLevel;
305
307
  (function (SdPlatformNotificationLevel) {
308
+ /** Information level */
306
309
  SdPlatformNotificationLevel["Info"] = "info";
310
+ /** Warning level */
307
311
  SdPlatformNotificationLevel["Warning"] = "warning";
312
+ /** Error level */
308
313
  SdPlatformNotificationLevel["Error"] = "error";
309
314
  })(SdPlatformNotificationLevel = exports.SdPlatformNotificationLevel || (exports.SdPlatformNotificationLevel = {}));
310
315
  ;
@@ -313,9 +318,13 @@ var SdPlatformNotificationLevel;
313
318
  */
314
319
  var SdPlatformNotificationClass;
315
320
  (function (SdPlatformNotificationClass) {
321
+ /** Model-related notification */
316
322
  SdPlatformNotificationClass["Model"] = "model";
323
+ /** Account-related notification */
317
324
  SdPlatformNotificationClass["Account"] = "account";
325
+ /** Organization-related notification */
318
326
  SdPlatformNotificationClass["Organization"] = "organization";
327
+ /** Sharing-related notification */
319
328
  SdPlatformNotificationClass["Sharing"] = "sharing";
320
329
  })(SdPlatformNotificationClass = exports.SdPlatformNotificationClass || (exports.SdPlatformNotificationClass = {}));
321
330
  ;
@@ -407,7 +416,7 @@ exports.SdPlatformOrganizationMemberRole = void 0;
407
416
  var SdPlatformOrganizationMemberRole;
408
417
  (function (SdPlatformOrganizationMemberRole) {
409
418
  /**
410
- * Suspended organization member are not allowed to login, and
419
+ * Suspended organization members are not allowed to login, and
411
420
  * are not granted any policies, which organization membership usually grants.
412
421
  */
413
422
  SdPlatformOrganizationMemberRole["Suspended"] = "suspended";
@@ -420,9 +429,10 @@ var SdPlatformOrganizationMemberRole;
420
429
  */
421
430
  SdPlatformOrganizationMemberRole["Manager"] = "manager";
422
431
  /**
423
- * Add / remove / change role of organization members who are not owners.
424
- * Edit settings of organization like visibility, allow_sharing, allow_link_sharing, allow_expose_email.
425
- * Manage domains for the organization.
432
+ * Allowed to
433
+ * - Add / remove / change role of organization members who are not owners.
434
+ * - Edit settings of organization like visibility, allow_sharing, allow_link_sharing, allow_expose_email.
435
+ * - Manage domains for the organization.
426
436
  */
427
437
  SdPlatformOrganizationMemberRole["Admin"] = "admin";
428
438
  /**
@@ -795,7 +805,7 @@ var SdPlatformSavedStateVisibility;
795
805
  "use strict";
796
806
 
797
807
  Object.defineProperty(exports, "__esModule", { value: true });
798
- exports.SdPlatformAuthGrantType = void 0;
808
+ exports.SdPlatformRequestAuthorizationCodeCodeChallengeMethod = exports.SdPlatformRequestAuthorizationCodeResponseType = exports.SdPlatformAuthGrantType = void 0;
799
809
  /**
800
810
  * OAuth 2.0 grant type
801
811
  */
@@ -805,6 +815,14 @@ var SdPlatformAuthGrantType;
805
815
  SdPlatformAuthGrantType["RefreshToken"] = "refresh_token";
806
816
  SdPlatformAuthGrantType["Code"] = "authorization_code";
807
817
  })(SdPlatformAuthGrantType = exports.SdPlatformAuthGrantType || (exports.SdPlatformAuthGrantType = {}));
818
+ var SdPlatformRequestAuthorizationCodeResponseType;
819
+ (function (SdPlatformRequestAuthorizationCodeResponseType) {
820
+ SdPlatformRequestAuthorizationCodeResponseType["Code"] = "code";
821
+ })(SdPlatformRequestAuthorizationCodeResponseType = exports.SdPlatformRequestAuthorizationCodeResponseType || (exports.SdPlatformRequestAuthorizationCodeResponseType = {}));
822
+ var SdPlatformRequestAuthorizationCodeCodeChallengeMethod;
823
+ (function (SdPlatformRequestAuthorizationCodeCodeChallengeMethod) {
824
+ SdPlatformRequestAuthorizationCodeCodeChallengeMethod["S256"] = "S256";
825
+ })(SdPlatformRequestAuthorizationCodeCodeChallengeMethod = exports.SdPlatformRequestAuthorizationCodeCodeChallengeMethod || (exports.SdPlatformRequestAuthorizationCodeCodeChallengeMethod = {}));
808
826
  //# sourceMappingURL=SdPlatformAuthRequest.js.map
809
827
 
810
828
  /***/ }),
@@ -829,7 +847,7 @@ var SdPlatformSortingOrder;
829
847
  "use strict";
830
848
 
831
849
  Object.defineProperty(exports, "__esModule", { value: true });
832
- //# sourceMappingURL=SdPlatformRequestApiToken.js.map
850
+ //# sourceMappingURL=SdPlatformRequestApiClients.js.map
833
851
 
834
852
  /***/ }),
835
853
  /* 14 */
@@ -838,7 +856,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
838
856
  "use strict";
839
857
 
840
858
  Object.defineProperty(exports, "__esModule", { value: true });
841
- //# sourceMappingURL=SdPlatformRequestBackendSystem.js.map
859
+ //# sourceMappingURL=SdPlatformRequestApiToken.js.map
842
860
 
843
861
  /***/ }),
844
862
  /* 15 */
@@ -847,7 +865,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
847
865
  "use strict";
848
866
 
849
867
  Object.defineProperty(exports, "__esModule", { value: true });
850
- //# sourceMappingURL=SdPlatformRequestBookmark.js.map
868
+ //# sourceMappingURL=SdPlatformRequestBackendSystem.js.map
851
869
 
852
870
  /***/ }),
853
871
  /* 16 */
@@ -856,7 +874,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
856
874
  "use strict";
857
875
 
858
876
  Object.defineProperty(exports, "__esModule", { value: true });
859
- //# sourceMappingURL=SdPlatformRequestChargebee.js.map
877
+ //# sourceMappingURL=SdPlatformRequestBookmark.js.map
860
878
 
861
879
  /***/ }),
862
880
  /* 17 */
@@ -865,7 +883,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
865
883
  "use strict";
866
884
 
867
885
  Object.defineProperty(exports, "__esModule", { value: true });
868
- //# sourceMappingURL=SdPlatformRequestDocument.js.map
886
+ //# sourceMappingURL=SdPlatformRequestChargebee.js.map
869
887
 
870
888
  /***/ }),
871
889
  /* 18 */
@@ -874,7 +892,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
874
892
  "use strict";
875
893
 
876
894
  Object.defineProperty(exports, "__esModule", { value: true });
877
- //# sourceMappingURL=SdPlatformRequestDomain.js.map
895
+ //# sourceMappingURL=SdPlatformRequestDocument.js.map
878
896
 
879
897
  /***/ }),
880
898
  /* 19 */
@@ -883,7 +901,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
883
901
  "use strict";
884
902
 
885
903
  Object.defineProperty(exports, "__esModule", { value: true });
886
- //# sourceMappingURL=SdPlatformRequestImage.js.map
904
+ //# sourceMappingURL=SdPlatformRequestDomain.js.map
887
905
 
888
906
  /***/ }),
889
907
  /* 20 */
@@ -891,17 +909,28 @@ Object.defineProperty(exports, "__esModule", { value: true });
891
909
 
892
910
  "use strict";
893
911
 
912
+ Object.defineProperty(exports, "__esModule", { value: true });
913
+ //# sourceMappingURL=SdPlatformRequestImage.js.map
914
+
915
+ /***/ }),
916
+ /* 21 */
917
+ /***/ (function(module, exports, __webpack_require__) {
918
+
919
+ "use strict";
920
+
894
921
  Object.defineProperty(exports, "__esModule", { value: true });
895
922
  exports.SdPlatformRequestModelStatus = void 0;
896
923
  var SdPlatformRequestModelStatus;
897
924
  (function (SdPlatformRequestModelStatus) {
925
+ /** The model has been configured and shall be published. */
898
926
  SdPlatformRequestModelStatus["Done"] = "done";
927
+ /** An error happened uploading the model. */
899
928
  SdPlatformRequestModelStatus["ErrorUpload"] = "error_upload";
900
929
  })(SdPlatformRequestModelStatus = exports.SdPlatformRequestModelStatus || (exports.SdPlatformRequestModelStatus = {}));
901
930
  //# sourceMappingURL=SdPlatformRequestModel.js.map
902
931
 
903
932
  /***/ }),
904
- /* 21 */
933
+ /* 22 */
905
934
  /***/ (function(module, exports, __webpack_require__) {
906
935
 
907
936
  "use strict";
@@ -910,7 +939,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
910
939
  //# sourceMappingURL=SdPlatformRequestModelSharing.js.map
911
940
 
912
941
  /***/ }),
913
- /* 22 */
942
+ /* 23 */
914
943
  /***/ (function(module, exports, __webpack_require__) {
915
944
 
916
945
  "use strict";
@@ -919,7 +948,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
919
948
  //# sourceMappingURL=SdPlatformRequestNotification.js.map
920
949
 
921
950
  /***/ }),
922
- /* 23 */
951
+ /* 24 */
923
952
  /***/ (function(module, exports, __webpack_require__) {
924
953
 
925
954
  "use strict";
@@ -928,7 +957,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
928
957
  //# sourceMappingURL=SdPlatformRequestModelToken.js.map
929
958
 
930
959
  /***/ }),
931
- /* 24 */
960
+ /* 25 */
932
961
  /***/ (function(module, exports, __webpack_require__) {
933
962
 
934
963
  "use strict";
@@ -937,7 +966,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
937
966
  //# sourceMappingURL=SdPlatformRequestModelTransfer.js.map
938
967
 
939
968
  /***/ }),
940
- /* 25 */
969
+ /* 26 */
941
970
  /***/ (function(module, exports, __webpack_require__) {
942
971
 
943
972
  "use strict";
@@ -946,7 +975,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
946
975
  //# sourceMappingURL=SdPlatformRequestOrganization.js.map
947
976
 
948
977
  /***/ }),
949
- /* 26 */
978
+ /* 27 */
950
979
  /***/ (function(module, exports, __webpack_require__) {
951
980
 
952
981
  "use strict";
@@ -955,7 +984,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
955
984
  //# sourceMappingURL=SdPlatformRequestOpenIDProvider.js.map
956
985
 
957
986
  /***/ }),
958
- /* 27 */
987
+ /* 28 */
959
988
  /***/ (function(module, exports, __webpack_require__) {
960
989
 
961
990
  "use strict";
@@ -964,7 +993,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
964
993
  //# sourceMappingURL=SdPlatformRequestPolicy.js.map
965
994
 
966
995
  /***/ }),
967
- /* 28 */
996
+ /* 29 */
968
997
  /***/ (function(module, exports, __webpack_require__) {
969
998
 
970
999
  "use strict";
@@ -973,7 +1002,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
973
1002
  //# sourceMappingURL=SdPlatformRequestSavedState.js.map
974
1003
 
975
1004
  /***/ }),
976
- /* 29 */
1005
+ /* 30 */
977
1006
  /***/ (function(module, exports, __webpack_require__) {
978
1007
 
979
1008
  "use strict";
@@ -982,7 +1011,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
982
1011
  //# sourceMappingURL=SdPlatformRequestSavedStateSharing.js.map
983
1012
 
984
1013
  /***/ }),
985
- /* 30 */
1014
+ /* 31 */
986
1015
  /***/ (function(module, exports, __webpack_require__) {
987
1016
 
988
1017
  "use strict";
@@ -991,7 +1020,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
991
1020
  //# sourceMappingURL=SdPlatformRequestUser.js.map
992
1021
 
993
1022
  /***/ }),
994
- /* 31 */
1023
+ /* 32 */
995
1024
  /***/ (function(module, exports, __webpack_require__) {
996
1025
 
997
1026
  "use strict";
@@ -1000,7 +1029,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
1000
1029
  //# sourceMappingURL=SdPlatformRequestWebhook.js.map
1001
1030
 
1002
1031
  /***/ }),
1003
- /* 32 */
1032
+ /* 33 */
1004
1033
  /***/ (function(module, exports, __webpack_require__) {
1005
1034
 
1006
1035
  "use strict";
@@ -1009,7 +1038,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
1009
1038
  //# sourceMappingURL=SdPlatformAuthResponse.js.map
1010
1039
 
1011
1040
  /***/ }),
1012
- /* 33 */
1041
+ /* 34 */
1013
1042
  /***/ (function(module, exports, __webpack_require__) {
1014
1043
 
1015
1044
  "use strict";
@@ -1018,7 +1047,16 @@ Object.defineProperty(exports, "__esModule", { value: true });
1018
1047
  //# sourceMappingURL=SdPlatformBaseResponseTypes.js.map
1019
1048
 
1020
1049
  /***/ }),
1021
- /* 34 */
1050
+ /* 35 */
1051
+ /***/ (function(module, exports, __webpack_require__) {
1052
+
1053
+ "use strict";
1054
+
1055
+ Object.defineProperty(exports, "__esModule", { value: true });
1056
+ //# sourceMappingURL=SdPlatformResponseApiClient.js.map
1057
+
1058
+ /***/ }),
1059
+ /* 36 */
1022
1060
  /***/ (function(module, exports, __webpack_require__) {
1023
1061
 
1024
1062
  "use strict";
@@ -1036,7 +1074,7 @@ var SdPlatformResponseAnalyticsTimestampType;
1036
1074
  //# sourceMappingURL=SdPlatformResponseAnalytics.js.map
1037
1075
 
1038
1076
  /***/ }),
1039
- /* 35 */
1077
+ /* 37 */
1040
1078
  /***/ (function(module, exports, __webpack_require__) {
1041
1079
 
1042
1080
  "use strict";
@@ -1045,7 +1083,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
1045
1083
  //# sourceMappingURL=SdPlatformResponseApiToken.js.map
1046
1084
 
1047
1085
  /***/ }),
1048
- /* 36 */
1086
+ /* 38 */
1049
1087
  /***/ (function(module, exports, __webpack_require__) {
1050
1088
 
1051
1089
  "use strict";
@@ -1054,7 +1092,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
1054
1092
  //# sourceMappingURL=SdPlatformResponseBackendSystem.js.map
1055
1093
 
1056
1094
  /***/ }),
1057
- /* 37 */
1095
+ /* 39 */
1058
1096
  /***/ (function(module, exports, __webpack_require__) {
1059
1097
 
1060
1098
  "use strict";
@@ -1071,7 +1109,7 @@ var SdPlatformResponseChargebeeCurrencyCode;
1071
1109
  //# sourceMappingURL=SdPlatformResponseChargebee.js.map
1072
1110
 
1073
1111
  /***/ }),
1074
- /* 38 */
1112
+ /* 40 */
1075
1113
  /***/ (function(module, exports, __webpack_require__) {
1076
1114
 
1077
1115
  "use strict";
@@ -1080,7 +1118,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
1080
1118
  //# sourceMappingURL=SdPlatformResponseDocument.js.map
1081
1119
 
1082
1120
  /***/ }),
1083
- /* 39 */
1121
+ /* 41 */
1084
1122
  /***/ (function(module, exports, __webpack_require__) {
1085
1123
 
1086
1124
  "use strict";
@@ -1089,7 +1127,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
1089
1127
  //# sourceMappingURL=SdPlatformResponseDomain.js.map
1090
1128
 
1091
1129
  /***/ }),
1092
- /* 40 */
1130
+ /* 42 */
1093
1131
  /***/ (function(module, exports, __webpack_require__) {
1094
1132
 
1095
1133
  "use strict";
@@ -1098,7 +1136,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
1098
1136
  //# sourceMappingURL=SdPlatformResponseFeatures.js.map
1099
1137
 
1100
1138
  /***/ }),
1101
- /* 41 */
1139
+ /* 43 */
1102
1140
  /***/ (function(module, exports, __webpack_require__) {
1103
1141
 
1104
1142
  "use strict";
@@ -1107,7 +1145,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
1107
1145
  //# sourceMappingURL=SdPlatformResponseHttpLog.js.map
1108
1146
 
1109
1147
  /***/ }),
1110
- /* 42 */
1148
+ /* 44 */
1111
1149
  /***/ (function(module, exports, __webpack_require__) {
1112
1150
 
1113
1151
  "use strict";
@@ -1116,17 +1154,20 @@ Object.defineProperty(exports, "__esModule", { value: true });
1116
1154
  //# sourceMappingURL=SdPlatformResponseImage.js.map
1117
1155
 
1118
1156
  /***/ }),
1119
- /* 43 */
1157
+ /* 45 */
1120
1158
  /***/ (function(module, exports, __webpack_require__) {
1121
1159
 
1122
1160
  "use strict";
1123
1161
 
1124
1162
  Object.defineProperty(exports, "__esModule", { value: true });
1125
1163
  exports.SdPlatformModelStatus = exports.SdPlatformModelTrustlevel = void 0;
1164
+ /** Level of trust into a model. */
1126
1165
  var SdPlatformModelTrustlevel;
1127
1166
  (function (SdPlatformModelTrustlevel) {
1128
1167
  SdPlatformModelTrustlevel["UNDEFINED"] = "";
1168
+ /** No trust into the model. */
1129
1169
  SdPlatformModelTrustlevel["NONE"] = "none";
1170
+ /** Full trust into the model. */
1130
1171
  SdPlatformModelTrustlevel["FULL"] = "full";
1131
1172
  })(SdPlatformModelTrustlevel = exports.SdPlatformModelTrustlevel || (exports.SdPlatformModelTrustlevel = {}));
1132
1173
  /**
@@ -1173,7 +1214,7 @@ var SdPlatformModelDenyReason;
1173
1214
  //# sourceMappingURL=SdPlatformResponseModel.js.map
1174
1215
 
1175
1216
  /***/ }),
1176
- /* 44 */
1217
+ /* 46 */
1177
1218
  /***/ (function(module, exports, __webpack_require__) {
1178
1219
 
1179
1220
  "use strict";
@@ -1182,7 +1223,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
1182
1223
  //# sourceMappingURL=SdPlatformResponseModelSharing.js.map
1183
1224
 
1184
1225
  /***/ }),
1185
- /* 45 */
1226
+ /* 47 */
1186
1227
  /***/ (function(module, exports, __webpack_require__) {
1187
1228
 
1188
1229
  "use strict";
@@ -1191,7 +1232,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
1191
1232
  //# sourceMappingURL=SdPlatformResponseModelToken.js.map
1192
1233
 
1193
1234
  /***/ }),
1194
- /* 46 */
1235
+ /* 48 */
1195
1236
  /***/ (function(module, exports, __webpack_require__) {
1196
1237
 
1197
1238
  "use strict";
@@ -1200,7 +1241,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
1200
1241
  //# sourceMappingURL=SdPlatformResponseNotification.js.map
1201
1242
 
1202
1243
  /***/ }),
1203
- /* 47 */
1244
+ /* 49 */
1204
1245
  /***/ (function(module, exports, __webpack_require__) {
1205
1246
 
1206
1247
  "use strict";
@@ -1209,7 +1250,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
1209
1250
  //# sourceMappingURL=SdPlatformResponseOpenIDProvider.js.map
1210
1251
 
1211
1252
  /***/ }),
1212
- /* 48 */
1253
+ /* 50 */
1213
1254
  /***/ (function(module, exports, __webpack_require__) {
1214
1255
 
1215
1256
  "use strict";
@@ -1218,7 +1259,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
1218
1259
  //# sourceMappingURL=SdPlatformResponseOrganization.js.map
1219
1260
 
1220
1261
  /***/ }),
1221
- /* 49 */
1262
+ /* 51 */
1222
1263
  /***/ (function(module, exports, __webpack_require__) {
1223
1264
 
1224
1265
  "use strict";
@@ -1227,7 +1268,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
1227
1268
  //# sourceMappingURL=SdPlatformResponsePolicy.js.map
1228
1269
 
1229
1270
  /***/ }),
1230
- /* 50 */
1271
+ /* 52 */
1231
1272
  /***/ (function(module, exports, __webpack_require__) {
1232
1273
 
1233
1274
  "use strict";
@@ -1236,7 +1277,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
1236
1277
  //# sourceMappingURL=SdPlatformResponseSavedState.js.map
1237
1278
 
1238
1279
  /***/ }),
1239
- /* 51 */
1280
+ /* 53 */
1240
1281
  /***/ (function(module, exports, __webpack_require__) {
1241
1282
 
1242
1283
  "use strict";
@@ -1245,7 +1286,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
1245
1286
  //# sourceMappingURL=SdPlatformResponseSavedStateSharing.js.map
1246
1287
 
1247
1288
  /***/ }),
1248
- /* 52 */
1289
+ /* 54 */
1249
1290
  /***/ (function(module, exports, __webpack_require__) {
1250
1291
 
1251
1292
  "use strict";
@@ -1254,7 +1295,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
1254
1295
  //# sourceMappingURL=SdPlatformResponseTag.js.map
1255
1296
 
1256
1297
  /***/ }),
1257
- /* 53 */
1298
+ /* 55 */
1258
1299
  /***/ (function(module, exports, __webpack_require__) {
1259
1300
 
1260
1301
  "use strict";
@@ -1263,7 +1304,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
1263
1304
  //# sourceMappingURL=SdPlatformResponseUser.js.map
1264
1305
 
1265
1306
  /***/ }),
1266
- /* 54 */
1307
+ /* 56 */
1267
1308
  /***/ (function(module, exports, __webpack_require__) {
1268
1309
 
1269
1310
  "use strict";
@@ -1282,6 +1323,7 @@ var RequestId;
1282
1323
  RequestId["RefreshToken"] = "refresh_token";
1283
1324
  RequestId["AuthorizationCode"] = "authorization_code";
1284
1325
  RequestId["Logout"] = "logout";
1326
+ RequestId["RequestAuthorizationCode"] = "request_authorization_code";
1285
1327
  /**
1286
1328
  * Platform Backend API
1287
1329
  */
@@ -1290,6 +1332,10 @@ var RequestId;
1290
1332
  RequestId["ApiTokenCreate"] = "api_token_create";
1291
1333
  RequestId["ApiTokenPatch"] = "api_token_patch";
1292
1334
  RequestId["ApiTokenDelete"] = "api_token_delete";
1335
+ RequestId["ApiClientQuery"] = "api_client_query";
1336
+ RequestId["ApiClientCreate"] = "api_client_create";
1337
+ RequestId["ApiClientPatch"] = "api_client_patch";
1338
+ RequestId["ApiClientDelete"] = "api_client_delete";
1293
1339
  RequestId["BackendSystemQuery"] = "backend_system_query";
1294
1340
  RequestId["BackendSystemCreate"] = "backend_system_create";
1295
1341
  RequestId["BackendSystemPatch"] = "backend_system_patch";
@@ -1314,6 +1360,8 @@ var RequestId;
1314
1360
  RequestId["UserDelete"] = "user_delete";
1315
1361
  RequestId["UserRegister"] = "user_register";
1316
1362
  RequestId["UserConfirm"] = "user_confirm";
1363
+ RequestId["UserRefreshToken"] = "user_refresh_token";
1364
+ RequestId["UserDeleteRefreshToken"] = "user_delete_refresh_token";
1317
1365
  RequestId["PasswordReset"] = "password_reset";
1318
1366
  RequestId["PasswordResetConfirm"] = "password_reset_confirm";
1319
1367
  RequestId["ModelGet"] = "model_get";
@@ -1322,6 +1370,7 @@ var RequestId;
1322
1370
  RequestId["ModelPatch"] = "model_patch";
1323
1371
  RequestId["ModelDelete"] = "model_delete";
1324
1372
  RequestId["DecryptTicket"] = "decrypt_ticket";
1373
+ RequestId["ModelIframeData"] = "model_iframe_data";
1325
1374
  RequestId["SavedStateGet"] = "saved_state_get";
1326
1375
  RequestId["SavedStateQuery"] = "saved_state_query";
1327
1376
  RequestId["SavedStatePatch"] = "saved_state_patch";
@@ -1348,6 +1397,7 @@ var RequestId;
1348
1397
  RequestId["OrganizationInvitationAccept"] = "organization_invitation_accept";
1349
1398
  RequestId["OrganizationInvitationDeny"] = "organization_invitation_deny";
1350
1399
  RequestId["OrganizationPatchMemberRole"] = "organization_patch_member_role";
1400
+ RequestId["OrganizationInvitationByEmail"] = "organization_invitation_by_email";
1351
1401
  RequestId["NotificationGet"] = "notification_get";
1352
1402
  RequestId["NotificationQuery"] = "notification_query";
1353
1403
  RequestId["NotificationCreate"] = "notification_create";
@@ -1401,7 +1451,7 @@ var RequestId;
1401
1451
 
1402
1452
 
1403
1453
  /***/ }),
1404
- /* 55 */
1454
+ /* 57 */
1405
1455
  /***/ (function(module, exports, __webpack_require__) {
1406
1456
 
1407
1457
  "use strict";
@@ -1420,10 +1470,10 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
1420
1470
  };
1421
1471
  Object.defineProperty(exports, "__esModule", { value: true });
1422
1472
  exports.SdPlatformAuthServiceApi = void 0;
1423
- const SdPlatformRequestId_1 = __webpack_require__(54);
1424
- const SdPlatformErrors_1 = __webpack_require__(56);
1473
+ const SdPlatformRequestId_1 = __webpack_require__(56);
1474
+ const SdPlatformErrors_1 = __webpack_require__(58);
1425
1475
  const api_platform_api_dto_v1_1 = __webpack_require__(1);
1426
- const jwt_decode_1 = __importDefault(__webpack_require__(57));
1476
+ const jwt_decode_1 = __importDefault(__webpack_require__(59));
1427
1477
  var RequestState;
1428
1478
  (function (RequestState) {
1429
1479
  RequestState["NoRequest"] = "NoRequest";
@@ -1607,6 +1657,14 @@ class SdPlatformAuthServiceApi {
1607
1657
  this.__cleanAuthData();
1608
1658
  return response;
1609
1659
  }
1660
+ /**
1661
+ * Create and get authorization code.
1662
+ * @param params
1663
+ * @returns
1664
+ */
1665
+ requestAuthorizationCode(params) {
1666
+ return this.__api.get(SdPlatformRequestId_1.RequestId.RequestAuthorizationCode, "oauth/authorize", this.__resolveConfig(), params);
1667
+ }
1610
1668
  __decodeToken(token) {
1611
1669
  return (0, jwt_decode_1.default)(token);
1612
1670
  }
@@ -1618,7 +1676,7 @@ exports.SdPlatformAuthServiceApi = SdPlatformAuthServiceApi;
1618
1676
 
1619
1677
 
1620
1678
  /***/ }),
1621
- /* 56 */
1679
+ /* 58 */
1622
1680
  /***/ (function(module, exports, __webpack_require__) {
1623
1681
 
1624
1682
  "use strict";
@@ -1771,7 +1829,7 @@ exports.SdPlatformUnsupportedGrantTypeClientOAuthResponseError = SdPlatformUnsup
1771
1829
 
1772
1830
 
1773
1831
  /***/ }),
1774
- /* 57 */
1832
+ /* 59 */
1775
1833
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
1776
1834
 
1777
1835
  "use strict";
@@ -1782,15 +1840,15 @@ function e(e){this.message=e}e.prototype=new Error,e.prototype.name="InvalidChar
1782
1840
 
1783
1841
 
1784
1842
  /***/ }),
1785
- /* 58 */
1843
+ /* 60 */
1786
1844
  /***/ (function(module, exports, __webpack_require__) {
1787
1845
 
1788
1846
  "use strict";
1789
1847
 
1790
1848
  Object.defineProperty(exports, "__esModule", { value: true });
1791
1849
  exports.SdPlatformApiTokenApi = void 0;
1792
- const SdPlatformRequestId_1 = __webpack_require__(54);
1793
- const ResourcesApi_1 = __webpack_require__(59);
1850
+ const SdPlatformRequestId_1 = __webpack_require__(56);
1851
+ const ResourcesApi_1 = __webpack_require__(61);
1794
1852
  /**
1795
1853
  * CRUD operations for Platform API tokens.
1796
1854
  * Platform API tokens can be limited in scope and lifetime.
@@ -1821,7 +1879,7 @@ exports.SdPlatformApiTokenApi = SdPlatformApiTokenApi;
1821
1879
 
1822
1880
 
1823
1881
  /***/ }),
1824
- /* 59 */
1882
+ /* 61 */
1825
1883
  /***/ (function(module, exports, __webpack_require__) {
1826
1884
 
1827
1885
  "use strict";
@@ -1837,7 +1895,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
1837
1895
  };
1838
1896
  Object.defineProperty(exports, "__esModule", { value: true });
1839
1897
  exports.ResourcesApi = exports.Action = void 0;
1840
- const SdPlatformSdkContext_1 = __webpack_require__(60);
1898
+ const SdPlatformSdkContext_1 = __webpack_require__(62);
1841
1899
  /**
1842
1900
  * Actions enum.
1843
1901
  */
@@ -1919,7 +1977,7 @@ class ResourcesApi {
1919
1977
  return this.__api.delete(requestId, this.__getPath(id), this.__resolveRequestConfig());
1920
1978
  });
1921
1979
  }
1922
- __action(requestId, action, pathSuffix, body) {
1980
+ __action(requestId, action, pathSuffix, body, headers = {}) {
1923
1981
  return __awaiter(this, void 0, void 0, function* () {
1924
1982
  yield this.__refreshTokenIfExpired();
1925
1983
  if (action == Action.Get) {
@@ -1931,7 +1989,7 @@ class ResourcesApi {
1931
1989
  return this.__api[action](requestId, this.__getPath(pathSuffix), this.__resolveRequestConfig());
1932
1990
  }
1933
1991
  // @ts-ignore
1934
- return this.__api[action](requestId, this.__getPath(pathSuffix), body, this.__resolveRequestConfig());
1992
+ return this.__api[action](requestId, this.__getPath(pathSuffix), body, this.__resolveRequestConfig(), headers);
1935
1993
  });
1936
1994
  }
1937
1995
  }
@@ -1939,7 +1997,7 @@ exports.ResourcesApi = ResourcesApi;
1939
1997
 
1940
1998
 
1941
1999
  /***/ }),
1942
- /* 60 */
2000
+ /* 62 */
1943
2001
  /***/ (function(module, exports, __webpack_require__) {
1944
2002
 
1945
2003
  "use strict";
@@ -2033,15 +2091,15 @@ exports.SdPlatformSdkContext = SdPlatformSdkContext;
2033
2091
 
2034
2092
 
2035
2093
  /***/ }),
2036
- /* 61 */
2094
+ /* 63 */
2037
2095
  /***/ (function(module, exports, __webpack_require__) {
2038
2096
 
2039
2097
  "use strict";
2040
2098
 
2041
2099
  Object.defineProperty(exports, "__esModule", { value: true });
2042
2100
  exports.SdPlatformBackendSystemApi = void 0;
2043
- const SdPlatformRequestId_1 = __webpack_require__(54);
2044
- const ResourcesApi_1 = __webpack_require__(59);
2101
+ const SdPlatformRequestId_1 = __webpack_require__(56);
2102
+ const ResourcesApi_1 = __webpack_require__(61);
2045
2103
  /**
2046
2104
  * Operations for ShapeDiver Geometry Backend Systems known by the Platform Backend.
2047
2105
  */
@@ -2069,15 +2127,15 @@ exports.SdPlatformBackendSystemApi = SdPlatformBackendSystemApi;
2069
2127
 
2070
2128
 
2071
2129
  /***/ }),
2072
- /* 62 */
2130
+ /* 64 */
2073
2131
  /***/ (function(module, exports, __webpack_require__) {
2074
2132
 
2075
2133
  "use strict";
2076
2134
 
2077
2135
  Object.defineProperty(exports, "__esModule", { value: true });
2078
2136
  exports.SdPlatformBookmarkApi = void 0;
2079
- const SdPlatformRequestId_1 = __webpack_require__(54);
2080
- const ResourcesApi_1 = __webpack_require__(59);
2137
+ const SdPlatformRequestId_1 = __webpack_require__(56);
2138
+ const ResourcesApi_1 = __webpack_require__(61);
2081
2139
  /**
2082
2140
  * Operations for creating and deleting bookmarks
2083
2141
  */
@@ -2101,15 +2159,15 @@ exports.SdPlatformBookmarkApi = SdPlatformBookmarkApi;
2101
2159
 
2102
2160
 
2103
2161
  /***/ }),
2104
- /* 63 */
2162
+ /* 65 */
2105
2163
  /***/ (function(module, exports, __webpack_require__) {
2106
2164
 
2107
2165
  "use strict";
2108
2166
 
2109
2167
  Object.defineProperty(exports, "__esModule", { value: true });
2110
2168
  exports.SdPlatformChargebeeApi = void 0;
2111
- const ResourcesApi_1 = __webpack_require__(59);
2112
- const SdPlatformRequestId_1 = __webpack_require__(54);
2169
+ const ResourcesApi_1 = __webpack_require__(61);
2170
+ const SdPlatformRequestId_1 = __webpack_require__(56);
2113
2171
  /**
2114
2172
  * Actions related to Chargebee.
2115
2173
  */
@@ -2141,15 +2199,15 @@ exports.SdPlatformChargebeeApi = SdPlatformChargebeeApi;
2141
2199
 
2142
2200
 
2143
2201
  /***/ }),
2144
- /* 64 */
2202
+ /* 66 */
2145
2203
  /***/ (function(module, exports, __webpack_require__) {
2146
2204
 
2147
2205
  "use strict";
2148
2206
 
2149
2207
  Object.defineProperty(exports, "__esModule", { value: true });
2150
2208
  exports.SdPlatformDomainApi = exports.SdPlatformDomainQueryEmbeddableFields = exports.SdPlatformDomainGetEmbeddableFields = void 0;
2151
- const SdPlatformRequestId_1 = __webpack_require__(54);
2152
- const ResourcesApi_1 = __webpack_require__(59);
2209
+ const SdPlatformRequestId_1 = __webpack_require__(56);
2210
+ const ResourcesApi_1 = __webpack_require__(61);
2153
2211
  var SdPlatformDomainGetEmbeddableFields;
2154
2212
  (function (SdPlatformDomainGetEmbeddableFields) {
2155
2213
  SdPlatformDomainGetEmbeddableFields["Models"] = "models";
@@ -2208,15 +2266,15 @@ exports.SdPlatformDomainApi = SdPlatformDomainApi;
2208
2266
 
2209
2267
 
2210
2268
  /***/ }),
2211
- /* 65 */
2269
+ /* 67 */
2212
2270
  /***/ (function(module, exports, __webpack_require__) {
2213
2271
 
2214
2272
  "use strict";
2215
2273
 
2216
2274
  Object.defineProperty(exports, "__esModule", { value: true });
2217
2275
  exports.SdPlatformHttpLogApi = void 0;
2218
- const SdPlatformRequestId_1 = __webpack_require__(54);
2219
- const ResourcesApi_1 = __webpack_require__(59);
2276
+ const SdPlatformRequestId_1 = __webpack_require__(56);
2277
+ const ResourcesApi_1 = __webpack_require__(61);
2220
2278
  /**
2221
2279
  * HTTP logs.
2222
2280
  */
@@ -2236,15 +2294,15 @@ exports.SdPlatformHttpLogApi = SdPlatformHttpLogApi;
2236
2294
 
2237
2295
 
2238
2296
  /***/ }),
2239
- /* 66 */
2297
+ /* 68 */
2240
2298
  /***/ (function(module, exports, __webpack_require__) {
2241
2299
 
2242
2300
  "use strict";
2243
2301
 
2244
2302
  Object.defineProperty(exports, "__esModule", { value: true });
2245
2303
  exports.SdPlatformImageApi = exports.SdPlatformImageQueryEmbeddableFields = void 0;
2246
- const SdPlatformRequestId_1 = __webpack_require__(54);
2247
- const ResourcesApi_1 = __webpack_require__(59);
2304
+ const SdPlatformRequestId_1 = __webpack_require__(56);
2305
+ const ResourcesApi_1 = __webpack_require__(61);
2248
2306
  var SdPlatformImageQueryEmbeddableFields;
2249
2307
  (function (SdPlatformImageQueryEmbeddableFields) {
2250
2308
  SdPlatformImageQueryEmbeddableFields["User"] = "user";
@@ -2292,15 +2350,15 @@ exports.SdPlatformImageApi = SdPlatformImageApi;
2292
2350
 
2293
2351
 
2294
2352
  /***/ }),
2295
- /* 67 */
2353
+ /* 69 */
2296
2354
  /***/ (function(module, exports, __webpack_require__) {
2297
2355
 
2298
2356
  "use strict";
2299
2357
 
2300
2358
  Object.defineProperty(exports, "__esModule", { value: true });
2301
2359
  exports.SdPlatformModelApi = exports.SdPlatformModelGetEmbeddableFields = exports.SdPlatformModelQueryEmbeddableFields = void 0;
2302
- const SdPlatformRequestId_1 = __webpack_require__(54);
2303
- const ResourcesApi_1 = __webpack_require__(59);
2360
+ const SdPlatformRequestId_1 = __webpack_require__(56);
2361
+ const ResourcesApi_1 = __webpack_require__(61);
2304
2362
  var SdPlatformModelQueryEmbeddableFields;
2305
2363
  (function (SdPlatformModelQueryEmbeddableFields) {
2306
2364
  SdPlatformModelQueryEmbeddableFields["Accessdomains"] = "accessdomains";
@@ -2334,40 +2392,82 @@ class SdPlatformModelApi extends ResourcesApi_1.ResourcesApi {
2334
2392
  get __resourcePath() {
2335
2393
  return "models";
2336
2394
  }
2395
+ /**
2396
+ * Get model by id, guid, slug, or link_sharing_slug.
2397
+ * @param id
2398
+ * @param embed
2399
+ * @returns
2400
+ */
2337
2401
  get(id, embed = []) {
2338
2402
  return super.__get(SdPlatformRequestId_1.RequestId.ModelGet, id, embed);
2339
2403
  }
2404
+ /**
2405
+ * Query models.
2406
+ * @param query
2407
+ * @returns
2408
+ */
2340
2409
  query(query = {}) {
2341
2410
  return super.__query(SdPlatformRequestId_1.RequestId.ModelQuery, query);
2342
2411
  }
2412
+ /**
2413
+ * Create a model.
2414
+ * @param body
2415
+ * @returns
2416
+ */
2343
2417
  create(body = {}) {
2344
2418
  return super.__post(SdPlatformRequestId_1.RequestId.ModelCreate, body);
2345
2419
  }
2420
+ /**
2421
+ * Patch the properties of a model.
2422
+ * @param id
2423
+ * @param body
2424
+ * @returns
2425
+ */
2346
2426
  patch(id, body) {
2347
2427
  return super.__patch(SdPlatformRequestId_1.RequestId.ModelPatch, id, body);
2348
2428
  }
2429
+ /**
2430
+ * Delete a model.
2431
+ * @param id
2432
+ * @returns
2433
+ */
2349
2434
  delete(id) {
2350
2435
  return super.__delete(SdPlatformRequestId_1.RequestId.ModelDelete, id);
2351
2436
  }
2437
+ /**
2438
+ * Decrypt a ticket (embedding ticket, backend ticket, author ticket).
2439
+ * @param ticket
2440
+ * @returns
2441
+ */
2352
2442
  decryptTicket(ticket) {
2353
2443
  return super.__action(SdPlatformRequestId_1.RequestId.DecryptTicket, ResourcesApi_1.Action.Post, "decrypt_ticket", {
2354
2444
  ticket
2355
2445
  });
2356
2446
  }
2447
+ /**
2448
+ * Post method which is to be used to fetch data necessary for iframe embedding of a model using the ShapeDiver Viewer.
2449
+ */
2450
+ iframeEmbedding(slug) {
2451
+ const is_iframe = parent !== window;
2452
+ const origin = is_iframe ? document.referrer : window.location.origin;
2453
+ return super.__action(SdPlatformRequestId_1.RequestId.ModelIframeData, ResourcesApi_1.Action.Post, `iframe/${slug}`, {}, {
2454
+ "X-ShapeDiver-Origin": origin
2455
+ });
2456
+ }
2357
2457
  }
2358
2458
  exports.SdPlatformModelApi = SdPlatformModelApi;
2359
2459
 
2360
2460
 
2361
2461
  /***/ }),
2362
- /* 68 */
2462
+ /* 70 */
2363
2463
  /***/ (function(module, exports, __webpack_require__) {
2364
2464
 
2365
2465
  "use strict";
2366
2466
 
2367
2467
  Object.defineProperty(exports, "__esModule", { value: true });
2368
2468
  exports.SdPlatformModelSharingApi = exports.SdPlatformModelharingQueryEmbeddableFields = void 0;
2369
- const SdPlatformRequestId_1 = __webpack_require__(54);
2370
- const ResourcesApi_1 = __webpack_require__(59);
2469
+ const SdPlatformRequestId_1 = __webpack_require__(56);
2470
+ const ResourcesApi_1 = __webpack_require__(61);
2371
2471
  var SdPlatformModelharingQueryEmbeddableFields;
2372
2472
  (function (SdPlatformModelharingQueryEmbeddableFields) {
2373
2473
  SdPlatformModelharingQueryEmbeddableFields["User"] = "user";
@@ -2452,15 +2552,15 @@ exports.SdPlatformModelSharingApi = SdPlatformModelSharingApi;
2452
2552
 
2453
2553
 
2454
2554
  /***/ }),
2455
- /* 69 */
2555
+ /* 71 */
2456
2556
  /***/ (function(module, exports, __webpack_require__) {
2457
2557
 
2458
2558
  "use strict";
2459
2559
 
2460
2560
  Object.defineProperty(exports, "__esModule", { value: true });
2461
2561
  exports.SdPlatformModelTokenApi = void 0;
2462
- const SdPlatformRequestId_1 = __webpack_require__(54);
2463
- const ResourcesApi_1 = __webpack_require__(59);
2562
+ const SdPlatformRequestId_1 = __webpack_require__(56);
2563
+ const ResourcesApi_1 = __webpack_require__(61);
2464
2564
  /**
2465
2565
  * Operations for creating tokens for models on Geometry Backend Systems
2466
2566
  */
@@ -2476,7 +2576,7 @@ exports.SdPlatformModelTokenApi = SdPlatformModelTokenApi;
2476
2576
 
2477
2577
 
2478
2578
  /***/ }),
2479
- /* 70 */
2579
+ /* 72 */
2480
2580
  /***/ (function(module, exports, __webpack_require__) {
2481
2581
 
2482
2582
  "use strict";
@@ -2484,7 +2584,7 @@ exports.SdPlatformModelTokenApi = SdPlatformModelTokenApi;
2484
2584
  Object.defineProperty(exports, "__esModule", { value: true });
2485
2585
  exports.SdPlatformModelTransferApi = void 0;
2486
2586
  const __1 = __webpack_require__(0);
2487
- const ResourcesApi_1 = __webpack_require__(59);
2587
+ const ResourcesApi_1 = __webpack_require__(61);
2488
2588
  /**
2489
2589
  * Operations for creating, revoking, accepting, denying, model ownership transfer notifications.
2490
2590
  */
@@ -2547,15 +2647,15 @@ exports.SdPlatformModelTransferApi = SdPlatformModelTransferApi;
2547
2647
 
2548
2648
 
2549
2649
  /***/ }),
2550
- /* 71 */
2650
+ /* 73 */
2551
2651
  /***/ (function(module, exports, __webpack_require__) {
2552
2652
 
2553
2653
  "use strict";
2554
2654
 
2555
2655
  Object.defineProperty(exports, "__esModule", { value: true });
2556
2656
  exports.SdPlatformNotificationApi = exports.SdPlatformNotificationSummaryEmbeddableFields = exports.SdPlatformNotificationEmbeddableFields = void 0;
2557
- const SdPlatformRequestId_1 = __webpack_require__(54);
2558
- const ResourcesApi_1 = __webpack_require__(59);
2657
+ const SdPlatformRequestId_1 = __webpack_require__(56);
2658
+ const ResourcesApi_1 = __webpack_require__(61);
2559
2659
  var SdPlatformNotificationEmbeddableFields;
2560
2660
  (function (SdPlatformNotificationEmbeddableFields) {
2561
2661
  SdPlatformNotificationEmbeddableFields["Receiver"] = "receiver";
@@ -2607,15 +2707,15 @@ exports.SdPlatformNotificationApi = SdPlatformNotificationApi;
2607
2707
 
2608
2708
 
2609
2709
  /***/ }),
2610
- /* 72 */
2710
+ /* 74 */
2611
2711
  /***/ (function(module, exports, __webpack_require__) {
2612
2712
 
2613
2713
  "use strict";
2614
2714
 
2615
2715
  Object.defineProperty(exports, "__esModule", { value: true });
2616
2716
  exports.SdPlatformOrganizationApi = exports.SdPlatformOrganizationEmbeddableFields = void 0;
2617
- const SdPlatformRequestId_1 = __webpack_require__(54);
2618
- const ResourcesApi_1 = __webpack_require__(59);
2717
+ const SdPlatformRequestId_1 = __webpack_require__(56);
2718
+ const ResourcesApi_1 = __webpack_require__(61);
2619
2719
  var SdPlatformOrganizationEmbeddableFields;
2620
2720
  (function (SdPlatformOrganizationEmbeddableFields) {
2621
2721
  SdPlatformOrganizationEmbeddableFields["AccessDomains"] = "accessdomains";
@@ -2724,20 +2824,30 @@ class SdPlatformOrganizationApi extends ResourcesApi_1.ResourcesApi {
2724
2824
  organization_role,
2725
2825
  });
2726
2826
  }
2827
+ /**
2828
+ * Invite user to organizatio by email.
2829
+ * @param organization_id
2830
+ * @param email
2831
+ */
2832
+ invitationByEmail(organization_id, email) {
2833
+ return super.__action(SdPlatformRequestId_1.RequestId.OrganizationInvitationByEmail, ResourcesApi_1.Action.Post, `${organization_id}/invitation_by_email`, {
2834
+ email: email
2835
+ });
2836
+ }
2727
2837
  }
2728
2838
  exports.SdPlatformOrganizationApi = SdPlatformOrganizationApi;
2729
2839
 
2730
2840
 
2731
2841
  /***/ }),
2732
- /* 73 */
2842
+ /* 75 */
2733
2843
  /***/ (function(module, exports, __webpack_require__) {
2734
2844
 
2735
2845
  "use strict";
2736
2846
 
2737
2847
  Object.defineProperty(exports, "__esModule", { value: true });
2738
2848
  exports.SdPlatformPolicyApi = void 0;
2739
- const SdPlatformRequestId_1 = __webpack_require__(54);
2740
- const ResourcesApi_1 = __webpack_require__(59);
2849
+ const SdPlatformRequestId_1 = __webpack_require__(56);
2850
+ const ResourcesApi_1 = __webpack_require__(61);
2741
2851
  /**
2742
2852
  * Operations for policies.
2743
2853
  */
@@ -2765,15 +2875,15 @@ exports.SdPlatformPolicyApi = SdPlatformPolicyApi;
2765
2875
 
2766
2876
 
2767
2877
  /***/ }),
2768
- /* 74 */
2878
+ /* 76 */
2769
2879
  /***/ (function(module, exports, __webpack_require__) {
2770
2880
 
2771
2881
  "use strict";
2772
2882
 
2773
2883
  Object.defineProperty(exports, "__esModule", { value: true });
2774
2884
  exports.SdPlatformSavedStateApi = exports.SdPlatformSavedStateGetEmbedFields = exports.SdPlatformSavedStateQueryEmbeddableFields = void 0;
2775
- const ResourcesApi_1 = __webpack_require__(59);
2776
- const SdPlatformRequestId_1 = __webpack_require__(54);
2885
+ const ResourcesApi_1 = __webpack_require__(61);
2886
+ const SdPlatformRequestId_1 = __webpack_require__(56);
2777
2887
  var SdPlatformSavedStateQueryEmbeddableFields;
2778
2888
  (function (SdPlatformSavedStateQueryEmbeddableFields) {
2779
2889
  SdPlatformSavedStateQueryEmbeddableFields["Model"] = "model";
@@ -2839,15 +2949,15 @@ exports.SdPlatformSavedStateApi = SdPlatformSavedStateApi;
2839
2949
 
2840
2950
 
2841
2951
  /***/ }),
2842
- /* 75 */
2952
+ /* 77 */
2843
2953
  /***/ (function(module, exports, __webpack_require__) {
2844
2954
 
2845
2955
  "use strict";
2846
2956
 
2847
2957
  Object.defineProperty(exports, "__esModule", { value: true });
2848
2958
  exports.SdPlatformSavedStateSharingApi = exports.SdPlatformSavedStateSharingQueryEmbeddableFields = void 0;
2849
- const ResourcesApi_1 = __webpack_require__(59);
2850
- const SdPlatformRequestId_1 = __webpack_require__(54);
2959
+ const ResourcesApi_1 = __webpack_require__(61);
2960
+ const SdPlatformRequestId_1 = __webpack_require__(56);
2851
2961
  var SdPlatformSavedStateSharingQueryEmbeddableFields;
2852
2962
  (function (SdPlatformSavedStateSharingQueryEmbeddableFields) {
2853
2963
  SdPlatformSavedStateSharingQueryEmbeddableFields["User"] = "user";
@@ -2933,15 +3043,15 @@ exports.SdPlatformSavedStateSharingApi = SdPlatformSavedStateSharingApi;
2933
3043
 
2934
3044
 
2935
3045
  /***/ }),
2936
- /* 76 */
3046
+ /* 78 */
2937
3047
  /***/ (function(module, exports, __webpack_require__) {
2938
3048
 
2939
3049
  "use strict";
2940
3050
 
2941
3051
  Object.defineProperty(exports, "__esModule", { value: true });
2942
3052
  exports.SdPlatformTagApi = exports.SdPlatformTagQueryEmbeddableFields = void 0;
2943
- const SdPlatformRequestId_1 = __webpack_require__(54);
2944
- const ResourcesApi_1 = __webpack_require__(59);
3053
+ const SdPlatformRequestId_1 = __webpack_require__(56);
3054
+ const ResourcesApi_1 = __webpack_require__(61);
2945
3055
  var SdPlatformTagQueryEmbeddableFields;
2946
3056
  (function (SdPlatformTagQueryEmbeddableFields) {
2947
3057
  SdPlatformTagQueryEmbeddableFields["ModelsCount"] = "models_count";
@@ -2964,15 +3074,15 @@ exports.SdPlatformTagApi = SdPlatformTagApi;
2964
3074
 
2965
3075
 
2966
3076
  /***/ }),
2967
- /* 77 */
3077
+ /* 79 */
2968
3078
  /***/ (function(module, exports, __webpack_require__) {
2969
3079
 
2970
3080
  "use strict";
2971
3081
 
2972
3082
  Object.defineProperty(exports, "__esModule", { value: true });
2973
3083
  exports.SdPlatformUserAnalyticsApi = void 0;
2974
- const SdPlatformRequestId_1 = __webpack_require__(54);
2975
- const ResourcesApi_1 = __webpack_require__(59);
3084
+ const SdPlatformRequestId_1 = __webpack_require__(56);
3085
+ const ResourcesApi_1 = __webpack_require__(61);
2976
3086
  /**
2977
3087
  * Analytics for users.
2978
3088
  */
@@ -2993,15 +3103,15 @@ exports.SdPlatformUserAnalyticsApi = SdPlatformUserAnalyticsApi;
2993
3103
 
2994
3104
 
2995
3105
  /***/ }),
2996
- /* 78 */
3106
+ /* 80 */
2997
3107
  /***/ (function(module, exports, __webpack_require__) {
2998
3108
 
2999
3109
  "use strict";
3000
3110
 
3001
3111
  Object.defineProperty(exports, "__esModule", { value: true });
3002
3112
  exports.SdPlatformUserApi = exports.SdPlatformUserGetEmbeddableFields = exports.SdPlatformUserQueryEmbeddableFields = void 0;
3003
- const SdPlatformRequestId_1 = __webpack_require__(54);
3004
- const ResourcesApi_1 = __webpack_require__(59);
3113
+ const SdPlatformRequestId_1 = __webpack_require__(56);
3114
+ const ResourcesApi_1 = __webpack_require__(61);
3005
3115
  var SdPlatformUserQueryEmbeddableFields;
3006
3116
  (function (SdPlatformUserQueryEmbeddableFields) {
3007
3117
  SdPlatformUserQueryEmbeddableFields["BackendSystem"] = "backend_system";
@@ -3095,19 +3205,36 @@ class SdPlatformUserApi extends ResourcesApi_1.ResourcesApi {
3095
3205
  passwordResetConfirm(body) {
3096
3206
  return super.__action(SdPlatformRequestId_1.RequestId.PasswordResetConfirm, ResourcesApi_1.Action.Post, 'password_reset_confirm', body);
3097
3207
  }
3208
+ /**
3209
+ * Returns an array of data about authorized client applications and their refresh tokens.
3210
+ * @param {string } user_id
3211
+ * @returns { Promise<SdPlatformGetResponse<Array<SdPlatformResponseUserRefreshToken>> }
3212
+ */
3213
+ getUserRefreshTokens(user_id) {
3214
+ return super.__action(SdPlatformRequestId_1.RequestId.UserRefreshToken, ResourcesApi_1.Action.Get, `users/${user_id}/apiclients`, {});
3215
+ }
3216
+ /**
3217
+ * Delete refresh token.
3218
+ * @param { string } user_id
3219
+ * @param { string } refresh_token_id
3220
+ * @returns { Promise<SdPlatformDeleteResponse> }
3221
+ */
3222
+ deleteRefreshToken(user_id, refresh_token_id) {
3223
+ return super.__action(SdPlatformRequestId_1.RequestId.UserDeleteRefreshToken, ResourcesApi_1.Action.Delete, `users/${user_id}/apiclients/${refresh_token_id}`, {});
3224
+ }
3098
3225
  }
3099
3226
  exports.SdPlatformUserApi = SdPlatformUserApi;
3100
3227
 
3101
3228
 
3102
3229
  /***/ }),
3103
- /* 79 */
3230
+ /* 81 */
3104
3231
  /***/ (function(module, exports, __webpack_require__) {
3105
3232
 
3106
3233
  "use strict";
3107
3234
 
3108
3235
  Object.defineProperty(exports, "__esModule", { value: true });
3109
3236
  exports.SdPlatformWebhookApi = void 0;
3110
- const SdPlatformRequestId_1 = __webpack_require__(54);
3237
+ const SdPlatformRequestId_1 = __webpack_require__(56);
3111
3238
  /**
3112
3239
  * Webhook calls.
3113
3240
  */
@@ -3173,40 +3300,41 @@ exports.SdPlatformWebhookApi = SdPlatformWebhookApi;
3173
3300
 
3174
3301
 
3175
3302
  /***/ }),
3176
- /* 80 */
3303
+ /* 82 */
3177
3304
  /***/ (function(module, exports, __webpack_require__) {
3178
3305
 
3179
3306
  "use strict";
3180
3307
 
3181
3308
  Object.defineProperty(exports, "__esModule", { value: true });
3182
3309
  exports.SdPlatformSdk = void 0;
3183
- const SdPlatformSdkApi_1 = __webpack_require__(81);
3184
- const SdPlatformSdkConfig_1 = __webpack_require__(114);
3185
- const SdPlatformAuthServiceApi_1 = __webpack_require__(55);
3186
- const SdPlatformSdkContext_1 = __webpack_require__(60);
3187
- const SdPlatformApiTokenApi_1 = __webpack_require__(58);
3188
- const SdPlatformBackendSystemApi_1 = __webpack_require__(61);
3189
- const SdPlatformBookmarkApi_1 = __webpack_require__(62);
3190
- const SdPlatformChargebeeApi_1 = __webpack_require__(63);
3191
- const SdPlatformDocumentApi_1 = __webpack_require__(115);
3192
- const SdPlatformDomainApi_1 = __webpack_require__(64);
3193
- const SdPlatformHttpLogApi_1 = __webpack_require__(65);
3194
- const SdPlatformImageApi_1 = __webpack_require__(66);
3195
- const SdPlatformModelApi_1 = __webpack_require__(67);
3196
- const SdPlatformModelSharingApi_1 = __webpack_require__(68);
3197
- const SdPlatformModelTokenApi_1 = __webpack_require__(69);
3198
- const SdPlatformModelTransferApi_1 = __webpack_require__(70);
3199
- const SdPlatformNotificationApi_1 = __webpack_require__(71);
3200
- const SdPlatformOrganizationApi_1 = __webpack_require__(72);
3201
- const SdPlatformPolicyApi_1 = __webpack_require__(73);
3202
- const SdPlatformSavedStateApi_1 = __webpack_require__(74);
3203
- const SdPlatformSavedStateSharingApi_1 = __webpack_require__(75);
3204
- const SdPlatformTagApi_1 = __webpack_require__(76);
3205
- const SdPlatformUserAnalyticsApi_1 = __webpack_require__(77);
3206
- const SdPlatformUserApi_1 = __webpack_require__(78);
3207
- const SdPlatformWebhookApi_1 = __webpack_require__(79);
3208
- const SdPlatformOrganizationAnalyticsApi_1 = __webpack_require__(116);
3209
- const SdPlatformOpenIDProviderApi_1 = __webpack_require__(117);
3310
+ const SdPlatformSdkApi_1 = __webpack_require__(83);
3311
+ const SdPlatformSdkConfig_1 = __webpack_require__(116);
3312
+ const SdPlatformAuthServiceApi_1 = __webpack_require__(57);
3313
+ const SdPlatformSdkContext_1 = __webpack_require__(62);
3314
+ const SdPlatformApiTokenApi_1 = __webpack_require__(60);
3315
+ const SdPlatformBackendSystemApi_1 = __webpack_require__(63);
3316
+ const SdPlatformBookmarkApi_1 = __webpack_require__(64);
3317
+ const SdPlatformChargebeeApi_1 = __webpack_require__(65);
3318
+ const SdPlatformDocumentApi_1 = __webpack_require__(117);
3319
+ const SdPlatformDomainApi_1 = __webpack_require__(66);
3320
+ const SdPlatformHttpLogApi_1 = __webpack_require__(67);
3321
+ const SdPlatformImageApi_1 = __webpack_require__(68);
3322
+ const SdPlatformModelApi_1 = __webpack_require__(69);
3323
+ const SdPlatformModelSharingApi_1 = __webpack_require__(70);
3324
+ const SdPlatformModelTokenApi_1 = __webpack_require__(71);
3325
+ const SdPlatformModelTransferApi_1 = __webpack_require__(72);
3326
+ const SdPlatformNotificationApi_1 = __webpack_require__(73);
3327
+ const SdPlatformOrganizationApi_1 = __webpack_require__(74);
3328
+ const SdPlatformPolicyApi_1 = __webpack_require__(75);
3329
+ const SdPlatformSavedStateApi_1 = __webpack_require__(76);
3330
+ const SdPlatformSavedStateSharingApi_1 = __webpack_require__(77);
3331
+ const SdPlatformTagApi_1 = __webpack_require__(78);
3332
+ const SdPlatformUserAnalyticsApi_1 = __webpack_require__(79);
3333
+ const SdPlatformUserApi_1 = __webpack_require__(80);
3334
+ const SdPlatformWebhookApi_1 = __webpack_require__(81);
3335
+ const SdPlatformOrganizationAnalyticsApi_1 = __webpack_require__(118);
3336
+ const SdPlatformOpenIDProviderApi_1 = __webpack_require__(119);
3337
+ const SdPlatformApiClientsApi_1 = __webpack_require__(120);
3210
3338
  class SdPlatformSdk {
3211
3339
  /**
3212
3340
  * ShapeDiverSDK constructor
@@ -3219,6 +3347,7 @@ class SdPlatformSdk {
3219
3347
  this.__api = new SdPlatformSdkApi_1.SdPlatformSdkApi(this.__config);
3220
3348
  const context = new SdPlatformSdkContext_1.SdPlatformSdkContext(this.__api, this.__config);
3221
3349
  this.__authorization = new SdPlatformAuthServiceApi_1.SdPlatformAuthServiceApi(context);
3350
+ this.__apiClients = new SdPlatformApiClientsApi_1.SdPlatformApiClientsApi(context, this.__authorization);
3222
3351
  this.__api_tokens = new SdPlatformApiTokenApi_1.SdPlatformApiTokenApi(context, this.__authorization);
3223
3352
  this.__backendSystem = new SdPlatformBackendSystemApi_1.SdPlatformBackendSystemApi(context, this.__authorization);
3224
3353
  this.__bookmarks = new SdPlatformBookmarkApi_1.SdPlatformBookmarkApi(context, this.__authorization);
@@ -3255,6 +3384,12 @@ class SdPlatformSdk {
3255
3384
  get authorization() {
3256
3385
  return this.__authorization;
3257
3386
  }
3387
+ /**
3388
+ * CRUD operations for Platform API clients.
3389
+ */
3390
+ get apiClients() {
3391
+ return this.__apiClients;
3392
+ }
3258
3393
  /**
3259
3394
  * CRUD operations for Platform API tokens.
3260
3395
  * Platform API tokens can be limited in scope and lifetime.
@@ -3420,7 +3555,7 @@ exports.SdPlatformSdk = SdPlatformSdk;
3420
3555
 
3421
3556
 
3422
3557
  /***/ }),
3423
- /* 81 */
3558
+ /* 83 */
3424
3559
  /***/ (function(module, exports, __webpack_require__) {
3425
3560
 
3426
3561
  "use strict";
@@ -3439,8 +3574,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3439
3574
  };
3440
3575
  Object.defineProperty(exports, "__esModule", { value: true });
3441
3576
  exports.SdPlatformSdkApi = void 0;
3442
- const SdPlatformSdkErrorMapping_1 = __webpack_require__(82);
3443
- const axios_1 = __importDefault(__webpack_require__(83));
3577
+ const SdPlatformSdkErrorMapping_1 = __webpack_require__(84);
3578
+ const axios_1 = __importDefault(__webpack_require__(85));
3444
3579
  var Method;
3445
3580
  (function (Method) {
3446
3581
  Method["GET"] = "GET";
@@ -3462,7 +3597,7 @@ class SdPlatformSdkApi {
3462
3597
  const mapFn = (key) => data[key] ? `${encodeURIComponent(key)}=${encodeURIComponent(data[key])}` : '';
3463
3598
  return `?${keys.map(mapFn).join('&')}`;
3464
3599
  }
3465
- __resolveRequest(url, method, config, data) {
3600
+ __resolveRequest(url, method, config, data, headers) {
3466
3601
  const request = {
3467
3602
  url,
3468
3603
  method,
@@ -3481,6 +3616,11 @@ class SdPlatformSdkApi {
3481
3616
  if (config.client_id) {
3482
3617
  request.headers["X-ShapeDiver-Client"] = config.client_id;
3483
3618
  }
3619
+ if (headers && Object.keys(headers).length > 0) {
3620
+ for (const key in headers) {
3621
+ request.headers[key] = headers[key];
3622
+ }
3623
+ }
3484
3624
  if (config.username) {
3485
3625
  request.auth = {
3486
3626
  username: config.username,
@@ -3568,14 +3708,14 @@ class SdPlatformSdkApi {
3568
3708
  return Promise.resolve(response.data);
3569
3709
  });
3570
3710
  }
3571
- post(id, url, data, config) {
3711
+ post(id, url, data, config, headers) {
3572
3712
  return __awaiter(this, void 0, void 0, function* () {
3573
- const request = this.__resolveRequest(`${this.__config.baseUrl}/${url}`, Method.POST, config, data);
3713
+ const request = this.__resolveRequest(`${this.__config.baseUrl}/${url}`, Method.POST, config, data, headers);
3574
3714
  const response = yield this.__fetch(id, request);
3575
3715
  return Promise.resolve(response.data);
3576
3716
  });
3577
3717
  }
3578
- patch(id, url, data, config) {
3718
+ patch(id, url, data, config, headers) {
3579
3719
  return __awaiter(this, void 0, void 0, function* () {
3580
3720
  const request = this.__resolveRequest(`${this.__config.baseUrl}/${url}`, Method.PATCH, config, data);
3581
3721
  const response = yield this.__fetch(id, request);
@@ -3594,7 +3734,7 @@ exports.SdPlatformSdkApi = SdPlatformSdkApi;
3594
3734
 
3595
3735
 
3596
3736
  /***/ }),
3597
- /* 82 */
3737
+ /* 84 */
3598
3738
  /***/ (function(module, exports, __webpack_require__) {
3599
3739
 
3600
3740
  "use strict";
@@ -3604,8 +3744,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3604
3744
  };
3605
3745
  Object.defineProperty(exports, "__esModule", { value: true });
3606
3746
  exports.mapToApiError = void 0;
3607
- const axios_1 = __importDefault(__webpack_require__(83));
3608
- const SdPlatformErrors_1 = __webpack_require__(56);
3747
+ const axios_1 = __importDefault(__webpack_require__(85));
3748
+ const SdPlatformErrors_1 = __webpack_require__(58);
3609
3749
  function isOAuthResponseError(response) {
3610
3750
  return ("error" in response) && ("error_description" in response);
3611
3751
  }
@@ -3684,23 +3824,23 @@ exports.mapToApiError = mapToApiError;
3684
3824
 
3685
3825
 
3686
3826
  /***/ }),
3687
- /* 83 */
3827
+ /* 85 */
3688
3828
  /***/ (function(module, exports, __webpack_require__) {
3689
3829
 
3690
- module.exports = __webpack_require__(84);
3830
+ module.exports = __webpack_require__(86);
3691
3831
 
3692
3832
  /***/ }),
3693
- /* 84 */
3833
+ /* 86 */
3694
3834
  /***/ (function(module, exports, __webpack_require__) {
3695
3835
 
3696
3836
  "use strict";
3697
3837
 
3698
3838
 
3699
- var utils = __webpack_require__(85);
3700
- var bind = __webpack_require__(86);
3701
- var Axios = __webpack_require__(87);
3702
- var mergeConfig = __webpack_require__(108);
3703
- var defaults = __webpack_require__(92);
3839
+ var utils = __webpack_require__(87);
3840
+ var bind = __webpack_require__(88);
3841
+ var Axios = __webpack_require__(89);
3842
+ var mergeConfig = __webpack_require__(110);
3843
+ var defaults = __webpack_require__(94);
3704
3844
 
3705
3845
  /**
3706
3846
  * Create an instance of Axios
@@ -3733,19 +3873,19 @@ var axios = createInstance(defaults);
3733
3873
  axios.Axios = Axios;
3734
3874
 
3735
3875
  // Expose Cancel & CancelToken
3736
- axios.Cancel = __webpack_require__(106);
3737
- axios.CancelToken = __webpack_require__(111);
3738
- axios.isCancel = __webpack_require__(107);
3739
- axios.VERSION = __webpack_require__(110).version;
3876
+ axios.Cancel = __webpack_require__(108);
3877
+ axios.CancelToken = __webpack_require__(113);
3878
+ axios.isCancel = __webpack_require__(109);
3879
+ axios.VERSION = __webpack_require__(112).version;
3740
3880
 
3741
3881
  // Expose all/spread
3742
3882
  axios.all = function all(promises) {
3743
3883
  return Promise.all(promises);
3744
3884
  };
3745
- axios.spread = __webpack_require__(112);
3885
+ axios.spread = __webpack_require__(114);
3746
3886
 
3747
3887
  // Expose isAxiosError
3748
- axios.isAxiosError = __webpack_require__(113);
3888
+ axios.isAxiosError = __webpack_require__(115);
3749
3889
 
3750
3890
  module.exports = axios;
3751
3891
 
@@ -3754,13 +3894,13 @@ module.exports.default = axios;
3754
3894
 
3755
3895
 
3756
3896
  /***/ }),
3757
- /* 85 */
3897
+ /* 87 */
3758
3898
  /***/ (function(module, exports, __webpack_require__) {
3759
3899
 
3760
3900
  "use strict";
3761
3901
 
3762
3902
 
3763
- var bind = __webpack_require__(86);
3903
+ var bind = __webpack_require__(88);
3764
3904
 
3765
3905
  // utils is a library of generic helper functions non-specific to axios
3766
3906
 
@@ -4110,7 +4250,7 @@ module.exports = {
4110
4250
 
4111
4251
 
4112
4252
  /***/ }),
4113
- /* 86 */
4253
+ /* 88 */
4114
4254
  /***/ (function(module, exports, __webpack_require__) {
4115
4255
 
4116
4256
  "use strict";
@@ -4128,18 +4268,18 @@ module.exports = function bind(fn, thisArg) {
4128
4268
 
4129
4269
 
4130
4270
  /***/ }),
4131
- /* 87 */
4271
+ /* 89 */
4132
4272
  /***/ (function(module, exports, __webpack_require__) {
4133
4273
 
4134
4274
  "use strict";
4135
4275
 
4136
4276
 
4137
- var utils = __webpack_require__(85);
4138
- var buildURL = __webpack_require__(88);
4139
- var InterceptorManager = __webpack_require__(89);
4140
- var dispatchRequest = __webpack_require__(90);
4141
- var mergeConfig = __webpack_require__(108);
4142
- var validator = __webpack_require__(109);
4277
+ var utils = __webpack_require__(87);
4278
+ var buildURL = __webpack_require__(90);
4279
+ var InterceptorManager = __webpack_require__(91);
4280
+ var dispatchRequest = __webpack_require__(92);
4281
+ var mergeConfig = __webpack_require__(110);
4282
+ var validator = __webpack_require__(111);
4143
4283
 
4144
4284
  var validators = validator.validators;
4145
4285
  /**
@@ -4283,13 +4423,13 @@ module.exports = Axios;
4283
4423
 
4284
4424
 
4285
4425
  /***/ }),
4286
- /* 88 */
4426
+ /* 90 */
4287
4427
  /***/ (function(module, exports, __webpack_require__) {
4288
4428
 
4289
4429
  "use strict";
4290
4430
 
4291
4431
 
4292
- var utils = __webpack_require__(85);
4432
+ var utils = __webpack_require__(87);
4293
4433
 
4294
4434
  function encode(val) {
4295
4435
  return encodeURIComponent(val).
@@ -4360,13 +4500,13 @@ module.exports = function buildURL(url, params, paramsSerializer) {
4360
4500
 
4361
4501
 
4362
4502
  /***/ }),
4363
- /* 89 */
4503
+ /* 91 */
4364
4504
  /***/ (function(module, exports, __webpack_require__) {
4365
4505
 
4366
4506
  "use strict";
4367
4507
 
4368
4508
 
4369
- var utils = __webpack_require__(85);
4509
+ var utils = __webpack_require__(87);
4370
4510
 
4371
4511
  function InterceptorManager() {
4372
4512
  this.handlers = [];
@@ -4421,17 +4561,17 @@ module.exports = InterceptorManager;
4421
4561
 
4422
4562
 
4423
4563
  /***/ }),
4424
- /* 90 */
4564
+ /* 92 */
4425
4565
  /***/ (function(module, exports, __webpack_require__) {
4426
4566
 
4427
4567
  "use strict";
4428
4568
 
4429
4569
 
4430
- var utils = __webpack_require__(85);
4431
- var transformData = __webpack_require__(91);
4432
- var isCancel = __webpack_require__(107);
4433
- var defaults = __webpack_require__(92);
4434
- var Cancel = __webpack_require__(106);
4570
+ var utils = __webpack_require__(87);
4571
+ var transformData = __webpack_require__(93);
4572
+ var isCancel = __webpack_require__(109);
4573
+ var defaults = __webpack_require__(94);
4574
+ var Cancel = __webpack_require__(108);
4435
4575
 
4436
4576
  /**
4437
4577
  * Throws a `Cancel` if cancellation has been requested.
@@ -4515,14 +4655,14 @@ module.exports = function dispatchRequest(config) {
4515
4655
 
4516
4656
 
4517
4657
  /***/ }),
4518
- /* 91 */
4658
+ /* 93 */
4519
4659
  /***/ (function(module, exports, __webpack_require__) {
4520
4660
 
4521
4661
  "use strict";
4522
4662
 
4523
4663
 
4524
- var utils = __webpack_require__(85);
4525
- var defaults = __webpack_require__(92);
4664
+ var utils = __webpack_require__(87);
4665
+ var defaults = __webpack_require__(94);
4526
4666
 
4527
4667
  /**
4528
4668
  * Transform the data for a request or a response
@@ -4544,16 +4684,16 @@ module.exports = function transformData(data, headers, fns) {
4544
4684
 
4545
4685
 
4546
4686
  /***/ }),
4547
- /* 92 */
4687
+ /* 94 */
4548
4688
  /***/ (function(module, exports, __webpack_require__) {
4549
4689
 
4550
4690
  "use strict";
4551
4691
  /* WEBPACK VAR INJECTION */(function(process) {
4552
4692
 
4553
- var utils = __webpack_require__(85);
4554
- var normalizeHeaderName = __webpack_require__(94);
4555
- var enhanceError = __webpack_require__(95);
4556
- var transitionalDefaults = __webpack_require__(96);
4693
+ var utils = __webpack_require__(87);
4694
+ var normalizeHeaderName = __webpack_require__(96);
4695
+ var enhanceError = __webpack_require__(97);
4696
+ var transitionalDefaults = __webpack_require__(98);
4557
4697
 
4558
4698
  var DEFAULT_CONTENT_TYPE = {
4559
4699
  'Content-Type': 'application/x-www-form-urlencoded'
@@ -4569,10 +4709,10 @@ function getDefaultAdapter() {
4569
4709
  var adapter;
4570
4710
  if (typeof XMLHttpRequest !== 'undefined') {
4571
4711
  // For browsers use XHR adapter
4572
- adapter = __webpack_require__(97);
4712
+ adapter = __webpack_require__(99);
4573
4713
  } else if (typeof process !== 'undefined' && Object.prototype.toString.call(process) === '[object process]') {
4574
4714
  // For node use HTTP adapter
4575
- adapter = __webpack_require__(97);
4715
+ adapter = __webpack_require__(99);
4576
4716
  }
4577
4717
  return adapter;
4578
4718
  }
@@ -4680,10 +4820,10 @@ utils.forEach(['post', 'put', 'patch'], function forEachMethodWithData(method) {
4680
4820
 
4681
4821
  module.exports = defaults;
4682
4822
 
4683
- /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(93)))
4823
+ /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(95)))
4684
4824
 
4685
4825
  /***/ }),
4686
- /* 93 */
4826
+ /* 95 */
4687
4827
  /***/ (function(module, exports) {
4688
4828
 
4689
4829
  // shim for using process in browser
@@ -4873,13 +5013,13 @@ process.umask = function() { return 0; };
4873
5013
 
4874
5014
 
4875
5015
  /***/ }),
4876
- /* 94 */
5016
+ /* 96 */
4877
5017
  /***/ (function(module, exports, __webpack_require__) {
4878
5018
 
4879
5019
  "use strict";
4880
5020
 
4881
5021
 
4882
- var utils = __webpack_require__(85);
5022
+ var utils = __webpack_require__(87);
4883
5023
 
4884
5024
  module.exports = function normalizeHeaderName(headers, normalizedName) {
4885
5025
  utils.forEach(headers, function processHeader(value, name) {
@@ -4892,7 +5032,7 @@ module.exports = function normalizeHeaderName(headers, normalizedName) {
4892
5032
 
4893
5033
 
4894
5034
  /***/ }),
4895
- /* 95 */
5035
+ /* 97 */
4896
5036
  /***/ (function(module, exports, __webpack_require__) {
4897
5037
 
4898
5038
  "use strict";
@@ -4942,7 +5082,7 @@ module.exports = function enhanceError(error, config, code, request, response) {
4942
5082
 
4943
5083
 
4944
5084
  /***/ }),
4945
- /* 96 */
5085
+ /* 98 */
4946
5086
  /***/ (function(module, exports, __webpack_require__) {
4947
5087
 
4948
5088
  "use strict";
@@ -4956,22 +5096,22 @@ module.exports = {
4956
5096
 
4957
5097
 
4958
5098
  /***/ }),
4959
- /* 97 */
5099
+ /* 99 */
4960
5100
  /***/ (function(module, exports, __webpack_require__) {
4961
5101
 
4962
5102
  "use strict";
4963
5103
 
4964
5104
 
4965
- var utils = __webpack_require__(85);
4966
- var settle = __webpack_require__(98);
4967
- var cookies = __webpack_require__(100);
4968
- var buildURL = __webpack_require__(88);
4969
- var buildFullPath = __webpack_require__(101);
4970
- var parseHeaders = __webpack_require__(104);
4971
- var isURLSameOrigin = __webpack_require__(105);
4972
- var createError = __webpack_require__(99);
4973
- var transitionalDefaults = __webpack_require__(96);
4974
- var Cancel = __webpack_require__(106);
5105
+ var utils = __webpack_require__(87);
5106
+ var settle = __webpack_require__(100);
5107
+ var cookies = __webpack_require__(102);
5108
+ var buildURL = __webpack_require__(90);
5109
+ var buildFullPath = __webpack_require__(103);
5110
+ var parseHeaders = __webpack_require__(106);
5111
+ var isURLSameOrigin = __webpack_require__(107);
5112
+ var createError = __webpack_require__(101);
5113
+ var transitionalDefaults = __webpack_require__(98);
5114
+ var Cancel = __webpack_require__(108);
4975
5115
 
4976
5116
  module.exports = function xhrAdapter(config) {
4977
5117
  return new Promise(function dispatchXhrRequest(resolve, reject) {
@@ -5175,13 +5315,13 @@ module.exports = function xhrAdapter(config) {
5175
5315
 
5176
5316
 
5177
5317
  /***/ }),
5178
- /* 98 */
5318
+ /* 100 */
5179
5319
  /***/ (function(module, exports, __webpack_require__) {
5180
5320
 
5181
5321
  "use strict";
5182
5322
 
5183
5323
 
5184
- var createError = __webpack_require__(99);
5324
+ var createError = __webpack_require__(101);
5185
5325
 
5186
5326
  /**
5187
5327
  * Resolve or reject a Promise based on response status.
@@ -5207,13 +5347,13 @@ module.exports = function settle(resolve, reject, response) {
5207
5347
 
5208
5348
 
5209
5349
  /***/ }),
5210
- /* 99 */
5350
+ /* 101 */
5211
5351
  /***/ (function(module, exports, __webpack_require__) {
5212
5352
 
5213
5353
  "use strict";
5214
5354
 
5215
5355
 
5216
- var enhanceError = __webpack_require__(95);
5356
+ var enhanceError = __webpack_require__(97);
5217
5357
 
5218
5358
  /**
5219
5359
  * Create an Error with the specified message, config, error code, request and response.
@@ -5232,13 +5372,13 @@ module.exports = function createError(message, config, code, request, response)
5232
5372
 
5233
5373
 
5234
5374
  /***/ }),
5235
- /* 100 */
5375
+ /* 102 */
5236
5376
  /***/ (function(module, exports, __webpack_require__) {
5237
5377
 
5238
5378
  "use strict";
5239
5379
 
5240
5380
 
5241
- var utils = __webpack_require__(85);
5381
+ var utils = __webpack_require__(87);
5242
5382
 
5243
5383
  module.exports = (
5244
5384
  utils.isStandardBrowserEnv() ?
@@ -5292,14 +5432,14 @@ module.exports = (
5292
5432
 
5293
5433
 
5294
5434
  /***/ }),
5295
- /* 101 */
5435
+ /* 103 */
5296
5436
  /***/ (function(module, exports, __webpack_require__) {
5297
5437
 
5298
5438
  "use strict";
5299
5439
 
5300
5440
 
5301
- var isAbsoluteURL = __webpack_require__(102);
5302
- var combineURLs = __webpack_require__(103);
5441
+ var isAbsoluteURL = __webpack_require__(104);
5442
+ var combineURLs = __webpack_require__(105);
5303
5443
 
5304
5444
  /**
5305
5445
  * Creates a new URL by combining the baseURL with the requestedURL,
@@ -5319,7 +5459,7 @@ module.exports = function buildFullPath(baseURL, requestedURL) {
5319
5459
 
5320
5460
 
5321
5461
  /***/ }),
5322
- /* 102 */
5462
+ /* 104 */
5323
5463
  /***/ (function(module, exports, __webpack_require__) {
5324
5464
 
5325
5465
  "use strict";
@@ -5340,7 +5480,7 @@ module.exports = function isAbsoluteURL(url) {
5340
5480
 
5341
5481
 
5342
5482
  /***/ }),
5343
- /* 103 */
5483
+ /* 105 */
5344
5484
  /***/ (function(module, exports, __webpack_require__) {
5345
5485
 
5346
5486
  "use strict";
@@ -5361,13 +5501,13 @@ module.exports = function combineURLs(baseURL, relativeURL) {
5361
5501
 
5362
5502
 
5363
5503
  /***/ }),
5364
- /* 104 */
5504
+ /* 106 */
5365
5505
  /***/ (function(module, exports, __webpack_require__) {
5366
5506
 
5367
5507
  "use strict";
5368
5508
 
5369
5509
 
5370
- var utils = __webpack_require__(85);
5510
+ var utils = __webpack_require__(87);
5371
5511
 
5372
5512
  // Headers whose duplicates are ignored by node
5373
5513
  // c.f. https://nodejs.org/api/http.html#http_message_headers
@@ -5421,13 +5561,13 @@ module.exports = function parseHeaders(headers) {
5421
5561
 
5422
5562
 
5423
5563
  /***/ }),
5424
- /* 105 */
5564
+ /* 107 */
5425
5565
  /***/ (function(module, exports, __webpack_require__) {
5426
5566
 
5427
5567
  "use strict";
5428
5568
 
5429
5569
 
5430
- var utils = __webpack_require__(85);
5570
+ var utils = __webpack_require__(87);
5431
5571
 
5432
5572
  module.exports = (
5433
5573
  utils.isStandardBrowserEnv() ?
@@ -5496,7 +5636,7 @@ module.exports = (
5496
5636
 
5497
5637
 
5498
5638
  /***/ }),
5499
- /* 106 */
5639
+ /* 108 */
5500
5640
  /***/ (function(module, exports, __webpack_require__) {
5501
5641
 
5502
5642
  "use strict";
@@ -5522,7 +5662,7 @@ module.exports = Cancel;
5522
5662
 
5523
5663
 
5524
5664
  /***/ }),
5525
- /* 107 */
5665
+ /* 109 */
5526
5666
  /***/ (function(module, exports, __webpack_require__) {
5527
5667
 
5528
5668
  "use strict";
@@ -5534,13 +5674,13 @@ module.exports = function isCancel(value) {
5534
5674
 
5535
5675
 
5536
5676
  /***/ }),
5537
- /* 108 */
5677
+ /* 110 */
5538
5678
  /***/ (function(module, exports, __webpack_require__) {
5539
5679
 
5540
5680
  "use strict";
5541
5681
 
5542
5682
 
5543
- var utils = __webpack_require__(85);
5683
+ var utils = __webpack_require__(87);
5544
5684
 
5545
5685
  /**
5546
5686
  * Config-specific merge-function which creates a new config-object
@@ -5640,13 +5780,13 @@ module.exports = function mergeConfig(config1, config2) {
5640
5780
 
5641
5781
 
5642
5782
  /***/ }),
5643
- /* 109 */
5783
+ /* 111 */
5644
5784
  /***/ (function(module, exports, __webpack_require__) {
5645
5785
 
5646
5786
  "use strict";
5647
5787
 
5648
5788
 
5649
- var VERSION = __webpack_require__(110).version;
5789
+ var VERSION = __webpack_require__(112).version;
5650
5790
 
5651
5791
  var validators = {};
5652
5792
 
@@ -5729,7 +5869,7 @@ module.exports = {
5729
5869
 
5730
5870
 
5731
5871
  /***/ }),
5732
- /* 110 */
5872
+ /* 112 */
5733
5873
  /***/ (function(module, exports) {
5734
5874
 
5735
5875
  module.exports = {
@@ -5737,13 +5877,13 @@ module.exports = {
5737
5877
  };
5738
5878
 
5739
5879
  /***/ }),
5740
- /* 111 */
5880
+ /* 113 */
5741
5881
  /***/ (function(module, exports, __webpack_require__) {
5742
5882
 
5743
5883
  "use strict";
5744
5884
 
5745
5885
 
5746
- var Cancel = __webpack_require__(106);
5886
+ var Cancel = __webpack_require__(108);
5747
5887
 
5748
5888
  /**
5749
5889
  * A `CancelToken` is an object that can be used to request cancellation of an operation.
@@ -5863,7 +6003,7 @@ module.exports = CancelToken;
5863
6003
 
5864
6004
 
5865
6005
  /***/ }),
5866
- /* 112 */
6006
+ /* 114 */
5867
6007
  /***/ (function(module, exports, __webpack_require__) {
5868
6008
 
5869
6009
  "use strict";
@@ -5897,13 +6037,13 @@ module.exports = function spread(callback) {
5897
6037
 
5898
6038
 
5899
6039
  /***/ }),
5900
- /* 113 */
6040
+ /* 115 */
5901
6041
  /***/ (function(module, exports, __webpack_require__) {
5902
6042
 
5903
6043
  "use strict";
5904
6044
 
5905
6045
 
5906
- var utils = __webpack_require__(85);
6046
+ var utils = __webpack_require__(87);
5907
6047
 
5908
6048
  /**
5909
6049
  * Determines whether the payload is an error thrown by Axios
@@ -5917,7 +6057,7 @@ module.exports = function isAxiosError(payload) {
5917
6057
 
5918
6058
 
5919
6059
  /***/ }),
5920
- /* 114 */
6060
+ /* 116 */
5921
6061
  /***/ (function(module, exports, __webpack_require__) {
5922
6062
 
5923
6063
  "use strict";
@@ -5944,15 +6084,15 @@ exports.SdPlatformSdkConfig = SdPlatformSdkConfig;
5944
6084
 
5945
6085
 
5946
6086
  /***/ }),
5947
- /* 115 */
6087
+ /* 117 */
5948
6088
  /***/ (function(module, exports, __webpack_require__) {
5949
6089
 
5950
6090
  "use strict";
5951
6091
 
5952
6092
  Object.defineProperty(exports, "__esModule", { value: true });
5953
6093
  exports.SdPlatformDocumentApi = void 0;
5954
- const SdPlatformRequestId_1 = __webpack_require__(54);
5955
- const ResourcesApi_1 = __webpack_require__(59);
6094
+ const SdPlatformRequestId_1 = __webpack_require__(56);
6095
+ const ResourcesApi_1 = __webpack_require__(61);
5956
6096
  /**
5957
6097
  * Actions related to Documents.
5958
6098
  */
@@ -6036,15 +6176,15 @@ exports.SdPlatformDocumentApi = SdPlatformDocumentApi;
6036
6176
 
6037
6177
 
6038
6178
  /***/ }),
6039
- /* 116 */
6179
+ /* 118 */
6040
6180
  /***/ (function(module, exports, __webpack_require__) {
6041
6181
 
6042
6182
  "use strict";
6043
6183
 
6044
6184
  Object.defineProperty(exports, "__esModule", { value: true });
6045
6185
  exports.SdPlatformOrganizationAnalyticsApi = void 0;
6046
- const SdPlatformRequestId_1 = __webpack_require__(54);
6047
- const ResourcesApi_1 = __webpack_require__(59);
6186
+ const SdPlatformRequestId_1 = __webpack_require__(56);
6187
+ const ResourcesApi_1 = __webpack_require__(61);
6048
6188
  /**
6049
6189
  * Analytics for organizations.
6050
6190
  */
@@ -6065,15 +6205,15 @@ exports.SdPlatformOrganizationAnalyticsApi = SdPlatformOrganizationAnalyticsApi;
6065
6205
 
6066
6206
 
6067
6207
  /***/ }),
6068
- /* 117 */
6208
+ /* 119 */
6069
6209
  /***/ (function(module, exports, __webpack_require__) {
6070
6210
 
6071
6211
  "use strict";
6072
6212
 
6073
6213
  Object.defineProperty(exports, "__esModule", { value: true });
6074
6214
  exports.SdPlatformOpenIDProviderApi = exports.SdPlatformOpenIDProviderEmbeddableFields = void 0;
6075
- const SdPlatformRequestId_1 = __webpack_require__(54);
6076
- const ResourcesApi_1 = __webpack_require__(59);
6215
+ const SdPlatformRequestId_1 = __webpack_require__(56);
6216
+ const ResourcesApi_1 = __webpack_require__(61);
6077
6217
  var SdPlatformOpenIDProviderEmbeddableFields;
6078
6218
  (function (SdPlatformOpenIDProviderEmbeddableFields) {
6079
6219
  SdPlatformOpenIDProviderEmbeddableFields["Organization"] = "organization";
@@ -6129,14 +6269,50 @@ exports.SdPlatformOpenIDProviderApi = SdPlatformOpenIDProviderApi;
6129
6269
 
6130
6270
 
6131
6271
  /***/ }),
6132
- /* 118 */
6272
+ /* 120 */
6273
+ /***/ (function(module, exports, __webpack_require__) {
6274
+
6275
+ "use strict";
6276
+
6277
+ Object.defineProperty(exports, "__esModule", { value: true });
6278
+ exports.SdPlatformApiClientsApi = exports.SdPlatformApiClientsQueryEmbeddableFields = void 0;
6279
+ const SdPlatformRequestId_1 = __webpack_require__(56);
6280
+ const ResourcesApi_1 = __webpack_require__(61);
6281
+ var SdPlatformApiClientsQueryEmbeddableFields;
6282
+ (function (SdPlatformApiClientsQueryEmbeddableFields) {
6283
+ })(SdPlatformApiClientsQueryEmbeddableFields = exports.SdPlatformApiClientsQueryEmbeddableFields || (exports.SdPlatformApiClientsQueryEmbeddableFields = {}));
6284
+ /**
6285
+ * Operations for models on the ShapeDiver Platform.
6286
+ */
6287
+ class SdPlatformApiClientsApi extends ResourcesApi_1.ResourcesApi {
6288
+ get __resourcePath() {
6289
+ return "apiclients";
6290
+ }
6291
+ query(query = {}) {
6292
+ return super.__query(SdPlatformRequestId_1.RequestId.ApiClientQuery, query);
6293
+ }
6294
+ create(body) {
6295
+ return super.__post(SdPlatformRequestId_1.RequestId.ApiClientCreate, body);
6296
+ }
6297
+ patch(id, body) {
6298
+ return super.__patch(SdPlatformRequestId_1.RequestId.ApiClientPatch, id, body);
6299
+ }
6300
+ delete(id) {
6301
+ return super.__delete(SdPlatformRequestId_1.RequestId.ApiClientDelete, id);
6302
+ }
6303
+ }
6304
+ exports.SdPlatformApiClientsApi = SdPlatformApiClientsApi;
6305
+
6306
+
6307
+ /***/ }),
6308
+ /* 121 */
6133
6309
  /***/ (function(module, exports, __webpack_require__) {
6134
6310
 
6135
6311
  "use strict";
6136
6312
 
6137
6313
  Object.defineProperty(exports, "__esModule", { value: true });
6138
6314
  exports.create = void 0;
6139
- const SdPlatformSdk_1 = __webpack_require__(80);
6315
+ const SdPlatformSdk_1 = __webpack_require__(82);
6140
6316
  function create(clientId, clientSecret, baseUrl) {
6141
6317
  const checkIfCredential = (clientId) => {
6142
6318
  return !!(clientId && clientId.clientId);