@deliverart/sdk-js-integration 2.8.13 → 2.8.15
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/index.cjs +5106 -2481
- package/dist/index.d.cts +40 -40
- package/dist/index.d.ts +40 -40
- package/dist/index.js +5106 -2481
- package/package.json +7 -7
package/dist/index.d.ts
CHANGED
|
@@ -249,7 +249,7 @@ declare const activatableIntegrationSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
249
249
|
message: z.ZodNullable<z.ZodString>;
|
|
250
250
|
updatedAt: z.ZodString;
|
|
251
251
|
}, z.core.$strip>>>>;
|
|
252
|
-
}, z.core.$strip>]>;
|
|
252
|
+
}, z.core.$strip>], "service">;
|
|
253
253
|
type ActivatableIntegration = z.infer<typeof activatableIntegrationSchema>;
|
|
254
254
|
|
|
255
255
|
declare const integrationKitchenDataSchema: z.ZodObject<{
|
|
@@ -317,7 +317,7 @@ declare const integrationServiceDataSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
317
317
|
}>;
|
|
318
318
|
locale: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
319
319
|
}, z.core.$strip>;
|
|
320
|
-
}, z.core.$strip>]>;
|
|
320
|
+
}, z.core.$strip>], "service">;
|
|
321
321
|
type IntegrationServiceData = z.infer<typeof integrationServiceDataSchema>;
|
|
322
322
|
|
|
323
323
|
declare const activatableIntegrationStatuses: readonly ["waiting_for_user", "waiting_for_admin", "request_sent_partner", "active", "failed"];
|
|
@@ -547,7 +547,7 @@ declare const integrationActivationRequestSchema: z.ZodDiscriminatedUnion<[z.Zod
|
|
|
547
547
|
message: z.ZodNullable<z.ZodString>;
|
|
548
548
|
updatedAt: z.ZodString;
|
|
549
549
|
}, z.core.$strip>>>>;
|
|
550
|
-
}, z.core.$strip>]>;
|
|
550
|
+
}, z.core.$strip>], "service">;
|
|
551
551
|
type IntegrationActivationRequest = z.infer<typeof integrationActivationRequestSchema>;
|
|
552
552
|
declare const integrationActivationRequestDetailsSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
553
553
|
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
@@ -764,7 +764,7 @@ declare const integrationActivationRequestDetailsSchema: z.ZodDiscriminatedUnion
|
|
|
764
764
|
message: z.ZodNullable<z.ZodString>;
|
|
765
765
|
updatedAt: z.ZodString;
|
|
766
766
|
}, z.core.$strip>>>>;
|
|
767
|
-
}, z.core.$strip>]>;
|
|
767
|
+
}, z.core.$strip>], "service">;
|
|
768
768
|
type IntegrationActivationRequestDetails = z.infer<typeof integrationActivationRequestDetailsSchema>;
|
|
769
769
|
|
|
770
770
|
declare const integrationCancellationRequestSchema: z.ZodObject<{
|
|
@@ -991,7 +991,7 @@ declare const integrationSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
991
991
|
SELF_ORDER: "SELF_ORDER";
|
|
992
992
|
KIOSK: "KIOSK";
|
|
993
993
|
}>>;
|
|
994
|
-
}, z.core.$strip>]>;
|
|
994
|
+
}, z.core.$strip>], "service">;
|
|
995
995
|
type Integration = z.infer<typeof integrationSchema>;
|
|
996
996
|
declare const integrationDetailsSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
997
997
|
status: z.ZodEnum<{
|
|
@@ -1186,7 +1186,7 @@ declare const integrationDetailsSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1186
1186
|
KIOSK: "KIOSK";
|
|
1187
1187
|
}>>;
|
|
1188
1188
|
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
1189
|
-
}, z.core.$strip>]>;
|
|
1189
|
+
}, z.core.$strip>], "service">;
|
|
1190
1190
|
type IntegrationDetails = z.infer<typeof integrationDetailsSchema>;
|
|
1191
1191
|
|
|
1192
1192
|
declare const activateIntegrationActivationRequestInputSchema: z.ZodUndefined;
|
|
@@ -1406,7 +1406,7 @@ declare const activateIntegrationActivationRequestResponseSchema: z.ZodDiscrimin
|
|
|
1406
1406
|
message: z.ZodNullable<z.ZodString>;
|
|
1407
1407
|
updatedAt: z.ZodString;
|
|
1408
1408
|
}, z.core.$strip>>>>;
|
|
1409
|
-
}, z.core.$strip>]>;
|
|
1409
|
+
}, z.core.$strip>], "service">;
|
|
1410
1410
|
type ActivateIntegrationActivationRequestResponse = IntegrationActivationRequestDetails;
|
|
1411
1411
|
declare class ActivateIntegrationActivationRequest extends AbstractApiRequest<typeof activateIntegrationActivationRequestInputSchema, typeof activateIntegrationActivationRequestResponseSchema> {
|
|
1412
1412
|
readonly method = "POST";
|
|
@@ -1628,7 +1628,7 @@ declare class ActivateIntegrationActivationRequest extends AbstractApiRequest<ty
|
|
|
1628
1628
|
message: z.ZodNullable<z.ZodString>;
|
|
1629
1629
|
updatedAt: z.ZodString;
|
|
1630
1630
|
}, z.core.$strip>>>>;
|
|
1631
|
-
}, z.core.$strip>]>;
|
|
1631
|
+
}, z.core.$strip>], "service">;
|
|
1632
1632
|
readonly querySchema: undefined;
|
|
1633
1633
|
readonly headersSchema: undefined;
|
|
1634
1634
|
private readonly integrationActivationRequestId;
|
|
@@ -1855,7 +1855,7 @@ declare const annotateIntegrationActivationRequestResponseSchema: z.ZodDiscrimin
|
|
|
1855
1855
|
message: z.ZodNullable<z.ZodString>;
|
|
1856
1856
|
updatedAt: z.ZodString;
|
|
1857
1857
|
}, z.core.$strip>>>>;
|
|
1858
|
-
}, z.core.$strip>]>;
|
|
1858
|
+
}, z.core.$strip>], "service">;
|
|
1859
1859
|
type AnnotateIntegrationActivationRequestResponse = IntegrationActivationRequestDetails;
|
|
1860
1860
|
declare class AnnotateIntegrationActivationRequest extends AbstractApiRequest<typeof annotateIntegrationActivationRequestInputSchema, typeof annotateIntegrationActivationRequestResponseSchema> {
|
|
1861
1861
|
readonly method = "POST";
|
|
@@ -2079,7 +2079,7 @@ declare class AnnotateIntegrationActivationRequest extends AbstractApiRequest<ty
|
|
|
2079
2079
|
message: z.ZodNullable<z.ZodString>;
|
|
2080
2080
|
updatedAt: z.ZodString;
|
|
2081
2081
|
}, z.core.$strip>>>>;
|
|
2082
|
-
}, z.core.$strip>]>;
|
|
2082
|
+
}, z.core.$strip>], "service">;
|
|
2083
2083
|
readonly querySchema: undefined;
|
|
2084
2084
|
readonly headersSchema: undefined;
|
|
2085
2085
|
private readonly integrationActivationRequestId;
|
|
@@ -2152,7 +2152,7 @@ declare const createIntegrationActivationRequestInputSchema: z.ZodDiscriminatedU
|
|
|
2152
2152
|
cassa_in_cloud: "cassa_in_cloud";
|
|
2153
2153
|
}>;
|
|
2154
2154
|
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
2155
|
-
}, z.core.$strip>]>;
|
|
2155
|
+
}, z.core.$strip>], "service">;
|
|
2156
2156
|
type CreateIntegrationActivationRequestInput = z.input<typeof createIntegrationActivationRequestInputSchema>;
|
|
2157
2157
|
declare const createIntegrationActivationRequestResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2158
2158
|
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
@@ -2369,7 +2369,7 @@ declare const createIntegrationActivationRequestResponseSchema: z.ZodDiscriminat
|
|
|
2369
2369
|
message: z.ZodNullable<z.ZodString>;
|
|
2370
2370
|
updatedAt: z.ZodString;
|
|
2371
2371
|
}, z.core.$strip>>>>;
|
|
2372
|
-
}, z.core.$strip>]>;
|
|
2372
|
+
}, z.core.$strip>], "service">;
|
|
2373
2373
|
type CreateIntegrationActivationRequestResponse = IntegrationActivationRequestDetails;
|
|
2374
2374
|
declare class CreateIntegrationActivationRequest extends AbstractApiRequest<typeof createIntegrationActivationRequestInputSchema, typeof createIntegrationActivationRequestResponseSchema> {
|
|
2375
2375
|
readonly method = "POST";
|
|
@@ -2440,7 +2440,7 @@ declare class CreateIntegrationActivationRequest extends AbstractApiRequest<type
|
|
|
2440
2440
|
cassa_in_cloud: "cassa_in_cloud";
|
|
2441
2441
|
}>;
|
|
2442
2442
|
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
2443
|
-
}, z.core.$strip>]>;
|
|
2443
|
+
}, z.core.$strip>], "service">;
|
|
2444
2444
|
readonly outputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2445
2445
|
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
2446
2446
|
service: z.ZodLiteral<"kitchen">;
|
|
@@ -2656,7 +2656,7 @@ declare class CreateIntegrationActivationRequest extends AbstractApiRequest<type
|
|
|
2656
2656
|
message: z.ZodNullable<z.ZodString>;
|
|
2657
2657
|
updatedAt: z.ZodString;
|
|
2658
2658
|
}, z.core.$strip>>>>;
|
|
2659
|
-
}, z.core.$strip>]>;
|
|
2659
|
+
}, z.core.$strip>], "service">;
|
|
2660
2660
|
readonly querySchema: undefined;
|
|
2661
2661
|
readonly headersSchema: undefined;
|
|
2662
2662
|
constructor(input: CreateIntegrationActivationRequestInput);
|
|
@@ -2895,7 +2895,7 @@ declare const getIntegrationActivationRequestDetailsResponseSchema: z.ZodDiscrim
|
|
|
2895
2895
|
message: z.ZodNullable<z.ZodString>;
|
|
2896
2896
|
updatedAt: z.ZodString;
|
|
2897
2897
|
}, z.core.$strip>>>>;
|
|
2898
|
-
}, z.core.$strip>]>;
|
|
2898
|
+
}, z.core.$strip>], "service">;
|
|
2899
2899
|
type GetIntegrationActivationRequestDetailsResponse = IntegrationActivationRequestDetails;
|
|
2900
2900
|
declare class GetIntegrationActivationRequestDetails extends AbstractApiRequest<typeof getIntegrationActivationRequestDetailsInputSchema, typeof getIntegrationActivationRequestDetailsResponseSchema> {
|
|
2901
2901
|
readonly method = "GET";
|
|
@@ -3117,7 +3117,7 @@ declare class GetIntegrationActivationRequestDetails extends AbstractApiRequest<
|
|
|
3117
3117
|
message: z.ZodNullable<z.ZodString>;
|
|
3118
3118
|
updatedAt: z.ZodString;
|
|
3119
3119
|
}, z.core.$strip>>>>;
|
|
3120
|
-
}, z.core.$strip>]>;
|
|
3120
|
+
}, z.core.$strip>], "service">;
|
|
3121
3121
|
readonly querySchema: undefined;
|
|
3122
3122
|
readonly headersSchema: undefined;
|
|
3123
3123
|
private readonly integrationActivationRequestId;
|
|
@@ -3409,7 +3409,7 @@ declare const getIntegrationActivationRequestsResponseSchema: z.ZodObject<{
|
|
|
3409
3409
|
message: z.ZodNullable<z.ZodString>;
|
|
3410
3410
|
updatedAt: z.ZodString;
|
|
3411
3411
|
}, z.core.$strip>>>>;
|
|
3412
|
-
}, z.core.$strip>]>>;
|
|
3412
|
+
}, z.core.$strip>], "service">>;
|
|
3413
3413
|
pagination: z.ZodObject<{
|
|
3414
3414
|
from: z.ZodCoercedNumber<unknown>;
|
|
3415
3415
|
to: z.ZodCoercedNumber<unknown>;
|
|
@@ -3636,7 +3636,7 @@ declare class GetIntegrationActivationRequests extends AbstractApiRequest<typeof
|
|
|
3636
3636
|
message: z.ZodNullable<z.ZodString>;
|
|
3637
3637
|
updatedAt: z.ZodString;
|
|
3638
3638
|
}, z.core.$strip>>>>;
|
|
3639
|
-
}, z.core.$strip>]>>;
|
|
3639
|
+
}, z.core.$strip>], "service">>;
|
|
3640
3640
|
pagination: z.ZodObject<{
|
|
3641
3641
|
from: z.ZodCoercedNumber<unknown>;
|
|
3642
3642
|
to: z.ZodCoercedNumber<unknown>;
|
|
@@ -3927,7 +3927,7 @@ declare class GetIntegrationActivationRequests extends AbstractApiRequest<typeof
|
|
|
3927
3927
|
message: z.ZodNullable<z.ZodString>;
|
|
3928
3928
|
updatedAt: z.ZodString;
|
|
3929
3929
|
}, z.core.$strip>>>>;
|
|
3930
|
-
}, z.core.$strip>]>;
|
|
3930
|
+
}, z.core.$strip>], "service">;
|
|
3931
3931
|
readonly paginationDefaultEnabled = true;
|
|
3932
3932
|
constructor(options?: {
|
|
3933
3933
|
query?: GetIntegrationActivationRequestsQueryParams;
|
|
@@ -4218,7 +4218,7 @@ declare const getIntegrationActivationRequestsFromPointOfSaleResponseSchema: z.Z
|
|
|
4218
4218
|
message: z.ZodNullable<z.ZodString>;
|
|
4219
4219
|
updatedAt: z.ZodString;
|
|
4220
4220
|
}, z.core.$strip>>>>;
|
|
4221
|
-
}, z.core.$strip>]>>;
|
|
4221
|
+
}, z.core.$strip>], "service">>;
|
|
4222
4222
|
type GetIntegrationActivationRequestsFromPointOfSaleResponse = z.infer<typeof getIntegrationActivationRequestsFromPointOfSaleResponseSchema>;
|
|
4223
4223
|
declare class GetIntegrationActivationRequestsFromPointOfSale extends AbstractApiRequest<typeof getIntegrationActivationRequestsFromPointOfSaleInputSchema, typeof getIntegrationActivationRequestsFromPointOfSaleResponseSchema, GetIntegrationActivationRequestsFromPointOfSaleQueryParams> {
|
|
4224
4224
|
readonly method: "GET";
|
|
@@ -4435,7 +4435,7 @@ declare class GetIntegrationActivationRequestsFromPointOfSale extends AbstractAp
|
|
|
4435
4435
|
message: z.ZodNullable<z.ZodString>;
|
|
4436
4436
|
updatedAt: z.ZodString;
|
|
4437
4437
|
}, z.core.$strip>>>>;
|
|
4438
|
-
}, z.core.$strip>]>>;
|
|
4438
|
+
}, z.core.$strip>], "service">>;
|
|
4439
4439
|
readonly querySchema: z.ZodObject<{
|
|
4440
4440
|
'order[service]': z.ZodOptional<z.ZodEnum<{
|
|
4441
4441
|
asc: "asc";
|
|
@@ -4717,7 +4717,7 @@ declare class GetIntegrationActivationRequestsFromPointOfSale extends AbstractAp
|
|
|
4717
4717
|
message: z.ZodNullable<z.ZodString>;
|
|
4718
4718
|
updatedAt: z.ZodString;
|
|
4719
4719
|
}, z.core.$strip>>>>;
|
|
4720
|
-
}, z.core.$strip>]>;
|
|
4720
|
+
}, z.core.$strip>], "service">;
|
|
4721
4721
|
readonly paginationDefaultEnabled = false;
|
|
4722
4722
|
private readonly pointOfSaleId;
|
|
4723
4723
|
constructor(pointOfSaleId: string, options?: {
|
|
@@ -4966,7 +4966,7 @@ declare const respondIntegrationActivationRequestResponseSchema: z.ZodDiscrimina
|
|
|
4966
4966
|
message: z.ZodNullable<z.ZodString>;
|
|
4967
4967
|
updatedAt: z.ZodString;
|
|
4968
4968
|
}, z.core.$strip>>>>;
|
|
4969
|
-
}, z.core.$strip>]>;
|
|
4969
|
+
}, z.core.$strip>], "service">;
|
|
4970
4970
|
type RespondIntegrationActivationRequestResponse = IntegrationActivationRequestDetails;
|
|
4971
4971
|
declare class RespondIntegrationActivationRequest extends AbstractApiRequest<typeof respondIntegrationActivationRequestInputSchema, typeof respondIntegrationActivationRequestResponseSchema> {
|
|
4972
4972
|
readonly method = "POST";
|
|
@@ -5211,7 +5211,7 @@ declare class RespondIntegrationActivationRequest extends AbstractApiRequest<typ
|
|
|
5211
5211
|
message: z.ZodNullable<z.ZodString>;
|
|
5212
5212
|
updatedAt: z.ZodString;
|
|
5213
5213
|
}, z.core.$strip>>>>;
|
|
5214
|
-
}, z.core.$strip>]>;
|
|
5214
|
+
}, z.core.$strip>], "service">;
|
|
5215
5215
|
readonly querySchema: undefined;
|
|
5216
5216
|
readonly headersSchema: undefined;
|
|
5217
5217
|
private readonly integrationActivationRequestId;
|
|
@@ -5436,7 +5436,7 @@ declare const sendIntegrationActivationRequestToPartnerResponseSchema: z.ZodDisc
|
|
|
5436
5436
|
message: z.ZodNullable<z.ZodString>;
|
|
5437
5437
|
updatedAt: z.ZodString;
|
|
5438
5438
|
}, z.core.$strip>>>>;
|
|
5439
|
-
}, z.core.$strip>]>;
|
|
5439
|
+
}, z.core.$strip>], "service">;
|
|
5440
5440
|
type SendIntegrationActivationRequestToPartnerResponse = IntegrationActivationRequestDetails;
|
|
5441
5441
|
declare class SendIntegrationActivationRequestToPartner extends AbstractApiRequest<typeof sendIntegrationActivationRequestToPartnerInputSchema, typeof sendIntegrationActivationRequestToPartnerResponseSchema> {
|
|
5442
5442
|
readonly method = "POST";
|
|
@@ -5658,7 +5658,7 @@ declare class SendIntegrationActivationRequestToPartner extends AbstractApiReque
|
|
|
5658
5658
|
message: z.ZodNullable<z.ZodString>;
|
|
5659
5659
|
updatedAt: z.ZodString;
|
|
5660
5660
|
}, z.core.$strip>>>>;
|
|
5661
|
-
}, z.core.$strip>]>;
|
|
5661
|
+
}, z.core.$strip>], "service">;
|
|
5662
5662
|
readonly querySchema: undefined;
|
|
5663
5663
|
readonly headersSchema: undefined;
|
|
5664
5664
|
private readonly integrationActivationRequestId;
|
|
@@ -5761,7 +5761,7 @@ declare const updateIntegrationActivationRequestInputSchema: z.ZodDiscriminatedU
|
|
|
5761
5761
|
pointOfSale: z.ZodOptional<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>>;
|
|
5762
5762
|
name: z.ZodOptional<z.ZodString>;
|
|
5763
5763
|
internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5764
|
-
}, z.core.$strip>]>;
|
|
5764
|
+
}, z.core.$strip>], "service">;
|
|
5765
5765
|
type UpdateIntegrationActivationRequestInput = z.input<typeof updateIntegrationActivationRequestInputSchema>;
|
|
5766
5766
|
declare const updateIntegrationActivationRequestResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5767
5767
|
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
@@ -5978,7 +5978,7 @@ declare const updateIntegrationActivationRequestResponseSchema: z.ZodDiscriminat
|
|
|
5978
5978
|
message: z.ZodNullable<z.ZodString>;
|
|
5979
5979
|
updatedAt: z.ZodString;
|
|
5980
5980
|
}, z.core.$strip>>>>;
|
|
5981
|
-
}, z.core.$strip>]>;
|
|
5981
|
+
}, z.core.$strip>], "service">;
|
|
5982
5982
|
type UpdateIntegrationActivationRequestResponse = IntegrationActivationRequestDetails;
|
|
5983
5983
|
declare class UpdateIntegrationActivationRequest extends AbstractApiRequest<typeof updateIntegrationActivationRequestInputSchema, typeof updateIntegrationActivationRequestResponseSchema> {
|
|
5984
5984
|
readonly method = "PATCH";
|
|
@@ -6079,7 +6079,7 @@ declare class UpdateIntegrationActivationRequest extends AbstractApiRequest<type
|
|
|
6079
6079
|
pointOfSale: z.ZodOptional<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>>;
|
|
6080
6080
|
name: z.ZodOptional<z.ZodString>;
|
|
6081
6081
|
internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6082
|
-
}, z.core.$strip>]>;
|
|
6082
|
+
}, z.core.$strip>], "service">;
|
|
6083
6083
|
readonly outputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
6084
6084
|
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
6085
6085
|
service: z.ZodLiteral<"kitchen">;
|
|
@@ -6295,7 +6295,7 @@ declare class UpdateIntegrationActivationRequest extends AbstractApiRequest<type
|
|
|
6295
6295
|
message: z.ZodNullable<z.ZodString>;
|
|
6296
6296
|
updatedAt: z.ZodString;
|
|
6297
6297
|
}, z.core.$strip>>>>;
|
|
6298
|
-
}, z.core.$strip>]>;
|
|
6298
|
+
}, z.core.$strip>], "service">;
|
|
6299
6299
|
readonly querySchema: undefined;
|
|
6300
6300
|
readonly headersSchema: undefined;
|
|
6301
6301
|
private readonly integrationActivationRequestId;
|
|
@@ -6765,7 +6765,7 @@ declare const getIntegrationDetailsResponseSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
6765
6765
|
KIOSK: "KIOSK";
|
|
6766
6766
|
}>>;
|
|
6767
6767
|
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
6768
|
-
}, z.core.$strip>]>;
|
|
6768
|
+
}, z.core.$strip>], "service">;
|
|
6769
6769
|
type GetIntegrationDetailsResponse = IntegrationDetails;
|
|
6770
6770
|
declare class GetIntegrationDetails extends AbstractApiRequest<typeof getIntegrationDetailsInputSchema, typeof getIntegrationDetailsResponseSchema> {
|
|
6771
6771
|
readonly method = "GET";
|
|
@@ -6965,7 +6965,7 @@ declare class GetIntegrationDetails extends AbstractApiRequest<typeof getIntegra
|
|
|
6965
6965
|
KIOSK: "KIOSK";
|
|
6966
6966
|
}>>;
|
|
6967
6967
|
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
6968
|
-
}, z.core.$strip>]>;
|
|
6968
|
+
}, z.core.$strip>], "service">;
|
|
6969
6969
|
readonly querySchema: undefined;
|
|
6970
6970
|
readonly headersSchema: undefined;
|
|
6971
6971
|
private readonly integrationId;
|
|
@@ -7201,7 +7201,7 @@ declare const getIntegrationsResponseSchema: z.ZodObject<{
|
|
|
7201
7201
|
SELF_ORDER: "SELF_ORDER";
|
|
7202
7202
|
KIOSK: "KIOSK";
|
|
7203
7203
|
}>>;
|
|
7204
|
-
}, z.core.$strip>]>>;
|
|
7204
|
+
}, z.core.$strip>], "service">>;
|
|
7205
7205
|
pagination: z.ZodObject<{
|
|
7206
7206
|
from: z.ZodCoercedNumber<unknown>;
|
|
7207
7207
|
to: z.ZodCoercedNumber<unknown>;
|
|
@@ -7406,7 +7406,7 @@ declare class GetIntegrations extends AbstractApiRequest<typeof getIntegrationsI
|
|
|
7406
7406
|
SELF_ORDER: "SELF_ORDER";
|
|
7407
7407
|
KIOSK: "KIOSK";
|
|
7408
7408
|
}>>;
|
|
7409
|
-
}, z.core.$strip>]>>;
|
|
7409
|
+
}, z.core.$strip>], "service">>;
|
|
7410
7410
|
pagination: z.ZodObject<{
|
|
7411
7411
|
from: z.ZodCoercedNumber<unknown>;
|
|
7412
7412
|
to: z.ZodCoercedNumber<unknown>;
|
|
@@ -7641,7 +7641,7 @@ declare class GetIntegrations extends AbstractApiRequest<typeof getIntegrationsI
|
|
|
7641
7641
|
SELF_ORDER: "SELF_ORDER";
|
|
7642
7642
|
KIOSK: "KIOSK";
|
|
7643
7643
|
}>>;
|
|
7644
|
-
}, z.core.$strip>]>;
|
|
7644
|
+
}, z.core.$strip>], "service">;
|
|
7645
7645
|
readonly paginationDefaultEnabled = true;
|
|
7646
7646
|
constructor(options?: {
|
|
7647
7647
|
query?: GetIntegrationsQueryParams;
|
|
@@ -7876,7 +7876,7 @@ declare const getIntegrationsFromPointOfSaleResponseSchema: z.ZodArray<z.ZodDisc
|
|
|
7876
7876
|
SELF_ORDER: "SELF_ORDER";
|
|
7877
7877
|
KIOSK: "KIOSK";
|
|
7878
7878
|
}>>;
|
|
7879
|
-
}, z.core.$strip>]>>;
|
|
7879
|
+
}, z.core.$strip>], "service">>;
|
|
7880
7880
|
type GetIntegrationsFromPointOfSaleResponse = z.infer<typeof getIntegrationsFromPointOfSaleResponseSchema>;
|
|
7881
7881
|
declare class GetIntegrationsFromPointOfSale extends AbstractApiRequest<typeof getIntegrationsFromPointOfSaleInputSchema, typeof getIntegrationsFromPointOfSaleResponseSchema, GetIntegrationsFromPointOfSaleQueryParams> {
|
|
7882
7882
|
readonly method: "GET";
|
|
@@ -8071,7 +8071,7 @@ declare class GetIntegrationsFromPointOfSale extends AbstractApiRequest<typeof g
|
|
|
8071
8071
|
SELF_ORDER: "SELF_ORDER";
|
|
8072
8072
|
KIOSK: "KIOSK";
|
|
8073
8073
|
}>>;
|
|
8074
|
-
}, z.core.$strip>]>>;
|
|
8074
|
+
}, z.core.$strip>], "service">>;
|
|
8075
8075
|
readonly querySchema: z.ZodObject<{
|
|
8076
8076
|
status: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
8077
8077
|
pending: "pending";
|
|
@@ -8297,7 +8297,7 @@ declare class GetIntegrationsFromPointOfSale extends AbstractApiRequest<typeof g
|
|
|
8297
8297
|
SELF_ORDER: "SELF_ORDER";
|
|
8298
8298
|
KIOSK: "KIOSK";
|
|
8299
8299
|
}>>;
|
|
8300
|
-
}, z.core.$strip>]>;
|
|
8300
|
+
}, z.core.$strip>], "service">;
|
|
8301
8301
|
readonly paginationDefaultEnabled = false;
|
|
8302
8302
|
private readonly pointOfSaleId;
|
|
8303
8303
|
constructor(pointOfSaleId: string, options?: {
|
|
@@ -15885,7 +15885,7 @@ declare const updateIntegrationResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
15885
15885
|
KIOSK: "KIOSK";
|
|
15886
15886
|
}>>;
|
|
15887
15887
|
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
15888
|
-
}, z.core.$strip>]>;
|
|
15888
|
+
}, z.core.$strip>], "service">;
|
|
15889
15889
|
type UpdateIntegrationResponse = IntegrationDetails;
|
|
15890
15890
|
declare class UpdateIntegration extends AbstractApiRequest<typeof updateIntegrationInputSchema, typeof updateIntegrationResponseSchema> {
|
|
15891
15891
|
readonly method = "PATCH";
|
|
@@ -16095,7 +16095,7 @@ declare class UpdateIntegration extends AbstractApiRequest<typeof updateIntegrat
|
|
|
16095
16095
|
KIOSK: "KIOSK";
|
|
16096
16096
|
}>>;
|
|
16097
16097
|
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
16098
|
-
}, z.core.$strip>]>;
|
|
16098
|
+
}, z.core.$strip>], "service">;
|
|
16099
16099
|
readonly querySchema: undefined;
|
|
16100
16100
|
readonly headersSchema: undefined;
|
|
16101
16101
|
private readonly integrationId;
|