order3000 2.1.0 → 2.1.2
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/dist/client.d.cts +2 -2
- package/dist/client.d.mts +2 -2
- package/dist/{index-CIlIk5F6.d.cts → index-hOWwvbI6.d.cts} +112 -10
- package/dist/{index-CIlIk5F6.d.mts → index-hOWwvbI6.d.mts} +112 -10
- package/dist/menu.d.cts +1 -1
- package/dist/menu.d.mts +1 -1
- package/dist/schemas.cjs +242 -20
- package/dist/schemas.d.cts +207 -28
- package/dist/schemas.d.mts +207 -28
- package/dist/schemas.mjs +242 -20
- package/package.json +4 -4
package/dist/schemas.cjs
CHANGED
|
@@ -49,7 +49,7 @@ const adOwnerTypeSchema = v4.z.enum([
|
|
|
49
49
|
"menu"
|
|
50
50
|
]);
|
|
51
51
|
|
|
52
|
-
const adStatusSchema = v4.z.enum(["draft", "ready"
|
|
52
|
+
const adStatusSchema = v4.z.enum(["draft", "ready"]);
|
|
53
53
|
|
|
54
54
|
const unitSchema = v4.z.enum([
|
|
55
55
|
"grams",
|
|
@@ -143,6 +143,13 @@ const additiveFunctionSchema = v4.z.enum([
|
|
|
143
143
|
"thickener"
|
|
144
144
|
]);
|
|
145
145
|
|
|
146
|
+
const appointmentStatusSchema = v4.z.enum([
|
|
147
|
+
"booked",
|
|
148
|
+
"cancelled",
|
|
149
|
+
"completed",
|
|
150
|
+
"no_show"
|
|
151
|
+
]);
|
|
152
|
+
|
|
146
153
|
const areaBookingModeSchema = v4.z.enum(["slot", "day"]);
|
|
147
154
|
|
|
148
155
|
const areaBookingRequestSourceSchema = v4.z.enum([
|
|
@@ -208,6 +215,16 @@ const areaSchema = v4.z.object({
|
|
|
208
215
|
},
|
|
209
216
|
turnTimes: v4.z.object({}).catchall(v4.z.number()).nullish(),
|
|
210
217
|
cleanup: v4.z.int().min(-9007199254740991).max(9007199254740991).nullish(),
|
|
218
|
+
usages: v4.z.optional(
|
|
219
|
+
v4.z.array(
|
|
220
|
+
v4.z.object({
|
|
221
|
+
type: v4.z.string(),
|
|
222
|
+
count: v4.z.number(),
|
|
223
|
+
name: v4.z.optional(v4.z.string()),
|
|
224
|
+
href: v4.z.optional(v4.z.string())
|
|
225
|
+
})
|
|
226
|
+
)
|
|
227
|
+
),
|
|
211
228
|
assets: v4.z.optional(
|
|
212
229
|
v4.z.array(
|
|
213
230
|
v4.z.object({
|
|
@@ -314,6 +331,10 @@ const assetWithPublicUrlSchema = v4.z.object({
|
|
|
314
331
|
publicUrl: v4.z.nullable(v4.z.string())
|
|
315
332
|
});
|
|
316
333
|
|
|
334
|
+
const auditActorTypeSchema = v4.z.enum(["user", "system"]);
|
|
335
|
+
|
|
336
|
+
const auditCategorySchema = v4.z.enum(["documents", "inbox", "team"]);
|
|
337
|
+
|
|
317
338
|
const autoExtendFulfillmentIfExpiredRequestSchema = v4.z.object({
|
|
318
339
|
publicId: v4.z.string().min(1),
|
|
319
340
|
sessionId: v4.z.string().min(1),
|
|
@@ -330,7 +351,7 @@ const autoExtendFulfillmentIfExpiredResponseSchema = v4.z.object({
|
|
|
330
351
|
waitingCount: v4.z.int().min(0).max(9007199254740991)
|
|
331
352
|
});
|
|
332
353
|
|
|
333
|
-
const bankAccountStatusSchema = v4.z.enum(["active", "
|
|
354
|
+
const bankAccountStatusSchema = v4.z.enum(["active", "closed"]);
|
|
334
355
|
|
|
335
356
|
const basketStatusSchema = v4.z.enum(["active", "abandoned", "converted"]);
|
|
336
357
|
|
|
@@ -392,6 +413,15 @@ const cancellationReasonSchema = v4.z.enum([
|
|
|
392
413
|
"restaurant_request"
|
|
393
414
|
]);
|
|
394
415
|
|
|
416
|
+
const chatChannelTypeSchema = v4.z.enum([
|
|
417
|
+
"team",
|
|
418
|
+
"direct",
|
|
419
|
+
"subject",
|
|
420
|
+
"external"
|
|
421
|
+
]);
|
|
422
|
+
|
|
423
|
+
const chatMemberRoleSchema = v4.z.enum(["owner", "member"]);
|
|
424
|
+
|
|
395
425
|
const composeMenuPublicationBookletRequestSchema = v4.z.object({
|
|
396
426
|
venueAccessor: v4.z.string().min(1),
|
|
397
427
|
bookletAccessor: v4.z.optional(v4.z.string().min(1)),
|
|
@@ -569,7 +599,9 @@ const createCalloutResponseSchema = v4.z.object({
|
|
|
569
599
|
createdBy: v4.z.nullable(v4.z.string()),
|
|
570
600
|
updatedBy: v4.z.nullable(v4.z.string()),
|
|
571
601
|
createdAt: v4.z.any(),
|
|
572
|
-
updatedAt: v4.z.any()
|
|
602
|
+
updatedAt: v4.z.any(),
|
|
603
|
+
archivedAt: v4.z.nullable(v4.z.any()),
|
|
604
|
+
archivedBy: v4.z.nullable(v4.z.string())
|
|
573
605
|
});
|
|
574
606
|
|
|
575
607
|
const createDeltaPaymentIntentRequestSchema = v4.z.object({
|
|
@@ -644,6 +676,8 @@ const createEventRequestSchema = v4.z.object({
|
|
|
644
676
|
v4.z.array(v4.z.any()),
|
|
645
677
|
v4.z.object({}).catchall(v4.z.any())
|
|
646
678
|
]).nullish(),
|
|
679
|
+
archivedAt: v4.z.any().nullish(),
|
|
680
|
+
archivedBy: v4.z.string().nullish(),
|
|
647
681
|
schedule: v4.z.object({
|
|
648
682
|
rrule: v4.z.string().nullish(),
|
|
649
683
|
timezone: v4.z.string().nullish(),
|
|
@@ -715,7 +749,9 @@ const createEventResponseSchema = v4.z.object({
|
|
|
715
749
|
createdBy: v4.z.nullable(v4.z.string()),
|
|
716
750
|
updatedBy: v4.z.nullable(v4.z.string()),
|
|
717
751
|
createdAt: v4.z.nullable(v4.z.any()),
|
|
718
|
-
updatedAt: v4.z.nullable(v4.z.any())
|
|
752
|
+
updatedAt: v4.z.nullable(v4.z.any()),
|
|
753
|
+
archivedAt: v4.z.nullable(v4.z.any()),
|
|
754
|
+
archivedBy: v4.z.nullable(v4.z.string())
|
|
719
755
|
}).describe("Successfully created event");
|
|
720
756
|
|
|
721
757
|
const createMenuPublicationRequestSchema = v4.z.object({
|
|
@@ -884,7 +920,9 @@ const createWebsitePageResponseSchema = v4.z.object({
|
|
|
884
920
|
createdBy: v4.z.nullable(v4.z.string()),
|
|
885
921
|
updatedBy: v4.z.nullable(v4.z.string()),
|
|
886
922
|
createdAt: v4.z.any(),
|
|
887
|
-
updatedAt: v4.z.any()
|
|
923
|
+
updatedAt: v4.z.any(),
|
|
924
|
+
archivedAt: v4.z.nullable(v4.z.any()),
|
|
925
|
+
archivedBy: v4.z.nullable(v4.z.string())
|
|
888
926
|
});
|
|
889
927
|
|
|
890
928
|
const dayOfWeekSchema = v4.z.enum([
|
|
@@ -1020,7 +1058,9 @@ const deleteCalloutResponseSchema = v4.z.object({
|
|
|
1020
1058
|
createdBy: v4.z.nullable(v4.z.string()),
|
|
1021
1059
|
updatedBy: v4.z.nullable(v4.z.string()),
|
|
1022
1060
|
createdAt: v4.z.any(),
|
|
1023
|
-
updatedAt: v4.z.any()
|
|
1061
|
+
updatedAt: v4.z.any(),
|
|
1062
|
+
archivedAt: v4.z.nullable(v4.z.any()),
|
|
1063
|
+
archivedBy: v4.z.nullable(v4.z.string())
|
|
1024
1064
|
});
|
|
1025
1065
|
|
|
1026
1066
|
const deleteEventResponseSchema = v4.z.object({
|
|
@@ -1070,7 +1110,9 @@ const deleteEventResponseSchema = v4.z.object({
|
|
|
1070
1110
|
createdBy: v4.z.nullable(v4.z.string()),
|
|
1071
1111
|
updatedBy: v4.z.nullable(v4.z.string()),
|
|
1072
1112
|
createdAt: v4.z.nullable(v4.z.any()),
|
|
1073
|
-
updatedAt: v4.z.nullable(v4.z.any())
|
|
1113
|
+
updatedAt: v4.z.nullable(v4.z.any()),
|
|
1114
|
+
archivedAt: v4.z.nullable(v4.z.any()),
|
|
1115
|
+
archivedBy: v4.z.nullable(v4.z.string())
|
|
1074
1116
|
});
|
|
1075
1117
|
|
|
1076
1118
|
const deleteWebsitePageResponseSchema = v4.z.object({
|
|
@@ -1092,7 +1134,9 @@ const deleteWebsitePageResponseSchema = v4.z.object({
|
|
|
1092
1134
|
createdBy: v4.z.nullable(v4.z.string()),
|
|
1093
1135
|
updatedBy: v4.z.nullable(v4.z.string()),
|
|
1094
1136
|
createdAt: v4.z.any(),
|
|
1095
|
-
updatedAt: v4.z.any()
|
|
1137
|
+
updatedAt: v4.z.any(),
|
|
1138
|
+
archivedAt: v4.z.nullable(v4.z.any()),
|
|
1139
|
+
archivedBy: v4.z.nullable(v4.z.string())
|
|
1096
1140
|
});
|
|
1097
1141
|
|
|
1098
1142
|
const depositTransactionTypeSchema = v4.z.enum([
|
|
@@ -1118,6 +1162,20 @@ const directionXSchema = v4.z.enum(["left", "right"]);
|
|
|
1118
1162
|
|
|
1119
1163
|
const directionYSchema = v4.z.enum(["up", "down"]);
|
|
1120
1164
|
|
|
1165
|
+
const documentAccessTypeSchema = v4.z.enum(["view", "download", "sent"]);
|
|
1166
|
+
|
|
1167
|
+
const documentClassificationStateSchema = v4.z.enum([
|
|
1168
|
+
"unclassified",
|
|
1169
|
+
"proposed",
|
|
1170
|
+
"confirmed"
|
|
1171
|
+
]);
|
|
1172
|
+
|
|
1173
|
+
const documentDuplicateStatusSchema = v4.z.enum([
|
|
1174
|
+
"suggested",
|
|
1175
|
+
"confirmed",
|
|
1176
|
+
"dismissed"
|
|
1177
|
+
]);
|
|
1178
|
+
|
|
1121
1179
|
const documentIdentifierPositionSchema = v4.z.enum([
|
|
1122
1180
|
"footer_left",
|
|
1123
1181
|
"footer_split",
|
|
@@ -1133,6 +1191,66 @@ const documentPageNumberPositionSchema = v4.z.enum([
|
|
|
1133
1191
|
"bottom_right"
|
|
1134
1192
|
]);
|
|
1135
1193
|
|
|
1194
|
+
const documentProcessingStatusSchema = v4.z.enum([
|
|
1195
|
+
"pending",
|
|
1196
|
+
"processing",
|
|
1197
|
+
"completed",
|
|
1198
|
+
"failed"
|
|
1199
|
+
]);
|
|
1200
|
+
|
|
1201
|
+
const documentRelationProvenanceSchema = v4.z.enum([
|
|
1202
|
+
"rule",
|
|
1203
|
+
"model",
|
|
1204
|
+
"user"
|
|
1205
|
+
]);
|
|
1206
|
+
|
|
1207
|
+
const documentRelationStatusSchema = v4.z.enum([
|
|
1208
|
+
"suggested",
|
|
1209
|
+
"confirmed",
|
|
1210
|
+
"rejected"
|
|
1211
|
+
]);
|
|
1212
|
+
|
|
1213
|
+
const documentRelationTypeSchema = v4.z.enum([
|
|
1214
|
+
"reminder_for",
|
|
1215
|
+
"delivery_note_for",
|
|
1216
|
+
"credit_note_for",
|
|
1217
|
+
"confirmation_for",
|
|
1218
|
+
"invoice_for",
|
|
1219
|
+
"correction_of",
|
|
1220
|
+
"related_to"
|
|
1221
|
+
]);
|
|
1222
|
+
|
|
1223
|
+
const documentSourceSchema = v4.z.enum([
|
|
1224
|
+
"upload",
|
|
1225
|
+
"scan",
|
|
1226
|
+
"email",
|
|
1227
|
+
"elster",
|
|
1228
|
+
"generated"
|
|
1229
|
+
]);
|
|
1230
|
+
|
|
1231
|
+
const documentSubjectTypeSchema = v4.z.enum([
|
|
1232
|
+
"venue",
|
|
1233
|
+
"party",
|
|
1234
|
+
"reservation",
|
|
1235
|
+
"order",
|
|
1236
|
+
"event",
|
|
1237
|
+
"message"
|
|
1238
|
+
]);
|
|
1239
|
+
|
|
1240
|
+
const documentTypeSchema = v4.z.enum([
|
|
1241
|
+
"supplier_invoice",
|
|
1242
|
+
"receipt",
|
|
1243
|
+
"delivery_note",
|
|
1244
|
+
"credit_note",
|
|
1245
|
+
"bank_statement",
|
|
1246
|
+
"contract",
|
|
1247
|
+
"official_letter",
|
|
1248
|
+
"permit",
|
|
1249
|
+
"hygiene_certificate",
|
|
1250
|
+
"staff_document",
|
|
1251
|
+
"other"
|
|
1252
|
+
]);
|
|
1253
|
+
|
|
1136
1254
|
const documentTypographySchema = v4.z.enum([
|
|
1137
1255
|
"serif",
|
|
1138
1256
|
"sans",
|
|
@@ -1543,7 +1661,9 @@ const editDishResponseSchema = v4.z.object({
|
|
|
1543
1661
|
updatedAt: v4.z.nullable(v4.z.any()),
|
|
1544
1662
|
updatedBy: v4.z.nullable(v4.z.string()),
|
|
1545
1663
|
createdAt: v4.z.nullable(v4.z.any()),
|
|
1546
|
-
createdBy: v4.z.nullable(v4.z.string())
|
|
1664
|
+
createdBy: v4.z.nullable(v4.z.string()),
|
|
1665
|
+
archivedAt: v4.z.nullable(v4.z.any()),
|
|
1666
|
+
archivedBy: v4.z.nullable(v4.z.string())
|
|
1547
1667
|
});
|
|
1548
1668
|
|
|
1549
1669
|
const editEventRequestSchema = v4.z.object({
|
|
@@ -1583,6 +1703,8 @@ const editEventRequestSchema = v4.z.object({
|
|
|
1583
1703
|
v4.z.array(v4.z.any()),
|
|
1584
1704
|
v4.z.object({}).catchall(v4.z.any())
|
|
1585
1705
|
]).nullish(),
|
|
1706
|
+
archivedAt: v4.z.any().nullish(),
|
|
1707
|
+
archivedBy: v4.z.string().nullish(),
|
|
1586
1708
|
schedule: v4.z.object({
|
|
1587
1709
|
rrule: v4.z.string().nullish(),
|
|
1588
1710
|
timezone: v4.z.string().nullish(),
|
|
@@ -1801,6 +1923,8 @@ const editEventResponseSchema = v4.z.object({
|
|
|
1801
1923
|
updatedBy: v4.z.nullable(v4.z.string()),
|
|
1802
1924
|
createdAt: v4.z.nullable(v4.z.any()),
|
|
1803
1925
|
updatedAt: v4.z.nullable(v4.z.any()),
|
|
1926
|
+
archivedAt: v4.z.nullable(v4.z.any()),
|
|
1927
|
+
archivedBy: v4.z.nullable(v4.z.string()),
|
|
1804
1928
|
get schedule() {
|
|
1805
1929
|
return scheduleSchema.nullable();
|
|
1806
1930
|
}
|
|
@@ -1984,7 +2108,7 @@ const featureCategorySchema = v4.z.enum([
|
|
|
1984
2108
|
"venues"
|
|
1985
2109
|
]);
|
|
1986
2110
|
|
|
1987
|
-
const featureGateSchema = v4.z.enum(["
|
|
2111
|
+
const featureGateSchema = v4.z.enum(["vanity-email"]);
|
|
1988
2112
|
|
|
1989
2113
|
const featureStatusSchema = v4.z.enum([
|
|
1990
2114
|
"backlog",
|
|
@@ -2269,6 +2393,16 @@ const fetchAreaResponseSchema = v4.z.object({
|
|
|
2269
2393
|
},
|
|
2270
2394
|
turnTimes: v4.z.object({}).catchall(v4.z.number()).nullish(),
|
|
2271
2395
|
cleanup: v4.z.int().min(-9007199254740991).max(9007199254740991).nullish(),
|
|
2396
|
+
usages: v4.z.optional(
|
|
2397
|
+
v4.z.array(
|
|
2398
|
+
v4.z.object({
|
|
2399
|
+
type: v4.z.string(),
|
|
2400
|
+
count: v4.z.number(),
|
|
2401
|
+
name: v4.z.optional(v4.z.string()),
|
|
2402
|
+
href: v4.z.optional(v4.z.string())
|
|
2403
|
+
})
|
|
2404
|
+
)
|
|
2405
|
+
),
|
|
2272
2406
|
assets: v4.z.optional(
|
|
2273
2407
|
v4.z.array(
|
|
2274
2408
|
v4.z.object({
|
|
@@ -2611,6 +2745,8 @@ const fetchDishResponseSchema = v4.z.object({
|
|
|
2611
2745
|
updatedBy: v4.z.nullable(v4.z.string()),
|
|
2612
2746
|
createdAt: v4.z.nullable(v4.z.any()),
|
|
2613
2747
|
createdBy: v4.z.nullable(v4.z.string()),
|
|
2748
|
+
archivedAt: v4.z.nullable(v4.z.any()),
|
|
2749
|
+
archivedBy: v4.z.nullable(v4.z.string()),
|
|
2614
2750
|
get assets() {
|
|
2615
2751
|
return v4.z.array(assetWithPublicUrlSchema);
|
|
2616
2752
|
}
|
|
@@ -2908,6 +3044,16 @@ const fetchEventsResponseSchema = v4.z.array(
|
|
|
2908
3044
|
currentRedemptions: v4.z.nullable(v4.z.number()),
|
|
2909
3045
|
timeSlotIds: v4.z.nullable(v4.z.array(v4.z.string()))
|
|
2910
3046
|
})
|
|
3047
|
+
),
|
|
3048
|
+
usages: v4.z.optional(
|
|
3049
|
+
v4.z.array(
|
|
3050
|
+
v4.z.object({
|
|
3051
|
+
type: v4.z.string(),
|
|
3052
|
+
count: v4.z.number(),
|
|
3053
|
+
name: v4.z.optional(v4.z.string()),
|
|
3054
|
+
href: v4.z.optional(v4.z.string())
|
|
3055
|
+
})
|
|
3056
|
+
)
|
|
2911
3057
|
)
|
|
2912
3058
|
})
|
|
2913
3059
|
);
|
|
@@ -3022,6 +3168,16 @@ const fetchMenuBundlesResponseSchema = v4.z.array(
|
|
|
3022
3168
|
return currencySchema;
|
|
3023
3169
|
}
|
|
3024
3170
|
})
|
|
3171
|
+
),
|
|
3172
|
+
usages: v4.z.optional(
|
|
3173
|
+
v4.z.array(
|
|
3174
|
+
v4.z.object({
|
|
3175
|
+
type: v4.z.string(),
|
|
3176
|
+
count: v4.z.number(),
|
|
3177
|
+
name: v4.z.optional(v4.z.string()),
|
|
3178
|
+
href: v4.z.optional(v4.z.string())
|
|
3179
|
+
})
|
|
3180
|
+
)
|
|
3025
3181
|
)
|
|
3026
3182
|
})
|
|
3027
3183
|
);
|
|
@@ -3354,6 +3510,8 @@ const fetchRitualResponseSchema = v4.z.object({
|
|
|
3354
3510
|
updatedBy: v4.z.nullable(v4.z.string()),
|
|
3355
3511
|
createdAt: v4.z.nullable(v4.z.any()),
|
|
3356
3512
|
updatedAt: v4.z.nullable(v4.z.any()),
|
|
3513
|
+
archivedAt: v4.z.nullable(v4.z.any()),
|
|
3514
|
+
archivedBy: v4.z.nullable(v4.z.string()),
|
|
3357
3515
|
assets: v4.z.array(
|
|
3358
3516
|
v4.z.object({
|
|
3359
3517
|
id: v4.z.string(),
|
|
@@ -3452,6 +3610,8 @@ const fetchRitualResponseSchema = v4.z.object({
|
|
|
3452
3610
|
updatedBy: v4.z.nullable(v4.z.string()),
|
|
3453
3611
|
createdAt: v4.z.nullable(v4.z.any()),
|
|
3454
3612
|
updatedAt: v4.z.nullable(v4.z.any()),
|
|
3613
|
+
archivedAt: v4.z.nullable(v4.z.any()),
|
|
3614
|
+
archivedBy: v4.z.nullable(v4.z.string()),
|
|
3455
3615
|
covers: v4.z.number()
|
|
3456
3616
|
})
|
|
3457
3617
|
),
|
|
@@ -3681,7 +3841,17 @@ const getCalloutsResponseSchema = v4.z.array(
|
|
|
3681
3841
|
createdBy: v4.z.nullable(v4.z.string()),
|
|
3682
3842
|
updatedBy: v4.z.nullable(v4.z.string()),
|
|
3683
3843
|
createdAt: v4.z.any(),
|
|
3684
|
-
updatedAt: v4.z.any()
|
|
3844
|
+
updatedAt: v4.z.any(),
|
|
3845
|
+
archivedAt: v4.z.nullable(v4.z.any()),
|
|
3846
|
+
archivedBy: v4.z.nullable(v4.z.string()),
|
|
3847
|
+
usages: v4.z.array(
|
|
3848
|
+
v4.z.object({
|
|
3849
|
+
type: v4.z.string(),
|
|
3850
|
+
count: v4.z.number(),
|
|
3851
|
+
name: v4.z.optional(v4.z.string()),
|
|
3852
|
+
href: v4.z.optional(v4.z.string())
|
|
3853
|
+
})
|
|
3854
|
+
)
|
|
3685
3855
|
})
|
|
3686
3856
|
);
|
|
3687
3857
|
|
|
@@ -3782,7 +3952,17 @@ const getWebsitePagesResponseSchema = v4.z.array(
|
|
|
3782
3952
|
createdBy: v4.z.nullable(v4.z.string()),
|
|
3783
3953
|
updatedBy: v4.z.nullable(v4.z.string()),
|
|
3784
3954
|
createdAt: v4.z.any(),
|
|
3785
|
-
updatedAt: v4.z.any()
|
|
3955
|
+
updatedAt: v4.z.any(),
|
|
3956
|
+
archivedAt: v4.z.nullable(v4.z.any()),
|
|
3957
|
+
archivedBy: v4.z.nullable(v4.z.string()),
|
|
3958
|
+
usages: v4.z.array(
|
|
3959
|
+
v4.z.object({
|
|
3960
|
+
type: v4.z.string(),
|
|
3961
|
+
count: v4.z.number(),
|
|
3962
|
+
name: v4.z.optional(v4.z.string()),
|
|
3963
|
+
href: v4.z.optional(v4.z.string())
|
|
3964
|
+
})
|
|
3965
|
+
)
|
|
3786
3966
|
})
|
|
3787
3967
|
);
|
|
3788
3968
|
|
|
@@ -4185,12 +4365,20 @@ const makeReservationResponseSchema = v4.z.object({
|
|
|
4185
4365
|
updatedAt: v4.z.nullable(v4.z.any().describe("Last update timestamp"))
|
|
4186
4366
|
}).describe("Successfully created reservation");
|
|
4187
4367
|
|
|
4368
|
+
const memberInvitationStatusSchema = v4.z.enum([
|
|
4369
|
+
"pending",
|
|
4370
|
+
"accepted",
|
|
4371
|
+
"revoked",
|
|
4372
|
+
"declined"
|
|
4373
|
+
]);
|
|
4374
|
+
|
|
4188
4375
|
const mentionEntityTypeSchema = v4.z.enum([
|
|
4189
4376
|
"dish",
|
|
4190
4377
|
"beverage",
|
|
4191
4378
|
"ingredient",
|
|
4192
4379
|
"menu",
|
|
4193
|
-
"ritual"
|
|
4380
|
+
"ritual",
|
|
4381
|
+
"member"
|
|
4194
4382
|
]);
|
|
4195
4383
|
|
|
4196
4384
|
const mentionFieldFormatterSchema = v4.z.enum([
|
|
@@ -4212,7 +4400,9 @@ const menuItemMarkerSchema = v4.z.enum([
|
|
|
4212
4400
|
|
|
4213
4401
|
const messageDirectionSchema = v4.z.enum(["incoming", "outgoing"]);
|
|
4214
4402
|
|
|
4215
|
-
const
|
|
4403
|
+
const messageParticipantRoleSchema = v4.z.enum(["from", "to", "cc"]);
|
|
4404
|
+
|
|
4405
|
+
const messageSourceSchema = v4.z.enum(["platform", "email", "scan"]);
|
|
4216
4406
|
|
|
4217
4407
|
const messageStatusSchema = v4.z.enum([
|
|
4218
4408
|
"draft",
|
|
@@ -4230,7 +4420,12 @@ const messageThreadStatusSchema = v4.z.enum([
|
|
|
4230
4420
|
"closed"
|
|
4231
4421
|
]);
|
|
4232
4422
|
|
|
4233
|
-
const messageThreadSubjectTypeSchema = v4.z.enum([
|
|
4423
|
+
const messageThreadSubjectTypeSchema = v4.z.enum([
|
|
4424
|
+
"party",
|
|
4425
|
+
"access_grant",
|
|
4426
|
+
"reservation",
|
|
4427
|
+
"document"
|
|
4428
|
+
]);
|
|
4234
4429
|
|
|
4235
4430
|
const metaCallToActionSchema = v4.z.enum([
|
|
4236
4431
|
"LEARN_MORE",
|
|
@@ -4316,10 +4511,14 @@ const permissionSchema = v4.z.enum([
|
|
|
4316
4511
|
"deposits:process-return",
|
|
4317
4512
|
"deposits:report",
|
|
4318
4513
|
"deposits:view",
|
|
4514
|
+
"chat:use",
|
|
4515
|
+
"audit:view",
|
|
4319
4516
|
"dishes:create",
|
|
4320
4517
|
"dishes:delete",
|
|
4321
4518
|
"dishes:read",
|
|
4322
4519
|
"dishes:update",
|
|
4520
|
+
"documents:view",
|
|
4521
|
+
"documents:manage",
|
|
4323
4522
|
"events:view",
|
|
4324
4523
|
"events:manage",
|
|
4325
4524
|
"features:create",
|
|
@@ -4328,9 +4527,14 @@ const permissionSchema = v4.z.enum([
|
|
|
4328
4527
|
"features:view",
|
|
4329
4528
|
"fulfillment:assign",
|
|
4330
4529
|
"fulfillment:mark-delivered",
|
|
4530
|
+
"groups:create",
|
|
4531
|
+
"groups:delete",
|
|
4532
|
+
"groups:update",
|
|
4533
|
+
"groups:view",
|
|
4331
4534
|
"iam:human",
|
|
4332
4535
|
"iam:robot",
|
|
4333
4536
|
"inbox:view",
|
|
4537
|
+
"inbox:manage",
|
|
4334
4538
|
"inventory:view",
|
|
4335
4539
|
"inventory:manage",
|
|
4336
4540
|
"inventory:circulate",
|
|
@@ -4572,8 +4776,6 @@ const reservationDeclineReasonSchema = v4.z.enum([
|
|
|
4572
4776
|
"other"
|
|
4573
4777
|
]);
|
|
4574
4778
|
|
|
4575
|
-
const reservationMessageStatusSchema = v4.z.enum(["draft", "sent"]);
|
|
4576
|
-
|
|
4577
4779
|
const reservationModeSchema = v4.z.enum(["passive", "auto_steer"]);
|
|
4578
4780
|
|
|
4579
4781
|
const reservationPromotionStatusSchema = v4.z.enum([
|
|
@@ -5192,7 +5394,9 @@ const updateCalloutResponseSchema = v4.z.object({
|
|
|
5192
5394
|
createdBy: v4.z.nullable(v4.z.string()),
|
|
5193
5395
|
updatedBy: v4.z.nullable(v4.z.string()),
|
|
5194
5396
|
createdAt: v4.z.any(),
|
|
5195
|
-
updatedAt: v4.z.any()
|
|
5397
|
+
updatedAt: v4.z.any(),
|
|
5398
|
+
archivedAt: v4.z.nullable(v4.z.any()),
|
|
5399
|
+
archivedBy: v4.z.nullable(v4.z.string())
|
|
5196
5400
|
});
|
|
5197
5401
|
|
|
5198
5402
|
const updateDeliveryAddressTeamOrderRequestSchema = v4.z.object({
|
|
@@ -5234,7 +5438,9 @@ const updateWebsitePageResponseSchema = v4.z.object({
|
|
|
5234
5438
|
createdBy: v4.z.nullable(v4.z.string()),
|
|
5235
5439
|
updatedBy: v4.z.nullable(v4.z.string()),
|
|
5236
5440
|
createdAt: v4.z.any(),
|
|
5237
|
-
updatedAt: v4.z.any()
|
|
5441
|
+
updatedAt: v4.z.any(),
|
|
5442
|
+
archivedAt: v4.z.nullable(v4.z.any()),
|
|
5443
|
+
archivedBy: v4.z.nullable(v4.z.string())
|
|
5238
5444
|
});
|
|
5239
5445
|
|
|
5240
5446
|
const uploadAssetResponseSchema = v4.z.object({
|
|
@@ -5345,6 +5551,7 @@ const schemas = {
|
|
|
5345
5551
|
AddToBasketRequest: addToBasketRequestSchema,
|
|
5346
5552
|
AddToBasketResponse: addToBasketResponseSchema,
|
|
5347
5553
|
AdditiveFunction: additiveFunctionSchema,
|
|
5554
|
+
AppointmentStatus: appointmentStatusSchema,
|
|
5348
5555
|
AreaBookingMode: areaBookingModeSchema,
|
|
5349
5556
|
AreaBookingRequestSource: areaBookingRequestSourceSchema,
|
|
5350
5557
|
AreaBookingRequestStatus: areaBookingRequestStatusSchema,
|
|
@@ -5356,6 +5563,8 @@ const schemas = {
|
|
|
5356
5563
|
ArticleStatus: articleStatusSchema,
|
|
5357
5564
|
AssetType: assetTypeSchema,
|
|
5358
5565
|
AssetWithPublicUrl: assetWithPublicUrlSchema,
|
|
5566
|
+
AuditActorType: auditActorTypeSchema,
|
|
5567
|
+
AuditCategory: auditCategorySchema,
|
|
5359
5568
|
AutoExtendFulfillmentIfExpiredRequest: autoExtendFulfillmentIfExpiredRequestSchema,
|
|
5360
5569
|
AutoExtendFulfillmentIfExpiredResponse: autoExtendFulfillmentIfExpiredResponseSchema,
|
|
5361
5570
|
BankAccountStatus: bankAccountStatusSchema,
|
|
@@ -5372,6 +5581,8 @@ const schemas = {
|
|
|
5372
5581
|
CancelTeamOrderRequest: cancelTeamOrderRequestSchema,
|
|
5373
5582
|
CancelTeamOrderResponse: cancelTeamOrderResponseSchema,
|
|
5374
5583
|
CancellationReason: cancellationReasonSchema,
|
|
5584
|
+
ChatChannelType: chatChannelTypeSchema,
|
|
5585
|
+
ChatMemberRole: chatMemberRoleSchema,
|
|
5375
5586
|
ComposeMenuPublicationBookletRequest: composeMenuPublicationBookletRequestSchema,
|
|
5376
5587
|
ComposeMenuPublicationBookletResponse: composeMenuPublicationBookletResponseSchema,
|
|
5377
5588
|
ConfirmOrderRequest: confirmOrderRequestSchema,
|
|
@@ -5409,9 +5620,19 @@ const schemas = {
|
|
|
5409
5620
|
Direction: directionSchema,
|
|
5410
5621
|
DirectionX: directionXSchema,
|
|
5411
5622
|
DirectionY: directionYSchema,
|
|
5623
|
+
DocumentAccessType: documentAccessTypeSchema,
|
|
5624
|
+
DocumentClassificationState: documentClassificationStateSchema,
|
|
5625
|
+
DocumentDuplicateStatus: documentDuplicateStatusSchema,
|
|
5412
5626
|
DocumentIdentifierPosition: documentIdentifierPositionSchema,
|
|
5413
5627
|
DocumentPageNumberNumeral: documentPageNumberNumeralSchema,
|
|
5414
5628
|
DocumentPageNumberPosition: documentPageNumberPositionSchema,
|
|
5629
|
+
DocumentProcessingStatus: documentProcessingStatusSchema,
|
|
5630
|
+
DocumentRelationProvenance: documentRelationProvenanceSchema,
|
|
5631
|
+
DocumentRelationStatus: documentRelationStatusSchema,
|
|
5632
|
+
DocumentRelationType: documentRelationTypeSchema,
|
|
5633
|
+
DocumentSource: documentSourceSchema,
|
|
5634
|
+
DocumentSubjectType: documentSubjectTypeSchema,
|
|
5635
|
+
DocumentType: documentTypeSchema,
|
|
5415
5636
|
DocumentTypography: documentTypographySchema,
|
|
5416
5637
|
EditAdRequest: editAdRequestSchema,
|
|
5417
5638
|
EditAdResponse: editAdResponseSchema,
|
|
@@ -5489,12 +5710,14 @@ const schemas = {
|
|
|
5489
5710
|
Locale: localeSchema,
|
|
5490
5711
|
MakeReservationRequest: makeReservationRequestSchema,
|
|
5491
5712
|
MakeReservationResponse: makeReservationResponseSchema,
|
|
5713
|
+
MemberInvitationStatus: memberInvitationStatusSchema,
|
|
5492
5714
|
MentionEntityType: mentionEntityTypeSchema,
|
|
5493
5715
|
MentionFieldFormatter: mentionFieldFormatterSchema,
|
|
5494
5716
|
MentionType: mentionTypeSchema,
|
|
5495
5717
|
MenuItemMarker: menuItemMarkerSchema,
|
|
5496
5718
|
MenuItemType: menuItemTypeSchema,
|
|
5497
5719
|
MessageDirection: messageDirectionSchema,
|
|
5720
|
+
MessageParticipantRole: messageParticipantRoleSchema,
|
|
5498
5721
|
MessageSource: messageSourceSchema,
|
|
5499
5722
|
MessageStatus: messageStatusSchema,
|
|
5500
5723
|
MessageThreadStatus: messageThreadStatusSchema,
|
|
@@ -5550,7 +5773,6 @@ const schemas = {
|
|
|
5550
5773
|
RepresentativeCapacity: representativeCapacitySchema,
|
|
5551
5774
|
RequestContactEmailChangeOutcome: requestContactEmailChangeOutcomeSchema,
|
|
5552
5775
|
ReservationDeclineReason: reservationDeclineReasonSchema,
|
|
5553
|
-
ReservationMessageStatus: reservationMessageStatusSchema,
|
|
5554
5776
|
ReservationMode: reservationModeSchema,
|
|
5555
5777
|
ReservationPromotionStatus: reservationPromotionStatusSchema,
|
|
5556
5778
|
ReservationStatus: reservationStatusSchema,
|