@wix/auto_sdk_bookings_attendance 1.0.61 → 1.0.63
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/cjs/schemas.d.ts +212 -0
- package/build/cjs/schemas.js +372 -0
- package/build/cjs/schemas.js.map +1 -0
- package/build/es/schemas.d.mts +212 -0
- package/build/es/schemas.mjs +322 -0
- package/build/es/schemas.mjs.map +1 -0
- package/build/internal/cjs/schemas.d.ts +212 -0
- package/build/internal/cjs/schemas.js +372 -0
- package/build/internal/cjs/schemas.js.map +1 -0
- package/build/internal/es/schemas.d.mts +212 -0
- package/build/internal/es/schemas.mjs +322 -0
- package/build/internal/es/schemas.mjs.map +1 -0
- package/package.json +12 -5
- package/schemas/package.json +3 -0
|
@@ -0,0 +1,212 @@
|
|
|
1
|
+
import * as z from 'zod';
|
|
2
|
+
|
|
3
|
+
declare const GetAttendanceRequest: z.ZodObject<{
|
|
4
|
+
attendanceId: z.ZodString;
|
|
5
|
+
}, z.core.$strip>;
|
|
6
|
+
declare const GetAttendanceResponse: z.ZodObject<{
|
|
7
|
+
_id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
8
|
+
bookingId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
9
|
+
sessionId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
10
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
11
|
+
NOT_SET: "NOT_SET";
|
|
12
|
+
ATTENDED: "ATTENDED";
|
|
13
|
+
NOT_ATTENDED: "NOT_ATTENDED";
|
|
14
|
+
}>>;
|
|
15
|
+
numberOfAttendees: z.ZodOptional<z.ZodNumber>;
|
|
16
|
+
}, z.core.$strip>;
|
|
17
|
+
declare const SetAttendanceRequest: z.ZodObject<{
|
|
18
|
+
attendance: z.ZodObject<{
|
|
19
|
+
_id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
20
|
+
bookingId: z.ZodString;
|
|
21
|
+
sessionId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
22
|
+
status: z.ZodEnum<{
|
|
23
|
+
NOT_SET: "NOT_SET";
|
|
24
|
+
ATTENDED: "ATTENDED";
|
|
25
|
+
NOT_ATTENDED: "NOT_ATTENDED";
|
|
26
|
+
}>;
|
|
27
|
+
numberOfAttendees: z.ZodOptional<z.ZodNumber>;
|
|
28
|
+
}, z.core.$strip>;
|
|
29
|
+
options: z.ZodOptional<z.ZodObject<{
|
|
30
|
+
participantNotification: z.ZodOptional<z.ZodObject<{
|
|
31
|
+
notifyParticipants: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
32
|
+
message: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
33
|
+
}, z.core.$strip>>;
|
|
34
|
+
}, z.core.$strip>>;
|
|
35
|
+
}, z.core.$strip>;
|
|
36
|
+
declare const SetAttendanceResponse: z.ZodObject<{
|
|
37
|
+
attendance: z.ZodOptional<z.ZodObject<{
|
|
38
|
+
_id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
39
|
+
bookingId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
40
|
+
sessionId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
41
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
42
|
+
NOT_SET: "NOT_SET";
|
|
43
|
+
ATTENDED: "ATTENDED";
|
|
44
|
+
NOT_ATTENDED: "NOT_ATTENDED";
|
|
45
|
+
}>>;
|
|
46
|
+
numberOfAttendees: z.ZodOptional<z.ZodNumber>;
|
|
47
|
+
}, z.core.$strip>>;
|
|
48
|
+
}, z.core.$strip>;
|
|
49
|
+
declare const BulkSetAttendanceRequest: z.ZodObject<{
|
|
50
|
+
options: z.ZodOptional<z.ZodObject<{
|
|
51
|
+
returnFullEntity: z.ZodOptional<z.ZodBoolean>;
|
|
52
|
+
attendanceDetails: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
53
|
+
attendance: z.ZodOptional<z.ZodObject<{
|
|
54
|
+
_id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
55
|
+
bookingId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
56
|
+
sessionId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
57
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
58
|
+
NOT_SET: "NOT_SET";
|
|
59
|
+
ATTENDED: "ATTENDED";
|
|
60
|
+
NOT_ATTENDED: "NOT_ATTENDED";
|
|
61
|
+
}>>;
|
|
62
|
+
numberOfAttendees: z.ZodOptional<z.ZodNumber>;
|
|
63
|
+
}, z.core.$strip>>;
|
|
64
|
+
participantNotification: z.ZodOptional<z.ZodObject<{
|
|
65
|
+
notifyParticipants: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
66
|
+
message: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
67
|
+
}, z.core.$strip>>;
|
|
68
|
+
}, z.core.$strip>>>;
|
|
69
|
+
}, z.core.$strip>>;
|
|
70
|
+
}, z.core.$strip>;
|
|
71
|
+
declare const BulkSetAttendanceResponse: z.ZodObject<{
|
|
72
|
+
results: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
73
|
+
item: z.ZodOptional<z.ZodObject<{
|
|
74
|
+
_id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
75
|
+
bookingId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
76
|
+
sessionId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
77
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
78
|
+
NOT_SET: "NOT_SET";
|
|
79
|
+
ATTENDED: "ATTENDED";
|
|
80
|
+
NOT_ATTENDED: "NOT_ATTENDED";
|
|
81
|
+
}>>;
|
|
82
|
+
numberOfAttendees: z.ZodOptional<z.ZodNumber>;
|
|
83
|
+
}, z.core.$strip>>;
|
|
84
|
+
itemMetadata: z.ZodOptional<z.ZodObject<{
|
|
85
|
+
_id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
86
|
+
originalIndex: z.ZodOptional<z.ZodNumber>;
|
|
87
|
+
success: z.ZodOptional<z.ZodBoolean>;
|
|
88
|
+
error: z.ZodOptional<z.ZodObject<{
|
|
89
|
+
code: z.ZodOptional<z.ZodString>;
|
|
90
|
+
description: z.ZodOptional<z.ZodString>;
|
|
91
|
+
data: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
92
|
+
}, z.core.$strip>>;
|
|
93
|
+
}, z.core.$strip>>;
|
|
94
|
+
}, z.core.$strip>>>;
|
|
95
|
+
bulkActionMetadata: z.ZodOptional<z.ZodObject<{
|
|
96
|
+
totalSuccesses: z.ZodOptional<z.ZodNumber>;
|
|
97
|
+
totalFailures: z.ZodOptional<z.ZodNumber>;
|
|
98
|
+
undetailedFailures: z.ZodOptional<z.ZodNumber>;
|
|
99
|
+
}, z.core.$strip>>;
|
|
100
|
+
}, z.core.$strip>;
|
|
101
|
+
declare const QueryAttendanceRequest: z.ZodObject<{
|
|
102
|
+
query: z.ZodObject<{
|
|
103
|
+
filter: z.ZodOptional<z.ZodObject<{
|
|
104
|
+
_id: z.ZodOptional<z.ZodObject<{
|
|
105
|
+
$eq: z.ZodOptional<z.ZodString>;
|
|
106
|
+
$in: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
107
|
+
$ne: z.ZodOptional<z.ZodString>;
|
|
108
|
+
$nin: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
109
|
+
}, z.core.$strict>>;
|
|
110
|
+
bookingId: z.ZodOptional<z.ZodObject<{
|
|
111
|
+
$eq: z.ZodOptional<z.ZodString>;
|
|
112
|
+
$in: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
113
|
+
$ne: z.ZodOptional<z.ZodString>;
|
|
114
|
+
$nin: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
115
|
+
}, z.core.$strict>>;
|
|
116
|
+
sessionId: z.ZodOptional<z.ZodObject<{
|
|
117
|
+
$eq: z.ZodOptional<z.ZodString>;
|
|
118
|
+
$in: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
119
|
+
$ne: z.ZodOptional<z.ZodString>;
|
|
120
|
+
$nin: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
121
|
+
}, z.core.$strict>>;
|
|
122
|
+
status: z.ZodOptional<z.ZodObject<{
|
|
123
|
+
$eq: z.ZodOptional<z.ZodString>;
|
|
124
|
+
$in: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
125
|
+
$ne: z.ZodOptional<z.ZodString>;
|
|
126
|
+
$nin: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
127
|
+
}, z.core.$strict>>;
|
|
128
|
+
numberOfAttendees: z.ZodOptional<z.ZodObject<{
|
|
129
|
+
$eq: z.ZodOptional<z.ZodNumber>;
|
|
130
|
+
$gt: z.ZodOptional<z.ZodNumber>;
|
|
131
|
+
$gte: z.ZodOptional<z.ZodNumber>;
|
|
132
|
+
$in: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
133
|
+
$lt: z.ZodOptional<z.ZodNumber>;
|
|
134
|
+
$lte: z.ZodOptional<z.ZodNumber>;
|
|
135
|
+
$ne: z.ZodOptional<z.ZodNumber>;
|
|
136
|
+
$nin: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
137
|
+
}, z.core.$strict>>;
|
|
138
|
+
$and: z.ZodOptional<z.ZodArray<z.ZodAny>>;
|
|
139
|
+
$or: z.ZodOptional<z.ZodArray<z.ZodAny>>;
|
|
140
|
+
$not: z.ZodOptional<z.ZodAny>;
|
|
141
|
+
}, z.core.$strict>>;
|
|
142
|
+
sort: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
143
|
+
fieldName: z.ZodOptional<z.ZodEnum<{
|
|
144
|
+
status: "status";
|
|
145
|
+
numberOfAttendees: "numberOfAttendees";
|
|
146
|
+
_id: "_id";
|
|
147
|
+
bookingId: "bookingId";
|
|
148
|
+
sessionId: "sessionId";
|
|
149
|
+
}>>;
|
|
150
|
+
order: z.ZodOptional<z.ZodEnum<{
|
|
151
|
+
ASC: "ASC";
|
|
152
|
+
DESC: "DESC";
|
|
153
|
+
}>>;
|
|
154
|
+
}, z.core.$strip>>>;
|
|
155
|
+
}, z.core.$catchall<z.ZodAny>>;
|
|
156
|
+
}, z.core.$strip>;
|
|
157
|
+
declare const QueryAttendanceResponse: z.ZodObject<{
|
|
158
|
+
attendances: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
159
|
+
_id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
160
|
+
bookingId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
161
|
+
sessionId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
162
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
163
|
+
NOT_SET: "NOT_SET";
|
|
164
|
+
ATTENDED: "ATTENDED";
|
|
165
|
+
NOT_ATTENDED: "NOT_ATTENDED";
|
|
166
|
+
}>>;
|
|
167
|
+
numberOfAttendees: z.ZodOptional<z.ZodNumber>;
|
|
168
|
+
}, z.core.$strip>>>;
|
|
169
|
+
pagingMetadata: z.ZodOptional<z.ZodObject<{
|
|
170
|
+
cursors: z.ZodOptional<z.ZodObject<{
|
|
171
|
+
next: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
172
|
+
prev: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
173
|
+
}, z.core.$strip>>;
|
|
174
|
+
hasNext: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
175
|
+
}, z.core.$strip>>;
|
|
176
|
+
}, z.core.$strip>;
|
|
177
|
+
declare const CountAttendancesRequest: z.ZodObject<{
|
|
178
|
+
options: z.ZodOptional<z.ZodObject<{
|
|
179
|
+
filter: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
180
|
+
}, z.core.$strip>>;
|
|
181
|
+
}, z.core.$strip>;
|
|
182
|
+
declare const CountAttendancesResponse: z.ZodObject<{
|
|
183
|
+
count: z.ZodOptional<z.ZodNumber>;
|
|
184
|
+
}, z.core.$strip>;
|
|
185
|
+
declare const DeleteAttendanceRequest: z.ZodObject<{
|
|
186
|
+
attendanceId: z.ZodString;
|
|
187
|
+
}, z.core.$strip>;
|
|
188
|
+
declare const DeleteAttendanceResponse: z.ZodObject<{}, z.core.$strip>;
|
|
189
|
+
declare const BulkDeleteAttendancesRequest: z.ZodObject<{
|
|
190
|
+
attendanceIds: z.ZodArray<z.ZodString>;
|
|
191
|
+
}, z.core.$strip>;
|
|
192
|
+
declare const BulkDeleteAttendancesResponse: z.ZodObject<{
|
|
193
|
+
results: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
194
|
+
itemMetadata: z.ZodOptional<z.ZodObject<{
|
|
195
|
+
_id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
196
|
+
originalIndex: z.ZodOptional<z.ZodNumber>;
|
|
197
|
+
success: z.ZodOptional<z.ZodBoolean>;
|
|
198
|
+
error: z.ZodOptional<z.ZodObject<{
|
|
199
|
+
code: z.ZodOptional<z.ZodString>;
|
|
200
|
+
description: z.ZodOptional<z.ZodString>;
|
|
201
|
+
data: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
202
|
+
}, z.core.$strip>>;
|
|
203
|
+
}, z.core.$strip>>;
|
|
204
|
+
}, z.core.$strip>>>;
|
|
205
|
+
bulkActionMetadata: z.ZodOptional<z.ZodObject<{
|
|
206
|
+
totalSuccesses: z.ZodOptional<z.ZodNumber>;
|
|
207
|
+
totalFailures: z.ZodOptional<z.ZodNumber>;
|
|
208
|
+
undetailedFailures: z.ZodOptional<z.ZodNumber>;
|
|
209
|
+
}, z.core.$strip>>;
|
|
210
|
+
}, z.core.$strip>;
|
|
211
|
+
|
|
212
|
+
export { BulkDeleteAttendancesRequest, BulkDeleteAttendancesResponse, BulkSetAttendanceRequest, BulkSetAttendanceResponse, CountAttendancesRequest, CountAttendancesResponse, DeleteAttendanceRequest, DeleteAttendanceResponse, GetAttendanceRequest, GetAttendanceResponse, QueryAttendanceRequest, QueryAttendanceResponse, SetAttendanceRequest, SetAttendanceResponse };
|
|
@@ -0,0 +1,372 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __create = Object.create;
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
7
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
+
var __export = (target, all) => {
|
|
9
|
+
for (var name in all)
|
|
10
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
11
|
+
};
|
|
12
|
+
var __copyProps = (to, from, except, desc) => {
|
|
13
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
14
|
+
for (let key of __getOwnPropNames(from))
|
|
15
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
16
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
17
|
+
}
|
|
18
|
+
return to;
|
|
19
|
+
};
|
|
20
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
21
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
22
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
23
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
24
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
25
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
26
|
+
mod
|
|
27
|
+
));
|
|
28
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
29
|
+
|
|
30
|
+
// schemas.ts
|
|
31
|
+
var schemas_exports = {};
|
|
32
|
+
__export(schemas_exports, {
|
|
33
|
+
BulkDeleteAttendancesRequest: () => BulkDeleteAttendancesRequest,
|
|
34
|
+
BulkDeleteAttendancesResponse: () => BulkDeleteAttendancesResponse,
|
|
35
|
+
BulkSetAttendanceRequest: () => BulkSetAttendanceRequest,
|
|
36
|
+
BulkSetAttendanceResponse: () => BulkSetAttendanceResponse,
|
|
37
|
+
CountAttendancesRequest: () => CountAttendancesRequest,
|
|
38
|
+
CountAttendancesResponse: () => CountAttendancesResponse,
|
|
39
|
+
DeleteAttendanceRequest: () => DeleteAttendanceRequest,
|
|
40
|
+
DeleteAttendanceResponse: () => DeleteAttendanceResponse,
|
|
41
|
+
GetAttendanceRequest: () => GetAttendanceRequest,
|
|
42
|
+
GetAttendanceResponse: () => GetAttendanceResponse,
|
|
43
|
+
QueryAttendanceRequest: () => QueryAttendanceRequest,
|
|
44
|
+
QueryAttendanceResponse: () => QueryAttendanceResponse,
|
|
45
|
+
SetAttendanceRequest: () => SetAttendanceRequest,
|
|
46
|
+
SetAttendanceResponse: () => SetAttendanceResponse
|
|
47
|
+
});
|
|
48
|
+
module.exports = __toCommonJS(schemas_exports);
|
|
49
|
+
|
|
50
|
+
// src/bookings-v2-attendance-attendance.schemas.ts
|
|
51
|
+
var z = __toESM(require("zod"));
|
|
52
|
+
var GetAttendanceRequest = z.object({
|
|
53
|
+
attendanceId: z.string().describe("ID of the attendance object to retrieve.").regex(
|
|
54
|
+
/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,
|
|
55
|
+
"Must be a valid GUID"
|
|
56
|
+
)
|
|
57
|
+
});
|
|
58
|
+
var GetAttendanceResponse = z.object({
|
|
59
|
+
_id: z.string().describe("ID of the `attendance` object.").regex(
|
|
60
|
+
/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,
|
|
61
|
+
"Must be a valid GUID"
|
|
62
|
+
).optional().nullable(),
|
|
63
|
+
bookingId: z.string().describe("Corresponding booking ID.").regex(
|
|
64
|
+
/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,
|
|
65
|
+
"Must be a valid GUID"
|
|
66
|
+
).optional().nullable(),
|
|
67
|
+
sessionId: z.string().describe(
|
|
68
|
+
"Corresponding session ID.\n\nRequired when calling [Set Attendance](https://dev.wix.com/docs/api-reference/business-solutions/bookings/bookings/attendance/set-attendance). The call returns a `SESSION_ID_NOT_PROVIDED` error if this field is omitted. Retrieve the session ID from the booking's slot: `booking.bookedEntity.slot.sessionId`."
|
|
69
|
+
).optional().nullable(),
|
|
70
|
+
status: z.enum(["NOT_SET", "ATTENDED", "NOT_ATTENDED"]).describe("Status indicating if any participants attended the session.").optional(),
|
|
71
|
+
numberOfAttendees: z.number().int().describe(
|
|
72
|
+
"Total number of participants that attended the session. By default, the number\nof attendees is set to `1`, but you can set a number to greater than `1` if multiple\nparticipants attended.\n\nDo not set to `0` to indicate that no one attended the session. Instead, set the `status` field to `NOT_ATTENDED`.\n\nDefault: 1"
|
|
73
|
+
).optional()
|
|
74
|
+
});
|
|
75
|
+
var SetAttendanceRequest = z.object({
|
|
76
|
+
attendance: z.object({
|
|
77
|
+
_id: z.string().describe("ID of the `attendance` object.").regex(
|
|
78
|
+
/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,
|
|
79
|
+
"Must be a valid GUID"
|
|
80
|
+
).optional().nullable(),
|
|
81
|
+
bookingId: z.string().describe("Corresponding booking ID.").regex(
|
|
82
|
+
/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,
|
|
83
|
+
"Must be a valid GUID"
|
|
84
|
+
),
|
|
85
|
+
sessionId: z.string().describe(
|
|
86
|
+
"Corresponding session ID.\n\nRequired when calling [Set Attendance](https://dev.wix.com/docs/api-reference/business-solutions/bookings/bookings/attendance/set-attendance). The call returns a `SESSION_ID_NOT_PROVIDED` error if this field is omitted. Retrieve the session ID from the booking's slot: `booking.bookedEntity.slot.sessionId`."
|
|
87
|
+
).optional().nullable(),
|
|
88
|
+
status: z.enum(["NOT_SET", "ATTENDED", "NOT_ATTENDED"]),
|
|
89
|
+
numberOfAttendees: z.number().int().describe(
|
|
90
|
+
"Total number of participants that attended the session. By default, the number\nof attendees is set to `1`, but you can set a number to greater than `1` if multiple\nparticipants attended.\n\nDo not set to `0` to indicate that no one attended the session. Instead, set the `status` field to `NOT_ATTENDED`.\n\nDefault: 1"
|
|
91
|
+
).optional()
|
|
92
|
+
}).describe("Attendance to create or update."),
|
|
93
|
+
options: z.object({
|
|
94
|
+
participantNotification: z.object({
|
|
95
|
+
notifyParticipants: z.boolean().describe(
|
|
96
|
+
"Specify whether to send a message about the changes to the customer.\n\nDefault: `false`"
|
|
97
|
+
).optional().nullable(),
|
|
98
|
+
message: z.string().describe(
|
|
99
|
+
"Optional custom message to send to the participants about the changes to the booking."
|
|
100
|
+
).min(1).max(5e3).optional().nullable()
|
|
101
|
+
}).describe(
|
|
102
|
+
"Information about whether to send a message to a customer after their attendance was set."
|
|
103
|
+
).optional()
|
|
104
|
+
}).describe("Options to use when setting an attendance.").optional()
|
|
105
|
+
});
|
|
106
|
+
var SetAttendanceResponse = z.object({
|
|
107
|
+
attendance: z.object({
|
|
108
|
+
_id: z.string().describe("ID of the `attendance` object.").regex(
|
|
109
|
+
/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,
|
|
110
|
+
"Must be a valid GUID"
|
|
111
|
+
).optional().nullable(),
|
|
112
|
+
bookingId: z.string().describe("Corresponding booking ID.").regex(
|
|
113
|
+
/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,
|
|
114
|
+
"Must be a valid GUID"
|
|
115
|
+
).optional().nullable(),
|
|
116
|
+
sessionId: z.string().describe(
|
|
117
|
+
"Corresponding session ID.\n\nRequired when calling [Set Attendance](https://dev.wix.com/docs/api-reference/business-solutions/bookings/bookings/attendance/set-attendance). The call returns a `SESSION_ID_NOT_PROVIDED` error if this field is omitted. Retrieve the session ID from the booking's slot: `booking.bookedEntity.slot.sessionId`."
|
|
118
|
+
).optional().nullable(),
|
|
119
|
+
status: z.enum(["NOT_SET", "ATTENDED", "NOT_ATTENDED"]).describe("Status indicating if any participants attended the session.").optional(),
|
|
120
|
+
numberOfAttendees: z.number().int().describe(
|
|
121
|
+
"Total number of participants that attended the session. By default, the number\nof attendees is set to `1`, but you can set a number to greater than `1` if multiple\nparticipants attended.\n\nDo not set to `0` to indicate that no one attended the session. Instead, set the `status` field to `NOT_ATTENDED`.\n\nDefault: 1"
|
|
122
|
+
).optional()
|
|
123
|
+
}).describe("Created or updated attendance.").optional()
|
|
124
|
+
});
|
|
125
|
+
var BulkSetAttendanceRequest = z.object({
|
|
126
|
+
options: z.object({
|
|
127
|
+
returnFullEntity: z.boolean().optional(),
|
|
128
|
+
attendanceDetails: z.array(
|
|
129
|
+
z.object({
|
|
130
|
+
attendance: z.object({
|
|
131
|
+
_id: z.string().describe("ID of the `attendance` object.").regex(
|
|
132
|
+
/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,
|
|
133
|
+
"Must be a valid GUID"
|
|
134
|
+
).optional().nullable(),
|
|
135
|
+
bookingId: z.string().describe("Corresponding booking ID.").regex(
|
|
136
|
+
/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,
|
|
137
|
+
"Must be a valid GUID"
|
|
138
|
+
).optional().nullable(),
|
|
139
|
+
sessionId: z.string().describe(
|
|
140
|
+
"Corresponding session ID.\n\nRequired when calling [Set Attendance](https://dev.wix.com/docs/api-reference/business-solutions/bookings/bookings/attendance/set-attendance). The call returns a `SESSION_ID_NOT_PROVIDED` error if this field is omitted. Retrieve the session ID from the booking's slot: `booking.bookedEntity.slot.sessionId`."
|
|
141
|
+
).optional().nullable(),
|
|
142
|
+
status: z.enum(["NOT_SET", "ATTENDED", "NOT_ATTENDED"]).optional(),
|
|
143
|
+
numberOfAttendees: z.number().int().describe(
|
|
144
|
+
"Total number of participants that attended the session. By default, the number\nof attendees is set to `1`, but you can set a number to greater than `1` if multiple\nparticipants attended.\n\nDo not set to `0` to indicate that no one attended the session. Instead, set the `status` field to `NOT_ATTENDED`.\n\nDefault: 1"
|
|
145
|
+
).optional()
|
|
146
|
+
}).describe(
|
|
147
|
+
"Created or updated attendance information for a booking session."
|
|
148
|
+
).optional(),
|
|
149
|
+
participantNotification: z.object({
|
|
150
|
+
notifyParticipants: z.boolean().describe(
|
|
151
|
+
"Specify whether to send a message about the changes to the customer.\n\nDefault: `false`"
|
|
152
|
+
).optional().nullable(),
|
|
153
|
+
message: z.string().describe(
|
|
154
|
+
"Optional custom message to send to the participants about the changes to the booking."
|
|
155
|
+
).min(1).max(5e3).optional().nullable()
|
|
156
|
+
}).describe(
|
|
157
|
+
"Information about whether to send a message to the customer after their attendance was set."
|
|
158
|
+
).optional()
|
|
159
|
+
})
|
|
160
|
+
).max(8).optional()
|
|
161
|
+
}).describe("Options to use when setting multiple attendances in bulk.").optional()
|
|
162
|
+
});
|
|
163
|
+
var BulkSetAttendanceResponse = z.object({
|
|
164
|
+
results: z.array(
|
|
165
|
+
z.object({
|
|
166
|
+
item: z.object({
|
|
167
|
+
_id: z.string().describe("ID of the `attendance` object.").regex(
|
|
168
|
+
/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,
|
|
169
|
+
"Must be a valid GUID"
|
|
170
|
+
).optional().nullable(),
|
|
171
|
+
bookingId: z.string().describe("Corresponding booking ID.").regex(
|
|
172
|
+
/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,
|
|
173
|
+
"Must be a valid GUID"
|
|
174
|
+
).optional().nullable(),
|
|
175
|
+
sessionId: z.string().describe(
|
|
176
|
+
"Corresponding session ID.\n\nRequired when calling [Set Attendance](https://dev.wix.com/docs/api-reference/business-solutions/bookings/bookings/attendance/set-attendance). The call returns a `SESSION_ID_NOT_PROVIDED` error if this field is omitted. Retrieve the session ID from the booking's slot: `booking.bookedEntity.slot.sessionId`."
|
|
177
|
+
).optional().nullable(),
|
|
178
|
+
status: z.enum(["NOT_SET", "ATTENDED", "NOT_ATTENDED"]).describe(
|
|
179
|
+
"Status indicating if any participants attended the session."
|
|
180
|
+
).optional(),
|
|
181
|
+
numberOfAttendees: z.number().int().describe(
|
|
182
|
+
"Total number of participants that attended the session. By default, the number\nof attendees is set to `1`, but you can set a number to greater than `1` if multiple\nparticipants attended.\n\nDo not set to `0` to indicate that no one attended the session. Instead, set the `status` field to `NOT_ATTENDED`.\n\nDefault: 1"
|
|
183
|
+
).optional()
|
|
184
|
+
}).describe("Created or updated `attendance` object.").optional(),
|
|
185
|
+
itemMetadata: z.object({
|
|
186
|
+
_id: z.string().describe(
|
|
187
|
+
"Item ID. Should always be available, unless it's impossible (for example, when failing to create an item)."
|
|
188
|
+
).optional().nullable(),
|
|
189
|
+
originalIndex: z.number().int().describe(
|
|
190
|
+
"Index of the item within the request array. Allows for correlation between request and response items."
|
|
191
|
+
).optional(),
|
|
192
|
+
success: z.boolean().describe(
|
|
193
|
+
"Whether the requested action was successful for this item. When `false`, the `error` field is populated."
|
|
194
|
+
).optional(),
|
|
195
|
+
error: z.object({
|
|
196
|
+
code: z.string().describe("Error code.").optional(),
|
|
197
|
+
description: z.string().describe("Description of the error.").optional(),
|
|
198
|
+
data: z.record(z.string(), z.any()).describe("Data related to the error.").optional().nullable()
|
|
199
|
+
}).describe("Details about the error in case of failure.").optional()
|
|
200
|
+
}).describe("Metadata for the created or updated `attendance` object.").optional()
|
|
201
|
+
})
|
|
202
|
+
).min(1).max(8).optional(),
|
|
203
|
+
bulkActionMetadata: z.object({
|
|
204
|
+
totalSuccesses: z.number().int().describe("Number of items that were successfully processed.").optional(),
|
|
205
|
+
totalFailures: z.number().int().describe("Number of items that couldn't be processed.").optional(),
|
|
206
|
+
undetailedFailures: z.number().int().describe(
|
|
207
|
+
"Number of failures without details because detailed failure threshold was exceeded."
|
|
208
|
+
).optional()
|
|
209
|
+
}).describe(
|
|
210
|
+
"Information about the total number of successes and failures for the Bulk Set Attendance call."
|
|
211
|
+
).optional()
|
|
212
|
+
});
|
|
213
|
+
var QueryAttendanceRequest = z.object({
|
|
214
|
+
query: z.object({
|
|
215
|
+
filter: z.object({
|
|
216
|
+
_id: z.object({
|
|
217
|
+
$eq: z.string(),
|
|
218
|
+
$in: z.array(z.string()),
|
|
219
|
+
$ne: z.string(),
|
|
220
|
+
$nin: z.array(z.string())
|
|
221
|
+
}).partial().strict().optional(),
|
|
222
|
+
bookingId: z.object({
|
|
223
|
+
$eq: z.string(),
|
|
224
|
+
$in: z.array(z.string()),
|
|
225
|
+
$ne: z.string(),
|
|
226
|
+
$nin: z.array(z.string())
|
|
227
|
+
}).partial().strict().optional(),
|
|
228
|
+
sessionId: z.object({
|
|
229
|
+
$eq: z.string(),
|
|
230
|
+
$in: z.array(z.string()),
|
|
231
|
+
$ne: z.string(),
|
|
232
|
+
$nin: z.array(z.string())
|
|
233
|
+
}).partial().strict().optional(),
|
|
234
|
+
status: z.object({
|
|
235
|
+
$eq: z.string(),
|
|
236
|
+
$in: z.array(z.string()),
|
|
237
|
+
$ne: z.string(),
|
|
238
|
+
$nin: z.array(z.string())
|
|
239
|
+
}).partial().strict().optional(),
|
|
240
|
+
numberOfAttendees: z.object({
|
|
241
|
+
$eq: z.number(),
|
|
242
|
+
$gt: z.number(),
|
|
243
|
+
$gte: z.number(),
|
|
244
|
+
$in: z.array(z.number()),
|
|
245
|
+
$lt: z.number(),
|
|
246
|
+
$lte: z.number(),
|
|
247
|
+
$ne: z.number(),
|
|
248
|
+
$nin: z.array(z.number())
|
|
249
|
+
}).partial().strict().optional(),
|
|
250
|
+
$and: z.array(z.any()).optional(),
|
|
251
|
+
$or: z.array(z.any()).optional(),
|
|
252
|
+
$not: z.any().optional()
|
|
253
|
+
}).strict().optional(),
|
|
254
|
+
sort: z.array(
|
|
255
|
+
z.object({
|
|
256
|
+
fieldName: z.enum([
|
|
257
|
+
"_id",
|
|
258
|
+
"bookingId",
|
|
259
|
+
"sessionId",
|
|
260
|
+
"status",
|
|
261
|
+
"numberOfAttendees"
|
|
262
|
+
]).optional(),
|
|
263
|
+
order: z.enum(["ASC", "DESC"]).optional()
|
|
264
|
+
})
|
|
265
|
+
).optional()
|
|
266
|
+
}).catchall(z.any()).describe("Query options.")
|
|
267
|
+
});
|
|
268
|
+
var QueryAttendanceResponse = z.object({
|
|
269
|
+
attendances: z.array(
|
|
270
|
+
z.object({
|
|
271
|
+
_id: z.string().describe("ID of the `attendance` object.").regex(
|
|
272
|
+
/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,
|
|
273
|
+
"Must be a valid GUID"
|
|
274
|
+
).optional().nullable(),
|
|
275
|
+
bookingId: z.string().describe("Corresponding booking ID.").regex(
|
|
276
|
+
/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,
|
|
277
|
+
"Must be a valid GUID"
|
|
278
|
+
).optional().nullable(),
|
|
279
|
+
sessionId: z.string().describe(
|
|
280
|
+
"Corresponding session ID.\n\nRequired when calling [Set Attendance](https://dev.wix.com/docs/api-reference/business-solutions/bookings/bookings/attendance/set-attendance). The call returns a `SESSION_ID_NOT_PROVIDED` error if this field is omitted. Retrieve the session ID from the booking's slot: `booking.bookedEntity.slot.sessionId`."
|
|
281
|
+
).optional().nullable(),
|
|
282
|
+
status: z.enum(["NOT_SET", "ATTENDED", "NOT_ATTENDED"]).describe(
|
|
283
|
+
"Status indicating if any participants attended the session."
|
|
284
|
+
).optional(),
|
|
285
|
+
numberOfAttendees: z.number().int().describe(
|
|
286
|
+
"Total number of participants that attended the session. By default, the number\nof attendees is set to `1`, but you can set a number to greater than `1` if multiple\nparticipants attended.\n\nDo not set to `0` to indicate that no one attended the session. Instead, set the `status` field to `NOT_ATTENDED`.\n\nDefault: 1"
|
|
287
|
+
).optional()
|
|
288
|
+
})
|
|
289
|
+
).optional(),
|
|
290
|
+
pagingMetadata: z.object({
|
|
291
|
+
cursors: z.object({
|
|
292
|
+
next: z.string().describe("Cursor pointing to next page in the list of results.").optional().nullable(),
|
|
293
|
+
prev: z.string().describe(
|
|
294
|
+
"Cursor pointing to previous page in the list of results."
|
|
295
|
+
).optional().nullable()
|
|
296
|
+
}).describe(
|
|
297
|
+
"Use these cursors to paginate between results. [Read more](https://dev.wix.com/api/rest/getting-started/api-query-language#getting-started_api-query-language_cursor-paging)."
|
|
298
|
+
).optional(),
|
|
299
|
+
hasNext: z.boolean().describe(
|
|
300
|
+
"Indicates if there are more results after the current page.\nIf `true`, another page of results can be retrieved.\nIf `false`, this is the last page."
|
|
301
|
+
).optional().nullable()
|
|
302
|
+
}).describe("Metadata for the paged set of results.").optional()
|
|
303
|
+
});
|
|
304
|
+
var CountAttendancesRequest = z.object({
|
|
305
|
+
options: z.object({
|
|
306
|
+
filter: z.record(z.string(), z.any()).describe(
|
|
307
|
+
"Filter criteria for counting attendance records. If not provided, counts all attendance records for the contact."
|
|
308
|
+
).optional().nullable()
|
|
309
|
+
}).optional()
|
|
310
|
+
});
|
|
311
|
+
var CountAttendancesResponse = z.object({
|
|
312
|
+
count: z.number().int().describe("Total number of attendance records matching the filters.").optional()
|
|
313
|
+
});
|
|
314
|
+
var DeleteAttendanceRequest = z.object({
|
|
315
|
+
attendanceId: z.string().describe("ID of the attendance record to delete.").regex(
|
|
316
|
+
/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,
|
|
317
|
+
"Must be a valid GUID"
|
|
318
|
+
)
|
|
319
|
+
});
|
|
320
|
+
var DeleteAttendanceResponse = z.object({});
|
|
321
|
+
var BulkDeleteAttendancesRequest = z.object({
|
|
322
|
+
attendanceIds: z.array(z.string()).min(1).max(8)
|
|
323
|
+
});
|
|
324
|
+
var BulkDeleteAttendancesResponse = z.object({
|
|
325
|
+
results: z.array(
|
|
326
|
+
z.object({
|
|
327
|
+
itemMetadata: z.object({
|
|
328
|
+
_id: z.string().describe(
|
|
329
|
+
"Item ID. Should always be available, unless it's impossible (for example, when failing to create an item)."
|
|
330
|
+
).optional().nullable(),
|
|
331
|
+
originalIndex: z.number().int().describe(
|
|
332
|
+
"Index of the item within the request array. Allows for correlation between request and response items."
|
|
333
|
+
).optional(),
|
|
334
|
+
success: z.boolean().describe(
|
|
335
|
+
"Whether the requested action was successful for this item. When `false`, the `error` field is populated."
|
|
336
|
+
).optional(),
|
|
337
|
+
error: z.object({
|
|
338
|
+
code: z.string().describe("Error code.").optional(),
|
|
339
|
+
description: z.string().describe("Description of the error.").optional(),
|
|
340
|
+
data: z.record(z.string(), z.any()).describe("Data related to the error.").optional().nullable()
|
|
341
|
+
}).describe("Details about the error in case of failure.").optional()
|
|
342
|
+
}).describe("Metadata for the deleted attendance.").optional()
|
|
343
|
+
})
|
|
344
|
+
).min(1).max(8).optional(),
|
|
345
|
+
bulkActionMetadata: z.object({
|
|
346
|
+
totalSuccesses: z.number().int().describe("Number of items that were successfully processed.").optional(),
|
|
347
|
+
totalFailures: z.number().int().describe("Number of items that couldn't be processed.").optional(),
|
|
348
|
+
undetailedFailures: z.number().int().describe(
|
|
349
|
+
"Number of failures without details because detailed failure threshold was exceeded."
|
|
350
|
+
).optional()
|
|
351
|
+
}).describe(
|
|
352
|
+
"Information about the total number of successes and failures for the Bulk Delete Attendances call."
|
|
353
|
+
).optional()
|
|
354
|
+
});
|
|
355
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
356
|
+
0 && (module.exports = {
|
|
357
|
+
BulkDeleteAttendancesRequest,
|
|
358
|
+
BulkDeleteAttendancesResponse,
|
|
359
|
+
BulkSetAttendanceRequest,
|
|
360
|
+
BulkSetAttendanceResponse,
|
|
361
|
+
CountAttendancesRequest,
|
|
362
|
+
CountAttendancesResponse,
|
|
363
|
+
DeleteAttendanceRequest,
|
|
364
|
+
DeleteAttendanceResponse,
|
|
365
|
+
GetAttendanceRequest,
|
|
366
|
+
GetAttendanceResponse,
|
|
367
|
+
QueryAttendanceRequest,
|
|
368
|
+
QueryAttendanceResponse,
|
|
369
|
+
SetAttendanceRequest,
|
|
370
|
+
SetAttendanceResponse
|
|
371
|
+
});
|
|
372
|
+
//# sourceMappingURL=schemas.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../schemas.ts","../../src/bookings-v2-attendance-attendance.schemas.ts"],"sourcesContent":["export * from './src/bookings-v2-attendance-attendance.schemas.js';\n","import * as z from 'zod';\n\nexport const GetAttendanceRequest = z.object({\n attendanceId: z\n .string()\n .describe('ID of the attendance object to retrieve.')\n .regex(\n /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,\n 'Must be a valid GUID'\n ),\n});\nexport const GetAttendanceResponse = z.object({\n _id: z\n .string()\n .describe('ID of the `attendance` object.')\n .regex(\n /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,\n 'Must be a valid GUID'\n )\n .optional()\n .nullable(),\n bookingId: z\n .string()\n .describe('Corresponding booking ID.')\n .regex(\n /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,\n 'Must be a valid GUID'\n )\n .optional()\n .nullable(),\n sessionId: z\n .string()\n .describe(\n \"Corresponding session ID.\\n\\nRequired when calling [Set Attendance](https://dev.wix.com/docs/api-reference/business-solutions/bookings/bookings/attendance/set-attendance). The call returns a `SESSION_ID_NOT_PROVIDED` error if this field is omitted. Retrieve the session ID from the booking's slot: `booking.bookedEntity.slot.sessionId`.\"\n )\n .optional()\n .nullable(),\n status: z\n .enum(['NOT_SET', 'ATTENDED', 'NOT_ATTENDED'])\n .describe('Status indicating if any participants attended the session.')\n .optional(),\n numberOfAttendees: z\n .number()\n .int()\n .describe(\n 'Total number of participants that attended the session. By default, the number\\nof attendees is set to `1`, but you can set a number to greater than `1` if multiple\\nparticipants attended.\\n\\nDo not set to `0` to indicate that no one attended the session. Instead, set the `status` field to `NOT_ATTENDED`.\\n\\nDefault: 1'\n )\n .optional(),\n});\nexport const SetAttendanceRequest = z.object({\n attendance: z\n .object({\n _id: z\n .string()\n .describe('ID of the `attendance` object.')\n .regex(\n /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,\n 'Must be a valid GUID'\n )\n .optional()\n .nullable(),\n bookingId: z\n .string()\n .describe('Corresponding booking ID.')\n .regex(\n /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,\n 'Must be a valid GUID'\n ),\n sessionId: z\n .string()\n .describe(\n \"Corresponding session ID.\\n\\nRequired when calling [Set Attendance](https://dev.wix.com/docs/api-reference/business-solutions/bookings/bookings/attendance/set-attendance). The call returns a `SESSION_ID_NOT_PROVIDED` error if this field is omitted. Retrieve the session ID from the booking's slot: `booking.bookedEntity.slot.sessionId`.\"\n )\n .optional()\n .nullable(),\n status: z.enum(['NOT_SET', 'ATTENDED', 'NOT_ATTENDED']),\n numberOfAttendees: z\n .number()\n .int()\n .describe(\n 'Total number of participants that attended the session. By default, the number\\nof attendees is set to `1`, but you can set a number to greater than `1` if multiple\\nparticipants attended.\\n\\nDo not set to `0` to indicate that no one attended the session. Instead, set the `status` field to `NOT_ATTENDED`.\\n\\nDefault: 1'\n )\n .optional(),\n })\n .describe('Attendance to create or update.'),\n options: z\n .object({\n participantNotification: z\n .object({\n notifyParticipants: z\n .boolean()\n .describe(\n 'Specify whether to send a message about the changes to the customer.\\n\\nDefault: `false`'\n )\n .optional()\n .nullable(),\n message: z\n .string()\n .describe(\n 'Optional custom message to send to the participants about the changes to the booking.'\n )\n .min(1)\n .max(5000)\n .optional()\n .nullable(),\n })\n .describe(\n 'Information about whether to send a message to a customer after their attendance was set.'\n )\n .optional(),\n })\n .describe('Options to use when setting an attendance.')\n .optional(),\n});\nexport const SetAttendanceResponse = z.object({\n attendance: z\n .object({\n _id: z\n .string()\n .describe('ID of the `attendance` object.')\n .regex(\n /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,\n 'Must be a valid GUID'\n )\n .optional()\n .nullable(),\n bookingId: z\n .string()\n .describe('Corresponding booking ID.')\n .regex(\n /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,\n 'Must be a valid GUID'\n )\n .optional()\n .nullable(),\n sessionId: z\n .string()\n .describe(\n \"Corresponding session ID.\\n\\nRequired when calling [Set Attendance](https://dev.wix.com/docs/api-reference/business-solutions/bookings/bookings/attendance/set-attendance). The call returns a `SESSION_ID_NOT_PROVIDED` error if this field is omitted. Retrieve the session ID from the booking's slot: `booking.bookedEntity.slot.sessionId`.\"\n )\n .optional()\n .nullable(),\n status: z\n .enum(['NOT_SET', 'ATTENDED', 'NOT_ATTENDED'])\n .describe('Status indicating if any participants attended the session.')\n .optional(),\n numberOfAttendees: z\n .number()\n .int()\n .describe(\n 'Total number of participants that attended the session. By default, the number\\nof attendees is set to `1`, but you can set a number to greater than `1` if multiple\\nparticipants attended.\\n\\nDo not set to `0` to indicate that no one attended the session. Instead, set the `status` field to `NOT_ATTENDED`.\\n\\nDefault: 1'\n )\n .optional(),\n })\n .describe('Created or updated attendance.')\n .optional(),\n});\nexport const BulkSetAttendanceRequest = z.object({\n options: z\n .object({\n returnFullEntity: z.boolean().optional(),\n attendanceDetails: z\n .array(\n z.object({\n attendance: z\n .object({\n _id: z\n .string()\n .describe('ID of the `attendance` object.')\n .regex(\n /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,\n 'Must be a valid GUID'\n )\n .optional()\n .nullable(),\n bookingId: z\n .string()\n .describe('Corresponding booking ID.')\n .regex(\n /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,\n 'Must be a valid GUID'\n )\n .optional()\n .nullable(),\n sessionId: z\n .string()\n .describe(\n \"Corresponding session ID.\\n\\nRequired when calling [Set Attendance](https://dev.wix.com/docs/api-reference/business-solutions/bookings/bookings/attendance/set-attendance). The call returns a `SESSION_ID_NOT_PROVIDED` error if this field is omitted. Retrieve the session ID from the booking's slot: `booking.bookedEntity.slot.sessionId`.\"\n )\n .optional()\n .nullable(),\n status: z\n .enum(['NOT_SET', 'ATTENDED', 'NOT_ATTENDED'])\n .optional(),\n numberOfAttendees: z\n .number()\n .int()\n .describe(\n 'Total number of participants that attended the session. By default, the number\\nof attendees is set to `1`, but you can set a number to greater than `1` if multiple\\nparticipants attended.\\n\\nDo not set to `0` to indicate that no one attended the session. Instead, set the `status` field to `NOT_ATTENDED`.\\n\\nDefault: 1'\n )\n .optional(),\n })\n .describe(\n 'Created or updated attendance information for a booking session.'\n )\n .optional(),\n participantNotification: z\n .object({\n notifyParticipants: z\n .boolean()\n .describe(\n 'Specify whether to send a message about the changes to the customer.\\n\\nDefault: `false`'\n )\n .optional()\n .nullable(),\n message: z\n .string()\n .describe(\n 'Optional custom message to send to the participants about the changes to the booking.'\n )\n .min(1)\n .max(5000)\n .optional()\n .nullable(),\n })\n .describe(\n 'Information about whether to send a message to the customer after their attendance was set.'\n )\n .optional(),\n })\n )\n .max(8)\n .optional(),\n })\n .describe('Options to use when setting multiple attendances in bulk.')\n .optional(),\n});\nexport const BulkSetAttendanceResponse = z.object({\n results: z\n .array(\n z.object({\n item: z\n .object({\n _id: z\n .string()\n .describe('ID of the `attendance` object.')\n .regex(\n /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,\n 'Must be a valid GUID'\n )\n .optional()\n .nullable(),\n bookingId: z\n .string()\n .describe('Corresponding booking ID.')\n .regex(\n /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,\n 'Must be a valid GUID'\n )\n .optional()\n .nullable(),\n sessionId: z\n .string()\n .describe(\n \"Corresponding session ID.\\n\\nRequired when calling [Set Attendance](https://dev.wix.com/docs/api-reference/business-solutions/bookings/bookings/attendance/set-attendance). The call returns a `SESSION_ID_NOT_PROVIDED` error if this field is omitted. Retrieve the session ID from the booking's slot: `booking.bookedEntity.slot.sessionId`.\"\n )\n .optional()\n .nullable(),\n status: z\n .enum(['NOT_SET', 'ATTENDED', 'NOT_ATTENDED'])\n .describe(\n 'Status indicating if any participants attended the session.'\n )\n .optional(),\n numberOfAttendees: z\n .number()\n .int()\n .describe(\n 'Total number of participants that attended the session. By default, the number\\nof attendees is set to `1`, but you can set a number to greater than `1` if multiple\\nparticipants attended.\\n\\nDo not set to `0` to indicate that no one attended the session. Instead, set the `status` field to `NOT_ATTENDED`.\\n\\nDefault: 1'\n )\n .optional(),\n })\n .describe('Created or updated `attendance` object.')\n .optional(),\n itemMetadata: z\n .object({\n _id: z\n .string()\n .describe(\n \"Item ID. Should always be available, unless it's impossible (for example, when failing to create an item).\"\n )\n .optional()\n .nullable(),\n originalIndex: z\n .number()\n .int()\n .describe(\n 'Index of the item within the request array. Allows for correlation between request and response items.'\n )\n .optional(),\n success: z\n .boolean()\n .describe(\n 'Whether the requested action was successful for this item. When `false`, the `error` field is populated.'\n )\n .optional(),\n error: z\n .object({\n code: z.string().describe('Error code.').optional(),\n description: z\n .string()\n .describe('Description of the error.')\n .optional(),\n data: z\n .record(z.string(), z.any())\n .describe('Data related to the error.')\n .optional()\n .nullable(),\n })\n .describe('Details about the error in case of failure.')\n .optional(),\n })\n .describe('Metadata for the created or updated `attendance` object.')\n .optional(),\n })\n )\n .min(1)\n .max(8)\n .optional(),\n bulkActionMetadata: z\n .object({\n totalSuccesses: z\n .number()\n .int()\n .describe('Number of items that were successfully processed.')\n .optional(),\n totalFailures: z\n .number()\n .int()\n .describe(\"Number of items that couldn't be processed.\")\n .optional(),\n undetailedFailures: z\n .number()\n .int()\n .describe(\n 'Number of failures without details because detailed failure threshold was exceeded.'\n )\n .optional(),\n })\n .describe(\n 'Information about the total number of successes and failures for the Bulk Set Attendance call.'\n )\n .optional(),\n});\nexport const QueryAttendanceRequest = z.object({\n query: z\n .object({\n filter: z\n .object({\n _id: z\n .object({\n $eq: z.string(),\n $in: z.array(z.string()),\n $ne: z.string(),\n $nin: z.array(z.string()),\n })\n .partial()\n .strict()\n .optional(),\n bookingId: z\n .object({\n $eq: z.string(),\n $in: z.array(z.string()),\n $ne: z.string(),\n $nin: z.array(z.string()),\n })\n .partial()\n .strict()\n .optional(),\n sessionId: z\n .object({\n $eq: z.string(),\n $in: z.array(z.string()),\n $ne: z.string(),\n $nin: z.array(z.string()),\n })\n .partial()\n .strict()\n .optional(),\n status: z\n .object({\n $eq: z.string(),\n $in: z.array(z.string()),\n $ne: z.string(),\n $nin: z.array(z.string()),\n })\n .partial()\n .strict()\n .optional(),\n numberOfAttendees: z\n .object({\n $eq: z.number(),\n $gt: z.number(),\n $gte: z.number(),\n $in: z.array(z.number()),\n $lt: z.number(),\n $lte: z.number(),\n $ne: z.number(),\n $nin: z.array(z.number()),\n })\n .partial()\n .strict()\n .optional(),\n $and: z.array(z.any()).optional(),\n $or: z.array(z.any()).optional(),\n $not: z.any().optional(),\n })\n .strict()\n .optional(),\n sort: z\n .array(\n z.object({\n fieldName: z\n .enum([\n '_id',\n 'bookingId',\n 'sessionId',\n 'status',\n 'numberOfAttendees',\n ])\n .optional(),\n order: z.enum(['ASC', 'DESC']).optional(),\n })\n )\n .optional(),\n })\n .catchall(z.any())\n .describe('Query options.'),\n});\nexport const QueryAttendanceResponse = z.object({\n attendances: z\n .array(\n z.object({\n _id: z\n .string()\n .describe('ID of the `attendance` object.')\n .regex(\n /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,\n 'Must be a valid GUID'\n )\n .optional()\n .nullable(),\n bookingId: z\n .string()\n .describe('Corresponding booking ID.')\n .regex(\n /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,\n 'Must be a valid GUID'\n )\n .optional()\n .nullable(),\n sessionId: z\n .string()\n .describe(\n \"Corresponding session ID.\\n\\nRequired when calling [Set Attendance](https://dev.wix.com/docs/api-reference/business-solutions/bookings/bookings/attendance/set-attendance). The call returns a `SESSION_ID_NOT_PROVIDED` error if this field is omitted. Retrieve the session ID from the booking's slot: `booking.bookedEntity.slot.sessionId`.\"\n )\n .optional()\n .nullable(),\n status: z\n .enum(['NOT_SET', 'ATTENDED', 'NOT_ATTENDED'])\n .describe(\n 'Status indicating if any participants attended the session.'\n )\n .optional(),\n numberOfAttendees: z\n .number()\n .int()\n .describe(\n 'Total number of participants that attended the session. By default, the number\\nof attendees is set to `1`, but you can set a number to greater than `1` if multiple\\nparticipants attended.\\n\\nDo not set to `0` to indicate that no one attended the session. Instead, set the `status` field to `NOT_ATTENDED`.\\n\\nDefault: 1'\n )\n .optional(),\n })\n )\n .optional(),\n pagingMetadata: z\n .object({\n cursors: z\n .object({\n next: z\n .string()\n .describe('Cursor pointing to next page in the list of results.')\n .optional()\n .nullable(),\n prev: z\n .string()\n .describe(\n 'Cursor pointing to previous page in the list of results.'\n )\n .optional()\n .nullable(),\n })\n .describe(\n 'Use these cursors to paginate between results. [Read more](https://dev.wix.com/api/rest/getting-started/api-query-language#getting-started_api-query-language_cursor-paging).'\n )\n .optional(),\n hasNext: z\n .boolean()\n .describe(\n 'Indicates if there are more results after the current page.\\nIf `true`, another page of results can be retrieved.\\nIf `false`, this is the last page.'\n )\n .optional()\n .nullable(),\n })\n .describe('Metadata for the paged set of results.')\n .optional(),\n});\nexport const CountAttendancesRequest = z.object({\n options: z\n .object({\n filter: z\n .record(z.string(), z.any())\n .describe(\n 'Filter criteria for counting attendance records. If not provided, counts all attendance records for the contact.'\n )\n .optional()\n .nullable(),\n })\n .optional(),\n});\nexport const CountAttendancesResponse = z.object({\n count: z\n .number()\n .int()\n .describe('Total number of attendance records matching the filters.')\n .optional(),\n});\nexport const DeleteAttendanceRequest = z.object({\n attendanceId: z\n .string()\n .describe('ID of the attendance record to delete.')\n .regex(\n /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,\n 'Must be a valid GUID'\n ),\n});\nexport const DeleteAttendanceResponse = z.object({});\nexport const BulkDeleteAttendancesRequest = z.object({\n attendanceIds: z.array(z.string()).min(1).max(8),\n});\nexport const BulkDeleteAttendancesResponse = z.object({\n results: z\n .array(\n z.object({\n itemMetadata: z\n .object({\n _id: z\n .string()\n .describe(\n \"Item ID. Should always be available, unless it's impossible (for example, when failing to create an item).\"\n )\n .optional()\n .nullable(),\n originalIndex: z\n .number()\n .int()\n .describe(\n 'Index of the item within the request array. Allows for correlation between request and response items.'\n )\n .optional(),\n success: z\n .boolean()\n .describe(\n 'Whether the requested action was successful for this item. When `false`, the `error` field is populated.'\n )\n .optional(),\n error: z\n .object({\n code: z.string().describe('Error code.').optional(),\n description: z\n .string()\n .describe('Description of the error.')\n .optional(),\n data: z\n .record(z.string(), z.any())\n .describe('Data related to the error.')\n .optional()\n .nullable(),\n })\n .describe('Details about the error in case of failure.')\n .optional(),\n })\n .describe('Metadata for the deleted attendance.')\n .optional(),\n })\n )\n .min(1)\n .max(8)\n .optional(),\n bulkActionMetadata: z\n .object({\n totalSuccesses: z\n .number()\n .int()\n .describe('Number of items that were successfully processed.')\n .optional(),\n totalFailures: z\n .number()\n .int()\n .describe(\"Number of items that couldn't be processed.\")\n .optional(),\n undetailedFailures: z\n .number()\n .int()\n .describe(\n 'Number of failures without details because detailed failure threshold was exceeded.'\n )\n .optional(),\n })\n .describe(\n 'Information about the total number of successes and failures for the Bulk Delete Attendances call.'\n )\n .optional(),\n});\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAA,QAAmB;AAEZ,IAAM,uBAAyB,SAAO;AAAA,EAC3C,cACG,SAAO,EACP,SAAS,0CAA0C,EACnD;AAAA,IACC;AAAA,IACA;AAAA,EACF;AACJ,CAAC;AACM,IAAM,wBAA0B,SAAO;AAAA,EAC5C,KACG,SAAO,EACP,SAAS,gCAAgC,EACzC;A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