@wix/notifications 1.0.13 → 1.0.14
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/build/cjs/index.d.ts +1 -1
- package/build/cjs/index.js +1 -1
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +1 -1
- package/build/cjs/index.typings.js +1 -1
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/src/ping-notifications-v1-public-notification.http.d.ts +13 -0
- package/build/cjs/src/{ping-notifications-v3-notification.http.js → ping-notifications-v1-public-notification.http.js} +15 -24
- package/build/cjs/src/ping-notifications-v1-public-notification.http.js.map +1 -0
- package/build/cjs/src/ping-notifications-v1-public-notification.public.d.ts +8 -0
- package/build/cjs/src/ping-notifications-v1-public-notification.public.js +16 -0
- package/build/cjs/src/ping-notifications-v1-public-notification.public.js.map +1 -0
- package/build/cjs/src/ping-notifications-v1-public-notification.types.d.ts +77 -0
- package/build/cjs/src/ping-notifications-v1-public-notification.types.js +28 -0
- package/build/cjs/src/ping-notifications-v1-public-notification.types.js.map +1 -0
- package/build/cjs/src/ping-notifications-v1-public-notification.universal.d.ts +155 -0
- package/build/cjs/src/{ping-notifications-v3-notification.universal.js → ping-notifications-v1-public-notification.universal.js} +64 -41
- package/build/cjs/src/ping-notifications-v1-public-notification.universal.js.map +1 -0
- package/build/es/index.d.ts +1 -1
- package/build/es/index.js +1 -1
- package/build/es/index.js.map +1 -1
- package/build/es/index.typings.d.ts +1 -1
- package/build/es/index.typings.js +1 -1
- package/build/es/index.typings.js.map +1 -1
- package/build/es/src/ping-notifications-v1-public-notification.http.d.ts +13 -0
- package/build/es/src/ping-notifications-v1-public-notification.http.js +74 -0
- package/build/es/src/ping-notifications-v1-public-notification.http.js.map +1 -0
- package/build/es/src/ping-notifications-v1-public-notification.public.d.ts +8 -0
- package/build/es/src/ping-notifications-v1-public-notification.public.js +9 -0
- package/build/es/src/ping-notifications-v1-public-notification.public.js.map +1 -0
- package/build/es/src/ping-notifications-v1-public-notification.types.d.ts +77 -0
- package/build/es/src/ping-notifications-v1-public-notification.types.js +25 -0
- package/build/es/src/ping-notifications-v1-public-notification.types.js.map +1 -0
- package/build/es/src/ping-notifications-v1-public-notification.universal.d.ts +155 -0
- package/build/es/src/ping-notifications-v1-public-notification.universal.js +132 -0
- package/build/es/src/ping-notifications-v1-public-notification.universal.js.map +1 -0
- package/package.json +2 -2
- package/build/cjs/src/ping-notifications-v3-notification.http.d.ts +0 -15
- package/build/cjs/src/ping-notifications-v3-notification.http.js.map +0 -1
- package/build/cjs/src/ping-notifications-v3-notification.public.d.ts +0 -8
- package/build/cjs/src/ping-notifications-v3-notification.public.js +0 -14
- package/build/cjs/src/ping-notifications-v3-notification.public.js.map +0 -1
- package/build/cjs/src/ping-notifications-v3-notification.types.d.ts +0 -113
- package/build/cjs/src/ping-notifications-v3-notification.types.js +0 -15
- package/build/cjs/src/ping-notifications-v3-notification.types.js.map +0 -1
- package/build/cjs/src/ping-notifications-v3-notification.universal.d.ts +0 -146
- package/build/cjs/src/ping-notifications-v3-notification.universal.js.map +0 -1
- package/build/es/src/ping-notifications-v3-notification.http.d.ts +0 -15
- package/build/es/src/ping-notifications-v3-notification.http.js +0 -83
- package/build/es/src/ping-notifications-v3-notification.http.js.map +0 -1
- package/build/es/src/ping-notifications-v3-notification.public.d.ts +0 -8
- package/build/es/src/ping-notifications-v3-notification.public.js +0 -9
- package/build/es/src/ping-notifications-v3-notification.public.js.map +0 -1
- package/build/es/src/ping-notifications-v3-notification.types.d.ts +0 -113
- package/build/es/src/ping-notifications-v3-notification.types.js +0 -12
- package/build/es/src/ping-notifications-v3-notification.types.js.map +0 -1
- package/build/es/src/ping-notifications-v3-notification.universal.d.ts +0 -146
- package/build/es/src/ping-notifications-v3-notification.universal.js +0 -109
- package/build/es/src/ping-notifications-v3-notification.universal.js.map +0 -1
|
@@ -1,146 +0,0 @@
|
|
|
1
|
-
export declare const __debug: {
|
|
2
|
-
verboseLogging: {
|
|
3
|
-
on: () => boolean;
|
|
4
|
-
off: () => boolean;
|
|
5
|
-
};
|
|
6
|
-
};
|
|
7
|
-
export interface Notification {
|
|
8
|
-
/** The id of the notification */
|
|
9
|
-
_id?: string;
|
|
10
|
-
}
|
|
11
|
-
export interface NotifyRequest {
|
|
12
|
-
/**
|
|
13
|
-
* Notification template ID. A notification template specifies the text and recipients for notifications.
|
|
14
|
-
* To obtain a notification template ID, [create a notification template](https://dev.wix.com/api/rest/wix-notifications/notifications/creating-a-notification-template) in the Wix Dev Center.
|
|
15
|
-
*/
|
|
16
|
-
notificationTemplateId: string;
|
|
17
|
-
/**
|
|
18
|
-
* Each key is a placeholder name you specify when [creating a notification template](https://dev.wix.com/api/rest/wix-notifications/notifications/creating-a-notification-template).
|
|
19
|
-
* The value is an object containing the text to replace the placeholder in the notifications.
|
|
20
|
-
*/
|
|
21
|
-
dynamicValues?: Record<string, DynamicValue>;
|
|
22
|
-
}
|
|
23
|
-
export interface DynamicValue extends DynamicValueOfTypeOneOf {
|
|
24
|
-
/** Text to be integrated into the notification. */
|
|
25
|
-
text?: string;
|
|
26
|
-
}
|
|
27
|
-
/** @oneof */
|
|
28
|
-
export interface DynamicValueOfTypeOneOf {
|
|
29
|
-
/** Text to be integrated into the notification. */
|
|
30
|
-
text?: string;
|
|
31
|
-
}
|
|
32
|
-
/**
|
|
33
|
-
* Money.
|
|
34
|
-
* Default format to use. Sufficiently compliant with majority of standards: w3c, ISO 4217, ISO 20022, ISO 8583:2003.
|
|
35
|
-
*/
|
|
36
|
-
export interface Money {
|
|
37
|
-
/** Monetary amount. Decimal string with a period as a decimal separator (e.g., 3.99). Optionally, a single (-), to indicate that the amount is negative. */
|
|
38
|
-
value?: string;
|
|
39
|
-
/** Currency code. Must be valid ISO 4217 currency code (e.g., USD). */
|
|
40
|
-
currency?: string;
|
|
41
|
-
/** Monetary amount. Decimal string in local format (e.g., 1 000,30). Optionally, a single (-), to indicate that the amount is negative. */
|
|
42
|
-
formattedValue?: string | null;
|
|
43
|
-
}
|
|
44
|
-
export interface MapDynamicValue {
|
|
45
|
-
/** items */
|
|
46
|
-
items?: Record<string, DynamicValue>;
|
|
47
|
-
}
|
|
48
|
-
export interface ArrayDynamicValue {
|
|
49
|
-
/** items */
|
|
50
|
-
items?: DynamicValue[];
|
|
51
|
-
}
|
|
52
|
-
export interface AttachmentDynamicValue {
|
|
53
|
-
/** file name */
|
|
54
|
-
fileName?: string;
|
|
55
|
-
/** download url */
|
|
56
|
-
downloadUrl?: string;
|
|
57
|
-
}
|
|
58
|
-
export interface NotifyResponse {
|
|
59
|
-
/** ID of the batch of notifications triggered by one request. */
|
|
60
|
-
notificationBatchId?: string;
|
|
61
|
-
}
|
|
62
|
-
export interface NotifyByAppRequest {
|
|
63
|
-
/** notification_template_id */
|
|
64
|
-
notificationTemplateId?: string;
|
|
65
|
-
/** app_def_id */
|
|
66
|
-
appDefId?: string;
|
|
67
|
-
/** dynamic_values */
|
|
68
|
-
dynamicValues?: Record<string, DynamicValue>;
|
|
69
|
-
/** template tenant */
|
|
70
|
-
templateTenant?: string | null;
|
|
71
|
-
/** overrides */
|
|
72
|
-
overrides?: Overrides;
|
|
73
|
-
/** channels content */
|
|
74
|
-
channelsData?: ChannelsData;
|
|
75
|
-
}
|
|
76
|
-
export interface Overrides {
|
|
77
|
-
/** excluded_channels */
|
|
78
|
-
excludedChannels?: TemplateChannel[];
|
|
79
|
-
/** excluded_audiences */
|
|
80
|
-
excludedAudiences?: ExcludedAudiences;
|
|
81
|
-
/** content overrides */
|
|
82
|
-
content?: ChannelsContent;
|
|
83
|
-
}
|
|
84
|
-
export declare enum TemplateChannel {
|
|
85
|
-
WEB_FEED = "WEB_FEED",
|
|
86
|
-
MOBILE_FEED = "MOBILE_FEED",
|
|
87
|
-
MOBILE_PUSH = "MOBILE_PUSH",
|
|
88
|
-
BROWSER = "BROWSER",
|
|
89
|
-
SMS = "SMS",
|
|
90
|
-
EMAIL = "EMAIL",
|
|
91
|
-
KAFKA = "KAFKA",
|
|
92
|
-
VOICE = "VOICE"
|
|
93
|
-
}
|
|
94
|
-
export interface ExcludedAudiences {
|
|
95
|
-
/** audience_key */
|
|
96
|
-
audienceKey?: string[];
|
|
97
|
-
}
|
|
98
|
-
export interface ChannelsContent {
|
|
99
|
-
/** mobile push override */
|
|
100
|
-
mobileContent?: MobileContent;
|
|
101
|
-
}
|
|
102
|
-
export interface MobileContent {
|
|
103
|
-
/** title override of mobile push content */
|
|
104
|
-
title?: string;
|
|
105
|
-
/** body override of mobile push content */
|
|
106
|
-
body?: string;
|
|
107
|
-
}
|
|
108
|
-
export interface ChannelsData {
|
|
109
|
-
/** email data */
|
|
110
|
-
emailData?: EmailData;
|
|
111
|
-
}
|
|
112
|
-
export interface EmailData {
|
|
113
|
-
/** shoutout action config */
|
|
114
|
-
shoutoutActionConfig?: Record<string, any> | null;
|
|
115
|
-
}
|
|
116
|
-
export interface NotifyByAppResponse {
|
|
117
|
-
/** notification_batch_id */
|
|
118
|
-
notificationBatchId?: string;
|
|
119
|
-
}
|
|
120
|
-
/**
|
|
121
|
-
* Sends notifications based on the template and dynamic values provided.
|
|
122
|
-
*
|
|
123
|
-
* > This feature is not yet available to all users.
|
|
124
|
-
*
|
|
125
|
-
* An app can call this endpoint up to 100,000 times per month for each site.
|
|
126
|
-
*
|
|
127
|
-
* When you [create a notification template](https://dev.wix.com/api/rest/wix-notifications/notifications/creating-a-notification-template) in the Wix Dev Center, you are given a notification template ID.
|
|
128
|
-
* Call the Notify endpoint with this ID as `notificationTemplateID` to trigger notifications based on the notification template.
|
|
129
|
-
* If the notification template contains placeholders for dynamic values, provide those values as key-value pairs in the `dynamicValues` array.
|
|
130
|
-
* The values you specify are incorporated seamlessly in the notifications sent out.
|
|
131
|
-
* @param notificationTemplateId - Notification template ID. A notification template specifies the text and recipients for notifications.
|
|
132
|
-
* To obtain a notification template ID, [create a notification template](https://dev.wix.com/api/rest/wix-notifications/notifications/creating-a-notification-template) in the Wix Dev Center.
|
|
133
|
-
* @public
|
|
134
|
-
* @documentationMaturity preview
|
|
135
|
-
* @requiredField notificationTemplateId
|
|
136
|
-
* @permissionScope Manage Notifications
|
|
137
|
-
* @applicableIdentity APP
|
|
138
|
-
*/
|
|
139
|
-
export declare function notify(notificationTemplateId: string, options?: NotifyOptions): Promise<NotifyResponse>;
|
|
140
|
-
export interface NotifyOptions {
|
|
141
|
-
/**
|
|
142
|
-
* Each key is a placeholder name you specify when [creating a notification template](https://dev.wix.com/api/rest/wix-notifications/notifications/creating-a-notification-template).
|
|
143
|
-
* The value is an object containing the text to replace the placeholder in the notifications.
|
|
144
|
-
*/
|
|
145
|
-
dynamicValues?: Record<string, DynamicValue>;
|
|
146
|
-
}
|
|
@@ -1,109 +0,0 @@
|
|
|
1
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
2
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
3
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
4
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
5
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
6
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
7
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
8
|
-
});
|
|
9
|
-
};
|
|
10
|
-
import { serializer, transformError } from '@wix/metro-runtime/velo';
|
|
11
|
-
import * as ambassadorWixPingNotificationsV3Notification from './ping-notifications-v3-notification.http';
|
|
12
|
-
let __verbose = false;
|
|
13
|
-
function __log(...args) {
|
|
14
|
-
__verbose && console.log(...args);
|
|
15
|
-
}
|
|
16
|
-
function __inspect(obj) {
|
|
17
|
-
return obj;
|
|
18
|
-
}
|
|
19
|
-
export const __debug = {
|
|
20
|
-
verboseLogging: {
|
|
21
|
-
on: () => (__verbose = true),
|
|
22
|
-
off: () => (__verbose = false),
|
|
23
|
-
},
|
|
24
|
-
};
|
|
25
|
-
const _toVeloEntity = '$';
|
|
26
|
-
const _fromVeloEntity = '$';
|
|
27
|
-
export var TemplateChannel;
|
|
28
|
-
(function (TemplateChannel) {
|
|
29
|
-
TemplateChannel["WEB_FEED"] = "WEB_FEED";
|
|
30
|
-
TemplateChannel["MOBILE_FEED"] = "MOBILE_FEED";
|
|
31
|
-
TemplateChannel["MOBILE_PUSH"] = "MOBILE_PUSH";
|
|
32
|
-
TemplateChannel["BROWSER"] = "BROWSER";
|
|
33
|
-
TemplateChannel["SMS"] = "SMS";
|
|
34
|
-
TemplateChannel["EMAIL"] = "EMAIL";
|
|
35
|
-
TemplateChannel["KAFKA"] = "KAFKA";
|
|
36
|
-
TemplateChannel["VOICE"] = "VOICE";
|
|
37
|
-
})(TemplateChannel || (TemplateChannel = {}));
|
|
38
|
-
const _arrayDynamicValue = { items: '_dynamicValue' };
|
|
39
|
-
const _dynamicValue = { map: '_mapDynamicValue', array: '_arrayDynamicValue' };
|
|
40
|
-
const _mapDynamicValue = { items: 'Map#_dynamicValue' };
|
|
41
|
-
const _notifyRequest = { dynamicValues: 'Map#_dynamicValue' };
|
|
42
|
-
const _notifyResponse = {};
|
|
43
|
-
/**
|
|
44
|
-
* Sends notifications based on the template and dynamic values provided.
|
|
45
|
-
*
|
|
46
|
-
* > This feature is not yet available to all users.
|
|
47
|
-
*
|
|
48
|
-
* An app can call this endpoint up to 100,000 times per month for each site.
|
|
49
|
-
*
|
|
50
|
-
* When you [create a notification template](https://dev.wix.com/api/rest/wix-notifications/notifications/creating-a-notification-template) in the Wix Dev Center, you are given a notification template ID.
|
|
51
|
-
* Call the Notify endpoint with this ID as `notificationTemplateID` to trigger notifications based on the notification template.
|
|
52
|
-
* If the notification template contains placeholders for dynamic values, provide those values as key-value pairs in the `dynamicValues` array.
|
|
53
|
-
* The values you specify are incorporated seamlessly in the notifications sent out.
|
|
54
|
-
* @param notificationTemplateId - Notification template ID. A notification template specifies the text and recipients for notifications.
|
|
55
|
-
* To obtain a notification template ID, [create a notification template](https://dev.wix.com/api/rest/wix-notifications/notifications/creating-a-notification-template) in the Wix Dev Center.
|
|
56
|
-
* @public
|
|
57
|
-
* @documentationMaturity preview
|
|
58
|
-
* @requiredField notificationTemplateId
|
|
59
|
-
* @permissionScope Manage Notifications
|
|
60
|
-
* @applicableIdentity APP
|
|
61
|
-
*/
|
|
62
|
-
export function notify(notificationTemplateId, options) {
|
|
63
|
-
var _a, _b, _c;
|
|
64
|
-
return __awaiter(this, arguments, void 0, function* () {
|
|
65
|
-
const requestTransformation = {
|
|
66
|
-
notificationTemplateId: '$[0]',
|
|
67
|
-
dynamicValues: '$[1].dynamicValues',
|
|
68
|
-
};
|
|
69
|
-
const responseTransformation = '$';
|
|
70
|
-
// @ts-ignore
|
|
71
|
-
const { httpClient, sideEffects } = arguments[2];
|
|
72
|
-
const { toAmbassadorRequest } = serializer({
|
|
73
|
-
rootSchema: _notifyRequest,
|
|
74
|
-
depSchemas: { _arrayDynamicValue, _dynamicValue, _mapDynamicValue },
|
|
75
|
-
fqdnTransformation: {
|
|
76
|
-
paths: [],
|
|
77
|
-
transformation: _fromVeloEntity,
|
|
78
|
-
},
|
|
79
|
-
customTransformation: requestTransformation,
|
|
80
|
-
});
|
|
81
|
-
const { fromJSON } = serializer({
|
|
82
|
-
rootSchema: _notifyResponse,
|
|
83
|
-
depSchemas: {},
|
|
84
|
-
fqdnTransformation: {
|
|
85
|
-
paths: [],
|
|
86
|
-
transformation: _toVeloEntity,
|
|
87
|
-
},
|
|
88
|
-
customTransformation: responseTransformation,
|
|
89
|
-
});
|
|
90
|
-
const payload = toAmbassadorRequest([notificationTemplateId, options]);
|
|
91
|
-
const reqOpts = ambassadorWixPingNotificationsV3Notification.notify(payload);
|
|
92
|
-
__log(`"Notify" sending request with: ${__inspect(reqOpts)}`);
|
|
93
|
-
(_a = sideEffects === null || sideEffects === void 0 ? void 0 : sideEffects.onSiteCall) === null || _a === void 0 ? void 0 : _a.call(sideEffects);
|
|
94
|
-
try {
|
|
95
|
-
const result = yield httpClient.request(reqOpts);
|
|
96
|
-
(_b = sideEffects === null || sideEffects === void 0 ? void 0 : sideEffects.onSuccess) === null || _b === void 0 ? void 0 : _b.call(sideEffects, result);
|
|
97
|
-
return fromJSON(result.data);
|
|
98
|
-
}
|
|
99
|
-
catch (err) {
|
|
100
|
-
const transformedError = transformError(err, requestTransformation, [
|
|
101
|
-
'notificationTemplateId',
|
|
102
|
-
'options',
|
|
103
|
-
]);
|
|
104
|
-
(_c = sideEffects === null || sideEffects === void 0 ? void 0 : sideEffects.onError) === null || _c === void 0 ? void 0 : _c.call(sideEffects, err);
|
|
105
|
-
throw transformedError;
|
|
106
|
-
}
|
|
107
|
-
});
|
|
108
|
-
}
|
|
109
|
-
//# sourceMappingURL=ping-notifications-v3-notification.universal.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ping-notifications-v3-notification.universal.js","sourceRoot":"","sources":["../../../src/ping-notifications-v3-notification.universal.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAErE,OAAO,KAAK,4CAA4C,MAAM,2CAA2C,CAAC;AAE1G,IAAI,SAAS,GAAG,KAAK,CAAC;AAEtB,SAAS,KAAK,CAAC,GAAG,IAAW;IAC3B,SAAS,IAAI,OAAO,CAAC,GAAG,CAAC,GAAG,IAAI,CAAC,CAAC;AACpC,CAAC;AAED,SAAS,SAAS,CAAC,GAAQ;IACzB,OAAO,GAAG,CAAC;AACb,CAAC;AAED,MAAM,CAAC,MAAM,OAAO,GAAG;IACrB,cAAc,EAAE;QACd,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC,SAAS,GAAG,IAAI,CAAC;QAC5B,GAAG,EAAE,GAAG,EAAE,CAAC,CAAC,SAAS,GAAG,KAAK,CAAC;KAC/B;CACF,CAAC;AACF,MAAM,aAAa,GAAG,GAAG,C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