@shapediver/sdk.platform-api-sdk-v1 2.9.1 → 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 +10 -1
- package/dist/bundle.node.js +10 -1
- package/dist/resources/SdPlatformNotificationApi.d.ts +6 -1
- package/dist/resources/SdPlatformNotificationApi.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;IAC3C,kBAAkB,yBAAyB;IAE3C,cAAc,oBAAoB;IAClC,cAAc,oBAAoB;IAElC,QAAQ,cAAc;IACtB,UAAU,gBAAgB;IAC1B,WAAW,iBAAiB;IAC5B,YAAY,iBAAiB;IAE7B,SAAS,eAAe;IAC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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";
|
|
@@ -2459,7 +2460,7 @@ exports.SdPlatformModelTransferApi = SdPlatformModelTransferApi;
|
|
|
2459
2460
|
"use strict";
|
|
2460
2461
|
|
|
2461
2462
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2462
|
-
exports.SdPlatformNotificationApi = exports.SdPlatformNotificationEmbeddableFields = void 0;
|
|
2463
|
+
exports.SdPlatformNotificationApi = exports.SdPlatformNotificationSummaryEmbeddableFields = exports.SdPlatformNotificationEmbeddableFields = void 0;
|
|
2463
2464
|
const SdPlatformRequestId_1 = __webpack_require__(54);
|
|
2464
2465
|
const ResourcesApi_1 = __webpack_require__(59);
|
|
2465
2466
|
var SdPlatformNotificationEmbeddableFields;
|
|
@@ -2471,6 +2472,11 @@ var SdPlatformNotificationEmbeddableFields;
|
|
|
2471
2472
|
SdPlatformNotificationEmbeddableFields["Document"] = "document";
|
|
2472
2473
|
SdPlatformNotificationEmbeddableFields["Organization"] = "organization";
|
|
2473
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 = {}));
|
|
2474
2480
|
/**
|
|
2475
2481
|
* Operations for querying, reading/unreading, creating notifications.
|
|
2476
2482
|
*/
|
|
@@ -2490,6 +2496,9 @@ class SdPlatformNotificationApi extends ResourcesApi_1.ResourcesApi {
|
|
|
2490
2496
|
delete(id) {
|
|
2491
2497
|
return this.__delete(SdPlatformRequestId_1.RequestId.NotificationDelete, id);
|
|
2492
2498
|
}
|
|
2499
|
+
summary(embed) {
|
|
2500
|
+
return super.__get(SdPlatformRequestId_1.RequestId.NotificationSummary, 'summary', embed);
|
|
2501
|
+
}
|
|
2493
2502
|
}
|
|
2494
2503
|
exports.SdPlatformNotificationApi = SdPlatformNotificationApi;
|
|
2495
2504
|
|
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";
|
|
@@ -2459,7 +2460,7 @@ exports.SdPlatformModelTransferApi = SdPlatformModelTransferApi;
|
|
|
2459
2460
|
"use strict";
|
|
2460
2461
|
|
|
2461
2462
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2462
|
-
exports.SdPlatformNotificationApi = exports.SdPlatformNotificationEmbeddableFields = void 0;
|
|
2463
|
+
exports.SdPlatformNotificationApi = exports.SdPlatformNotificationSummaryEmbeddableFields = exports.SdPlatformNotificationEmbeddableFields = void 0;
|
|
2463
2464
|
const SdPlatformRequestId_1 = __webpack_require__(54);
|
|
2464
2465
|
const ResourcesApi_1 = __webpack_require__(59);
|
|
2465
2466
|
var SdPlatformNotificationEmbeddableFields;
|
|
@@ -2471,6 +2472,11 @@ var SdPlatformNotificationEmbeddableFields;
|
|
|
2471
2472
|
SdPlatformNotificationEmbeddableFields["Document"] = "document";
|
|
2472
2473
|
SdPlatformNotificationEmbeddableFields["Organization"] = "organization";
|
|
2473
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 = {}));
|
|
2474
2480
|
/**
|
|
2475
2481
|
* Operations for querying, reading/unreading, creating notifications.
|
|
2476
2482
|
*/
|
|
@@ -2490,6 +2496,9 @@ class SdPlatformNotificationApi extends ResourcesApi_1.ResourcesApi {
|
|
|
2490
2496
|
delete(id) {
|
|
2491
2497
|
return this.__delete(SdPlatformRequestId_1.RequestId.NotificationDelete, id);
|
|
2492
2498
|
}
|
|
2499
|
+
summary(embed) {
|
|
2500
|
+
return super.__get(SdPlatformRequestId_1.RequestId.NotificationSummary, 'summary', embed);
|
|
2501
|
+
}
|
|
2493
2502
|
}
|
|
2494
2503
|
exports.SdPlatformNotificationApi = SdPlatformNotificationApi;
|
|
2495
2504
|
|
|
@@ -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"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shapediver/sdk.platform-api-sdk-v1",
|
|
3
|
-
"version": "2.9.
|
|
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.9.
|
|
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",
|