@wix/auto_sdk_events_notifications 1.0.20 → 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} +501 -544
  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} +501 -544
  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} +501 -544
  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} +501 -544
  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 -3669
  52. package/build/cjs/src/events-notifications-v2-notification-config-notifications.types.js +0 -570
  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 -730
  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 -3669
  78. package/build/es/src/events-notifications-v2-notification-config-notifications.types.js +0 -566
  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 -700
  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 -3669
  104. package/build/internal/cjs/src/events-notifications-v2-notification-config-notifications.types.js +0 -570
  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 -730
  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 -3669
  130. package/build/internal/es/src/events-notifications-v2-notification-config-notifications.types.js +0 -566
  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 -700
  133. package/build/internal/es/src/events-notifications-v2-notification-config-notifications.universal.js.map +0 -1
@@ -1,700 +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. */
160
- InputControlType["TEXTAREA"] = "TEXTAREA";
161
- /** Single-choice field of predefined values. */
162
- InputControlType["DROPDOWN"] = "DROPDOWN";
163
- /** Single-choice field of predefined values. */
164
- InputControlType["RADIO"] = "RADIO";
165
- /** Multiple-choice field of predefined values. */
166
- InputControlType["CHECKBOX"] = "CHECKBOX";
167
- /** First and last name fields. */
168
- InputControlType["NAME"] = "NAME";
169
- /** Additional guests and respective guest names fields. */
170
- InputControlType["GUEST_CONTROL"] = "GUEST_CONTROL";
171
- /** Single-line address field. */
172
- InputControlType["ADDRESS_SHORT"] = "ADDRESS_SHORT";
173
- /** Full address field. */
174
- InputControlType["ADDRESS_FULL"] = "ADDRESS_FULL";
175
- /** Year, month and day fields. */
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 || (DecorationType = {}));
464
- export var FontType;
465
- (function (FontType) {
466
- FontType["PX"] = "PX";
467
- FontType["EM"] = "EM";
468
- })(FontType || (FontType = {}));
469
- export var AppType;
470
- (function (AppType) {
471
- AppType["PRODUCT"] = "PRODUCT";
472
- AppType["EVENT"] = "EVENT";
473
- AppType["BOOKING"] = "BOOKING";
474
- })(AppType || (AppType = {}));
475
- export var InitialExpandedItems;
476
- (function (InitialExpandedItems) {
477
- /** First item will be expended initally */
478
- InitialExpandedItems["FIRST"] = "FIRST";
479
- /** All items will expended initally */
480
- InitialExpandedItems["ALL"] = "ALL";
481
- /** All items collapsed initally */
482
- InitialExpandedItems["NONE"] = "NONE";
483
- })(InitialExpandedItems || (InitialExpandedItems = {}));
484
- export var Direction;
485
- (function (Direction) {
486
- /** Left-to-right */
487
- Direction["LTR"] = "LTR";
488
- /** Right-to-left */
489
- Direction["RTL"] = "RTL";
490
- })(Direction || (Direction = {}));
491
- export var VerticalAlignment;
492
- (function (VerticalAlignment) {
493
- /** Top alignment */
494
- VerticalAlignment["TOP"] = "TOP";
495
- /** Middle alignment */
496
- VerticalAlignment["MIDDLE"] = "MIDDLE";
497
- /** Bottom alignment */
498
- VerticalAlignment["BOTTOM"] = "BOTTOM";
499
- })(VerticalAlignment || (VerticalAlignment = {}));
500
- /**
501
- * `NullValue` is a singleton enumeration to represent the null value for the
502
- * `Value` type union.
503
- *
504
- * The JSON representation for `NullValue` is JSON `null`.
505
- */
506
- export var NullValue;
507
- (function (NullValue) {
508
- /** Null value. */
509
- NullValue["NULL_VALUE"] = "NULL_VALUE";
510
- })(NullValue || (NullValue = {}));
511
- export var Type;
512
- (function (Type) {
513
- /** Unknown badge type. */
514
- Type["UNKNOWN_BADGE_TYPE"] = "UNKNOWN_BADGE_TYPE";
515
- /** Urgent badge type. */
516
- Type["URGENT"] = "URGENT";
517
- /** Informational badge type. */
518
- Type["INFO"] = "INFO";
519
- /** General badge type. */
520
- Type["GENERAL"] = "GENERAL";
521
- })(Type || (Type = {}));
522
- export var OrderStatus;
523
- (function (OrderStatus) {
524
- /** Order status not available for this request fieldset. */
525
- OrderStatus["NA_ORDER_STATUS"] = "NA_ORDER_STATUS";
526
- /** Order is confirmed and payment isn't required. */
527
- OrderStatus["FREE"] = "FREE";
528
- /** Order is paid for but the payment gateway has suspended the payment. */
529
- OrderStatus["PENDING"] = "PENDING";
530
- /** Order is paid via a payment gateway. */
531
- OrderStatus["PAID"] = "PAID";
532
- /** Order is confirmed but must be paid via offline payment. Status needs to be manually updated to `PAID`. */
533
- OrderStatus["OFFLINE_PENDING"] = "OFFLINE_PENDING";
534
- /** Order is awaiting payment at the cashier. */
535
- OrderStatus["INITIATED"] = "INITIATED";
536
- /** Order is canceled. */
537
- OrderStatus["CANCELED"] = "CANCELED";
538
- /** Order payment is declined. */
539
- OrderStatus["DECLINED"] = "DECLINED";
540
- /** Order payment is authorized. */
541
- OrderStatus["AUTHORIZED"] = "AUTHORIZED";
542
- /** Order payment is voided. */
543
- OrderStatus["VOIDED"] = "VOIDED";
544
- /** Order is partially paid with less than the total amount. */
545
- OrderStatus["PARTIALLY_PAID"] = "PARTIALLY_PAID";
546
- })(OrderStatus || (OrderStatus = {}));
547
- export var FeeName;
548
- (function (FeeName) {
549
- /** Wix ticket service fee charges applied to the line item. */
550
- FeeName["WIX_FEE"] = "WIX_FEE";
551
- })(FeeName || (FeeName = {}));
552
- export var FeeType;
553
- (function (FeeType) {
554
- /** Fee is added to the ticket price at checkout. */
555
- FeeType["FEE_ADDED"] = "FEE_ADDED";
556
- /** Seller absorbs the fee. It is deducted from the ticket price. */
557
- FeeType["FEE_INCLUDED"] = "FEE_INCLUDED";
558
- /** Fee is added to the ticket price at checkout. */
559
- FeeType["FEE_ADDED_AT_CHECKOUT"] = "FEE_ADDED_AT_CHECKOUT";
560
- })(FeeType || (FeeType = {}));
561
- export var WebhookIdentityType;
562
- (function (WebhookIdentityType) {
563
- WebhookIdentityType["UNKNOWN"] = "UNKNOWN";
564
- WebhookIdentityType["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
565
- WebhookIdentityType["MEMBER"] = "MEMBER";
566
- WebhookIdentityType["WIX_USER"] = "WIX_USER";
567
- WebhookIdentityType["APP"] = "APP";
568
- })(WebhookIdentityType || (WebhookIdentityType = {}));
569
- /**
570
- * Triggers notification
571
- * @public
572
- * @documentationMaturity preview
573
- * @requiredField guests
574
- * @requiredField notification
575
- * @permissionId WIX_EVENTS.MANAGE
576
- * @permissionScope Manage Events
577
- * @permissionScopeId SCOPE.EVENTS.MANAGE-EVENTS
578
- * @applicableIdentity APP
579
- * @fqn wix.events.notifications.v2.NotificationService.TriggerNotification
580
- */
581
- export async function triggerNotification(options) {
582
- // @ts-ignore
583
- const { httpClient, sideEffects } = arguments[1];
584
- const payload = renameKeysFromSDKRequestToRESTRequest({
585
- emailNotificationType: options?.emailNotificationType,
586
- pushNotificationType: options?.pushNotificationType,
587
- rsvpGuest: options?.rsvpGuest,
588
- orderGuest: options?.orderGuest,
589
- eventGuests: options?.eventGuests,
590
- ticketGuest: options?.ticketGuest,
591
- });
592
- const reqOpts = ambassadorWixEventsNotificationsV2NotificationConfig.triggerNotification(payload);
593
- sideEffects?.onSiteCall?.();
594
- try {
595
- const result = await httpClient.request(reqOpts);
596
- sideEffects?.onSuccess?.(result);
597
- }
598
- catch (err) {
599
- const transformedError = sdkTransformError(err, {
600
- spreadPathsToArguments: {},
601
- explicitPathsToArguments: {
602
- emailNotificationType: '$[0].emailNotificationType',
603
- pushNotificationType: '$[0].pushNotificationType',
604
- rsvpGuest: '$[0].rsvpGuest',
605
- orderGuest: '$[0].orderGuest',
606
- eventGuests: '$[0].eventGuests',
607
- ticketGuest: '$[0].ticketGuest',
608
- },
609
- singleArgumentUnchanged: false,
610
- }, ['options']);
611
- sideEffects?.onError?.(err);
612
- throw transformedError;
613
- }
614
- }
615
- /**
616
- * Resolves a NotificationConfig by id. Returns saved value or default value if not saved yet.
617
- * @param notificationConfigId - Id of the NotificationConfig to retrieve
618
- * @public
619
- * @documentationMaturity preview
620
- * @requiredField notificationConfigId
621
- * @permissionId WIX_EVENTS.READ_NOTIFICATION_CONFIG
622
- * @permissionScope Read Events - all read permissions
623
- * @permissionScopeId SCOPE.DC-EVENTS-MEGA.READ-EVENTS
624
- * @permissionScope Manage Events - all permissions
625
- * @permissionScopeId SCOPE.DC-EVENTS-MEGA.MANAGE-EVENTS
626
- * @permissionScope Manage Events
627
- * @permissionScopeId SCOPE.EVENTS.MANAGE-EVENTS
628
- * @permissionScope Read Events
629
- * @permissionScopeId SCOPE.DC-EVENTS.READ-EVENTS
630
- * @permissionScope Manage Guest List
631
- * @permissionScopeId SCOPE.DC-EVENTS.MANAGE-GUEST-LIST
632
- * @permissionScope Manage Events
633
- * @permissionScopeId SCOPE.DC-EVENTS.MANAGE-EVENTS
634
- * @applicableIdentity APP
635
- * @fqn wix.events.notifications.v2.NotificationConfigManagement.ResolveNotificationConfig
636
- */
637
- export async function resolveNotificationConfig(notificationConfigId) {
638
- // @ts-ignore
639
- const { httpClient, sideEffects } = arguments[1];
640
- const payload = renameKeysFromSDKRequestToRESTRequest({
641
- notificationConfigId: notificationConfigId,
642
- });
643
- const reqOpts = ambassadorWixEventsNotificationsV2NotificationConfig.resolveNotificationConfig(payload);
644
- sideEffects?.onSiteCall?.();
645
- try {
646
- const result = await httpClient.request(reqOpts);
647
- sideEffects?.onSuccess?.(result);
648
- return renameKeysFromRESTResponseToSDKResponse(result.data);
649
- }
650
- catch (err) {
651
- const transformedError = sdkTransformError(err, {
652
- spreadPathsToArguments: {},
653
- explicitPathsToArguments: { notificationConfigId: '$[0]' },
654
- singleArgumentUnchanged: false,
655
- }, ['notificationConfigId']);
656
- sideEffects?.onError?.(err);
657
- throw transformedError;
658
- }
659
- }
660
- /**
661
- * Upsert a NotificationConfig
662
- * @param _id - Event ID.
663
- * @public
664
- * @documentationMaturity preview
665
- * @requiredField _id
666
- * @requiredField notificationConfig
667
- * @permissionId WIX_EVENTS.UPDATE_NOTIFICATION_CONFIG
668
- * @permissionScope Manage Events - all permissions
669
- * @permissionScopeId SCOPE.DC-EVENTS-MEGA.MANAGE-EVENTS
670
- * @permissionScope Manage Events
671
- * @permissionScopeId SCOPE.EVENTS.MANAGE-EVENTS
672
- * @permissionScope Manage Events
673
- * @permissionScopeId SCOPE.DC-EVENTS.MANAGE-EVENTS
674
- * @applicableIdentity APP
675
- * @fqn wix.events.notifications.v2.NotificationConfigManagement.UpsertNotificationConfig
676
- */
677
- export async function upsertNotificationConfig(_id, notificationConfig) {
678
- // @ts-ignore
679
- const { httpClient, sideEffects } = arguments[2];
680
- const payload = renameKeysFromSDKRequestToRESTRequest({
681
- notificationConfig: { ...notificationConfig, id: _id },
682
- });
683
- const reqOpts = ambassadorWixEventsNotificationsV2NotificationConfig.upsertNotificationConfig(payload);
684
- sideEffects?.onSiteCall?.();
685
- try {
686
- const result = await httpClient.request(reqOpts);
687
- sideEffects?.onSuccess?.(result);
688
- return renameKeysFromRESTResponseToSDKResponse(result.data);
689
- }
690
- catch (err) {
691
- const transformedError = sdkTransformError(err, {
692
- spreadPathsToArguments: { notificationConfig: '$[1]' },
693
- explicitPathsToArguments: { 'notificationConfig.id': '$[0]' },
694
- singleArgumentUnchanged: false,
695
- }, ['_id', 'notificationConfig']);
696
- sideEffects?.onError?.(err);
697
- throw transformedError;
698
- }
699
- }
700
- //# sourceMappingURL=events-notifications-v2-notification-config-notifications.universal.js.map