@wix/auto_sdk_events_notifications 1.0.21 → 1.0.22

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.
Files changed (133) hide show
  1. package/build/{internal/cjs/src/events-notifications-v2-notification-config-notifications.universal.d.ts → events-notifications-v2-notification-config-notifications.universal-D-36kOt1.d.mts} +326 -430
  2. package/build/{cjs/src/events-notifications-v2-notification-config-notifications.universal.d.ts → events-notifications-v2-notification-config-notifications.universal-D-36kOt1.d.ts} +326 -430
  3. package/build/index.d.mts +39 -0
  4. package/build/index.d.ts +39 -0
  5. package/build/index.js +858 -0
  6. package/build/index.js.map +1 -0
  7. package/build/index.mjs +779 -0
  8. package/build/index.mjs.map +1 -0
  9. package/build/internal/{es/src/events-notifications-v2-notification-config-notifications.universal.d.ts → events-notifications-v2-notification-config-notifications.universal-D-36kOt1.d.mts} +326 -430
  10. package/build/{es/src/events-notifications-v2-notification-config-notifications.universal.d.ts → internal/events-notifications-v2-notification-config-notifications.universal-D-36kOt1.d.ts} +326 -430
  11. package/build/internal/index.d.mts +39 -0
  12. package/build/internal/index.d.ts +39 -0
  13. package/build/internal/index.js +858 -0
  14. package/build/internal/index.js.map +1 -0
  15. package/build/internal/index.mjs +779 -0
  16. package/build/internal/index.mjs.map +1 -0
  17. package/build/internal/meta.d.mts +267 -0
  18. package/build/internal/meta.d.ts +267 -0
  19. package/build/internal/meta.js +258 -0
  20. package/build/internal/meta.js.map +1 -0
  21. package/build/internal/meta.mjs +229 -0
  22. package/build/internal/meta.mjs.map +1 -0
  23. package/build/meta.d.mts +267 -0
  24. package/build/meta.d.ts +267 -0
  25. package/build/meta.js +258 -0
  26. package/build/meta.js.map +1 -0
  27. package/build/meta.mjs +229 -0
  28. package/build/meta.mjs.map +1 -0
  29. package/package.json +12 -11
  30. package/build/cjs/index.d.ts +0 -1
  31. package/build/cjs/index.js +0 -18
  32. package/build/cjs/index.js.map +0 -1
  33. package/build/cjs/index.typings.d.ts +0 -1
  34. package/build/cjs/index.typings.js +0 -18
  35. package/build/cjs/index.typings.js.map +0 -1
  36. package/build/cjs/meta.d.ts +0 -1
  37. package/build/cjs/meta.js +0 -18
  38. package/build/cjs/meta.js.map +0 -1
  39. package/build/cjs/src/events-notifications-v2-notification-config-notifications.context.d.ts +0 -14
  40. package/build/cjs/src/events-notifications-v2-notification-config-notifications.context.js +0 -69
  41. package/build/cjs/src/events-notifications-v2-notification-config-notifications.context.js.map +0 -1
  42. package/build/cjs/src/events-notifications-v2-notification-config-notifications.http.d.ts +0 -7
  43. package/build/cjs/src/events-notifications-v2-notification-config-notifications.http.js +0 -168
  44. package/build/cjs/src/events-notifications-v2-notification-config-notifications.http.js.map +0 -1
  45. package/build/cjs/src/events-notifications-v2-notification-config-notifications.meta.d.ts +0 -19
  46. package/build/cjs/src/events-notifications-v2-notification-config-notifications.meta.js +0 -87
  47. package/build/cjs/src/events-notifications-v2-notification-config-notifications.meta.js.map +0 -1
  48. package/build/cjs/src/events-notifications-v2-notification-config-notifications.public.d.ts +0 -31
  49. package/build/cjs/src/events-notifications-v2-notification-config-notifications.public.js +0 -101
  50. package/build/cjs/src/events-notifications-v2-notification-config-notifications.public.js.map +0 -1
  51. package/build/cjs/src/events-notifications-v2-notification-config-notifications.types.d.ts +0 -3737
  52. package/build/cjs/src/events-notifications-v2-notification-config-notifications.types.js +0 -571
  53. package/build/cjs/src/events-notifications-v2-notification-config-notifications.types.js.map +0 -1
  54. package/build/cjs/src/events-notifications-v2-notification-config-notifications.universal.js +0 -732
  55. package/build/cjs/src/events-notifications-v2-notification-config-notifications.universal.js.map +0 -1
  56. package/build/es/index.d.ts +0 -1
  57. package/build/es/index.js +0 -2
  58. package/build/es/index.js.map +0 -1
  59. package/build/es/index.typings.d.ts +0 -1
  60. package/build/es/index.typings.js +0 -2
  61. package/build/es/index.typings.js.map +0 -1
  62. package/build/es/meta.d.ts +0 -1
  63. package/build/es/meta.js +0 -2
  64. package/build/es/meta.js.map +0 -1
  65. package/build/es/src/events-notifications-v2-notification-config-notifications.context.d.ts +0 -14
  66. package/build/es/src/events-notifications-v2-notification-config-notifications.context.js +0 -14
  67. package/build/es/src/events-notifications-v2-notification-config-notifications.context.js.map +0 -1
  68. package/build/es/src/events-notifications-v2-notification-config-notifications.http.d.ts +0 -7
  69. package/build/es/src/events-notifications-v2-notification-config-notifications.http.js +0 -162
  70. package/build/es/src/events-notifications-v2-notification-config-notifications.http.js.map +0 -1
  71. package/build/es/src/events-notifications-v2-notification-config-notifications.meta.d.ts +0 -19
  72. package/build/es/src/events-notifications-v2-notification-config-notifications.meta.js +0 -58
  73. package/build/es/src/events-notifications-v2-notification-config-notifications.meta.js.map +0 -1
  74. package/build/es/src/events-notifications-v2-notification-config-notifications.public.d.ts +0 -31
  75. package/build/es/src/events-notifications-v2-notification-config-notifications.public.js +0 -43
  76. package/build/es/src/events-notifications-v2-notification-config-notifications.public.js.map +0 -1
  77. package/build/es/src/events-notifications-v2-notification-config-notifications.types.d.ts +0 -3737
  78. package/build/es/src/events-notifications-v2-notification-config-notifications.types.js +0 -567
  79. package/build/es/src/events-notifications-v2-notification-config-notifications.types.js.map +0 -1
  80. package/build/es/src/events-notifications-v2-notification-config-notifications.universal.js +0 -702
  81. package/build/es/src/events-notifications-v2-notification-config-notifications.universal.js.map +0 -1
  82. package/build/internal/cjs/index.d.ts +0 -1
  83. package/build/internal/cjs/index.js +0 -18
  84. package/build/internal/cjs/index.js.map +0 -1
  85. package/build/internal/cjs/index.typings.d.ts +0 -1
  86. package/build/internal/cjs/index.typings.js +0 -18
  87. package/build/internal/cjs/index.typings.js.map +0 -1
  88. package/build/internal/cjs/meta.d.ts +0 -1
  89. package/build/internal/cjs/meta.js +0 -18
  90. package/build/internal/cjs/meta.js.map +0 -1
  91. package/build/internal/cjs/src/events-notifications-v2-notification-config-notifications.context.d.ts +0 -14
  92. package/build/internal/cjs/src/events-notifications-v2-notification-config-notifications.context.js +0 -69
  93. package/build/internal/cjs/src/events-notifications-v2-notification-config-notifications.context.js.map +0 -1
  94. package/build/internal/cjs/src/events-notifications-v2-notification-config-notifications.http.d.ts +0 -7
  95. package/build/internal/cjs/src/events-notifications-v2-notification-config-notifications.http.js +0 -168
  96. package/build/internal/cjs/src/events-notifications-v2-notification-config-notifications.http.js.map +0 -1
  97. package/build/internal/cjs/src/events-notifications-v2-notification-config-notifications.meta.d.ts +0 -19
  98. package/build/internal/cjs/src/events-notifications-v2-notification-config-notifications.meta.js +0 -87
  99. package/build/internal/cjs/src/events-notifications-v2-notification-config-notifications.meta.js.map +0 -1
  100. package/build/internal/cjs/src/events-notifications-v2-notification-config-notifications.public.d.ts +0 -31
  101. package/build/internal/cjs/src/events-notifications-v2-notification-config-notifications.public.js +0 -101
  102. package/build/internal/cjs/src/events-notifications-v2-notification-config-notifications.public.js.map +0 -1
  103. package/build/internal/cjs/src/events-notifications-v2-notification-config-notifications.types.d.ts +0 -3737
  104. package/build/internal/cjs/src/events-notifications-v2-notification-config-notifications.types.js +0 -571
  105. package/build/internal/cjs/src/events-notifications-v2-notification-config-notifications.types.js.map +0 -1
  106. package/build/internal/cjs/src/events-notifications-v2-notification-config-notifications.universal.js +0 -732
  107. package/build/internal/cjs/src/events-notifications-v2-notification-config-notifications.universal.js.map +0 -1
  108. package/build/internal/es/index.d.ts +0 -1
  109. package/build/internal/es/index.js +0 -2
  110. package/build/internal/es/index.js.map +0 -1
  111. package/build/internal/es/index.typings.d.ts +0 -1
  112. package/build/internal/es/index.typings.js +0 -2
  113. package/build/internal/es/index.typings.js.map +0 -1
  114. package/build/internal/es/meta.d.ts +0 -1
  115. package/build/internal/es/meta.js +0 -2
  116. package/build/internal/es/meta.js.map +0 -1
  117. package/build/internal/es/src/events-notifications-v2-notification-config-notifications.context.d.ts +0 -14
  118. package/build/internal/es/src/events-notifications-v2-notification-config-notifications.context.js +0 -14
  119. package/build/internal/es/src/events-notifications-v2-notification-config-notifications.context.js.map +0 -1
  120. package/build/internal/es/src/events-notifications-v2-notification-config-notifications.http.d.ts +0 -7
  121. package/build/internal/es/src/events-notifications-v2-notification-config-notifications.http.js +0 -162
  122. package/build/internal/es/src/events-notifications-v2-notification-config-notifications.http.js.map +0 -1
  123. package/build/internal/es/src/events-notifications-v2-notification-config-notifications.meta.d.ts +0 -19
  124. package/build/internal/es/src/events-notifications-v2-notification-config-notifications.meta.js +0 -58
  125. package/build/internal/es/src/events-notifications-v2-notification-config-notifications.meta.js.map +0 -1
  126. package/build/internal/es/src/events-notifications-v2-notification-config-notifications.public.d.ts +0 -31
  127. package/build/internal/es/src/events-notifications-v2-notification-config-notifications.public.js +0 -43
  128. package/build/internal/es/src/events-notifications-v2-notification-config-notifications.public.js.map +0 -1
  129. package/build/internal/es/src/events-notifications-v2-notification-config-notifications.types.d.ts +0 -3737
  130. package/build/internal/es/src/events-notifications-v2-notification-config-notifications.types.js +0 -567
  131. package/build/internal/es/src/events-notifications-v2-notification-config-notifications.types.js.map +0 -1
  132. package/build/internal/es/src/events-notifications-v2-notification-config-notifications.universal.js +0 -702
  133. package/build/internal/es/src/events-notifications-v2-notification-config-notifications.universal.js.map +0 -1
@@ -1,702 +0,0 @@
1
- import { transformError as sdkTransformError } from '@wix/sdk-runtime/transform-error';
2
- import { renameKeysFromSDKRequestToRESTRequest, renameKeysFromRESTResponseToSDKResponse, } from '@wix/sdk-runtime/rename-all-nested-keys';
3
- import * as ambassadorWixEventsNotificationsV2NotificationConfig from './events-notifications-v2-notification-config-notifications.http.js';
4
- export var EmailNotificationType;
5
- (function (EmailNotificationType) {
6
- /** Default value. This value is unused. */
7
- EmailNotificationType["UNKNOWN_NOTIFICATION_TYPE"] = "UNKNOWN_NOTIFICATION_TYPE";
8
- /** Triggered when site user RSVP to the event. */
9
- EmailNotificationType["EMAIL_RSVP_CONFIRMATION"] = "EMAIL_RSVP_CONFIRMATION";
10
- /** Triggered for waiting guests when additional RSVP spots appears in the fully booked event. */
11
- EmailNotificationType["EMAIL_NEW_SPOTS_AVAILABLE"] = "EMAIL_NEW_SPOTS_AVAILABLE";
12
- /** Triggered when event is canceled. */
13
- EmailNotificationType["EMAIL_EVENT_CANCELATION"] = "EMAIL_EVENT_CANCELATION";
14
- /** Triggered before the event start time. */
15
- EmailNotificationType["EMAIL_UPCOMING_EVENT_REMINDER"] = "EMAIL_UPCOMING_EVENT_REMINDER";
16
- /** Triggered when site user creates Order. */
17
- EmailNotificationType["EMAIL_ORDER_CONFIRMATION"] = "EMAIL_ORDER_CONFIRMATION";
18
- /** Triggered when resending ticket to ticket holder. */
19
- EmailNotificationType["EMAIL_TICKET_CONFIRMATION"] = "EMAIL_TICKET_CONFIRMATION";
20
- /** Triggered when sending invoice. Currently only `enabled` flag update is supported. */
21
- EmailNotificationType["EMAIL_INVOICE"] = "EMAIL_INVOICE";
22
- })(EmailNotificationType || (EmailNotificationType = {}));
23
- export var EmailNotificationReminderTime;
24
- (function (EmailNotificationReminderTime) {
25
- /** Default value. This value is unused. */
26
- EmailNotificationReminderTime["UNKNOWN_REMINDER_TIME"] = "UNKNOWN_REMINDER_TIME";
27
- /** Notification is sent instantly */
28
- EmailNotificationReminderTime["INSTANT"] = "INSTANT";
29
- /** 24 hours prior */
30
- EmailNotificationReminderTime["BEFORE_1_DAY"] = "BEFORE_1_DAY";
31
- /** 3 days prior */
32
- EmailNotificationReminderTime["BEFORE_3_DAYS"] = "BEFORE_3_DAYS";
33
- /** 7 days prior */
34
- EmailNotificationReminderTime["BEFORE_1_WEEK"] = "BEFORE_1_WEEK";
35
- /** 1 hour prior */
36
- EmailNotificationReminderTime["BEFORE_1_HOUR"] = "BEFORE_1_HOUR";
37
- /** 30 minutes prior */
38
- EmailNotificationReminderTime["BEFORE_30_MINUTES"] = "BEFORE_30_MINUTES";
39
- })(EmailNotificationReminderTime || (EmailNotificationReminderTime = {}));
40
- export var PushNotificationType;
41
- (function (PushNotificationType) {
42
- /** This is default value. This value is unused. */
43
- PushNotificationType["UNKNOWN_PUSH_TYPE"] = "UNKNOWN_PUSH_TYPE";
44
- /** Triggered when event is updated. */
45
- PushNotificationType["PUSH_EVENT_UPDATED"] = "PUSH_EVENT_UPDATED";
46
- /** Triggered when event is canceled. */
47
- PushNotificationType["PUSH_EVENT_CANCELATION"] = "PUSH_EVENT_CANCELATION";
48
- /** Triggered before the event start time. */
49
- PushNotificationType["PUSH_UPCOMING_EVENT_REMINDER"] = "PUSH_UPCOMING_EVENT_REMINDER";
50
- /** Triggered when event is created. */
51
- PushNotificationType["PUSH_EVENT_CREATED"] = "PUSH_EVENT_CREATED";
52
- })(PushNotificationType || (PushNotificationType = {}));
53
- export var LocationType;
54
- (function (LocationType) {
55
- LocationType["VENUE"] = "VENUE";
56
- LocationType["ONLINE"] = "ONLINE";
57
- })(LocationType || (LocationType = {}));
58
- export var SubdivisionType;
59
- (function (SubdivisionType) {
60
- SubdivisionType["UNKNOWN_SUBDIVISION_TYPE"] = "UNKNOWN_SUBDIVISION_TYPE";
61
- /** State */
62
- SubdivisionType["ADMINISTRATIVE_AREA_LEVEL_1"] = "ADMINISTRATIVE_AREA_LEVEL_1";
63
- /** County */
64
- SubdivisionType["ADMINISTRATIVE_AREA_LEVEL_2"] = "ADMINISTRATIVE_AREA_LEVEL_2";
65
- /** City/town */
66
- SubdivisionType["ADMINISTRATIVE_AREA_LEVEL_3"] = "ADMINISTRATIVE_AREA_LEVEL_3";
67
- /** Neighborhood/quarter */
68
- SubdivisionType["ADMINISTRATIVE_AREA_LEVEL_4"] = "ADMINISTRATIVE_AREA_LEVEL_4";
69
- /** Street/block */
70
- SubdivisionType["ADMINISTRATIVE_AREA_LEVEL_5"] = "ADMINISTRATIVE_AREA_LEVEL_5";
71
- /** ADMINISTRATIVE_AREA_LEVEL_0. Indicates the national political entity, and is typically the highest order type returned by the Geocoder. */
72
- SubdivisionType["COUNTRY"] = "COUNTRY";
73
- })(SubdivisionType || (SubdivisionType = {}));
74
- export var Status;
75
- (function (Status) {
76
- /** Event occurs only once. */
77
- Status["ONE_TIME"] = "ONE_TIME";
78
- /** Event is recurring. */
79
- Status["RECURRING"] = "RECURRING";
80
- /** Marks the next upcoming occurrence of the recurring event. */
81
- Status["RECURRING_NEXT"] = "RECURRING_NEXT";
82
- /** Marks the most recent ended occurrence of the recurring event. */
83
- Status["RECURRING_LAST_ENDED"] = "RECURRING_LAST_ENDED";
84
- /** Marks the most recent canceled occurrence of the recurring event. */
85
- Status["RECURRING_LAST_CANCELED"] = "RECURRING_LAST_CANCELED";
86
- })(Status || (Status = {}));
87
- export var EventStatus;
88
- (function (EventStatus) {
89
- /** Event is public and scheduled to start */
90
- EventStatus["SCHEDULED"] = "SCHEDULED";
91
- /** Event has started */
92
- EventStatus["STARTED"] = "STARTED";
93
- /** Event has ended */
94
- EventStatus["ENDED"] = "ENDED";
95
- /** Event was canceled */
96
- EventStatus["CANCELED"] = "CANCELED";
97
- })(EventStatus || (EventStatus = {}));
98
- export var EventType;
99
- (function (EventType) {
100
- /** Type not available for this request fieldset */
101
- EventType["NA_EVENT_TYPE"] = "NA_EVENT_TYPE";
102
- /** Registration via RSVP */
103
- EventType["RSVP"] = "RSVP";
104
- /** Registration via ticket purchase */
105
- EventType["TICKETS"] = "TICKETS";
106
- /** External registration */
107
- EventType["EXTERNAL"] = "EXTERNAL";
108
- /** Registration not available */
109
- EventType["NO_REGISTRATION"] = "NO_REGISTRATION";
110
- })(EventType || (EventType = {}));
111
- export var RegistrationStatus;
112
- (function (RegistrationStatus) {
113
- /** Registration status is not applicable */
114
- RegistrationStatus["NA_REGISTRATION_STATUS"] = "NA_REGISTRATION_STATUS";
115
- /** Registration to event is closed */
116
- RegistrationStatus["CLOSED"] = "CLOSED";
117
- /** Registration to event is closed manually */
118
- RegistrationStatus["CLOSED_MANUALLY"] = "CLOSED_MANUALLY";
119
- /** Registration is open via RSVP */
120
- RegistrationStatus["OPEN_RSVP"] = "OPEN_RSVP";
121
- /** Registration to event waitlist is open via RSVP */
122
- RegistrationStatus["OPEN_RSVP_WAITLIST"] = "OPEN_RSVP_WAITLIST";
123
- /** Registration is open via ticket purchase */
124
- RegistrationStatus["OPEN_TICKETS"] = "OPEN_TICKETS";
125
- /** Registration is open via external URL */
126
- RegistrationStatus["OPEN_EXTERNAL"] = "OPEN_EXTERNAL";
127
- /** Registration will be open via RSVP */
128
- RegistrationStatus["SCHEDULED_RSVP"] = "SCHEDULED_RSVP";
129
- })(RegistrationStatus || (RegistrationStatus = {}));
130
- export var RsvpStatusOptions;
131
- (function (RsvpStatusOptions) {
132
- /** Only YES RSVP status is available for RSVP registration */
133
- RsvpStatusOptions["YES_ONLY"] = "YES_ONLY";
134
- /** YES and NO RSVP status options are available for the registration */
135
- RsvpStatusOptions["YES_AND_NO"] = "YES_AND_NO";
136
- })(RsvpStatusOptions || (RsvpStatusOptions = {}));
137
- export var TaxType;
138
- (function (TaxType) {
139
- /** Tax is included in the ticket price. */
140
- TaxType["INCLUDED"] = "INCLUDED";
141
- /** Tax is added to the order at the checkout. */
142
- TaxType["ADDED"] = "ADDED";
143
- /** Tax is added to the final total at the checkout. */
144
- TaxType["ADDED_AT_CHECKOUT"] = "ADDED_AT_CHECKOUT";
145
- })(TaxType || (TaxType = {}));
146
- export var VisitorType;
147
- (function (VisitorType) {
148
- /** Site visitor (including member) */
149
- VisitorType["VISITOR"] = "VISITOR";
150
- /** Site member */
151
- VisitorType["MEMBER"] = "MEMBER";
152
- /** Site visitor or member */
153
- VisitorType["VISITOR_OR_MEMBER"] = "VISITOR_OR_MEMBER";
154
- })(VisitorType || (VisitorType = {}));
155
- export var InputControlType;
156
- (function (InputControlType) {
157
- /** Single text value field. */
158
- InputControlType["INPUT"] = "INPUT";
159
- /** Single text value field with multiple lines. */
160
- InputControlType["TEXTAREA"] = "TEXTAREA";
161
- /** Single-choice field with predefined values. */
162
- InputControlType["DROPDOWN"] = "DROPDOWN";
163
- /** Single-choice field with predefined values. */
164
- InputControlType["RADIO"] = "RADIO";
165
- /** Multiple-choice field with predefined values. */
166
- InputControlType["CHECKBOX"] = "CHECKBOX";
167
- /** Fields for entering first and last names. */
168
- InputControlType["NAME"] = "NAME";
169
- /** Fields for additional guests and their respective names. */
170
- InputControlType["GUEST_CONTROL"] = "GUEST_CONTROL";
171
- /** Single-line address field. */
172
- InputControlType["ADDRESS_SHORT"] = "ADDRESS_SHORT";
173
- /** Full address field with multiple lines. */
174
- InputControlType["ADDRESS_FULL"] = "ADDRESS_FULL";
175
- /** Fields for entering year, month, and day. */
176
- InputControlType["DATE"] = "DATE";
177
- })(InputControlType || (InputControlType = {}));
178
- export var ValueType;
179
- (function (ValueType) {
180
- ValueType["TEXT"] = "TEXT";
181
- ValueType["NUMBER"] = "NUMBER";
182
- ValueType["TEXT_ARRAY"] = "TEXT_ARRAY";
183
- ValueType["DATE_TIME"] = "DATE_TIME";
184
- ValueType["ADDRESS"] = "ADDRESS";
185
- })(ValueType || (ValueType = {}));
186
- export var ConferenceType;
187
- (function (ConferenceType) {
188
- /** Everyone in the meeting can publish and subscribe video and audio. */
189
- ConferenceType["MEETING"] = "MEETING";
190
- /** Guests can only subscribe to video and audio. */
191
- ConferenceType["WEBINAR"] = "WEBINAR";
192
- })(ConferenceType || (ConferenceType = {}));
193
- export var State;
194
- (function (State) {
195
- /** Created manually by the user. */
196
- State["MANUAL"] = "MANUAL";
197
- /** Created automatically. */
198
- State["AUTO"] = "AUTO";
199
- /** Created when publishing recurring events. */
200
- State["RECURRING_EVENT"] = "RECURRING_EVENT";
201
- /** Category is hidden. */
202
- State["HIDDEN"] = "HIDDEN";
203
- })(State || (State = {}));
204
- export var NodeType;
205
- (function (NodeType) {
206
- NodeType["PARAGRAPH"] = "PARAGRAPH";
207
- NodeType["TEXT"] = "TEXT";
208
- NodeType["HEADING"] = "HEADING";
209
- NodeType["BULLETED_LIST"] = "BULLETED_LIST";
210
- NodeType["ORDERED_LIST"] = "ORDERED_LIST";
211
- NodeType["LIST_ITEM"] = "LIST_ITEM";
212
- NodeType["BLOCKQUOTE"] = "BLOCKQUOTE";
213
- NodeType["CODE_BLOCK"] = "CODE_BLOCK";
214
- NodeType["VIDEO"] = "VIDEO";
215
- NodeType["DIVIDER"] = "DIVIDER";
216
- NodeType["FILE"] = "FILE";
217
- NodeType["GALLERY"] = "GALLERY";
218
- NodeType["GIF"] = "GIF";
219
- NodeType["HTML"] = "HTML";
220
- NodeType["IMAGE"] = "IMAGE";
221
- NodeType["LINK_PREVIEW"] = "LINK_PREVIEW";
222
- /** @deprecated */
223
- NodeType["MAP"] = "MAP";
224
- NodeType["POLL"] = "POLL";
225
- NodeType["APP_EMBED"] = "APP_EMBED";
226
- NodeType["BUTTON"] = "BUTTON";
227
- NodeType["COLLAPSIBLE_LIST"] = "COLLAPSIBLE_LIST";
228
- NodeType["TABLE"] = "TABLE";
229
- NodeType["EMBED"] = "EMBED";
230
- NodeType["COLLAPSIBLE_ITEM"] = "COLLAPSIBLE_ITEM";
231
- NodeType["COLLAPSIBLE_ITEM_TITLE"] = "COLLAPSIBLE_ITEM_TITLE";
232
- NodeType["COLLAPSIBLE_ITEM_BODY"] = "COLLAPSIBLE_ITEM_BODY";
233
- NodeType["TABLE_CELL"] = "TABLE_CELL";
234
- NodeType["TABLE_ROW"] = "TABLE_ROW";
235
- NodeType["EXTERNAL"] = "EXTERNAL";
236
- NodeType["AUDIO"] = "AUDIO";
237
- NodeType["CAPTION"] = "CAPTION";
238
- NodeType["LAYOUT"] = "LAYOUT";
239
- NodeType["LAYOUT_CELL"] = "LAYOUT_CELL";
240
- })(NodeType || (NodeType = {}));
241
- export var WidthType;
242
- (function (WidthType) {
243
- /** Width matches the content width */
244
- WidthType["CONTENT"] = "CONTENT";
245
- /** Small Width */
246
- WidthType["SMALL"] = "SMALL";
247
- /** Width will match the original asset width */
248
- WidthType["ORIGINAL"] = "ORIGINAL";
249
- /** coast-to-coast display */
250
- WidthType["FULL_WIDTH"] = "FULL_WIDTH";
251
- })(WidthType || (WidthType = {}));
252
- export var PluginContainerDataAlignment;
253
- (function (PluginContainerDataAlignment) {
254
- /** Center Alignment */
255
- PluginContainerDataAlignment["CENTER"] = "CENTER";
256
- /** Left Alignment */
257
- PluginContainerDataAlignment["LEFT"] = "LEFT";
258
- /** Right Alignment */
259
- PluginContainerDataAlignment["RIGHT"] = "RIGHT";
260
- })(PluginContainerDataAlignment || (PluginContainerDataAlignment = {}));
261
- export var ButtonDataType;
262
- (function (ButtonDataType) {
263
- /** Regular link button */
264
- ButtonDataType["LINK"] = "LINK";
265
- /** Triggers custom action that is defined in plugin configuration by the consumer */
266
- ButtonDataType["ACTION"] = "ACTION";
267
- })(ButtonDataType || (ButtonDataType = {}));
268
- export var Target;
269
- (function (Target) {
270
- /** Opens the linked document in the same frame as it was clicked (this is default) */
271
- Target["SELF"] = "SELF";
272
- /** Opens the linked document in a new window or tab */
273
- Target["BLANK"] = "BLANK";
274
- /** Opens the linked document in the parent frame */
275
- Target["PARENT"] = "PARENT";
276
- /** Opens the linked document in the full body of the window */
277
- Target["TOP"] = "TOP";
278
- })(Target || (Target = {}));
279
- export var TextAlignment;
280
- (function (TextAlignment) {
281
- /** browser default, eqivalent to `initial` */
282
- TextAlignment["AUTO"] = "AUTO";
283
- /** Left align */
284
- TextAlignment["LEFT"] = "LEFT";
285
- /** Right align */
286
- TextAlignment["RIGHT"] = "RIGHT";
287
- /** Center align */
288
- TextAlignment["CENTER"] = "CENTER";
289
- /** Text is spaced to line up its left and right edges to the left and right edges of the line box, except for the last line */
290
- TextAlignment["JUSTIFY"] = "JUSTIFY";
291
- })(TextAlignment || (TextAlignment = {}));
292
- export var LineStyle;
293
- (function (LineStyle) {
294
- /** Single Line */
295
- LineStyle["SINGLE"] = "SINGLE";
296
- /** Double Line */
297
- LineStyle["DOUBLE"] = "DOUBLE";
298
- /** Dashed Line */
299
- LineStyle["DASHED"] = "DASHED";
300
- /** Dotted Line */
301
- LineStyle["DOTTED"] = "DOTTED";
302
- })(LineStyle || (LineStyle = {}));
303
- export var Width;
304
- (function (Width) {
305
- /** Large line */
306
- Width["LARGE"] = "LARGE";
307
- /** Medium line */
308
- Width["MEDIUM"] = "MEDIUM";
309
- /** Small line */
310
- Width["SMALL"] = "SMALL";
311
- })(Width || (Width = {}));
312
- export var Alignment;
313
- (function (Alignment) {
314
- /** Center alignment */
315
- Alignment["CENTER"] = "CENTER";
316
- /** Left alignment */
317
- Alignment["LEFT"] = "LEFT";
318
- /** Right alignment */
319
- Alignment["RIGHT"] = "RIGHT";
320
- })(Alignment || (Alignment = {}));
321
- export var ViewMode;
322
- (function (ViewMode) {
323
- /** No PDF view */
324
- ViewMode["NONE"] = "NONE";
325
- /** Full PDF view */
326
- ViewMode["FULL"] = "FULL";
327
- /** Mini PDF view */
328
- ViewMode["MINI"] = "MINI";
329
- })(ViewMode || (ViewMode = {}));
330
- export var LayoutType;
331
- (function (LayoutType) {
332
- /** Collage type */
333
- LayoutType["COLLAGE"] = "COLLAGE";
334
- /** Masonry type */
335
- LayoutType["MASONRY"] = "MASONRY";
336
- /** Grid type */
337
- LayoutType["GRID"] = "GRID";
338
- /** Thumbnail type */
339
- LayoutType["THUMBNAIL"] = "THUMBNAIL";
340
- /** Slider type */
341
- LayoutType["SLIDER"] = "SLIDER";
342
- /** Slideshow type */
343
- LayoutType["SLIDESHOW"] = "SLIDESHOW";
344
- /** Panorama type */
345
- LayoutType["PANORAMA"] = "PANORAMA";
346
- /** Column type */
347
- LayoutType["COLUMN"] = "COLUMN";
348
- /** Magic type */
349
- LayoutType["MAGIC"] = "MAGIC";
350
- /** Fullsize images type */
351
- LayoutType["FULLSIZE"] = "FULLSIZE";
352
- })(LayoutType || (LayoutType = {}));
353
- export var Orientation;
354
- (function (Orientation) {
355
- /** Rows Orientation */
356
- Orientation["ROWS"] = "ROWS";
357
- /** Columns Orientation */
358
- Orientation["COLUMNS"] = "COLUMNS";
359
- })(Orientation || (Orientation = {}));
360
- export var Crop;
361
- (function (Crop) {
362
- /** Crop to fill */
363
- Crop["FILL"] = "FILL";
364
- /** Crop to fit */
365
- Crop["FIT"] = "FIT";
366
- })(Crop || (Crop = {}));
367
- export var ThumbnailsAlignment;
368
- (function (ThumbnailsAlignment) {
369
- /** Top alignment */
370
- ThumbnailsAlignment["TOP"] = "TOP";
371
- /** Right alignment */
372
- ThumbnailsAlignment["RIGHT"] = "RIGHT";
373
- /** Bottom alignment */
374
- ThumbnailsAlignment["BOTTOM"] = "BOTTOM";
375
- /** Left alignment */
376
- ThumbnailsAlignment["LEFT"] = "LEFT";
377
- /** No thumbnail */
378
- ThumbnailsAlignment["NONE"] = "NONE";
379
- })(ThumbnailsAlignment || (ThumbnailsAlignment = {}));
380
- export var GIFType;
381
- (function (GIFType) {
382
- GIFType["NORMAL"] = "NORMAL";
383
- GIFType["STICKER"] = "STICKER";
384
- })(GIFType || (GIFType = {}));
385
- export var Source;
386
- (function (Source) {
387
- Source["HTML"] = "HTML";
388
- Source["ADSENSE"] = "ADSENSE";
389
- })(Source || (Source = {}));
390
- export var Position;
391
- (function (Position) {
392
- /** Thumbnail positioned at the start (left in LTR layouts, right in RTL layouts) */
393
- Position["START"] = "START";
394
- /** Thumbnail positioned at the end (right in LTR layouts, left in RTL layouts) */
395
- Position["END"] = "END";
396
- /** Thumbnail positioned at the top */
397
- Position["TOP"] = "TOP";
398
- /** Thumbnail hidden and not displayed */
399
- Position["HIDDEN"] = "HIDDEN";
400
- })(Position || (Position = {}));
401
- export var MapType;
402
- (function (MapType) {
403
- /** Roadmap map type */
404
- MapType["ROADMAP"] = "ROADMAP";
405
- /** Satellite map type */
406
- MapType["SATELITE"] = "SATELITE";
407
- /** Hybrid map type */
408
- MapType["HYBRID"] = "HYBRID";
409
- /** Terrain map type */
410
- MapType["TERRAIN"] = "TERRAIN";
411
- })(MapType || (MapType = {}));
412
- export var ViewRole;
413
- (function (ViewRole) {
414
- /** Only Poll creator can view the results */
415
- ViewRole["CREATOR"] = "CREATOR";
416
- /** Anyone who voted can see the results */
417
- ViewRole["VOTERS"] = "VOTERS";
418
- /** Anyone can see the results, even if one didn't vote */
419
- ViewRole["EVERYONE"] = "EVERYONE";
420
- })(ViewRole || (ViewRole = {}));
421
- export var VoteRole;
422
- (function (VoteRole) {
423
- /** Logged in member */
424
- VoteRole["SITE_MEMBERS"] = "SITE_MEMBERS";
425
- /** Anyone */
426
- VoteRole["ALL"] = "ALL";
427
- })(VoteRole || (VoteRole = {}));
428
- export var PollLayoutType;
429
- (function (PollLayoutType) {
430
- /** List */
431
- PollLayoutType["LIST"] = "LIST";
432
- /** Grid */
433
- PollLayoutType["GRID"] = "GRID";
434
- })(PollLayoutType || (PollLayoutType = {}));
435
- export var PollLayoutDirection;
436
- (function (PollLayoutDirection) {
437
- /** Left-to-right */
438
- PollLayoutDirection["LTR"] = "LTR";
439
- /** Right-to-left */
440
- PollLayoutDirection["RTL"] = "RTL";
441
- })(PollLayoutDirection || (PollLayoutDirection = {}));
442
- export var BackgroundType;
443
- (function (BackgroundType) {
444
- /** Color background type */
445
- BackgroundType["COLOR"] = "COLOR";
446
- /** Image background type */
447
- BackgroundType["IMAGE"] = "IMAGE";
448
- /** Gradiant background type */
449
- BackgroundType["GRADIENT"] = "GRADIENT";
450
- })(BackgroundType || (BackgroundType = {}));
451
- export var DecorationType;
452
- (function (DecorationType) {
453
- DecorationType["BOLD"] = "BOLD";
454
- DecorationType["ITALIC"] = "ITALIC";
455
- DecorationType["UNDERLINE"] = "UNDERLINE";
456
- DecorationType["SPOILER"] = "SPOILER";
457
- DecorationType["ANCHOR"] = "ANCHOR";
458
- DecorationType["MENTION"] = "MENTION";
459
- DecorationType["LINK"] = "LINK";
460
- DecorationType["COLOR"] = "COLOR";
461
- DecorationType["FONT_SIZE"] = "FONT_SIZE";
462
- DecorationType["EXTERNAL"] = "EXTERNAL";
463
- DecorationType["STRIKETHROUGH"] = "STRIKETHROUGH";
464
- })(DecorationType || (DecorationType = {}));
465
- export var FontType;
466
- (function (FontType) {
467
- FontType["PX"] = "PX";
468
- FontType["EM"] = "EM";
469
- })(FontType || (FontType = {}));
470
- export var AppType;
471
- (function (AppType) {
472
- AppType["PRODUCT"] = "PRODUCT";
473
- AppType["EVENT"] = "EVENT";
474
- AppType["BOOKING"] = "BOOKING";
475
- })(AppType || (AppType = {}));
476
- export var InitialExpandedItems;
477
- (function (InitialExpandedItems) {
478
- /** First item will be expended initally */
479
- InitialExpandedItems["FIRST"] = "FIRST";
480
- /** All items will expended initally */
481
- InitialExpandedItems["ALL"] = "ALL";
482
- /** All items collapsed initally */
483
- InitialExpandedItems["NONE"] = "NONE";
484
- })(InitialExpandedItems || (InitialExpandedItems = {}));
485
- export var Direction;
486
- (function (Direction) {
487
- /** Left-to-right */
488
- Direction["LTR"] = "LTR";
489
- /** Right-to-left */
490
- Direction["RTL"] = "RTL";
491
- })(Direction || (Direction = {}));
492
- export var VerticalAlignment;
493
- (function (VerticalAlignment) {
494
- /** Top alignment */
495
- VerticalAlignment["TOP"] = "TOP";
496
- /** Middle alignment */
497
- VerticalAlignment["MIDDLE"] = "MIDDLE";
498
- /** Bottom alignment */
499
- VerticalAlignment["BOTTOM"] = "BOTTOM";
500
- })(VerticalAlignment || (VerticalAlignment = {}));
501
- /**
502
- * `NullValue` is a singleton enumeration to represent the null value for the
503
- * `Value` type union.
504
- *
505
- * The JSON representation for `NullValue` is JSON `null`.
506
- */
507
- export var NullValue;
508
- (function (NullValue) {
509
- /** Null value. */
510
- NullValue["NULL_VALUE"] = "NULL_VALUE";
511
- })(NullValue || (NullValue = {}));
512
- export var Type;
513
- (function (Type) {
514
- /** Unknown badge type. */
515
- Type["UNKNOWN_BADGE_TYPE"] = "UNKNOWN_BADGE_TYPE";
516
- /** 1st priority badge type. */
517
- Type["FIRST_PRIORITY"] = "FIRST_PRIORITY";
518
- /** 2nd priority badge type. */
519
- Type["SECOND_PRIORITY"] = "SECOND_PRIORITY";
520
- /** 3rd priority badge type. */
521
- Type["THIRD_PRIORITY"] = "THIRD_PRIORITY";
522
- })(Type || (Type = {}));
523
- export var OrderStatus;
524
- (function (OrderStatus) {
525
- /** Order status is not available for this request fieldset. */
526
- OrderStatus["NA_ORDER_STATUS"] = "NA_ORDER_STATUS";
527
- /** Order is confirmed, no payment is required. */
528
- OrderStatus["FREE"] = "FREE";
529
- /** Order was paid, but the payment gateway suspended the payment. */
530
- OrderStatus["PENDING"] = "PENDING";
531
- /** Order is paid. */
532
- OrderStatus["PAID"] = "PAID";
533
- /** Order is confirmed but has be paid via offline payment. Status needs to be manually updated to `"PAID"`. */
534
- OrderStatus["OFFLINE_PENDING"] = "OFFLINE_PENDING";
535
- /** Order is awaiting for payment at the cashier. */
536
- OrderStatus["INITIATED"] = "INITIATED";
537
- /** Order is canceled. */
538
- OrderStatus["CANCELED"] = "CANCELED";
539
- /** Order payment is declined. */
540
- OrderStatus["DECLINED"] = "DECLINED";
541
- /** Order payment is authorized. */
542
- OrderStatus["AUTHORIZED"] = "AUTHORIZED";
543
- /** Order payment is voided. */
544
- OrderStatus["VOIDED"] = "VOIDED";
545
- /** Order is partially paid with less than the total amount. */
546
- OrderStatus["PARTIALLY_PAID"] = "PARTIALLY_PAID";
547
- })(OrderStatus || (OrderStatus = {}));
548
- export var FeeName;
549
- (function (FeeName) {
550
- /** Wix ticket service fee charges applied to the line item. */
551
- FeeName["WIX_FEE"] = "WIX_FEE";
552
- })(FeeName || (FeeName = {}));
553
- export var FeeType;
554
- (function (FeeType) {
555
- /** Fee is added to the ticket price at checkout. */
556
- FeeType["FEE_ADDED"] = "FEE_ADDED";
557
- /** Seller absorbs the fee. It's deducted from the ticket price. */
558
- FeeType["FEE_INCLUDED"] = "FEE_INCLUDED";
559
- /** Fee is added to the ticket price at checkout. */
560
- FeeType["FEE_ADDED_AT_CHECKOUT"] = "FEE_ADDED_AT_CHECKOUT";
561
- })(FeeType || (FeeType = {}));
562
- export var WebhookIdentityType;
563
- (function (WebhookIdentityType) {
564
- WebhookIdentityType["UNKNOWN"] = "UNKNOWN";
565
- WebhookIdentityType["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
566
- WebhookIdentityType["MEMBER"] = "MEMBER";
567
- WebhookIdentityType["WIX_USER"] = "WIX_USER";
568
- WebhookIdentityType["APP"] = "APP";
569
- })(WebhookIdentityType || (WebhookIdentityType = {}));
570
- /**
571
- * Triggers notification
572
- * @public
573
- * @documentationMaturity preview
574
- * @requiredField options
575
- * @requiredField options.guests
576
- * @requiredField options.notification
577
- * @permissionId WIX_EVENTS.MANAGE
578
- * @permissionScope Manage Events
579
- * @permissionScopeId SCOPE.EVENTS.MANAGE-EVENTS
580
- * @applicableIdentity APP
581
- * @fqn wix.events.notifications.v2.NotificationService.TriggerNotification
582
- */
583
- export async function triggerNotification(options) {
584
- // @ts-ignore
585
- const { httpClient, sideEffects } = arguments[1];
586
- const payload = renameKeysFromSDKRequestToRESTRequest({
587
- emailNotificationType: options?.emailNotificationType,
588
- pushNotificationType: options?.pushNotificationType,
589
- rsvpGuest: options?.rsvpGuest,
590
- orderGuest: options?.orderGuest,
591
- eventGuests: options?.eventGuests,
592
- ticketGuest: options?.ticketGuest,
593
- });
594
- const reqOpts = ambassadorWixEventsNotificationsV2NotificationConfig.triggerNotification(payload);
595
- sideEffects?.onSiteCall?.();
596
- try {
597
- const result = await httpClient.request(reqOpts);
598
- sideEffects?.onSuccess?.(result);
599
- }
600
- catch (err) {
601
- const transformedError = sdkTransformError(err, {
602
- spreadPathsToArguments: {},
603
- explicitPathsToArguments: {
604
- emailNotificationType: '$[0].emailNotificationType',
605
- pushNotificationType: '$[0].pushNotificationType',
606
- rsvpGuest: '$[0].rsvpGuest',
607
- orderGuest: '$[0].orderGuest',
608
- eventGuests: '$[0].eventGuests',
609
- ticketGuest: '$[0].ticketGuest',
610
- },
611
- singleArgumentUnchanged: false,
612
- }, ['options']);
613
- sideEffects?.onError?.(err);
614
- throw transformedError;
615
- }
616
- }
617
- /**
618
- * Resolves a NotificationConfig by id. Returns saved value or default value if not saved yet.
619
- * @param notificationConfigId - Id of the NotificationConfig to retrieve
620
- * @public
621
- * @documentationMaturity preview
622
- * @requiredField notificationConfigId
623
- * @permissionId WIX_EVENTS.READ_NOTIFICATION_CONFIG
624
- * @permissionScope Read Events - all read permissions
625
- * @permissionScopeId SCOPE.DC-EVENTS-MEGA.READ-EVENTS
626
- * @permissionScope Manage Events - all permissions
627
- * @permissionScopeId SCOPE.DC-EVENTS-MEGA.MANAGE-EVENTS
628
- * @permissionScope Manage Events
629
- * @permissionScopeId SCOPE.EVENTS.MANAGE-EVENTS
630
- * @permissionScope Read Events
631
- * @permissionScopeId SCOPE.DC-EVENTS.READ-EVENTS
632
- * @permissionScope Manage Guest List
633
- * @permissionScopeId SCOPE.DC-EVENTS.MANAGE-GUEST-LIST
634
- * @permissionScope Manage Events
635
- * @permissionScopeId SCOPE.DC-EVENTS.MANAGE-EVENTS
636
- * @applicableIdentity APP
637
- * @fqn wix.events.notifications.v2.NotificationConfigManagement.ResolveNotificationConfig
638
- */
639
- export async function resolveNotificationConfig(notificationConfigId) {
640
- // @ts-ignore
641
- const { httpClient, sideEffects } = arguments[1];
642
- const payload = renameKeysFromSDKRequestToRESTRequest({
643
- notificationConfigId: notificationConfigId,
644
- });
645
- const reqOpts = ambassadorWixEventsNotificationsV2NotificationConfig.resolveNotificationConfig(payload);
646
- sideEffects?.onSiteCall?.();
647
- try {
648
- const result = await httpClient.request(reqOpts);
649
- sideEffects?.onSuccess?.(result);
650
- return renameKeysFromRESTResponseToSDKResponse(result.data);
651
- }
652
- catch (err) {
653
- const transformedError = sdkTransformError(err, {
654
- spreadPathsToArguments: {},
655
- explicitPathsToArguments: { notificationConfigId: '$[0]' },
656
- singleArgumentUnchanged: false,
657
- }, ['notificationConfigId']);
658
- sideEffects?.onError?.(err);
659
- throw transformedError;
660
- }
661
- }
662
- /**
663
- * Upsert a NotificationConfig
664
- * @param _id - Event ID.
665
- * @public
666
- * @documentationMaturity preview
667
- * @requiredField _id
668
- * @requiredField notificationConfig
669
- * @permissionId WIX_EVENTS.UPDATE_NOTIFICATION_CONFIG
670
- * @permissionScope Manage Events - all permissions
671
- * @permissionScopeId SCOPE.DC-EVENTS-MEGA.MANAGE-EVENTS
672
- * @permissionScope Manage Events
673
- * @permissionScopeId SCOPE.EVENTS.MANAGE-EVENTS
674
- * @permissionScope Manage Events
675
- * @permissionScopeId SCOPE.DC-EVENTS.MANAGE-EVENTS
676
- * @applicableIdentity APP
677
- * @fqn wix.events.notifications.v2.NotificationConfigManagement.UpsertNotificationConfig
678
- */
679
- export async function upsertNotificationConfig(_id, notificationConfig) {
680
- // @ts-ignore
681
- const { httpClient, sideEffects } = arguments[2];
682
- const payload = renameKeysFromSDKRequestToRESTRequest({
683
- notificationConfig: { ...notificationConfig, id: _id },
684
- });
685
- const reqOpts = ambassadorWixEventsNotificationsV2NotificationConfig.upsertNotificationConfig(payload);
686
- sideEffects?.onSiteCall?.();
687
- try {
688
- const result = await httpClient.request(reqOpts);
689
- sideEffects?.onSuccess?.(result);
690
- return renameKeysFromRESTResponseToSDKResponse(result.data);
691
- }
692
- catch (err) {
693
- const transformedError = sdkTransformError(err, {
694
- spreadPathsToArguments: { notificationConfig: '$[1]' },
695
- explicitPathsToArguments: { 'notificationConfig.id': '$[0]' },
696
- singleArgumentUnchanged: false,
697
- }, ['_id', 'notificationConfig']);
698
- sideEffects?.onError?.(err);
699
- throw transformedError;
700
- }
701
- }
702
- //# sourceMappingURL=events-notifications-v2-notification-config-notifications.universal.js.map