@wix/auto_sdk_events_notifications 1.0.14 → 1.0.16

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 (134) hide show
  1. package/build/cjs/index.d.ts +1 -0
  2. package/build/cjs/index.js +18 -0
  3. package/build/cjs/index.js.map +1 -0
  4. package/build/cjs/index.typings.d.ts +1 -0
  5. package/build/cjs/index.typings.js +18 -0
  6. package/build/cjs/index.typings.js.map +1 -0
  7. package/build/cjs/meta.d.ts +1 -0
  8. package/build/cjs/meta.js +18 -0
  9. package/build/cjs/meta.js.map +1 -0
  10. package/build/cjs/src/events-notifications-v2-notification-config-notifications.context.d.ts +14 -0
  11. package/build/cjs/src/events-notifications-v2-notification-config-notifications.context.js +69 -0
  12. package/build/cjs/src/events-notifications-v2-notification-config-notifications.context.js.map +1 -0
  13. package/build/cjs/src/events-notifications-v2-notification-config-notifications.http.d.ts +7 -0
  14. package/build/cjs/src/events-notifications-v2-notification-config-notifications.http.js +168 -0
  15. package/build/cjs/src/events-notifications-v2-notification-config-notifications.http.js.map +1 -0
  16. package/build/cjs/src/events-notifications-v2-notification-config-notifications.meta.d.ts +19 -0
  17. package/build/cjs/src/events-notifications-v2-notification-config-notifications.meta.js +87 -0
  18. package/build/cjs/src/events-notifications-v2-notification-config-notifications.meta.js.map +1 -0
  19. package/build/cjs/src/events-notifications-v2-notification-config-notifications.public.d.ts +31 -0
  20. package/build/cjs/src/events-notifications-v2-notification-config-notifications.public.js +101 -0
  21. package/build/cjs/src/events-notifications-v2-notification-config-notifications.public.js.map +1 -0
  22. package/build/cjs/src/events-notifications-v2-notification-config-notifications.types.d.ts +3567 -0
  23. package/build/cjs/src/events-notifications-v2-notification-config-notifications.types.js +570 -0
  24. package/build/cjs/src/events-notifications-v2-notification-config-notifications.types.js.map +1 -0
  25. package/build/{events-notifications-v2-notification-config-notifications.universal-DIjek3EA.d.mts → cjs/src/events-notifications-v2-notification-config-notifications.universal.d.ts} +376 -277
  26. package/build/cjs/src/events-notifications-v2-notification-config-notifications.universal.js +730 -0
  27. package/build/cjs/src/events-notifications-v2-notification-config-notifications.universal.js.map +1 -0
  28. package/build/es/index.d.ts +1 -0
  29. package/build/es/index.js +2 -0
  30. package/build/es/index.js.map +1 -0
  31. package/build/es/index.typings.d.ts +1 -0
  32. package/build/es/index.typings.js +2 -0
  33. package/build/es/index.typings.js.map +1 -0
  34. package/build/es/meta.d.ts +1 -0
  35. package/build/es/meta.js +2 -0
  36. package/build/es/meta.js.map +1 -0
  37. package/build/es/package.json +3 -0
  38. package/build/es/src/events-notifications-v2-notification-config-notifications.context.d.ts +14 -0
  39. package/build/es/src/events-notifications-v2-notification-config-notifications.context.js +14 -0
  40. package/build/es/src/events-notifications-v2-notification-config-notifications.context.js.map +1 -0
  41. package/build/es/src/events-notifications-v2-notification-config-notifications.http.d.ts +7 -0
  42. package/build/es/src/events-notifications-v2-notification-config-notifications.http.js +162 -0
  43. package/build/es/src/events-notifications-v2-notification-config-notifications.http.js.map +1 -0
  44. package/build/es/src/events-notifications-v2-notification-config-notifications.meta.d.ts +19 -0
  45. package/build/es/src/events-notifications-v2-notification-config-notifications.meta.js +58 -0
  46. package/build/es/src/events-notifications-v2-notification-config-notifications.meta.js.map +1 -0
  47. package/build/es/src/events-notifications-v2-notification-config-notifications.public.d.ts +31 -0
  48. package/build/es/src/events-notifications-v2-notification-config-notifications.public.js +43 -0
  49. package/build/es/src/events-notifications-v2-notification-config-notifications.public.js.map +1 -0
  50. package/build/es/src/events-notifications-v2-notification-config-notifications.types.d.ts +3567 -0
  51. package/build/es/src/events-notifications-v2-notification-config-notifications.types.js +566 -0
  52. package/build/es/src/events-notifications-v2-notification-config-notifications.types.js.map +1 -0
  53. package/build/{events-notifications-v2-notification-config-notifications.universal-DIjek3EA.d.ts → es/src/events-notifications-v2-notification-config-notifications.universal.d.ts} +376 -277
  54. package/build/es/src/events-notifications-v2-notification-config-notifications.universal.js +700 -0
  55. package/build/es/src/events-notifications-v2-notification-config-notifications.universal.js.map +1 -0
  56. package/build/internal/cjs/index.d.ts +1 -0
  57. package/build/internal/cjs/index.js +18 -0
  58. package/build/internal/cjs/index.js.map +1 -0
  59. package/build/internal/cjs/index.typings.d.ts +1 -0
  60. package/build/internal/cjs/index.typings.js +18 -0
  61. package/build/internal/cjs/index.typings.js.map +1 -0
  62. package/build/internal/cjs/meta.d.ts +1 -0
  63. package/build/internal/cjs/meta.js +18 -0
  64. package/build/internal/cjs/meta.js.map +1 -0
  65. package/build/internal/cjs/src/events-notifications-v2-notification-config-notifications.context.d.ts +14 -0
  66. package/build/internal/cjs/src/events-notifications-v2-notification-config-notifications.context.js +69 -0
  67. package/build/internal/cjs/src/events-notifications-v2-notification-config-notifications.context.js.map +1 -0
  68. package/build/internal/cjs/src/events-notifications-v2-notification-config-notifications.http.d.ts +7 -0
  69. package/build/internal/cjs/src/events-notifications-v2-notification-config-notifications.http.js +168 -0
  70. package/build/internal/cjs/src/events-notifications-v2-notification-config-notifications.http.js.map +1 -0
  71. package/build/internal/cjs/src/events-notifications-v2-notification-config-notifications.meta.d.ts +19 -0
  72. package/build/internal/cjs/src/events-notifications-v2-notification-config-notifications.meta.js +87 -0
  73. package/build/internal/cjs/src/events-notifications-v2-notification-config-notifications.meta.js.map +1 -0
  74. package/build/internal/cjs/src/events-notifications-v2-notification-config-notifications.public.d.ts +31 -0
  75. package/build/internal/cjs/src/events-notifications-v2-notification-config-notifications.public.js +101 -0
  76. package/build/internal/cjs/src/events-notifications-v2-notification-config-notifications.public.js.map +1 -0
  77. package/build/internal/cjs/src/events-notifications-v2-notification-config-notifications.types.d.ts +3567 -0
  78. package/build/internal/cjs/src/events-notifications-v2-notification-config-notifications.types.js +570 -0
  79. package/build/internal/cjs/src/events-notifications-v2-notification-config-notifications.types.js.map +1 -0
  80. package/build/internal/{events-notifications-v2-notification-config-notifications.universal-DIjek3EA.d.mts → cjs/src/events-notifications-v2-notification-config-notifications.universal.d.ts} +376 -277
  81. package/build/internal/cjs/src/events-notifications-v2-notification-config-notifications.universal.js +730 -0
  82. package/build/internal/cjs/src/events-notifications-v2-notification-config-notifications.universal.js.map +1 -0
  83. package/build/internal/es/index.d.ts +1 -0
  84. package/build/internal/es/index.js +2 -0
  85. package/build/internal/es/index.js.map +1 -0
  86. package/build/internal/es/index.typings.d.ts +1 -0
  87. package/build/internal/es/index.typings.js +2 -0
  88. package/build/internal/es/index.typings.js.map +1 -0
  89. package/build/internal/es/meta.d.ts +1 -0
  90. package/build/internal/es/meta.js +2 -0
  91. package/build/internal/es/meta.js.map +1 -0
  92. package/build/internal/es/src/events-notifications-v2-notification-config-notifications.context.d.ts +14 -0
  93. package/build/internal/es/src/events-notifications-v2-notification-config-notifications.context.js +14 -0
  94. package/build/internal/es/src/events-notifications-v2-notification-config-notifications.context.js.map +1 -0
  95. package/build/internal/es/src/events-notifications-v2-notification-config-notifications.http.d.ts +7 -0
  96. package/build/internal/es/src/events-notifications-v2-notification-config-notifications.http.js +162 -0
  97. package/build/internal/es/src/events-notifications-v2-notification-config-notifications.http.js.map +1 -0
  98. package/build/internal/es/src/events-notifications-v2-notification-config-notifications.meta.d.ts +19 -0
  99. package/build/internal/es/src/events-notifications-v2-notification-config-notifications.meta.js +58 -0
  100. package/build/internal/es/src/events-notifications-v2-notification-config-notifications.meta.js.map +1 -0
  101. package/build/internal/es/src/events-notifications-v2-notification-config-notifications.public.d.ts +31 -0
  102. package/build/internal/es/src/events-notifications-v2-notification-config-notifications.public.js +43 -0
  103. package/build/internal/es/src/events-notifications-v2-notification-config-notifications.public.js.map +1 -0
  104. package/build/internal/es/src/events-notifications-v2-notification-config-notifications.types.d.ts +3567 -0
  105. package/build/internal/es/src/events-notifications-v2-notification-config-notifications.types.js +566 -0
  106. package/build/internal/es/src/events-notifications-v2-notification-config-notifications.types.js.map +1 -0
  107. package/build/internal/{events-notifications-v2-notification-config-notifications.universal-DIjek3EA.d.ts → es/src/events-notifications-v2-notification-config-notifications.universal.d.ts} +376 -277
  108. package/build/internal/es/src/events-notifications-v2-notification-config-notifications.universal.js +700 -0
  109. package/build/internal/es/src/events-notifications-v2-notification-config-notifications.universal.js.map +1 -0
  110. package/package.json +13 -14
  111. package/build/index.d.mts +0 -38
  112. package/build/index.d.ts +0 -38
  113. package/build/index.js +0 -857
  114. package/build/index.js.map +0 -1
  115. package/build/index.mjs +0 -778
  116. package/build/index.mjs.map +0 -1
  117. package/build/internal/index.d.mts +0 -38
  118. package/build/internal/index.d.ts +0 -38
  119. package/build/internal/index.js +0 -857
  120. package/build/internal/index.js.map +0 -1
  121. package/build/internal/index.mjs +0 -778
  122. package/build/internal/index.mjs.map +0 -1
  123. package/build/internal/meta.d.mts +0 -261
  124. package/build/internal/meta.d.ts +0 -261
  125. package/build/internal/meta.js +0 -258
  126. package/build/internal/meta.js.map +0 -1
  127. package/build/internal/meta.mjs +0 -229
  128. package/build/internal/meta.mjs.map +0 -1
  129. package/build/meta.d.mts +0 -261
  130. package/build/meta.d.ts +0 -261
  131. package/build/meta.js +0 -258
  132. package/build/meta.js.map +0 -1
  133. package/build/meta.mjs +0 -229
  134. package/build/meta.mjs.map +0 -1
package/build/meta.d.mts DELETED
@@ -1,261 +0,0 @@
1
- import { a5 as TriggerNotificationRequest$1, ac as TriggerNotificationResponse$1, de as ResolveNotificationConfigRequest$1, R as ResolveNotificationConfigResponse$1, df as UpsertNotificationConfigRequest$1, a as UpsertNotificationConfigResponse$1 } from './events-notifications-v2-notification-config-notifications.universal-DIjek3EA.mjs';
2
-
3
- interface NotificationConfig {
4
- /**
5
- * Event ID.
6
- * @format GUID
7
- * @immutable
8
- */
9
- id?: string | null;
10
- /**
11
- * Represents the current state of an item. Each time the item is modified, its `revision` changes. for an update operation to succeed, you MUST pass the latest revision.
12
- * @immutable
13
- */
14
- revision?: string | null;
15
- /**
16
- * Represents the time this NotificationConfig was created.
17
- * @readonly
18
- */
19
- createdDate?: Date | null;
20
- /**
21
- * Represents the time this NotificationConfig was last updated.
22
- * @readonly
23
- */
24
- updatedDate?: Date | null;
25
- /** Rsvp confirmation. */
26
- rsvpConfirmation?: EmailNotificationConfig;
27
- /** New spots available. */
28
- newSpotsAvailable?: EmailNotificationConfig;
29
- /** Event cancelation. */
30
- eventCancelation?: EmailNotificationConfig;
31
- /** Event reminder. */
32
- upcomingEventReminder?: EmailNotificationConfig;
33
- /** Order confirmation. */
34
- orderConfirmation?: EmailNotificationConfig;
35
- /** Ticket confirmation. */
36
- ticketConfirmation?: EmailNotificationConfig;
37
- /** Invoice. */
38
- invoice?: EmailNotificationConfig;
39
- /** Order confirmation with tickets link. */
40
- orderConfirmationWithTicketsLink?: EmailNotificationConfig;
41
- }
42
- interface EmailNotificationConfig {
43
- /**
44
- * Predefined id of the notification type.
45
- * @readonly
46
- */
47
- notificationType?: EmailNotificationType;
48
- /** Email template values. */
49
- template?: EmailTemplate;
50
- /**
51
- * Desired timing of the notification in hours respectfully to event start time.
52
- * For example if value is 0 then notification is sent at the start of the event.
53
- */
54
- reminderTime?: EmailNotificationReminderTime;
55
- /** When true the notification will be sent when certain trigger occurs. */
56
- sendingEnabled?: boolean | null;
57
- }
58
- declare enum EmailNotificationType {
59
- /** Default value. This value is unused. */
60
- UNKNOWN_NOTIFICATION_TYPE = "UNKNOWN_NOTIFICATION_TYPE",
61
- /** Triggered when site user RSVP to the event. */
62
- EMAIL_RSVP_CONFIRMATION = "EMAIL_RSVP_CONFIRMATION",
63
- /** Triggered for waiting guests when additional RSVP spots appears in the fully booked event. */
64
- EMAIL_NEW_SPOTS_AVAILABLE = "EMAIL_NEW_SPOTS_AVAILABLE",
65
- /** Triggered when event is canceled. */
66
- EMAIL_EVENT_CANCELATION = "EMAIL_EVENT_CANCELATION",
67
- /** Triggered before the event start time. */
68
- EMAIL_UPCOMING_EVENT_REMINDER = "EMAIL_UPCOMING_EVENT_REMINDER",
69
- /** Triggered when site user creates Order. */
70
- EMAIL_ORDER_CONFIRMATION = "EMAIL_ORDER_CONFIRMATION",
71
- /** Triggered when resending ticket to ticket holder. */
72
- EMAIL_TICKET_CONFIRMATION = "EMAIL_TICKET_CONFIRMATION",
73
- /** Triggered when sending invoice. Currently only `enabled` flag update is supported. */
74
- EMAIL_INVOICE = "EMAIL_INVOICE"
75
- }
76
- interface EmailTemplate {
77
- /**
78
- * Email subject.
79
- * @minLength 1
80
- * @maxLength 100
81
- */
82
- subject?: string | null;
83
- /**
84
- * Plain text message body.
85
- * @minLength 1
86
- * @maxLength 1000
87
- */
88
- body?: string | null;
89
- /** Description link visibility and display text */
90
- descriptionLink?: Link;
91
- /** Calendar link visibility and display text */
92
- calendarLink?: Link;
93
- /** Online conferencing link visibility and display text */
94
- onlineConferencingLink?: Link;
95
- /** When true the tickets are attached to the order confirmation email. */
96
- includeTickets?: boolean | null;
97
- }
98
- interface Link {
99
- /** When true the link is added to the email. */
100
- display?: boolean | null;
101
- /**
102
- * Text of the link.
103
- * @maxLength 60
104
- */
105
- linkText?: string | null;
106
- }
107
- declare enum EmailNotificationReminderTime {
108
- /** Default value. This value is unused. */
109
- UNKNOWN_REMINDER_TIME = "UNKNOWN_REMINDER_TIME",
110
- /** Notification is sent instantly */
111
- INSTANT = "INSTANT",
112
- /** 24 hours prior */
113
- BEFORE_1_DAY = "BEFORE_1_DAY",
114
- /** 3 days prior */
115
- BEFORE_3_DAYS = "BEFORE_3_DAYS",
116
- /** 7 days prior */
117
- BEFORE_1_WEEK = "BEFORE_1_WEEK",
118
- /** 1 hour prior */
119
- BEFORE_1_HOUR = "BEFORE_1_HOUR",
120
- /** 30 minutes prior */
121
- BEFORE_30_MINUTES = "BEFORE_30_MINUTES"
122
- }
123
- interface TriggerNotificationRequest extends TriggerNotificationRequestNotificationOneOf, TriggerNotificationRequestGuestsOneOf {
124
- /** Email notification type */
125
- emailNotificationType?: EmailNotificationType;
126
- /** Push notification type */
127
- pushNotificationType?: PushNotificationType;
128
- /** Rsvp guest info */
129
- rsvpGuest?: RsvpGuest;
130
- /** Order guest info */
131
- orderGuest?: OrderGuest;
132
- /** Event guests info */
133
- eventGuests?: EventGuests;
134
- /** Ticket guests info */
135
- ticketGuest?: TicketGuest;
136
- }
137
- /** @oneof */
138
- interface TriggerNotificationRequestNotificationOneOf {
139
- /** Email notification type */
140
- emailNotificationType?: EmailNotificationType;
141
- /** Push notification type */
142
- pushNotificationType?: PushNotificationType;
143
- }
144
- /** @oneof */
145
- interface TriggerNotificationRequestGuestsOneOf {
146
- /** Rsvp guest info */
147
- rsvpGuest?: RsvpGuest;
148
- /** Order guest info */
149
- orderGuest?: OrderGuest;
150
- /** Event guests info */
151
- eventGuests?: EventGuests;
152
- /** Ticket guests info */
153
- ticketGuest?: TicketGuest;
154
- }
155
- declare enum PushNotificationType {
156
- /** This is default value. This value is unused. */
157
- UNKNOWN_PUSH_TYPE = "UNKNOWN_PUSH_TYPE",
158
- /** Triggered when event is updated. */
159
- PUSH_EVENT_UPDATED = "PUSH_EVENT_UPDATED",
160
- /** Triggered when event is canceled. */
161
- PUSH_EVENT_CANCELATION = "PUSH_EVENT_CANCELATION",
162
- /** Triggered before the event start time. */
163
- PUSH_UPCOMING_EVENT_REMINDER = "PUSH_UPCOMING_EVENT_REMINDER",
164
- /** Triggered when event is created. */
165
- PUSH_EVENT_CREATED = "PUSH_EVENT_CREATED"
166
- }
167
- /** Single guest associated to the RSVP */
168
- interface RsvpGuest {
169
- /**
170
- * Event id
171
- * @format GUID
172
- */
173
- eventId?: string;
174
- /**
175
- * Rsvp id
176
- * @format GUID
177
- */
178
- rsvpId?: string;
179
- }
180
- /** Single guest associated to the Order */
181
- interface OrderGuest {
182
- /**
183
- * Event id
184
- * @format GUID
185
- */
186
- eventId?: string;
187
- /**
188
- * Order number
189
- * @maxLength 36
190
- */
191
- orderNumber?: string;
192
- }
193
- /** All event guest from RSVPs and Orders */
194
- interface EventGuests {
195
- /**
196
- * Event id
197
- * @format GUID
198
- */
199
- eventId?: string;
200
- }
201
- /** Multiple guests associated to Tickets */
202
- interface TicketGuest {
203
- /**
204
- * Event id
205
- * @format GUID
206
- */
207
- eventId?: string;
208
- /**
209
- * Order number
210
- * @maxLength 36
211
- */
212
- orderNumber?: string | null;
213
- /**
214
- * Ticket numbers must be from the same order only.
215
- * @minSize 1
216
- * @maxSize 100
217
- * @maxLength 36
218
- */
219
- ticketNumber?: string[];
220
- }
221
- interface TriggerNotificationResponse {
222
- }
223
- interface ResolveNotificationConfigRequest {
224
- /**
225
- * Id of the NotificationConfig to retrieve
226
- * @format GUID
227
- */
228
- notificationConfigId: string;
229
- }
230
- interface ResolveNotificationConfigResponse {
231
- /** The retrieved NotificationConfig */
232
- notificationConfig?: NotificationConfig;
233
- }
234
- interface UpsertNotificationConfigRequest {
235
- /** NotificationConfig to be upserted */
236
- notificationConfig: NotificationConfig;
237
- }
238
- interface UpsertNotificationConfigResponse {
239
- /** The upserted NotificationConfig */
240
- notificationConfig?: NotificationConfig;
241
- }
242
-
243
- type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
244
- getUrl: (context: any) => string;
245
- httpMethod: K;
246
- path: string;
247
- pathParams: M;
248
- __requestType: T;
249
- __originalRequestType: S;
250
- __responseType: Q;
251
- __originalResponseType: R;
252
- };
253
- declare function triggerNotification(): __PublicMethodMetaInfo<'POST', {}, TriggerNotificationRequest$1, TriggerNotificationRequest, TriggerNotificationResponse$1, TriggerNotificationResponse>;
254
- declare function resolveNotificationConfig(): __PublicMethodMetaInfo<'GET', {
255
- notificationConfigId: string;
256
- }, ResolveNotificationConfigRequest$1, ResolveNotificationConfigRequest, ResolveNotificationConfigResponse$1, ResolveNotificationConfigResponse>;
257
- declare function upsertNotificationConfig(): __PublicMethodMetaInfo<'POST', {
258
- notificationConfigId: string;
259
- }, UpsertNotificationConfigRequest$1, UpsertNotificationConfigRequest, UpsertNotificationConfigResponse$1, UpsertNotificationConfigResponse>;
260
-
261
- export { type __PublicMethodMetaInfo, resolveNotificationConfig, triggerNotification, upsertNotificationConfig };
package/build/meta.d.ts DELETED
@@ -1,261 +0,0 @@
1
- import { a5 as TriggerNotificationRequest$1, ac as TriggerNotificationResponse$1, de as ResolveNotificationConfigRequest$1, R as ResolveNotificationConfigResponse$1, df as UpsertNotificationConfigRequest$1, a as UpsertNotificationConfigResponse$1 } from './events-notifications-v2-notification-config-notifications.universal-DIjek3EA.js';
2
-
3
- interface NotificationConfig {
4
- /**
5
- * Event ID.
6
- * @format GUID
7
- * @immutable
8
- */
9
- id?: string | null;
10
- /**
11
- * Represents the current state of an item. Each time the item is modified, its `revision` changes. for an update operation to succeed, you MUST pass the latest revision.
12
- * @immutable
13
- */
14
- revision?: string | null;
15
- /**
16
- * Represents the time this NotificationConfig was created.
17
- * @readonly
18
- */
19
- createdDate?: Date | null;
20
- /**
21
- * Represents the time this NotificationConfig was last updated.
22
- * @readonly
23
- */
24
- updatedDate?: Date | null;
25
- /** Rsvp confirmation. */
26
- rsvpConfirmation?: EmailNotificationConfig;
27
- /** New spots available. */
28
- newSpotsAvailable?: EmailNotificationConfig;
29
- /** Event cancelation. */
30
- eventCancelation?: EmailNotificationConfig;
31
- /** Event reminder. */
32
- upcomingEventReminder?: EmailNotificationConfig;
33
- /** Order confirmation. */
34
- orderConfirmation?: EmailNotificationConfig;
35
- /** Ticket confirmation. */
36
- ticketConfirmation?: EmailNotificationConfig;
37
- /** Invoice. */
38
- invoice?: EmailNotificationConfig;
39
- /** Order confirmation with tickets link. */
40
- orderConfirmationWithTicketsLink?: EmailNotificationConfig;
41
- }
42
- interface EmailNotificationConfig {
43
- /**
44
- * Predefined id of the notification type.
45
- * @readonly
46
- */
47
- notificationType?: EmailNotificationType;
48
- /** Email template values. */
49
- template?: EmailTemplate;
50
- /**
51
- * Desired timing of the notification in hours respectfully to event start time.
52
- * For example if value is 0 then notification is sent at the start of the event.
53
- */
54
- reminderTime?: EmailNotificationReminderTime;
55
- /** When true the notification will be sent when certain trigger occurs. */
56
- sendingEnabled?: boolean | null;
57
- }
58
- declare enum EmailNotificationType {
59
- /** Default value. This value is unused. */
60
- UNKNOWN_NOTIFICATION_TYPE = "UNKNOWN_NOTIFICATION_TYPE",
61
- /** Triggered when site user RSVP to the event. */
62
- EMAIL_RSVP_CONFIRMATION = "EMAIL_RSVP_CONFIRMATION",
63
- /** Triggered for waiting guests when additional RSVP spots appears in the fully booked event. */
64
- EMAIL_NEW_SPOTS_AVAILABLE = "EMAIL_NEW_SPOTS_AVAILABLE",
65
- /** Triggered when event is canceled. */
66
- EMAIL_EVENT_CANCELATION = "EMAIL_EVENT_CANCELATION",
67
- /** Triggered before the event start time. */
68
- EMAIL_UPCOMING_EVENT_REMINDER = "EMAIL_UPCOMING_EVENT_REMINDER",
69
- /** Triggered when site user creates Order. */
70
- EMAIL_ORDER_CONFIRMATION = "EMAIL_ORDER_CONFIRMATION",
71
- /** Triggered when resending ticket to ticket holder. */
72
- EMAIL_TICKET_CONFIRMATION = "EMAIL_TICKET_CONFIRMATION",
73
- /** Triggered when sending invoice. Currently only `enabled` flag update is supported. */
74
- EMAIL_INVOICE = "EMAIL_INVOICE"
75
- }
76
- interface EmailTemplate {
77
- /**
78
- * Email subject.
79
- * @minLength 1
80
- * @maxLength 100
81
- */
82
- subject?: string | null;
83
- /**
84
- * Plain text message body.
85
- * @minLength 1
86
- * @maxLength 1000
87
- */
88
- body?: string | null;
89
- /** Description link visibility and display text */
90
- descriptionLink?: Link;
91
- /** Calendar link visibility and display text */
92
- calendarLink?: Link;
93
- /** Online conferencing link visibility and display text */
94
- onlineConferencingLink?: Link;
95
- /** When true the tickets are attached to the order confirmation email. */
96
- includeTickets?: boolean | null;
97
- }
98
- interface Link {
99
- /** When true the link is added to the email. */
100
- display?: boolean | null;
101
- /**
102
- * Text of the link.
103
- * @maxLength 60
104
- */
105
- linkText?: string | null;
106
- }
107
- declare enum EmailNotificationReminderTime {
108
- /** Default value. This value is unused. */
109
- UNKNOWN_REMINDER_TIME = "UNKNOWN_REMINDER_TIME",
110
- /** Notification is sent instantly */
111
- INSTANT = "INSTANT",
112
- /** 24 hours prior */
113
- BEFORE_1_DAY = "BEFORE_1_DAY",
114
- /** 3 days prior */
115
- BEFORE_3_DAYS = "BEFORE_3_DAYS",
116
- /** 7 days prior */
117
- BEFORE_1_WEEK = "BEFORE_1_WEEK",
118
- /** 1 hour prior */
119
- BEFORE_1_HOUR = "BEFORE_1_HOUR",
120
- /** 30 minutes prior */
121
- BEFORE_30_MINUTES = "BEFORE_30_MINUTES"
122
- }
123
- interface TriggerNotificationRequest extends TriggerNotificationRequestNotificationOneOf, TriggerNotificationRequestGuestsOneOf {
124
- /** Email notification type */
125
- emailNotificationType?: EmailNotificationType;
126
- /** Push notification type */
127
- pushNotificationType?: PushNotificationType;
128
- /** Rsvp guest info */
129
- rsvpGuest?: RsvpGuest;
130
- /** Order guest info */
131
- orderGuest?: OrderGuest;
132
- /** Event guests info */
133
- eventGuests?: EventGuests;
134
- /** Ticket guests info */
135
- ticketGuest?: TicketGuest;
136
- }
137
- /** @oneof */
138
- interface TriggerNotificationRequestNotificationOneOf {
139
- /** Email notification type */
140
- emailNotificationType?: EmailNotificationType;
141
- /** Push notification type */
142
- pushNotificationType?: PushNotificationType;
143
- }
144
- /** @oneof */
145
- interface TriggerNotificationRequestGuestsOneOf {
146
- /** Rsvp guest info */
147
- rsvpGuest?: RsvpGuest;
148
- /** Order guest info */
149
- orderGuest?: OrderGuest;
150
- /** Event guests info */
151
- eventGuests?: EventGuests;
152
- /** Ticket guests info */
153
- ticketGuest?: TicketGuest;
154
- }
155
- declare enum PushNotificationType {
156
- /** This is default value. This value is unused. */
157
- UNKNOWN_PUSH_TYPE = "UNKNOWN_PUSH_TYPE",
158
- /** Triggered when event is updated. */
159
- PUSH_EVENT_UPDATED = "PUSH_EVENT_UPDATED",
160
- /** Triggered when event is canceled. */
161
- PUSH_EVENT_CANCELATION = "PUSH_EVENT_CANCELATION",
162
- /** Triggered before the event start time. */
163
- PUSH_UPCOMING_EVENT_REMINDER = "PUSH_UPCOMING_EVENT_REMINDER",
164
- /** Triggered when event is created. */
165
- PUSH_EVENT_CREATED = "PUSH_EVENT_CREATED"
166
- }
167
- /** Single guest associated to the RSVP */
168
- interface RsvpGuest {
169
- /**
170
- * Event id
171
- * @format GUID
172
- */
173
- eventId?: string;
174
- /**
175
- * Rsvp id
176
- * @format GUID
177
- */
178
- rsvpId?: string;
179
- }
180
- /** Single guest associated to the Order */
181
- interface OrderGuest {
182
- /**
183
- * Event id
184
- * @format GUID
185
- */
186
- eventId?: string;
187
- /**
188
- * Order number
189
- * @maxLength 36
190
- */
191
- orderNumber?: string;
192
- }
193
- /** All event guest from RSVPs and Orders */
194
- interface EventGuests {
195
- /**
196
- * Event id
197
- * @format GUID
198
- */
199
- eventId?: string;
200
- }
201
- /** Multiple guests associated to Tickets */
202
- interface TicketGuest {
203
- /**
204
- * Event id
205
- * @format GUID
206
- */
207
- eventId?: string;
208
- /**
209
- * Order number
210
- * @maxLength 36
211
- */
212
- orderNumber?: string | null;
213
- /**
214
- * Ticket numbers must be from the same order only.
215
- * @minSize 1
216
- * @maxSize 100
217
- * @maxLength 36
218
- */
219
- ticketNumber?: string[];
220
- }
221
- interface TriggerNotificationResponse {
222
- }
223
- interface ResolveNotificationConfigRequest {
224
- /**
225
- * Id of the NotificationConfig to retrieve
226
- * @format GUID
227
- */
228
- notificationConfigId: string;
229
- }
230
- interface ResolveNotificationConfigResponse {
231
- /** The retrieved NotificationConfig */
232
- notificationConfig?: NotificationConfig;
233
- }
234
- interface UpsertNotificationConfigRequest {
235
- /** NotificationConfig to be upserted */
236
- notificationConfig: NotificationConfig;
237
- }
238
- interface UpsertNotificationConfigResponse {
239
- /** The upserted NotificationConfig */
240
- notificationConfig?: NotificationConfig;
241
- }
242
-
243
- type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
244
- getUrl: (context: any) => string;
245
- httpMethod: K;
246
- path: string;
247
- pathParams: M;
248
- __requestType: T;
249
- __originalRequestType: S;
250
- __responseType: Q;
251
- __originalResponseType: R;
252
- };
253
- declare function triggerNotification(): __PublicMethodMetaInfo<'POST', {}, TriggerNotificationRequest$1, TriggerNotificationRequest, TriggerNotificationResponse$1, TriggerNotificationResponse>;
254
- declare function resolveNotificationConfig(): __PublicMethodMetaInfo<'GET', {
255
- notificationConfigId: string;
256
- }, ResolveNotificationConfigRequest$1, ResolveNotificationConfigRequest, ResolveNotificationConfigResponse$1, ResolveNotificationConfigResponse>;
257
- declare function upsertNotificationConfig(): __PublicMethodMetaInfo<'POST', {
258
- notificationConfigId: string;
259
- }, UpsertNotificationConfigRequest$1, UpsertNotificationConfigRequest, UpsertNotificationConfigResponse$1, UpsertNotificationConfigResponse>;
260
-
261
- export { type __PublicMethodMetaInfo, resolveNotificationConfig, triggerNotification, upsertNotificationConfig };