@novu/api 3.14.3 → 3.15.0
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/README.md +30 -30
- package/funcs/activityTrack.d.ts +1 -1
- package/funcs/activityTrack.js +1 -1
- package/funcs/environmentVariablesCreate.d.ts +1 -1
- package/funcs/environmentVariablesCreate.js +1 -1
- package/funcs/environmentVariablesDelete.d.ts +2 -2
- package/funcs/environmentVariablesDelete.d.ts.map +1 -1
- package/funcs/environmentVariablesDelete.js +7 -7
- package/funcs/environmentVariablesDelete.js.map +1 -1
- package/funcs/environmentVariablesList.d.ts +1 -1
- package/funcs/environmentVariablesList.js +1 -1
- package/funcs/environmentVariablesRetrieve.d.ts +2 -2
- package/funcs/environmentVariablesRetrieve.d.ts.map +1 -1
- package/funcs/environmentVariablesRetrieve.js +7 -7
- package/funcs/environmentVariablesRetrieve.js.map +1 -1
- package/funcs/environmentVariablesUpdate.d.ts +2 -2
- package/funcs/environmentVariablesUpdate.d.ts.map +1 -1
- package/funcs/environmentVariablesUpdate.js +7 -7
- package/funcs/environmentVariablesUpdate.js.map +1 -1
- package/funcs/environmentVariablesUsage.d.ts +3 -3
- package/funcs/environmentVariablesUsage.d.ts.map +1 -1
- package/funcs/environmentVariablesUsage.js +8 -8
- package/funcs/environmentVariablesUsage.js.map +1 -1
- package/funcs/subscribersNotificationsArchive.d.ts +2 -2
- package/funcs/subscribersNotificationsArchive.js +2 -2
- package/funcs/subscribersNotificationsArchiveAll.d.ts +1 -1
- package/funcs/subscribersNotificationsArchiveAll.js +1 -1
- package/funcs/subscribersNotificationsArchiveAllRead.d.ts +1 -1
- package/funcs/subscribersNotificationsArchiveAllRead.js +1 -1
- package/funcs/subscribersNotificationsCompleteAction.d.ts +2 -2
- package/funcs/subscribersNotificationsCompleteAction.js +2 -2
- package/funcs/subscribersNotificationsCount.d.ts +2 -2
- package/funcs/subscribersNotificationsCount.js +2 -2
- package/funcs/subscribersNotificationsDelete.d.ts +2 -2
- package/funcs/subscribersNotificationsDelete.js +2 -2
- package/funcs/subscribersNotificationsDeleteAll.d.ts +1 -1
- package/funcs/subscribersNotificationsDeleteAll.js +1 -1
- package/funcs/subscribersNotificationsList.d.ts +1 -1
- package/funcs/subscribersNotificationsList.js +1 -2
- package/funcs/subscribersNotificationsList.js.map +1 -1
- package/funcs/subscribersNotificationsMarkAllAsRead.d.ts +1 -1
- package/funcs/subscribersNotificationsMarkAllAsRead.js +1 -1
- package/funcs/subscribersNotificationsMarkAsRead.d.ts +2 -2
- package/funcs/subscribersNotificationsMarkAsRead.js +2 -2
- package/funcs/subscribersNotificationsMarkAsSeen.d.ts +1 -1
- package/funcs/subscribersNotificationsMarkAsSeen.js +1 -1
- package/funcs/subscribersNotificationsMarkAsUnread.d.ts +2 -2
- package/funcs/subscribersNotificationsMarkAsUnread.js +2 -2
- package/funcs/subscribersNotificationsRevertAction.d.ts +2 -2
- package/funcs/subscribersNotificationsRevertAction.js +2 -2
- package/funcs/subscribersNotificationsSnooze.d.ts +2 -2
- package/funcs/subscribersNotificationsSnooze.js +2 -2
- package/funcs/subscribersNotificationsUnarchive.d.ts +2 -2
- package/funcs/subscribersNotificationsUnarchive.js +2 -2
- package/funcs/subscribersNotificationsUnsnooze.d.ts +2 -2
- package/funcs/subscribersNotificationsUnsnooze.js +2 -2
- package/funcs/translationsMasterUpload.js +3 -2
- package/funcs/translationsMasterUpload.js.map +1 -1
- package/funcs/translationsUpload.js +3 -2
- package/funcs/translationsUpload.js.map +1 -1
- package/funcs/workflowsStepsGeneratePreview.d.ts +1 -1
- package/funcs/workflowsStepsGeneratePreview.js +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +4 -4
- package/lib/config.js +4 -4
- package/lib/config.js.map +1 -1
- package/lib/encodings.d.ts +1 -0
- package/lib/encodings.d.ts.map +1 -1
- package/lib/encodings.js +7 -0
- package/lib/encodings.js.map +1 -1
- package/models/components/getchannelconnectionresponsedto.d.ts +1 -0
- package/models/components/getchannelconnectionresponsedto.d.ts.map +1 -1
- package/models/components/getchannelconnectionresponsedto.js +1 -0
- package/models/components/getchannelconnectionresponsedto.js.map +1 -1
- package/models/components/getchannelendpointresponsedto.d.ts +1 -0
- package/models/components/getchannelendpointresponsedto.d.ts.map +1 -1
- package/models/components/getchannelendpointresponsedto.js +1 -0
- package/models/components/getchannelendpointresponsedto.js.map +1 -1
- package/models/components/marksubscribernotificationsasseendto.d.ts +12 -3
- package/models/components/marksubscribernotificationsasseendto.d.ts.map +1 -1
- package/models/components/marksubscribernotificationsasseendto.js +9 -2
- package/models/components/marksubscribernotificationsasseendto.js.map +1 -1
- package/models/components/providersidenum.d.ts +1 -0
- package/models/components/providersidenum.d.ts.map +1 -1
- package/models/components/providersidenum.js +1 -0
- package/models/components/providersidenum.js.map +1 -1
- package/models/components/updateallsubscribernotificationsdto.d.ts +12 -3
- package/models/components/updateallsubscribernotificationsdto.d.ts.map +1 -1
- package/models/components/updateallsubscribernotificationsdto.js +8 -2
- package/models/components/updateallsubscribernotificationsdto.js.map +1 -1
- package/models/operations/environmentvariablescontrollerdeleteenvironmentvariable.d.ts +5 -2
- package/models/operations/environmentvariablescontrollerdeleteenvironmentvariable.d.ts.map +1 -1
- package/models/operations/environmentvariablescontrollerdeleteenvironmentvariable.js +1 -1
- package/models/operations/environmentvariablescontrollerdeleteenvironmentvariable.js.map +1 -1
- package/models/operations/environmentvariablescontrollergetenvironmentvariable.d.ts +5 -2
- package/models/operations/environmentvariablescontrollergetenvironmentvariable.d.ts.map +1 -1
- package/models/operations/environmentvariablescontrollergetenvironmentvariable.js +1 -1
- package/models/operations/environmentvariablescontrollergetenvironmentvariable.js.map +1 -1
- package/models/operations/environmentvariablescontrollergetenvironmentvariableusage.d.ts +5 -2
- package/models/operations/environmentvariablescontrollergetenvironmentvariableusage.d.ts.map +1 -1
- package/models/operations/environmentvariablescontrollergetenvironmentvariableusage.js +1 -1
- package/models/operations/environmentvariablescontrollergetenvironmentvariableusage.js.map +1 -1
- package/models/operations/environmentvariablescontrollerupdateenvironmentvariable.d.ts +5 -2
- package/models/operations/environmentvariablescontrollerupdateenvironmentvariable.d.ts.map +1 -1
- package/models/operations/environmentvariablescontrollerupdateenvironmentvariable.js +1 -1
- package/models/operations/environmentvariablescontrollerupdateenvironmentvariable.js.map +1 -1
- package/models/operations/subscriberscontrollergetsubscribernotifications.d.ts +0 -5
- package/models/operations/subscriberscontrollergetsubscribernotifications.d.ts.map +1 -1
- package/models/operations/subscriberscontrollergetsubscribernotifications.js +0 -1
- package/models/operations/subscriberscontrollergetsubscribernotifications.js.map +1 -1
- package/package.json +1 -1
- package/sdk/activity.d.ts +1 -1
- package/sdk/activity.js +1 -1
- package/sdk/environmentvariables.d.ts +11 -11
- package/sdk/environmentvariables.d.ts.map +1 -1
- package/sdk/environmentvariables.js +15 -15
- package/sdk/environmentvariables.js.map +1 -1
- package/sdk/novunotifications.d.ts +26 -26
- package/sdk/novunotifications.js +26 -26
- package/sdk/steps.d.ts +1 -1
- package/sdk/steps.js +1 -1
- package/src/funcs/activityTrack.ts +1 -1
- package/src/funcs/environmentVariablesCreate.ts +1 -1
- package/src/funcs/environmentVariablesDelete.ts +9 -7
- package/src/funcs/environmentVariablesList.ts +1 -1
- package/src/funcs/environmentVariablesRetrieve.ts +9 -7
- package/src/funcs/environmentVariablesUpdate.ts +9 -7
- package/src/funcs/environmentVariablesUsage.ts +8 -8
- package/src/funcs/subscribersNotificationsArchive.ts +2 -2
- package/src/funcs/subscribersNotificationsArchiveAll.ts +1 -1
- package/src/funcs/subscribersNotificationsArchiveAllRead.ts +1 -1
- package/src/funcs/subscribersNotificationsCompleteAction.ts +2 -2
- package/src/funcs/subscribersNotificationsCount.ts +2 -2
- package/src/funcs/subscribersNotificationsDelete.ts +2 -2
- package/src/funcs/subscribersNotificationsDeleteAll.ts +1 -1
- package/src/funcs/subscribersNotificationsList.ts +1 -2
- package/src/funcs/subscribersNotificationsMarkAllAsRead.ts +1 -1
- package/src/funcs/subscribersNotificationsMarkAsRead.ts +2 -2
- package/src/funcs/subscribersNotificationsMarkAsSeen.ts +1 -1
- package/src/funcs/subscribersNotificationsMarkAsUnread.ts +2 -2
- package/src/funcs/subscribersNotificationsRevertAction.ts +2 -2
- package/src/funcs/subscribersNotificationsSnooze.ts +2 -2
- package/src/funcs/subscribersNotificationsUnarchive.ts +2 -2
- package/src/funcs/subscribersNotificationsUnsnooze.ts +2 -2
- package/src/funcs/translationsMasterUpload.ts +4 -3
- package/src/funcs/translationsUpload.ts +4 -3
- package/src/funcs/workflowsStepsGeneratePreview.ts +1 -1
- package/src/lib/config.ts +4 -4
- package/src/lib/encodings.ts +9 -0
- package/src/models/components/getchannelconnectionresponsedto.ts +1 -0
- package/src/models/components/getchannelendpointresponsedto.ts +1 -0
- package/src/models/components/marksubscribernotificationsasseendto.ts +31 -4
- package/src/models/components/providersidenum.ts +1 -0
- package/src/models/components/updateallsubscribernotificationsdto.ts +20 -4
- package/src/models/operations/environmentvariablescontrollerdeleteenvironmentvariable.ts +6 -3
- package/src/models/operations/environmentvariablescontrollergetenvironmentvariable.ts +6 -3
- package/src/models/operations/environmentvariablescontrollergetenvironmentvariableusage.ts +6 -3
- package/src/models/operations/environmentvariablescontrollerupdateenvironmentvariable.ts +6 -3
- package/src/models/operations/subscriberscontrollergetsubscribernotifications.ts +0 -6
- package/src/sdk/activity.ts +1 -1
- package/src/sdk/environmentvariables.ts +15 -15
- package/src/sdk/novunotifications.ts +26 -26
- package/src/sdk/steps.ts +1 -1
|
@@ -50,7 +50,7 @@ const async_js_1 = require("../types/async.js");
|
|
|
50
50
|
* Archive all read notifications
|
|
51
51
|
*
|
|
52
52
|
* @remarks
|
|
53
|
-
* Archive all read notifications matching the specified filters. Supports context-based filtering.
|
|
53
|
+
* Archive all read in-app (inbox) notifications matching the specified filters. Supports context-based filtering.
|
|
54
54
|
*/
|
|
55
55
|
function subscribersNotificationsArchiveAllRead(client, updateAllSubscriberNotificationsDto, subscriberId, idempotencyKey, options) {
|
|
56
56
|
return new async_js_1.APIPromise($do(client, updateAllSubscriberNotificationsDto, subscriberId, idempotencyKey, options));
|
|
@@ -9,10 +9,10 @@ import * as operations from "../models/operations/index.js";
|
|
|
9
9
|
import { APIPromise } from "../types/async.js";
|
|
10
10
|
import { Result } from "../types/fp.js";
|
|
11
11
|
/**
|
|
12
|
-
* Complete notification action
|
|
12
|
+
* Complete a notification action
|
|
13
13
|
*
|
|
14
14
|
* @remarks
|
|
15
|
-
* Mark a notification action (primary or secondary) as completed by its unique identifier **notificationId** and action type
|
|
15
|
+
* Mark a single in-app (inbox) notification's action (primary or secondary) as completed by its unique identifier **notificationId** and action type **actionType**.
|
|
16
16
|
*/
|
|
17
17
|
export declare function subscribersNotificationsCompleteAction(client: NovuCore, request: operations.SubscribersControllerCompleteNotificationActionRequest, options?: RequestOptions): APIPromise<Result<operations.SubscribersControllerCompleteNotificationActionResponse, errors.ErrorDto | errors.ValidationErrorDto | NovuError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError>>;
|
|
18
18
|
//# sourceMappingURL=subscribersNotificationsCompleteAction.d.ts.map
|
|
@@ -47,10 +47,10 @@ const errors = __importStar(require("../models/errors/index.js"));
|
|
|
47
47
|
const operations = __importStar(require("../models/operations/index.js"));
|
|
48
48
|
const async_js_1 = require("../types/async.js");
|
|
49
49
|
/**
|
|
50
|
-
* Complete notification action
|
|
50
|
+
* Complete a notification action
|
|
51
51
|
*
|
|
52
52
|
* @remarks
|
|
53
|
-
* Mark a notification action (primary or secondary) as completed by its unique identifier **notificationId** and action type
|
|
53
|
+
* Mark a single in-app (inbox) notification's action (primary or secondary) as completed by its unique identifier **notificationId** and action type **actionType**.
|
|
54
54
|
*/
|
|
55
55
|
function subscribersNotificationsCompleteAction(client, request, options) {
|
|
56
56
|
return new async_js_1.APIPromise($do(client, request, options));
|
|
@@ -12,8 +12,8 @@ import { Result } from "../types/fp.js";
|
|
|
12
12
|
* Retrieve subscriber notifications count
|
|
13
13
|
*
|
|
14
14
|
* @remarks
|
|
15
|
-
* Retrieve count of notifications for a subscriber by its unique key identifier **subscriberId**.
|
|
16
|
-
* Supports multiple filters to count notifications by different criteria, including context keys.
|
|
15
|
+
* Retrieve count of in-app (inbox) notifications for a subscriber by its unique key identifier **subscriberId**.
|
|
16
|
+
* Supports multiple filters to count in-app (inbox) notifications by different criteria, including context keys.
|
|
17
17
|
*/
|
|
18
18
|
export declare function subscribersNotificationsCount(client: NovuCore, subscriberId: string, filters: string, idempotencyKey?: string | undefined, options?: RequestOptions): APIPromise<Result<operations.SubscribersControllerGetSubscriberNotificationsCountResponse, errors.ErrorDto | errors.ValidationErrorDto | NovuError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError>>;
|
|
19
19
|
//# sourceMappingURL=subscribersNotificationsCount.d.ts.map
|
|
@@ -50,8 +50,8 @@ const async_js_1 = require("../types/async.js");
|
|
|
50
50
|
* Retrieve subscriber notifications count
|
|
51
51
|
*
|
|
52
52
|
* @remarks
|
|
53
|
-
* Retrieve count of notifications for a subscriber by its unique key identifier **subscriberId**.
|
|
54
|
-
* Supports multiple filters to count notifications by different criteria, including context keys.
|
|
53
|
+
* Retrieve count of in-app (inbox) notifications for a subscriber by its unique key identifier **subscriberId**.
|
|
54
|
+
* Supports multiple filters to count in-app (inbox) notifications by different criteria, including context keys.
|
|
55
55
|
*/
|
|
56
56
|
function subscribersNotificationsCount(client, subscriberId, filters, idempotencyKey, options) {
|
|
57
57
|
return new async_js_1.APIPromise($do(client, subscriberId, filters, idempotencyKey, options));
|
|
@@ -9,10 +9,10 @@ import * as operations from "../models/operations/index.js";
|
|
|
9
9
|
import { APIPromise } from "../types/async.js";
|
|
10
10
|
import { Result } from "../types/fp.js";
|
|
11
11
|
/**
|
|
12
|
-
* Delete notification
|
|
12
|
+
* Delete a notification
|
|
13
13
|
*
|
|
14
14
|
* @remarks
|
|
15
|
-
* Delete a specific notification by its unique identifier **notificationId**.
|
|
15
|
+
* Delete a specific in-app (inbox) notification permanently by its unique identifier **notificationId**.
|
|
16
16
|
*/
|
|
17
17
|
export declare function subscribersNotificationsDelete(client: NovuCore, request: operations.SubscribersControllerDeleteNotificationRequest, options?: RequestOptions): APIPromise<Result<operations.SubscribersControllerDeleteNotificationResponse | undefined, errors.ErrorDto | errors.ValidationErrorDto | NovuError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError>>;
|
|
18
18
|
//# sourceMappingURL=subscribersNotificationsDelete.d.ts.map
|
|
@@ -47,10 +47,10 @@ const errors = __importStar(require("../models/errors/index.js"));
|
|
|
47
47
|
const operations = __importStar(require("../models/operations/index.js"));
|
|
48
48
|
const async_js_1 = require("../types/async.js");
|
|
49
49
|
/**
|
|
50
|
-
* Delete notification
|
|
50
|
+
* Delete a notification
|
|
51
51
|
*
|
|
52
52
|
* @remarks
|
|
53
|
-
* Delete a specific notification by its unique identifier **notificationId**.
|
|
53
|
+
* Delete a specific in-app (inbox) notification permanently by its unique identifier **notificationId**.
|
|
54
54
|
*/
|
|
55
55
|
function subscribersNotificationsDelete(client, request, options) {
|
|
56
56
|
return new async_js_1.APIPromise($do(client, request, options));
|
|
@@ -13,7 +13,7 @@ import { Result } from "../types/fp.js";
|
|
|
13
13
|
* Delete all notifications
|
|
14
14
|
*
|
|
15
15
|
* @remarks
|
|
16
|
-
*
|
|
16
|
+
* Permanently delete all in-app (inbox) notifications matching the specified filters. Supports context-based filtering.
|
|
17
17
|
*/
|
|
18
18
|
export declare function subscribersNotificationsDeleteAll(client: NovuCore, updateAllSubscriberNotificationsDto: components.UpdateAllSubscriberNotificationsDto, subscriberId: string, idempotencyKey?: string | undefined, options?: RequestOptions): APIPromise<Result<operations.SubscribersControllerDeleteAllNotificationsResponse | undefined, errors.ErrorDto | errors.ValidationErrorDto | NovuError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError>>;
|
|
19
19
|
//# sourceMappingURL=subscribersNotificationsDeleteAll.d.ts.map
|
|
@@ -50,7 +50,7 @@ const async_js_1 = require("../types/async.js");
|
|
|
50
50
|
* Delete all notifications
|
|
51
51
|
*
|
|
52
52
|
* @remarks
|
|
53
|
-
*
|
|
53
|
+
* Permanently delete all in-app (inbox) notifications matching the specified filters. Supports context-based filtering.
|
|
54
54
|
*/
|
|
55
55
|
function subscribersNotificationsDeleteAll(client, updateAllSubscriberNotificationsDto, subscriberId, idempotencyKey, options) {
|
|
56
56
|
return new async_js_1.APIPromise($do(client, updateAllSubscriberNotificationsDto, subscriberId, idempotencyKey, options));
|
|
@@ -12,7 +12,7 @@ import { Result } from "../types/fp.js";
|
|
|
12
12
|
* Retrieve subscriber notifications
|
|
13
13
|
*
|
|
14
14
|
* @remarks
|
|
15
|
-
* Retrieve in-app notifications for a subscriber by its unique key identifier **subscriberId**.
|
|
15
|
+
* Retrieve in-app (inbox) notifications for a subscriber by its unique key identifier **subscriberId**.
|
|
16
16
|
* Supports filtering by tags, read/archived/snoozed/seen state, data attributes, severity, date range, and context keys.
|
|
17
17
|
*/
|
|
18
18
|
export declare function subscribersNotificationsList(client: NovuCore, request: operations.SubscribersControllerGetSubscriberNotificationsRequest, options?: RequestOptions): APIPromise<Result<operations.SubscribersControllerGetSubscriberNotificationsResponse, errors.ErrorDto | errors.ValidationErrorDto | NovuError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError>>;
|
|
@@ -50,7 +50,7 @@ const async_js_1 = require("../types/async.js");
|
|
|
50
50
|
* Retrieve subscriber notifications
|
|
51
51
|
*
|
|
52
52
|
* @remarks
|
|
53
|
-
* Retrieve in-app notifications for a subscriber by its unique key identifier **subscriberId**.
|
|
53
|
+
* Retrieve in-app (inbox) notifications for a subscriber by its unique key identifier **subscriberId**.
|
|
54
54
|
* Supports filtering by tags, read/archived/snoozed/seen state, data attributes, severity, date range, and context keys.
|
|
55
55
|
*/
|
|
56
56
|
function subscribersNotificationsList(client, request, options) {
|
|
@@ -85,7 +85,6 @@ async function $do(client, request, options) {
|
|
|
85
85
|
"seen": payload.seen,
|
|
86
86
|
"severity": payload.severity,
|
|
87
87
|
"snoozed": payload.snoozed,
|
|
88
|
-
"tags": payload.tags,
|
|
89
88
|
});
|
|
90
89
|
const headers = new Headers((0, primitives_js_1.compactMap)({
|
|
91
90
|
Accept: "application/json",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"subscribersNotificationsList.js","sourceRoot":"","sources":["../src/funcs/subscribersNotificationsList.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgCH,oEAwBC;AArDD,sDAAoE;AACpE,sDAAwC;AACxC,wDAAkD;AAClD,kDAA8C;AAE9C,oDAA4E;AAC5E,0CAA2C;AAQ3C,kEAAoD;AAIpD,0EAA4D;AAC5D,gDAAwD;AAGxD;;;;;;GAMG;AACH,SAAgB,4BAA4B,CAC1C,MAAgB,EAChB,OAA0E,EAC1E,OAAwB;IAgBxB,OAAO,IAAI,qBAAU,CAAC,GAAG,CACvB,MAAM,EACN,OAAO,EACP,OAAO,CACR,CAAC,CAAC;AACL,CAAC;AAED,KAAK,UAAU,GAAG,CAChB,MAAgB,EAChB,OAA0E,EAC1E,OAAwB;IAmBxB,MAAM,MAAM,GAAG,IAAA,sBAAS,EACtB,OAAO,EACP,CAAC,KAAK,EAAE,EAAE,CACR,UAAU;SACP,qEAAqE;SACrE,KAAK,CAAC,KAAK,CAAC,EACjB,yBAAyB,CAC1B,CAAC;IACF,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;QACf,OAAO,CAAC,MAAM,EAAE,EAAE,MAAM,EAAE,SAAS,EAAE,CAAC,CAAC;IACzC,CAAC;IACD,MAAM,OAAO,GAAG,MAAM,CAAC,KAAK,CAAC;IAC7B,MAAM,IAAI,GAAG,IAAI,CAAC;IAElB,MAAM,UAAU,GAAG;QACjB,YAAY,EAAE,IAAA,2BAAY,EAAC,cAAc,EAAE,OAAO,CAAC,YAAY,EAAE;YAC/D,OAAO,EAAE,KAAK;YACd,YAAY,EAAE,SAAS;SACxB,CAAC;KACH,CAAC;IACF,MAAM,IAAI,GAAG,IAAA,mBAAU,EAAC,8CAA8C,CAAC,CACrE,UAAU,CACX,CAAC;IAEF,MAAM,KAAK,GAAG,IAAA,8BAAe,EAAC;QAC5B,OAAO,EAAE,OAAO,CAAC,KAAK;QACtB,UAAU,EAAE,OAAO,CAAC,QAAQ;QAC5B,aAAa,EAAE,OAAO,CAAC,WAAW;QAClC,YAAY,EAAE,OAAO,CAAC,UAAU;QAChC,YAAY,EAAE,OAAO,CAAC,UAAU;QAChC,MAAM,EAAE,OAAO,CAAC,IAAI;QACpB,OAAO,EAAE,OAAO,CAAC,KAAK;QACtB,QAAQ,EAAE,OAAO,CAAC,MAAM;QACxB,MAAM,EAAE,OAAO,CAAC,IAAI;QACpB,MAAM,EAAE,OAAO,CAAC,IAAI;QACpB,UAAU,EAAE,OAAO,CAAC,QAAQ;QAC5B,SAAS,EAAE,OAAO,CAAC,OAAO;
|
|
1
|
+
{"version":3,"file":"subscribersNotificationsList.js","sourceRoot":"","sources":["../src/funcs/subscribersNotificationsList.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgCH,oEAwBC;AArDD,sDAAoE;AACpE,sDAAwC;AACxC,wDAAkD;AAClD,kDAA8C;AAE9C,oDAA4E;AAC5E,0CAA2C;AAQ3C,kEAAoD;AAIpD,0EAA4D;AAC5D,gDAAwD;AAGxD;;;;;;GAMG;AACH,SAAgB,4BAA4B,CAC1C,MAAgB,EAChB,OAA0E,EAC1E,OAAwB;IAgBxB,OAAO,IAAI,qBAAU,CAAC,GAAG,CACvB,MAAM,EACN,OAAO,EACP,OAA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{ Result } from "../types/fp.js";
|
|
|
13
13
|
* Mark all notifications as read
|
|
14
14
|
*
|
|
15
15
|
* @remarks
|
|
16
|
-
* Mark all notifications matching the specified filters as read. Supports context-based filtering.
|
|
16
|
+
* Mark all in-app (inbox) notifications matching the specified filters as read. Supports context-based filtering.
|
|
17
17
|
*/
|
|
18
18
|
export declare function subscribersNotificationsMarkAllAsRead(client: NovuCore, updateAllSubscriberNotificationsDto: components.UpdateAllSubscriberNotificationsDto, subscriberId: string, idempotencyKey?: string | undefined, options?: RequestOptions): APIPromise<Result<operations.SubscribersControllerMarkAllNotificationsAsReadResponse | undefined, errors.ErrorDto | errors.ValidationErrorDto | NovuError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError>>;
|
|
19
19
|
//# sourceMappingURL=subscribersNotificationsMarkAllAsRead.d.ts.map
|
|
@@ -50,7 +50,7 @@ const async_js_1 = require("../types/async.js");
|
|
|
50
50
|
* Mark all notifications as read
|
|
51
51
|
*
|
|
52
52
|
* @remarks
|
|
53
|
-
* Mark all notifications matching the specified filters as read. Supports context-based filtering.
|
|
53
|
+
* Mark all in-app (inbox) notifications matching the specified filters as read. Supports context-based filtering.
|
|
54
54
|
*/
|
|
55
55
|
function subscribersNotificationsMarkAllAsRead(client, updateAllSubscriberNotificationsDto, subscriberId, idempotencyKey, options) {
|
|
56
56
|
return new async_js_1.APIPromise($do(client, updateAllSubscriberNotificationsDto, subscriberId, idempotencyKey, options));
|
|
@@ -9,10 +9,10 @@ import * as operations from "../models/operations/index.js";
|
|
|
9
9
|
import { APIPromise } from "../types/async.js";
|
|
10
10
|
import { Result } from "../types/fp.js";
|
|
11
11
|
/**
|
|
12
|
-
* Mark notification as read
|
|
12
|
+
* Mark a notification as read
|
|
13
13
|
*
|
|
14
14
|
* @remarks
|
|
15
|
-
* Mark a specific notification as read by its unique identifier **notificationId**.
|
|
15
|
+
* Mark a specific in-app (inbox) notification as read by its unique identifier **notificationId**.
|
|
16
16
|
*/
|
|
17
17
|
export declare function subscribersNotificationsMarkAsRead(client: NovuCore, request: operations.SubscribersControllerMarkNotificationAsReadRequest, options?: RequestOptions): APIPromise<Result<operations.SubscribersControllerMarkNotificationAsReadResponse, errors.ErrorDto | errors.ValidationErrorDto | NovuError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError>>;
|
|
18
18
|
//# sourceMappingURL=subscribersNotificationsMarkAsRead.d.ts.map
|
|
@@ -47,10 +47,10 @@ const errors = __importStar(require("../models/errors/index.js"));
|
|
|
47
47
|
const operations = __importStar(require("../models/operations/index.js"));
|
|
48
48
|
const async_js_1 = require("../types/async.js");
|
|
49
49
|
/**
|
|
50
|
-
* Mark notification as read
|
|
50
|
+
* Mark a notification as read
|
|
51
51
|
*
|
|
52
52
|
* @remarks
|
|
53
|
-
* Mark a specific notification as read by its unique identifier **notificationId**.
|
|
53
|
+
* Mark a specific in-app (inbox) notification as read by its unique identifier **notificationId**.
|
|
54
54
|
*/
|
|
55
55
|
function subscribersNotificationsMarkAsRead(client, request, options) {
|
|
56
56
|
return new async_js_1.APIPromise($do(client, request, options));
|
|
@@ -13,7 +13,7 @@ import { Result } from "../types/fp.js";
|
|
|
13
13
|
* Mark notifications as seen
|
|
14
14
|
*
|
|
15
15
|
* @remarks
|
|
16
|
-
* Mark specific
|
|
16
|
+
* Mark specific and multiple in-app (inbox) notifications as seen. Supports context-based filtering.
|
|
17
17
|
*/
|
|
18
18
|
export declare function subscribersNotificationsMarkAsSeen(client: NovuCore, markSubscriberNotificationsAsSeenDto: components.MarkSubscriberNotificationsAsSeenDto, subscriberId: string, idempotencyKey?: string | undefined, options?: RequestOptions): APIPromise<Result<operations.SubscribersControllerMarkNotificationsAsSeenResponse | undefined, errors.ErrorDto | errors.ValidationErrorDto | NovuError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError>>;
|
|
19
19
|
//# sourceMappingURL=subscribersNotificationsMarkAsSeen.d.ts.map
|
|
@@ -50,7 +50,7 @@ const async_js_1 = require("../types/async.js");
|
|
|
50
50
|
* Mark notifications as seen
|
|
51
51
|
*
|
|
52
52
|
* @remarks
|
|
53
|
-
* Mark specific
|
|
53
|
+
* Mark specific and multiple in-app (inbox) notifications as seen. Supports context-based filtering.
|
|
54
54
|
*/
|
|
55
55
|
function subscribersNotificationsMarkAsSeen(client, markSubscriberNotificationsAsSeenDto, subscriberId, idempotencyKey, options) {
|
|
56
56
|
return new async_js_1.APIPromise($do(client, markSubscriberNotificationsAsSeenDto, subscriberId, idempotencyKey, options));
|
|
@@ -9,10 +9,10 @@ import * as operations from "../models/operations/index.js";
|
|
|
9
9
|
import { APIPromise } from "../types/async.js";
|
|
10
10
|
import { Result } from "../types/fp.js";
|
|
11
11
|
/**
|
|
12
|
-
* Mark notification as unread
|
|
12
|
+
* Mark a notification as unread
|
|
13
13
|
*
|
|
14
14
|
* @remarks
|
|
15
|
-
* Mark a specific notification as unread by its unique identifier **notificationId**.
|
|
15
|
+
* Mark a specific in-app (inbox) notification as unread by its unique identifier **notificationId**.
|
|
16
16
|
*/
|
|
17
17
|
export declare function subscribersNotificationsMarkAsUnread(client: NovuCore, request: operations.SubscribersControllerMarkNotificationAsUnreadRequest, options?: RequestOptions): APIPromise<Result<operations.SubscribersControllerMarkNotificationAsUnreadResponse, errors.ErrorDto | errors.ValidationErrorDto | NovuError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError>>;
|
|
18
18
|
//# sourceMappingURL=subscribersNotificationsMarkAsUnread.d.ts.map
|
|
@@ -47,10 +47,10 @@ const errors = __importStar(require("../models/errors/index.js"));
|
|
|
47
47
|
const operations = __importStar(require("../models/operations/index.js"));
|
|
48
48
|
const async_js_1 = require("../types/async.js");
|
|
49
49
|
/**
|
|
50
|
-
* Mark notification as unread
|
|
50
|
+
* Mark a notification as unread
|
|
51
51
|
*
|
|
52
52
|
* @remarks
|
|
53
|
-
* Mark a specific notification as unread by its unique identifier **notificationId**.
|
|
53
|
+
* Mark a specific in-app (inbox) notification as unread by its unique identifier **notificationId**.
|
|
54
54
|
*/
|
|
55
55
|
function subscribersNotificationsMarkAsUnread(client, request, options) {
|
|
56
56
|
return new async_js_1.APIPromise($do(client, request, options));
|
|
@@ -9,10 +9,10 @@ import * as operations from "../models/operations/index.js";
|
|
|
9
9
|
import { APIPromise } from "../types/async.js";
|
|
10
10
|
import { Result } from "../types/fp.js";
|
|
11
11
|
/**
|
|
12
|
-
* Revert notification action
|
|
12
|
+
* Revert a notification action
|
|
13
13
|
*
|
|
14
14
|
* @remarks
|
|
15
|
-
* Revert a notification action (primary or secondary) to pending state by its unique identifier **notificationId** and action type
|
|
15
|
+
* Revert a single in-app (inbox) notification's action (primary or secondary) to pending state by its unique identifier **notificationId** and action type **actionType**.
|
|
16
16
|
*/
|
|
17
17
|
export declare function subscribersNotificationsRevertAction(client: NovuCore, request: operations.SubscribersControllerRevertNotificationActionRequest, options?: RequestOptions): APIPromise<Result<operations.SubscribersControllerRevertNotificationActionResponse, errors.ErrorDto | errors.ValidationErrorDto | NovuError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError>>;
|
|
18
18
|
//# sourceMappingURL=subscribersNotificationsRevertAction.d.ts.map
|
|
@@ -47,10 +47,10 @@ const errors = __importStar(require("../models/errors/index.js"));
|
|
|
47
47
|
const operations = __importStar(require("../models/operations/index.js"));
|
|
48
48
|
const async_js_1 = require("../types/async.js");
|
|
49
49
|
/**
|
|
50
|
-
* Revert notification action
|
|
50
|
+
* Revert a notification action
|
|
51
51
|
*
|
|
52
52
|
* @remarks
|
|
53
|
-
* Revert a notification action (primary or secondary) to pending state by its unique identifier **notificationId** and action type
|
|
53
|
+
* Revert a single in-app (inbox) notification's action (primary or secondary) to pending state by its unique identifier **notificationId** and action type **actionType**.
|
|
54
54
|
*/
|
|
55
55
|
function subscribersNotificationsRevertAction(client, request, options) {
|
|
56
56
|
return new async_js_1.APIPromise($do(client, request, options));
|
|
@@ -9,10 +9,10 @@ import * as operations from "../models/operations/index.js";
|
|
|
9
9
|
import { APIPromise } from "../types/async.js";
|
|
10
10
|
import { Result } from "../types/fp.js";
|
|
11
11
|
/**
|
|
12
|
-
* Snooze notification
|
|
12
|
+
* Snooze a notification
|
|
13
13
|
*
|
|
14
14
|
* @remarks
|
|
15
|
-
* Snooze a specific notification by its unique identifier **notificationId** until a specified time.
|
|
15
|
+
* Snooze a specific in-app (inbox) notification by its unique identifier **notificationId** until a specified time.
|
|
16
16
|
*/
|
|
17
17
|
export declare function subscribersNotificationsSnooze(client: NovuCore, request: operations.SubscribersControllerSnoozeNotificationRequest, options?: RequestOptions): APIPromise<Result<operations.SubscribersControllerSnoozeNotificationResponse, errors.ErrorDto | errors.ValidationErrorDto | NovuError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError>>;
|
|
18
18
|
//# sourceMappingURL=subscribersNotificationsSnooze.d.ts.map
|
|
@@ -47,10 +47,10 @@ const errors = __importStar(require("../models/errors/index.js"));
|
|
|
47
47
|
const operations = __importStar(require("../models/operations/index.js"));
|
|
48
48
|
const async_js_1 = require("../types/async.js");
|
|
49
49
|
/**
|
|
50
|
-
* Snooze notification
|
|
50
|
+
* Snooze a notification
|
|
51
51
|
*
|
|
52
52
|
* @remarks
|
|
53
|
-
* Snooze a specific notification by its unique identifier **notificationId** until a specified time.
|
|
53
|
+
* Snooze a specific in-app (inbox) notification by its unique identifier **notificationId** until a specified time.
|
|
54
54
|
*/
|
|
55
55
|
function subscribersNotificationsSnooze(client, request, options) {
|
|
56
56
|
return new async_js_1.APIPromise($do(client, request, options));
|
|
@@ -9,10 +9,10 @@ import * as operations from "../models/operations/index.js";
|
|
|
9
9
|
import { APIPromise } from "../types/async.js";
|
|
10
10
|
import { Result } from "../types/fp.js";
|
|
11
11
|
/**
|
|
12
|
-
* Unarchive notification
|
|
12
|
+
* Unarchive a notification
|
|
13
13
|
*
|
|
14
14
|
* @remarks
|
|
15
|
-
* Unarchive a specific notification by its unique identifier **notificationId**.
|
|
15
|
+
* Unarchive a specific in-app (inbox) notification by its unique identifier **notificationId**.
|
|
16
16
|
*/
|
|
17
17
|
export declare function subscribersNotificationsUnarchive(client: NovuCore, request: operations.SubscribersControllerUnarchiveNotificationRequest, options?: RequestOptions): APIPromise<Result<operations.SubscribersControllerUnarchiveNotificationResponse, errors.ErrorDto | errors.ValidationErrorDto | NovuError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError>>;
|
|
18
18
|
//# sourceMappingURL=subscribersNotificationsUnarchive.d.ts.map
|
|
@@ -47,10 +47,10 @@ const errors = __importStar(require("../models/errors/index.js"));
|
|
|
47
47
|
const operations = __importStar(require("../models/operations/index.js"));
|
|
48
48
|
const async_js_1 = require("../types/async.js");
|
|
49
49
|
/**
|
|
50
|
-
* Unarchive notification
|
|
50
|
+
* Unarchive a notification
|
|
51
51
|
*
|
|
52
52
|
* @remarks
|
|
53
|
-
* Unarchive a specific notification by its unique identifier **notificationId**.
|
|
53
|
+
* Unarchive a specific in-app (inbox) notification by its unique identifier **notificationId**.
|
|
54
54
|
*/
|
|
55
55
|
function subscribersNotificationsUnarchive(client, request, options) {
|
|
56
56
|
return new async_js_1.APIPromise($do(client, request, options));
|
|
@@ -9,10 +9,10 @@ import * as operations from "../models/operations/index.js";
|
|
|
9
9
|
import { APIPromise } from "../types/async.js";
|
|
10
10
|
import { Result } from "../types/fp.js";
|
|
11
11
|
/**
|
|
12
|
-
* Unsnooze notification
|
|
12
|
+
* Unsnooze a notification
|
|
13
13
|
*
|
|
14
14
|
* @remarks
|
|
15
|
-
* Unsnooze a specific notification by its unique identifier **notificationId**.
|
|
15
|
+
* Unsnooze a specific in-app (inbox) notification by its unique identifier **notificationId**.
|
|
16
16
|
*/
|
|
17
17
|
export declare function subscribersNotificationsUnsnooze(client: NovuCore, request: operations.SubscribersControllerUnsnoozeNotificationRequest, options?: RequestOptions): APIPromise<Result<operations.SubscribersControllerUnsnoozeNotificationResponse, errors.ErrorDto | errors.ValidationErrorDto | NovuError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError>>;
|
|
18
18
|
//# sourceMappingURL=subscribersNotificationsUnsnooze.d.ts.map
|
|
@@ -47,10 +47,10 @@ const errors = __importStar(require("../models/errors/index.js"));
|
|
|
47
47
|
const operations = __importStar(require("../models/operations/index.js"));
|
|
48
48
|
const async_js_1 = require("../types/async.js");
|
|
49
49
|
/**
|
|
50
|
-
* Unsnooze notification
|
|
50
|
+
* Unsnooze a notification
|
|
51
51
|
*
|
|
52
52
|
* @remarks
|
|
53
|
-
* Unsnooze a specific notification by its unique identifier **notificationId**.
|
|
53
|
+
* Unsnooze a specific in-app (inbox) notification by its unique identifier **notificationId**.
|
|
54
54
|
*/
|
|
55
55
|
function subscribersNotificationsUnsnooze(client, request, options) {
|
|
56
56
|
return new async_js_1.APIPromise($do(client, request, options));
|
|
@@ -74,8 +74,9 @@ async function $do(client, requestBody, idempotencyKey, options) {
|
|
|
74
74
|
const payload = parsed.value;
|
|
75
75
|
const body = new FormData();
|
|
76
76
|
if ((0, blobs_js_1.isBlobLike)(payload.RequestBody.file)) {
|
|
77
|
-
const
|
|
78
|
-
const
|
|
77
|
+
const file = payload.RequestBody.file;
|
|
78
|
+
const blob = await (0, encodings_js_1.normalizeBlob)(file);
|
|
79
|
+
const name = "name" in file ? file.name : undefined;
|
|
79
80
|
(0, encodings_js_1.appendForm)(body, "file", blob, name);
|
|
80
81
|
}
|
|
81
82
|
else if ((0, streams_js_1.isReadableStream)(payload.RequestBody.file.content)) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"translationsMasterUpload.js","sourceRoot":"","sources":["../src/funcs/translationsMasterUpload.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAwCH,4DAyBC;AA9DD,
|
|
1
|
+
{"version":3,"file":"translationsMasterUpload.js","sourceRoot":"","sources":["../src/funcs/translationsMasterUpload.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAwCH,4DAyBC;AA9DD,sDAA8E;AAC9E,8CAIyB;AACzB,sDAAwC;AACxC,wDAAkD;AAClD,kDAA8C;AAE9C,oDAA4E;AAC5E,0CAA2C;AAC3C,0EAA4D;AAW5D,0EAA4D;AAC5D,gDAAwD;AACxD,gDAA+C;AAE/C,oDAAuD;AAEvD;;;;;;;GAOG;AACH,SAAgB,wBAAwB,CACtC,MAAgB,EAChB,WACqE,EACrE,cAAmC,EACnC,OAAwB;IAcxB,OAAO,IAAI,qBAAU,CAAC,GAAG,CACvB,MAAM,EACN,WAAW,EACX,cAAc,EACd,OAAO,CACR,CAAC,CAAC;AACL,CAAC;AAED,KAAK,UAAU,GAAG,CAChB,MAAgB,EAChB,WACqE,EACrE,cAAmC,EACnC,OAAwB;IAiBxB,MAAM,KAAK,GACT;QACE,WAAW,EAAE,WAAW;QACxB,cAAc,EAAE,cAAc;KAC/B,CAAC;IAEJ,MAAM,MAAM,GAAG,IAAA,sBAAS,EACtB,KAAK,EACL,CAAC,KAAK,EAAE,EAAE,CACR,UAAU;SACP,mEAAmE;SACnE,KAAK,CAAC,KAAK,CAAC,EACjB,yBAAyB,CAC1B,CAAC;IACF,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;QACf,OAAO,CAAC,MAAM,EAAE,EAAE,MAAM,EAAE,SAAS,EAAE,CAAC,CAAC;IACzC,CAAC;IACD,MAAM,OAAO,GAAG,MAAM,CAAC,KAAK,CAAC;IAC7B,MAAM,IAAI,GAAG,IAAI,QAAQ,EAAE,CAA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CAAC,IAAI,CAAC,KAAK,CAAC,CACd,CAAC,QAAQ,EAAE,GAAG,CAAC,CAAC;IACjB,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;QACf,OAAO,CAAC,MAAM,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,CAAC,CAAC;IAClE,CAAC;IAED,OAAO,CAAC,MAAM,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,CAAC,CAAC;AAClE,CAAC"}
|
|
@@ -75,8 +75,9 @@ async function $do(client, requestBody, idempotencyKey, options) {
|
|
|
75
75
|
const body = new FormData();
|
|
76
76
|
for (const fileItem of payload.RequestBody.files ?? []) {
|
|
77
77
|
if ((0, blobs_js_1.isBlobLike)(fileItem)) {
|
|
78
|
-
const
|
|
79
|
-
const
|
|
78
|
+
const file = fileItem;
|
|
79
|
+
const blob = await (0, encodings_js_1.normalizeBlob)(file);
|
|
80
|
+
const name = "name" in file ? file.name : undefined;
|
|
80
81
|
(0, encodings_js_1.appendForm)(body, "files[]", blob, name);
|
|
81
82
|
}
|
|
82
83
|
else if ((0, streams_js_1.isReadableStream)(fileItem.content)) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"translationsUpload.js","sourceRoot":"","sources":["../src/funcs/translationsUpload.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAwCH,gDAyBC;AA9DD,
|
|
1
|
+
{"version":3,"file":"translationsUpload.js","sourceRoot":"","sources":["../src/funcs/translationsUpload.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAwCH,gDAyBC;AA9DD,sDAA8E;AAC9E,8CAIyB;AACzB,sDAAwC;AACxC,wDAAkD;AAClD,kDAA8C;AAE9C,oDAA4E;AAC5E,0CAA2C;AAC3C,0EA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AAE,CAAC,CAAC;AAClE,CAAC"}
|
|
@@ -9,7 +9,7 @@ import * as operations from "../models/operations/index.js";
|
|
|
9
9
|
import { APIPromise } from "../types/async.js";
|
|
10
10
|
import { Result } from "../types/fp.js";
|
|
11
11
|
/**
|
|
12
|
-
* Generate step preview
|
|
12
|
+
* Generate a step preview
|
|
13
13
|
*
|
|
14
14
|
* @remarks
|
|
15
15
|
* Generates a preview for a specific workflow step by its unique identifier **stepId**
|
|
@@ -47,7 +47,7 @@ const errors = __importStar(require("../models/errors/index.js"));
|
|
|
47
47
|
const operations = __importStar(require("../models/operations/index.js"));
|
|
48
48
|
const async_js_1 = require("../types/async.js");
|
|
49
49
|
/**
|
|
50
|
-
* Generate step preview
|
|
50
|
+
* Generate a step preview
|
|
51
51
|
*
|
|
52
52
|
* @remarks
|
|
53
53
|
* Generates a preview for a specific workflow step by its unique identifier **stepId**
|
package/jsr.json
CHANGED
package/lib/config.d.ts
CHANGED
|
@@ -30,9 +30,9 @@ export type SDKOptions = {
|
|
|
30
30
|
export declare function serverURLFromOptions(options: SDKOptions): URL | null;
|
|
31
31
|
export declare const SDK_METADATA: {
|
|
32
32
|
readonly language: "typescript";
|
|
33
|
-
readonly openapiDocVersion: "3.
|
|
34
|
-
readonly sdkVersion: "3.
|
|
35
|
-
readonly genVersion: "2.879.
|
|
36
|
-
readonly userAgent: "speakeasy-sdk/typescript 3.
|
|
33
|
+
readonly openapiDocVersion: "3.15.0";
|
|
34
|
+
readonly sdkVersion: "3.15.0";
|
|
35
|
+
readonly genVersion: "2.879.11";
|
|
36
|
+
readonly userAgent: "speakeasy-sdk/typescript 3.15.0 2.879.11 3.15.0 @novu/api";
|
|
37
37
|
};
|
|
38
38
|
//# sourceMappingURL=config.d.ts.map
|
package/lib/config.js
CHANGED
|
@@ -28,9 +28,9 @@ function serverURLFromOptions(options) {
|
|
|
28
28
|
}
|
|
29
29
|
exports.SDK_METADATA = {
|
|
30
30
|
language: "typescript",
|
|
31
|
-
openapiDocVersion: "3.
|
|
32
|
-
sdkVersion: "3.
|
|
33
|
-
genVersion: "2.879.
|
|
34
|
-
userAgent: "speakeasy-sdk/typescript 3.
|
|
31
|
+
openapiDocVersion: "3.15.0",
|
|
32
|
+
sdkVersion: "3.15.0",
|
|
33
|
+
genVersion: "2.879.11",
|
|
34
|
+
userAgent: "speakeasy-sdk/typescript 3.15.0 2.879.11 3.15.0 @novu/api",
|
|
35
35
|
};
|
|
36
36
|
//# sourceMappingURL=config.js.map
|
package/lib/config.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config.js","sourceRoot":"","sources":["../src/lib/config.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAuCH,oDAeC;AAjDD,qCAA8C;AAE9C;;GAEG;AACU,QAAA,UAAU,GAAG;IACxB,qBAAqB;IACrB,wBAAwB;CAChB,CAAC;AA0BX,SAAgB,oBAAoB,CAAC,OAAmB;IACtD,IAAI,SAAS,GAAG,OAAO,CAAC,SAAS,CAAC;IAElC,MAAM,MAAM,GAAW,EAAE,CAAC;IAE1B,IAAI,CAAC,SAAS,EAAE,CAAC;QACf,MAAM,SAAS,GAAG,OAAO,CAAC,SAAS,IAAI,CAAC,CAAC;QACzC,IAAI,SAAS,GAAG,CAAC,IAAI,SAAS,IAAI,kBAAU,CAAC,MAAM,EAAE,CAAC;YACpD,MAAM,IAAI,KAAK,CAAC,wBAAwB,SAAS,EAAE,CAAC,CAAC;QACvD,CAAC;QACD,SAAS,GAAG,kBAAU,CAAC,SAAS,CAAC,IAAI,EAAE,CAAC;IAC1C,CAAC;IAED,MAAM,CAAC,GAAG,IAAA,mBAAU,EAAC,SAAS,CAAC,CAAC,MAAM,CAAC,CAAC;IACxC,OAAO,IAAI,GAAG,CAAC,CAAC,CAAC,CAAC;AACpB,CAAC;AAEY,QAAA,YAAY,GAAG;IAC1B,QAAQ,EAAE,YAAY;IACtB,iBAAiB,EAAE,QAAQ;IAC3B,UAAU,EAAE,QAAQ;IACpB,UAAU,EAAE,
|
|
1
|
+
{"version":3,"file":"config.js","sourceRoot":"","sources":["../src/lib/config.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAuCH,oDAeC;AAjDD,qCAA8C;AAE9C;;GAEG;AACU,QAAA,UAAU,GAAG;IACxB,qBAAqB;IACrB,wBAAwB;CAChB,CAAC;AA0BX,SAAgB,oBAAoB,CAAC,OAAmB;IACtD,IAAI,SAAS,GAAG,OAAO,CAAC,SAAS,CAAC;IAElC,MAAM,MAAM,GAAW,EAAE,CAAC;IAE1B,IAAI,CAAC,SAAS,EAAE,CAAC;QACf,MAAM,SAAS,GAAG,OAAO,CAAC,SAAS,IAAI,CAAC,CAAC;QACzC,IAAI,SAAS,GAAG,CAAC,IAAI,SAAS,IAAI,kBAAU,CAAC,MAAM,EAAE,CAAC;YACpD,MAAM,IAAI,KAAK,CAAC,wBAAwB,SAAS,EAAE,CAAC,CAAC;QACvD,CAAC;QACD,SAAS,GAAG,kBAAU,CAAC,SAAS,CAAC,IAAI,EAAE,CAAC;IAC1C,CAAC;IAED,MAAM,CAAC,GAAG,IAAA,mBAAU,EAAC,SAAS,CAAC,CAAC,MAAM,CAAC,CAAC;IACxC,OAAO,IAAI,GAAG,CAAC,CAAC,CAAC,CAAC;AACpB,CAAC;AAEY,QAAA,YAAY,GAAG;IAC1B,QAAQ,EAAE,YAAY;IACtB,iBAAiB,EAAE,QAAQ;IAC3B,UAAU,EAAE,QAAQ;IACpB,UAAU,EAAE,UAAU;IACtB,SAAS,EAAE,2DAA2D;CAC9D,CAAC"}
|
package/lib/encodings.d.ts
CHANGED
|
@@ -49,5 +49,6 @@ export declare const encodeSpaceDelimitedQuery: BulkQueryEncoder;
|
|
|
49
49
|
export declare const encodePipeDelimitedQuery: BulkQueryEncoder;
|
|
50
50
|
export declare const encodeDeepObjectQuery: BulkQueryEncoder;
|
|
51
51
|
export declare function appendForm(fd: FormData, key: string, value: unknown, fileName?: string): void;
|
|
52
|
+
export declare function normalizeBlob(value: Pick<Blob, "arrayBuffer" | "type">): Promise<Blob>;
|
|
52
53
|
export {};
|
|
53
54
|
//# sourceMappingURL=encodings.d.ts.map
|
package/lib/encodings.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"encodings.d.ts","sourceRoot":"","sources":["../src/lib/encodings.ts"],"names":[],"mappings":"AAOA,qBAAa,aAAc,SAAQ,KAAK;gBAC1B,OAAO,EAAE,MAAM;CAI5B;AAED,wBAAgB,YAAY,CAC1B,GAAG,EAAE,MAAM,EACX,KAAK,EAAE,OAAO,EACd,OAAO,CAAC,EAAE;IAAE,OAAO,CAAC,EAAE,OAAO,CAAC;IAAC,YAAY,CAAC,EAAE,SAAS,GAAG,MAAM,CAAA;CAAE,GACjE,MAAM,GAAG,SAAS,CAoDpB;AAED,wBAAgB,WAAW,CACzB,GAAG,EAAE,MAAM,EACX,KAAK,EAAE,OAAO,EACd,OAAO,CAAC,EAAE;IAAE,OAAO,CAAC,EAAE,OAAO,CAAC;IAAC,YAAY,CAAC,EAAE,SAAS,GAAG,MAAM,CAAA;CAAE,GACjE,MAAM,GAAG,SAAS,CAsCpB;AAED,KAAK,WAAW,GAAG,CACjB,GAAG,EAAE,MAAM,EACX,KAAK,EAAE,OAAO,EACd,OAAO,CAAC,EAAE;IAAE,OAAO,CAAC,EAAE,OAAO,CAAC;IAAC,YAAY,CAAC,EAAE,SAAS,GAAG,MAAM,CAAA;CAAE,KAC/D,MAAM,GAAG,SAAS,CAAC;AA2DxB,eAAO,MAAM,UAAU,aAAmB,CAAC;AAC3C,eAAO,MAAM,oBAAoB,aAAmB,CAAC;AACrD,eAAO,MAAM,mBAAmB,aAAmB,CAAC;AAEpD,wBAAgB,cAAc,CAC5B,GAAG,EAAE,MAAM,EACX,KAAK,EAAE,OAAO,EACd,OAAO,CAAC,EAAE;IAAE,OAAO,CAAC,EAAE,OAAO,CAAC;IAAC,YAAY,CAAC,EAAE,SAAS,GAAG,MAAM,CAAA;CAAE,G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ED,KAAK,mBAAmB,GAAG;IACzB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,YAAY,CAAC,EAAE,SAAS,GAAG,MAAM,CAAC;IAClC,eAAe,CAAC,EAAE,MAAM,EAAE,CAAC;CAC5B,CAAC;AAEF,KAAK,YAAY,GAAG,CAClB,GAAG,EAAE,MAAM,EACX,KAAK,EAAE,OAAO,EACd,OAAO,CAAC,EAAE,mBAAmB,KAC1B,MAAM,GAAG,SAAS,CAAC;AAExB,KAAK,gBAAgB,GAAG,CACtB,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAC/B,OAAO,CAAC,EAAE,mBAAmB,KAC1B,MAAM,CAAC;AAEZ,wBAAgB,YAAY,CAAC,CAAC,EAAE,YAAY,GAAG,gBAAgB,CA8B9D;AAED,eAAO,MAAM,eAAe,kBAA2B,CAAC;AACxD,eAAO,MAAM,eAAe,kBAA2B,CAAC;AACxD,eAAO,MAAM,yBAAyB,kBAAqC,CAAC;AAC5E,eAAO,MAAM,wBAAwB,kBAAoC,CAAC;AAC1E,eAAO,MAAM,qBAAqB,kBAAiC,CAAC;AAmBpE,wBAAgB,UAAU,CACxB,EAAE,EAAE,QAAQ,EACZ,GAAG,EAAE,MAAM,EACX,KAAK,EAAE,OAAO,EACd,QAAQ,CAAC,EAAE,MAAM,GAChB,IAAI,CAYN;AAED,wBAAsB,aAAa,CACjC,KAAK,EAAE,IAAI,CAAC,IAAI,EAAE,aAAa,GAAG,MAAM,CAAC,GACxC,OAAO,CAAC,IAAI,CAAC,CAKf"}
|
package/lib/encodings.js
CHANGED
|
@@ -13,6 +13,7 @@ exports.encodeJSON = encodeJSON;
|
|
|
13
13
|
exports.queryJoin = queryJoin;
|
|
14
14
|
exports.queryEncoder = queryEncoder;
|
|
15
15
|
exports.appendForm = appendForm;
|
|
16
|
+
exports.normalizeBlob = normalizeBlob;
|
|
16
17
|
const base64_js_1 = require("./base64.js");
|
|
17
18
|
const is_plain_object_js_1 = require("./is-plain-object.js");
|
|
18
19
|
class EncodingError extends Error {
|
|
@@ -391,4 +392,10 @@ function appendForm(fd, key, value, fileName) {
|
|
|
391
392
|
fd.append(key, String(value));
|
|
392
393
|
}
|
|
393
394
|
}
|
|
395
|
+
async function normalizeBlob(value) {
|
|
396
|
+
if (value instanceof Blob) {
|
|
397
|
+
return value;
|
|
398
|
+
}
|
|
399
|
+
return new Blob([await value.arrayBuffer()], { type: value.type });
|
|
400
|
+
}
|
|
394
401
|
//# sourceMappingURL=encodings.js.map
|