order3000 2.1.1 → 2.2.0
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.cjs +30 -9
- package/dist/client.d.cts +25 -17
- package/dist/client.d.mts +25 -17
- package/dist/client.mjs +30 -9
- package/dist/{index-CuJnP2HN.d.cts → index-hOWwvbI6.d.cts} +111 -9
- package/dist/{index-CuJnP2HN.d.mts → index-hOWwvbI6.d.mts} +111 -9
- package/dist/menu.d.cts +1 -1
- package/dist/menu.d.mts +1 -1
- package/dist/schemas.cjs +241 -19
- package/dist/schemas.d.cts +206 -27
- package/dist/schemas.d.mts +206 -27
- package/dist/schemas.mjs +241 -19
- package/package.json +2 -2
package/dist/schemas.mjs
CHANGED
|
@@ -47,7 +47,7 @@ const adOwnerTypeSchema = z.enum([
|
|
|
47
47
|
"menu"
|
|
48
48
|
]);
|
|
49
49
|
|
|
50
|
-
const adStatusSchema = z.enum(["draft", "ready"
|
|
50
|
+
const adStatusSchema = z.enum(["draft", "ready"]);
|
|
51
51
|
|
|
52
52
|
const unitSchema = z.enum([
|
|
53
53
|
"grams",
|
|
@@ -141,6 +141,13 @@ const additiveFunctionSchema = z.enum([
|
|
|
141
141
|
"thickener"
|
|
142
142
|
]);
|
|
143
143
|
|
|
144
|
+
const appointmentStatusSchema = z.enum([
|
|
145
|
+
"booked",
|
|
146
|
+
"cancelled",
|
|
147
|
+
"completed",
|
|
148
|
+
"no_show"
|
|
149
|
+
]);
|
|
150
|
+
|
|
144
151
|
const areaBookingModeSchema = z.enum(["slot", "day"]);
|
|
145
152
|
|
|
146
153
|
const areaBookingRequestSourceSchema = z.enum([
|
|
@@ -206,6 +213,16 @@ const areaSchema = z.object({
|
|
|
206
213
|
},
|
|
207
214
|
turnTimes: z.object({}).catchall(z.number()).nullish(),
|
|
208
215
|
cleanup: z.int().min(-9007199254740991).max(9007199254740991).nullish(),
|
|
216
|
+
usages: z.optional(
|
|
217
|
+
z.array(
|
|
218
|
+
z.object({
|
|
219
|
+
type: z.string(),
|
|
220
|
+
count: z.number(),
|
|
221
|
+
name: z.optional(z.string()),
|
|
222
|
+
href: z.optional(z.string())
|
|
223
|
+
})
|
|
224
|
+
)
|
|
225
|
+
),
|
|
209
226
|
assets: z.optional(
|
|
210
227
|
z.array(
|
|
211
228
|
z.object({
|
|
@@ -312,6 +329,10 @@ const assetWithPublicUrlSchema = z.object({
|
|
|
312
329
|
publicUrl: z.nullable(z.string())
|
|
313
330
|
});
|
|
314
331
|
|
|
332
|
+
const auditActorTypeSchema = z.enum(["user", "system"]);
|
|
333
|
+
|
|
334
|
+
const auditCategorySchema = z.enum(["documents", "inbox", "team"]);
|
|
335
|
+
|
|
315
336
|
const autoExtendFulfillmentIfExpiredRequestSchema = z.object({
|
|
316
337
|
publicId: z.string().min(1),
|
|
317
338
|
sessionId: z.string().min(1),
|
|
@@ -328,7 +349,7 @@ const autoExtendFulfillmentIfExpiredResponseSchema = z.object({
|
|
|
328
349
|
waitingCount: z.int().min(0).max(9007199254740991)
|
|
329
350
|
});
|
|
330
351
|
|
|
331
|
-
const bankAccountStatusSchema = z.enum(["active", "
|
|
352
|
+
const bankAccountStatusSchema = z.enum(["active", "closed"]);
|
|
332
353
|
|
|
333
354
|
const basketStatusSchema = z.enum(["active", "abandoned", "converted"]);
|
|
334
355
|
|
|
@@ -390,6 +411,15 @@ const cancellationReasonSchema = z.enum([
|
|
|
390
411
|
"restaurant_request"
|
|
391
412
|
]);
|
|
392
413
|
|
|
414
|
+
const chatChannelTypeSchema = z.enum([
|
|
415
|
+
"team",
|
|
416
|
+
"direct",
|
|
417
|
+
"subject",
|
|
418
|
+
"external"
|
|
419
|
+
]);
|
|
420
|
+
|
|
421
|
+
const chatMemberRoleSchema = z.enum(["owner", "member"]);
|
|
422
|
+
|
|
393
423
|
const composeMenuPublicationBookletRequestSchema = z.object({
|
|
394
424
|
venueAccessor: z.string().min(1),
|
|
395
425
|
bookletAccessor: z.optional(z.string().min(1)),
|
|
@@ -567,7 +597,9 @@ const createCalloutResponseSchema = z.object({
|
|
|
567
597
|
createdBy: z.nullable(z.string()),
|
|
568
598
|
updatedBy: z.nullable(z.string()),
|
|
569
599
|
createdAt: z.any(),
|
|
570
|
-
updatedAt: z.any()
|
|
600
|
+
updatedAt: z.any(),
|
|
601
|
+
archivedAt: z.nullable(z.any()),
|
|
602
|
+
archivedBy: z.nullable(z.string())
|
|
571
603
|
});
|
|
572
604
|
|
|
573
605
|
const createDeltaPaymentIntentRequestSchema = z.object({
|
|
@@ -642,6 +674,8 @@ const createEventRequestSchema = z.object({
|
|
|
642
674
|
z.array(z.any()),
|
|
643
675
|
z.object({}).catchall(z.any())
|
|
644
676
|
]).nullish(),
|
|
677
|
+
archivedAt: z.any().nullish(),
|
|
678
|
+
archivedBy: z.string().nullish(),
|
|
645
679
|
schedule: z.object({
|
|
646
680
|
rrule: z.string().nullish(),
|
|
647
681
|
timezone: z.string().nullish(),
|
|
@@ -713,7 +747,9 @@ const createEventResponseSchema = z.object({
|
|
|
713
747
|
createdBy: z.nullable(z.string()),
|
|
714
748
|
updatedBy: z.nullable(z.string()),
|
|
715
749
|
createdAt: z.nullable(z.any()),
|
|
716
|
-
updatedAt: z.nullable(z.any())
|
|
750
|
+
updatedAt: z.nullable(z.any()),
|
|
751
|
+
archivedAt: z.nullable(z.any()),
|
|
752
|
+
archivedBy: z.nullable(z.string())
|
|
717
753
|
}).describe("Successfully created event");
|
|
718
754
|
|
|
719
755
|
const createMenuPublicationRequestSchema = z.object({
|
|
@@ -882,7 +918,9 @@ const createWebsitePageResponseSchema = z.object({
|
|
|
882
918
|
createdBy: z.nullable(z.string()),
|
|
883
919
|
updatedBy: z.nullable(z.string()),
|
|
884
920
|
createdAt: z.any(),
|
|
885
|
-
updatedAt: z.any()
|
|
921
|
+
updatedAt: z.any(),
|
|
922
|
+
archivedAt: z.nullable(z.any()),
|
|
923
|
+
archivedBy: z.nullable(z.string())
|
|
886
924
|
});
|
|
887
925
|
|
|
888
926
|
const dayOfWeekSchema = z.enum([
|
|
@@ -1018,7 +1056,9 @@ const deleteCalloutResponseSchema = z.object({
|
|
|
1018
1056
|
createdBy: z.nullable(z.string()),
|
|
1019
1057
|
updatedBy: z.nullable(z.string()),
|
|
1020
1058
|
createdAt: z.any(),
|
|
1021
|
-
updatedAt: z.any()
|
|
1059
|
+
updatedAt: z.any(),
|
|
1060
|
+
archivedAt: z.nullable(z.any()),
|
|
1061
|
+
archivedBy: z.nullable(z.string())
|
|
1022
1062
|
});
|
|
1023
1063
|
|
|
1024
1064
|
const deleteEventResponseSchema = z.object({
|
|
@@ -1068,7 +1108,9 @@ const deleteEventResponseSchema = z.object({
|
|
|
1068
1108
|
createdBy: z.nullable(z.string()),
|
|
1069
1109
|
updatedBy: z.nullable(z.string()),
|
|
1070
1110
|
createdAt: z.nullable(z.any()),
|
|
1071
|
-
updatedAt: z.nullable(z.any())
|
|
1111
|
+
updatedAt: z.nullable(z.any()),
|
|
1112
|
+
archivedAt: z.nullable(z.any()),
|
|
1113
|
+
archivedBy: z.nullable(z.string())
|
|
1072
1114
|
});
|
|
1073
1115
|
|
|
1074
1116
|
const deleteWebsitePageResponseSchema = z.object({
|
|
@@ -1090,7 +1132,9 @@ const deleteWebsitePageResponseSchema = z.object({
|
|
|
1090
1132
|
createdBy: z.nullable(z.string()),
|
|
1091
1133
|
updatedBy: z.nullable(z.string()),
|
|
1092
1134
|
createdAt: z.any(),
|
|
1093
|
-
updatedAt: z.any()
|
|
1135
|
+
updatedAt: z.any(),
|
|
1136
|
+
archivedAt: z.nullable(z.any()),
|
|
1137
|
+
archivedBy: z.nullable(z.string())
|
|
1094
1138
|
});
|
|
1095
1139
|
|
|
1096
1140
|
const depositTransactionTypeSchema = z.enum([
|
|
@@ -1116,6 +1160,20 @@ const directionXSchema = z.enum(["left", "right"]);
|
|
|
1116
1160
|
|
|
1117
1161
|
const directionYSchema = z.enum(["up", "down"]);
|
|
1118
1162
|
|
|
1163
|
+
const documentAccessTypeSchema = z.enum(["view", "download", "sent"]);
|
|
1164
|
+
|
|
1165
|
+
const documentClassificationStateSchema = z.enum([
|
|
1166
|
+
"unclassified",
|
|
1167
|
+
"proposed",
|
|
1168
|
+
"confirmed"
|
|
1169
|
+
]);
|
|
1170
|
+
|
|
1171
|
+
const documentDuplicateStatusSchema = z.enum([
|
|
1172
|
+
"suggested",
|
|
1173
|
+
"confirmed",
|
|
1174
|
+
"dismissed"
|
|
1175
|
+
]);
|
|
1176
|
+
|
|
1119
1177
|
const documentIdentifierPositionSchema = z.enum([
|
|
1120
1178
|
"footer_left",
|
|
1121
1179
|
"footer_split",
|
|
@@ -1131,6 +1189,66 @@ const documentPageNumberPositionSchema = z.enum([
|
|
|
1131
1189
|
"bottom_right"
|
|
1132
1190
|
]);
|
|
1133
1191
|
|
|
1192
|
+
const documentProcessingStatusSchema = z.enum([
|
|
1193
|
+
"pending",
|
|
1194
|
+
"processing",
|
|
1195
|
+
"completed",
|
|
1196
|
+
"failed"
|
|
1197
|
+
]);
|
|
1198
|
+
|
|
1199
|
+
const documentRelationProvenanceSchema = z.enum([
|
|
1200
|
+
"rule",
|
|
1201
|
+
"model",
|
|
1202
|
+
"user"
|
|
1203
|
+
]);
|
|
1204
|
+
|
|
1205
|
+
const documentRelationStatusSchema = z.enum([
|
|
1206
|
+
"suggested",
|
|
1207
|
+
"confirmed",
|
|
1208
|
+
"rejected"
|
|
1209
|
+
]);
|
|
1210
|
+
|
|
1211
|
+
const documentRelationTypeSchema = z.enum([
|
|
1212
|
+
"reminder_for",
|
|
1213
|
+
"delivery_note_for",
|
|
1214
|
+
"credit_note_for",
|
|
1215
|
+
"confirmation_for",
|
|
1216
|
+
"invoice_for",
|
|
1217
|
+
"correction_of",
|
|
1218
|
+
"related_to"
|
|
1219
|
+
]);
|
|
1220
|
+
|
|
1221
|
+
const documentSourceSchema = z.enum([
|
|
1222
|
+
"upload",
|
|
1223
|
+
"scan",
|
|
1224
|
+
"email",
|
|
1225
|
+
"elster",
|
|
1226
|
+
"generated"
|
|
1227
|
+
]);
|
|
1228
|
+
|
|
1229
|
+
const documentSubjectTypeSchema = z.enum([
|
|
1230
|
+
"venue",
|
|
1231
|
+
"party",
|
|
1232
|
+
"reservation",
|
|
1233
|
+
"order",
|
|
1234
|
+
"event",
|
|
1235
|
+
"message"
|
|
1236
|
+
]);
|
|
1237
|
+
|
|
1238
|
+
const documentTypeSchema = z.enum([
|
|
1239
|
+
"supplier_invoice",
|
|
1240
|
+
"receipt",
|
|
1241
|
+
"delivery_note",
|
|
1242
|
+
"credit_note",
|
|
1243
|
+
"bank_statement",
|
|
1244
|
+
"contract",
|
|
1245
|
+
"official_letter",
|
|
1246
|
+
"permit",
|
|
1247
|
+
"hygiene_certificate",
|
|
1248
|
+
"staff_document",
|
|
1249
|
+
"other"
|
|
1250
|
+
]);
|
|
1251
|
+
|
|
1134
1252
|
const documentTypographySchema = z.enum([
|
|
1135
1253
|
"serif",
|
|
1136
1254
|
"sans",
|
|
@@ -1541,7 +1659,9 @@ const editDishResponseSchema = z.object({
|
|
|
1541
1659
|
updatedAt: z.nullable(z.any()),
|
|
1542
1660
|
updatedBy: z.nullable(z.string()),
|
|
1543
1661
|
createdAt: z.nullable(z.any()),
|
|
1544
|
-
createdBy: z.nullable(z.string())
|
|
1662
|
+
createdBy: z.nullable(z.string()),
|
|
1663
|
+
archivedAt: z.nullable(z.any()),
|
|
1664
|
+
archivedBy: z.nullable(z.string())
|
|
1545
1665
|
});
|
|
1546
1666
|
|
|
1547
1667
|
const editEventRequestSchema = z.object({
|
|
@@ -1581,6 +1701,8 @@ const editEventRequestSchema = z.object({
|
|
|
1581
1701
|
z.array(z.any()),
|
|
1582
1702
|
z.object({}).catchall(z.any())
|
|
1583
1703
|
]).nullish(),
|
|
1704
|
+
archivedAt: z.any().nullish(),
|
|
1705
|
+
archivedBy: z.string().nullish(),
|
|
1584
1706
|
schedule: z.object({
|
|
1585
1707
|
rrule: z.string().nullish(),
|
|
1586
1708
|
timezone: z.string().nullish(),
|
|
@@ -1799,6 +1921,8 @@ const editEventResponseSchema = z.object({
|
|
|
1799
1921
|
updatedBy: z.nullable(z.string()),
|
|
1800
1922
|
createdAt: z.nullable(z.any()),
|
|
1801
1923
|
updatedAt: z.nullable(z.any()),
|
|
1924
|
+
archivedAt: z.nullable(z.any()),
|
|
1925
|
+
archivedBy: z.nullable(z.string()),
|
|
1802
1926
|
get schedule() {
|
|
1803
1927
|
return scheduleSchema.nullable();
|
|
1804
1928
|
}
|
|
@@ -2267,6 +2391,16 @@ const fetchAreaResponseSchema = z.object({
|
|
|
2267
2391
|
},
|
|
2268
2392
|
turnTimes: z.object({}).catchall(z.number()).nullish(),
|
|
2269
2393
|
cleanup: z.int().min(-9007199254740991).max(9007199254740991).nullish(),
|
|
2394
|
+
usages: z.optional(
|
|
2395
|
+
z.array(
|
|
2396
|
+
z.object({
|
|
2397
|
+
type: z.string(),
|
|
2398
|
+
count: z.number(),
|
|
2399
|
+
name: z.optional(z.string()),
|
|
2400
|
+
href: z.optional(z.string())
|
|
2401
|
+
})
|
|
2402
|
+
)
|
|
2403
|
+
),
|
|
2270
2404
|
assets: z.optional(
|
|
2271
2405
|
z.array(
|
|
2272
2406
|
z.object({
|
|
@@ -2609,6 +2743,8 @@ const fetchDishResponseSchema = z.object({
|
|
|
2609
2743
|
updatedBy: z.nullable(z.string()),
|
|
2610
2744
|
createdAt: z.nullable(z.any()),
|
|
2611
2745
|
createdBy: z.nullable(z.string()),
|
|
2746
|
+
archivedAt: z.nullable(z.any()),
|
|
2747
|
+
archivedBy: z.nullable(z.string()),
|
|
2612
2748
|
get assets() {
|
|
2613
2749
|
return z.array(assetWithPublicUrlSchema);
|
|
2614
2750
|
}
|
|
@@ -2906,6 +3042,16 @@ const fetchEventsResponseSchema = z.array(
|
|
|
2906
3042
|
currentRedemptions: z.nullable(z.number()),
|
|
2907
3043
|
timeSlotIds: z.nullable(z.array(z.string()))
|
|
2908
3044
|
})
|
|
3045
|
+
),
|
|
3046
|
+
usages: z.optional(
|
|
3047
|
+
z.array(
|
|
3048
|
+
z.object({
|
|
3049
|
+
type: z.string(),
|
|
3050
|
+
count: z.number(),
|
|
3051
|
+
name: z.optional(z.string()),
|
|
3052
|
+
href: z.optional(z.string())
|
|
3053
|
+
})
|
|
3054
|
+
)
|
|
2909
3055
|
)
|
|
2910
3056
|
})
|
|
2911
3057
|
);
|
|
@@ -3020,6 +3166,16 @@ const fetchMenuBundlesResponseSchema = z.array(
|
|
|
3020
3166
|
return currencySchema;
|
|
3021
3167
|
}
|
|
3022
3168
|
})
|
|
3169
|
+
),
|
|
3170
|
+
usages: z.optional(
|
|
3171
|
+
z.array(
|
|
3172
|
+
z.object({
|
|
3173
|
+
type: z.string(),
|
|
3174
|
+
count: z.number(),
|
|
3175
|
+
name: z.optional(z.string()),
|
|
3176
|
+
href: z.optional(z.string())
|
|
3177
|
+
})
|
|
3178
|
+
)
|
|
3023
3179
|
)
|
|
3024
3180
|
})
|
|
3025
3181
|
);
|
|
@@ -3352,6 +3508,8 @@ const fetchRitualResponseSchema = z.object({
|
|
|
3352
3508
|
updatedBy: z.nullable(z.string()),
|
|
3353
3509
|
createdAt: z.nullable(z.any()),
|
|
3354
3510
|
updatedAt: z.nullable(z.any()),
|
|
3511
|
+
archivedAt: z.nullable(z.any()),
|
|
3512
|
+
archivedBy: z.nullable(z.string()),
|
|
3355
3513
|
assets: z.array(
|
|
3356
3514
|
z.object({
|
|
3357
3515
|
id: z.string(),
|
|
@@ -3450,6 +3608,8 @@ const fetchRitualResponseSchema = z.object({
|
|
|
3450
3608
|
updatedBy: z.nullable(z.string()),
|
|
3451
3609
|
createdAt: z.nullable(z.any()),
|
|
3452
3610
|
updatedAt: z.nullable(z.any()),
|
|
3611
|
+
archivedAt: z.nullable(z.any()),
|
|
3612
|
+
archivedBy: z.nullable(z.string()),
|
|
3453
3613
|
covers: z.number()
|
|
3454
3614
|
})
|
|
3455
3615
|
),
|
|
@@ -3679,7 +3839,17 @@ const getCalloutsResponseSchema = z.array(
|
|
|
3679
3839
|
createdBy: z.nullable(z.string()),
|
|
3680
3840
|
updatedBy: z.nullable(z.string()),
|
|
3681
3841
|
createdAt: z.any(),
|
|
3682
|
-
updatedAt: z.any()
|
|
3842
|
+
updatedAt: z.any(),
|
|
3843
|
+
archivedAt: z.nullable(z.any()),
|
|
3844
|
+
archivedBy: z.nullable(z.string()),
|
|
3845
|
+
usages: z.array(
|
|
3846
|
+
z.object({
|
|
3847
|
+
type: z.string(),
|
|
3848
|
+
count: z.number(),
|
|
3849
|
+
name: z.optional(z.string()),
|
|
3850
|
+
href: z.optional(z.string())
|
|
3851
|
+
})
|
|
3852
|
+
)
|
|
3683
3853
|
})
|
|
3684
3854
|
);
|
|
3685
3855
|
|
|
@@ -3780,7 +3950,17 @@ const getWebsitePagesResponseSchema = z.array(
|
|
|
3780
3950
|
createdBy: z.nullable(z.string()),
|
|
3781
3951
|
updatedBy: z.nullable(z.string()),
|
|
3782
3952
|
createdAt: z.any(),
|
|
3783
|
-
updatedAt: z.any()
|
|
3953
|
+
updatedAt: z.any(),
|
|
3954
|
+
archivedAt: z.nullable(z.any()),
|
|
3955
|
+
archivedBy: z.nullable(z.string()),
|
|
3956
|
+
usages: z.array(
|
|
3957
|
+
z.object({
|
|
3958
|
+
type: z.string(),
|
|
3959
|
+
count: z.number(),
|
|
3960
|
+
name: z.optional(z.string()),
|
|
3961
|
+
href: z.optional(z.string())
|
|
3962
|
+
})
|
|
3963
|
+
)
|
|
3784
3964
|
})
|
|
3785
3965
|
);
|
|
3786
3966
|
|
|
@@ -4183,12 +4363,20 @@ const makeReservationResponseSchema = z.object({
|
|
|
4183
4363
|
updatedAt: z.nullable(z.any().describe("Last update timestamp"))
|
|
4184
4364
|
}).describe("Successfully created reservation");
|
|
4185
4365
|
|
|
4366
|
+
const memberInvitationStatusSchema = z.enum([
|
|
4367
|
+
"pending",
|
|
4368
|
+
"accepted",
|
|
4369
|
+
"revoked",
|
|
4370
|
+
"declined"
|
|
4371
|
+
]);
|
|
4372
|
+
|
|
4186
4373
|
const mentionEntityTypeSchema = z.enum([
|
|
4187
4374
|
"dish",
|
|
4188
4375
|
"beverage",
|
|
4189
4376
|
"ingredient",
|
|
4190
4377
|
"menu",
|
|
4191
|
-
"ritual"
|
|
4378
|
+
"ritual",
|
|
4379
|
+
"member"
|
|
4192
4380
|
]);
|
|
4193
4381
|
|
|
4194
4382
|
const mentionFieldFormatterSchema = z.enum([
|
|
@@ -4210,7 +4398,9 @@ const menuItemMarkerSchema = z.enum([
|
|
|
4210
4398
|
|
|
4211
4399
|
const messageDirectionSchema = z.enum(["incoming", "outgoing"]);
|
|
4212
4400
|
|
|
4213
|
-
const
|
|
4401
|
+
const messageParticipantRoleSchema = z.enum(["from", "to", "cc"]);
|
|
4402
|
+
|
|
4403
|
+
const messageSourceSchema = z.enum(["platform", "email", "scan"]);
|
|
4214
4404
|
|
|
4215
4405
|
const messageStatusSchema = z.enum([
|
|
4216
4406
|
"draft",
|
|
@@ -4228,7 +4418,12 @@ const messageThreadStatusSchema = z.enum([
|
|
|
4228
4418
|
"closed"
|
|
4229
4419
|
]);
|
|
4230
4420
|
|
|
4231
|
-
const messageThreadSubjectTypeSchema = z.enum([
|
|
4421
|
+
const messageThreadSubjectTypeSchema = z.enum([
|
|
4422
|
+
"party",
|
|
4423
|
+
"access_grant",
|
|
4424
|
+
"reservation",
|
|
4425
|
+
"document"
|
|
4426
|
+
]);
|
|
4232
4427
|
|
|
4233
4428
|
const metaCallToActionSchema = z.enum([
|
|
4234
4429
|
"LEARN_MORE",
|
|
@@ -4314,10 +4509,14 @@ const permissionSchema = z.enum([
|
|
|
4314
4509
|
"deposits:process-return",
|
|
4315
4510
|
"deposits:report",
|
|
4316
4511
|
"deposits:view",
|
|
4512
|
+
"chat:use",
|
|
4513
|
+
"audit:view",
|
|
4317
4514
|
"dishes:create",
|
|
4318
4515
|
"dishes:delete",
|
|
4319
4516
|
"dishes:read",
|
|
4320
4517
|
"dishes:update",
|
|
4518
|
+
"documents:view",
|
|
4519
|
+
"documents:manage",
|
|
4321
4520
|
"events:view",
|
|
4322
4521
|
"events:manage",
|
|
4323
4522
|
"features:create",
|
|
@@ -4326,9 +4525,14 @@ const permissionSchema = z.enum([
|
|
|
4326
4525
|
"features:view",
|
|
4327
4526
|
"fulfillment:assign",
|
|
4328
4527
|
"fulfillment:mark-delivered",
|
|
4528
|
+
"groups:create",
|
|
4529
|
+
"groups:delete",
|
|
4530
|
+
"groups:update",
|
|
4531
|
+
"groups:view",
|
|
4329
4532
|
"iam:human",
|
|
4330
4533
|
"iam:robot",
|
|
4331
4534
|
"inbox:view",
|
|
4535
|
+
"inbox:manage",
|
|
4332
4536
|
"inventory:view",
|
|
4333
4537
|
"inventory:manage",
|
|
4334
4538
|
"inventory:circulate",
|
|
@@ -4570,8 +4774,6 @@ const reservationDeclineReasonSchema = z.enum([
|
|
|
4570
4774
|
"other"
|
|
4571
4775
|
]);
|
|
4572
4776
|
|
|
4573
|
-
const reservationMessageStatusSchema = z.enum(["draft", "sent"]);
|
|
4574
|
-
|
|
4575
4777
|
const reservationModeSchema = z.enum(["passive", "auto_steer"]);
|
|
4576
4778
|
|
|
4577
4779
|
const reservationPromotionStatusSchema = z.enum([
|
|
@@ -5190,7 +5392,9 @@ const updateCalloutResponseSchema = z.object({
|
|
|
5190
5392
|
createdBy: z.nullable(z.string()),
|
|
5191
5393
|
updatedBy: z.nullable(z.string()),
|
|
5192
5394
|
createdAt: z.any(),
|
|
5193
|
-
updatedAt: z.any()
|
|
5395
|
+
updatedAt: z.any(),
|
|
5396
|
+
archivedAt: z.nullable(z.any()),
|
|
5397
|
+
archivedBy: z.nullable(z.string())
|
|
5194
5398
|
});
|
|
5195
5399
|
|
|
5196
5400
|
const updateDeliveryAddressTeamOrderRequestSchema = z.object({
|
|
@@ -5232,7 +5436,9 @@ const updateWebsitePageResponseSchema = z.object({
|
|
|
5232
5436
|
createdBy: z.nullable(z.string()),
|
|
5233
5437
|
updatedBy: z.nullable(z.string()),
|
|
5234
5438
|
createdAt: z.any(),
|
|
5235
|
-
updatedAt: z.any()
|
|
5439
|
+
updatedAt: z.any(),
|
|
5440
|
+
archivedAt: z.nullable(z.any()),
|
|
5441
|
+
archivedBy: z.nullable(z.string())
|
|
5236
5442
|
});
|
|
5237
5443
|
|
|
5238
5444
|
const uploadAssetResponseSchema = z.object({
|
|
@@ -5343,6 +5549,7 @@ const schemas = {
|
|
|
5343
5549
|
AddToBasketRequest: addToBasketRequestSchema,
|
|
5344
5550
|
AddToBasketResponse: addToBasketResponseSchema,
|
|
5345
5551
|
AdditiveFunction: additiveFunctionSchema,
|
|
5552
|
+
AppointmentStatus: appointmentStatusSchema,
|
|
5346
5553
|
AreaBookingMode: areaBookingModeSchema,
|
|
5347
5554
|
AreaBookingRequestSource: areaBookingRequestSourceSchema,
|
|
5348
5555
|
AreaBookingRequestStatus: areaBookingRequestStatusSchema,
|
|
@@ -5354,6 +5561,8 @@ const schemas = {
|
|
|
5354
5561
|
ArticleStatus: articleStatusSchema,
|
|
5355
5562
|
AssetType: assetTypeSchema,
|
|
5356
5563
|
AssetWithPublicUrl: assetWithPublicUrlSchema,
|
|
5564
|
+
AuditActorType: auditActorTypeSchema,
|
|
5565
|
+
AuditCategory: auditCategorySchema,
|
|
5357
5566
|
AutoExtendFulfillmentIfExpiredRequest: autoExtendFulfillmentIfExpiredRequestSchema,
|
|
5358
5567
|
AutoExtendFulfillmentIfExpiredResponse: autoExtendFulfillmentIfExpiredResponseSchema,
|
|
5359
5568
|
BankAccountStatus: bankAccountStatusSchema,
|
|
@@ -5370,6 +5579,8 @@ const schemas = {
|
|
|
5370
5579
|
CancelTeamOrderRequest: cancelTeamOrderRequestSchema,
|
|
5371
5580
|
CancelTeamOrderResponse: cancelTeamOrderResponseSchema,
|
|
5372
5581
|
CancellationReason: cancellationReasonSchema,
|
|
5582
|
+
ChatChannelType: chatChannelTypeSchema,
|
|
5583
|
+
ChatMemberRole: chatMemberRoleSchema,
|
|
5373
5584
|
ComposeMenuPublicationBookletRequest: composeMenuPublicationBookletRequestSchema,
|
|
5374
5585
|
ComposeMenuPublicationBookletResponse: composeMenuPublicationBookletResponseSchema,
|
|
5375
5586
|
ConfirmOrderRequest: confirmOrderRequestSchema,
|
|
@@ -5407,9 +5618,19 @@ const schemas = {
|
|
|
5407
5618
|
Direction: directionSchema,
|
|
5408
5619
|
DirectionX: directionXSchema,
|
|
5409
5620
|
DirectionY: directionYSchema,
|
|
5621
|
+
DocumentAccessType: documentAccessTypeSchema,
|
|
5622
|
+
DocumentClassificationState: documentClassificationStateSchema,
|
|
5623
|
+
DocumentDuplicateStatus: documentDuplicateStatusSchema,
|
|
5410
5624
|
DocumentIdentifierPosition: documentIdentifierPositionSchema,
|
|
5411
5625
|
DocumentPageNumberNumeral: documentPageNumberNumeralSchema,
|
|
5412
5626
|
DocumentPageNumberPosition: documentPageNumberPositionSchema,
|
|
5627
|
+
DocumentProcessingStatus: documentProcessingStatusSchema,
|
|
5628
|
+
DocumentRelationProvenance: documentRelationProvenanceSchema,
|
|
5629
|
+
DocumentRelationStatus: documentRelationStatusSchema,
|
|
5630
|
+
DocumentRelationType: documentRelationTypeSchema,
|
|
5631
|
+
DocumentSource: documentSourceSchema,
|
|
5632
|
+
DocumentSubjectType: documentSubjectTypeSchema,
|
|
5633
|
+
DocumentType: documentTypeSchema,
|
|
5413
5634
|
DocumentTypography: documentTypographySchema,
|
|
5414
5635
|
EditAdRequest: editAdRequestSchema,
|
|
5415
5636
|
EditAdResponse: editAdResponseSchema,
|
|
@@ -5487,12 +5708,14 @@ const schemas = {
|
|
|
5487
5708
|
Locale: localeSchema,
|
|
5488
5709
|
MakeReservationRequest: makeReservationRequestSchema,
|
|
5489
5710
|
MakeReservationResponse: makeReservationResponseSchema,
|
|
5711
|
+
MemberInvitationStatus: memberInvitationStatusSchema,
|
|
5490
5712
|
MentionEntityType: mentionEntityTypeSchema,
|
|
5491
5713
|
MentionFieldFormatter: mentionFieldFormatterSchema,
|
|
5492
5714
|
MentionType: mentionTypeSchema,
|
|
5493
5715
|
MenuItemMarker: menuItemMarkerSchema,
|
|
5494
5716
|
MenuItemType: menuItemTypeSchema,
|
|
5495
5717
|
MessageDirection: messageDirectionSchema,
|
|
5718
|
+
MessageParticipantRole: messageParticipantRoleSchema,
|
|
5496
5719
|
MessageSource: messageSourceSchema,
|
|
5497
5720
|
MessageStatus: messageStatusSchema,
|
|
5498
5721
|
MessageThreadStatus: messageThreadStatusSchema,
|
|
@@ -5548,7 +5771,6 @@ const schemas = {
|
|
|
5548
5771
|
RepresentativeCapacity: representativeCapacitySchema,
|
|
5549
5772
|
RequestContactEmailChangeOutcome: requestContactEmailChangeOutcomeSchema,
|
|
5550
5773
|
ReservationDeclineReason: reservationDeclineReasonSchema,
|
|
5551
|
-
ReservationMessageStatus: reservationMessageStatusSchema,
|
|
5552
5774
|
ReservationMode: reservationModeSchema,
|
|
5553
5775
|
ReservationPromotionStatus: reservationPromotionStatusSchema,
|
|
5554
5776
|
ReservationStatus: reservationStatusSchema,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "order3000",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.2.0",
|
|
4
4
|
"description": "order3000 node.js sdk",
|
|
5
5
|
"main": "./dist/client.cjs",
|
|
6
6
|
"module": "./dist/client.mjs",
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
"tsx": "^4.19.2",
|
|
69
69
|
"typescript": "^5.9.3",
|
|
70
70
|
"@kolaveri/prettier-config": "1.0.6",
|
|
71
|
-
"@kolaveri/eslint-config": "1.
|
|
71
|
+
"@kolaveri/eslint-config": "1.20.0",
|
|
72
72
|
"@kolaveri/tsconfig": "1.0.1"
|
|
73
73
|
},
|
|
74
74
|
"files": [
|