@shapediver/sdk.platform-api-sdk-v1 2.8.5 → 2.9.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api/SdPlatformRequestId.d.ts +1 -0
- package/dist/api/SdPlatformRequestId.d.ts.map +1 -1
- package/dist/bundle.js +24 -3
- package/dist/bundle.node.js +24 -3
- package/dist/resources/SdPlatformModelSharingApi.d.ts +6 -1
- package/dist/resources/SdPlatformModelSharingApi.d.ts.map +1 -1
- package/dist/resources/SdPlatformNotificationApi.d.ts +6 -1
- package/dist/resources/SdPlatformNotificationApi.d.ts.map +1 -1
- package/dist/resources/SdPlatformSavedStateSharingApi.d.ts +6 -1
- package/dist/resources/SdPlatformSavedStateSharingApi.d.ts.map +1 -1
- package/package.json +2 -2
|
@@ -79,6 +79,7 @@ export declare enum RequestId {
|
|
|
79
79
|
NotificationCreate = "notification_create",
|
|
80
80
|
NotificationPatch = "notification_patch",
|
|
81
81
|
NotificationDelete = "notification_delete",
|
|
82
|
+
NotificationSummary = "notification_summary",
|
|
82
83
|
UserModelSessionsQuery = "user_model_sessions_query",
|
|
83
84
|
OrganizationModelSessionsQuery = "organization_model_sessions_query",
|
|
84
85
|
ChargebeeHostedPage = "chargebee_hosted_page",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SdPlatformRequestId.d.ts","sourceRoot":"","sources":["../../src/api/SdPlatformRequestId.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,oBAAY,SAAS;IAEjB;;OAEG;IACH,aAAa,mBAAmB;IAChC,YAAY,kBAAkB;IAC9B,iBAAiB,uBAAuB;IACxC,MAAM,WAAW;IAEjB;;OAEG;IACH,WAAW,kBAAkB;IAC7B,aAAa,oBAAoB;IACjC,cAAc,qBAAqB;IACnC,aAAa,oBAAoB;IACjC,cAAc,qBAAqB;IAEnC,kBAAkB,yBAAyB;IAC3C,mBAAmB,0BAA0B;IAC7C,kBAAkB,yBAAyB;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IAExD,cAAc,oBAAoB;IAClC,aAAa,mBAAmB;IAChC,cAAc,oBAAoB;IAClC,YAAY,kBAAkB;IAC9B,gBAAgB,sBAAsB;IACtC,YAAY,kBAAkB;IAC9B,cAAc,oBAAoB;IAClC,uBAAuB,8BAA8B;IACrD,mBAAmB,0BAA0B;CAChD"}
|
package/dist/bundle.js
CHANGED
|
@@ -1351,6 +1351,7 @@ var RequestId;
|
|
|
1351
1351
|
RequestId["NotificationCreate"] = "notification_create";
|
|
1352
1352
|
RequestId["NotificationPatch"] = "notification_patch";
|
|
1353
1353
|
RequestId["NotificationDelete"] = "notification_delete";
|
|
1354
|
+
RequestId["NotificationSummary"] = "notification_summary";
|
|
1354
1355
|
RequestId["UserModelSessionsQuery"] = "user_model_sessions_query";
|
|
1355
1356
|
RequestId["OrganizationModelSessionsQuery"] = "organization_model_sessions_query";
|
|
1356
1357
|
RequestId["ChargebeeHostedPage"] = "chargebee_hosted_page";
|
|
@@ -2288,9 +2289,15 @@ exports.SdPlatformModelApi = SdPlatformModelApi;
|
|
|
2288
2289
|
"use strict";
|
|
2289
2290
|
|
|
2290
2291
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2291
|
-
exports.SdPlatformModelSharingApi = void 0;
|
|
2292
|
+
exports.SdPlatformModelSharingApi = exports.SdPlatformModelharingQueryEmbeddableFields = void 0;
|
|
2292
2293
|
const SdPlatformRequestId_1 = __webpack_require__(54);
|
|
2293
2294
|
const ResourcesApi_1 = __webpack_require__(59);
|
|
2295
|
+
var SdPlatformModelharingQueryEmbeddableFields;
|
|
2296
|
+
(function (SdPlatformModelharingQueryEmbeddableFields) {
|
|
2297
|
+
SdPlatformModelharingQueryEmbeddableFields["User"] = "user";
|
|
2298
|
+
SdPlatformModelharingQueryEmbeddableFields["Model"] = "model";
|
|
2299
|
+
SdPlatformModelharingQueryEmbeddableFields["Provider"] = "provider";
|
|
2300
|
+
})(SdPlatformModelharingQueryEmbeddableFields = exports.SdPlatformModelharingQueryEmbeddableFields || (exports.SdPlatformModelharingQueryEmbeddableFields = {}));
|
|
2294
2301
|
/**
|
|
2295
2302
|
* Operations for model sharing relationships.
|
|
2296
2303
|
*/
|
|
@@ -2453,7 +2460,7 @@ exports.SdPlatformModelTransferApi = SdPlatformModelTransferApi;
|
|
|
2453
2460
|
"use strict";
|
|
2454
2461
|
|
|
2455
2462
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2456
|
-
exports.SdPlatformNotificationApi = exports.SdPlatformNotificationEmbeddableFields = void 0;
|
|
2463
|
+
exports.SdPlatformNotificationApi = exports.SdPlatformNotificationSummaryEmbeddableFields = exports.SdPlatformNotificationEmbeddableFields = void 0;
|
|
2457
2464
|
const SdPlatformRequestId_1 = __webpack_require__(54);
|
|
2458
2465
|
const ResourcesApi_1 = __webpack_require__(59);
|
|
2459
2466
|
var SdPlatformNotificationEmbeddableFields;
|
|
@@ -2465,6 +2472,11 @@ var SdPlatformNotificationEmbeddableFields;
|
|
|
2465
2472
|
SdPlatformNotificationEmbeddableFields["Document"] = "document";
|
|
2466
2473
|
SdPlatformNotificationEmbeddableFields["Organization"] = "organization";
|
|
2467
2474
|
})(SdPlatformNotificationEmbeddableFields = exports.SdPlatformNotificationEmbeddableFields || (exports.SdPlatformNotificationEmbeddableFields = {}));
|
|
2475
|
+
var SdPlatformNotificationSummaryEmbeddableFields;
|
|
2476
|
+
(function (SdPlatformNotificationSummaryEmbeddableFields) {
|
|
2477
|
+
SdPlatformNotificationSummaryEmbeddableFields["Total"] = "total";
|
|
2478
|
+
SdPlatformNotificationSummaryEmbeddableFields["Unread"] = "unread";
|
|
2479
|
+
})(SdPlatformNotificationSummaryEmbeddableFields = exports.SdPlatformNotificationSummaryEmbeddableFields || (exports.SdPlatformNotificationSummaryEmbeddableFields = {}));
|
|
2468
2480
|
/**
|
|
2469
2481
|
* Operations for querying, reading/unreading, creating notifications.
|
|
2470
2482
|
*/
|
|
@@ -2484,6 +2496,9 @@ class SdPlatformNotificationApi extends ResourcesApi_1.ResourcesApi {
|
|
|
2484
2496
|
delete(id) {
|
|
2485
2497
|
return this.__delete(SdPlatformRequestId_1.RequestId.NotificationDelete, id);
|
|
2486
2498
|
}
|
|
2499
|
+
summary(embed) {
|
|
2500
|
+
return super.__get(SdPlatformRequestId_1.RequestId.NotificationSummary, 'summary', embed);
|
|
2501
|
+
}
|
|
2487
2502
|
}
|
|
2488
2503
|
exports.SdPlatformNotificationApi = SdPlatformNotificationApi;
|
|
2489
2504
|
|
|
@@ -2726,9 +2741,15 @@ exports.SdPlatformSavedStateApi = SdPlatformSavedStateApi;
|
|
|
2726
2741
|
"use strict";
|
|
2727
2742
|
|
|
2728
2743
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2729
|
-
exports.SdPlatformSavedStateSharingApi = void 0;
|
|
2744
|
+
exports.SdPlatformSavedStateSharingApi = exports.SdPlatformSavedStateSharingQueryEmbeddableFields = void 0;
|
|
2730
2745
|
const ResourcesApi_1 = __webpack_require__(59);
|
|
2731
2746
|
const SdPlatformRequestId_1 = __webpack_require__(54);
|
|
2747
|
+
var SdPlatformSavedStateSharingQueryEmbeddableFields;
|
|
2748
|
+
(function (SdPlatformSavedStateSharingQueryEmbeddableFields) {
|
|
2749
|
+
SdPlatformSavedStateSharingQueryEmbeddableFields["User"] = "user";
|
|
2750
|
+
SdPlatformSavedStateSharingQueryEmbeddableFields["SavedState"] = "saved_state";
|
|
2751
|
+
SdPlatformSavedStateSharingQueryEmbeddableFields["Provider"] = "provider";
|
|
2752
|
+
})(SdPlatformSavedStateSharingQueryEmbeddableFields = exports.SdPlatformSavedStateSharingQueryEmbeddableFields || (exports.SdPlatformSavedStateSharingQueryEmbeddableFields = {}));
|
|
2732
2753
|
/**
|
|
2733
2754
|
* Operations for saved state sharing relationships.
|
|
2734
2755
|
*/
|
package/dist/bundle.node.js
CHANGED
|
@@ -1351,6 +1351,7 @@ var RequestId;
|
|
|
1351
1351
|
RequestId["NotificationCreate"] = "notification_create";
|
|
1352
1352
|
RequestId["NotificationPatch"] = "notification_patch";
|
|
1353
1353
|
RequestId["NotificationDelete"] = "notification_delete";
|
|
1354
|
+
RequestId["NotificationSummary"] = "notification_summary";
|
|
1354
1355
|
RequestId["UserModelSessionsQuery"] = "user_model_sessions_query";
|
|
1355
1356
|
RequestId["OrganizationModelSessionsQuery"] = "organization_model_sessions_query";
|
|
1356
1357
|
RequestId["ChargebeeHostedPage"] = "chargebee_hosted_page";
|
|
@@ -2288,9 +2289,15 @@ exports.SdPlatformModelApi = SdPlatformModelApi;
|
|
|
2288
2289
|
"use strict";
|
|
2289
2290
|
|
|
2290
2291
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2291
|
-
exports.SdPlatformModelSharingApi = void 0;
|
|
2292
|
+
exports.SdPlatformModelSharingApi = exports.SdPlatformModelharingQueryEmbeddableFields = void 0;
|
|
2292
2293
|
const SdPlatformRequestId_1 = __webpack_require__(54);
|
|
2293
2294
|
const ResourcesApi_1 = __webpack_require__(59);
|
|
2295
|
+
var SdPlatformModelharingQueryEmbeddableFields;
|
|
2296
|
+
(function (SdPlatformModelharingQueryEmbeddableFields) {
|
|
2297
|
+
SdPlatformModelharingQueryEmbeddableFields["User"] = "user";
|
|
2298
|
+
SdPlatformModelharingQueryEmbeddableFields["Model"] = "model";
|
|
2299
|
+
SdPlatformModelharingQueryEmbeddableFields["Provider"] = "provider";
|
|
2300
|
+
})(SdPlatformModelharingQueryEmbeddableFields = exports.SdPlatformModelharingQueryEmbeddableFields || (exports.SdPlatformModelharingQueryEmbeddableFields = {}));
|
|
2294
2301
|
/**
|
|
2295
2302
|
* Operations for model sharing relationships.
|
|
2296
2303
|
*/
|
|
@@ -2453,7 +2460,7 @@ exports.SdPlatformModelTransferApi = SdPlatformModelTransferApi;
|
|
|
2453
2460
|
"use strict";
|
|
2454
2461
|
|
|
2455
2462
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2456
|
-
exports.SdPlatformNotificationApi = exports.SdPlatformNotificationEmbeddableFields = void 0;
|
|
2463
|
+
exports.SdPlatformNotificationApi = exports.SdPlatformNotificationSummaryEmbeddableFields = exports.SdPlatformNotificationEmbeddableFields = void 0;
|
|
2457
2464
|
const SdPlatformRequestId_1 = __webpack_require__(54);
|
|
2458
2465
|
const ResourcesApi_1 = __webpack_require__(59);
|
|
2459
2466
|
var SdPlatformNotificationEmbeddableFields;
|
|
@@ -2465,6 +2472,11 @@ var SdPlatformNotificationEmbeddableFields;
|
|
|
2465
2472
|
SdPlatformNotificationEmbeddableFields["Document"] = "document";
|
|
2466
2473
|
SdPlatformNotificationEmbeddableFields["Organization"] = "organization";
|
|
2467
2474
|
})(SdPlatformNotificationEmbeddableFields = exports.SdPlatformNotificationEmbeddableFields || (exports.SdPlatformNotificationEmbeddableFields = {}));
|
|
2475
|
+
var SdPlatformNotificationSummaryEmbeddableFields;
|
|
2476
|
+
(function (SdPlatformNotificationSummaryEmbeddableFields) {
|
|
2477
|
+
SdPlatformNotificationSummaryEmbeddableFields["Total"] = "total";
|
|
2478
|
+
SdPlatformNotificationSummaryEmbeddableFields["Unread"] = "unread";
|
|
2479
|
+
})(SdPlatformNotificationSummaryEmbeddableFields = exports.SdPlatformNotificationSummaryEmbeddableFields || (exports.SdPlatformNotificationSummaryEmbeddableFields = {}));
|
|
2468
2480
|
/**
|
|
2469
2481
|
* Operations for querying, reading/unreading, creating notifications.
|
|
2470
2482
|
*/
|
|
@@ -2484,6 +2496,9 @@ class SdPlatformNotificationApi extends ResourcesApi_1.ResourcesApi {
|
|
|
2484
2496
|
delete(id) {
|
|
2485
2497
|
return this.__delete(SdPlatformRequestId_1.RequestId.NotificationDelete, id);
|
|
2486
2498
|
}
|
|
2499
|
+
summary(embed) {
|
|
2500
|
+
return super.__get(SdPlatformRequestId_1.RequestId.NotificationSummary, 'summary', embed);
|
|
2501
|
+
}
|
|
2487
2502
|
}
|
|
2488
2503
|
exports.SdPlatformNotificationApi = SdPlatformNotificationApi;
|
|
2489
2504
|
|
|
@@ -2726,9 +2741,15 @@ exports.SdPlatformSavedStateApi = SdPlatformSavedStateApi;
|
|
|
2726
2741
|
"use strict";
|
|
2727
2742
|
|
|
2728
2743
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2729
|
-
exports.SdPlatformSavedStateSharingApi = void 0;
|
|
2744
|
+
exports.SdPlatformSavedStateSharingApi = exports.SdPlatformSavedStateSharingQueryEmbeddableFields = void 0;
|
|
2730
2745
|
const ResourcesApi_1 = __webpack_require__(59);
|
|
2731
2746
|
const SdPlatformRequestId_1 = __webpack_require__(54);
|
|
2747
|
+
var SdPlatformSavedStateSharingQueryEmbeddableFields;
|
|
2748
|
+
(function (SdPlatformSavedStateSharingQueryEmbeddableFields) {
|
|
2749
|
+
SdPlatformSavedStateSharingQueryEmbeddableFields["User"] = "user";
|
|
2750
|
+
SdPlatformSavedStateSharingQueryEmbeddableFields["SavedState"] = "saved_state";
|
|
2751
|
+
SdPlatformSavedStateSharingQueryEmbeddableFields["Provider"] = "provider";
|
|
2752
|
+
})(SdPlatformSavedStateSharingQueryEmbeddableFields = exports.SdPlatformSavedStateSharingQueryEmbeddableFields || (exports.SdPlatformSavedStateSharingQueryEmbeddableFields = {}));
|
|
2732
2753
|
/**
|
|
2733
2754
|
* Operations for saved state sharing relationships.
|
|
2734
2755
|
*/
|
|
@@ -1,7 +1,12 @@
|
|
|
1
1
|
import { ResourcesApi } from "./commons/ResourcesApi";
|
|
2
2
|
import { SdPlatformRequestModelSharingCreate, SdPlatformResponseModelSharing } from "@shapediver/api.platform-api-dto-v1";
|
|
3
3
|
import { SdPlatformQueryParameters, SdPlatformGetResponse, SdPlatformQueryResponse, SdPlatformPostResponse, SdPlatformDeleteResponse } from "@shapediver/api.platform-api-dto-v1";
|
|
4
|
-
export declare
|
|
4
|
+
export declare enum SdPlatformModelharingQueryEmbeddableFields {
|
|
5
|
+
User = "user",
|
|
6
|
+
Model = "model",
|
|
7
|
+
Provider = "provider"
|
|
8
|
+
}
|
|
9
|
+
export declare type SdPlatformModelSharingQueryParameters = SdPlatformQueryParameters<SdPlatformModelharingQueryEmbeddableFields>;
|
|
5
10
|
/**
|
|
6
11
|
* Operations for model sharing relationships.
|
|
7
12
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SdPlatformModelSharingApi.d.ts","sourceRoot":"","sources":["../../src/resources/SdPlatformModelSharingApi.ts"],"names":[],"mappings":"AAEA,OAAO,EAAS,YAAY,EAAC,MAAM,wBAAwB,CAAC;AAC5D,OAAO,EAAC,mCAAmC,EAAE,8BAA8B,EAAC,MAAM,qCAAqC,CAAA;AACvH,OAAO,EAAE,yBAAyB,EAAE,qBAAqB,EAAE,uBAAuB,EAAE,sBAAsB,EAAE,wBAAwB,EAAE,MAAM,qCAAqC,CAAA;
|
|
1
|
+
{"version":3,"file":"SdPlatformModelSharingApi.d.ts","sourceRoot":"","sources":["../../src/resources/SdPlatformModelSharingApi.ts"],"names":[],"mappings":"AAEA,OAAO,EAAS,YAAY,EAAC,MAAM,wBAAwB,CAAC;AAC5D,OAAO,EAAC,mCAAmC,EAAE,8BAA8B,EAAC,MAAM,qCAAqC,CAAA;AACvH,OAAO,EAAE,yBAAyB,EAAE,qBAAqB,EAAE,uBAAuB,EAAE,sBAAsB,EAAE,wBAAwB,EAAE,MAAM,qCAAqC,CAAA;AAGjL,oBAAY,0CAA0C;IAElD,IAAI,SAAS;IACb,KAAK,UAAU;IACf,QAAQ,aAAa;CACxB;AAED,oBAAY,qCAAqC,GAAG,yBAAyB,CAAC,0CAA0C,CAAC,CAAC;AAE1H;;GAEG;AACH,qBAAa,yBAA0B,SAAQ,YAAY;IAEvD,SAAS,KAAK,cAAc,IAAI,MAAM,CAGrC;IAED;;;;OAIG;IACI,MAAM,CAAC,IAAI,EAAE,mCAAmC,GAAG,OAAO,CAAC,sBAAsB,CAAC,8BAA8B,CAAC,CAAC;IAKzH;;;;OAIG;IACI,KAAK,CAAC,KAAK,GAAE,qCAA0C,GAAG,OAAO,CAAC,uBAAuB,CAAC,8BAA8B,CAAC,CAAC;IAKjI;;;;;QAKI;IACG,YAAY,CAAC,QAAQ,EAAE,MAAM,EAAE,KAAK,GAAE,qCAA0C,GAAG,OAAO,CAAC,uBAAuB,CAAC,8BAA8B,CAAC,CAAC;IAK1J;;;;OAIG;IACI,WAAW,CAAC,OAAO,EAAE,MAAM,EAAE,KAAK,GAAE,qCAA0C,GAAG,OAAO,CAAC,uBAAuB,CAAC,8BAA8B,CAAC,CAAC;IAKxJ;;;;;OAKG;IACI,iBAAiB,CAAC,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,qBAAqB,CAAC,KAAK,CAAC,8BAA8B,CAAC,CAAC,CAAC;IAKlI;;;;OAIG;IACI,MAAM,CAAC,gBAAgB,EAAE,MAAM,GAAG,OAAO,CAAC,wBAAwB,CAAC;CAI7E"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ResourcesApi } from "./commons/ResourcesApi";
|
|
2
|
-
import { SdPlatformRequestNotificationCreate, SdPlatformRequestNotificationPatch, SdPlatformResponseNotification } from "@shapediver/api.platform-api-dto-v1";
|
|
2
|
+
import { SdPlatformGetResponse, SdPlatformRequestNotificationCreate, SdPlatformRequestNotificationPatch, SdPlatformResponseNotification, SdPlatformResponseNotificationSummary } from "@shapediver/api.platform-api-dto-v1";
|
|
3
3
|
import { SdPlatformQueryParameters, SdPlatformQueryResponse, SdPlatformPatchResponse, SdPlatformPostResponse, SdPlatformDeleteResponse } from "@shapediver/api.platform-api-dto-v1";
|
|
4
4
|
export declare enum SdPlatformNotificationEmbeddableFields {
|
|
5
5
|
Receiver = "receiver",
|
|
@@ -9,6 +9,10 @@ export declare enum SdPlatformNotificationEmbeddableFields {
|
|
|
9
9
|
Document = "document",
|
|
10
10
|
Organization = "organization"
|
|
11
11
|
}
|
|
12
|
+
export declare enum SdPlatformNotificationSummaryEmbeddableFields {
|
|
13
|
+
Total = "total",
|
|
14
|
+
Unread = "unread"
|
|
15
|
+
}
|
|
12
16
|
export declare type SdPlatformNotificationQueryParameters = SdPlatformQueryParameters<SdPlatformNotificationEmbeddableFields>;
|
|
13
17
|
/**
|
|
14
18
|
* Operations for querying, reading/unreading, creating notifications.
|
|
@@ -19,5 +23,6 @@ export declare class SdPlatformNotificationApi extends ResourcesApi {
|
|
|
19
23
|
create(body: SdPlatformRequestNotificationCreate): Promise<SdPlatformPostResponse<SdPlatformResponseNotification>>;
|
|
20
24
|
patch(id: string, body: SdPlatformRequestNotificationPatch): Promise<SdPlatformPatchResponse<SdPlatformResponseNotification>>;
|
|
21
25
|
delete(id: string): Promise<SdPlatformDeleteResponse>;
|
|
26
|
+
summary(embed: Array<SdPlatformNotificationSummaryEmbeddableFields>): Promise<SdPlatformGetResponse<SdPlatformResponseNotificationSummary>>;
|
|
22
27
|
}
|
|
23
28
|
//# sourceMappingURL=SdPlatformNotificationApi.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SdPlatformNotificationApi.d.ts","sourceRoot":"","sources":["../../src/resources/SdPlatformNotificationApi.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AACtD,OAAO,
|
|
1
|
+
{"version":3,"file":"SdPlatformNotificationApi.d.ts","sourceRoot":"","sources":["../../src/resources/SdPlatformNotificationApi.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AACtD,OAAO,EACH,qBAAqB,EACrB,mCAAmC,EACnC,kCAAkC,EAClC,8BAA8B,EAC9B,qCAAqC,EACxC,MAAM,qCAAqC,CAAA;AAC5C,OAAO,EAAE,yBAAyB,EAAE,uBAAuB,EAAE,uBAAuB,EAAE,sBAAsB,EAAE,wBAAwB,EAAE,MAAM,qCAAqC,CAAA;AAEnL,oBAAY,sCAAsC;IAE9C,QAAQ,aAAa;IACrB,IAAI,SAAS;IACb,KAAK,UAAU;IACf,UAAU,gBAAgB;IAC1B,QAAQ,aAAa;IACrB,YAAY,iBAAiB;CAChC;AAED,oBAAY,6CAA6C;IAErD,KAAK,UAAU;IACf,MAAM,WAAW;CACpB;AAGD,oBAAY,qCAAqC,GAAG,yBAAyB,CAAC,sCAAsC,CAAC,CAAA;AAErH;;GAEG;AACH,qBAAa,yBAA0B,SAAQ,YAAY;IAEvD,SAAS,KAAK,cAAc,IAAI,MAAM,CAGrC;IAEM,KAAK,CAAC,IAAI,GAAE,qCAA0C,GAAG,OAAO,CAAC,uBAAuB,CAAC,8BAA8B,CAAC,CAAC;IAKzH,MAAM,CAAC,IAAI,EAAE,mCAAmC,GAAG,OAAO,CAAC,sBAAsB,CAAC,8BAA8B,CAAC,CAAC;IAKlH,KAAK,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,kCAAkC,GAAG,OAAO,CAAC,uBAAuB,CAAC,8BAA8B,CAAC,CAAC;IAK7H,MAAM,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,wBAAwB,CAAC;IAKrD,OAAO,CAAC,KAAK,EAAE,KAAK,CAAC,6CAA6C,CAAC,GAAG,OAAO,CAAC,qBAAqB,CAAC,qCAAqC,CAAC,CAAC;CAIrJ"}
|
|
@@ -1,7 +1,12 @@
|
|
|
1
1
|
import { SdPlatformResponseSavedStateSharing, SdPlatformResponseSavedStateSharingCreate } from "@shapediver/api.platform-api-dto-v1";
|
|
2
2
|
import { ResourcesApi } from "./commons/ResourcesApi";
|
|
3
3
|
import { SdPlatformQueryParameters, SdPlatformGetResponse, SdPlatformQueryResponse, SdPlatformPostResponse, SdPlatformDeleteResponse } from "@shapediver/api.platform-api-dto-v1";
|
|
4
|
-
export declare
|
|
4
|
+
export declare enum SdPlatformSavedStateSharingQueryEmbeddableFields {
|
|
5
|
+
User = "user",
|
|
6
|
+
SavedState = "saved_state",
|
|
7
|
+
Provider = "provider"
|
|
8
|
+
}
|
|
9
|
+
export declare type SdPlatformSavedStateSharingQueryParameters = SdPlatformQueryParameters<SdPlatformSavedStateSharingQueryEmbeddableFields>;
|
|
5
10
|
/**
|
|
6
11
|
* Operations for saved state sharing relationships.
|
|
7
12
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SdPlatformSavedStateSharingApi.d.ts","sourceRoot":"","sources":["../../src/resources/SdPlatformSavedStateSharingApi.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mCAAmC,EAAE,yCAAyC,EAAE,MAAM,qCAAqC,CAAC;AACrI,OAAO,EAAU,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,yBAAyB,EAAE,qBAAqB,EAAE,uBAAuB,EAAE,sBAAsB,EAAE,wBAAwB,EAAE,MAAM,qCAAqC,CAAA;AAGjL,oBAAY,0CAA0C,GAAG,yBAAyB,CAAC,
|
|
1
|
+
{"version":3,"file":"SdPlatformSavedStateSharingApi.d.ts","sourceRoot":"","sources":["../../src/resources/SdPlatformSavedStateSharingApi.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mCAAmC,EAAE,yCAAyC,EAAE,MAAM,qCAAqC,CAAC;AACrI,OAAO,EAAU,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,yBAAyB,EAAE,qBAAqB,EAAE,uBAAuB,EAAE,sBAAsB,EAAE,wBAAwB,EAAE,MAAM,qCAAqC,CAAA;AAGjL,oBAAY,gDAAgD;IAExD,IAAI,SAAS;IACb,UAAU,gBAAgB;IAC1B,QAAQ,aAAa;CACxB;AAED,oBAAY,0CAA0C,GAAG,yBAAyB,CAAC,gDAAgD,CAAC,CAAC;AAErI;;GAEG;AACH,qBAAa,8BAA+B,SAAQ,YAAY;IAE5D,SAAS,KAAK,cAAc,IAAI,MAAM,CAGrC;IAED;;;;QAII;IACG,MAAM,CAAC,IAAI,EAAE,yCAAyC,GAAG,OAAO,CAAC,sBAAsB,CAAC,mCAAmC,CAAC,CAAC;IAKpI;;;;OAIG;IACI,MAAM,CAAC,sBAAsB,EAAE,MAAM,GAAG,OAAO,CAAC,wBAAwB,CAAC;IAKhF;;;;;QAKI;IACG,sBAAsB,CAAC,cAAc,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,qBAAqB,CAAC,KAAK,CAAC,mCAAmC,CAAC,CAAC,CAAC;IAKlJ;;;;OAIG;IACI,KAAK,CAAC,KAAK,CAAC,EAAE,0CAA0C,GAAG,OAAO,CAAC,uBAAuB,CAAC,mCAAmC,CAAC,CAAC;IAKvI;;;;;OAKG;IACI,iBAAiB,CAAC,cAAc,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,0CAA0C,GAAG,OAAO,CAAC,uBAAuB,CAAC,mCAAmC,CAAC,CAAC;IAK3K;;;;;OAKG;IACI,WAAW,CAAC,OAAO,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,0CAA0C,GAAG,OAAO,CAAC,uBAAuB,CAAC,mCAAmC,CAAC,CAAC;CAMjK"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shapediver/sdk.platform-api-sdk-v1",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.9.2",
|
|
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.
|
|
42
|
+
"@shapediver/api.platform-api-dto-v1": "^2.9.2",
|
|
43
43
|
"@types/q": "^1.5.5",
|
|
44
44
|
"axios": "^0.26.1",
|
|
45
45
|
"dotenv": "^16.0.0",
|