@shapediver/sdk.platform-api-sdk-v1 2.12.9 → 2.12.11
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
|
@@ -230,51 +230,177 @@ __exportStar(__webpack_require__(55), exports);
|
|
|
230
230
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
231
231
|
exports.SdPlatformApiTokenScopes = void 0;
|
|
232
232
|
/**
|
|
233
|
-
* Scopes for limiting
|
|
233
|
+
* Scopes which can be used for limiting API tokens {@link SdPlatformResponseApiToken}.
|
|
234
234
|
*/
|
|
235
235
|
var SdPlatformApiTokenScopes;
|
|
236
236
|
(function (SdPlatformApiTokenScopes) {
|
|
237
|
+
/**
|
|
238
|
+
* Models readonly.
|
|
239
|
+
*/
|
|
237
240
|
SdPlatformApiTokenScopes["ModelsRead"] = "models-read";
|
|
241
|
+
/**
|
|
242
|
+
* Models read-write.
|
|
243
|
+
*/
|
|
238
244
|
SdPlatformApiTokenScopes["ModelsWrite"] = "models-write";
|
|
245
|
+
/**
|
|
246
|
+
* Models full.
|
|
247
|
+
*/
|
|
239
248
|
SdPlatformApiTokenScopes["ModelsFull"] = "models-full";
|
|
249
|
+
/**
|
|
250
|
+
* Bookmarks full.
|
|
251
|
+
*/
|
|
240
252
|
SdPlatformApiTokenScopes["BookmarksFull"] = "bookmarks-full";
|
|
253
|
+
/**
|
|
254
|
+
* Images readonly.
|
|
255
|
+
*/
|
|
241
256
|
SdPlatformApiTokenScopes["ImagesRead"] = "images-read";
|
|
257
|
+
/**
|
|
258
|
+
* Images read-write.
|
|
259
|
+
*/
|
|
242
260
|
SdPlatformApiTokenScopes["ImagesWrite"] = "images-write";
|
|
261
|
+
/**
|
|
262
|
+
* Images full.
|
|
263
|
+
*/
|
|
243
264
|
SdPlatformApiTokenScopes["ImagesFull"] = "images-full";
|
|
265
|
+
/**
|
|
266
|
+
* Geometry backend tokens.
|
|
267
|
+
*/
|
|
244
268
|
SdPlatformApiTokenScopes["Tokens"] = "tokens";
|
|
269
|
+
/**
|
|
270
|
+
* Tags readonly.
|
|
271
|
+
*/
|
|
245
272
|
SdPlatformApiTokenScopes["TagsRead"] = "tags-read";
|
|
273
|
+
/**
|
|
274
|
+
* Tags read-write.
|
|
275
|
+
*/
|
|
246
276
|
SdPlatformApiTokenScopes["TagsWrite"] = "tags-write";
|
|
277
|
+
/**
|
|
278
|
+
* Users readonly.
|
|
279
|
+
*/
|
|
247
280
|
SdPlatformApiTokenScopes["UsersRead"] = "users-read";
|
|
281
|
+
/**
|
|
282
|
+
* Users read-write.
|
|
283
|
+
*/
|
|
248
284
|
SdPlatformApiTokenScopes["UsersWrite"] = "users-write";
|
|
285
|
+
/**
|
|
286
|
+
* Users full.
|
|
287
|
+
*/
|
|
249
288
|
SdPlatformApiTokenScopes["UsersFull"] = "users-full";
|
|
289
|
+
/**
|
|
290
|
+
* User model sessions read.
|
|
291
|
+
*/
|
|
250
292
|
SdPlatformApiTokenScopes["UserModelSessionsRead"] = "user-model-sessions-read";
|
|
293
|
+
/**
|
|
294
|
+
* Organization model sessions read.
|
|
295
|
+
*/
|
|
251
296
|
SdPlatformApiTokenScopes["OrganizationModelSessionsRead"] = "organization-model-sessions-read";
|
|
297
|
+
/**
|
|
298
|
+
* Model sharing readonly.
|
|
299
|
+
*/
|
|
252
300
|
SdPlatformApiTokenScopes["ModelSharingRead"] = "model-sharing-read";
|
|
301
|
+
/**
|
|
302
|
+
* Model sharing read-write.
|
|
303
|
+
*/
|
|
253
304
|
SdPlatformApiTokenScopes["ModelSharingWrite"] = "model-sharing-write";
|
|
305
|
+
/**
|
|
306
|
+
* Model sharing full.
|
|
307
|
+
*/
|
|
254
308
|
SdPlatformApiTokenScopes["ModelSharingFull"] = "model-sharing-full";
|
|
309
|
+
/**
|
|
310
|
+
* Saved states readonly.
|
|
311
|
+
*/
|
|
255
312
|
SdPlatformApiTokenScopes["SavedStatesRead"] = "saved-states-read";
|
|
313
|
+
/**
|
|
314
|
+
* Saved states read-write.
|
|
315
|
+
*/
|
|
256
316
|
SdPlatformApiTokenScopes["SavedStatesWrite"] = "saved-states-write";
|
|
317
|
+
/**
|
|
318
|
+
* Saved states full.
|
|
319
|
+
*/
|
|
257
320
|
SdPlatformApiTokenScopes["SavedStatesFull"] = "saved-states-full";
|
|
321
|
+
/**
|
|
322
|
+
* Saved state sharing readonly.
|
|
323
|
+
*/
|
|
258
324
|
SdPlatformApiTokenScopes["SavedStateSharingRead"] = "saved-state-sharing-read";
|
|
325
|
+
/**
|
|
326
|
+
* Saved state sharing read-write.
|
|
327
|
+
*/
|
|
259
328
|
SdPlatformApiTokenScopes["SavedStateSharingWrite"] = "saved-state-sharing-write";
|
|
329
|
+
/**
|
|
330
|
+
* Saved state sharing full.
|
|
331
|
+
*/
|
|
260
332
|
SdPlatformApiTokenScopes["SavedStateSharingFull"] = "saved-state-sharing-full";
|
|
333
|
+
/**
|
|
334
|
+
* Actions full.
|
|
335
|
+
*/
|
|
261
336
|
SdPlatformApiTokenScopes["ActionsFull"] = "actions-full";
|
|
337
|
+
/**
|
|
338
|
+
* Api clients full.
|
|
339
|
+
*/
|
|
262
340
|
SdPlatformApiTokenScopes["ApiClientsFull"] = "apiclients-full";
|
|
341
|
+
/**
|
|
342
|
+
* Geometry backend systems full
|
|
343
|
+
*/
|
|
263
344
|
SdPlatformApiTokenScopes["BackendSystemsFull"] = "backendsystems-full";
|
|
345
|
+
/**
|
|
346
|
+
* Domains read.
|
|
347
|
+
*/
|
|
264
348
|
SdPlatformApiTokenScopes["DomainsRead"] = "domains-read";
|
|
349
|
+
/**
|
|
350
|
+
* Domains full.
|
|
351
|
+
*/
|
|
265
352
|
SdPlatformApiTokenScopes["DomainsFull"] = "domains-full";
|
|
353
|
+
/**
|
|
354
|
+
* Http logs full.
|
|
355
|
+
*/
|
|
266
356
|
SdPlatformApiTokenScopes["HttpLogsFull"] = "httplogs-full";
|
|
357
|
+
/**
|
|
358
|
+
* Policies full.
|
|
359
|
+
*/
|
|
267
360
|
SdPlatformApiTokenScopes["PoliciesFull"] = "policies-full";
|
|
361
|
+
/**
|
|
362
|
+
* Organizations readonly.
|
|
363
|
+
*/
|
|
268
364
|
SdPlatformApiTokenScopes["OrganizationsRead"] = "organizations-read";
|
|
365
|
+
/**
|
|
366
|
+
* Organizations read-write.
|
|
367
|
+
*/
|
|
269
368
|
SdPlatformApiTokenScopes["OrganizationsWrite"] = "organizations-write";
|
|
369
|
+
/**
|
|
370
|
+
* Organizations full.
|
|
371
|
+
*/
|
|
270
372
|
SdPlatformApiTokenScopes["OrganizationsFull"] = "organizations-full";
|
|
373
|
+
/**
|
|
374
|
+
* Notifications readonly.
|
|
375
|
+
*/
|
|
271
376
|
SdPlatformApiTokenScopes["NotificationsRead"] = "notifications-read";
|
|
377
|
+
/**
|
|
378
|
+
* Notifications read-write.
|
|
379
|
+
*/
|
|
272
380
|
SdPlatformApiTokenScopes["NotificationsWrite"] = "notifications-write";
|
|
381
|
+
/**
|
|
382
|
+
* Notifications full.
|
|
383
|
+
*/
|
|
273
384
|
SdPlatformApiTokenScopes["NotificationsFull"] = "notifications-full";
|
|
385
|
+
/**
|
|
386
|
+
* Documents readonly.
|
|
387
|
+
*/
|
|
274
388
|
SdPlatformApiTokenScopes["DocumentsRead"] = "documents-read";
|
|
389
|
+
/**
|
|
390
|
+
* Documents read-write.
|
|
391
|
+
*/
|
|
275
392
|
SdPlatformApiTokenScopes["DocumentsWrite"] = "documents-write";
|
|
393
|
+
/**
|
|
394
|
+
* Documents full.
|
|
395
|
+
*/
|
|
276
396
|
SdPlatformApiTokenScopes["DocumentsFull"] = "documents-full";
|
|
397
|
+
/**
|
|
398
|
+
*
|
|
399
|
+
*/
|
|
277
400
|
SdPlatformApiTokenScopes["OpenidProviderFull"] = "openid-provider-full";
|
|
401
|
+
/**
|
|
402
|
+
* All.
|
|
403
|
+
*/
|
|
278
404
|
SdPlatformApiTokenScopes["All"] = "*";
|
|
279
405
|
})(SdPlatformApiTokenScopes = exports.SdPlatformApiTokenScopes || (exports.SdPlatformApiTokenScopes = {}));
|
|
280
406
|
//# sourceMappingURL=SdPlatformApiTokenScopes.js.map
|
|
@@ -356,7 +482,7 @@ var SdPlatformNotificationType;
|
|
|
356
482
|
SdPlatformNotificationType["PluginUpdate"] = "plugin-update";
|
|
357
483
|
SdPlatformNotificationType["OrganizationUserSuspended"] = "organization-user-suspended";
|
|
358
484
|
/**
|
|
359
|
-
*
|
|
485
|
+
* Planned maintenance or downtime.
|
|
360
486
|
*/
|
|
361
487
|
SdPlatformNotificationType["Maintenance"] = "maintenance";
|
|
362
488
|
SdPlatformNotificationType["PlatformFrontendUpdate"] = "platform-frontend-update";
|
|
@@ -364,9 +490,13 @@ var SdPlatformNotificationType;
|
|
|
364
490
|
SdPlatformNotificationType["GeometryBackendUpdate"] = "geometry-backend-update";
|
|
365
491
|
SdPlatformNotificationType["PlatformBackendUpdate"] = "platform-backend-update";
|
|
366
492
|
/**
|
|
367
|
-
*
|
|
493
|
+
* Updates about components like SDKs etc.
|
|
368
494
|
*/
|
|
369
495
|
SdPlatformNotificationType["GenericUpdate"] = "generic-update";
|
|
496
|
+
/**
|
|
497
|
+
* Used whenever a user's or organization's default backend system gets changed by the platform backend.
|
|
498
|
+
*/
|
|
499
|
+
SdPlatformNotificationType["BackendSystemChanged"] = "backend-system-changed";
|
|
370
500
|
})(SdPlatformNotificationType = exports.SdPlatformNotificationType || (exports.SdPlatformNotificationType = {}));
|
|
371
501
|
//# sourceMappingURL=SdPlatformNotificationCommons.js.map
|
|
372
502
|
|
|
@@ -387,9 +517,18 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
387
517
|
|
|
388
518
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
389
519
|
exports.SdPlatformModelFileType = void 0;
|
|
520
|
+
/**
|
|
521
|
+
* Model file type.
|
|
522
|
+
*/
|
|
390
523
|
var SdPlatformModelFileType;
|
|
391
524
|
(function (SdPlatformModelFileType) {
|
|
525
|
+
/**
|
|
526
|
+
* Grasshopper binary file.
|
|
527
|
+
*/
|
|
392
528
|
SdPlatformModelFileType["GH"] = "gh";
|
|
529
|
+
/**
|
|
530
|
+
* Grasshopper XML file.
|
|
531
|
+
*/
|
|
393
532
|
SdPlatformModelFileType["GHX"] = "ghx";
|
|
394
533
|
})(SdPlatformModelFileType = exports.SdPlatformModelFileType || (exports.SdPlatformModelFileType = {}));
|
|
395
534
|
//# sourceMappingURL=SdPlatformModelCommons.js.map
|
|
@@ -407,9 +546,21 @@ exports.SdPlatformModelTokenScopes = void 0;
|
|
|
407
546
|
*/
|
|
408
547
|
var SdPlatformModelTokenScopes;
|
|
409
548
|
(function (SdPlatformModelTokenScopes) {
|
|
549
|
+
/**
|
|
550
|
+
* Group scope "group.view" (viewing permissions for model).
|
|
551
|
+
*/
|
|
410
552
|
SdPlatformModelTokenScopes["GroupView"] = "group.view";
|
|
553
|
+
/**
|
|
554
|
+
* Group scope "group.export" (export permissions for model).
|
|
555
|
+
*/
|
|
411
556
|
SdPlatformModelTokenScopes["GroupExport"] = "group.export";
|
|
557
|
+
/**
|
|
558
|
+
* Group scope "group.owner" (authoring permissions for model).
|
|
559
|
+
*/
|
|
412
560
|
SdPlatformModelTokenScopes["GroupOwner"] = "group.owner";
|
|
561
|
+
/**
|
|
562
|
+
* Group scope "group.analytics" (analytics permissions for model).
|
|
563
|
+
*/
|
|
413
564
|
SdPlatformModelTokenScopes["GroupAnalytics"] = "group.analytics";
|
|
414
565
|
})(SdPlatformModelTokenScopes = exports.SdPlatformModelTokenScopes || (exports.SdPlatformModelTokenScopes = {}));
|
|
415
566
|
//# sourceMappingURL=SdPlatformModelTokenScopes.js.map
|
|
@@ -684,6 +835,7 @@ var SdPlatformPolicyPermissionsUser;
|
|
|
684
835
|
SdPlatformPolicyPermissionsUser["queryImagesByAll"] = "query_images_by_all";
|
|
685
836
|
SdPlatformPolicyPermissionsUser["queryByEmailExact"] = "query_by_email_exact";
|
|
686
837
|
SdPlatformPolicyPermissionsUser["embedOrganization"] = "embed_organization";
|
|
838
|
+
SdPlatformPolicyPermissionsUser["getRestModelOrganization"] = "get_rest_model_organization";
|
|
687
839
|
})(SdPlatformPolicyPermissionsUser = exports.SdPlatformPolicyPermissionsUser || (exports.SdPlatformPolicyPermissionsUser = {}));
|
|
688
840
|
/**
|
|
689
841
|
* Permissions for saved states
|
|
@@ -773,8 +925,17 @@ exports.SdPlatformSavedStateVisibility = exports.SdPlatformOrganizationVisibilit
|
|
|
773
925
|
*/
|
|
774
926
|
var SdPlatformUserVisibility;
|
|
775
927
|
(function (SdPlatformUserVisibility) {
|
|
928
|
+
/**
|
|
929
|
+
* Private visibility.
|
|
930
|
+
*/
|
|
776
931
|
SdPlatformUserVisibility["Private"] = "private";
|
|
932
|
+
/**
|
|
933
|
+
* Organization visibility.
|
|
934
|
+
*/
|
|
777
935
|
SdPlatformUserVisibility["Organization"] = "organization";
|
|
936
|
+
/**
|
|
937
|
+
* Public visibility.
|
|
938
|
+
*/
|
|
778
939
|
SdPlatformUserVisibility["Public"] = "public";
|
|
779
940
|
})(SdPlatformUserVisibility = exports.SdPlatformUserVisibility || (exports.SdPlatformUserVisibility = {}));
|
|
780
941
|
/**
|
|
@@ -782,10 +943,21 @@ var SdPlatformUserVisibility;
|
|
|
782
943
|
*/
|
|
783
944
|
var SdPlatformModelVisibility;
|
|
784
945
|
(function (SdPlatformModelVisibility) {
|
|
946
|
+
/**
|
|
947
|
+
* Private visibility.
|
|
948
|
+
*/
|
|
785
949
|
SdPlatformModelVisibility["Private"] = "private";
|
|
950
|
+
/**
|
|
951
|
+
* Organization visibility.
|
|
952
|
+
*/
|
|
786
953
|
SdPlatformModelVisibility["Organization"] = "organization";
|
|
954
|
+
/**
|
|
955
|
+
* Public visibility.
|
|
956
|
+
*/
|
|
787
957
|
SdPlatformModelVisibility["Public"] = "public";
|
|
788
|
-
/**
|
|
958
|
+
/**
|
|
959
|
+
* "shared" can be used for querying models only
|
|
960
|
+
*/
|
|
789
961
|
SdPlatformModelVisibility["Shared"] = "shared";
|
|
790
962
|
})(SdPlatformModelVisibility = exports.SdPlatformModelVisibility || (exports.SdPlatformModelVisibility = {}));
|
|
791
963
|
/**
|
|
@@ -793,8 +965,17 @@ var SdPlatformModelVisibility;
|
|
|
793
965
|
*/
|
|
794
966
|
var SdPlatformOrganizationVisibility;
|
|
795
967
|
(function (SdPlatformOrganizationVisibility) {
|
|
968
|
+
/**
|
|
969
|
+
* Private visibility.
|
|
970
|
+
*/
|
|
796
971
|
SdPlatformOrganizationVisibility["Private"] = "private";
|
|
972
|
+
/**
|
|
973
|
+
* Organization visibility.
|
|
974
|
+
*/
|
|
797
975
|
SdPlatformOrganizationVisibility["Organization"] = "organization";
|
|
976
|
+
/**
|
|
977
|
+
* Public visibility.
|
|
978
|
+
*/
|
|
798
979
|
SdPlatformOrganizationVisibility["Public"] = "public";
|
|
799
980
|
})(SdPlatformOrganizationVisibility = exports.SdPlatformOrganizationVisibility || (exports.SdPlatformOrganizationVisibility = {}));
|
|
800
981
|
/**
|
|
@@ -802,10 +983,21 @@ var SdPlatformOrganizationVisibility;
|
|
|
802
983
|
*/
|
|
803
984
|
var SdPlatformSavedStateVisibility;
|
|
804
985
|
(function (SdPlatformSavedStateVisibility) {
|
|
986
|
+
/**
|
|
987
|
+
* Private visibility.
|
|
988
|
+
*/
|
|
805
989
|
SdPlatformSavedStateVisibility["Private"] = "private";
|
|
990
|
+
/**
|
|
991
|
+
* Organization visibility.
|
|
992
|
+
*/
|
|
806
993
|
SdPlatformSavedStateVisibility["Organization"] = "organization";
|
|
994
|
+
/**
|
|
995
|
+
* Public visibility.
|
|
996
|
+
*/
|
|
807
997
|
SdPlatformSavedStateVisibility["Public"] = "public";
|
|
808
|
-
/**
|
|
998
|
+
/**
|
|
999
|
+
* "shared" can be used for querying saved states only
|
|
1000
|
+
*/
|
|
809
1001
|
SdPlatformSavedStateVisibility["Shared"] = "shared";
|
|
810
1002
|
})(SdPlatformSavedStateVisibility = exports.SdPlatformSavedStateVisibility || (exports.SdPlatformSavedStateVisibility = {}));
|
|
811
1003
|
//# sourceMappingURL=SdPlatformVisibility.js.map
|
|
@@ -847,7 +1039,13 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
847
1039
|
exports.SdPlatformSortingOrder = void 0;
|
|
848
1040
|
var SdPlatformSortingOrder;
|
|
849
1041
|
(function (SdPlatformSortingOrder) {
|
|
1042
|
+
/**
|
|
1043
|
+
* Sort in ascending order.
|
|
1044
|
+
*/
|
|
850
1045
|
SdPlatformSortingOrder["Asc"] = "asc";
|
|
1046
|
+
/**
|
|
1047
|
+
* Sort in descending order.
|
|
1048
|
+
*/
|
|
851
1049
|
SdPlatformSortingOrder["Desc"] = "desc";
|
|
852
1050
|
})(SdPlatformSortingOrder = exports.SdPlatformSortingOrder || (exports.SdPlatformSortingOrder = {}));
|
|
853
1051
|
//# sourceMappingURL=SdPlatformBaseRequestTypes.js.map
|
|
@@ -1110,7 +1308,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
1110
1308
|
"use strict";
|
|
1111
1309
|
|
|
1112
1310
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1113
|
-
exports.SdPlatformResponseChargebeeCurrencyCode = void 0;
|
|
1311
|
+
exports.SdPlatformResponseChargebeePeriodUnit = exports.SdPlatformResponseChargebeeCurrencyCode = void 0;
|
|
1114
1312
|
var SdPlatformResponseChargebeeCurrencyCode;
|
|
1115
1313
|
(function (SdPlatformResponseChargebeeCurrencyCode) {
|
|
1116
1314
|
SdPlatformResponseChargebeeCurrencyCode["USD"] = "USD";
|
|
@@ -1118,6 +1316,25 @@ var SdPlatformResponseChargebeeCurrencyCode;
|
|
|
1118
1316
|
SdPlatformResponseChargebeeCurrencyCode["EUR"] = "EUR";
|
|
1119
1317
|
SdPlatformResponseChargebeeCurrencyCode["GBP"] = "GBP";
|
|
1120
1318
|
})(SdPlatformResponseChargebeeCurrencyCode = exports.SdPlatformResponseChargebeeCurrencyCode || (exports.SdPlatformResponseChargebeeCurrencyCode = {}));
|
|
1319
|
+
var SdPlatformResponseChargebeePeriodUnit;
|
|
1320
|
+
(function (SdPlatformResponseChargebeePeriodUnit) {
|
|
1321
|
+
/**
|
|
1322
|
+
* Charge based on day(s).
|
|
1323
|
+
*/
|
|
1324
|
+
SdPlatformResponseChargebeePeriodUnit["Day"] = "day";
|
|
1325
|
+
/**
|
|
1326
|
+
* Charge based on week(s).
|
|
1327
|
+
*/
|
|
1328
|
+
SdPlatformResponseChargebeePeriodUnit["Week"] = "week";
|
|
1329
|
+
/**
|
|
1330
|
+
* Charge based on month(s).
|
|
1331
|
+
*/
|
|
1332
|
+
SdPlatformResponseChargebeePeriodUnit["Month"] = "month";
|
|
1333
|
+
/**
|
|
1334
|
+
* Charge based on year(s).
|
|
1335
|
+
*/
|
|
1336
|
+
SdPlatformResponseChargebeePeriodUnit["Year"] = "year";
|
|
1337
|
+
})(SdPlatformResponseChargebeePeriodUnit = exports.SdPlatformResponseChargebeePeriodUnit || (exports.SdPlatformResponseChargebeePeriodUnit = {}));
|
|
1121
1338
|
//# sourceMappingURL=SdPlatformResponseChargebee.js.map
|
|
1122
1339
|
|
|
1123
1340
|
/***/ }),
|
|
@@ -2928,11 +3145,11 @@ class SdPlatformOrganizationApi extends ResourcesApi_1.ResourcesApi {
|
|
|
2928
3145
|
/**
|
|
2929
3146
|
* Delete organization invitation.
|
|
2930
3147
|
* @param organization_id
|
|
2931
|
-
* @param
|
|
3148
|
+
* @param id receiver id OR notification id in case of email notification
|
|
2932
3149
|
* @returns
|
|
2933
3150
|
*/
|
|
2934
|
-
deleteOrganizationInvitation(organization_id,
|
|
2935
|
-
return super.__action(SdPlatformRequestId_1.RequestId.OrganizationInvitationDelete, ResourcesApi_1.Action.Delete, `${organization_id}/invitation/${
|
|
3151
|
+
deleteOrganizationInvitation(organization_id, id) {
|
|
3152
|
+
return super.__action(SdPlatformRequestId_1.RequestId.OrganizationInvitationDelete, ResourcesApi_1.Action.Delete, `${organization_id}/invitation/${id}`, {});
|
|
2936
3153
|
}
|
|
2937
3154
|
/**
|
|
2938
3155
|
* Get organization invitations.
|
package/dist/bundle.node.js
CHANGED
|
@@ -230,51 +230,177 @@ __exportStar(__webpack_require__(55), exports);
|
|
|
230
230
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
231
231
|
exports.SdPlatformApiTokenScopes = void 0;
|
|
232
232
|
/**
|
|
233
|
-
* Scopes for limiting
|
|
233
|
+
* Scopes which can be used for limiting API tokens {@link SdPlatformResponseApiToken}.
|
|
234
234
|
*/
|
|
235
235
|
var SdPlatformApiTokenScopes;
|
|
236
236
|
(function (SdPlatformApiTokenScopes) {
|
|
237
|
+
/**
|
|
238
|
+
* Models readonly.
|
|
239
|
+
*/
|
|
237
240
|
SdPlatformApiTokenScopes["ModelsRead"] = "models-read";
|
|
241
|
+
/**
|
|
242
|
+
* Models read-write.
|
|
243
|
+
*/
|
|
238
244
|
SdPlatformApiTokenScopes["ModelsWrite"] = "models-write";
|
|
245
|
+
/**
|
|
246
|
+
* Models full.
|
|
247
|
+
*/
|
|
239
248
|
SdPlatformApiTokenScopes["ModelsFull"] = "models-full";
|
|
249
|
+
/**
|
|
250
|
+
* Bookmarks full.
|
|
251
|
+
*/
|
|
240
252
|
SdPlatformApiTokenScopes["BookmarksFull"] = "bookmarks-full";
|
|
253
|
+
/**
|
|
254
|
+
* Images readonly.
|
|
255
|
+
*/
|
|
241
256
|
SdPlatformApiTokenScopes["ImagesRead"] = "images-read";
|
|
257
|
+
/**
|
|
258
|
+
* Images read-write.
|
|
259
|
+
*/
|
|
242
260
|
SdPlatformApiTokenScopes["ImagesWrite"] = "images-write";
|
|
261
|
+
/**
|
|
262
|
+
* Images full.
|
|
263
|
+
*/
|
|
243
264
|
SdPlatformApiTokenScopes["ImagesFull"] = "images-full";
|
|
265
|
+
/**
|
|
266
|
+
* Geometry backend tokens.
|
|
267
|
+
*/
|
|
244
268
|
SdPlatformApiTokenScopes["Tokens"] = "tokens";
|
|
269
|
+
/**
|
|
270
|
+
* Tags readonly.
|
|
271
|
+
*/
|
|
245
272
|
SdPlatformApiTokenScopes["TagsRead"] = "tags-read";
|
|
273
|
+
/**
|
|
274
|
+
* Tags read-write.
|
|
275
|
+
*/
|
|
246
276
|
SdPlatformApiTokenScopes["TagsWrite"] = "tags-write";
|
|
277
|
+
/**
|
|
278
|
+
* Users readonly.
|
|
279
|
+
*/
|
|
247
280
|
SdPlatformApiTokenScopes["UsersRead"] = "users-read";
|
|
281
|
+
/**
|
|
282
|
+
* Users read-write.
|
|
283
|
+
*/
|
|
248
284
|
SdPlatformApiTokenScopes["UsersWrite"] = "users-write";
|
|
285
|
+
/**
|
|
286
|
+
* Users full.
|
|
287
|
+
*/
|
|
249
288
|
SdPlatformApiTokenScopes["UsersFull"] = "users-full";
|
|
289
|
+
/**
|
|
290
|
+
* User model sessions read.
|
|
291
|
+
*/
|
|
250
292
|
SdPlatformApiTokenScopes["UserModelSessionsRead"] = "user-model-sessions-read";
|
|
293
|
+
/**
|
|
294
|
+
* Organization model sessions read.
|
|
295
|
+
*/
|
|
251
296
|
SdPlatformApiTokenScopes["OrganizationModelSessionsRead"] = "organization-model-sessions-read";
|
|
297
|
+
/**
|
|
298
|
+
* Model sharing readonly.
|
|
299
|
+
*/
|
|
252
300
|
SdPlatformApiTokenScopes["ModelSharingRead"] = "model-sharing-read";
|
|
301
|
+
/**
|
|
302
|
+
* Model sharing read-write.
|
|
303
|
+
*/
|
|
253
304
|
SdPlatformApiTokenScopes["ModelSharingWrite"] = "model-sharing-write";
|
|
305
|
+
/**
|
|
306
|
+
* Model sharing full.
|
|
307
|
+
*/
|
|
254
308
|
SdPlatformApiTokenScopes["ModelSharingFull"] = "model-sharing-full";
|
|
309
|
+
/**
|
|
310
|
+
* Saved states readonly.
|
|
311
|
+
*/
|
|
255
312
|
SdPlatformApiTokenScopes["SavedStatesRead"] = "saved-states-read";
|
|
313
|
+
/**
|
|
314
|
+
* Saved states read-write.
|
|
315
|
+
*/
|
|
256
316
|
SdPlatformApiTokenScopes["SavedStatesWrite"] = "saved-states-write";
|
|
317
|
+
/**
|
|
318
|
+
* Saved states full.
|
|
319
|
+
*/
|
|
257
320
|
SdPlatformApiTokenScopes["SavedStatesFull"] = "saved-states-full";
|
|
321
|
+
/**
|
|
322
|
+
* Saved state sharing readonly.
|
|
323
|
+
*/
|
|
258
324
|
SdPlatformApiTokenScopes["SavedStateSharingRead"] = "saved-state-sharing-read";
|
|
325
|
+
/**
|
|
326
|
+
* Saved state sharing read-write.
|
|
327
|
+
*/
|
|
259
328
|
SdPlatformApiTokenScopes["SavedStateSharingWrite"] = "saved-state-sharing-write";
|
|
329
|
+
/**
|
|
330
|
+
* Saved state sharing full.
|
|
331
|
+
*/
|
|
260
332
|
SdPlatformApiTokenScopes["SavedStateSharingFull"] = "saved-state-sharing-full";
|
|
333
|
+
/**
|
|
334
|
+
* Actions full.
|
|
335
|
+
*/
|
|
261
336
|
SdPlatformApiTokenScopes["ActionsFull"] = "actions-full";
|
|
337
|
+
/**
|
|
338
|
+
* Api clients full.
|
|
339
|
+
*/
|
|
262
340
|
SdPlatformApiTokenScopes["ApiClientsFull"] = "apiclients-full";
|
|
341
|
+
/**
|
|
342
|
+
* Geometry backend systems full
|
|
343
|
+
*/
|
|
263
344
|
SdPlatformApiTokenScopes["BackendSystemsFull"] = "backendsystems-full";
|
|
345
|
+
/**
|
|
346
|
+
* Domains read.
|
|
347
|
+
*/
|
|
264
348
|
SdPlatformApiTokenScopes["DomainsRead"] = "domains-read";
|
|
349
|
+
/**
|
|
350
|
+
* Domains full.
|
|
351
|
+
*/
|
|
265
352
|
SdPlatformApiTokenScopes["DomainsFull"] = "domains-full";
|
|
353
|
+
/**
|
|
354
|
+
* Http logs full.
|
|
355
|
+
*/
|
|
266
356
|
SdPlatformApiTokenScopes["HttpLogsFull"] = "httplogs-full";
|
|
357
|
+
/**
|
|
358
|
+
* Policies full.
|
|
359
|
+
*/
|
|
267
360
|
SdPlatformApiTokenScopes["PoliciesFull"] = "policies-full";
|
|
361
|
+
/**
|
|
362
|
+
* Organizations readonly.
|
|
363
|
+
*/
|
|
268
364
|
SdPlatformApiTokenScopes["OrganizationsRead"] = "organizations-read";
|
|
365
|
+
/**
|
|
366
|
+
* Organizations read-write.
|
|
367
|
+
*/
|
|
269
368
|
SdPlatformApiTokenScopes["OrganizationsWrite"] = "organizations-write";
|
|
369
|
+
/**
|
|
370
|
+
* Organizations full.
|
|
371
|
+
*/
|
|
270
372
|
SdPlatformApiTokenScopes["OrganizationsFull"] = "organizations-full";
|
|
373
|
+
/**
|
|
374
|
+
* Notifications readonly.
|
|
375
|
+
*/
|
|
271
376
|
SdPlatformApiTokenScopes["NotificationsRead"] = "notifications-read";
|
|
377
|
+
/**
|
|
378
|
+
* Notifications read-write.
|
|
379
|
+
*/
|
|
272
380
|
SdPlatformApiTokenScopes["NotificationsWrite"] = "notifications-write";
|
|
381
|
+
/**
|
|
382
|
+
* Notifications full.
|
|
383
|
+
*/
|
|
273
384
|
SdPlatformApiTokenScopes["NotificationsFull"] = "notifications-full";
|
|
385
|
+
/**
|
|
386
|
+
* Documents readonly.
|
|
387
|
+
*/
|
|
274
388
|
SdPlatformApiTokenScopes["DocumentsRead"] = "documents-read";
|
|
389
|
+
/**
|
|
390
|
+
* Documents read-write.
|
|
391
|
+
*/
|
|
275
392
|
SdPlatformApiTokenScopes["DocumentsWrite"] = "documents-write";
|
|
393
|
+
/**
|
|
394
|
+
* Documents full.
|
|
395
|
+
*/
|
|
276
396
|
SdPlatformApiTokenScopes["DocumentsFull"] = "documents-full";
|
|
397
|
+
/**
|
|
398
|
+
*
|
|
399
|
+
*/
|
|
277
400
|
SdPlatformApiTokenScopes["OpenidProviderFull"] = "openid-provider-full";
|
|
401
|
+
/**
|
|
402
|
+
* All.
|
|
403
|
+
*/
|
|
278
404
|
SdPlatformApiTokenScopes["All"] = "*";
|
|
279
405
|
})(SdPlatformApiTokenScopes = exports.SdPlatformApiTokenScopes || (exports.SdPlatformApiTokenScopes = {}));
|
|
280
406
|
//# sourceMappingURL=SdPlatformApiTokenScopes.js.map
|
|
@@ -356,7 +482,7 @@ var SdPlatformNotificationType;
|
|
|
356
482
|
SdPlatformNotificationType["PluginUpdate"] = "plugin-update";
|
|
357
483
|
SdPlatformNotificationType["OrganizationUserSuspended"] = "organization-user-suspended";
|
|
358
484
|
/**
|
|
359
|
-
*
|
|
485
|
+
* Planned maintenance or downtime.
|
|
360
486
|
*/
|
|
361
487
|
SdPlatformNotificationType["Maintenance"] = "maintenance";
|
|
362
488
|
SdPlatformNotificationType["PlatformFrontendUpdate"] = "platform-frontend-update";
|
|
@@ -364,9 +490,13 @@ var SdPlatformNotificationType;
|
|
|
364
490
|
SdPlatformNotificationType["GeometryBackendUpdate"] = "geometry-backend-update";
|
|
365
491
|
SdPlatformNotificationType["PlatformBackendUpdate"] = "platform-backend-update";
|
|
366
492
|
/**
|
|
367
|
-
*
|
|
493
|
+
* Updates about components like SDKs etc.
|
|
368
494
|
*/
|
|
369
495
|
SdPlatformNotificationType["GenericUpdate"] = "generic-update";
|
|
496
|
+
/**
|
|
497
|
+
* Used whenever a user's or organization's default backend system gets changed by the platform backend.
|
|
498
|
+
*/
|
|
499
|
+
SdPlatformNotificationType["BackendSystemChanged"] = "backend-system-changed";
|
|
370
500
|
})(SdPlatformNotificationType = exports.SdPlatformNotificationType || (exports.SdPlatformNotificationType = {}));
|
|
371
501
|
//# sourceMappingURL=SdPlatformNotificationCommons.js.map
|
|
372
502
|
|
|
@@ -387,9 +517,18 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
387
517
|
|
|
388
518
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
389
519
|
exports.SdPlatformModelFileType = void 0;
|
|
520
|
+
/**
|
|
521
|
+
* Model file type.
|
|
522
|
+
*/
|
|
390
523
|
var SdPlatformModelFileType;
|
|
391
524
|
(function (SdPlatformModelFileType) {
|
|
525
|
+
/**
|
|
526
|
+
* Grasshopper binary file.
|
|
527
|
+
*/
|
|
392
528
|
SdPlatformModelFileType["GH"] = "gh";
|
|
529
|
+
/**
|
|
530
|
+
* Grasshopper XML file.
|
|
531
|
+
*/
|
|
393
532
|
SdPlatformModelFileType["GHX"] = "ghx";
|
|
394
533
|
})(SdPlatformModelFileType = exports.SdPlatformModelFileType || (exports.SdPlatformModelFileType = {}));
|
|
395
534
|
//# sourceMappingURL=SdPlatformModelCommons.js.map
|
|
@@ -407,9 +546,21 @@ exports.SdPlatformModelTokenScopes = void 0;
|
|
|
407
546
|
*/
|
|
408
547
|
var SdPlatformModelTokenScopes;
|
|
409
548
|
(function (SdPlatformModelTokenScopes) {
|
|
549
|
+
/**
|
|
550
|
+
* Group scope "group.view" (viewing permissions for model).
|
|
551
|
+
*/
|
|
410
552
|
SdPlatformModelTokenScopes["GroupView"] = "group.view";
|
|
553
|
+
/**
|
|
554
|
+
* Group scope "group.export" (export permissions for model).
|
|
555
|
+
*/
|
|
411
556
|
SdPlatformModelTokenScopes["GroupExport"] = "group.export";
|
|
557
|
+
/**
|
|
558
|
+
* Group scope "group.owner" (authoring permissions for model).
|
|
559
|
+
*/
|
|
412
560
|
SdPlatformModelTokenScopes["GroupOwner"] = "group.owner";
|
|
561
|
+
/**
|
|
562
|
+
* Group scope "group.analytics" (analytics permissions for model).
|
|
563
|
+
*/
|
|
413
564
|
SdPlatformModelTokenScopes["GroupAnalytics"] = "group.analytics";
|
|
414
565
|
})(SdPlatformModelTokenScopes = exports.SdPlatformModelTokenScopes || (exports.SdPlatformModelTokenScopes = {}));
|
|
415
566
|
//# sourceMappingURL=SdPlatformModelTokenScopes.js.map
|
|
@@ -684,6 +835,7 @@ var SdPlatformPolicyPermissionsUser;
|
|
|
684
835
|
SdPlatformPolicyPermissionsUser["queryImagesByAll"] = "query_images_by_all";
|
|
685
836
|
SdPlatformPolicyPermissionsUser["queryByEmailExact"] = "query_by_email_exact";
|
|
686
837
|
SdPlatformPolicyPermissionsUser["embedOrganization"] = "embed_organization";
|
|
838
|
+
SdPlatformPolicyPermissionsUser["getRestModelOrganization"] = "get_rest_model_organization";
|
|
687
839
|
})(SdPlatformPolicyPermissionsUser = exports.SdPlatformPolicyPermissionsUser || (exports.SdPlatformPolicyPermissionsUser = {}));
|
|
688
840
|
/**
|
|
689
841
|
* Permissions for saved states
|
|
@@ -773,8 +925,17 @@ exports.SdPlatformSavedStateVisibility = exports.SdPlatformOrganizationVisibilit
|
|
|
773
925
|
*/
|
|
774
926
|
var SdPlatformUserVisibility;
|
|
775
927
|
(function (SdPlatformUserVisibility) {
|
|
928
|
+
/**
|
|
929
|
+
* Private visibility.
|
|
930
|
+
*/
|
|
776
931
|
SdPlatformUserVisibility["Private"] = "private";
|
|
932
|
+
/**
|
|
933
|
+
* Organization visibility.
|
|
934
|
+
*/
|
|
777
935
|
SdPlatformUserVisibility["Organization"] = "organization";
|
|
936
|
+
/**
|
|
937
|
+
* Public visibility.
|
|
938
|
+
*/
|
|
778
939
|
SdPlatformUserVisibility["Public"] = "public";
|
|
779
940
|
})(SdPlatformUserVisibility = exports.SdPlatformUserVisibility || (exports.SdPlatformUserVisibility = {}));
|
|
780
941
|
/**
|
|
@@ -782,10 +943,21 @@ var SdPlatformUserVisibility;
|
|
|
782
943
|
*/
|
|
783
944
|
var SdPlatformModelVisibility;
|
|
784
945
|
(function (SdPlatformModelVisibility) {
|
|
946
|
+
/**
|
|
947
|
+
* Private visibility.
|
|
948
|
+
*/
|
|
785
949
|
SdPlatformModelVisibility["Private"] = "private";
|
|
950
|
+
/**
|
|
951
|
+
* Organization visibility.
|
|
952
|
+
*/
|
|
786
953
|
SdPlatformModelVisibility["Organization"] = "organization";
|
|
954
|
+
/**
|
|
955
|
+
* Public visibility.
|
|
956
|
+
*/
|
|
787
957
|
SdPlatformModelVisibility["Public"] = "public";
|
|
788
|
-
/**
|
|
958
|
+
/**
|
|
959
|
+
* "shared" can be used for querying models only
|
|
960
|
+
*/
|
|
789
961
|
SdPlatformModelVisibility["Shared"] = "shared";
|
|
790
962
|
})(SdPlatformModelVisibility = exports.SdPlatformModelVisibility || (exports.SdPlatformModelVisibility = {}));
|
|
791
963
|
/**
|
|
@@ -793,8 +965,17 @@ var SdPlatformModelVisibility;
|
|
|
793
965
|
*/
|
|
794
966
|
var SdPlatformOrganizationVisibility;
|
|
795
967
|
(function (SdPlatformOrganizationVisibility) {
|
|
968
|
+
/**
|
|
969
|
+
* Private visibility.
|
|
970
|
+
*/
|
|
796
971
|
SdPlatformOrganizationVisibility["Private"] = "private";
|
|
972
|
+
/**
|
|
973
|
+
* Organization visibility.
|
|
974
|
+
*/
|
|
797
975
|
SdPlatformOrganizationVisibility["Organization"] = "organization";
|
|
976
|
+
/**
|
|
977
|
+
* Public visibility.
|
|
978
|
+
*/
|
|
798
979
|
SdPlatformOrganizationVisibility["Public"] = "public";
|
|
799
980
|
})(SdPlatformOrganizationVisibility = exports.SdPlatformOrganizationVisibility || (exports.SdPlatformOrganizationVisibility = {}));
|
|
800
981
|
/**
|
|
@@ -802,10 +983,21 @@ var SdPlatformOrganizationVisibility;
|
|
|
802
983
|
*/
|
|
803
984
|
var SdPlatformSavedStateVisibility;
|
|
804
985
|
(function (SdPlatformSavedStateVisibility) {
|
|
986
|
+
/**
|
|
987
|
+
* Private visibility.
|
|
988
|
+
*/
|
|
805
989
|
SdPlatformSavedStateVisibility["Private"] = "private";
|
|
990
|
+
/**
|
|
991
|
+
* Organization visibility.
|
|
992
|
+
*/
|
|
806
993
|
SdPlatformSavedStateVisibility["Organization"] = "organization";
|
|
994
|
+
/**
|
|
995
|
+
* Public visibility.
|
|
996
|
+
*/
|
|
807
997
|
SdPlatformSavedStateVisibility["Public"] = "public";
|
|
808
|
-
/**
|
|
998
|
+
/**
|
|
999
|
+
* "shared" can be used for querying saved states only
|
|
1000
|
+
*/
|
|
809
1001
|
SdPlatformSavedStateVisibility["Shared"] = "shared";
|
|
810
1002
|
})(SdPlatformSavedStateVisibility = exports.SdPlatformSavedStateVisibility || (exports.SdPlatformSavedStateVisibility = {}));
|
|
811
1003
|
//# sourceMappingURL=SdPlatformVisibility.js.map
|
|
@@ -847,7 +1039,13 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
847
1039
|
exports.SdPlatformSortingOrder = void 0;
|
|
848
1040
|
var SdPlatformSortingOrder;
|
|
849
1041
|
(function (SdPlatformSortingOrder) {
|
|
1042
|
+
/**
|
|
1043
|
+
* Sort in ascending order.
|
|
1044
|
+
*/
|
|
850
1045
|
SdPlatformSortingOrder["Asc"] = "asc";
|
|
1046
|
+
/**
|
|
1047
|
+
* Sort in descending order.
|
|
1048
|
+
*/
|
|
851
1049
|
SdPlatformSortingOrder["Desc"] = "desc";
|
|
852
1050
|
})(SdPlatformSortingOrder = exports.SdPlatformSortingOrder || (exports.SdPlatformSortingOrder = {}));
|
|
853
1051
|
//# sourceMappingURL=SdPlatformBaseRequestTypes.js.map
|
|
@@ -1110,7 +1308,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
1110
1308
|
"use strict";
|
|
1111
1309
|
|
|
1112
1310
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1113
|
-
exports.SdPlatformResponseChargebeeCurrencyCode = void 0;
|
|
1311
|
+
exports.SdPlatformResponseChargebeePeriodUnit = exports.SdPlatformResponseChargebeeCurrencyCode = void 0;
|
|
1114
1312
|
var SdPlatformResponseChargebeeCurrencyCode;
|
|
1115
1313
|
(function (SdPlatformResponseChargebeeCurrencyCode) {
|
|
1116
1314
|
SdPlatformResponseChargebeeCurrencyCode["USD"] = "USD";
|
|
@@ -1118,6 +1316,25 @@ var SdPlatformResponseChargebeeCurrencyCode;
|
|
|
1118
1316
|
SdPlatformResponseChargebeeCurrencyCode["EUR"] = "EUR";
|
|
1119
1317
|
SdPlatformResponseChargebeeCurrencyCode["GBP"] = "GBP";
|
|
1120
1318
|
})(SdPlatformResponseChargebeeCurrencyCode = exports.SdPlatformResponseChargebeeCurrencyCode || (exports.SdPlatformResponseChargebeeCurrencyCode = {}));
|
|
1319
|
+
var SdPlatformResponseChargebeePeriodUnit;
|
|
1320
|
+
(function (SdPlatformResponseChargebeePeriodUnit) {
|
|
1321
|
+
/**
|
|
1322
|
+
* Charge based on day(s).
|
|
1323
|
+
*/
|
|
1324
|
+
SdPlatformResponseChargebeePeriodUnit["Day"] = "day";
|
|
1325
|
+
/**
|
|
1326
|
+
* Charge based on week(s).
|
|
1327
|
+
*/
|
|
1328
|
+
SdPlatformResponseChargebeePeriodUnit["Week"] = "week";
|
|
1329
|
+
/**
|
|
1330
|
+
* Charge based on month(s).
|
|
1331
|
+
*/
|
|
1332
|
+
SdPlatformResponseChargebeePeriodUnit["Month"] = "month";
|
|
1333
|
+
/**
|
|
1334
|
+
* Charge based on year(s).
|
|
1335
|
+
*/
|
|
1336
|
+
SdPlatformResponseChargebeePeriodUnit["Year"] = "year";
|
|
1337
|
+
})(SdPlatformResponseChargebeePeriodUnit = exports.SdPlatformResponseChargebeePeriodUnit || (exports.SdPlatformResponseChargebeePeriodUnit = {}));
|
|
1121
1338
|
//# sourceMappingURL=SdPlatformResponseChargebee.js.map
|
|
1122
1339
|
|
|
1123
1340
|
/***/ }),
|
|
@@ -2928,11 +3145,11 @@ class SdPlatformOrganizationApi extends ResourcesApi_1.ResourcesApi {
|
|
|
2928
3145
|
/**
|
|
2929
3146
|
* Delete organization invitation.
|
|
2930
3147
|
* @param organization_id
|
|
2931
|
-
* @param
|
|
3148
|
+
* @param id receiver id OR notification id in case of email notification
|
|
2932
3149
|
* @returns
|
|
2933
3150
|
*/
|
|
2934
|
-
deleteOrganizationInvitation(organization_id,
|
|
2935
|
-
return super.__action(SdPlatformRequestId_1.RequestId.OrganizationInvitationDelete, ResourcesApi_1.Action.Delete, `${organization_id}/invitation/${
|
|
3151
|
+
deleteOrganizationInvitation(organization_id, id) {
|
|
3152
|
+
return super.__action(SdPlatformRequestId_1.RequestId.OrganizationInvitationDelete, ResourcesApi_1.Action.Delete, `${organization_id}/invitation/${id}`, {});
|
|
2936
3153
|
}
|
|
2937
3154
|
/**
|
|
2938
3155
|
* Get organization invitations.
|
|
@@ -6349,30 +6566,25 @@ RedirectableRequest.prototype._performRequest = function () {
|
|
|
6349
6566
|
// If specified, use the agent corresponding to the protocol
|
|
6350
6567
|
// (HTTP and HTTPS use different types of agents)
|
|
6351
6568
|
if (this._options.agents) {
|
|
6352
|
-
var scheme = protocol.
|
|
6569
|
+
var scheme = protocol.substr(0, protocol.length - 1);
|
|
6353
6570
|
this._options.agent = this._options.agents[scheme];
|
|
6354
6571
|
}
|
|
6355
6572
|
|
|
6356
|
-
// Create the native request
|
|
6573
|
+
// Create the native request
|
|
6357
6574
|
var request = this._currentRequest =
|
|
6358
6575
|
nativeProtocol.request(this._options, this._onNativeResponse);
|
|
6576
|
+
this._currentUrl = url.format(this._options);
|
|
6577
|
+
|
|
6578
|
+
// Set up event handlers
|
|
6359
6579
|
request._redirectable = this;
|
|
6360
|
-
for (var
|
|
6361
|
-
request.on(
|
|
6580
|
+
for (var e = 0; e < events.length; e++) {
|
|
6581
|
+
request.on(events[e], eventHandlers[events[e]]);
|
|
6362
6582
|
}
|
|
6363
6583
|
|
|
6364
|
-
// RFC7230§5.3.1: When making a request directly to an origin server, […]
|
|
6365
|
-
// a client MUST send only the absolute path […] as the request-target.
|
|
6366
|
-
this._currentUrl = /^\//.test(this._options.path) ?
|
|
6367
|
-
url.format(this._options) :
|
|
6368
|
-
// When making a request to a proxy, […]
|
|
6369
|
-
// a client MUST send the target URI in absolute-form […].
|
|
6370
|
-
this._currentUrl = this._options.path;
|
|
6371
|
-
|
|
6372
6584
|
// End a redirected request
|
|
6373
6585
|
// (The first request must be ended explicitly with RedirectableRequest#end)
|
|
6374
6586
|
if (this._isRedirect) {
|
|
6375
|
-
// Write the request entity and end
|
|
6587
|
+
// Write the request entity and end.
|
|
6376
6588
|
var i = 0;
|
|
6377
6589
|
var self = this;
|
|
6378
6590
|
var buffers = this._requestBodyBuffers;
|
|
@@ -6446,21 +6658,10 @@ RedirectableRequest.prototype._processResponse = function (response) {
|
|
|
6446
6658
|
return;
|
|
6447
6659
|
}
|
|
6448
6660
|
|
|
6449
|
-
// Store the request headers if applicable
|
|
6450
|
-
var requestHeaders;
|
|
6451
|
-
var beforeRedirect = this._options.beforeRedirect;
|
|
6452
|
-
if (beforeRedirect) {
|
|
6453
|
-
requestHeaders = Object.assign({
|
|
6454
|
-
// The Host header was set by nativeProtocol.request
|
|
6455
|
-
Host: response.req.getHeader("host"),
|
|
6456
|
-
}, this._options.headers);
|
|
6457
|
-
}
|
|
6458
|
-
|
|
6459
6661
|
// RFC7231§6.4: Automatic redirection needs to done with
|
|
6460
6662
|
// care for methods not known to be safe, […]
|
|
6461
6663
|
// RFC7231§6.4.2–3: For historical reasons, a user agent MAY change
|
|
6462
6664
|
// the request method from POST to GET for the subsequent request.
|
|
6463
|
-
var method = this._options.method;
|
|
6464
6665
|
if ((statusCode === 301 || statusCode === 302) && this._options.method === "POST" ||
|
|
6465
6666
|
// RFC7231§6.4.4: The 303 (See Other) status code indicates that
|
|
6466
6667
|
// the server is redirecting the user agent to a different resource […]
|
|
@@ -6508,18 +6709,10 @@ RedirectableRequest.prototype._processResponse = function (response) {
|
|
|
6508
6709
|
}
|
|
6509
6710
|
|
|
6510
6711
|
// Evaluate the beforeRedirect callback
|
|
6511
|
-
if (typeof beforeRedirect === "function") {
|
|
6512
|
-
var responseDetails = {
|
|
6513
|
-
headers: response.headers,
|
|
6514
|
-
statusCode: statusCode,
|
|
6515
|
-
};
|
|
6516
|
-
var requestDetails = {
|
|
6517
|
-
url: currentUrl,
|
|
6518
|
-
method: method,
|
|
6519
|
-
headers: requestHeaders,
|
|
6520
|
-
};
|
|
6712
|
+
if (typeof this._options.beforeRedirect === "function") {
|
|
6713
|
+
var responseDetails = { headers: response.headers };
|
|
6521
6714
|
try {
|
|
6522
|
-
beforeRedirect(this._options, responseDetails
|
|
6715
|
+
this._options.beforeRedirect.call(null, this._options, responseDetails);
|
|
6523
6716
|
}
|
|
6524
6717
|
catch (err) {
|
|
6525
6718
|
this.emit("error", err);
|
|
@@ -6660,8 +6853,8 @@ function createErrorType(code, defaultMessage) {
|
|
|
6660
6853
|
}
|
|
6661
6854
|
|
|
6662
6855
|
function abortRequest(request) {
|
|
6663
|
-
for (var
|
|
6664
|
-
request.removeListener(
|
|
6856
|
+
for (var e = 0; e < events.length; e++) {
|
|
6857
|
+
request.removeListener(events[e], eventHandlers[events[e]]);
|
|
6665
6858
|
}
|
|
6666
6859
|
request.on("error", noop);
|
|
6667
6860
|
request.abort();
|
|
@@ -7192,7 +7385,7 @@ function setup(env) {
|
|
|
7192
7385
|
namespaces = split[i].replace(/\*/g, '.*?');
|
|
7193
7386
|
|
|
7194
7387
|
if (namespaces[0] === '-') {
|
|
7195
|
-
createDebug.skips.push(new RegExp('^' + namespaces.
|
|
7388
|
+
createDebug.skips.push(new RegExp('^' + namespaces.substr(1) + '$'));
|
|
7196
7389
|
} else {
|
|
7197
7390
|
createDebug.names.push(new RegExp('^' + namespaces + '$'));
|
|
7198
7391
|
}
|
|
@@ -59,10 +59,10 @@ export declare class SdPlatformOrganizationApi extends ResourcesApi {
|
|
|
59
59
|
/**
|
|
60
60
|
* Delete organization invitation.
|
|
61
61
|
* @param organization_id
|
|
62
|
-
* @param
|
|
62
|
+
* @param id receiver id OR notification id in case of email notification
|
|
63
63
|
* @returns
|
|
64
64
|
*/
|
|
65
|
-
deleteOrganizationInvitation(organization_id: string,
|
|
65
|
+
deleteOrganizationInvitation(organization_id: string, id: string): Promise<SdPlatformDeleteResponse>;
|
|
66
66
|
/**
|
|
67
67
|
* Get organization invitations.
|
|
68
68
|
* @param organization_id
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SdPlatformOrganizationApi.d.ts","sourceRoot":"","sources":["../../src/resources/SdPlatformOrganizationApi.ts"],"names":[],"mappings":"AAEA,OAAO,EAAU,YAAY,EAAE,MAAM,wBAAwB,CAA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,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;CAM1G"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shapediver/sdk.platform-api-sdk-v1",
|
|
3
|
-
"version": "2.12.
|
|
3
|
+
"version": "2.12.11",
|
|
4
4
|
"description": "SDK to communicate with the Platform API version 1",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"shapediver",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"build-prod": "bash ../../scripts/build-prod.sh"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@shapediver/api.platform-api-dto-v1": "^2.12.
|
|
42
|
+
"@shapediver/api.platform-api-dto-v1": "^2.12.11",
|
|
43
43
|
"@types/q": "^1.5.5",
|
|
44
44
|
"axios": "^0.26.1",
|
|
45
45
|
"dotenv": "^16.0.0",
|