@wix/notifications 1.0.2 → 1.0.3

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.
@@ -6,7 +6,7 @@ import { NotifyRequest, NotifyResponse } from './ping-notifications-v3-notificat
6
6
  *
7
7
  * An app can call this endpoint up to 100,000 times per month for each site.
8
8
  *
9
- * When you [create a notification template](https://dev.wix.com/api/rest/notifications/notifications/creating-a-notification-template) in the Wix Dev Center, you are given a notification template ID.
9
+ * 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.
10
10
  * Call the Notify endpoint with this ID as `notificationTemplateID` to trigger notifications based on the notification template.
11
11
  * If the notification template contains placeholders for dynamic values, provide those values as key-value pairs in the `dynamicValues` array.
12
12
  * The values you specify are incorporated seamlessly in the notifications sent out.
@@ -45,7 +45,7 @@ function resolveComWixpressPingHubApiV3NotificationsServiceV3Url(opts) {
45
45
  *
46
46
  * An app can call this endpoint up to 100,000 times per month for each site.
47
47
  *
48
- * When you [create a notification template](https://dev.wix.com/api/rest/notifications/notifications/creating-a-notification-template) in the Wix Dev Center, you are given a notification template ID.
48
+ * 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.
49
49
  * Call the Notify endpoint with this ID as `notificationTemplateID` to trigger notifications based on the notification template.
50
50
  * If the notification template contains placeholders for dynamic values, provide those values as key-value pairs in the `dynamicValues` array.
51
51
  * The values you specify are incorporated seamlessly in the notifications sent out.
@@ -5,11 +5,11 @@ export interface Notification {
5
5
  export interface NotifyRequest {
6
6
  /**
7
7
  * Notification template ID. A notification template specifies the text and recipients for notifications.
8
- * To obtain a notification template ID, [create a notification template](https://dev.wix.com/api/rest/notifications/notifications/creating-a-notification-template) in the Wix Dev Center.
8
+ * 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.
9
9
  */
10
10
  notificationTemplateId: string;
11
11
  /**
12
- * Each key is a placeholder name you specify when [creating a notification template](https://dev.wix.com/api/rest/notifications/notifications/creating-a-notification-template).
12
+ * 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).
13
13
  * The value is an object containing the text to replace the placeholder in the notifications.
14
14
  */
15
15
  dynamicValues?: Record<string, DynamicValue>;
@@ -11,11 +11,11 @@ export interface Notification {
11
11
  export interface NotifyRequest {
12
12
  /**
13
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/notifications/notifications/creating-a-notification-template) in the Wix Dev Center.
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
15
  */
16
16
  notificationTemplateId: string;
17
17
  /**
18
- * Each key is a placeholder name you specify when [creating a notification template](https://dev.wix.com/api/rest/notifications/notifications/creating-a-notification-template).
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
19
  * The value is an object containing the text to replace the placeholder in the notifications.
20
20
  */
21
21
  dynamicValues?: Record<string, DynamicValue>;
@@ -93,7 +93,7 @@ export interface NotifyByAppResponse {
93
93
  *
94
94
  * An app can call this endpoint up to 100,000 times per month for each site.
95
95
  *
96
- * When you [create a notification template](https://dev.wix.com/api/rest/notifications/notifications/creating-a-notification-template) in the Wix Dev Center, you are given a notification template ID.
96
+ * 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.
97
97
  * Call the Notify endpoint with this ID as `notificationTemplateID` to trigger notifications based on the notification template.
98
98
  * If the notification template contains placeholders for dynamic values, provide those values as key-value pairs in the `dynamicValues` array.
99
99
  * The values you specify are incorporated seamlessly in the notifications sent out.
@@ -129,7 +129,7 @@ export interface NotifyByAppResponse {
129
129
  * >
130
130
  * > **Message:** Sally Jones just made a new studio reservation for Friday.
131
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/notifications/notifications/creating-a-notification-template) in the Wix Dev Center.
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
133
  * @public
134
134
  * @documentationMaturity preview
135
135
  * @requiredField notificationTemplateId
@@ -137,7 +137,7 @@ export interface NotifyByAppResponse {
137
137
  export declare function notify(notificationTemplateId: string, options?: NotifyOptions): Promise<NotifyResponse>;
138
138
  export interface NotifyOptions {
139
139
  /**
140
- * Each key is a placeholder name you specify when [creating a notification template](https://dev.wix.com/api/rest/notifications/notifications/creating-a-notification-template).
140
+ * 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).
141
141
  * The value is an object containing the text to replace the placeholder in the notifications.
142
142
  */
143
143
  dynamicValues?: Record<string, DynamicValue>;
@@ -68,7 +68,7 @@ const _notifyResponse = {};
68
68
  *
69
69
  * An app can call this endpoint up to 100,000 times per month for each site.
70
70
  *
71
- * When you [create a notification template](https://dev.wix.com/api/rest/notifications/notifications/creating-a-notification-template) in the Wix Dev Center, you are given a notification template ID.
71
+ * 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.
72
72
  * Call the Notify endpoint with this ID as `notificationTemplateID` to trigger notifications based on the notification template.
73
73
  * If the notification template contains placeholders for dynamic values, provide those values as key-value pairs in the `dynamicValues` array.
74
74
  * The values you specify are incorporated seamlessly in the notifications sent out.
@@ -104,7 +104,7 @@ const _notifyResponse = {};
104
104
  * >
105
105
  * > **Message:** Sally Jones just made a new studio reservation for Friday.
106
106
  * @param notificationTemplateId - Notification template ID. A notification template specifies the text and recipients for notifications.
107
- * To obtain a notification template ID, [create a notification template](https://dev.wix.com/api/rest/notifications/notifications/creating-a-notification-template) in the Wix Dev Center.
107
+ * 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.
108
108
  * @public
109
109
  * @documentationMaturity preview
110
110
  * @requiredField notificationTemplateId
@@ -6,7 +6,7 @@ import { NotifyRequest, NotifyResponse } from './ping-notifications-v3-notificat
6
6
  *
7
7
  * An app can call this endpoint up to 100,000 times per month for each site.
8
8
  *
9
- * When you [create a notification template](https://dev.wix.com/api/rest/notifications/notifications/creating-a-notification-template) in the Wix Dev Center, you are given a notification template ID.
9
+ * 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.
10
10
  * Call the Notify endpoint with this ID as `notificationTemplateID` to trigger notifications based on the notification template.
11
11
  * If the notification template contains placeholders for dynamic values, provide those values as key-value pairs in the `dynamicValues` array.
12
12
  * The values you specify are incorporated seamlessly in the notifications sent out.
@@ -42,7 +42,7 @@ function resolveComWixpressPingHubApiV3NotificationsServiceV3Url(opts) {
42
42
  *
43
43
  * An app can call this endpoint up to 100,000 times per month for each site.
44
44
  *
45
- * When you [create a notification template](https://dev.wix.com/api/rest/notifications/notifications/creating-a-notification-template) in the Wix Dev Center, you are given a notification template ID.
45
+ * 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.
46
46
  * Call the Notify endpoint with this ID as `notificationTemplateID` to trigger notifications based on the notification template.
47
47
  * If the notification template contains placeholders for dynamic values, provide those values as key-value pairs in the `dynamicValues` array.
48
48
  * The values you specify are incorporated seamlessly in the notifications sent out.
@@ -5,11 +5,11 @@ export interface Notification {
5
5
  export interface NotifyRequest {
6
6
  /**
7
7
  * Notification template ID. A notification template specifies the text and recipients for notifications.
8
- * To obtain a notification template ID, [create a notification template](https://dev.wix.com/api/rest/notifications/notifications/creating-a-notification-template) in the Wix Dev Center.
8
+ * 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.
9
9
  */
10
10
  notificationTemplateId: string;
11
11
  /**
12
- * Each key is a placeholder name you specify when [creating a notification template](https://dev.wix.com/api/rest/notifications/notifications/creating-a-notification-template).
12
+ * 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).
13
13
  * The value is an object containing the text to replace the placeholder in the notifications.
14
14
  */
15
15
  dynamicValues?: Record<string, DynamicValue>;
@@ -11,11 +11,11 @@ export interface Notification {
11
11
  export interface NotifyRequest {
12
12
  /**
13
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/notifications/notifications/creating-a-notification-template) in the Wix Dev Center.
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
15
  */
16
16
  notificationTemplateId: string;
17
17
  /**
18
- * Each key is a placeholder name you specify when [creating a notification template](https://dev.wix.com/api/rest/notifications/notifications/creating-a-notification-template).
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
19
  * The value is an object containing the text to replace the placeholder in the notifications.
20
20
  */
21
21
  dynamicValues?: Record<string, DynamicValue>;
@@ -93,7 +93,7 @@ export interface NotifyByAppResponse {
93
93
  *
94
94
  * An app can call this endpoint up to 100,000 times per month for each site.
95
95
  *
96
- * When you [create a notification template](https://dev.wix.com/api/rest/notifications/notifications/creating-a-notification-template) in the Wix Dev Center, you are given a notification template ID.
96
+ * 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.
97
97
  * Call the Notify endpoint with this ID as `notificationTemplateID` to trigger notifications based on the notification template.
98
98
  * If the notification template contains placeholders for dynamic values, provide those values as key-value pairs in the `dynamicValues` array.
99
99
  * The values you specify are incorporated seamlessly in the notifications sent out.
@@ -129,7 +129,7 @@ export interface NotifyByAppResponse {
129
129
  * >
130
130
  * > **Message:** Sally Jones just made a new studio reservation for Friday.
131
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/notifications/notifications/creating-a-notification-template) in the Wix Dev Center.
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
133
  * @public
134
134
  * @documentationMaturity preview
135
135
  * @requiredField notificationTemplateId
@@ -137,7 +137,7 @@ export interface NotifyByAppResponse {
137
137
  export declare function notify(notificationTemplateId: string, options?: NotifyOptions): Promise<NotifyResponse>;
138
138
  export interface NotifyOptions {
139
139
  /**
140
- * Each key is a placeholder name you specify when [creating a notification template](https://dev.wix.com/api/rest/notifications/notifications/creating-a-notification-template).
140
+ * 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).
141
141
  * The value is an object containing the text to replace the placeholder in the notifications.
142
142
  */
143
143
  dynamicValues?: Record<string, DynamicValue>;
@@ -46,7 +46,7 @@ const _notifyResponse = {};
46
46
  *
47
47
  * An app can call this endpoint up to 100,000 times per month for each site.
48
48
  *
49
- * When you [create a notification template](https://dev.wix.com/api/rest/notifications/notifications/creating-a-notification-template) in the Wix Dev Center, you are given a notification template ID.
49
+ * 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.
50
50
  * Call the Notify endpoint with this ID as `notificationTemplateID` to trigger notifications based on the notification template.
51
51
  * If the notification template contains placeholders for dynamic values, provide those values as key-value pairs in the `dynamicValues` array.
52
52
  * The values you specify are incorporated seamlessly in the notifications sent out.
@@ -82,7 +82,7 @@ const _notifyResponse = {};
82
82
  * >
83
83
  * > **Message:** Sally Jones just made a new studio reservation for Friday.
84
84
  * @param notificationTemplateId - Notification template ID. A notification template specifies the text and recipients for notifications.
85
- * To obtain a notification template ID, [create a notification template](https://dev.wix.com/api/rest/notifications/notifications/creating-a-notification-template) in the Wix Dev Center.
85
+ * 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.
86
86
  * @public
87
87
  * @documentationMaturity preview
88
88
  * @requiredField notificationTemplateId
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/notifications",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org/",
6
6
  "access": "public"
@@ -33,5 +33,5 @@
33
33
  "groupId": "com.wixpress.public-sdk-autogen"
34
34
  }
35
35
  },
36
- "falconPackageHash": "4ea22832568f88a5edeffd2629abde0e12bf90751307cc31c2e0c53b"
36
+ "falconPackageHash": "5ef2d7f4d6f9b92698e80feb1376bfaff738483abb69e981332b0f91"
37
37
  }