@wix/auto_sdk_calendar_schedule-time-frames 1.0.9 → 1.0.10

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/calendar-v3-schedule-time-frame-schedule-time-frames.context.d.ts +14 -0
  11. package/build/cjs/src/calendar-v3-schedule-time-frame-schedule-time-frames.context.js +22 -0
  12. package/build/cjs/src/calendar-v3-schedule-time-frame-schedule-time-frames.context.js.map +1 -0
  13. package/build/cjs/src/calendar-v3-schedule-time-frame-schedule-time-frames.http.d.ts +10 -0
  14. package/build/cjs/src/calendar-v3-schedule-time-frame-schedule-time-frames.http.js +113 -0
  15. package/build/cjs/src/calendar-v3-schedule-time-frame-schedule-time-frames.http.js.map +1 -0
  16. package/build/cjs/src/calendar-v3-schedule-time-frame-schedule-time-frames.meta.d.ts +16 -0
  17. package/build/cjs/src/calendar-v3-schedule-time-frame-schedule-time-frames.meta.js +66 -0
  18. package/build/cjs/src/calendar-v3-schedule-time-frame-schedule-time-frames.meta.js.map +1 -0
  19. package/build/cjs/src/calendar-v3-schedule-time-frame-schedule-time-frames.public.d.ts +31 -0
  20. package/build/cjs/src/calendar-v3-schedule-time-frame-schedule-time-frames.public.js +40 -0
  21. package/build/cjs/src/calendar-v3-schedule-time-frame-schedule-time-frames.public.js.map +1 -0
  22. package/build/cjs/src/calendar-v3-schedule-time-frame-schedule-time-frames.types.d.ts +557 -0
  23. package/build/cjs/src/calendar-v3-schedule-time-frame-schedule-time-frames.types.js +46 -0
  24. package/build/cjs/src/calendar-v3-schedule-time-frame-schedule-time-frames.types.js.map +1 -0
  25. package/build/{calendar-v3-schedule-time-frame-schedule-time-frames.universal-C2n2lbDD.d.mts → cjs/src/calendar-v3-schedule-time-frame-schedule-time-frames.universal.d.ts} +161 -49
  26. package/build/cjs/src/calendar-v3-schedule-time-frame-schedule-time-frames.universal.js +197 -0
  27. package/build/cjs/src/calendar-v3-schedule-time-frame-schedule-time-frames.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/calendar-v3-schedule-time-frame-schedule-time-frames.context.d.ts +14 -0
  39. package/build/es/src/calendar-v3-schedule-time-frame-schedule-time-frames.context.js +14 -0
  40. package/build/es/src/calendar-v3-schedule-time-frame-schedule-time-frames.context.js.map +1 -0
  41. package/build/es/src/calendar-v3-schedule-time-frame-schedule-time-frames.http.d.ts +10 -0
  42. package/build/es/src/calendar-v3-schedule-time-frame-schedule-time-frames.http.js +108 -0
  43. package/build/es/src/calendar-v3-schedule-time-frame-schedule-time-frames.http.js.map +1 -0
  44. package/build/es/src/calendar-v3-schedule-time-frame-schedule-time-frames.meta.d.ts +16 -0
  45. package/build/es/src/calendar-v3-schedule-time-frame-schedule-time-frames.meta.js +38 -0
  46. package/build/es/src/calendar-v3-schedule-time-frame-schedule-time-frames.meta.js.map +1 -0
  47. package/build/es/src/calendar-v3-schedule-time-frame-schedule-time-frames.public.d.ts +31 -0
  48. package/build/es/src/calendar-v3-schedule-time-frame-schedule-time-frames.public.js +30 -0
  49. package/build/es/src/calendar-v3-schedule-time-frame-schedule-time-frames.public.js.map +1 -0
  50. package/build/es/src/calendar-v3-schedule-time-frame-schedule-time-frames.types.d.ts +557 -0
  51. package/build/es/src/calendar-v3-schedule-time-frame-schedule-time-frames.types.js +43 -0
  52. package/build/es/src/calendar-v3-schedule-time-frame-schedule-time-frames.types.js.map +1 -0
  53. package/build/{calendar-v3-schedule-time-frame-schedule-time-frames.universal-C2n2lbDD.d.ts → es/src/calendar-v3-schedule-time-frame-schedule-time-frames.universal.d.ts} +161 -49
  54. package/build/es/src/calendar-v3-schedule-time-frame-schedule-time-frames.universal.js +169 -0
  55. package/build/es/src/calendar-v3-schedule-time-frame-schedule-time-frames.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/calendar-v3-schedule-time-frame-schedule-time-frames.context.d.ts +14 -0
  66. package/build/internal/cjs/src/calendar-v3-schedule-time-frame-schedule-time-frames.context.js +22 -0
  67. package/build/internal/cjs/src/calendar-v3-schedule-time-frame-schedule-time-frames.context.js.map +1 -0
  68. package/build/internal/cjs/src/calendar-v3-schedule-time-frame-schedule-time-frames.http.d.ts +10 -0
  69. package/build/internal/cjs/src/calendar-v3-schedule-time-frame-schedule-time-frames.http.js +113 -0
  70. package/build/internal/cjs/src/calendar-v3-schedule-time-frame-schedule-time-frames.http.js.map +1 -0
  71. package/build/internal/cjs/src/calendar-v3-schedule-time-frame-schedule-time-frames.meta.d.ts +16 -0
  72. package/build/internal/cjs/src/calendar-v3-schedule-time-frame-schedule-time-frames.meta.js +66 -0
  73. package/build/internal/cjs/src/calendar-v3-schedule-time-frame-schedule-time-frames.meta.js.map +1 -0
  74. package/build/internal/cjs/src/calendar-v3-schedule-time-frame-schedule-time-frames.public.d.ts +31 -0
  75. package/build/internal/cjs/src/calendar-v3-schedule-time-frame-schedule-time-frames.public.js +40 -0
  76. package/build/internal/cjs/src/calendar-v3-schedule-time-frame-schedule-time-frames.public.js.map +1 -0
  77. package/build/internal/cjs/src/calendar-v3-schedule-time-frame-schedule-time-frames.types.d.ts +557 -0
  78. package/build/internal/cjs/src/calendar-v3-schedule-time-frame-schedule-time-frames.types.js +46 -0
  79. package/build/internal/cjs/src/calendar-v3-schedule-time-frame-schedule-time-frames.types.js.map +1 -0
  80. package/build/internal/{calendar-v3-schedule-time-frame-schedule-time-frames.universal-C2n2lbDD.d.mts → cjs/src/calendar-v3-schedule-time-frame-schedule-time-frames.universal.d.ts} +161 -49
  81. package/build/internal/cjs/src/calendar-v3-schedule-time-frame-schedule-time-frames.universal.js +197 -0
  82. package/build/internal/cjs/src/calendar-v3-schedule-time-frame-schedule-time-frames.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/calendar-v3-schedule-time-frame-schedule-time-frames.context.d.ts +14 -0
  93. package/build/internal/es/src/calendar-v3-schedule-time-frame-schedule-time-frames.context.js +14 -0
  94. package/build/internal/es/src/calendar-v3-schedule-time-frame-schedule-time-frames.context.js.map +1 -0
  95. package/build/internal/es/src/calendar-v3-schedule-time-frame-schedule-time-frames.http.d.ts +10 -0
  96. package/build/internal/es/src/calendar-v3-schedule-time-frame-schedule-time-frames.http.js +108 -0
  97. package/build/internal/es/src/calendar-v3-schedule-time-frame-schedule-time-frames.http.js.map +1 -0
  98. package/build/internal/es/src/calendar-v3-schedule-time-frame-schedule-time-frames.meta.d.ts +16 -0
  99. package/build/internal/es/src/calendar-v3-schedule-time-frame-schedule-time-frames.meta.js +38 -0
  100. package/build/internal/es/src/calendar-v3-schedule-time-frame-schedule-time-frames.meta.js.map +1 -0
  101. package/build/internal/es/src/calendar-v3-schedule-time-frame-schedule-time-frames.public.d.ts +31 -0
  102. package/build/internal/es/src/calendar-v3-schedule-time-frame-schedule-time-frames.public.js +30 -0
  103. package/build/internal/es/src/calendar-v3-schedule-time-frame-schedule-time-frames.public.js.map +1 -0
  104. package/build/internal/es/src/calendar-v3-schedule-time-frame-schedule-time-frames.types.d.ts +557 -0
  105. package/build/internal/es/src/calendar-v3-schedule-time-frame-schedule-time-frames.types.js +43 -0
  106. package/build/internal/es/src/calendar-v3-schedule-time-frame-schedule-time-frames.types.js.map +1 -0
  107. package/build/internal/{calendar-v3-schedule-time-frame-schedule-time-frames.universal-C2n2lbDD.d.ts → es/src/calendar-v3-schedule-time-frame-schedule-time-frames.universal.d.ts} +161 -49
  108. package/build/internal/es/src/calendar-v3-schedule-time-frame-schedule-time-frames.universal.js +169 -0
  109. package/build/internal/es/src/calendar-v3-schedule-time-frame-schedule-time-frames.universal.js.map +1 -0
  110. package/package.json +11 -12
  111. package/build/index.d.mts +0 -40
  112. package/build/index.d.ts +0 -40
  113. package/build/index.js +0 -290
  114. package/build/index.js.map +0 -1
  115. package/build/index.mjs +0 -259
  116. package/build/index.mjs.map +0 -1
  117. package/build/internal/index.d.mts +0 -40
  118. package/build/internal/index.d.ts +0 -40
  119. package/build/internal/index.js +0 -290
  120. package/build/internal/index.js.map +0 -1
  121. package/build/internal/index.mjs +0 -259
  122. package/build/internal/index.mjs.map +0 -1
  123. package/build/internal/meta.d.mts +0 -154
  124. package/build/internal/meta.d.ts +0 -154
  125. package/build/internal/meta.js +0 -172
  126. package/build/internal/meta.js.map +0 -1
  127. package/build/internal/meta.mjs +0 -144
  128. package/build/internal/meta.mjs.map +0 -1
  129. package/build/meta.d.mts +0 -154
  130. package/build/meta.d.ts +0 -154
  131. package/build/meta.js +0 -172
  132. package/build/meta.js.map +0 -1
  133. package/build/meta.mjs +0 -144
  134. package/build/meta.mjs.map +0 -1
@@ -0,0 +1,557 @@
1
+ /**
2
+ * Information about the start and end dates of the first and last
3
+ * [events](https://dev.wix.com/docs/rest/business-management/calendar/events-v3/introduction)
4
+ * that belong to a [schedule](https://dev.wix.com/docs/rest/business-management/calendar/schedules-v3/introduction)
5
+ * and whether any events follow an unlimited repetition pattern.
6
+ */
7
+ export interface ScheduleTimeFrame {
8
+ /**
9
+ * ID of the [schedule](https://dev.wix.com/docs/rest/business-management/calendar/schedules-v3/schedule-object)
10
+ * to which the time frame belongs.
11
+ * @format GUID
12
+ * @readonly
13
+ */
14
+ id?: string | null;
15
+ /**
16
+ * Information about the presence of recurring events within the schedule.
17
+ *
18
+ * Supported values:
19
+ * + `NONE`: No [events](https://dev.wix.com/docs/rest/business-management/calendar/events-v3/event-object) are scheduled within the schedule.
20
+ * + `FINITE`: All recurring events within the schedule have a defined end date, or there are no recurring events.
21
+ * + `INFINITE`: At least one recurring event within the schedule has no end date, meaning it follows an unlimited repetition pattern.
22
+ * @readonly
23
+ */
24
+ status?: Status;
25
+ /**
26
+ * Start date of the first [event](https://dev.wix.com/docs/rest/business-management/calendar/events-v3/event-object)
27
+ * within the schedule. Identical to `event.start.localDate`. Available only if
28
+ * `status` is set to `FINITE` or `INFINITE`.
29
+ * @readonly
30
+ */
31
+ firstEventStartDate?: ZonedDate;
32
+ /**
33
+ * End date of the last [event](https://dev.wix.com/docs/rest/business-management/calendar/events-v3/event-object)
34
+ * belonging to the schedule. Identical to `event.end.localDate`. Available only if
35
+ * `status` is set to `FINITE`.
36
+ * @readonly
37
+ */
38
+ lastEventEndDate?: ZonedDate;
39
+ /**
40
+ * Start date of the first [event](https://dev.wix.com/docs/rest/business-management/calendar/events-v3/event-object)
41
+ * belonging to the schedule, adjusted to `timeZone` of the
42
+ * [site properties](https://dev.wix.com/docs/rest/business-management/site-properties/properties/properties-object)
43
+ * or the `timeZone` specified in the request.
44
+ * Identical to `event.adjustedStart.localDate`.
45
+ * @readonly
46
+ */
47
+ adjustedFirstEventStartDate?: ZonedDate;
48
+ /**
49
+ * End date of the last [event](https://dev.wix.com/docs/rest/business-management/calendar/events-v3/event-object)
50
+ * belonging to the schedule, adjusted to `timeZone` of the
51
+ * [site properties](https://dev.wix.com/docs/rest/business-management/site-properties/properties/properties-object)
52
+ * or the `timeZone` specified in the request.
53
+ * Identical to `event.adjustedEnd.localDate`.
54
+ * @readonly
55
+ */
56
+ adjustedLastEventEndDate?: ZonedDate;
57
+ /**
58
+ * Revision number, which increments by 1 each time the schedule time frame is updated.
59
+ * @readonly
60
+ */
61
+ revision?: string | null;
62
+ }
63
+ export declare enum Status {
64
+ UNKNOWN_STATUS = "UNKNOWN_STATUS",
65
+ /** No [events](https://dev.wix.com/docs/rest/business-management/calendar/events-v3/event-object) that belong to the schedule. */
66
+ NONE = "NONE",
67
+ /** There are no recurring events or all recurring events belonging to the schedule have a defined end date. */
68
+ FINITE = "FINITE",
69
+ /** At least one recurring event belonging to the schedule has an unlimited repetition pattern (no end date). */
70
+ INFINITE = "INFINITE"
71
+ }
72
+ /** A date time with a time zone, having the UTC offset and date determined by the server. */
73
+ export interface ZonedDate {
74
+ /**
75
+ * Local date time in [ISO-8601 format](https://en.wikipedia.org/wiki/ISO_8601).
76
+ * For example, `2024-01-30T13:30:00`.
77
+ * Wix Calendar APIs ignore seconds.
78
+ * @format LOCAL_DATE_TIME
79
+ */
80
+ localDate?: string | null;
81
+ /**
82
+ * Time zone in
83
+ * [IANA tz database format](https://en.wikipedia.org/wiki/Tz_database).
84
+ * For example, `America/New_York`.
85
+ * @readonly
86
+ */
87
+ timeZone?: string | null;
88
+ /**
89
+ * UTC date time in [ISO-8601 format](https://en.wikipedia.org/wiki/ISO_8601).
90
+ * For example, `2024-01-30T13:30:00`.
91
+ * Not available for adjusted date fields.
92
+ * @readonly
93
+ */
94
+ utcDate?: Date | null;
95
+ }
96
+ export interface GetScheduleTimeFrameRequest {
97
+ /**
98
+ * [Schedule](https://dev.wix.com/docs/rest/business-management/calendar/schedules-v3/schedule-object)
99
+ * ID for which to retrieve the schedule time frame.
100
+ * @format GUID
101
+ */
102
+ id: string | null;
103
+ /**
104
+ * Time zone for adjusting the times of the returned schedule time frame.
105
+ *
106
+ * Default: `timeZone` of the [site properties](https://dev.wix.com/docs/rest/business-management/site-properties/properties/properties-object)
107
+ */
108
+ timeZone?: string | null;
109
+ }
110
+ export interface GetScheduleTimeFrameResponse {
111
+ /** Retrieved schedule time frame. */
112
+ scheduleTimeFrame?: ScheduleTimeFrame;
113
+ }
114
+ export interface ListScheduleTimeFramesRequest {
115
+ /**
116
+ * IDs of the schedules for which to retrieve schedule time frames.
117
+ *
118
+ * Min: 1 schedule ID
119
+ * Max: 100 schedule IDs
120
+ * @minSize 1
121
+ * @maxSize 100
122
+ * @format GUID
123
+ */
124
+ ids: string[];
125
+ /**
126
+ * Time zone for adjusting the times of the returned schedule time frames.
127
+ *
128
+ * Default: `timeZone` of the [site properties](https://dev.wix.com/docs/rest/business-management/site-properties/properties/properties-object)
129
+ */
130
+ timeZone?: string | null;
131
+ }
132
+ export interface ListScheduleTimeFramesResponse {
133
+ /** Retrieved schedule time frames. */
134
+ scheduleTimeFrames?: ScheduleTimeFrame[];
135
+ }
136
+ /** Encapsulates all details written to the Greyhound topic when a site's properties are updated. */
137
+ export interface SitePropertiesNotification {
138
+ /** The site ID for which this update notification applies. */
139
+ metasiteId?: string;
140
+ /** The actual update event. */
141
+ event?: SitePropertiesEvent;
142
+ /**
143
+ * A convenience set of mappings from the MetaSite ID to its constituent services.
144
+ * @maxSize 500
145
+ */
146
+ translations?: Translation[];
147
+ /** Context of the notification */
148
+ changeContext?: ChangeContext;
149
+ }
150
+ /** The actual update event for a particular notification. */
151
+ export interface SitePropertiesEvent {
152
+ /** Version of the site's properties represented by this update. */
153
+ version?: number;
154
+ /** Set of properties that were updated - corresponds to the fields in "properties". */
155
+ fields?: string[];
156
+ /** Updated properties. */
157
+ properties?: Properties;
158
+ }
159
+ export interface Properties {
160
+ /** Site categories. */
161
+ categories?: Categories;
162
+ /** Site locale. */
163
+ locale?: Locale;
164
+ /**
165
+ * Site language.
166
+ *
167
+ * Two-letter language code in [ISO 639-1 alpha-2](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) format.
168
+ */
169
+ language?: string | null;
170
+ /**
171
+ * Site currency format used to bill customers.
172
+ *
173
+ * Three-letter currency code in [ISO-4217 alphabetic](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) format.
174
+ */
175
+ paymentCurrency?: string | null;
176
+ /** Timezone in `America/New_York` format. */
177
+ timeZone?: string | null;
178
+ /** Email address. */
179
+ email?: string | null;
180
+ /** Phone number. */
181
+ phone?: string | null;
182
+ /** Fax number. */
183
+ fax?: string | null;
184
+ /** Address. */
185
+ address?: Address;
186
+ /** Site display name. */
187
+ siteDisplayName?: string | null;
188
+ /** Business name. */
189
+ businessName?: string | null;
190
+ /** Path to the site's logo in Wix Media (without Wix Media base URL). */
191
+ logo?: string | null;
192
+ /** Site description. */
193
+ description?: string | null;
194
+ /**
195
+ * Business schedule. Regular and exceptional time periods when the business is open or the service is available.
196
+ *
197
+ * __Note:__ Not supported by Wix Bookings.
198
+ */
199
+ businessSchedule?: BusinessSchedule;
200
+ /** Supported languages of a site and the primary language. */
201
+ multilingual?: Multilingual;
202
+ /** Cookie policy the Wix user defined for their site (before the site visitor interacts with/limits it). */
203
+ consentPolicy?: ConsentPolicy;
204
+ /**
205
+ * Supported values: `FITNESS SERVICE`, `RESTAURANT`, `BLOG`, `STORE`, `EVENT`, `UNKNOWN`.
206
+ *
207
+ * Site business type.
208
+ */
209
+ businessConfig?: string | null;
210
+ /** External site URL that uses Wix as its headless business solution. */
211
+ externalSiteUrl?: string | null;
212
+ /** Track clicks analytics. */
213
+ trackClicksAnalytics?: boolean;
214
+ }
215
+ export interface Categories {
216
+ /** Primary site category. */
217
+ primary?: string;
218
+ /**
219
+ * Secondary site category.
220
+ * @maxSize 50
221
+ */
222
+ secondary?: string[];
223
+ /** Business Term Id */
224
+ businessTermId?: string | null;
225
+ }
226
+ export interface Locale {
227
+ /** Two-letter language code in [ISO 639-1 alpha-2](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) format. */
228
+ languageCode?: string;
229
+ /** Two-letter country code in [ISO-3166 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements) format. */
230
+ country?: string;
231
+ }
232
+ export interface Address {
233
+ /** Street name. */
234
+ street?: string;
235
+ /** City name. */
236
+ city?: string;
237
+ /** Two-letter country code in an [ISO-3166 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format. */
238
+ country?: string;
239
+ /** State. */
240
+ state?: string;
241
+ /**
242
+ * Zip or postal code.
243
+ * @maxLength 20
244
+ */
245
+ zip?: string;
246
+ /** Extra information to be displayed in the address. */
247
+ hint?: AddressHint;
248
+ /** Whether this address represents a physical location. */
249
+ isPhysical?: boolean;
250
+ /** Google-formatted version of this address. */
251
+ googleFormattedAddress?: string;
252
+ /** Street number. */
253
+ streetNumber?: string;
254
+ /** Apartment number. */
255
+ apartmentNumber?: string;
256
+ /** Geographic coordinates of location. */
257
+ coordinates?: GeoCoordinates;
258
+ }
259
+ /**
260
+ * Extra information on displayed addresses.
261
+ * This is used for display purposes. Used to add additional data about the address, such as "In the passage".
262
+ * Free text. In addition, the user can state where to display the additional description - before, after, or instead of the address string.
263
+ */
264
+ export interface AddressHint {
265
+ /** Extra text displayed next to, or instead of, the actual address. */
266
+ text?: string;
267
+ /** Where the extra text should be displayed. */
268
+ placement?: PlacementType;
269
+ }
270
+ /** Where the extra text should be displayed: before, after or instead of the actual address. */
271
+ export declare enum PlacementType {
272
+ BEFORE = "BEFORE",
273
+ AFTER = "AFTER",
274
+ REPLACE = "REPLACE"
275
+ }
276
+ /** Geocoordinates for a particular address. */
277
+ export interface GeoCoordinates {
278
+ /** Latitude of the location. Must be between -90 and 90. */
279
+ latitude?: number;
280
+ /** Longitude of the location. Must be between -180 and 180. */
281
+ longitude?: number;
282
+ }
283
+ /** Business schedule. Regular and exceptional time periods when the business is open or the service is available. */
284
+ export interface BusinessSchedule {
285
+ /**
286
+ * Weekly recurring time periods when the business is regularly open or the service is available. Limited to 100 time periods.
287
+ * @maxSize 100
288
+ */
289
+ periods?: TimePeriod[];
290
+ /**
291
+ * Exceptions to the business's regular hours. The business can be open or closed during the exception.
292
+ * @maxSize 100
293
+ */
294
+ specialHourPeriod?: SpecialHourPeriod[];
295
+ }
296
+ /** Weekly recurring time periods when the business is regularly open or the service is available. */
297
+ export interface TimePeriod {
298
+ /** Day of the week the period starts on. */
299
+ openDay?: DayOfWeek;
300
+ /**
301
+ * Time the period starts in 24-hour [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) extended format. Valid values are `00:00` to `24:00`, where `24:00` represents
302
+ * midnight at the end of the specified day.
303
+ */
304
+ openTime?: string;
305
+ /** Day of the week the period ends on. */
306
+ closeDay?: DayOfWeek;
307
+ /**
308
+ * Time the period ends in 24-hour [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) extended format. Valid values are `00:00` to `24:00`, where `24:00` represents
309
+ * midnight at the end of the specified day.
310
+ *
311
+ * __Note:__ If `openDay` and `closeDay` specify the same day of the week `closeTime` must be later than `openTime`.
312
+ */
313
+ closeTime?: string;
314
+ }
315
+ /** Enumerates the days of the week. */
316
+ export declare enum DayOfWeek {
317
+ MONDAY = "MONDAY",
318
+ TUESDAY = "TUESDAY",
319
+ WEDNESDAY = "WEDNESDAY",
320
+ THURSDAY = "THURSDAY",
321
+ FRIDAY = "FRIDAY",
322
+ SATURDAY = "SATURDAY",
323
+ SUNDAY = "SUNDAY"
324
+ }
325
+ /** Exception to the business's regular hours. The business can be open or closed during the exception. */
326
+ export interface SpecialHourPeriod {
327
+ /** Start date and time of the exception in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format and [Coordinated Universal Time (UTC)](https://en.wikipedia.org/wiki/Coordinated_Universal_Time). */
328
+ startDate?: string;
329
+ /** End date and time of the exception in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format and [Coordinated Universal Time (UTC)](https://en.wikipedia.org/wiki/Coordinated_Universal_Time). */
330
+ endDate?: string;
331
+ /**
332
+ * Whether the business is closed (or the service is not available) during the exception.
333
+ *
334
+ * Default: `true`.
335
+ */
336
+ isClosed?: boolean;
337
+ /** Additional info about the exception. For example, "We close earlier on New Year's Eve." */
338
+ comment?: string;
339
+ }
340
+ export interface Multilingual {
341
+ /**
342
+ * Supported languages list.
343
+ * @maxSize 200
344
+ */
345
+ supportedLanguages?: SupportedLanguage[];
346
+ /** Whether to redirect to user language. */
347
+ autoRedirect?: boolean;
348
+ }
349
+ export interface SupportedLanguage {
350
+ /** Two-letter language code in [ISO 639-1 alpha-2](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) format. */
351
+ languageCode?: string;
352
+ /** Locale. */
353
+ locale?: Locale;
354
+ /** Whether the supported language is the primary language for the site. */
355
+ isPrimary?: boolean;
356
+ /** Language icon. */
357
+ countryCode?: string;
358
+ /** How the language will be resolved. For internal use. */
359
+ resolutionMethod?: ResolutionMethod;
360
+ }
361
+ export declare enum ResolutionMethod {
362
+ QUERY_PARAM = "QUERY_PARAM",
363
+ SUBDOMAIN = "SUBDOMAIN",
364
+ SUBDIRECTORY = "SUBDIRECTORY"
365
+ }
366
+ export interface ConsentPolicy {
367
+ /** Whether the site uses cookies that are essential to site operation. Always `true`. */
368
+ essential?: boolean | null;
369
+ /** Whether the site uses cookies that affect site performance and other functional measurements. */
370
+ functional?: boolean | null;
371
+ /** Whether the site uses cookies that collect analytics about how the site is used (in order to improve it). */
372
+ analytics?: boolean | null;
373
+ /** Whether the site uses cookies that collect information allowing better customization of the experience for a current visitor. */
374
+ advertising?: boolean | null;
375
+ /** CCPA compliance flag. */
376
+ dataToThirdParty?: boolean | null;
377
+ }
378
+ /** A single mapping from the MetaSite ID to a particular service. */
379
+ export interface Translation {
380
+ /** The service type. */
381
+ serviceType?: string;
382
+ /** The application definition ID; this only applies to services of type ThirdPartyApps. */
383
+ appDefId?: string;
384
+ /** The instance ID of the service. */
385
+ instanceId?: string;
386
+ }
387
+ export interface ChangeContext extends ChangeContextPayloadOneOf {
388
+ /** Properties were updated. */
389
+ propertiesChange?: PropertiesChange;
390
+ /** Default properties were created on site creation. */
391
+ siteCreated?: SiteCreated;
392
+ /** Properties were cloned on site cloning. */
393
+ siteCloned?: SiteCloned;
394
+ }
395
+ /** @oneof */
396
+ export interface ChangeContextPayloadOneOf {
397
+ /** Properties were updated. */
398
+ propertiesChange?: PropertiesChange;
399
+ /** Default properties were created on site creation. */
400
+ siteCreated?: SiteCreated;
401
+ /** Properties were cloned on site cloning. */
402
+ siteCloned?: SiteCloned;
403
+ }
404
+ export interface PropertiesChange {
405
+ }
406
+ export interface SiteCreated {
407
+ /** Origin template site id. */
408
+ originTemplateId?: string | null;
409
+ }
410
+ export interface SiteCloned {
411
+ /** Origin site id. */
412
+ originMetaSiteId?: string;
413
+ }
414
+ export interface Empty {
415
+ }
416
+ export interface DomainEvent extends DomainEventBodyOneOf {
417
+ createdEvent?: EntityCreatedEvent;
418
+ updatedEvent?: EntityUpdatedEvent;
419
+ deletedEvent?: EntityDeletedEvent;
420
+ actionEvent?: ActionEvent;
421
+ /**
422
+ * Unique event ID.
423
+ * Allows clients to ignore duplicate webhooks.
424
+ */
425
+ id?: string;
426
+ /**
427
+ * Assumes actions are also always typed to an entity_type
428
+ * Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
429
+ */
430
+ entityFqdn?: string;
431
+ /**
432
+ * This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
433
+ * This is although the created/updated/deleted notion is duplication of the oneof types
434
+ * Example: created/updated/deleted/started/completed/email_opened
435
+ */
436
+ slug?: string;
437
+ /** ID of the entity associated with the event. */
438
+ entityId?: string;
439
+ /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
440
+ eventTime?: Date | null;
441
+ /**
442
+ * Whether the event was triggered as a result of a privacy regulation application
443
+ * (for example, GDPR).
444
+ */
445
+ triggeredByAnonymizeRequest?: boolean | null;
446
+ /** If present, indicates the action that triggered the event. */
447
+ originatedFrom?: string | null;
448
+ /**
449
+ * A sequence number defining the order of updates to the underlying entity.
450
+ * For example, given that some entity was updated at 16:00 and than again at 16:01,
451
+ * it is guaranteed that the sequence number of the second update is strictly higher than the first.
452
+ * As the consumer, you can use this value to ensure that you handle messages in the correct order.
453
+ * To do so, you will need to persist this number on your end, and compare the sequence number from the
454
+ * message against the one you have stored. Given that the stored number is higher, you should ignore the message.
455
+ */
456
+ entityEventSequence?: string | null;
457
+ }
458
+ /** @oneof */
459
+ export interface DomainEventBodyOneOf {
460
+ createdEvent?: EntityCreatedEvent;
461
+ updatedEvent?: EntityUpdatedEvent;
462
+ deletedEvent?: EntityDeletedEvent;
463
+ actionEvent?: ActionEvent;
464
+ }
465
+ export interface EntityCreatedEvent {
466
+ entityAsJson?: string;
467
+ /** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */
468
+ restoreInfo?: RestoreInfo;
469
+ }
470
+ export interface RestoreInfo {
471
+ deletedDate?: Date | null;
472
+ }
473
+ export interface EntityUpdatedEvent {
474
+ /**
475
+ * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
476
+ * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
477
+ * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
478
+ */
479
+ currentEntityAsJson?: string;
480
+ }
481
+ export interface EntityDeletedEvent {
482
+ /** Entity that was deleted */
483
+ deletedEntityAsJson?: string | null;
484
+ }
485
+ export interface ActionEvent {
486
+ bodyAsJson?: string;
487
+ }
488
+ export interface MessageEnvelope {
489
+ /**
490
+ * App instance ID.
491
+ * @format GUID
492
+ */
493
+ instanceId?: string | null;
494
+ /**
495
+ * Event type.
496
+ * @maxLength 150
497
+ */
498
+ eventType?: string;
499
+ /** The identification type and identity data. */
500
+ identity?: IdentificationData;
501
+ /** Stringify payload. */
502
+ data?: string;
503
+ }
504
+ export interface IdentificationData extends IdentificationDataIdOneOf {
505
+ /**
506
+ * ID of a site visitor that has not logged in to the site.
507
+ * @format GUID
508
+ */
509
+ anonymousVisitorId?: string;
510
+ /**
511
+ * ID of a site visitor that has logged in to the site.
512
+ * @format GUID
513
+ */
514
+ memberId?: string;
515
+ /**
516
+ * ID of a Wix user (site owner, contributor, etc.).
517
+ * @format GUID
518
+ */
519
+ wixUserId?: string;
520
+ /**
521
+ * ID of an app.
522
+ * @format GUID
523
+ */
524
+ appId?: string;
525
+ /** @readonly */
526
+ identityType?: WebhookIdentityType;
527
+ }
528
+ /** @oneof */
529
+ export interface IdentificationDataIdOneOf {
530
+ /**
531
+ * ID of a site visitor that has not logged in to the site.
532
+ * @format GUID
533
+ */
534
+ anonymousVisitorId?: string;
535
+ /**
536
+ * ID of a site visitor that has logged in to the site.
537
+ * @format GUID
538
+ */
539
+ memberId?: string;
540
+ /**
541
+ * ID of a Wix user (site owner, contributor, etc.).
542
+ * @format GUID
543
+ */
544
+ wixUserId?: string;
545
+ /**
546
+ * ID of an app.
547
+ * @format GUID
548
+ */
549
+ appId?: string;
550
+ }
551
+ export declare enum WebhookIdentityType {
552
+ UNKNOWN = "UNKNOWN",
553
+ ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
554
+ MEMBER = "MEMBER",
555
+ WIX_USER = "WIX_USER",
556
+ APP = "APP"
557
+ }
@@ -0,0 +1,46 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.WebhookIdentityType = exports.ResolutionMethod = exports.DayOfWeek = exports.PlacementType = exports.Status = void 0;
4
+ var Status;
5
+ (function (Status) {
6
+ Status["UNKNOWN_STATUS"] = "UNKNOWN_STATUS";
7
+ /** No [events](https://dev.wix.com/docs/rest/business-management/calendar/events-v3/event-object) that belong to the schedule. */
8
+ Status["NONE"] = "NONE";
9
+ /** There are no recurring events or all recurring events belonging to the schedule have a defined end date. */
10
+ Status["FINITE"] = "FINITE";
11
+ /** At least one recurring event belonging to the schedule has an unlimited repetition pattern (no end date). */
12
+ Status["INFINITE"] = "INFINITE";
13
+ })(Status || (exports.Status = Status = {}));
14
+ /** Where the extra text should be displayed: before, after or instead of the actual address. */
15
+ var PlacementType;
16
+ (function (PlacementType) {
17
+ PlacementType["BEFORE"] = "BEFORE";
18
+ PlacementType["AFTER"] = "AFTER";
19
+ PlacementType["REPLACE"] = "REPLACE";
20
+ })(PlacementType || (exports.PlacementType = PlacementType = {}));
21
+ /** Enumerates the days of the week. */
22
+ var DayOfWeek;
23
+ (function (DayOfWeek) {
24
+ DayOfWeek["MONDAY"] = "MONDAY";
25
+ DayOfWeek["TUESDAY"] = "TUESDAY";
26
+ DayOfWeek["WEDNESDAY"] = "WEDNESDAY";
27
+ DayOfWeek["THURSDAY"] = "THURSDAY";
28
+ DayOfWeek["FRIDAY"] = "FRIDAY";
29
+ DayOfWeek["SATURDAY"] = "SATURDAY";
30
+ DayOfWeek["SUNDAY"] = "SUNDAY";
31
+ })(DayOfWeek || (exports.DayOfWeek = DayOfWeek = {}));
32
+ var ResolutionMethod;
33
+ (function (ResolutionMethod) {
34
+ ResolutionMethod["QUERY_PARAM"] = "QUERY_PARAM";
35
+ ResolutionMethod["SUBDOMAIN"] = "SUBDOMAIN";
36
+ ResolutionMethod["SUBDIRECTORY"] = "SUBDIRECTORY";
37
+ })(ResolutionMethod || (exports.ResolutionMethod = ResolutionMethod = {}));
38
+ var WebhookIdentityType;
39
+ (function (WebhookIdentityType) {
40
+ WebhookIdentityType["UNKNOWN"] = "UNKNOWN";
41
+ WebhookIdentityType["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
42
+ WebhookIdentityType["MEMBER"] = "MEMBER";
43
+ WebhookIdentityType["WIX_USER"] = "WIX_USER";
44
+ WebhookIdentityType["APP"] = "APP";
45
+ })(WebhookIdentityType || (exports.WebhookIdentityType = WebhookIdentityType = {}));
46
+ //# sourceMappingURL=calendar-v3-schedule-time-frame-schedule-time-frames.types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"calendar-v3-schedule-time-frame-schedule-time-frames.types.js","sourceRoot":"","sources":["../../../src/calendar-v3-schedule-time-frame-schedule-time-frames.types.ts"],"names":[],"mappings":";;;AA+DA,IAAY,MAQX;AARD,WAAY,MAAM;IAChB,2CAAiC,CAAA;IACjC,kIAAkI;IAClI,uBAAa,CAAA;IACb,+GAA+G;IAC/G,2BAAiB,CAAA;IACjB,gHAAgH;IAChH,+BAAqB,CAAA;AACvB,CAAC,EARW,MAAM,sBAAN,MAAM,QAQjB;AAoND,gGAAgG;AAChG,IAAY,aAIX;AAJD,WAAY,aAAa;IACvB,kCAAiB,CAAA;IACjB,gCAAe,CAAA;IACf,oCAAmB,CAAA;AACrB,CAAC,EAJW,aAAa,6BAAb,aAAa,QAIxB;AA4CD,uCAAuC;AACvC,IAAY,SAQX;AARD,WAAY,SAAS;IACnB,8BAAiB,CAAA;IACjB,gCAAmB,CAAA;IACnB,oCAAuB,CAAA;IACvB,kCAAqB,CAAA;IACrB,8BAAiB,CAAA;IACjB,kCAAqB,CAAA;IACrB,8BAAiB,CAAA;AACnB,CAAC,EARW,SAAS,yBAAT,SAAS,QAQpB;AAyCD,IAAY,gBAIX;AAJD,WAAY,gBAAgB;IAC1B,+CAA2B,CAAA;IAC3B,2CAAuB,CAAA;IACvB,iDAA6B,CAAA;AAC/B,CAAC,EAJW,gBAAgB,gCAAhB,gBAAgB,QAI3B;AA2MD,IAAY,mBAMX;AAND,WAAY,mBAAmB;IAC7B,0CAAmB,CAAA;IACnB,8DAAuC,CAAA;IACvC,wCAAiB,CAAA;IACjB,4CAAqB,CAAA;IACrB,kCAAW,CAAA;AACb,CAAC,EANW,mBAAmB,mCAAnB,mBAAmB,QAM9B"}