@novu/api 3.16.0 → 3.17.1
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 +20 -14
- package/funcs/integrationsCreate.d.ts +1 -1
- package/funcs/integrationsCreate.js +1 -1
- package/funcs/integrationsCreateMobileLink.d.ts +19 -0
- package/funcs/integrationsCreateMobileLink.d.ts.map +1 -0
- package/funcs/integrationsCreateMobileLink.js +141 -0
- package/funcs/integrationsCreateMobileLink.js.map +1 -0
- package/funcs/integrationsDelete.d.ts +1 -1
- package/funcs/integrationsDelete.js +1 -1
- package/funcs/integrationsIntegrationsControllerAutoConfigureIntegration.d.ts +1 -1
- package/funcs/integrationsIntegrationsControllerAutoConfigureIntegration.js +1 -1
- package/funcs/integrationsIntegrationsControllerConfigureIntegrationWebhook.d.ts +18 -0
- package/funcs/integrationsIntegrationsControllerConfigureIntegrationWebhook.d.ts.map +1 -0
- package/funcs/integrationsIntegrationsControllerConfigureIntegrationWebhook.js +139 -0
- package/funcs/integrationsIntegrationsControllerConfigureIntegrationWebhook.js.map +1 -0
- package/funcs/integrationsLinkChannelEndpoint.d.ts +19 -0
- package/funcs/integrationsLinkChannelEndpoint.d.ts.map +1 -0
- package/funcs/integrationsLinkChannelEndpoint.js +138 -0
- package/funcs/integrationsLinkChannelEndpoint.js.map +1 -0
- package/funcs/integrationsList.d.ts +1 -1
- package/funcs/integrationsList.js +1 -1
- package/funcs/integrationsListActive.d.ts +1 -1
- package/funcs/integrationsListActive.js +1 -1
- package/funcs/integrationsSetAsPrimary.d.ts +1 -0
- package/funcs/integrationsSetAsPrimary.d.ts.map +1 -1
- package/funcs/integrationsSetAsPrimary.js +1 -0
- package/funcs/integrationsSetAsPrimary.js.map +1 -1
- package/funcs/integrationsUpdate.d.ts +1 -1
- package/funcs/integrationsUpdate.js +1 -1
- package/funcs/subscribersMessagesMarkAll.d.ts +3 -1
- package/funcs/subscribersMessagesMarkAll.d.ts.map +1 -1
- package/funcs/subscribersMessagesMarkAll.js +3 -1
- package/funcs/subscribersMessagesMarkAll.js.map +1 -1
- package/funcs/subscribersMessagesMarkAllAs.d.ts +4 -2
- package/funcs/subscribersMessagesMarkAllAs.d.ts.map +1 -1
- package/funcs/subscribersMessagesMarkAllAs.js +4 -2
- package/funcs/subscribersMessagesMarkAllAs.js.map +1 -1
- package/funcs/subscribersMessagesUpdateAsSeen.d.ts +3 -1
- package/funcs/subscribersMessagesUpdateAsSeen.d.ts.map +1 -1
- package/funcs/subscribersMessagesUpdateAsSeen.js +3 -1
- package/funcs/subscribersMessagesUpdateAsSeen.js.map +1 -1
- package/funcs/subscribersNotificationsFeed.d.ts +3 -1
- package/funcs/subscribersNotificationsFeed.d.ts.map +1 -1
- package/funcs/subscribersNotificationsFeed.js +3 -1
- package/funcs/subscribersNotificationsFeed.js.map +1 -1
- package/funcs/subscribersNotificationsUnseenCount.d.ts +3 -1
- package/funcs/subscribersNotificationsUnseenCount.d.ts.map +1 -1
- package/funcs/subscribersNotificationsUnseenCount.js +3 -1
- package/funcs/subscribersNotificationsUnseenCount.js.map +1 -1
- package/hooks/types.d.ts +1 -0
- package/hooks/types.d.ts.map +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +4 -4
- package/lib/config.js +4 -4
- package/lib/encodings.js +12 -12
- package/lib/encodings.js.map +1 -1
- package/lib/matchers.js +3 -3
- package/lib/matchers.js.map +1 -1
- package/lib/primitives.d.ts +1 -0
- package/lib/primitives.d.ts.map +1 -1
- package/lib/primitives.js +18 -0
- package/lib/primitives.js.map +1 -1
- package/lib/retries.js +7 -0
- package/lib/retries.js.map +1 -1
- package/lib/sdks.d.ts.map +1 -1
- package/lib/sdks.js +50 -16
- package/lib/sdks.js.map +1 -1
- package/models/components/chatorpushproviderenum.d.ts +1 -0
- package/models/components/chatorpushproviderenum.d.ts.map +1 -1
- package/models/components/chatorpushproviderenum.js +1 -0
- package/models/components/chatorpushproviderenum.js.map +1 -1
- package/models/components/configuretelegramwebhookresponsedto.d.ts +21 -0
- package/models/components/configuretelegramwebhookresponsedto.d.ts.map +1 -0
- package/models/components/configuretelegramwebhookresponsedto.js +52 -0
- package/models/components/configuretelegramwebhookresponsedto.js.map +1 -0
- package/models/components/createtelegramchatendpointdto.d.ts +75 -0
- package/models/components/createtelegramchatendpointdto.d.ts.map +1 -0
- package/models/components/createtelegramchatendpointdto.js +77 -0
- package/models/components/createtelegramchatendpointdto.js.map +1 -0
- package/models/components/credentialsdto.d.ts +22 -0
- package/models/components/credentialsdto.d.ts.map +1 -1
- package/models/components/credentialsdto.js +10 -0
- package/models/components/credentialsdto.js.map +1 -1
- package/models/components/getchannelconnectionresponsedto.d.ts +3 -0
- package/models/components/getchannelconnectionresponsedto.d.ts.map +1 -1
- package/models/components/getchannelconnectionresponsedto.js +3 -0
- package/models/components/getchannelconnectionresponsedto.js.map +1 -1
- package/models/components/getchannelendpointresponsedto.d.ts +9 -2
- package/models/components/getchannelendpointresponsedto.d.ts.map +1 -1
- package/models/components/getchannelendpointresponsedto.js +13 -0
- package/models/components/getchannelendpointresponsedto.js.map +1 -1
- package/models/components/index.d.ts +7 -0
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +7 -0
- package/models/components/index.js.map +1 -1
- package/models/components/issueintegrationmobilelinkrequestdto.d.ts +15 -0
- package/models/components/issueintegrationmobilelinkrequestdto.d.ts.map +1 -0
- package/models/components/issueintegrationmobilelinkrequestdto.js +49 -0
- package/models/components/issueintegrationmobilelinkrequestdto.js.map +1 -0
- package/models/components/issuetelegrammobilelinkresponsedto.d.ts +21 -0
- package/models/components/issuetelegrammobilelinkresponsedto.d.ts.map +1 -0
- package/models/components/issuetelegrammobilelinkresponsedto.js +52 -0
- package/models/components/issuetelegrammobilelinkresponsedto.js.map +1 -0
- package/models/components/linkchannelendpointrequestdto.d.ts +20 -0
- package/models/components/linkchannelendpointrequestdto.d.ts.map +1 -0
- package/models/components/linkchannelendpointrequestdto.js +50 -0
- package/models/components/linkchannelendpointrequestdto.js.map +1 -0
- package/models/components/linkchannelendpointresponsedto.d.ts +19 -0
- package/models/components/linkchannelendpointresponsedto.d.ts.map +1 -0
- package/models/components/linkchannelendpointresponsedto.js +51 -0
- package/models/components/linkchannelendpointresponsedto.js.map +1 -0
- package/models/components/msteamschannelendpointdto.d.ts +5 -0
- package/models/components/msteamschannelendpointdto.d.ts.map +1 -1
- package/models/components/msteamschannelendpointdto.js +11 -1
- package/models/components/msteamschannelendpointdto.js.map +1 -1
- package/models/components/msteamsuserendpointdto.d.ts +5 -0
- package/models/components/msteamsuserendpointdto.d.ts.map +1 -1
- package/models/components/msteamsuserendpointdto.js +10 -1
- package/models/components/msteamsuserendpointdto.js.map +1 -1
- package/models/components/previewpayloaddto.d.ts +5 -0
- package/models/components/previewpayloaddto.d.ts.map +1 -1
- package/models/components/previewpayloaddto.js +2 -0
- package/models/components/previewpayloaddto.js.map +1 -1
- package/models/components/providersidenum.d.ts +3 -0
- package/models/components/providersidenum.d.ts.map +1 -1
- package/models/components/providersidenum.js +3 -0
- package/models/components/providersidenum.js.map +1 -1
- package/models/components/subscriberchanneldto.d.ts +1 -0
- package/models/components/subscriberchanneldto.d.ts.map +1 -1
- package/models/components/subscriberchanneldto.js +1 -0
- package/models/components/subscriberchanneldto.js.map +1 -1
- package/models/components/telegramchatendpointdto.d.ts +20 -0
- package/models/components/telegramchatendpointdto.d.ts.map +1 -0
- package/models/components/telegramchatendpointdto.js +58 -0
- package/models/components/telegramchatendpointdto.js.map +1 -0
- package/models/components/updateworkflowdto.d.ts +5 -4
- package/models/components/updateworkflowdto.d.ts.map +1 -1
- package/models/components/updateworkflowdto.js +3 -0
- package/models/components/updateworkflowdto.js.map +1 -1
- package/models/operations/channelendpointscontrollercreatechannelendpoint.d.ts +4 -4
- package/models/operations/channelendpointscontrollercreatechannelendpoint.d.ts.map +1 -1
- package/models/operations/channelendpointscontrollercreatechannelendpoint.js +2 -0
- package/models/operations/channelendpointscontrollercreatechannelendpoint.js.map +1 -1
- package/models/operations/index.d.ts +3 -0
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +3 -0
- package/models/operations/index.js.map +1 -1
- package/models/operations/integrationscontrollerconfigureintegrationwebhook.d.ts +29 -0
- package/models/operations/integrationscontrollerconfigureintegrationwebhook.d.ts.map +1 -0
- package/models/operations/integrationscontrollerconfigureintegrationwebhook.js +73 -0
- package/models/operations/integrationscontrollerconfigureintegrationwebhook.js.map +1 -0
- package/models/operations/integrationscontrollercreateintegrationmobilelink.d.ts +31 -0
- package/models/operations/integrationscontrollercreateintegrationmobilelink.d.ts.map +1 -0
- package/models/operations/integrationscontrollercreateintegrationmobilelink.js +75 -0
- package/models/operations/integrationscontrollercreateintegrationmobilelink.js.map +1 -0
- package/models/operations/integrationscontrollerlinkchannelendpoint.d.ts +29 -0
- package/models/operations/integrationscontrollerlinkchannelendpoint.d.ts.map +1 -0
- package/models/operations/integrationscontrollerlinkchannelendpoint.js +72 -0
- package/models/operations/integrationscontrollerlinkchannelendpoint.js.map +1 -0
- package/package.json +1 -1
- package/sdk/integrations.d.ts +28 -6
- package/sdk/integrations.d.ts.map +1 -1
- package/sdk/integrations.js +37 -6
- package/sdk/integrations.js.map +1 -1
- package/sdk/novumessages.d.ts +10 -4
- package/sdk/novumessages.d.ts.map +1 -1
- package/sdk/novumessages.js +10 -4
- package/sdk/novumessages.js.map +1 -1
- package/sdk/novunotifications.d.ts +6 -2
- package/sdk/novunotifications.d.ts.map +1 -1
- package/sdk/novunotifications.js +6 -2
- package/sdk/novunotifications.js.map +1 -1
- package/src/funcs/integrationsCreate.ts +1 -1
- package/src/funcs/integrationsCreateMobileLink.ts +236 -0
- package/src/funcs/integrationsDelete.ts +1 -1
- package/src/funcs/integrationsIntegrationsControllerAutoConfigureIntegration.ts +1 -1
- package/src/funcs/integrationsIntegrationsControllerConfigureIntegrationWebhook.ts +223 -0
- package/src/funcs/integrationsLinkChannelEndpoint.ts +216 -0
- package/src/funcs/integrationsList.ts +1 -1
- package/src/funcs/integrationsListActive.ts +1 -1
- package/src/funcs/integrationsSetAsPrimary.ts +1 -0
- package/src/funcs/integrationsUpdate.ts +1 -1
- package/src/funcs/subscribersMessagesMarkAll.ts +3 -1
- package/src/funcs/subscribersMessagesMarkAllAs.ts +4 -2
- package/src/funcs/subscribersMessagesUpdateAsSeen.ts +3 -1
- package/src/funcs/subscribersNotificationsFeed.ts +3 -1
- package/src/funcs/subscribersNotificationsUnseenCount.ts +3 -1
- package/src/hooks/types.ts +1 -0
- package/src/lib/config.ts +4 -4
- package/src/lib/encodings.ts +1 -1
- package/src/lib/matchers.ts +1 -1
- package/src/lib/primitives.ts +16 -0
- package/src/lib/retries.ts +8 -0
- package/src/lib/sdks.ts +54 -17
- package/src/models/components/chatorpushproviderenum.ts +1 -0
- package/src/models/components/configuretelegramwebhookresponsedto.ts +45 -0
- package/src/models/components/createtelegramchatendpointdto.ts +149 -0
- package/src/models/components/credentialsdto.ts +32 -0
- package/src/models/components/getchannelconnectionresponsedto.ts +3 -0
- package/src/models/components/getchannelendpointresponsedto.ts +30 -2
- package/src/models/components/index.ts +7 -0
- package/src/models/components/issueintegrationmobilelinkrequestdto.ts +36 -0
- package/src/models/components/issuetelegrammobilelinkresponsedto.ts +45 -0
- package/src/models/components/linkchannelendpointrequestdto.ts +42 -0
- package/src/models/components/linkchannelendpointresponsedto.ts +39 -0
- package/src/models/components/msteamschannelendpointdto.ts +21 -0
- package/src/models/components/msteamsuserendpointdto.ts +20 -0
- package/src/models/components/previewpayloaddto.ts +7 -0
- package/src/models/components/providersidenum.ts +3 -0
- package/src/models/components/subscriberchanneldto.ts +1 -0
- package/src/models/components/telegramchatendpointdto.ts +54 -0
- package/src/models/components/updateworkflowdto.ts +11 -0
- package/src/models/operations/channelendpointscontrollercreatechannelendpoint.ts +10 -4
- package/src/models/operations/index.ts +3 -0
- package/src/models/operations/integrationscontrollerconfigureintegrationwebhook.ts +86 -0
- package/src/models/operations/integrationscontrollercreateintegrationmobilelink.ts +94 -0
- package/src/models/operations/integrationscontrollerlinkchannelendpoint.ts +90 -0
- package/src/sdk/integrations.ts +76 -6
- package/src/sdk/novumessages.ts +10 -4
- package/src/sdk/novunotifications.ts +6 -2
- package/src/types/async.ts +8 -7
- package/types/async.d.ts.map +1 -1
- package/types/async.js +8 -7
- package/types/async.js.map +1 -1
- package/lib/dlv.d.ts +0 -14
- package/lib/dlv.d.ts.map +0 -1
- package/lib/dlv.js +0 -49
- package/lib/dlv.js.map +0 -1
- package/lib/is-plain-object.d.ts +0 -2
- package/lib/is-plain-object.d.ts.map +0 -1
- package/lib/is-plain-object.js +0 -41
- package/lib/is-plain-object.js.map +0 -1
- package/src/lib/dlv.ts +0 -53
- package/src/lib/is-plain-object.ts +0 -43
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.IntegrationsControllerCreateIntegrationMobileLinkResponse$inboundSchema = exports.IntegrationsControllerCreateIntegrationMobileLinkRequest$outboundSchema = void 0;
|
|
40
|
+
exports.integrationsControllerCreateIntegrationMobileLinkRequestToJSON = integrationsControllerCreateIntegrationMobileLinkRequestToJSON;
|
|
41
|
+
exports.integrationsControllerCreateIntegrationMobileLinkResponseFromJSON = integrationsControllerCreateIntegrationMobileLinkResponseFromJSON;
|
|
42
|
+
const z = __importStar(require("zod/v3"));
|
|
43
|
+
const primitives_js_1 = require("../../lib/primitives.js");
|
|
44
|
+
const schemas_js_1 = require("../../lib/schemas.js");
|
|
45
|
+
const components = __importStar(require("../components/index.js"));
|
|
46
|
+
/** @internal */
|
|
47
|
+
exports.IntegrationsControllerCreateIntegrationMobileLinkRequest$outboundSchema = z.object({
|
|
48
|
+
integrationIdentifier: z.string(),
|
|
49
|
+
idempotencyKey: z.string().optional(),
|
|
50
|
+
issueIntegrationMobileLinkRequestDto: components.IssueIntegrationMobileLinkRequestDto$outboundSchema,
|
|
51
|
+
}).transform((v) => {
|
|
52
|
+
return (0, primitives_js_1.remap)(v, {
|
|
53
|
+
idempotencyKey: "idempotency-key",
|
|
54
|
+
issueIntegrationMobileLinkRequestDto: "IssueIntegrationMobileLinkRequestDto",
|
|
55
|
+
});
|
|
56
|
+
});
|
|
57
|
+
function integrationsControllerCreateIntegrationMobileLinkRequestToJSON(integrationsControllerCreateIntegrationMobileLinkRequest) {
|
|
58
|
+
return JSON.stringify(exports.IntegrationsControllerCreateIntegrationMobileLinkRequest$outboundSchema
|
|
59
|
+
.parse(integrationsControllerCreateIntegrationMobileLinkRequest));
|
|
60
|
+
}
|
|
61
|
+
/** @internal */
|
|
62
|
+
exports.IntegrationsControllerCreateIntegrationMobileLinkResponse$inboundSchema = z.object({
|
|
63
|
+
Headers: z.record(z.array(z.string())).default({}),
|
|
64
|
+
Result: components.IssueTelegramMobileLinkResponseDto$inboundSchema,
|
|
65
|
+
}).transform((v) => {
|
|
66
|
+
return (0, primitives_js_1.remap)(v, {
|
|
67
|
+
"Headers": "headers",
|
|
68
|
+
"Result": "result",
|
|
69
|
+
});
|
|
70
|
+
});
|
|
71
|
+
function integrationsControllerCreateIntegrationMobileLinkResponseFromJSON(jsonString) {
|
|
72
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.IntegrationsControllerCreateIntegrationMobileLinkResponse$inboundSchema
|
|
73
|
+
.parse(JSON.parse(x)), `Failed to parse 'IntegrationsControllerCreateIntegrationMobileLinkResponse' from JSON`);
|
|
74
|
+
}
|
|
75
|
+
//# sourceMappingURL=integrationscontrollercreateintegrationmobilelink.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"integrationscontrollercreateintegrationmobilelink.js","sourceRoot":"","sources":["../../src/models/operations/integrationscontrollercreateintegrationmobilelink.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoDH,wIAQC;AAkBD,8IAaC;AAzFD,0CAA4B;AAC5B,2DAA0D;AAC1D,qDAAiD;AAEjD,mEAAqD;AA2BrD,gBAAgB;AACH,QAAA,uEAAuE,GAK9E,CAAC,CAAC,MAAM,CAAC;IACX,qBAAqB,EAAE,CAAC,CAAC,MAAM,EAAE;IACjC,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACrC,oCAAoC,EAClC,UAAU,CAAC,mDAAmD;CACjE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,cAAc,EAAE,iBAAiB;QACjC,oCAAoC,EAClC,sCAAsC;KACzC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEL,SAAgB,8DAA8D,CAC5E,wDAC0D;IAE1D,OAAO,IAAI,CAAC,SAAS,CACnB,+EAAuE;SACpE,KAAK,CAAC,wDAAwD,CAAC,CACnE,CAAC;AACJ,CAAC;AAED,gBAAgB;AACH,QAAA,uEAAuE,GAK9E,CAAC,CAAC,MAAM,CAAC;IACX,OAAO,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC,OAAO,CAAC,EAAE,CAAC;IAClD,MAAM,EAAE,UAAU,CAAC,gDAAgD;CACpE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,SAAS,EAAE,SAAS;QACpB,QAAQ,EAAE,QAAQ;KACnB,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEL,SAAgB,iEAAiE,CAC/E,UAAkB;IAKlB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CACJ,+EAAuE;SACpE,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACzB,uFAAuF,CACxF,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import * as z from "zod/v3";
|
|
2
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
|
+
import * as components from "../components/index.js";
|
|
4
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
5
|
+
export type IntegrationsControllerLinkChannelEndpointRequest = {
|
|
6
|
+
/**
|
|
7
|
+
* A header for idempotency purposes
|
|
8
|
+
*/
|
|
9
|
+
idempotencyKey?: string | undefined;
|
|
10
|
+
linkChannelEndpointRequestDto: components.LinkChannelEndpointRequestDto;
|
|
11
|
+
};
|
|
12
|
+
export type IntegrationsControllerLinkChannelEndpointResponse = {
|
|
13
|
+
headers: {
|
|
14
|
+
[k: string]: Array<string>;
|
|
15
|
+
};
|
|
16
|
+
result: components.LinkChannelEndpointResponseDto;
|
|
17
|
+
};
|
|
18
|
+
/** @internal */
|
|
19
|
+
export type IntegrationsControllerLinkChannelEndpointRequest$Outbound = {
|
|
20
|
+
"idempotency-key"?: string | undefined;
|
|
21
|
+
LinkChannelEndpointRequestDto: components.LinkChannelEndpointRequestDto$Outbound;
|
|
22
|
+
};
|
|
23
|
+
/** @internal */
|
|
24
|
+
export declare const IntegrationsControllerLinkChannelEndpointRequest$outboundSchema: z.ZodType<IntegrationsControllerLinkChannelEndpointRequest$Outbound, z.ZodTypeDef, IntegrationsControllerLinkChannelEndpointRequest>;
|
|
25
|
+
export declare function integrationsControllerLinkChannelEndpointRequestToJSON(integrationsControllerLinkChannelEndpointRequest: IntegrationsControllerLinkChannelEndpointRequest): string;
|
|
26
|
+
/** @internal */
|
|
27
|
+
export declare const IntegrationsControllerLinkChannelEndpointResponse$inboundSchema: z.ZodType<IntegrationsControllerLinkChannelEndpointResponse, z.ZodTypeDef, unknown>;
|
|
28
|
+
export declare function integrationsControllerLinkChannelEndpointResponseFromJSON(jsonString: string): SafeParseResult<IntegrationsControllerLinkChannelEndpointResponse, SDKValidationError>;
|
|
29
|
+
//# sourceMappingURL=integrationscontrollerlinkchannelendpoint.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"integrationscontrollerlinkchannelendpoint.d.ts","sourceRoot":"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";
|
|
2
|
+
/*
|
|
3
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.IntegrationsControllerLinkChannelEndpointResponse$inboundSchema = exports.IntegrationsControllerLinkChannelEndpointRequest$outboundSchema = void 0;
|
|
40
|
+
exports.integrationsControllerLinkChannelEndpointRequestToJSON = integrationsControllerLinkChannelEndpointRequestToJSON;
|
|
41
|
+
exports.integrationsControllerLinkChannelEndpointResponseFromJSON = integrationsControllerLinkChannelEndpointResponseFromJSON;
|
|
42
|
+
const z = __importStar(require("zod/v3"));
|
|
43
|
+
const primitives_js_1 = require("../../lib/primitives.js");
|
|
44
|
+
const schemas_js_1 = require("../../lib/schemas.js");
|
|
45
|
+
const components = __importStar(require("../components/index.js"));
|
|
46
|
+
/** @internal */
|
|
47
|
+
exports.IntegrationsControllerLinkChannelEndpointRequest$outboundSchema = z.object({
|
|
48
|
+
idempotencyKey: z.string().optional(),
|
|
49
|
+
linkChannelEndpointRequestDto: components.LinkChannelEndpointRequestDto$outboundSchema,
|
|
50
|
+
}).transform((v) => {
|
|
51
|
+
return (0, primitives_js_1.remap)(v, {
|
|
52
|
+
idempotencyKey: "idempotency-key",
|
|
53
|
+
linkChannelEndpointRequestDto: "LinkChannelEndpointRequestDto",
|
|
54
|
+
});
|
|
55
|
+
});
|
|
56
|
+
function integrationsControllerLinkChannelEndpointRequestToJSON(integrationsControllerLinkChannelEndpointRequest) {
|
|
57
|
+
return JSON.stringify(exports.IntegrationsControllerLinkChannelEndpointRequest$outboundSchema.parse(integrationsControllerLinkChannelEndpointRequest));
|
|
58
|
+
}
|
|
59
|
+
/** @internal */
|
|
60
|
+
exports.IntegrationsControllerLinkChannelEndpointResponse$inboundSchema = z.object({
|
|
61
|
+
Headers: z.record(z.array(z.string())).default({}),
|
|
62
|
+
Result: components.LinkChannelEndpointResponseDto$inboundSchema,
|
|
63
|
+
}).transform((v) => {
|
|
64
|
+
return (0, primitives_js_1.remap)(v, {
|
|
65
|
+
"Headers": "headers",
|
|
66
|
+
"Result": "result",
|
|
67
|
+
});
|
|
68
|
+
});
|
|
69
|
+
function integrationsControllerLinkChannelEndpointResponseFromJSON(jsonString) {
|
|
70
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.IntegrationsControllerLinkChannelEndpointResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'IntegrationsControllerLinkChannelEndpointResponse' from JSON`);
|
|
71
|
+
}
|
|
72
|
+
//# sourceMappingURL=integrationscontrollerlinkchannelendpoint.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"integrationscontrollerlinkchannelendpoint.js","sourceRoot":"","sources":["../../src/models/operations/integrationscontrollerlinkchannelendpoint.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA8CH,wHASC;AAkBD,8HAcC;AArFD,0CAA4B;AAC5B,2DAA0D;AAC1D,qDAAiD;AAEjD,mEAAqD;AAuBrD,gBAAgB;AACH,QAAA,+DAA+D,GAKtE,CAAC,CAAC,MAAM,CAAC;IACX,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACrC,6BAA6B,EAC3B,UAAU,CAAC,4CAA4C;CAC1D,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,cAAc,EAAE,iBAAiB;QACjC,6BAA6B,EAAE,+BAA+B;KAC/D,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEL,SAAgB,sDAAsD,CACpE,gDACkD;IAElD,OAAO,IAAI,CAAC,SAAS,CACnB,uEAA+D,CAAC,KAAK,CACnE,gDAAgD,CACjD,CACF,CAAC;AACJ,CAAC;AAED,gBAAgB;AACH,QAAA,+DAA+D,GAKtE,CAAC,CAAC,MAAM,CAAC;IACX,OAAO,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC,OAAO,CAAC,EAAE,CAAC;IAClD,MAAM,EAAE,UAAU,CAAC,4CAA4C;CAChE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,SAAS,EAAE,SAAS;QACpB,QAAQ,EAAE,QAAQ;KACnB,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEL,SAAgB,yDAAyD,CACvE,UAAkB;IAKlB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CACJ,uEAA+D,CAAC,KAAK,CACnE,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CACd,EACH,+EAA+E,CAChF,CAAC;AACJ,CAAC"}
|
package/package.json
CHANGED
package/sdk/integrations.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ export declare class Integrations extends ClientSDK {
|
|
|
6
6
|
* List all integrations
|
|
7
7
|
*
|
|
8
8
|
* @remarks
|
|
9
|
-
* List all the channels integrations created in the organization
|
|
9
|
+
* List all the channels integrations created in the organization. Only integration metadata is returned, credentials field is returned as an empty object.
|
|
10
10
|
*/
|
|
11
11
|
list(idempotencyKey?: string | undefined, options?: RequestOptions): Promise<operations.IntegrationsControllerListIntegrationsResponse>;
|
|
12
12
|
/**
|
|
@@ -14,7 +14,7 @@ export declare class Integrations extends ClientSDK {
|
|
|
14
14
|
*
|
|
15
15
|
* @remarks
|
|
16
16
|
* Create an integration for the current environment the user is based on the API key provided.
|
|
17
|
-
* Each provider supports different credentials, check the provider documentation for more details.
|
|
17
|
+
* Each provider supports different credentials, check the provider documentation for more details. Only integration metadata is returned, credentials field is returned as an empty object.
|
|
18
18
|
*/
|
|
19
19
|
create(createIntegrationRequestDto: components.CreateIntegrationRequestDto, idempotencyKey?: string | undefined, options?: RequestOptions): Promise<operations.IntegrationsControllerCreateIntegrationResponse>;
|
|
20
20
|
/**
|
|
@@ -22,7 +22,7 @@ export declare class Integrations extends ClientSDK {
|
|
|
22
22
|
*
|
|
23
23
|
* @remarks
|
|
24
24
|
* Update an integration by its unique key identifier **integrationId**.
|
|
25
|
-
* Each provider supports different credentials, check the provider documentation for more details.
|
|
25
|
+
* Each provider supports different credentials, check the provider documentation for more details. Only integration metadata is returned, credentials field is returned as an empty object.
|
|
26
26
|
*/
|
|
27
27
|
update(updateIntegrationRequestDto: components.UpdateIntegrationRequestDto, integrationId: string, idempotencyKey?: string | undefined, options?: RequestOptions): Promise<operations.IntegrationsControllerUpdateIntegrationByIdResponse>;
|
|
28
28
|
/**
|
|
@@ -30,7 +30,7 @@ export declare class Integrations extends ClientSDK {
|
|
|
30
30
|
*
|
|
31
31
|
* @remarks
|
|
32
32
|
* Delete an integration by its unique key identifier **integrationId**.
|
|
33
|
-
* This action is irreversible.
|
|
33
|
+
* This action is irreversible. Only integration metadata is returned, credentials field is returned as empty object.
|
|
34
34
|
*/
|
|
35
35
|
delete(integrationId: string, idempotencyKey?: string | undefined, options?: RequestOptions): Promise<operations.IntegrationsControllerRemoveIntegrationResponse>;
|
|
36
36
|
/**
|
|
@@ -38,7 +38,7 @@ export declare class Integrations extends ClientSDK {
|
|
|
38
38
|
*
|
|
39
39
|
* @remarks
|
|
40
40
|
* Auto-configure an integration by its unique key identifier **integrationId** for inbound webhook support.
|
|
41
|
-
* This will automatically generate required webhook signing keys and configure webhook endpoints.
|
|
41
|
+
* This will automatically generate required webhook signing keys and configure webhook endpoints. Only integration metadata is returned, credentials field is returned as an empty object.
|
|
42
42
|
*/
|
|
43
43
|
integrationsControllerAutoConfigureIntegration(integrationId: string, idempotencyKey?: string | undefined, options?: RequestOptions): Promise<operations.IntegrationsControllerAutoConfigureIntegrationResponse>;
|
|
44
44
|
/**
|
|
@@ -48,13 +48,28 @@ export declare class Integrations extends ClientSDK {
|
|
|
48
48
|
* Update an integration as **primary** by its unique key identifier **integrationId**.
|
|
49
49
|
* This API will set the integration as primary for that channel in the current environment.
|
|
50
50
|
* Primary integration is used to deliver notification for sms and email channels in the workflow.
|
|
51
|
+
* Only integration metadata is returned, credentials field is returned as an empty object.
|
|
51
52
|
*/
|
|
52
53
|
setAsPrimary(integrationId: string, idempotencyKey?: string | undefined, options?: RequestOptions): Promise<operations.IntegrationsControllerSetIntegrationAsPrimaryResponse>;
|
|
54
|
+
/**
|
|
55
|
+
* Issue a short-lived mobile setup link for an existing integration
|
|
56
|
+
*
|
|
57
|
+
* @remarks
|
|
58
|
+
* Returns an opaque, single-use setup token plus a mobile URL for configuring an existing chat integration. Telegram is the only supported provider initially.
|
|
59
|
+
*/
|
|
60
|
+
createMobileLink(issueIntegrationMobileLinkRequestDto: components.IssueIntegrationMobileLinkRequestDto, integrationIdentifier: string, idempotencyKey?: string | undefined, options?: RequestOptions): Promise<operations.IntegrationsControllerCreateIntegrationMobileLinkResponse>;
|
|
61
|
+
/**
|
|
62
|
+
* Configure a chat integration webhook
|
|
63
|
+
*
|
|
64
|
+
* @remarks
|
|
65
|
+
* Registers the Novu webhook URL with the chat provider for the specified integration. Telegram is the only supported provider initially.
|
|
66
|
+
*/
|
|
67
|
+
integrationsControllerConfigureIntegrationWebhook(integrationIdentifier: string, idempotencyKey?: string | undefined, options?: RequestOptions): Promise<operations.IntegrationsControllerConfigureIntegrationWebhookResponse>;
|
|
53
68
|
/**
|
|
54
69
|
* List active integrations
|
|
55
70
|
*
|
|
56
71
|
* @remarks
|
|
57
|
-
* List all the active integrations created in the organization
|
|
72
|
+
* List all the active integrations created in the organization. Only integration metadata is returned, credentials field is returned as an empty object.
|
|
58
73
|
*/
|
|
59
74
|
listActive(idempotencyKey?: string | undefined, options?: RequestOptions): Promise<operations.IntegrationsControllerGetActiveIntegrationsResponse>;
|
|
60
75
|
/**
|
|
@@ -65,6 +80,13 @@ export declare class Integrations extends ClientSDK {
|
|
|
65
80
|
* The generated URL expires after 5 minutes.
|
|
66
81
|
*/
|
|
67
82
|
generateConnectOAuthUrl(generateConnectOauthUrlRequestDto: components.GenerateConnectOauthUrlRequestDto, idempotencyKey?: string | undefined, options?: RequestOptions): Promise<operations.IntegrationsControllerGenerateConnectOAuthUrlResponse>;
|
|
83
|
+
/**
|
|
84
|
+
* Issue a URL to link a subscriber chat identity
|
|
85
|
+
*
|
|
86
|
+
* @remarks
|
|
87
|
+
* Returns a provider-specific URL the subscriber opens to link their chat identity. The integration provider is resolved from integrationIdentifier; Telegram returns a deep link.
|
|
88
|
+
*/
|
|
89
|
+
linkChannelEndpoint(linkChannelEndpointRequestDto: components.LinkChannelEndpointRequestDto, idempotencyKey?: string | undefined, options?: RequestOptions): Promise<operations.IntegrationsControllerLinkChannelEndpointResponse>;
|
|
68
90
|
/**
|
|
69
91
|
* Generate OAuth URL to link a subscriber user identity
|
|
70
92
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"integrations.d.ts","sourceRoot":"","sources":["../src/sdk/integrations.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"integrations.d.ts","sourceRoot":"","sources":["../src/sdk/integrations.ts"],"names":[],"mappings":"AAiBA,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAG5D,qBAAa,YAAa,SAAQ,SAAS;IACzC;;;;;OAKG;IACG,IAAI,CACR,cAAc,CAAC,EAAE,MAAM,GAAG,SAAS,EACnC,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,8CAA8C,CAAC;IAQrE;;;;;;OAMG;IACG,MAAM,CACV,2BAA2B,EAAE,UAAU,CAAC,2BAA2B,EACnE,cAAc,CAAC,EAAE,MAAM,GAAG,SAAS,EACnC,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,+CAA+C,CAAC;IAStE;;;;;;OAMG;IACG,MAAM,CACV,2BAA2B,EAAE,UAAU,CAAC,2BAA2B,EACnE,aAAa,EAAE,MAAM,EACrB,cAAc,CAAC,EAAE,MAAM,GAAG,SA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AAG,SAAS,EACnC,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,qDAAqD,CAAC;IAS5E;;;;;OAKG;IACG,mBAAmB,CACvB,6BAA6B,EAAE,UAAU,CAAC,6BAA6B,EACvE,cAAc,CAAC,EAAE,MAAM,GAAG,SAAS,EACnC,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,iDAAiD,CAAC;IASxE;;;;;;OAMG;IACG,wBAAwB,CAC5B,kCAAkC,EAChC,UAAU,CAAC,kCAAkC,EAC/C,cAAc,CAAC,EAAE,MAAM,GAAG,SAAS,EACnC,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CACR,UAAU,CAAC,sDAAsD,CAClE;IASD;;;;;;;;;;OAUG;IACG,oBAAoB,CACxB,8BAA8B,EAAE,UAAU,CAAC,8BAA8B,EACzE,cAAc,CAAC,EAAE,MAAM,GAAG,SAAS,EACnC,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,6CAA6C,CAAC;CAQrE"}
|
package/sdk/integrations.js
CHANGED
|
@@ -5,11 +5,14 @@
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.Integrations = void 0;
|
|
7
7
|
const integrationsCreate_js_1 = require("../funcs/integrationsCreate.js");
|
|
8
|
+
const integrationsCreateMobileLink_js_1 = require("../funcs/integrationsCreateMobileLink.js");
|
|
8
9
|
const integrationsDelete_js_1 = require("../funcs/integrationsDelete.js");
|
|
9
10
|
const integrationsGenerateChatOAuthUrl_js_1 = require("../funcs/integrationsGenerateChatOAuthUrl.js");
|
|
10
11
|
const integrationsGenerateConnectOAuthUrl_js_1 = require("../funcs/integrationsGenerateConnectOAuthUrl.js");
|
|
11
12
|
const integrationsGenerateLinkUserOAuthUrl_js_1 = require("../funcs/integrationsGenerateLinkUserOAuthUrl.js");
|
|
12
13
|
const integrationsIntegrationsControllerAutoConfigureIntegration_js_1 = require("../funcs/integrationsIntegrationsControllerAutoConfigureIntegration.js");
|
|
14
|
+
const integrationsIntegrationsControllerConfigureIntegrationWebhook_js_1 = require("../funcs/integrationsIntegrationsControllerConfigureIntegrationWebhook.js");
|
|
15
|
+
const integrationsLinkChannelEndpoint_js_1 = require("../funcs/integrationsLinkChannelEndpoint.js");
|
|
13
16
|
const integrationsList_js_1 = require("../funcs/integrationsList.js");
|
|
14
17
|
const integrationsListActive_js_1 = require("../funcs/integrationsListActive.js");
|
|
15
18
|
const integrationsSetAsPrimary_js_1 = require("../funcs/integrationsSetAsPrimary.js");
|
|
@@ -21,7 +24,7 @@ class Integrations extends sdks_js_1.ClientSDK {
|
|
|
21
24
|
* List all integrations
|
|
22
25
|
*
|
|
23
26
|
* @remarks
|
|
24
|
-
* List all the channels integrations created in the organization
|
|
27
|
+
* List all the channels integrations created in the organization. Only integration metadata is returned, credentials field is returned as an empty object.
|
|
25
28
|
*/
|
|
26
29
|
async list(idempotencyKey, options) {
|
|
27
30
|
return (0, fp_js_1.unwrapAsync)((0, integrationsList_js_1.integrationsList)(this, idempotencyKey, options));
|
|
@@ -31,7 +34,7 @@ class Integrations extends sdks_js_1.ClientSDK {
|
|
|
31
34
|
*
|
|
32
35
|
* @remarks
|
|
33
36
|
* Create an integration for the current environment the user is based on the API key provided.
|
|
34
|
-
* Each provider supports different credentials, check the provider documentation for more details.
|
|
37
|
+
* Each provider supports different credentials, check the provider documentation for more details. Only integration metadata is returned, credentials field is returned as an empty object.
|
|
35
38
|
*/
|
|
36
39
|
async create(createIntegrationRequestDto, idempotencyKey, options) {
|
|
37
40
|
return (0, fp_js_1.unwrapAsync)((0, integrationsCreate_js_1.integrationsCreate)(this, createIntegrationRequestDto, idempotencyKey, options));
|
|
@@ -41,7 +44,7 @@ class Integrations extends sdks_js_1.ClientSDK {
|
|
|
41
44
|
*
|
|
42
45
|
* @remarks
|
|
43
46
|
* Update an integration by its unique key identifier **integrationId**.
|
|
44
|
-
* Each provider supports different credentials, check the provider documentation for more details.
|
|
47
|
+
* Each provider supports different credentials, check the provider documentation for more details. Only integration metadata is returned, credentials field is returned as an empty object.
|
|
45
48
|
*/
|
|
46
49
|
async update(updateIntegrationRequestDto, integrationId, idempotencyKey, options) {
|
|
47
50
|
return (0, fp_js_1.unwrapAsync)((0, integrationsUpdate_js_1.integrationsUpdate)(this, updateIntegrationRequestDto, integrationId, idempotencyKey, options));
|
|
@@ -51,7 +54,7 @@ class Integrations extends sdks_js_1.ClientSDK {
|
|
|
51
54
|
*
|
|
52
55
|
* @remarks
|
|
53
56
|
* Delete an integration by its unique key identifier **integrationId**.
|
|
54
|
-
* This action is irreversible.
|
|
57
|
+
* This action is irreversible. Only integration metadata is returned, credentials field is returned as empty object.
|
|
55
58
|
*/
|
|
56
59
|
async delete(integrationId, idempotencyKey, options) {
|
|
57
60
|
return (0, fp_js_1.unwrapAsync)((0, integrationsDelete_js_1.integrationsDelete)(this, integrationId, idempotencyKey, options));
|
|
@@ -61,7 +64,7 @@ class Integrations extends sdks_js_1.ClientSDK {
|
|
|
61
64
|
*
|
|
62
65
|
* @remarks
|
|
63
66
|
* Auto-configure an integration by its unique key identifier **integrationId** for inbound webhook support.
|
|
64
|
-
* This will automatically generate required webhook signing keys and configure webhook endpoints.
|
|
67
|
+
* This will automatically generate required webhook signing keys and configure webhook endpoints. Only integration metadata is returned, credentials field is returned as an empty object.
|
|
65
68
|
*/
|
|
66
69
|
async integrationsControllerAutoConfigureIntegration(integrationId, idempotencyKey, options) {
|
|
67
70
|
return (0, fp_js_1.unwrapAsync)((0, integrationsIntegrationsControllerAutoConfigureIntegration_js_1.integrationsIntegrationsControllerAutoConfigureIntegration)(this, integrationId, idempotencyKey, options));
|
|
@@ -73,15 +76,34 @@ class Integrations extends sdks_js_1.ClientSDK {
|
|
|
73
76
|
* Update an integration as **primary** by its unique key identifier **integrationId**.
|
|
74
77
|
* This API will set the integration as primary for that channel in the current environment.
|
|
75
78
|
* Primary integration is used to deliver notification for sms and email channels in the workflow.
|
|
79
|
+
* Only integration metadata is returned, credentials field is returned as an empty object.
|
|
76
80
|
*/
|
|
77
81
|
async setAsPrimary(integrationId, idempotencyKey, options) {
|
|
78
82
|
return (0, fp_js_1.unwrapAsync)((0, integrationsSetAsPrimary_js_1.integrationsSetAsPrimary)(this, integrationId, idempotencyKey, options));
|
|
79
83
|
}
|
|
84
|
+
/**
|
|
85
|
+
* Issue a short-lived mobile setup link for an existing integration
|
|
86
|
+
*
|
|
87
|
+
* @remarks
|
|
88
|
+
* Returns an opaque, single-use setup token plus a mobile URL for configuring an existing chat integration. Telegram is the only supported provider initially.
|
|
89
|
+
*/
|
|
90
|
+
async createMobileLink(issueIntegrationMobileLinkRequestDto, integrationIdentifier, idempotencyKey, options) {
|
|
91
|
+
return (0, fp_js_1.unwrapAsync)((0, integrationsCreateMobileLink_js_1.integrationsCreateMobileLink)(this, issueIntegrationMobileLinkRequestDto, integrationIdentifier, idempotencyKey, options));
|
|
92
|
+
}
|
|
93
|
+
/**
|
|
94
|
+
* Configure a chat integration webhook
|
|
95
|
+
*
|
|
96
|
+
* @remarks
|
|
97
|
+
* Registers the Novu webhook URL with the chat provider for the specified integration. Telegram is the only supported provider initially.
|
|
98
|
+
*/
|
|
99
|
+
async integrationsControllerConfigureIntegrationWebhook(integrationIdentifier, idempotencyKey, options) {
|
|
100
|
+
return (0, fp_js_1.unwrapAsync)((0, integrationsIntegrationsControllerConfigureIntegrationWebhook_js_1.integrationsIntegrationsControllerConfigureIntegrationWebhook)(this, integrationIdentifier, idempotencyKey, options));
|
|
101
|
+
}
|
|
80
102
|
/**
|
|
81
103
|
* List active integrations
|
|
82
104
|
*
|
|
83
105
|
* @remarks
|
|
84
|
-
* List all the active integrations created in the organization
|
|
106
|
+
* List all the active integrations created in the organization. Only integration metadata is returned, credentials field is returned as an empty object.
|
|
85
107
|
*/
|
|
86
108
|
async listActive(idempotencyKey, options) {
|
|
87
109
|
return (0, fp_js_1.unwrapAsync)((0, integrationsListActive_js_1.integrationsListActive)(this, idempotencyKey, options));
|
|
@@ -96,6 +118,15 @@ class Integrations extends sdks_js_1.ClientSDK {
|
|
|
96
118
|
async generateConnectOAuthUrl(generateConnectOauthUrlRequestDto, idempotencyKey, options) {
|
|
97
119
|
return (0, fp_js_1.unwrapAsync)((0, integrationsGenerateConnectOAuthUrl_js_1.integrationsGenerateConnectOAuthUrl)(this, generateConnectOauthUrlRequestDto, idempotencyKey, options));
|
|
98
120
|
}
|
|
121
|
+
/**
|
|
122
|
+
* Issue a URL to link a subscriber chat identity
|
|
123
|
+
*
|
|
124
|
+
* @remarks
|
|
125
|
+
* Returns a provider-specific URL the subscriber opens to link their chat identity. The integration provider is resolved from integrationIdentifier; Telegram returns a deep link.
|
|
126
|
+
*/
|
|
127
|
+
async linkChannelEndpoint(linkChannelEndpointRequestDto, idempotencyKey, options) {
|
|
128
|
+
return (0, fp_js_1.unwrapAsync)((0, integrationsLinkChannelEndpoint_js_1.integrationsLinkChannelEndpoint)(this, linkChannelEndpointRequestDto, idempotencyKey, options));
|
|
129
|
+
}
|
|
99
130
|
/**
|
|
100
131
|
* Generate OAuth URL to link a subscriber user identity
|
|
101
132
|
*
|
package/sdk/integrations.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"integrations.js","sourceRoot":"","sources":["../src/sdk/integrations.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEH,0EAAoE;AACpE,0EAAoE;AACpE,sGAAgG;AAChG,4GAAsG;AACtG,8GAAwG;AACxG,0JAAoJ;AACpJ,sEAAgE;AAChE,kFAA4E;AAC5E,sFAAgF;AAChF,0EAAoE;AACpE,4CAA2D;AAG3D,0CAA6C;AAE7C,MAAa,YAAa,SAAQ,mBAAS;IACzC;;;;;OAKG;IACH,KAAK,CAAC,IAAI,CACR,cAAmC,EACnC,OAAwB;QAExB,OAAO,IAAA,mBAAW,EAAC,IAAA,sCAAgB,EACjC,IAAI,EACJ,cAAc,EACd,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;;OAMG;IACH,KAAK,CAAC,MAAM,CACV,2BAAmE,EACnE,cAAmC,EACnC,OAAwB;QAExB,OAAO,IAAA,mBAAW,EAAC,IAAA,0CAAkB,EACnC,IAAI,EACJ,2BAA2B,EAC3B,cAAc,EACd,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;;OAMG;IACH,KAAK,CAAC,MAAM,CACV,2BAAmE,EACnE,aAAqB,EACrB,cAAmC,EACnC,OAAwB;QAExB,OAAO,IAAA,mBAAW,EAAC,IAAA,0CAAkB,EACnC,IAAI,EACJ,2BAA2B,EAC3B,aAAa,EACb,cAAc,EACd,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;;OAMG;IACH,KAAK,CAAC,MAAM,CACV,aAAqB,EACrB,cAAmC,EACnC,OAAwB;QAExB,OAAO,IAAA,mBAAW,EAAC,IAAA,0CAAkB,EACnC,IAAI,EACJ,aAAa,EACb,cAAc,EACd,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;;OAMG;IACH,KAAK,CAAC,8CAA8C,CAClD,aAAqB,EACrB,cAAmC,EACnC,OAAwB;QAIxB,OAAO,IAAA,mBAAW,EAChB,IAAA,0HAA0D,EACxD,IAAI,EACJ,aAAa,EACb,cAAc,EACd,OAAO,CACR,CACF,CAAC;IACJ,CAAC;IAED
|
|
1
|
+
{"version":3,"file":"integrations.js","sourceRoot":"","sources":["../src/sdk/integrations.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEH,0EAAoE;AACpE,8FAAwF;AACxF,0EAAoE;AACpE,sGAAgG;AAChG,4GAAsG;AACtG,8GAAwG;AACxG,0JAAoJ;AACpJ,gKAA0J;AAC1J,oGAA8F;AAC9F,sEAAgE;AAChE,kFAA4E;AAC5E,sFAAgF;AAChF,0EAAoE;AACpE,4CAA2D;AAG3D,0CAA6C;AAE7C,MAAa,YAAa,SAAQ,mBAAS;IACzC;;;;;OAKG;IACH,KAAK,CAA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,8BAAyE,EACzE,cAAmC,EACnC,OAAwB;QAExB,OAAO,IAAA,mBAAW,EAAC,IAAA,sEAAgC,EACjD,IAAI,EACJ,8BAA8B,EAC9B,cAAc,EACd,OAAO,CACR,CAAC,CAAC;IACL,CAAC;CACF;AApRD,oCAoRC"}
|
package/sdk/novumessages.d.ts
CHANGED
|
@@ -6,23 +6,29 @@ export declare class NovuMessages extends ClientSDK {
|
|
|
6
6
|
* Update notification action status
|
|
7
7
|
*
|
|
8
8
|
* @remarks
|
|
9
|
-
* Update in-app
|
|
9
|
+
* This API is deprecated, use v2 API instead. Update in-app notification's action status by its unique key identifier **messageId** and type field **type**.
|
|
10
10
|
* **type** field can be **primary** or **secondary**
|
|
11
|
+
*
|
|
12
|
+
* @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
11
13
|
*/
|
|
12
14
|
updateAsSeen(request: operations.SubscribersV1ControllerMarkActionAsSeenRequest, options?: RequestOptions): Promise<operations.SubscribersV1ControllerMarkActionAsSeenResponse>;
|
|
13
15
|
/**
|
|
14
16
|
* Update all notifications state
|
|
15
17
|
*
|
|
16
18
|
* @remarks
|
|
17
|
-
* Update all subscriber in-app
|
|
19
|
+
* This API is deprecated, use v2 API instead. Update all subscriber in-app notifications state such as read, unread, seen or unseen by **subscriberId**.
|
|
20
|
+
*
|
|
21
|
+
* @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
18
22
|
*/
|
|
19
23
|
markAll(markAllMessageAsRequestDto: components.MarkAllMessageAsRequestDto, subscriberId: string, idempotencyKey?: string | undefined, options?: RequestOptions): Promise<operations.SubscribersV1ControllerMarkAllUnreadAsReadResponse>;
|
|
20
24
|
/**
|
|
21
25
|
* Update notifications state
|
|
22
26
|
*
|
|
23
27
|
* @remarks
|
|
24
|
-
* Update subscriber's multiple in-app
|
|
25
|
-
* **messageId** is of type mongodbId of notifications
|
|
28
|
+
* This API is deprecated, use v2 API instead. Update subscriber's multiple in-app notifications state such as seen, read, unseen or unread by **subscriberId**.
|
|
29
|
+
* **messageId** is of type mongodbId of notifications.
|
|
30
|
+
*
|
|
31
|
+
* @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
26
32
|
*/
|
|
27
33
|
markAllAs(messageMarkAsRequestDto: components.MessageMarkAsRequestDto, subscriberId: string, idempotencyKey?: string | undefined, options?: RequestOptions): Promise<operations.SubscribersV1ControllerMarkMessagesAsResponse>;
|
|
28
34
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"novumessages.d.ts","sourceRoot":"","sources":["../src/sdk/novumessages.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAG5D,qBAAa,YAAa,SAAQ,SAAS;IACzC
|
|
1
|
+
{"version":3,"file":"novumessages.d.ts","sourceRoot":"","sources":["../src/sdk/novumessages.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAG5D,qBAAa,YAAa,SAAQ,SAAS;IACzC;;;;;;;;OAQG;IACG,YAAY,CAChB,OAAO,EAAE,UAAU,CAAC,8CAA8C,EAClE,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,+CAA+C,CAAC;IAQtE;;;;;;;OAOG;IACG,OAAO,CACX,0BAA0B,EAAE,UAAU,CAAC,0BAA0B,EACjE,YAAY,EAAE,MAAM,EACpB,cAAc,CAAC,EAAE,MAAM,GAAG,SAAS,EACnC,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,kDAAkD,CAAC;IAUzE;;;;;;;;OAQG;IACG,SAAS,CACb,uBAAuB,EAAE,UAAU,CAAC,uBAAuB,EAC3D,YAAY,EAAE,MAAM,EACpB,cAAc,CAAC,EAAE,MAAM,GAAG,SAAS,EACnC,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,6CAA6C,CAAC;CASrE"}
|
package/sdk/novumessages.js
CHANGED
|
@@ -14,8 +14,10 @@ class NovuMessages extends sdks_js_1.ClientSDK {
|
|
|
14
14
|
* Update notification action status
|
|
15
15
|
*
|
|
16
16
|
* @remarks
|
|
17
|
-
* Update in-app
|
|
17
|
+
* This API is deprecated, use v2 API instead. Update in-app notification's action status by its unique key identifier **messageId** and type field **type**.
|
|
18
18
|
* **type** field can be **primary** or **secondary**
|
|
19
|
+
*
|
|
20
|
+
* @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
19
21
|
*/
|
|
20
22
|
async updateAsSeen(request, options) {
|
|
21
23
|
return (0, fp_js_1.unwrapAsync)((0, subscribersMessagesUpdateAsSeen_js_1.subscribersMessagesUpdateAsSeen)(this, request, options));
|
|
@@ -24,7 +26,9 @@ class NovuMessages extends sdks_js_1.ClientSDK {
|
|
|
24
26
|
* Update all notifications state
|
|
25
27
|
*
|
|
26
28
|
* @remarks
|
|
27
|
-
* Update all subscriber in-app
|
|
29
|
+
* This API is deprecated, use v2 API instead. Update all subscriber in-app notifications state such as read, unread, seen or unseen by **subscriberId**.
|
|
30
|
+
*
|
|
31
|
+
* @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
28
32
|
*/
|
|
29
33
|
async markAll(markAllMessageAsRequestDto, subscriberId, idempotencyKey, options) {
|
|
30
34
|
return (0, fp_js_1.unwrapAsync)((0, subscribersMessagesMarkAll_js_1.subscribersMessagesMarkAll)(this, markAllMessageAsRequestDto, subscriberId, idempotencyKey, options));
|
|
@@ -33,8 +37,10 @@ class NovuMessages extends sdks_js_1.ClientSDK {
|
|
|
33
37
|
* Update notifications state
|
|
34
38
|
*
|
|
35
39
|
* @remarks
|
|
36
|
-
* Update subscriber's multiple in-app
|
|
37
|
-
* **messageId** is of type mongodbId of notifications
|
|
40
|
+
* This API is deprecated, use v2 API instead. Update subscriber's multiple in-app notifications state such as seen, read, unseen or unread by **subscriberId**.
|
|
41
|
+
* **messageId** is of type mongodbId of notifications.
|
|
42
|
+
*
|
|
43
|
+
* @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
38
44
|
*/
|
|
39
45
|
async markAllAs(messageMarkAsRequestDto, subscriberId, idempotencyKey, options) {
|
|
40
46
|
return (0, fp_js_1.unwrapAsync)((0, subscribersMessagesMarkAllAs_js_1.subscribersMessagesMarkAllAs)(this, messageMarkAsRequestDto, subscriberId, idempotencyKey, options));
|
package/sdk/novumessages.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"novumessages.js","sourceRoot":"","sources":["../src/sdk/novumessages.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEH,0FAAoF;AACpF,8FAAwF;AACxF,oGAA8F;AAC9F,4CAA2D;AAG3D,0CAA6C;AAE7C,MAAa,YAAa,SAAQ,mBAAS;IACzC
|
|
1
|
+
{"version":3,"file":"novumessages.js","sourceRoot":"","sources":["../src/sdk/novumessages.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEH,0FAAoF;AACpF,8FAAwF;AACxF,oGAA8F;AAC9F,4CAA2D;AAG3D,0CAA6C;AAE7C,MAAa,YAAa,SAAQ,mBAAS;IACzC;;;;;;;;OAQG;IACH,KAAK,CAAC,YAAY,CAChB,OAAkE,EAClE,OAAwB;QAExB,OAAO,IAAA,mBAAW,EAAC,IAAA,oEAA+B,EAChD,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;OAOG;IACH,KAAK,CAAC,OAAO,CACX,0BAAiE,EACjE,YAAoB,EACpB,cAAmC,EACnC,OAAwB;QAExB,OAAO,IAAA,mBAAW,EAAC,IAAA,0DAA0B,EAC3C,IAAI,EACJ,0BAA0B,EAC1B,YAAY,EACZ,cAAc,EACd,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;OAQG;IACH,KAAK,CAAC,SAAS,CACb,uBAA2D,EAC3D,YAAoB,EACpB,cAAmC,EACnC,OAAwB;QAExB,OAAO,IAAA,mBAAW,EAAC,IAAA,8DAA4B,EAC7C,IAAI,EACJ,uBAAuB,EACvB,YAAY,EACZ,cAAc,EACd,OAAO,CACR,CAAC,CAAC;IACL,CAAC;CACF;AAnED,oCAmEC"}
|
|
@@ -120,14 +120,18 @@ export declare class NovuNotifications extends ClientSDK {
|
|
|
120
120
|
* Retrieve subscriber notifications
|
|
121
121
|
*
|
|
122
122
|
* @remarks
|
|
123
|
-
* Retrieve subscriber in-app
|
|
123
|
+
* This API is deprecated, use v2 API instead. Retrieve subscriber in-app notifications by its unique key identifier **subscriberId**.
|
|
124
|
+
*
|
|
125
|
+
* @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
124
126
|
*/
|
|
125
127
|
feed(request: operations.SubscribersV1ControllerGetNotificationsFeedRequest, options?: RequestOptions): Promise<operations.SubscribersV1ControllerGetNotificationsFeedResponse>;
|
|
126
128
|
/**
|
|
127
129
|
* Retrieve unseen notifications count
|
|
128
130
|
*
|
|
129
131
|
* @remarks
|
|
130
|
-
* Retrieve unseen in-app
|
|
132
|
+
* This API is deprecated, use v2 API instead. Retrieve unseen in-app notifications count for a subscriber by its unique key identifier **subscriberId**.
|
|
133
|
+
*
|
|
134
|
+
* @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
131
135
|
*/
|
|
132
136
|
unseenCount(request: operations.SubscribersV1ControllerGetUnseenCountRequest, options?: RequestOptions): Promise<operations.SubscribersV1ControllerGetUnseenCountResponse>;
|
|
133
137
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"novunotifications.d.ts","sourceRoot":"","sources":["../src/sdk/novunotifications.ts"],"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AClE,SAAS,CACZ;IAUD;;;;;OAKG;IACG,cAAc,CAClB,mCAAmC,EACjC,UAAU,CAAC,mCAAmC,EAChD,YAAY,EAAE,MAAM,EACpB,cAAc,CAAC,EAAE,MAAM,GAAG,SAAS,EACnC,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CACN,UAAU,CAAC,wDAAwD,GACnE,SAAS,CACZ;IAUD;;;;;OAKG;IACG,UAAU,CACd,oCAAoC,EAClC,UAAU,CAAC,oCAAoC,EACjD,YAAY,EAAE,MAAM,EACpB,cAAc,CAAC,EAAE,MAAM,GAAG,SAAS,EACnC,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CACR,UAAU,CAAC,oDAAoD,GAAG,SAAS,CAC5E;IAUD
|
|
1
|
+
{"version":3,"file":"novunotifications.d.ts","sourceRoot":"","sources":["../src/sdk/novunotifications.ts"],"names":[],"mappings":"AAsBA,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAG5D,qBAAa,iBAAkB,SAAQ,SAAS;IAC9C;;;;;;OAMG;IACG,IAAI,CACR,OAAO,EAAE,UAAU,CAAC,sDAAsD,EAC1E,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CACR,UAAU,CAAC,uDAAuD,CACnE;IAQD;;;;;OAKG;IACG,MAAM,CACV,OAAO,EAAE,UAAU,CAAC,8CAA8C,EAClE,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CACR,UAAU,CAAC,+CAA+C,GAAG,SAAS,CACvE;IAQD;;;;;OAKG;IACG,cAAc,CAClB,OAAO,EAAE,UAAU,CAAC,sDAAsD,EAC1E,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CACR,UAAU,CAAC,uDAAuD,CACnE;IAQD;;;;;OAKG;IACG,YAAY,CAChB,OAAO,EAAE,UAAU,CAAC,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AAc,GACvB,OAAO,CAAC,UAAU,CAAC,6CAA6C,CAAC;CAOrE"}
|
package/sdk/novunotifications.js
CHANGED
|
@@ -175,7 +175,9 @@ class NovuNotifications extends sdks_js_1.ClientSDK {
|
|
|
175
175
|
* Retrieve subscriber notifications
|
|
176
176
|
*
|
|
177
177
|
* @remarks
|
|
178
|
-
* Retrieve subscriber in-app
|
|
178
|
+
* This API is deprecated, use v2 API instead. Retrieve subscriber in-app notifications by its unique key identifier **subscriberId**.
|
|
179
|
+
*
|
|
180
|
+
* @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
179
181
|
*/
|
|
180
182
|
async feed(request, options) {
|
|
181
183
|
return (0, fp_js_1.unwrapAsync)((0, subscribersNotificationsFeed_js_1.subscribersNotificationsFeed)(this, request, options));
|
|
@@ -184,7 +186,9 @@ class NovuNotifications extends sdks_js_1.ClientSDK {
|
|
|
184
186
|
* Retrieve unseen notifications count
|
|
185
187
|
*
|
|
186
188
|
* @remarks
|
|
187
|
-
* Retrieve unseen in-app
|
|
189
|
+
* This API is deprecated, use v2 API instead. Retrieve unseen in-app notifications count for a subscriber by its unique key identifier **subscriberId**.
|
|
190
|
+
*
|
|
191
|
+
* @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
188
192
|
*/
|
|
189
193
|
async unseenCount(request, options) {
|
|
190
194
|
return (0, fp_js_1.unwrapAsync)((0, subscribersNotificationsUnseenCount_js_1.subscribersNotificationsUnseenCount)(this, request, options));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"novunotifications.js","sourceRoot":"","sources":["../src/sdk/novunotifications.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEH,oGAA8F;AAC9F,0GAAoG;AACpG,kHAA4G;AAC5G,kHAA4G;AAC5G,gGAA0F;AAC1F,kGAA4F;AAC5F,wGAAkG;AAClG,8FAAwF;AACxF,8FAAwF;AACxF,gHAA0G;AAC1G,0GAAoG;AACpG,0GAAoG;AACpG,8GAA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AiC,EAClD,IAAI,EACJ,mCAAmC,EACnC,YAAY,EACZ,cAAc,EACd,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,aAAa,CACjB,mCACgD,EAChD,YAAoB,EACpB,cAAmC,EACnC,OAAwB;QAKxB,OAAO,IAAA,mBAAW,EAAC,IAAA,gFAAqC,EACtD,IAAI,EACJ,mCAAmC,EACnC,YAAY,EACZ,cAAc,EACd,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,cAAc,CAClB,mCACgD,EAChD,YAAoB,EACpB,cAAmC,EACnC,OAAwB;QAKxB,OAAO,IAAA,mBAAW,EAAC,IAAA,kFAAsC,EACvD,IAAI,EACJ,mCAAmC,EACnC,YAAY,EACZ,cAAc,EACd,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,UAAU,CACd,oCACiD,EACjD,YAAoB,EACpB,cAAmC,EACnC,OAAwB;QAIxB,OAAO,IAAA,mBAAW,EAAC,IAAA,0EAAkC,EACnD,IAAI,EACJ,oCAAoC,EACpC,YAAY,EACZ,cAAc,EACd,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED
|
|
1
|
+
{"version":3,"file":"novunotifications.js","sourceRoot":"","sources":["../src/sdk/novunotifications.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEH,oGAA8F;AAC9F,0GAAoG;AACpG,kHAA4G;AAC5G,kHAA4G;AAC5G,gGAA0F;AAC1F,kGAA4F;AAC5F,wGAAkG;AAClG,8FAAwF;AACxF,8FAAwF;AACxF,gHAA0G;AAC1G,0GAAoG;AACpG,0GAAoG;AACpG,8GAAwG;AACxG,8GAAwG;AACxG,kGAA4F;AAC5F,wGAAkG;AAClG,4GAAsG;AACtG,sGAAgG;AAChG,4CAA2D;AAG3D,0CAA6C;AAE7C,MAAa,iBAAkB,SAAQ,mBAAS;IAC9C;;;;;;OAMG;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B,cAAmC,EACnC,OAAwB;QAKxB,OAAO,IAAA,mBAAW,EAAC,IAAA,gFAAqC,EACtD,IAAI,EACJ,mCAAmC,EACnC,YAAY,EACZ,cAAc,EACd,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,cAAc,CAClB,mCACgD,EAChD,YAAoB,EACpB,cAAmC,EACnC,OAAwB;QAKxB,OAAO,IAAA,mBAAW,EAAC,IAAA,kFAAsC,EACvD,IAAI,EACJ,mCAAmC,EACnC,YAAY,EACZ,cAAc,EACd,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,UAAU,CACd,oCACiD,EACjD,YAAoB,EACpB,cAAmC,EACnC,OAAwB;QAIxB,OAAO,IAAA,mBAAW,EAAC,IAAA,0EAAkC,EACnD,IAAI,EACJ,oCAAoC,EACpC,YAAY,EACZ,cAAc,EACd,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;OAOG;IACH,KAAK,CAAC,IAAI,CACR,OAAsE,EACtE,OAAwB;QAExB,OAAO,IAAA,mBAAW,EAAC,IAAA,8DAA4B,EAC7C,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;OAOG;IACH,KAAK,CAAC,WAAW,CACf,OAAgE,EAChE,OAAwB;QAExB,OAAO,IAAA,mBAAW,EAAC,IAAA,4EAAmC,EACpD,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;CACF;AAzWD,8CAyWC"}
|
|
@@ -32,7 +32,7 @@ import { Result } from "../types/fp.js";
|
|
|
32
32
|
*
|
|
33
33
|
* @remarks
|
|
34
34
|
* Create an integration for the current environment the user is based on the API key provided.
|
|
35
|
-
* Each provider supports different credentials, check the provider documentation for more details.
|
|
35
|
+
* Each provider supports different credentials, check the provider documentation for more details. Only integration metadata is returned, credentials field is returned as an empty object.
|
|
36
36
|
*/
|
|
37
37
|
export function integrationsCreate(
|
|
38
38
|
client: NovuCore,
|