@wix/auto_sdk_calendar_schedule-time-frames 1.0.15 → 1.0.17
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.
- package/build/{internal/cjs/src/calendar-v3-schedule-time-frame-schedule-time-frames.universal.d.ts → calendar-v3-schedule-time-frame-schedule-time-frames.universal-Bmaxv3bl.d.mts} +54 -163
- package/build/{cjs/src/calendar-v3-schedule-time-frame-schedule-time-frames.universal.d.ts → calendar-v3-schedule-time-frame-schedule-time-frames.universal-Bmaxv3bl.d.ts} +54 -163
- package/build/index.d.mts +40 -0
- package/build/index.d.ts +40 -0
- package/build/index.js +290 -0
- package/build/index.js.map +1 -0
- package/build/index.mjs +259 -0
- package/build/index.mjs.map +1 -0
- package/build/internal/{es/src/calendar-v3-schedule-time-frame-schedule-time-frames.universal.d.ts → calendar-v3-schedule-time-frame-schedule-time-frames.universal-Bmaxv3bl.d.mts} +54 -163
- package/build/{es/src/calendar-v3-schedule-time-frame-schedule-time-frames.universal.d.ts → internal/calendar-v3-schedule-time-frame-schedule-time-frames.universal-Bmaxv3bl.d.ts} +54 -163
- package/build/internal/index.d.mts +40 -0
- package/build/internal/index.d.ts +40 -0
- package/build/internal/index.js +290 -0
- package/build/internal/index.js.map +1 -0
- package/build/internal/index.mjs +259 -0
- package/build/internal/index.mjs.map +1 -0
- package/build/internal/meta.d.mts +156 -0
- package/build/internal/meta.d.ts +156 -0
- package/build/internal/meta.js +172 -0
- package/build/internal/meta.js.map +1 -0
- package/build/internal/meta.mjs +144 -0
- package/build/internal/meta.mjs.map +1 -0
- package/build/meta.d.mts +156 -0
- package/build/meta.d.ts +156 -0
- package/build/meta.js +172 -0
- package/build/meta.js.map +1 -0
- package/build/meta.mjs +144 -0
- package/build/meta.mjs.map +1 -0
- package/package.json +12 -11
- package/build/cjs/index.d.ts +0 -1
- package/build/cjs/index.js +0 -18
- package/build/cjs/index.js.map +0 -1
- package/build/cjs/index.typings.d.ts +0 -1
- package/build/cjs/index.typings.js +0 -18
- package/build/cjs/index.typings.js.map +0 -1
- package/build/cjs/meta.d.ts +0 -1
- package/build/cjs/meta.js +0 -18
- package/build/cjs/meta.js.map +0 -1
- package/build/cjs/src/calendar-v3-schedule-time-frame-schedule-time-frames.context.d.ts +0 -14
- package/build/cjs/src/calendar-v3-schedule-time-frame-schedule-time-frames.context.js +0 -22
- package/build/cjs/src/calendar-v3-schedule-time-frame-schedule-time-frames.context.js.map +0 -1
- package/build/cjs/src/calendar-v3-schedule-time-frame-schedule-time-frames.http.d.ts +0 -10
- package/build/cjs/src/calendar-v3-schedule-time-frame-schedule-time-frames.http.js +0 -113
- package/build/cjs/src/calendar-v3-schedule-time-frame-schedule-time-frames.http.js.map +0 -1
- package/build/cjs/src/calendar-v3-schedule-time-frame-schedule-time-frames.meta.d.ts +0 -16
- package/build/cjs/src/calendar-v3-schedule-time-frame-schedule-time-frames.meta.js +0 -66
- package/build/cjs/src/calendar-v3-schedule-time-frame-schedule-time-frames.meta.js.map +0 -1
- package/build/cjs/src/calendar-v3-schedule-time-frame-schedule-time-frames.public.d.ts +0 -31
- package/build/cjs/src/calendar-v3-schedule-time-frame-schedule-time-frames.public.js +0 -40
- package/build/cjs/src/calendar-v3-schedule-time-frame-schedule-time-frames.public.js.map +0 -1
- package/build/cjs/src/calendar-v3-schedule-time-frame-schedule-time-frames.types.d.ts +0 -561
- package/build/cjs/src/calendar-v3-schedule-time-frame-schedule-time-frames.types.js +0 -46
- package/build/cjs/src/calendar-v3-schedule-time-frame-schedule-time-frames.types.js.map +0 -1
- package/build/cjs/src/calendar-v3-schedule-time-frame-schedule-time-frames.universal.js +0 -195
- package/build/cjs/src/calendar-v3-schedule-time-frame-schedule-time-frames.universal.js.map +0 -1
- package/build/es/index.d.ts +0 -1
- package/build/es/index.js +0 -2
- package/build/es/index.js.map +0 -1
- package/build/es/index.typings.d.ts +0 -1
- package/build/es/index.typings.js +0 -2
- package/build/es/index.typings.js.map +0 -1
- package/build/es/meta.d.ts +0 -1
- package/build/es/meta.js +0 -2
- package/build/es/meta.js.map +0 -1
- package/build/es/src/calendar-v3-schedule-time-frame-schedule-time-frames.context.d.ts +0 -14
- package/build/es/src/calendar-v3-schedule-time-frame-schedule-time-frames.context.js +0 -14
- package/build/es/src/calendar-v3-schedule-time-frame-schedule-time-frames.context.js.map +0 -1
- package/build/es/src/calendar-v3-schedule-time-frame-schedule-time-frames.http.d.ts +0 -10
- package/build/es/src/calendar-v3-schedule-time-frame-schedule-time-frames.http.js +0 -108
- package/build/es/src/calendar-v3-schedule-time-frame-schedule-time-frames.http.js.map +0 -1
- package/build/es/src/calendar-v3-schedule-time-frame-schedule-time-frames.meta.d.ts +0 -16
- package/build/es/src/calendar-v3-schedule-time-frame-schedule-time-frames.meta.js +0 -38
- package/build/es/src/calendar-v3-schedule-time-frame-schedule-time-frames.meta.js.map +0 -1
- package/build/es/src/calendar-v3-schedule-time-frame-schedule-time-frames.public.d.ts +0 -31
- package/build/es/src/calendar-v3-schedule-time-frame-schedule-time-frames.public.js +0 -30
- package/build/es/src/calendar-v3-schedule-time-frame-schedule-time-frames.public.js.map +0 -1
- package/build/es/src/calendar-v3-schedule-time-frame-schedule-time-frames.types.d.ts +0 -561
- package/build/es/src/calendar-v3-schedule-time-frame-schedule-time-frames.types.js +0 -43
- package/build/es/src/calendar-v3-schedule-time-frame-schedule-time-frames.types.js.map +0 -1
- package/build/es/src/calendar-v3-schedule-time-frame-schedule-time-frames.universal.js +0 -167
- package/build/es/src/calendar-v3-schedule-time-frame-schedule-time-frames.universal.js.map +0 -1
- package/build/internal/cjs/index.d.ts +0 -1
- package/build/internal/cjs/index.js +0 -18
- package/build/internal/cjs/index.js.map +0 -1
- package/build/internal/cjs/index.typings.d.ts +0 -1
- package/build/internal/cjs/index.typings.js +0 -18
- package/build/internal/cjs/index.typings.js.map +0 -1
- package/build/internal/cjs/meta.d.ts +0 -1
- package/build/internal/cjs/meta.js +0 -18
- package/build/internal/cjs/meta.js.map +0 -1
- package/build/internal/cjs/src/calendar-v3-schedule-time-frame-schedule-time-frames.context.d.ts +0 -14
- package/build/internal/cjs/src/calendar-v3-schedule-time-frame-schedule-time-frames.context.js +0 -22
- package/build/internal/cjs/src/calendar-v3-schedule-time-frame-schedule-time-frames.context.js.map +0 -1
- package/build/internal/cjs/src/calendar-v3-schedule-time-frame-schedule-time-frames.http.d.ts +0 -10
- package/build/internal/cjs/src/calendar-v3-schedule-time-frame-schedule-time-frames.http.js +0 -113
- package/build/internal/cjs/src/calendar-v3-schedule-time-frame-schedule-time-frames.http.js.map +0 -1
- package/build/internal/cjs/src/calendar-v3-schedule-time-frame-schedule-time-frames.meta.d.ts +0 -16
- package/build/internal/cjs/src/calendar-v3-schedule-time-frame-schedule-time-frames.meta.js +0 -66
- package/build/internal/cjs/src/calendar-v3-schedule-time-frame-schedule-time-frames.meta.js.map +0 -1
- package/build/internal/cjs/src/calendar-v3-schedule-time-frame-schedule-time-frames.public.d.ts +0 -31
- package/build/internal/cjs/src/calendar-v3-schedule-time-frame-schedule-time-frames.public.js +0 -40
- package/build/internal/cjs/src/calendar-v3-schedule-time-frame-schedule-time-frames.public.js.map +0 -1
- package/build/internal/cjs/src/calendar-v3-schedule-time-frame-schedule-time-frames.types.d.ts +0 -561
- package/build/internal/cjs/src/calendar-v3-schedule-time-frame-schedule-time-frames.types.js +0 -46
- package/build/internal/cjs/src/calendar-v3-schedule-time-frame-schedule-time-frames.types.js.map +0 -1
- package/build/internal/cjs/src/calendar-v3-schedule-time-frame-schedule-time-frames.universal.js +0 -195
- package/build/internal/cjs/src/calendar-v3-schedule-time-frame-schedule-time-frames.universal.js.map +0 -1
- package/build/internal/es/index.d.ts +0 -1
- package/build/internal/es/index.js +0 -2
- package/build/internal/es/index.js.map +0 -1
- package/build/internal/es/index.typings.d.ts +0 -1
- package/build/internal/es/index.typings.js +0 -2
- package/build/internal/es/index.typings.js.map +0 -1
- package/build/internal/es/meta.d.ts +0 -1
- package/build/internal/es/meta.js +0 -2
- package/build/internal/es/meta.js.map +0 -1
- package/build/internal/es/src/calendar-v3-schedule-time-frame-schedule-time-frames.context.d.ts +0 -14
- package/build/internal/es/src/calendar-v3-schedule-time-frame-schedule-time-frames.context.js +0 -14
- package/build/internal/es/src/calendar-v3-schedule-time-frame-schedule-time-frames.context.js.map +0 -1
- package/build/internal/es/src/calendar-v3-schedule-time-frame-schedule-time-frames.http.d.ts +0 -10
- package/build/internal/es/src/calendar-v3-schedule-time-frame-schedule-time-frames.http.js +0 -108
- package/build/internal/es/src/calendar-v3-schedule-time-frame-schedule-time-frames.http.js.map +0 -1
- package/build/internal/es/src/calendar-v3-schedule-time-frame-schedule-time-frames.meta.d.ts +0 -16
- package/build/internal/es/src/calendar-v3-schedule-time-frame-schedule-time-frames.meta.js +0 -38
- package/build/internal/es/src/calendar-v3-schedule-time-frame-schedule-time-frames.meta.js.map +0 -1
- package/build/internal/es/src/calendar-v3-schedule-time-frame-schedule-time-frames.public.d.ts +0 -31
- package/build/internal/es/src/calendar-v3-schedule-time-frame-schedule-time-frames.public.js +0 -30
- package/build/internal/es/src/calendar-v3-schedule-time-frame-schedule-time-frames.public.js.map +0 -1
- package/build/internal/es/src/calendar-v3-schedule-time-frame-schedule-time-frames.types.d.ts +0 -561
- package/build/internal/es/src/calendar-v3-schedule-time-frame-schedule-time-frames.types.js +0 -43
- package/build/internal/es/src/calendar-v3-schedule-time-frame-schedule-time-frames.types.js.map +0 -1
- package/build/internal/es/src/calendar-v3-schedule-time-frame-schedule-time-frames.universal.js +0 -167
- package/build/internal/es/src/calendar-v3-schedule-time-frame-schedule-time-frames.universal.js.map +0 -1
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.WebhookIdentityType = exports.Status = exports.ResolutionMethod = exports.PlacementType = exports.DayOfWeek = exports.onScheduleTimeFrameUpdated = exports.listScheduleTimeFrames = exports.getScheduleTimeFrame = exports.__metadata = void 0;
|
|
4
|
-
const rename_all_nested_keys_1 = require("@wix/sdk-runtime/rename-all-nested-keys");
|
|
5
|
-
const timestamp_1 = require("@wix/sdk-runtime/transformations/timestamp");
|
|
6
|
-
const transform_paths_1 = require("@wix/sdk-runtime/transformations/transform-paths");
|
|
7
|
-
const sdk_types_1 = require("@wix/sdk-types");
|
|
8
|
-
const calendar_v3_schedule_time_frame_schedule_time_frames_universal_js_1 = require("./calendar-v3-schedule-time-frame-schedule-time-frames.universal.js");
|
|
9
|
-
exports.__metadata = { PACKAGE_NAME: '@wix/calendar' };
|
|
10
|
-
function getScheduleTimeFrame(httpClient) {
|
|
11
|
-
return (_id, options) => (0, calendar_v3_schedule_time_frame_schedule_time_frames_universal_js_1.getScheduleTimeFrame)(_id, options,
|
|
12
|
-
// @ts-ignore
|
|
13
|
-
{ httpClient });
|
|
14
|
-
}
|
|
15
|
-
exports.getScheduleTimeFrame = getScheduleTimeFrame;
|
|
16
|
-
function listScheduleTimeFrames(httpClient) {
|
|
17
|
-
return (ids, options) => (0, calendar_v3_schedule_time_frame_schedule_time_frames_universal_js_1.listScheduleTimeFrames)(ids, options,
|
|
18
|
-
// @ts-ignore
|
|
19
|
-
{ httpClient });
|
|
20
|
-
}
|
|
21
|
-
exports.listScheduleTimeFrames = listScheduleTimeFrames;
|
|
22
|
-
exports.onScheduleTimeFrameUpdated = (0, sdk_types_1.EventDefinition)('wix.calendar.v3.schedule_time_frame_updated', true, (event) => (0, rename_all_nested_keys_1.renameKeysFromRESTResponseToSDKResponse)((0, transform_paths_1.transformPaths)(event, [
|
|
23
|
-
{
|
|
24
|
-
transformFn: timestamp_1.transformRESTTimestampToSDKTimestamp,
|
|
25
|
-
paths: [
|
|
26
|
-
{ path: 'entity.firstEventStartDate.utcDate' },
|
|
27
|
-
{ path: 'entity.lastEventEndDate.utcDate' },
|
|
28
|
-
{ path: 'entity.adjustedFirstEventStartDate.utcDate' },
|
|
29
|
-
{ path: 'entity.adjustedLastEventEndDate.utcDate' },
|
|
30
|
-
{ path: 'metadata.eventTime' },
|
|
31
|
-
],
|
|
32
|
-
},
|
|
33
|
-
])))();
|
|
34
|
-
var calendar_v3_schedule_time_frame_schedule_time_frames_universal_js_2 = require("./calendar-v3-schedule-time-frame-schedule-time-frames.universal.js");
|
|
35
|
-
Object.defineProperty(exports, "DayOfWeek", { enumerable: true, get: function () { return calendar_v3_schedule_time_frame_schedule_time_frames_universal_js_2.DayOfWeek; } });
|
|
36
|
-
Object.defineProperty(exports, "PlacementType", { enumerable: true, get: function () { return calendar_v3_schedule_time_frame_schedule_time_frames_universal_js_2.PlacementType; } });
|
|
37
|
-
Object.defineProperty(exports, "ResolutionMethod", { enumerable: true, get: function () { return calendar_v3_schedule_time_frame_schedule_time_frames_universal_js_2.ResolutionMethod; } });
|
|
38
|
-
Object.defineProperty(exports, "Status", { enumerable: true, get: function () { return calendar_v3_schedule_time_frame_schedule_time_frames_universal_js_2.Status; } });
|
|
39
|
-
Object.defineProperty(exports, "WebhookIdentityType", { enumerable: true, get: function () { return calendar_v3_schedule_time_frame_schedule_time_frames_universal_js_2.WebhookIdentityType; } });
|
|
40
|
-
//# sourceMappingURL=calendar-v3-schedule-time-frame-schedule-time-frames.public.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"calendar-v3-schedule-time-frame-schedule-time-frames.public.js","sourceRoot":"","sources":["../../../src/calendar-v3-schedule-time-frame-schedule-time-frames.public.ts"],"names":[],"mappings":";;;AAAA,oFAAkG;AAClG,0EAAkG;AAClG,sFAAkF;AAClF,8CAA6D;AAC7D,2JAQ6E;AAEhE,QAAA,UAAU,GAAG,EAAE,YAAY,EAAE,eAAe,EAAE,CAAC;AAE5D,SAAgB,oBAAoB,CAClC,UAAsB;IAEtB,OAAO,CAAC,GAAW,EAAE,OAAqC,EAAE,EAAE,CAC5D,IAAA,wFAA6B,EAC3B,GAAG,EACH,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAVD,oDAUC;AAeD,SAAgB,sBAAsB,CACpC,UAAsB;IAEtB,OAAO,CAAC,GAAa,EAAE,OAAuC,EAAE,EAAE,CAChE,IAAA,0FAA+B,EAC7B,GAAG,EACH,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAVD,wDAUC;AAmBY,QAAA,0BAA0B,GAAG,IAAA,2BAAe,EACvD,6CAA6C,EAC7C,IAAI,EACJ,CAAC,KAAuC,EAAE,EAAE,CAC1C,IAAA,gEAAuC,EACrC,IAAA,gCAAc,EAAC,KAAK,EAAE;IACpB;QACE,WAAW,EAAE,gDAAoC;QACjD,KAAK,EAAE;YACL,EAAE,IAAI,EAAE,oCAAoC,EAAE;YAC9C,EAAE,IAAI,EAAE,iCAAiC,EAAE;YAC3C,EAAE,IAAI,EAAE,4CAA4C,EAAE;YACtD,EAAE,IAAI,EAAE,yCAAyC,EAAE;YACnD,EAAE,IAAI,EAAE,oBAAoB,EAAE;SAC/B;KACF;CACF,CAAC,CACH,CACJ,EAAoC,CAAC;AAEtC,yJAgD6E;AAtC3E,8JAAA,SAAS,OAAA;AAoBT,kKAAA,aAAa,OAAA;AAGb,qKAAA,gBAAgB,OAAA;AAShB,2JAAA,MAAM,OAAA;AAIN,wKAAA,mBAAmB,OAAA"}
|
|
@@ -1,561 +0,0 @@
|
|
|
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?: StatusWithLiterals;
|
|
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
|
-
/** @enumType */
|
|
73
|
-
export type StatusWithLiterals = Status | 'UNKNOWN_STATUS' | 'NONE' | 'FINITE' | 'INFINITE';
|
|
74
|
-
/** A date time with a time zone, having the UTC offset and date determined by the server. */
|
|
75
|
-
export interface ZonedDate {
|
|
76
|
-
/**
|
|
77
|
-
* Local date time in [ISO-8601 format](https://en.wikipedia.org/wiki/ISO_8601).
|
|
78
|
-
* For example, `2024-01-30T13:30:00`.
|
|
79
|
-
* Wix Calendar APIs ignore seconds.
|
|
80
|
-
* @format LOCAL_DATE_TIME
|
|
81
|
-
*/
|
|
82
|
-
localDate?: string | null;
|
|
83
|
-
/**
|
|
84
|
-
* Time zone in
|
|
85
|
-
* [IANA tz database format](https://en.wikipedia.org/wiki/Tz_database).
|
|
86
|
-
* For example, `America/New_York`.
|
|
87
|
-
* @readonly
|
|
88
|
-
*/
|
|
89
|
-
timeZone?: string | null;
|
|
90
|
-
/**
|
|
91
|
-
* UTC date time in [ISO-8601 format](https://en.wikipedia.org/wiki/ISO_8601).
|
|
92
|
-
* For example, `2024-01-30T13:30:00`.
|
|
93
|
-
* Not available for adjusted date fields.
|
|
94
|
-
* @readonly
|
|
95
|
-
*/
|
|
96
|
-
utcDate?: Date | null;
|
|
97
|
-
}
|
|
98
|
-
export interface GetScheduleTimeFrameRequest {
|
|
99
|
-
/**
|
|
100
|
-
* [Schedule](https://dev.wix.com/docs/rest/business-management/calendar/schedules-v3/schedule-object)
|
|
101
|
-
* ID for which to retrieve the schedule time frame.
|
|
102
|
-
* @format GUID
|
|
103
|
-
*/
|
|
104
|
-
id: string | null;
|
|
105
|
-
/**
|
|
106
|
-
* Time zone for adjusting the times of the returned schedule time frame.
|
|
107
|
-
*
|
|
108
|
-
* Default: `timeZone` of the [site properties](https://dev.wix.com/docs/rest/business-management/site-properties/properties/properties-object)
|
|
109
|
-
*/
|
|
110
|
-
timeZone?: string | null;
|
|
111
|
-
}
|
|
112
|
-
export interface GetScheduleTimeFrameResponse {
|
|
113
|
-
/** Retrieved schedule time frame. */
|
|
114
|
-
scheduleTimeFrame?: ScheduleTimeFrame;
|
|
115
|
-
}
|
|
116
|
-
export interface ListScheduleTimeFramesRequest {
|
|
117
|
-
/**
|
|
118
|
-
* IDs of the schedules for which to retrieve schedule time frames.
|
|
119
|
-
*
|
|
120
|
-
* Min: 1 schedule ID
|
|
121
|
-
* Max: 100 schedule IDs
|
|
122
|
-
* @minSize 1
|
|
123
|
-
* @maxSize 100
|
|
124
|
-
* @format GUID
|
|
125
|
-
*/
|
|
126
|
-
ids: string[];
|
|
127
|
-
/**
|
|
128
|
-
* Time zone for adjusting the times of the returned schedule time frames.
|
|
129
|
-
*
|
|
130
|
-
* Default: `timeZone` of the [site properties](https://dev.wix.com/docs/rest/business-management/site-properties/properties/properties-object)
|
|
131
|
-
*/
|
|
132
|
-
timeZone?: string | null;
|
|
133
|
-
}
|
|
134
|
-
export interface ListScheduleTimeFramesResponse {
|
|
135
|
-
/** Retrieved schedule time frames. */
|
|
136
|
-
scheduleTimeFrames?: ScheduleTimeFrame[];
|
|
137
|
-
}
|
|
138
|
-
/** Encapsulates all details written to the Greyhound topic when a site's properties are updated. */
|
|
139
|
-
export interface SitePropertiesNotification {
|
|
140
|
-
/** The site ID for which this update notification applies. */
|
|
141
|
-
metasiteId?: string;
|
|
142
|
-
/** The actual update event. */
|
|
143
|
-
event?: SitePropertiesEvent;
|
|
144
|
-
/**
|
|
145
|
-
* A convenience set of mappings from the MetaSite ID to its constituent services.
|
|
146
|
-
* @maxSize 500
|
|
147
|
-
*/
|
|
148
|
-
translations?: Translation[];
|
|
149
|
-
/** Context of the notification */
|
|
150
|
-
changeContext?: ChangeContext;
|
|
151
|
-
}
|
|
152
|
-
/** The actual update event for a particular notification. */
|
|
153
|
-
export interface SitePropertiesEvent {
|
|
154
|
-
/** Version of the site's properties represented by this update. */
|
|
155
|
-
version?: number;
|
|
156
|
-
/** Set of properties that were updated - corresponds to the fields in "properties". */
|
|
157
|
-
fields?: string[];
|
|
158
|
-
/** Updated properties. */
|
|
159
|
-
properties?: Properties;
|
|
160
|
-
}
|
|
161
|
-
export interface Properties {
|
|
162
|
-
/** Site categories. */
|
|
163
|
-
categories?: Categories;
|
|
164
|
-
/** Site locale. */
|
|
165
|
-
locale?: Locale;
|
|
166
|
-
/**
|
|
167
|
-
* Site language.
|
|
168
|
-
*
|
|
169
|
-
* Two-letter language code in [ISO 639-1 alpha-2](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) format.
|
|
170
|
-
*/
|
|
171
|
-
language?: string | null;
|
|
172
|
-
/**
|
|
173
|
-
* Site currency format used to bill customers.
|
|
174
|
-
*
|
|
175
|
-
* Three-letter currency code in [ISO-4217 alphabetic](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) format.
|
|
176
|
-
*/
|
|
177
|
-
paymentCurrency?: string | null;
|
|
178
|
-
/** Timezone in `America/New_York` format. */
|
|
179
|
-
timeZone?: string | null;
|
|
180
|
-
/** Email address. */
|
|
181
|
-
email?: string | null;
|
|
182
|
-
/** Phone number. */
|
|
183
|
-
phone?: string | null;
|
|
184
|
-
/** Fax number. */
|
|
185
|
-
fax?: string | null;
|
|
186
|
-
/** Address. */
|
|
187
|
-
address?: Address;
|
|
188
|
-
/** Site display name. */
|
|
189
|
-
siteDisplayName?: string | null;
|
|
190
|
-
/** Business name. */
|
|
191
|
-
businessName?: string | null;
|
|
192
|
-
/** Path to the site's logo in Wix Media (without Wix Media base URL). */
|
|
193
|
-
logo?: string | null;
|
|
194
|
-
/** Site description. */
|
|
195
|
-
description?: string | null;
|
|
196
|
-
/**
|
|
197
|
-
* Business schedule. Regular and exceptional time periods when the business is open or the service is available.
|
|
198
|
-
*
|
|
199
|
-
* __Note:__ Not supported by Wix Bookings.
|
|
200
|
-
*/
|
|
201
|
-
businessSchedule?: BusinessSchedule;
|
|
202
|
-
/** Supported languages of a site and the primary language. */
|
|
203
|
-
multilingual?: Multilingual;
|
|
204
|
-
/** Cookie policy the Wix user defined for their site (before the site visitor interacts with/limits it). */
|
|
205
|
-
consentPolicy?: ConsentPolicy;
|
|
206
|
-
/**
|
|
207
|
-
* Supported values: `FITNESS SERVICE`, `RESTAURANT`, `BLOG`, `STORE`, `EVENT`, `UNKNOWN`.
|
|
208
|
-
*
|
|
209
|
-
* Site business type.
|
|
210
|
-
*/
|
|
211
|
-
businessConfig?: string | null;
|
|
212
|
-
/** External site URL that uses Wix as its headless business solution. */
|
|
213
|
-
externalSiteUrl?: string | null;
|
|
214
|
-
/** Track clicks analytics. */
|
|
215
|
-
trackClicksAnalytics?: boolean;
|
|
216
|
-
}
|
|
217
|
-
export interface Categories {
|
|
218
|
-
/** Primary site category. */
|
|
219
|
-
primary?: string;
|
|
220
|
-
/**
|
|
221
|
-
* Secondary site category.
|
|
222
|
-
* @maxSize 50
|
|
223
|
-
*/
|
|
224
|
-
secondary?: string[];
|
|
225
|
-
/** Business Term Id */
|
|
226
|
-
businessTermId?: string | null;
|
|
227
|
-
}
|
|
228
|
-
export interface Locale {
|
|
229
|
-
/** Two-letter language code in [ISO 639-1 alpha-2](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) format. */
|
|
230
|
-
languageCode?: string;
|
|
231
|
-
/** Two-letter country code in [ISO-3166 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements) format. */
|
|
232
|
-
country?: string;
|
|
233
|
-
}
|
|
234
|
-
export interface Address {
|
|
235
|
-
/** Street name. */
|
|
236
|
-
street?: string;
|
|
237
|
-
/** City name. */
|
|
238
|
-
city?: string;
|
|
239
|
-
/** Two-letter country code in an [ISO-3166 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format. */
|
|
240
|
-
country?: string;
|
|
241
|
-
/** State. */
|
|
242
|
-
state?: string;
|
|
243
|
-
/**
|
|
244
|
-
* Zip or postal code.
|
|
245
|
-
* @maxLength 20
|
|
246
|
-
*/
|
|
247
|
-
zip?: string;
|
|
248
|
-
/** Extra information to be displayed in the address. */
|
|
249
|
-
hint?: AddressHint;
|
|
250
|
-
/** Whether this address represents a physical location. */
|
|
251
|
-
isPhysical?: boolean;
|
|
252
|
-
/** Google-formatted version of this address. */
|
|
253
|
-
googleFormattedAddress?: string;
|
|
254
|
-
/** Street number. */
|
|
255
|
-
streetNumber?: string;
|
|
256
|
-
/** Apartment number. */
|
|
257
|
-
apartmentNumber?: string;
|
|
258
|
-
/** Geographic coordinates of location. */
|
|
259
|
-
coordinates?: GeoCoordinates;
|
|
260
|
-
}
|
|
261
|
-
/**
|
|
262
|
-
* Extra information on displayed addresses.
|
|
263
|
-
* This is used for display purposes. Used to add additional data about the address, such as "In the passage".
|
|
264
|
-
* Free text. In addition, the user can state where to display the additional description - before, after, or instead of the address string.
|
|
265
|
-
*/
|
|
266
|
-
export interface AddressHint {
|
|
267
|
-
/** Extra text displayed next to, or instead of, the actual address. */
|
|
268
|
-
text?: string;
|
|
269
|
-
/** Where the extra text should be displayed. */
|
|
270
|
-
placement?: PlacementTypeWithLiterals;
|
|
271
|
-
}
|
|
272
|
-
/** Where the extra text should be displayed: before, after or instead of the actual address. */
|
|
273
|
-
export declare enum PlacementType {
|
|
274
|
-
BEFORE = "BEFORE",
|
|
275
|
-
AFTER = "AFTER",
|
|
276
|
-
REPLACE = "REPLACE"
|
|
277
|
-
}
|
|
278
|
-
/** @enumType */
|
|
279
|
-
export type PlacementTypeWithLiterals = PlacementType | 'BEFORE' | 'AFTER' | 'REPLACE';
|
|
280
|
-
/** Geocoordinates for a particular address. */
|
|
281
|
-
export interface GeoCoordinates {
|
|
282
|
-
/** Latitude of the location. Must be between -90 and 90. */
|
|
283
|
-
latitude?: number;
|
|
284
|
-
/** Longitude of the location. Must be between -180 and 180. */
|
|
285
|
-
longitude?: number;
|
|
286
|
-
}
|
|
287
|
-
/** Business schedule. Regular and exceptional time periods when the business is open or the service is available. */
|
|
288
|
-
export interface BusinessSchedule {
|
|
289
|
-
/**
|
|
290
|
-
* Weekly recurring time periods when the business is regularly open or the service is available. Limited to 100 time periods.
|
|
291
|
-
* @maxSize 100
|
|
292
|
-
*/
|
|
293
|
-
periods?: TimePeriod[];
|
|
294
|
-
/**
|
|
295
|
-
* Exceptions to the business's regular hours. The business can be open or closed during the exception.
|
|
296
|
-
* @maxSize 100
|
|
297
|
-
*/
|
|
298
|
-
specialHourPeriod?: SpecialHourPeriod[];
|
|
299
|
-
}
|
|
300
|
-
/** Weekly recurring time periods when the business is regularly open or the service is available. */
|
|
301
|
-
export interface TimePeriod {
|
|
302
|
-
/** Day of the week the period starts on. */
|
|
303
|
-
openDay?: DayOfWeekWithLiterals;
|
|
304
|
-
/**
|
|
305
|
-
* 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
|
|
306
|
-
* midnight at the end of the specified day.
|
|
307
|
-
*/
|
|
308
|
-
openTime?: string;
|
|
309
|
-
/** Day of the week the period ends on. */
|
|
310
|
-
closeDay?: DayOfWeekWithLiterals;
|
|
311
|
-
/**
|
|
312
|
-
* 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
|
|
313
|
-
* midnight at the end of the specified day.
|
|
314
|
-
*
|
|
315
|
-
* __Note:__ If `openDay` and `closeDay` specify the same day of the week `closeTime` must be later than `openTime`.
|
|
316
|
-
*/
|
|
317
|
-
closeTime?: string;
|
|
318
|
-
}
|
|
319
|
-
/** Enumerates the days of the week. */
|
|
320
|
-
export declare enum DayOfWeek {
|
|
321
|
-
MONDAY = "MONDAY",
|
|
322
|
-
TUESDAY = "TUESDAY",
|
|
323
|
-
WEDNESDAY = "WEDNESDAY",
|
|
324
|
-
THURSDAY = "THURSDAY",
|
|
325
|
-
FRIDAY = "FRIDAY",
|
|
326
|
-
SATURDAY = "SATURDAY",
|
|
327
|
-
SUNDAY = "SUNDAY"
|
|
328
|
-
}
|
|
329
|
-
/** @enumType */
|
|
330
|
-
export type DayOfWeekWithLiterals = DayOfWeek | 'MONDAY' | 'TUESDAY' | 'WEDNESDAY' | 'THURSDAY' | 'FRIDAY' | 'SATURDAY' | 'SUNDAY';
|
|
331
|
-
/** Exception to the business's regular hours. The business can be open or closed during the exception. */
|
|
332
|
-
export interface SpecialHourPeriod {
|
|
333
|
-
/** 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). */
|
|
334
|
-
startDate?: string;
|
|
335
|
-
/** 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). */
|
|
336
|
-
endDate?: string;
|
|
337
|
-
/**
|
|
338
|
-
* Whether the business is closed (or the service is not available) during the exception.
|
|
339
|
-
*
|
|
340
|
-
* Default: `true`.
|
|
341
|
-
*/
|
|
342
|
-
isClosed?: boolean;
|
|
343
|
-
/** Additional info about the exception. For example, "We close earlier on New Year's Eve." */
|
|
344
|
-
comment?: string;
|
|
345
|
-
}
|
|
346
|
-
export interface Multilingual {
|
|
347
|
-
/**
|
|
348
|
-
* Supported languages list.
|
|
349
|
-
* @maxSize 200
|
|
350
|
-
*/
|
|
351
|
-
supportedLanguages?: SupportedLanguage[];
|
|
352
|
-
/** Whether to redirect to user language. */
|
|
353
|
-
autoRedirect?: boolean;
|
|
354
|
-
}
|
|
355
|
-
export interface SupportedLanguage {
|
|
356
|
-
/** Two-letter language code in [ISO 639-1 alpha-2](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) format. */
|
|
357
|
-
languageCode?: string;
|
|
358
|
-
/** Locale. */
|
|
359
|
-
locale?: Locale;
|
|
360
|
-
/** Whether the supported language is the primary language for the site. */
|
|
361
|
-
isPrimary?: boolean;
|
|
362
|
-
/** Language icon. */
|
|
363
|
-
countryCode?: string;
|
|
364
|
-
/** How the language will be resolved. For internal use. */
|
|
365
|
-
resolutionMethod?: ResolutionMethodWithLiterals;
|
|
366
|
-
/** Whether the supported language is the primary language for site visitors. */
|
|
367
|
-
isVisitorPrimary?: boolean | null;
|
|
368
|
-
}
|
|
369
|
-
export declare enum ResolutionMethod {
|
|
370
|
-
QUERY_PARAM = "QUERY_PARAM",
|
|
371
|
-
SUBDOMAIN = "SUBDOMAIN",
|
|
372
|
-
SUBDIRECTORY = "SUBDIRECTORY"
|
|
373
|
-
}
|
|
374
|
-
/** @enumType */
|
|
375
|
-
export type ResolutionMethodWithLiterals = ResolutionMethod | 'QUERY_PARAM' | 'SUBDOMAIN' | 'SUBDIRECTORY';
|
|
376
|
-
export interface ConsentPolicy {
|
|
377
|
-
/** Whether the site uses cookies that are essential to site operation. Always `true`. */
|
|
378
|
-
essential?: boolean | null;
|
|
379
|
-
/** Whether the site uses cookies that affect site performance and other functional measurements. */
|
|
380
|
-
functional?: boolean | null;
|
|
381
|
-
/** Whether the site uses cookies that collect analytics about how the site is used (in order to improve it). */
|
|
382
|
-
analytics?: boolean | null;
|
|
383
|
-
/** Whether the site uses cookies that collect information allowing better customization of the experience for a current visitor. */
|
|
384
|
-
advertising?: boolean | null;
|
|
385
|
-
/** CCPA compliance flag. */
|
|
386
|
-
dataToThirdParty?: boolean | null;
|
|
387
|
-
}
|
|
388
|
-
/** A single mapping from the MetaSite ID to a particular service. */
|
|
389
|
-
export interface Translation {
|
|
390
|
-
/** The service type. */
|
|
391
|
-
serviceType?: string;
|
|
392
|
-
/** The application definition ID; this only applies to services of type ThirdPartyApps. */
|
|
393
|
-
appDefId?: string;
|
|
394
|
-
/** The instance ID of the service. */
|
|
395
|
-
instanceId?: string;
|
|
396
|
-
}
|
|
397
|
-
export interface ChangeContext extends ChangeContextPayloadOneOf {
|
|
398
|
-
/** Properties were updated. */
|
|
399
|
-
propertiesChange?: PropertiesChange;
|
|
400
|
-
/** Default properties were created on site creation. */
|
|
401
|
-
siteCreated?: SiteCreated;
|
|
402
|
-
/** Properties were cloned on site cloning. */
|
|
403
|
-
siteCloned?: SiteCloned;
|
|
404
|
-
}
|
|
405
|
-
/** @oneof */
|
|
406
|
-
export interface ChangeContextPayloadOneOf {
|
|
407
|
-
/** Properties were updated. */
|
|
408
|
-
propertiesChange?: PropertiesChange;
|
|
409
|
-
/** Default properties were created on site creation. */
|
|
410
|
-
siteCreated?: SiteCreated;
|
|
411
|
-
/** Properties were cloned on site cloning. */
|
|
412
|
-
siteCloned?: SiteCloned;
|
|
413
|
-
}
|
|
414
|
-
export interface PropertiesChange {
|
|
415
|
-
}
|
|
416
|
-
export interface SiteCreated {
|
|
417
|
-
/** Origin template site id. */
|
|
418
|
-
originTemplateId?: string | null;
|
|
419
|
-
}
|
|
420
|
-
export interface SiteCloned {
|
|
421
|
-
/** Origin site id. */
|
|
422
|
-
originMetaSiteId?: string;
|
|
423
|
-
}
|
|
424
|
-
export interface Empty {
|
|
425
|
-
}
|
|
426
|
-
export interface DomainEvent extends DomainEventBodyOneOf {
|
|
427
|
-
createdEvent?: EntityCreatedEvent;
|
|
428
|
-
updatedEvent?: EntityUpdatedEvent;
|
|
429
|
-
deletedEvent?: EntityDeletedEvent;
|
|
430
|
-
actionEvent?: ActionEvent;
|
|
431
|
-
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
432
|
-
id?: string;
|
|
433
|
-
/**
|
|
434
|
-
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
435
|
-
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
436
|
-
*/
|
|
437
|
-
entityFqdn?: string;
|
|
438
|
-
/**
|
|
439
|
-
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
440
|
-
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
441
|
-
*/
|
|
442
|
-
slug?: string;
|
|
443
|
-
/** ID of the entity associated with the event. */
|
|
444
|
-
entityId?: string;
|
|
445
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
446
|
-
eventTime?: Date | null;
|
|
447
|
-
/**
|
|
448
|
-
* Whether the event was triggered as a result of a privacy regulation application
|
|
449
|
-
* (for example, GDPR).
|
|
450
|
-
*/
|
|
451
|
-
triggeredByAnonymizeRequest?: boolean | null;
|
|
452
|
-
/** If present, indicates the action that triggered the event. */
|
|
453
|
-
originatedFrom?: string | null;
|
|
454
|
-
/**
|
|
455
|
-
* A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at 16:00 and then again at 16:01, the second update will always have a higher sequence number.
|
|
456
|
-
* You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.
|
|
457
|
-
*/
|
|
458
|
-
entityEventSequence?: string | null;
|
|
459
|
-
}
|
|
460
|
-
/** @oneof */
|
|
461
|
-
export interface DomainEventBodyOneOf {
|
|
462
|
-
createdEvent?: EntityCreatedEvent;
|
|
463
|
-
updatedEvent?: EntityUpdatedEvent;
|
|
464
|
-
deletedEvent?: EntityDeletedEvent;
|
|
465
|
-
actionEvent?: ActionEvent;
|
|
466
|
-
}
|
|
467
|
-
export interface EntityCreatedEvent {
|
|
468
|
-
entityAsJson?: string;
|
|
469
|
-
/** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */
|
|
470
|
-
restoreInfo?: RestoreInfo;
|
|
471
|
-
}
|
|
472
|
-
export interface RestoreInfo {
|
|
473
|
-
deletedDate?: Date | null;
|
|
474
|
-
}
|
|
475
|
-
export interface EntityUpdatedEvent {
|
|
476
|
-
/**
|
|
477
|
-
* Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
|
|
478
|
-
* This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
|
|
479
|
-
* We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
|
|
480
|
-
*/
|
|
481
|
-
currentEntityAsJson?: string;
|
|
482
|
-
}
|
|
483
|
-
export interface EntityDeletedEvent {
|
|
484
|
-
/** Entity that was deleted. */
|
|
485
|
-
deletedEntityAsJson?: string | null;
|
|
486
|
-
}
|
|
487
|
-
export interface ActionEvent {
|
|
488
|
-
bodyAsJson?: string;
|
|
489
|
-
}
|
|
490
|
-
export interface MessageEnvelope {
|
|
491
|
-
/**
|
|
492
|
-
* App instance ID.
|
|
493
|
-
* @format GUID
|
|
494
|
-
*/
|
|
495
|
-
instanceId?: string | null;
|
|
496
|
-
/**
|
|
497
|
-
* Event type.
|
|
498
|
-
* @maxLength 150
|
|
499
|
-
*/
|
|
500
|
-
eventType?: string;
|
|
501
|
-
/** The identification type and identity data. */
|
|
502
|
-
identity?: IdentificationData;
|
|
503
|
-
/** Stringify payload. */
|
|
504
|
-
data?: string;
|
|
505
|
-
}
|
|
506
|
-
export interface IdentificationData extends IdentificationDataIdOneOf {
|
|
507
|
-
/**
|
|
508
|
-
* ID of a site visitor that has not logged in to the site.
|
|
509
|
-
* @format GUID
|
|
510
|
-
*/
|
|
511
|
-
anonymousVisitorId?: string;
|
|
512
|
-
/**
|
|
513
|
-
* ID of a site visitor that has logged in to the site.
|
|
514
|
-
* @format GUID
|
|
515
|
-
*/
|
|
516
|
-
memberId?: string;
|
|
517
|
-
/**
|
|
518
|
-
* ID of a Wix user (site owner, contributor, etc.).
|
|
519
|
-
* @format GUID
|
|
520
|
-
*/
|
|
521
|
-
wixUserId?: string;
|
|
522
|
-
/**
|
|
523
|
-
* ID of an app.
|
|
524
|
-
* @format GUID
|
|
525
|
-
*/
|
|
526
|
-
appId?: string;
|
|
527
|
-
/** @readonly */
|
|
528
|
-
identityType?: WebhookIdentityTypeWithLiterals;
|
|
529
|
-
}
|
|
530
|
-
/** @oneof */
|
|
531
|
-
export interface IdentificationDataIdOneOf {
|
|
532
|
-
/**
|
|
533
|
-
* ID of a site visitor that has not logged in to the site.
|
|
534
|
-
* @format GUID
|
|
535
|
-
*/
|
|
536
|
-
anonymousVisitorId?: string;
|
|
537
|
-
/**
|
|
538
|
-
* ID of a site visitor that has logged in to the site.
|
|
539
|
-
* @format GUID
|
|
540
|
-
*/
|
|
541
|
-
memberId?: string;
|
|
542
|
-
/**
|
|
543
|
-
* ID of a Wix user (site owner, contributor, etc.).
|
|
544
|
-
* @format GUID
|
|
545
|
-
*/
|
|
546
|
-
wixUserId?: string;
|
|
547
|
-
/**
|
|
548
|
-
* ID of an app.
|
|
549
|
-
* @format GUID
|
|
550
|
-
*/
|
|
551
|
-
appId?: string;
|
|
552
|
-
}
|
|
553
|
-
export declare enum WebhookIdentityType {
|
|
554
|
-
UNKNOWN = "UNKNOWN",
|
|
555
|
-
ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
|
|
556
|
-
MEMBER = "MEMBER",
|
|
557
|
-
WIX_USER = "WIX_USER",
|
|
558
|
-
APP = "APP"
|
|
559
|
-
}
|
|
560
|
-
/** @enumType */
|
|
561
|
-
export type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
|
|
@@ -1,46 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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;AA4ND,gGAAgG;AAChG,IAAY,aAIX;AAJD,WAAY,aAAa;IACvB,kCAAiB,CAAA;IACjB,gCAAe,CAAA;IACf,oCAAmB,CAAA;AACrB,CAAC,EAJW,aAAa,6BAAb,aAAa,QAIxB;AAmDD,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;AAsDD,IAAY,gBAIX;AAJD,WAAY,gBAAgB;IAC1B,+CAA2B,CAAA;IAC3B,2CAAuB,CAAA;IACvB,iDAA6B,CAAA;AAC/B,CAAC,EAJW,gBAAgB,gCAAhB,gBAAgB,QAI3B;AA0MD,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"}
|