@deliverart/sdk-js-integration 1.2.2 → 2.1.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/index.cjs +62 -64
- package/dist/index.d.cts +214 -284
- package/dist/index.d.ts +214 -284
- package/dist/index.js +62 -64
- package/package.json +5 -5
package/dist/index.d.cts
CHANGED
|
@@ -3,7 +3,6 @@ import { Paginated } from '@deliverart/sdk-js-global-types';
|
|
|
3
3
|
import * as zod from 'zod';
|
|
4
4
|
import { z } from 'zod';
|
|
5
5
|
import { AbstractApiRequest } from '@deliverart/sdk-js-core';
|
|
6
|
-
import { AxiosResponse } from 'axios';
|
|
7
6
|
import * as zod_v4_core_schemas_cjs from 'zod/v4/core/schemas.cjs';
|
|
8
7
|
|
|
9
8
|
declare const activatableIntegrationBaseSchema: z.ZodObject<{
|
|
@@ -3180,52 +3179,47 @@ declare const getIntegrationActivationRequestsQuerySchema: z.ZodObject<{
|
|
|
3180
3179
|
asc: "asc";
|
|
3181
3180
|
desc: "desc";
|
|
3182
3181
|
}>>;
|
|
3183
|
-
service: z.ZodOptional<z.ZodEnum<{
|
|
3182
|
+
service: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
3184
3183
|
cassa_in_cloud: "cassa_in_cloud";
|
|
3185
3184
|
deliveroo: "deliveroo";
|
|
3186
3185
|
justeat: "justeat";
|
|
3187
3186
|
glovo: "glovo";
|
|
3188
|
-
}
|
|
3189
|
-
'service[]': z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
3187
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
3190
3188
|
cassa_in_cloud: "cassa_in_cloud";
|
|
3191
3189
|
deliveroo: "deliveroo";
|
|
3192
3190
|
justeat: "justeat";
|
|
3193
3191
|
glovo: "glovo";
|
|
3194
|
-
}
|
|
3195
|
-
provider: z.ZodOptional<z.ZodEnum<{
|
|
3192
|
+
}>>]>>;
|
|
3193
|
+
provider: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
3196
3194
|
deliverart: "deliverart";
|
|
3197
3195
|
cassa_in_cloud: "cassa_in_cloud";
|
|
3198
|
-
}
|
|
3199
|
-
'provider[]': z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
3196
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
3200
3197
|
deliverart: "deliverart";
|
|
3201
3198
|
cassa_in_cloud: "cassa_in_cloud";
|
|
3202
|
-
}
|
|
3203
|
-
status: z.ZodOptional<z.ZodEnum<{
|
|
3199
|
+
}>>]>>;
|
|
3200
|
+
status: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
3204
3201
|
active: "active";
|
|
3205
3202
|
waiting_for_user: "waiting_for_user";
|
|
3206
3203
|
waiting_for_admin: "waiting_for_admin";
|
|
3207
3204
|
request_sent_partner: "request_sent_partner";
|
|
3208
3205
|
failed: "failed";
|
|
3209
|
-
}
|
|
3210
|
-
'status[]': z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
3206
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
3211
3207
|
active: "active";
|
|
3212
3208
|
waiting_for_user: "waiting_for_user";
|
|
3213
3209
|
waiting_for_admin: "waiting_for_admin";
|
|
3214
3210
|
request_sent_partner: "request_sent_partner";
|
|
3215
3211
|
failed: "failed";
|
|
3216
|
-
}
|
|
3217
|
-
healthStatus: z.ZodOptional<z.ZodEnum<{
|
|
3212
|
+
}>>]>>;
|
|
3213
|
+
healthStatus: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
3218
3214
|
success: "success";
|
|
3219
3215
|
waiting: "waiting";
|
|
3220
3216
|
error: "error";
|
|
3221
|
-
}
|
|
3222
|
-
'healthStatus[]': z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
3217
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
3223
3218
|
success: "success";
|
|
3224
3219
|
waiting: "waiting";
|
|
3225
3220
|
error: "error";
|
|
3226
|
-
}
|
|
3227
|
-
connectionId: z.ZodOptional<z.ZodString
|
|
3228
|
-
'connectionId[]': z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3221
|
+
}>>]>>;
|
|
3222
|
+
connectionId: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
3229
3223
|
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
3230
3224
|
'createdAt[before]': z.ZodOptional<z.ZodString>;
|
|
3231
3225
|
'createdAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
@@ -3624,52 +3618,47 @@ declare class GetIntegrationActivationRequests extends AbstractApiRequest<typeof
|
|
|
3624
3618
|
asc: "asc";
|
|
3625
3619
|
desc: "desc";
|
|
3626
3620
|
}>>;
|
|
3627
|
-
service: z.ZodOptional<z.ZodEnum<{
|
|
3621
|
+
service: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
3628
3622
|
cassa_in_cloud: "cassa_in_cloud";
|
|
3629
3623
|
deliveroo: "deliveroo";
|
|
3630
3624
|
justeat: "justeat";
|
|
3631
3625
|
glovo: "glovo";
|
|
3632
|
-
}
|
|
3633
|
-
'service[]': z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
3626
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
3634
3627
|
cassa_in_cloud: "cassa_in_cloud";
|
|
3635
3628
|
deliveroo: "deliveroo";
|
|
3636
3629
|
justeat: "justeat";
|
|
3637
3630
|
glovo: "glovo";
|
|
3638
|
-
}
|
|
3639
|
-
provider: z.ZodOptional<z.ZodEnum<{
|
|
3631
|
+
}>>]>>;
|
|
3632
|
+
provider: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
3640
3633
|
deliverart: "deliverart";
|
|
3641
3634
|
cassa_in_cloud: "cassa_in_cloud";
|
|
3642
|
-
}
|
|
3643
|
-
'provider[]': z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
3635
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
3644
3636
|
deliverart: "deliverart";
|
|
3645
3637
|
cassa_in_cloud: "cassa_in_cloud";
|
|
3646
|
-
}
|
|
3647
|
-
status: z.ZodOptional<z.ZodEnum<{
|
|
3638
|
+
}>>]>>;
|
|
3639
|
+
status: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
3648
3640
|
active: "active";
|
|
3649
3641
|
waiting_for_user: "waiting_for_user";
|
|
3650
3642
|
waiting_for_admin: "waiting_for_admin";
|
|
3651
3643
|
request_sent_partner: "request_sent_partner";
|
|
3652
3644
|
failed: "failed";
|
|
3653
|
-
}
|
|
3654
|
-
'status[]': z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
3645
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
3655
3646
|
active: "active";
|
|
3656
3647
|
waiting_for_user: "waiting_for_user";
|
|
3657
3648
|
waiting_for_admin: "waiting_for_admin";
|
|
3658
3649
|
request_sent_partner: "request_sent_partner";
|
|
3659
3650
|
failed: "failed";
|
|
3660
|
-
}
|
|
3661
|
-
healthStatus: z.ZodOptional<z.ZodEnum<{
|
|
3651
|
+
}>>]>>;
|
|
3652
|
+
healthStatus: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
3662
3653
|
success: "success";
|
|
3663
3654
|
waiting: "waiting";
|
|
3664
3655
|
error: "error";
|
|
3665
|
-
}
|
|
3666
|
-
'healthStatus[]': z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
3656
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
3667
3657
|
success: "success";
|
|
3668
3658
|
waiting: "waiting";
|
|
3669
3659
|
error: "error";
|
|
3670
|
-
}
|
|
3671
|
-
connectionId: z.ZodOptional<z.ZodString
|
|
3672
|
-
'connectionId[]': z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3660
|
+
}>>]>>;
|
|
3661
|
+
connectionId: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
3673
3662
|
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
3674
3663
|
'createdAt[before]': z.ZodOptional<z.ZodString>;
|
|
3675
3664
|
'createdAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
@@ -3685,7 +3674,7 @@ declare class GetIntegrationActivationRequests extends AbstractApiRequest<typeof
|
|
|
3685
3674
|
query?: GetIntegrationActivationRequestsQueryParams;
|
|
3686
3675
|
});
|
|
3687
3676
|
getPath(): string;
|
|
3688
|
-
parseResponse(data: unknown, rawResponse:
|
|
3677
|
+
parseResponse(data: unknown, rawResponse: Response): Paginated<IntegrationActivationRequest>;
|
|
3689
3678
|
}
|
|
3690
3679
|
|
|
3691
3680
|
declare const respondIntegrationActivationRequestInputSchema: z.ZodObject<{
|
|
@@ -5719,16 +5708,15 @@ declare const getIntegrationCancellationRequestsQuerySchema: z.ZodObject<{
|
|
|
5719
5708
|
asc: "asc";
|
|
5720
5709
|
desc: "desc";
|
|
5721
5710
|
}>>;
|
|
5722
|
-
status: z.ZodOptional<z.ZodEnum<{
|
|
5711
|
+
status: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
5723
5712
|
pending: "pending";
|
|
5724
5713
|
aborted: "aborted";
|
|
5725
5714
|
completed: "completed";
|
|
5726
|
-
}
|
|
5727
|
-
'status[]': z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
5715
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
5728
5716
|
pending: "pending";
|
|
5729
5717
|
aborted: "aborted";
|
|
5730
5718
|
completed: "completed";
|
|
5731
|
-
}
|
|
5719
|
+
}>>]>>;
|
|
5732
5720
|
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
5733
5721
|
'createdAt[before]': z.ZodOptional<z.ZodString>;
|
|
5734
5722
|
'createdAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
@@ -5797,16 +5785,15 @@ declare class GetIntegrationCancellationRequests extends AbstractApiRequest<type
|
|
|
5797
5785
|
asc: "asc";
|
|
5798
5786
|
desc: "desc";
|
|
5799
5787
|
}>>;
|
|
5800
|
-
status: z.ZodOptional<z.ZodEnum<{
|
|
5788
|
+
status: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
5801
5789
|
pending: "pending";
|
|
5802
5790
|
aborted: "aborted";
|
|
5803
5791
|
completed: "completed";
|
|
5804
|
-
}
|
|
5805
|
-
'status[]': z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
5792
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
5806
5793
|
pending: "pending";
|
|
5807
5794
|
aborted: "aborted";
|
|
5808
5795
|
completed: "completed";
|
|
5809
|
-
}
|
|
5796
|
+
}>>]>>;
|
|
5810
5797
|
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
5811
5798
|
'createdAt[before]': z.ZodOptional<z.ZodString>;
|
|
5812
5799
|
'createdAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
@@ -5822,7 +5809,7 @@ declare class GetIntegrationCancellationRequests extends AbstractApiRequest<type
|
|
|
5822
5809
|
query?: GetIntegrationCancellationRequestsQueryParams;
|
|
5823
5810
|
});
|
|
5824
5811
|
getPath(): string;
|
|
5825
|
-
parseResponse(data: unknown, rawResponse:
|
|
5812
|
+
parseResponse(data: unknown, rawResponse: Response): Paginated<IntegrationCancellationRequest>;
|
|
5826
5813
|
}
|
|
5827
5814
|
|
|
5828
5815
|
declare const deleteIntegrationInputSchema: z.ZodUndefined;
|
|
@@ -6443,18 +6430,16 @@ declare class GetIntegrationDetails extends AbstractApiRequest<typeof getIntegra
|
|
|
6443
6430
|
}
|
|
6444
6431
|
|
|
6445
6432
|
declare const getIntegrationsQuerySchema: z.ZodObject<{
|
|
6446
|
-
status: z.ZodOptional<z.ZodEnum<{
|
|
6433
|
+
status: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
6447
6434
|
pending: "pending";
|
|
6448
6435
|
active: "active";
|
|
6449
6436
|
deleting: "deleting";
|
|
6450
|
-
}
|
|
6451
|
-
'status[]': z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
6437
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
6452
6438
|
pending: "pending";
|
|
6453
6439
|
active: "active";
|
|
6454
6440
|
deleting: "deleting";
|
|
6455
|
-
}
|
|
6456
|
-
connectionId: z.ZodOptional<z.ZodString
|
|
6457
|
-
'connectionId[]': z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
6441
|
+
}>>]>>;
|
|
6442
|
+
connectionId: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
6458
6443
|
service: z.ZodOptional<z.ZodEnum<{
|
|
6459
6444
|
cassa_in_cloud: "cassa_in_cloud";
|
|
6460
6445
|
deliveroo: "deliveroo";
|
|
@@ -6795,18 +6780,16 @@ declare class GetIntegrations extends AbstractApiRequest<typeof getIntegrationsI
|
|
|
6795
6780
|
}, z.core.$strip>;
|
|
6796
6781
|
}, z.core.$strip>;
|
|
6797
6782
|
readonly querySchema: z.ZodObject<{
|
|
6798
|
-
status: z.ZodOptional<z.ZodEnum<{
|
|
6783
|
+
status: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
6799
6784
|
pending: "pending";
|
|
6800
6785
|
active: "active";
|
|
6801
6786
|
deleting: "deleting";
|
|
6802
|
-
}
|
|
6803
|
-
'status[]': z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
6787
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
6804
6788
|
pending: "pending";
|
|
6805
6789
|
active: "active";
|
|
6806
6790
|
deleting: "deleting";
|
|
6807
|
-
}
|
|
6808
|
-
connectionId: z.ZodOptional<z.ZodString
|
|
6809
|
-
'connectionId[]': z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
6791
|
+
}>>]>>;
|
|
6792
|
+
connectionId: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
6810
6793
|
service: z.ZodOptional<z.ZodEnum<{
|
|
6811
6794
|
cassa_in_cloud: "cassa_in_cloud";
|
|
6812
6795
|
deliveroo: "deliveroo";
|
|
@@ -6836,7 +6819,7 @@ declare class GetIntegrations extends AbstractApiRequest<typeof getIntegrationsI
|
|
|
6836
6819
|
query?: GetIntegrationsQueryParams;
|
|
6837
6820
|
});
|
|
6838
6821
|
getPath(): string;
|
|
6839
|
-
parseResponse(data: unknown, rawResponse:
|
|
6822
|
+
parseResponse(data: unknown, rawResponse: Response): Paginated<Integration>;
|
|
6840
6823
|
}
|
|
6841
6824
|
|
|
6842
6825
|
declare const integrationCassaInCloudSchema: z.ZodObject<{
|
|
@@ -7017,7 +7000,7 @@ declare const integrationCassaInCloudWebHookEventsQuerySchema: z.ZodObject<{
|
|
|
7017
7000
|
asc: "asc";
|
|
7018
7001
|
desc: "desc";
|
|
7019
7002
|
}>>;
|
|
7020
|
-
entity: z.ZodOptional<z.ZodEnum<{
|
|
7003
|
+
entity: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
7021
7004
|
BILL: "BILL";
|
|
7022
7005
|
RECEIPT: "RECEIPT";
|
|
7023
7006
|
CREDIT_NOTE: "CREDIT_NOTE";
|
|
@@ -7029,8 +7012,7 @@ declare const integrationCassaInCloudWebHookEventsQuerySchema: z.ZodObject<{
|
|
|
7029
7012
|
STOCK_MOVEMENT: "STOCK_MOVEMENT";
|
|
7030
7013
|
CUSTOMER: "CUSTOMER";
|
|
7031
7014
|
ORGANIZATION: "ORGANIZATION";
|
|
7032
|
-
}
|
|
7033
|
-
'entity[]': z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
7015
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
7034
7016
|
BILL: "BILL";
|
|
7035
7017
|
RECEIPT: "RECEIPT";
|
|
7036
7018
|
CREDIT_NOTE: "CREDIT_NOTE";
|
|
@@ -7042,17 +7024,16 @@ declare const integrationCassaInCloudWebHookEventsQuerySchema: z.ZodObject<{
|
|
|
7042
7024
|
STOCK_MOVEMENT: "STOCK_MOVEMENT";
|
|
7043
7025
|
CUSTOMER: "CUSTOMER";
|
|
7044
7026
|
ORGANIZATION: "ORGANIZATION";
|
|
7045
|
-
}
|
|
7046
|
-
event: z.ZodOptional<z.ZodEnum<{
|
|
7027
|
+
}>>]>>;
|
|
7028
|
+
event: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
7047
7029
|
DELETE: "DELETE";
|
|
7048
7030
|
CREATE: "CREATE";
|
|
7049
7031
|
UPDATE: "UPDATE";
|
|
7050
|
-
}
|
|
7051
|
-
'event[]': z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
7032
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
7052
7033
|
DELETE: "DELETE";
|
|
7053
7034
|
CREATE: "CREATE";
|
|
7054
7035
|
UPDATE: "UPDATE";
|
|
7055
|
-
}
|
|
7036
|
+
}>>]>>;
|
|
7056
7037
|
'createdAt[before]': z.ZodOptional<z.ZodString>;
|
|
7057
7038
|
'createdAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
7058
7039
|
'createdAt[after]': z.ZodOptional<z.ZodString>;
|
|
@@ -7315,20 +7296,19 @@ declare const clientLogRequestQuerySchema: z.ZodObject<{
|
|
|
7315
7296
|
asc: "asc";
|
|
7316
7297
|
desc: "desc";
|
|
7317
7298
|
}>>;
|
|
7318
|
-
method: z.ZodOptional<z.ZodEnum<{
|
|
7299
|
+
method: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
7319
7300
|
DELETE: "DELETE";
|
|
7320
7301
|
GET: "GET";
|
|
7321
7302
|
PATCH: "PATCH";
|
|
7322
7303
|
POST: "POST";
|
|
7323
7304
|
PUT: "PUT";
|
|
7324
|
-
}
|
|
7325
|
-
'method[]': z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
7305
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
7326
7306
|
DELETE: "DELETE";
|
|
7327
7307
|
GET: "GET";
|
|
7328
7308
|
PATCH: "PATCH";
|
|
7329
7309
|
POST: "POST";
|
|
7330
7310
|
PUT: "PUT";
|
|
7331
|
-
}
|
|
7311
|
+
}>>]>>;
|
|
7332
7312
|
'statusCode[between]': z.ZodOptional<z.ZodNumber>;
|
|
7333
7313
|
'statusCode[gt]': z.ZodOptional<z.ZodNumber>;
|
|
7334
7314
|
'statusCode[gte]': z.ZodOptional<z.ZodNumber>;
|
|
@@ -7399,20 +7379,19 @@ declare const getIntegrationCassaInCloudClientLogRequestsQuerySchema: z.ZodObjec
|
|
|
7399
7379
|
asc: "asc";
|
|
7400
7380
|
desc: "desc";
|
|
7401
7381
|
}>>;
|
|
7402
|
-
method: z.ZodOptional<z.ZodEnum<{
|
|
7382
|
+
method: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
7403
7383
|
DELETE: "DELETE";
|
|
7404
7384
|
GET: "GET";
|
|
7405
7385
|
PATCH: "PATCH";
|
|
7406
7386
|
POST: "POST";
|
|
7407
7387
|
PUT: "PUT";
|
|
7408
|
-
}
|
|
7409
|
-
'method[]': z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
7388
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
7410
7389
|
DELETE: "DELETE";
|
|
7411
7390
|
GET: "GET";
|
|
7412
7391
|
PATCH: "PATCH";
|
|
7413
7392
|
POST: "POST";
|
|
7414
7393
|
PUT: "PUT";
|
|
7415
|
-
}
|
|
7394
|
+
}>>]>>;
|
|
7416
7395
|
'statusCode[between]': z.ZodOptional<z.ZodNumber>;
|
|
7417
7396
|
'statusCode[gt]': z.ZodOptional<z.ZodNumber>;
|
|
7418
7397
|
'statusCode[gte]': z.ZodOptional<z.ZodNumber>;
|
|
@@ -7484,20 +7463,19 @@ declare class GetIntegrationCassaInCloudClientLogRequests extends AbstractApiReq
|
|
|
7484
7463
|
asc: "asc";
|
|
7485
7464
|
desc: "desc";
|
|
7486
7465
|
}>>;
|
|
7487
|
-
method: z.ZodOptional<z.ZodEnum<{
|
|
7466
|
+
method: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
7488
7467
|
DELETE: "DELETE";
|
|
7489
7468
|
GET: "GET";
|
|
7490
7469
|
PATCH: "PATCH";
|
|
7491
7470
|
POST: "POST";
|
|
7492
7471
|
PUT: "PUT";
|
|
7493
|
-
}
|
|
7494
|
-
'method[]': z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
7472
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
7495
7473
|
DELETE: "DELETE";
|
|
7496
7474
|
GET: "GET";
|
|
7497
7475
|
PATCH: "PATCH";
|
|
7498
7476
|
POST: "POST";
|
|
7499
7477
|
PUT: "PUT";
|
|
7500
|
-
}
|
|
7478
|
+
}>>]>>;
|
|
7501
7479
|
'statusCode[between]': z.ZodOptional<z.ZodNumber>;
|
|
7502
7480
|
'statusCode[gt]': z.ZodOptional<z.ZodNumber>;
|
|
7503
7481
|
'statusCode[gte]': z.ZodOptional<z.ZodNumber>;
|
|
@@ -7515,7 +7493,7 @@ declare class GetIntegrationCassaInCloudClientLogRequests extends AbstractApiReq
|
|
|
7515
7493
|
query?: GetIntegrationCassaInCloudClientLogRequestsQueryParams;
|
|
7516
7494
|
});
|
|
7517
7495
|
getPath(): string;
|
|
7518
|
-
parseResponse(data: unknown, rawResponse:
|
|
7496
|
+
parseResponse(data: unknown, rawResponse: Response): Paginated<IntegrationClientLogRequest>;
|
|
7519
7497
|
}
|
|
7520
7498
|
|
|
7521
7499
|
declare const getIntegrationCassaInCloudDetailsInputSchema: z.ZodUndefined;
|
|
@@ -7612,18 +7590,25 @@ declare class GetIntegrationCassaInCloudDetails extends AbstractApiRequest<typeo
|
|
|
7612
7590
|
}
|
|
7613
7591
|
|
|
7614
7592
|
declare const getIntegrationCassaInCloudListQuerySchema: z.ZodObject<{
|
|
7615
|
-
direction: z.ZodOptional<z.ZodEnum<{
|
|
7593
|
+
direction: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
7616
7594
|
EXTERNAL_TO_INTERNAL: "EXTERNAL_TO_INTERNAL";
|
|
7617
7595
|
INTERNAL_TO_EXTERNAL: "INTERNAL_TO_EXTERNAL";
|
|
7618
|
-
}
|
|
7619
|
-
|
|
7620
|
-
|
|
7621
|
-
|
|
7596
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
7597
|
+
EXTERNAL_TO_INTERNAL: "EXTERNAL_TO_INTERNAL";
|
|
7598
|
+
INTERNAL_TO_EXTERNAL: "INTERNAL_TO_EXTERNAL";
|
|
7599
|
+
}>>]>>;
|
|
7600
|
+
apiKey: z.ZodOptional<z.ZodUnion<readonly [z.ZodOptional<z.ZodString>, z.ZodArray<z.ZodString>]>>;
|
|
7601
|
+
idSalesPoint: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
7602
|
+
status: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
7622
7603
|
pending: "pending";
|
|
7623
7604
|
active: "active";
|
|
7624
7605
|
deleting: "deleting";
|
|
7625
|
-
}
|
|
7626
|
-
|
|
7606
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
7607
|
+
pending: "pending";
|
|
7608
|
+
active: "active";
|
|
7609
|
+
deleting: "deleting";
|
|
7610
|
+
}>>]>>;
|
|
7611
|
+
connectionId: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
7627
7612
|
'order[createdAt]': z.ZodOptional<z.ZodEnum<{
|
|
7628
7613
|
asc: "asc";
|
|
7629
7614
|
desc: "desc";
|
|
@@ -7632,12 +7617,6 @@ declare const getIntegrationCassaInCloudListQuerySchema: z.ZodObject<{
|
|
|
7632
7617
|
asc: "asc";
|
|
7633
7618
|
desc: "desc";
|
|
7634
7619
|
}>>;
|
|
7635
|
-
'status[]': z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
7636
|
-
pending: "pending";
|
|
7637
|
-
active: "active";
|
|
7638
|
-
deleting: "deleting";
|
|
7639
|
-
}>>>;
|
|
7640
|
-
'connectionId[]': z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
7641
7620
|
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
7642
7621
|
'createdAt[before]': z.ZodOptional<z.ZodString>;
|
|
7643
7622
|
'createdAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
@@ -7654,12 +7633,6 @@ declare const getIntegrationCassaInCloudListQuerySchema: z.ZodObject<{
|
|
|
7654
7633
|
asc: "asc";
|
|
7655
7634
|
desc: "desc";
|
|
7656
7635
|
}>>;
|
|
7657
|
-
'apiKey[]': z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
7658
|
-
'idSalesPoint[]': z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
7659
|
-
'direction[]': z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
7660
|
-
EXTERNAL_TO_INTERNAL: "EXTERNAL_TO_INTERNAL";
|
|
7661
|
-
INTERNAL_TO_EXTERNAL: "INTERNAL_TO_EXTERNAL";
|
|
7662
|
-
}>>>;
|
|
7663
7636
|
'latestMenuSyncAt[before]': z.ZodOptional<z.ZodString>;
|
|
7664
7637
|
'latestMenuSyncAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
7665
7638
|
'latestMenuSyncAt[after]': z.ZodOptional<z.ZodString>;
|
|
@@ -7771,18 +7744,25 @@ declare class GetIntegrationCassaInCloudList extends AbstractApiRequest<typeof g
|
|
|
7771
7744
|
}, z.core.$strip>;
|
|
7772
7745
|
}, z.core.$strip>;
|
|
7773
7746
|
readonly querySchema: z.ZodObject<{
|
|
7774
|
-
direction: z.ZodOptional<z.ZodEnum<{
|
|
7747
|
+
direction: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
7775
7748
|
EXTERNAL_TO_INTERNAL: "EXTERNAL_TO_INTERNAL";
|
|
7776
7749
|
INTERNAL_TO_EXTERNAL: "INTERNAL_TO_EXTERNAL";
|
|
7777
|
-
}
|
|
7778
|
-
|
|
7779
|
-
|
|
7780
|
-
|
|
7750
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
7751
|
+
EXTERNAL_TO_INTERNAL: "EXTERNAL_TO_INTERNAL";
|
|
7752
|
+
INTERNAL_TO_EXTERNAL: "INTERNAL_TO_EXTERNAL";
|
|
7753
|
+
}>>]>>;
|
|
7754
|
+
apiKey: z.ZodOptional<z.ZodUnion<readonly [z.ZodOptional<z.ZodString>, z.ZodArray<z.ZodString>]>>;
|
|
7755
|
+
idSalesPoint: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
7756
|
+
status: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
7781
7757
|
pending: "pending";
|
|
7782
7758
|
active: "active";
|
|
7783
7759
|
deleting: "deleting";
|
|
7784
|
-
}
|
|
7785
|
-
|
|
7760
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
7761
|
+
pending: "pending";
|
|
7762
|
+
active: "active";
|
|
7763
|
+
deleting: "deleting";
|
|
7764
|
+
}>>]>>;
|
|
7765
|
+
connectionId: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
7786
7766
|
'order[createdAt]': z.ZodOptional<z.ZodEnum<{
|
|
7787
7767
|
asc: "asc";
|
|
7788
7768
|
desc: "desc";
|
|
@@ -7791,12 +7771,6 @@ declare class GetIntegrationCassaInCloudList extends AbstractApiRequest<typeof g
|
|
|
7791
7771
|
asc: "asc";
|
|
7792
7772
|
desc: "desc";
|
|
7793
7773
|
}>>;
|
|
7794
|
-
'status[]': z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
7795
|
-
pending: "pending";
|
|
7796
|
-
active: "active";
|
|
7797
|
-
deleting: "deleting";
|
|
7798
|
-
}>>>;
|
|
7799
|
-
'connectionId[]': z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
7800
7774
|
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
7801
7775
|
'createdAt[before]': z.ZodOptional<z.ZodString>;
|
|
7802
7776
|
'createdAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
@@ -7813,12 +7787,6 @@ declare class GetIntegrationCassaInCloudList extends AbstractApiRequest<typeof g
|
|
|
7813
7787
|
asc: "asc";
|
|
7814
7788
|
desc: "desc";
|
|
7815
7789
|
}>>;
|
|
7816
|
-
'apiKey[]': z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
7817
|
-
'idSalesPoint[]': z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
7818
|
-
'direction[]': z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
7819
|
-
EXTERNAL_TO_INTERNAL: "EXTERNAL_TO_INTERNAL";
|
|
7820
|
-
INTERNAL_TO_EXTERNAL: "INTERNAL_TO_EXTERNAL";
|
|
7821
|
-
}>>>;
|
|
7822
7790
|
'latestMenuSyncAt[before]': z.ZodOptional<z.ZodString>;
|
|
7823
7791
|
'latestMenuSyncAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
7824
7792
|
'latestMenuSyncAt[after]': z.ZodOptional<z.ZodString>;
|
|
@@ -7829,7 +7797,7 @@ declare class GetIntegrationCassaInCloudList extends AbstractApiRequest<typeof g
|
|
|
7829
7797
|
query?: GetIntegrationCassaInCloudListQueryParams;
|
|
7830
7798
|
});
|
|
7831
7799
|
getPath(): string;
|
|
7832
|
-
parseResponse(data: unknown, rawResponse:
|
|
7800
|
+
parseResponse(data: unknown, rawResponse: Response): Paginated<IntegrationCassaInCloud>;
|
|
7833
7801
|
}
|
|
7834
7802
|
|
|
7835
7803
|
declare const getIntegrationCassaInCloudSyncMenuProcessDetailsInputSchema: z.ZodUndefined;
|
|
@@ -7929,7 +7897,7 @@ declare class GetIntegrationCassaInCloudSyncMenuProcesses extends AbstractApiReq
|
|
|
7929
7897
|
query?: GetIntegrationCassaInCloudSyncMenuProcessesQueryParams;
|
|
7930
7898
|
});
|
|
7931
7899
|
getPath(): string;
|
|
7932
|
-
parseResponse(data: unknown, rawResponse:
|
|
7900
|
+
parseResponse(data: unknown, rawResponse: Response): Paginated<IntegrationCassaInCloudSyncMenuProcess>;
|
|
7933
7901
|
}
|
|
7934
7902
|
|
|
7935
7903
|
declare const getIntegrationCassaInCloudWebHookEventDetailsInputSchema: z.ZodUndefined;
|
|
@@ -8001,7 +7969,7 @@ declare const getIntegrationCassaInCloudWebHookEventsQuerySchema: z.ZodObject<{
|
|
|
8001
7969
|
asc: "asc";
|
|
8002
7970
|
desc: "desc";
|
|
8003
7971
|
}>>;
|
|
8004
|
-
entity: z.ZodOptional<z.ZodEnum<{
|
|
7972
|
+
entity: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
8005
7973
|
BILL: "BILL";
|
|
8006
7974
|
RECEIPT: "RECEIPT";
|
|
8007
7975
|
CREDIT_NOTE: "CREDIT_NOTE";
|
|
@@ -8013,8 +7981,7 @@ declare const getIntegrationCassaInCloudWebHookEventsQuerySchema: z.ZodObject<{
|
|
|
8013
7981
|
STOCK_MOVEMENT: "STOCK_MOVEMENT";
|
|
8014
7982
|
CUSTOMER: "CUSTOMER";
|
|
8015
7983
|
ORGANIZATION: "ORGANIZATION";
|
|
8016
|
-
}
|
|
8017
|
-
'entity[]': z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
7984
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
8018
7985
|
BILL: "BILL";
|
|
8019
7986
|
RECEIPT: "RECEIPT";
|
|
8020
7987
|
CREDIT_NOTE: "CREDIT_NOTE";
|
|
@@ -8026,17 +7993,16 @@ declare const getIntegrationCassaInCloudWebHookEventsQuerySchema: z.ZodObject<{
|
|
|
8026
7993
|
STOCK_MOVEMENT: "STOCK_MOVEMENT";
|
|
8027
7994
|
CUSTOMER: "CUSTOMER";
|
|
8028
7995
|
ORGANIZATION: "ORGANIZATION";
|
|
8029
|
-
}
|
|
8030
|
-
event: z.ZodOptional<z.ZodEnum<{
|
|
7996
|
+
}>>]>>;
|
|
7997
|
+
event: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
8031
7998
|
DELETE: "DELETE";
|
|
8032
7999
|
CREATE: "CREATE";
|
|
8033
8000
|
UPDATE: "UPDATE";
|
|
8034
|
-
}
|
|
8035
|
-
'event[]': z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
8001
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
8036
8002
|
DELETE: "DELETE";
|
|
8037
8003
|
CREATE: "CREATE";
|
|
8038
8004
|
UPDATE: "UPDATE";
|
|
8039
|
-
}
|
|
8005
|
+
}>>]>>;
|
|
8040
8006
|
'createdAt[before]': z.ZodOptional<z.ZodString>;
|
|
8041
8007
|
'createdAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
8042
8008
|
'createdAt[after]': z.ZodOptional<z.ZodString>;
|
|
@@ -8123,7 +8089,7 @@ declare class GetIntegrationCassaInCloudWebHookEvents extends AbstractApiRequest
|
|
|
8123
8089
|
asc: "asc";
|
|
8124
8090
|
desc: "desc";
|
|
8125
8091
|
}>>;
|
|
8126
|
-
entity: z.ZodOptional<z.ZodEnum<{
|
|
8092
|
+
entity: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
8127
8093
|
BILL: "BILL";
|
|
8128
8094
|
RECEIPT: "RECEIPT";
|
|
8129
8095
|
CREDIT_NOTE: "CREDIT_NOTE";
|
|
@@ -8135,8 +8101,7 @@ declare class GetIntegrationCassaInCloudWebHookEvents extends AbstractApiRequest
|
|
|
8135
8101
|
STOCK_MOVEMENT: "STOCK_MOVEMENT";
|
|
8136
8102
|
CUSTOMER: "CUSTOMER";
|
|
8137
8103
|
ORGANIZATION: "ORGANIZATION";
|
|
8138
|
-
}
|
|
8139
|
-
'entity[]': z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
8104
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
8140
8105
|
BILL: "BILL";
|
|
8141
8106
|
RECEIPT: "RECEIPT";
|
|
8142
8107
|
CREDIT_NOTE: "CREDIT_NOTE";
|
|
@@ -8148,17 +8113,16 @@ declare class GetIntegrationCassaInCloudWebHookEvents extends AbstractApiRequest
|
|
|
8148
8113
|
STOCK_MOVEMENT: "STOCK_MOVEMENT";
|
|
8149
8114
|
CUSTOMER: "CUSTOMER";
|
|
8150
8115
|
ORGANIZATION: "ORGANIZATION";
|
|
8151
|
-
}
|
|
8152
|
-
event: z.ZodOptional<z.ZodEnum<{
|
|
8116
|
+
}>>]>>;
|
|
8117
|
+
event: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
8153
8118
|
DELETE: "DELETE";
|
|
8154
8119
|
CREATE: "CREATE";
|
|
8155
8120
|
UPDATE: "UPDATE";
|
|
8156
|
-
}
|
|
8157
|
-
'event[]': z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
8121
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
8158
8122
|
DELETE: "DELETE";
|
|
8159
8123
|
CREATE: "CREATE";
|
|
8160
8124
|
UPDATE: "UPDATE";
|
|
8161
|
-
}
|
|
8125
|
+
}>>]>>;
|
|
8162
8126
|
'createdAt[before]': z.ZodOptional<z.ZodString>;
|
|
8163
8127
|
'createdAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
8164
8128
|
'createdAt[after]': z.ZodOptional<z.ZodString>;
|
|
@@ -8171,7 +8135,7 @@ declare class GetIntegrationCassaInCloudWebHookEvents extends AbstractApiRequest
|
|
|
8171
8135
|
query?: GetIntegrationCassaInCloudWebHookEventsQueryParams;
|
|
8172
8136
|
});
|
|
8173
8137
|
getPath(): string;
|
|
8174
|
-
parseResponse(data: unknown, rawResponse:
|
|
8138
|
+
parseResponse(data: unknown, rawResponse: Response): Paginated<IntegrationCassaInCloudWebHookEvent>;
|
|
8175
8139
|
}
|
|
8176
8140
|
|
|
8177
8141
|
declare const integrationCassaInCloudSyncCustomersInputSchema: z.ZodUndefined;
|
|
@@ -8546,18 +8510,17 @@ declare const integrationDeliverooWebhookEventsQueryParamsSchema: z.ZodObject<{
|
|
|
8546
8510
|
asc: "asc";
|
|
8547
8511
|
desc: "desc";
|
|
8548
8512
|
}>>;
|
|
8549
|
-
event: z.ZodOptional<z.ZodEnum<{
|
|
8513
|
+
event: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
8550
8514
|
"order.new": "order.new";
|
|
8551
8515
|
"order.status_update": "order.status_update";
|
|
8552
8516
|
"rider.status_update": "rider.status_update";
|
|
8553
8517
|
"menu.upload_result": "menu.upload_result";
|
|
8554
|
-
}
|
|
8555
|
-
'event[]': z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
8518
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
8556
8519
|
"order.new": "order.new";
|
|
8557
8520
|
"order.status_update": "order.status_update";
|
|
8558
8521
|
"rider.status_update": "rider.status_update";
|
|
8559
8522
|
"menu.upload_result": "menu.upload_result";
|
|
8560
|
-
}
|
|
8523
|
+
}>>]>>;
|
|
8561
8524
|
'createdAt[before]': z.ZodOptional<z.ZodString>;
|
|
8562
8525
|
'createdAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
8563
8526
|
'createdAt[after]': z.ZodOptional<z.ZodString>;
|
|
@@ -8758,20 +8721,19 @@ declare const getIntegrationDeliverooClientLogRequestsQuerySchema: z.ZodObject<{
|
|
|
8758
8721
|
asc: "asc";
|
|
8759
8722
|
desc: "desc";
|
|
8760
8723
|
}>>;
|
|
8761
|
-
method: z.ZodOptional<z.ZodEnum<{
|
|
8724
|
+
method: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
8762
8725
|
DELETE: "DELETE";
|
|
8763
8726
|
GET: "GET";
|
|
8764
8727
|
PATCH: "PATCH";
|
|
8765
8728
|
POST: "POST";
|
|
8766
8729
|
PUT: "PUT";
|
|
8767
|
-
}
|
|
8768
|
-
'method[]': z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
8730
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
8769
8731
|
DELETE: "DELETE";
|
|
8770
8732
|
GET: "GET";
|
|
8771
8733
|
PATCH: "PATCH";
|
|
8772
8734
|
POST: "POST";
|
|
8773
8735
|
PUT: "PUT";
|
|
8774
|
-
}
|
|
8736
|
+
}>>]>>;
|
|
8775
8737
|
'statusCode[between]': z.ZodOptional<z.ZodNumber>;
|
|
8776
8738
|
'statusCode[gt]': z.ZodOptional<z.ZodNumber>;
|
|
8777
8739
|
'statusCode[gte]': z.ZodOptional<z.ZodNumber>;
|
|
@@ -8843,20 +8805,19 @@ declare class GetIntegrationDeliverooClientLogRequests extends AbstractApiReques
|
|
|
8843
8805
|
asc: "asc";
|
|
8844
8806
|
desc: "desc";
|
|
8845
8807
|
}>>;
|
|
8846
|
-
method: z.ZodOptional<z.ZodEnum<{
|
|
8808
|
+
method: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
8847
8809
|
DELETE: "DELETE";
|
|
8848
8810
|
GET: "GET";
|
|
8849
8811
|
PATCH: "PATCH";
|
|
8850
8812
|
POST: "POST";
|
|
8851
8813
|
PUT: "PUT";
|
|
8852
|
-
}
|
|
8853
|
-
'method[]': z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
8814
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
8854
8815
|
DELETE: "DELETE";
|
|
8855
8816
|
GET: "GET";
|
|
8856
8817
|
PATCH: "PATCH";
|
|
8857
8818
|
POST: "POST";
|
|
8858
8819
|
PUT: "PUT";
|
|
8859
|
-
}
|
|
8820
|
+
}>>]>>;
|
|
8860
8821
|
'statusCode[between]': z.ZodOptional<z.ZodNumber>;
|
|
8861
8822
|
'statusCode[gt]': z.ZodOptional<z.ZodNumber>;
|
|
8862
8823
|
'statusCode[gte]': z.ZodOptional<z.ZodNumber>;
|
|
@@ -8874,7 +8835,7 @@ declare class GetIntegrationDeliverooClientLogRequests extends AbstractApiReques
|
|
|
8874
8835
|
query?: GetIntegrationDeliverooClientLogRequestsQueryParams;
|
|
8875
8836
|
});
|
|
8876
8837
|
getPath(): string;
|
|
8877
|
-
parseResponse(data: unknown, rawResponse:
|
|
8838
|
+
parseResponse(data: unknown, rawResponse: Response): Paginated<IntegrationClientLogRequest>;
|
|
8878
8839
|
}
|
|
8879
8840
|
|
|
8880
8841
|
declare const getIntegrationDeliverooDetailsInputSchema: z.ZodUndefined;
|
|
@@ -8967,14 +8928,18 @@ declare class GetIntegrationDeliverooDetails extends AbstractApiRequest<typeof g
|
|
|
8967
8928
|
}
|
|
8968
8929
|
|
|
8969
8930
|
declare const getIntegrationDeliverooListQuerySchema: z.ZodObject<{
|
|
8970
|
-
brandId: z.ZodOptional<z.ZodString
|
|
8971
|
-
siteId: z.ZodOptional<z.ZodString
|
|
8972
|
-
status: z.ZodOptional<z.ZodEnum<{
|
|
8931
|
+
brandId: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
8932
|
+
siteId: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
8933
|
+
status: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
8973
8934
|
pending: "pending";
|
|
8974
8935
|
active: "active";
|
|
8975
8936
|
deleting: "deleting";
|
|
8976
|
-
}
|
|
8977
|
-
|
|
8937
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
8938
|
+
pending: "pending";
|
|
8939
|
+
active: "active";
|
|
8940
|
+
deleting: "deleting";
|
|
8941
|
+
}>>]>>;
|
|
8942
|
+
connectionId: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
8978
8943
|
name: z.ZodOptional<z.ZodString>;
|
|
8979
8944
|
'order[createdAt]': z.ZodOptional<z.ZodEnum<{
|
|
8980
8945
|
asc: "asc";
|
|
@@ -8984,12 +8949,6 @@ declare const getIntegrationDeliverooListQuerySchema: z.ZodObject<{
|
|
|
8984
8949
|
asc: "asc";
|
|
8985
8950
|
desc: "desc";
|
|
8986
8951
|
}>>;
|
|
8987
|
-
'status[]': z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
8988
|
-
pending: "pending";
|
|
8989
|
-
active: "active";
|
|
8990
|
-
deleting: "deleting";
|
|
8991
|
-
}>>>;
|
|
8992
|
-
'connectionId[]': z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
8993
8952
|
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
8994
8953
|
'createdAt[before]': z.ZodOptional<z.ZodString>;
|
|
8995
8954
|
'createdAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
@@ -9017,8 +8976,6 @@ declare const getIntegrationDeliverooListQuerySchema: z.ZodObject<{
|
|
|
9017
8976
|
asc: "asc";
|
|
9018
8977
|
desc: "desc";
|
|
9019
8978
|
}>>;
|
|
9020
|
-
'brandId[]': z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
9021
|
-
'siteId[]': z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
9022
8979
|
'latestMenuCheckAt[before]': z.ZodOptional<z.ZodString>;
|
|
9023
8980
|
'latestMenuCheckAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
9024
8981
|
'latestMenuCheckAt[after]': z.ZodOptional<z.ZodString>;
|
|
@@ -9129,14 +9086,18 @@ declare class GetIntegrationDeliverooList extends AbstractApiRequest<typeof getI
|
|
|
9129
9086
|
}, z.core.$strip>;
|
|
9130
9087
|
}, z.core.$strip>;
|
|
9131
9088
|
readonly querySchema: z.ZodObject<{
|
|
9132
|
-
brandId: z.ZodOptional<z.ZodString
|
|
9133
|
-
siteId: z.ZodOptional<z.ZodString
|
|
9134
|
-
status: z.ZodOptional<z.ZodEnum<{
|
|
9089
|
+
brandId: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
9090
|
+
siteId: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
9091
|
+
status: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
9135
9092
|
pending: "pending";
|
|
9136
9093
|
active: "active";
|
|
9137
9094
|
deleting: "deleting";
|
|
9138
|
-
}
|
|
9139
|
-
|
|
9095
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
9096
|
+
pending: "pending";
|
|
9097
|
+
active: "active";
|
|
9098
|
+
deleting: "deleting";
|
|
9099
|
+
}>>]>>;
|
|
9100
|
+
connectionId: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
9140
9101
|
name: z.ZodOptional<z.ZodString>;
|
|
9141
9102
|
'order[createdAt]': z.ZodOptional<z.ZodEnum<{
|
|
9142
9103
|
asc: "asc";
|
|
@@ -9146,12 +9107,6 @@ declare class GetIntegrationDeliverooList extends AbstractApiRequest<typeof getI
|
|
|
9146
9107
|
asc: "asc";
|
|
9147
9108
|
desc: "desc";
|
|
9148
9109
|
}>>;
|
|
9149
|
-
'status[]': z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
9150
|
-
pending: "pending";
|
|
9151
|
-
active: "active";
|
|
9152
|
-
deleting: "deleting";
|
|
9153
|
-
}>>>;
|
|
9154
|
-
'connectionId[]': z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
9155
9110
|
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
9156
9111
|
'createdAt[before]': z.ZodOptional<z.ZodString>;
|
|
9157
9112
|
'createdAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
@@ -9179,8 +9134,6 @@ declare class GetIntegrationDeliverooList extends AbstractApiRequest<typeof getI
|
|
|
9179
9134
|
asc: "asc";
|
|
9180
9135
|
desc: "desc";
|
|
9181
9136
|
}>>;
|
|
9182
|
-
'brandId[]': z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
9183
|
-
'siteId[]': z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
9184
9137
|
'latestMenuCheckAt[before]': z.ZodOptional<z.ZodString>;
|
|
9185
9138
|
'latestMenuCheckAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
9186
9139
|
'latestMenuCheckAt[after]': z.ZodOptional<z.ZodString>;
|
|
@@ -9195,7 +9148,7 @@ declare class GetIntegrationDeliverooList extends AbstractApiRequest<typeof getI
|
|
|
9195
9148
|
query?: GetIntegrationDeliverooListQueryParams;
|
|
9196
9149
|
});
|
|
9197
9150
|
getPath(): string;
|
|
9198
|
-
parseResponse(data: unknown, rawResponse:
|
|
9151
|
+
parseResponse(data: unknown, rawResponse: Response): Paginated<IntegrationDeliveroo>;
|
|
9199
9152
|
}
|
|
9200
9153
|
|
|
9201
9154
|
declare const getIntegrationDeliverooMenuVersionDetailsInputSchema: z.ZodUndefined;
|
|
@@ -9285,7 +9238,7 @@ declare class GetIntegrationDeliverooMenuVersions extends AbstractApiRequest<typ
|
|
|
9285
9238
|
query?: GetIntegrationDeliverooMenuVersionsQueryParams;
|
|
9286
9239
|
});
|
|
9287
9240
|
getPath(): string;
|
|
9288
|
-
parseResponse(data: unknown, rawResponse:
|
|
9241
|
+
parseResponse(data: unknown, rawResponse: Response): Paginated<MenuVersion>;
|
|
9289
9242
|
}
|
|
9290
9243
|
|
|
9291
9244
|
declare const getIntegrationDeliverooSyncMenuProcessDetailsInputSchema: z.ZodUndefined;
|
|
@@ -9391,7 +9344,7 @@ declare class GetIntegrationDeliverooSyncMenuProcesses extends AbstractApiReques
|
|
|
9391
9344
|
query?: GetIntegrationDeliverooSyncMenuProcessesQueryParams;
|
|
9392
9345
|
});
|
|
9393
9346
|
getPath(): string;
|
|
9394
|
-
parseResponse(data: unknown, rawResponse:
|
|
9347
|
+
parseResponse(data: unknown, rawResponse: Response): Paginated<IntegrationDeliverooSyncMenuProcess>;
|
|
9395
9348
|
}
|
|
9396
9349
|
|
|
9397
9350
|
declare const getIntegrationDeliverooWebhookEventDetailsInputSchema: z.ZodUndefined;
|
|
@@ -9439,18 +9392,17 @@ declare const getIntegrationDeliverooWebhookEventsQuerySchema: z.ZodObject<{
|
|
|
9439
9392
|
asc: "asc";
|
|
9440
9393
|
desc: "desc";
|
|
9441
9394
|
}>>;
|
|
9442
|
-
event: z.ZodOptional<z.ZodEnum<{
|
|
9395
|
+
event: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
9443
9396
|
"order.new": "order.new";
|
|
9444
9397
|
"order.status_update": "order.status_update";
|
|
9445
9398
|
"rider.status_update": "rider.status_update";
|
|
9446
9399
|
"menu.upload_result": "menu.upload_result";
|
|
9447
|
-
}
|
|
9448
|
-
'event[]': z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
9400
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
9449
9401
|
"order.new": "order.new";
|
|
9450
9402
|
"order.status_update": "order.status_update";
|
|
9451
9403
|
"rider.status_update": "rider.status_update";
|
|
9452
9404
|
"menu.upload_result": "menu.upload_result";
|
|
9453
|
-
}
|
|
9405
|
+
}>>]>>;
|
|
9454
9406
|
'createdAt[before]': z.ZodOptional<z.ZodString>;
|
|
9455
9407
|
'createdAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
9456
9408
|
'createdAt[after]': z.ZodOptional<z.ZodString>;
|
|
@@ -9513,18 +9465,17 @@ declare class GetIntegrationDeliverooWebhookEvents extends AbstractApiRequest<ty
|
|
|
9513
9465
|
asc: "asc";
|
|
9514
9466
|
desc: "desc";
|
|
9515
9467
|
}>>;
|
|
9516
|
-
event: z.ZodOptional<z.ZodEnum<{
|
|
9468
|
+
event: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
9517
9469
|
"order.new": "order.new";
|
|
9518
9470
|
"order.status_update": "order.status_update";
|
|
9519
9471
|
"rider.status_update": "rider.status_update";
|
|
9520
9472
|
"menu.upload_result": "menu.upload_result";
|
|
9521
|
-
}
|
|
9522
|
-
'event[]': z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
9473
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
9523
9474
|
"order.new": "order.new";
|
|
9524
9475
|
"order.status_update": "order.status_update";
|
|
9525
9476
|
"rider.status_update": "rider.status_update";
|
|
9526
9477
|
"menu.upload_result": "menu.upload_result";
|
|
9527
|
-
}
|
|
9478
|
+
}>>]>>;
|
|
9528
9479
|
'createdAt[before]': z.ZodOptional<z.ZodString>;
|
|
9529
9480
|
'createdAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
9530
9481
|
'createdAt[after]': z.ZodOptional<z.ZodString>;
|
|
@@ -9537,7 +9488,7 @@ declare class GetIntegrationDeliverooWebhookEvents extends AbstractApiRequest<ty
|
|
|
9537
9488
|
query?: GetIntegrationDeliverooWebhookEventsQueryParams;
|
|
9538
9489
|
});
|
|
9539
9490
|
getPath(): string;
|
|
9540
|
-
parseResponse(data: unknown, rawResponse:
|
|
9491
|
+
parseResponse(data: unknown, rawResponse: Response): Paginated<IntegrationDeliverooWebhookEvent>;
|
|
9541
9492
|
}
|
|
9542
9493
|
|
|
9543
9494
|
declare const integrationDeliverooSyncMenuInputSchema: z.ZodUndefined;
|
|
@@ -9896,14 +9847,13 @@ declare const integrationGlovoWebhookEventsQueryParamsSchema: z.ZodObject<{
|
|
|
9896
9847
|
asc: "asc";
|
|
9897
9848
|
desc: "desc";
|
|
9898
9849
|
}>>;
|
|
9899
|
-
event: z.ZodOptional<z.ZodEnum<{
|
|
9850
|
+
event: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
9900
9851
|
"order.dispatched": "order.dispatched";
|
|
9901
9852
|
"order.cancelled": "order.cancelled";
|
|
9902
|
-
}
|
|
9903
|
-
'event[]': z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
9853
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
9904
9854
|
"order.dispatched": "order.dispatched";
|
|
9905
9855
|
"order.cancelled": "order.cancelled";
|
|
9906
|
-
}
|
|
9856
|
+
}>>]>>;
|
|
9907
9857
|
'createdAt[before]': z.ZodOptional<z.ZodString>;
|
|
9908
9858
|
'createdAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
9909
9859
|
'createdAt[after]': z.ZodOptional<z.ZodString>;
|
|
@@ -10134,20 +10084,19 @@ declare const getIntegrationGlovoClientLogRequestsQuerySchema: z.ZodObject<{
|
|
|
10134
10084
|
asc: "asc";
|
|
10135
10085
|
desc: "desc";
|
|
10136
10086
|
}>>;
|
|
10137
|
-
method: z.ZodOptional<z.ZodEnum<{
|
|
10087
|
+
method: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
10138
10088
|
DELETE: "DELETE";
|
|
10139
10089
|
GET: "GET";
|
|
10140
10090
|
PATCH: "PATCH";
|
|
10141
10091
|
POST: "POST";
|
|
10142
10092
|
PUT: "PUT";
|
|
10143
|
-
}
|
|
10144
|
-
'method[]': z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
10093
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
10145
10094
|
DELETE: "DELETE";
|
|
10146
10095
|
GET: "GET";
|
|
10147
10096
|
PATCH: "PATCH";
|
|
10148
10097
|
POST: "POST";
|
|
10149
10098
|
PUT: "PUT";
|
|
10150
|
-
}
|
|
10099
|
+
}>>]>>;
|
|
10151
10100
|
'statusCode[between]': z.ZodOptional<z.ZodNumber>;
|
|
10152
10101
|
'statusCode[gt]': z.ZodOptional<z.ZodNumber>;
|
|
10153
10102
|
'statusCode[gte]': z.ZodOptional<z.ZodNumber>;
|
|
@@ -10219,20 +10168,19 @@ declare class GetIntegrationGlovoClientLogRequests extends AbstractApiRequest<ty
|
|
|
10219
10168
|
asc: "asc";
|
|
10220
10169
|
desc: "desc";
|
|
10221
10170
|
}>>;
|
|
10222
|
-
method: z.ZodOptional<z.ZodEnum<{
|
|
10171
|
+
method: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
10223
10172
|
DELETE: "DELETE";
|
|
10224
10173
|
GET: "GET";
|
|
10225
10174
|
PATCH: "PATCH";
|
|
10226
10175
|
POST: "POST";
|
|
10227
10176
|
PUT: "PUT";
|
|
10228
|
-
}
|
|
10229
|
-
'method[]': z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
10177
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
10230
10178
|
DELETE: "DELETE";
|
|
10231
10179
|
GET: "GET";
|
|
10232
10180
|
PATCH: "PATCH";
|
|
10233
10181
|
POST: "POST";
|
|
10234
10182
|
PUT: "PUT";
|
|
10235
|
-
}
|
|
10183
|
+
}>>]>>;
|
|
10236
10184
|
'statusCode[between]': z.ZodOptional<z.ZodNumber>;
|
|
10237
10185
|
'statusCode[gt]': z.ZodOptional<z.ZodNumber>;
|
|
10238
10186
|
'statusCode[gte]': z.ZodOptional<z.ZodNumber>;
|
|
@@ -10250,7 +10198,7 @@ declare class GetIntegrationGlovoClientLogRequests extends AbstractApiRequest<ty
|
|
|
10250
10198
|
query?: GetIntegrationGlovoClientLogRequestsQueryParams;
|
|
10251
10199
|
});
|
|
10252
10200
|
getPath(): string;
|
|
10253
|
-
parseResponse(data: unknown, rawResponse:
|
|
10201
|
+
parseResponse(data: unknown, rawResponse: Response): Paginated<IntegrationClientLogRequest>;
|
|
10254
10202
|
}
|
|
10255
10203
|
|
|
10256
10204
|
declare const getIntegrationGlovoDetailsInputSchema: z.ZodUndefined;
|
|
@@ -10335,13 +10283,17 @@ declare class GetIntegrationGlovoDetails extends AbstractApiRequest<typeof getIn
|
|
|
10335
10283
|
}
|
|
10336
10284
|
|
|
10337
10285
|
declare const getIntegrationGlovoListQuerySchema: z.ZodObject<{
|
|
10338
|
-
storeId: z.ZodOptional<z.ZodString
|
|
10339
|
-
status: z.ZodOptional<z.ZodEnum<{
|
|
10286
|
+
storeId: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
10287
|
+
status: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
10340
10288
|
pending: "pending";
|
|
10341
10289
|
active: "active";
|
|
10342
10290
|
deleting: "deleting";
|
|
10343
|
-
}
|
|
10344
|
-
|
|
10291
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
10292
|
+
pending: "pending";
|
|
10293
|
+
active: "active";
|
|
10294
|
+
deleting: "deleting";
|
|
10295
|
+
}>>]>>;
|
|
10296
|
+
connectionId: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
10345
10297
|
name: z.ZodOptional<z.ZodString>;
|
|
10346
10298
|
'order[createdAt]': z.ZodOptional<z.ZodEnum<{
|
|
10347
10299
|
asc: "asc";
|
|
@@ -10351,12 +10303,6 @@ declare const getIntegrationGlovoListQuerySchema: z.ZodObject<{
|
|
|
10351
10303
|
asc: "asc";
|
|
10352
10304
|
desc: "desc";
|
|
10353
10305
|
}>>;
|
|
10354
|
-
'status[]': z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
10355
|
-
pending: "pending";
|
|
10356
|
-
active: "active";
|
|
10357
|
-
deleting: "deleting";
|
|
10358
|
-
}>>>;
|
|
10359
|
-
'connectionId[]': z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
10360
10306
|
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
10361
10307
|
'createdAt[before]': z.ZodOptional<z.ZodString>;
|
|
10362
10308
|
'createdAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
@@ -10384,7 +10330,6 @@ declare const getIntegrationGlovoListQuerySchema: z.ZodObject<{
|
|
|
10384
10330
|
'latestMenuCheckAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
10385
10331
|
'latestMenuCheckAt[after]': z.ZodOptional<z.ZodString>;
|
|
10386
10332
|
'latestMenuCheckAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
10387
|
-
'storeId[]': z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
10388
10333
|
}, z.core.$strip>;
|
|
10389
10334
|
type GetIntegrationGlovoListQueryParams = z.infer<typeof getIntegrationGlovoListQuerySchema>;
|
|
10390
10335
|
declare const getIntegrationGlovoListInputSchema: z.ZodUndefined;
|
|
@@ -10480,13 +10425,17 @@ declare class GetIntegrationGlovoList extends AbstractApiRequest<typeof getInteg
|
|
|
10480
10425
|
}, z.core.$strip>;
|
|
10481
10426
|
}, z.core.$strip>;
|
|
10482
10427
|
readonly querySchema: z.ZodObject<{
|
|
10483
|
-
storeId: z.ZodOptional<z.ZodString
|
|
10484
|
-
status: z.ZodOptional<z.ZodEnum<{
|
|
10428
|
+
storeId: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
10429
|
+
status: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
10485
10430
|
pending: "pending";
|
|
10486
10431
|
active: "active";
|
|
10487
10432
|
deleting: "deleting";
|
|
10488
|
-
}
|
|
10489
|
-
|
|
10433
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
10434
|
+
pending: "pending";
|
|
10435
|
+
active: "active";
|
|
10436
|
+
deleting: "deleting";
|
|
10437
|
+
}>>]>>;
|
|
10438
|
+
connectionId: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
10490
10439
|
name: z.ZodOptional<z.ZodString>;
|
|
10491
10440
|
'order[createdAt]': z.ZodOptional<z.ZodEnum<{
|
|
10492
10441
|
asc: "asc";
|
|
@@ -10496,12 +10445,6 @@ declare class GetIntegrationGlovoList extends AbstractApiRequest<typeof getInteg
|
|
|
10496
10445
|
asc: "asc";
|
|
10497
10446
|
desc: "desc";
|
|
10498
10447
|
}>>;
|
|
10499
|
-
'status[]': z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
10500
|
-
pending: "pending";
|
|
10501
|
-
active: "active";
|
|
10502
|
-
deleting: "deleting";
|
|
10503
|
-
}>>>;
|
|
10504
|
-
'connectionId[]': z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
10505
10448
|
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
10506
10449
|
'createdAt[before]': z.ZodOptional<z.ZodString>;
|
|
10507
10450
|
'createdAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
@@ -10529,14 +10472,13 @@ declare class GetIntegrationGlovoList extends AbstractApiRequest<typeof getInteg
|
|
|
10529
10472
|
'latestMenuCheckAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
10530
10473
|
'latestMenuCheckAt[after]': z.ZodOptional<z.ZodString>;
|
|
10531
10474
|
'latestMenuCheckAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
10532
|
-
'storeId[]': z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
10533
10475
|
}, z.core.$strip>;
|
|
10534
10476
|
readonly headersSchema: undefined;
|
|
10535
10477
|
constructor(options?: {
|
|
10536
10478
|
query?: GetIntegrationGlovoListQueryParams;
|
|
10537
10479
|
});
|
|
10538
10480
|
getPath(): string;
|
|
10539
|
-
parseResponse(data: unknown, rawResponse:
|
|
10481
|
+
parseResponse(data: unknown, rawResponse: Response): Paginated<IntegrationGlovo>;
|
|
10540
10482
|
}
|
|
10541
10483
|
|
|
10542
10484
|
declare const getIntegrationGlovoMenuUpdateDetailsInputSchema: z.ZodUndefined;
|
|
@@ -10676,7 +10618,7 @@ declare class GetIntegrationGlovoMenuUpdates extends AbstractApiRequest<typeof g
|
|
|
10676
10618
|
query?: GetIntegrationGlovoMenuUpdatesQueryParams;
|
|
10677
10619
|
});
|
|
10678
10620
|
getPath(): string;
|
|
10679
|
-
parseResponse(data: unknown, rawResponse:
|
|
10621
|
+
parseResponse(data: unknown, rawResponse: Response): Paginated<IntegrationGlovoMenuUpdate>;
|
|
10680
10622
|
}
|
|
10681
10623
|
|
|
10682
10624
|
declare const getIntegrationGlovoMenuVersionDetailsInputSchema: z.ZodUndefined;
|
|
@@ -10766,7 +10708,7 @@ declare class GetIntegrationGlovoMenuVersions extends AbstractApiRequest<typeof
|
|
|
10766
10708
|
query?: GetIntegrationGlovoMenuVersionsQueryParams;
|
|
10767
10709
|
});
|
|
10768
10710
|
getPath(): string;
|
|
10769
|
-
parseResponse(data: unknown, rawResponse:
|
|
10711
|
+
parseResponse(data: unknown, rawResponse: Response): Paginated<MenuVersion>;
|
|
10770
10712
|
}
|
|
10771
10713
|
|
|
10772
10714
|
declare const getIntegrationGlovoWebhookEventDetailsInputSchema: z.ZodUndefined;
|
|
@@ -10810,14 +10752,13 @@ declare const getIntegrationGlovoWebhookEventsQuerySchema: z.ZodObject<{
|
|
|
10810
10752
|
asc: "asc";
|
|
10811
10753
|
desc: "desc";
|
|
10812
10754
|
}>>;
|
|
10813
|
-
event: z.ZodOptional<z.ZodEnum<{
|
|
10755
|
+
event: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
10814
10756
|
"order.dispatched": "order.dispatched";
|
|
10815
10757
|
"order.cancelled": "order.cancelled";
|
|
10816
|
-
}
|
|
10817
|
-
'event[]': z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
10758
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
10818
10759
|
"order.dispatched": "order.dispatched";
|
|
10819
10760
|
"order.cancelled": "order.cancelled";
|
|
10820
|
-
}
|
|
10761
|
+
}>>]>>;
|
|
10821
10762
|
'createdAt[before]': z.ZodOptional<z.ZodString>;
|
|
10822
10763
|
'createdAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
10823
10764
|
'createdAt[after]': z.ZodOptional<z.ZodString>;
|
|
@@ -10876,14 +10817,13 @@ declare class GetIntegrationGlovoWebhookEvents extends AbstractApiRequest<typeof
|
|
|
10876
10817
|
asc: "asc";
|
|
10877
10818
|
desc: "desc";
|
|
10878
10819
|
}>>;
|
|
10879
|
-
event: z.ZodOptional<z.ZodEnum<{
|
|
10820
|
+
event: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
10880
10821
|
"order.dispatched": "order.dispatched";
|
|
10881
10822
|
"order.cancelled": "order.cancelled";
|
|
10882
|
-
}
|
|
10883
|
-
'event[]': z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
10823
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
10884
10824
|
"order.dispatched": "order.dispatched";
|
|
10885
10825
|
"order.cancelled": "order.cancelled";
|
|
10886
|
-
}
|
|
10826
|
+
}>>]>>;
|
|
10887
10827
|
'createdAt[before]': z.ZodOptional<z.ZodString>;
|
|
10888
10828
|
'createdAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
10889
10829
|
'createdAt[after]': z.ZodOptional<z.ZodString>;
|
|
@@ -10896,7 +10836,7 @@ declare class GetIntegrationGlovoWebhookEvents extends AbstractApiRequest<typeof
|
|
|
10896
10836
|
query?: GetIntegrationGlovoWebhookEventsQueryParams;
|
|
10897
10837
|
});
|
|
10898
10838
|
getPath(): string;
|
|
10899
|
-
parseResponse(data: unknown, rawResponse:
|
|
10839
|
+
parseResponse(data: unknown, rawResponse: Response): Paginated<IntegrationGlovoWebhookEvent>;
|
|
10900
10840
|
}
|
|
10901
10841
|
|
|
10902
10842
|
declare const integrationGlovoSyncMenuInputSchema: z.ZodUndefined;
|
|
@@ -11437,20 +11377,19 @@ declare const getIntegrationJustEatClientLogRequestsQuerySchema: z.ZodObject<{
|
|
|
11437
11377
|
asc: "asc";
|
|
11438
11378
|
desc: "desc";
|
|
11439
11379
|
}>>;
|
|
11440
|
-
method: z.ZodOptional<z.ZodEnum<{
|
|
11380
|
+
method: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
11441
11381
|
DELETE: "DELETE";
|
|
11442
11382
|
GET: "GET";
|
|
11443
11383
|
PATCH: "PATCH";
|
|
11444
11384
|
POST: "POST";
|
|
11445
11385
|
PUT: "PUT";
|
|
11446
|
-
}
|
|
11447
|
-
'method[]': z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
11386
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
11448
11387
|
DELETE: "DELETE";
|
|
11449
11388
|
GET: "GET";
|
|
11450
11389
|
PATCH: "PATCH";
|
|
11451
11390
|
POST: "POST";
|
|
11452
11391
|
PUT: "PUT";
|
|
11453
|
-
}
|
|
11392
|
+
}>>]>>;
|
|
11454
11393
|
'statusCode[between]': z.ZodOptional<z.ZodNumber>;
|
|
11455
11394
|
'statusCode[gt]': z.ZodOptional<z.ZodNumber>;
|
|
11456
11395
|
'statusCode[gte]': z.ZodOptional<z.ZodNumber>;
|
|
@@ -11522,20 +11461,19 @@ declare class GetIntegrationJustEatClientLogRequests extends AbstractApiRequest<
|
|
|
11522
11461
|
asc: "asc";
|
|
11523
11462
|
desc: "desc";
|
|
11524
11463
|
}>>;
|
|
11525
|
-
method: z.ZodOptional<z.ZodEnum<{
|
|
11464
|
+
method: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
11526
11465
|
DELETE: "DELETE";
|
|
11527
11466
|
GET: "GET";
|
|
11528
11467
|
PATCH: "PATCH";
|
|
11529
11468
|
POST: "POST";
|
|
11530
11469
|
PUT: "PUT";
|
|
11531
|
-
}
|
|
11532
|
-
'method[]': z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
11470
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
11533
11471
|
DELETE: "DELETE";
|
|
11534
11472
|
GET: "GET";
|
|
11535
11473
|
PATCH: "PATCH";
|
|
11536
11474
|
POST: "POST";
|
|
11537
11475
|
PUT: "PUT";
|
|
11538
|
-
}
|
|
11476
|
+
}>>]>>;
|
|
11539
11477
|
'statusCode[between]': z.ZodOptional<z.ZodNumber>;
|
|
11540
11478
|
'statusCode[gt]': z.ZodOptional<z.ZodNumber>;
|
|
11541
11479
|
'statusCode[gte]': z.ZodOptional<z.ZodNumber>;
|
|
@@ -11553,7 +11491,7 @@ declare class GetIntegrationJustEatClientLogRequests extends AbstractApiRequest<
|
|
|
11553
11491
|
query?: GetIntegrationJustEatClientLogRequestsQueryParams;
|
|
11554
11492
|
});
|
|
11555
11493
|
getPath(): string;
|
|
11556
|
-
parseResponse(data: unknown, rawResponse:
|
|
11494
|
+
parseResponse(data: unknown, rawResponse: Response): Paginated<IntegrationClientLogRequest>;
|
|
11557
11495
|
}
|
|
11558
11496
|
|
|
11559
11497
|
declare const getIntegrationJustEatDetailsInputSchema: z.ZodUndefined;
|
|
@@ -11654,13 +11592,17 @@ declare class GetIntegrationJustEatDetails extends AbstractApiRequest<typeof get
|
|
|
11654
11592
|
}
|
|
11655
11593
|
|
|
11656
11594
|
declare const getIntegrationJustEatListQuerySchema: z.ZodObject<{
|
|
11657
|
-
restaurantId: z.ZodOptional<z.ZodString
|
|
11658
|
-
status: z.ZodOptional<z.ZodEnum<{
|
|
11595
|
+
restaurantId: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
11596
|
+
status: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
11659
11597
|
pending: "pending";
|
|
11660
11598
|
active: "active";
|
|
11661
11599
|
deleting: "deleting";
|
|
11662
|
-
}
|
|
11663
|
-
|
|
11600
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
11601
|
+
pending: "pending";
|
|
11602
|
+
active: "active";
|
|
11603
|
+
deleting: "deleting";
|
|
11604
|
+
}>>]>>;
|
|
11605
|
+
connectionId: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
11664
11606
|
name: z.ZodOptional<z.ZodString>;
|
|
11665
11607
|
'order[createdAt]': z.ZodOptional<z.ZodEnum<{
|
|
11666
11608
|
asc: "asc";
|
|
@@ -11670,12 +11612,6 @@ declare const getIntegrationJustEatListQuerySchema: z.ZodObject<{
|
|
|
11670
11612
|
asc: "asc";
|
|
11671
11613
|
desc: "desc";
|
|
11672
11614
|
}>>;
|
|
11673
|
-
'status[]': z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
11674
|
-
pending: "pending";
|
|
11675
|
-
active: "active";
|
|
11676
|
-
deleting: "deleting";
|
|
11677
|
-
}>>>;
|
|
11678
|
-
'connectionId[]': z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
11679
11615
|
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
11680
11616
|
'createdAt[before]': z.ZodOptional<z.ZodString>;
|
|
11681
11617
|
'createdAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
@@ -11703,11 +11639,15 @@ declare const getIntegrationJustEatListQuerySchema: z.ZodObject<{
|
|
|
11703
11639
|
'latestMenuCheckAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
11704
11640
|
'latestMenuCheckAt[after]': z.ZodOptional<z.ZodString>;
|
|
11705
11641
|
'latestMenuCheckAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
11706
|
-
syncType: z.ZodOptional<z.ZodEnum<{
|
|
11642
|
+
syncType: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
11707
11643
|
ALL: "ALL";
|
|
11708
11644
|
DELIVERY: "DELIVERY";
|
|
11709
11645
|
TAKE_AWAY: "TAKE_AWAY";
|
|
11710
|
-
}
|
|
11646
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
11647
|
+
ALL: "ALL";
|
|
11648
|
+
DELIVERY: "DELIVERY";
|
|
11649
|
+
TAKE_AWAY: "TAKE_AWAY";
|
|
11650
|
+
}>>]>>;
|
|
11711
11651
|
'order[latestOpeningTimesSyncAt]': z.ZodOptional<z.ZodEnum<{
|
|
11712
11652
|
asc: "asc";
|
|
11713
11653
|
desc: "desc";
|
|
@@ -11716,12 +11656,6 @@ declare const getIntegrationJustEatListQuerySchema: z.ZodObject<{
|
|
|
11716
11656
|
asc: "asc";
|
|
11717
11657
|
desc: "desc";
|
|
11718
11658
|
}>>;
|
|
11719
|
-
'restaurantId[]': z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
11720
|
-
'syncType[]': z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
11721
|
-
ALL: "ALL";
|
|
11722
|
-
DELIVERY: "DELIVERY";
|
|
11723
|
-
TAKE_AWAY: "TAKE_AWAY";
|
|
11724
|
-
}>>>;
|
|
11725
11659
|
'latestOpeningTimesSyncAt[before]': z.ZodOptional<z.ZodString>;
|
|
11726
11660
|
'latestOpeningTimesSyncAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
11727
11661
|
'latestOpeningTimesSyncAt[after]': z.ZodOptional<z.ZodString>;
|
|
@@ -11841,13 +11775,17 @@ declare class GetIntegrationJustEatList extends AbstractApiRequest<typeof getInt
|
|
|
11841
11775
|
}, z.core.$strip>;
|
|
11842
11776
|
}, z.core.$strip>;
|
|
11843
11777
|
readonly querySchema: z.ZodObject<{
|
|
11844
|
-
restaurantId: z.ZodOptional<z.ZodString
|
|
11845
|
-
status: z.ZodOptional<z.ZodEnum<{
|
|
11778
|
+
restaurantId: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
11779
|
+
status: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
11846
11780
|
pending: "pending";
|
|
11847
11781
|
active: "active";
|
|
11848
11782
|
deleting: "deleting";
|
|
11849
|
-
}
|
|
11850
|
-
|
|
11783
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
11784
|
+
pending: "pending";
|
|
11785
|
+
active: "active";
|
|
11786
|
+
deleting: "deleting";
|
|
11787
|
+
}>>]>>;
|
|
11788
|
+
connectionId: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
11851
11789
|
name: z.ZodOptional<z.ZodString>;
|
|
11852
11790
|
'order[createdAt]': z.ZodOptional<z.ZodEnum<{
|
|
11853
11791
|
asc: "asc";
|
|
@@ -11857,12 +11795,6 @@ declare class GetIntegrationJustEatList extends AbstractApiRequest<typeof getInt
|
|
|
11857
11795
|
asc: "asc";
|
|
11858
11796
|
desc: "desc";
|
|
11859
11797
|
}>>;
|
|
11860
|
-
'status[]': z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
11861
|
-
pending: "pending";
|
|
11862
|
-
active: "active";
|
|
11863
|
-
deleting: "deleting";
|
|
11864
|
-
}>>>;
|
|
11865
|
-
'connectionId[]': z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
11866
11798
|
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
11867
11799
|
'createdAt[before]': z.ZodOptional<z.ZodString>;
|
|
11868
11800
|
'createdAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
@@ -11890,11 +11822,15 @@ declare class GetIntegrationJustEatList extends AbstractApiRequest<typeof getInt
|
|
|
11890
11822
|
'latestMenuCheckAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
11891
11823
|
'latestMenuCheckAt[after]': z.ZodOptional<z.ZodString>;
|
|
11892
11824
|
'latestMenuCheckAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
11893
|
-
syncType: z.ZodOptional<z.ZodEnum<{
|
|
11825
|
+
syncType: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
11894
11826
|
ALL: "ALL";
|
|
11895
11827
|
DELIVERY: "DELIVERY";
|
|
11896
11828
|
TAKE_AWAY: "TAKE_AWAY";
|
|
11897
|
-
}
|
|
11829
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
11830
|
+
ALL: "ALL";
|
|
11831
|
+
DELIVERY: "DELIVERY";
|
|
11832
|
+
TAKE_AWAY: "TAKE_AWAY";
|
|
11833
|
+
}>>]>>;
|
|
11898
11834
|
'order[latestOpeningTimesSyncAt]': z.ZodOptional<z.ZodEnum<{
|
|
11899
11835
|
asc: "asc";
|
|
11900
11836
|
desc: "desc";
|
|
@@ -11903,12 +11839,6 @@ declare class GetIntegrationJustEatList extends AbstractApiRequest<typeof getInt
|
|
|
11903
11839
|
asc: "asc";
|
|
11904
11840
|
desc: "desc";
|
|
11905
11841
|
}>>;
|
|
11906
|
-
'restaurantId[]': z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
11907
|
-
'syncType[]': z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
11908
|
-
ALL: "ALL";
|
|
11909
|
-
DELIVERY: "DELIVERY";
|
|
11910
|
-
TAKE_AWAY: "TAKE_AWAY";
|
|
11911
|
-
}>>>;
|
|
11912
11842
|
'latestOpeningTimesSyncAt[before]': z.ZodOptional<z.ZodString>;
|
|
11913
11843
|
'latestOpeningTimesSyncAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
11914
11844
|
'latestOpeningTimesSyncAt[after]': z.ZodOptional<z.ZodString>;
|
|
@@ -11923,7 +11853,7 @@ declare class GetIntegrationJustEatList extends AbstractApiRequest<typeof getInt
|
|
|
11923
11853
|
query?: GetIntegrationJustEatListQueryParams;
|
|
11924
11854
|
});
|
|
11925
11855
|
getPath(): string;
|
|
11926
|
-
parseResponse(data: unknown, rawResponse:
|
|
11856
|
+
parseResponse(data: unknown, rawResponse: Response): Paginated<IntegrationJustEat>;
|
|
11927
11857
|
}
|
|
11928
11858
|
|
|
11929
11859
|
declare const getIntegrationJustEatMenuVersionDetailsInputSchema: z.ZodUndefined;
|
|
@@ -12013,7 +11943,7 @@ declare class GetIntegrationJustEatMenuVersions extends AbstractApiRequest<typeo
|
|
|
12013
11943
|
query?: GetIntegrationJustEatMenuVersionsQueryParams;
|
|
12014
11944
|
});
|
|
12015
11945
|
getPath(): string;
|
|
12016
|
-
parseResponse(data: unknown, rawResponse:
|
|
11946
|
+
parseResponse(data: unknown, rawResponse: Response): Paginated<MenuVersion>;
|
|
12017
11947
|
}
|
|
12018
11948
|
|
|
12019
11949
|
declare const getIntegrationJustEatSyncMenuProcessDetailsInputSchema: z.ZodUndefined;
|
|
@@ -12099,7 +12029,7 @@ declare class GetIntegrationJustEatSyncMenuProcesses extends AbstractApiRequest<
|
|
|
12099
12029
|
query?: GetIntegrationJustEatSyncMenuProcessesQueryParams;
|
|
12100
12030
|
});
|
|
12101
12031
|
getPath(): string;
|
|
12102
|
-
parseResponse(data: unknown, rawResponse:
|
|
12032
|
+
parseResponse(data: unknown, rawResponse: Response): Paginated<IntegrationJustEatSyncMenuProcess>;
|
|
12103
12033
|
}
|
|
12104
12034
|
|
|
12105
12035
|
declare const integrationJustEatSyncMenuInputSchema: z.ZodUndefined;
|