@deliverart/sdk-js-integration 2.5.34 → 2.6.1
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 +70 -182
- package/dist/index.d.cts +3921 -1557
- package/dist/index.d.ts +3921 -1557
- package/dist/index.js +92 -264
- package/package.json +7 -7
package/dist/index.cjs
CHANGED
|
@@ -12545,7 +12545,7 @@ var getIntegrationActivationRequestsQuerySchema = external_exports.object({
|
|
|
12545
12545
|
page: external_exports.coerce.number().optional()
|
|
12546
12546
|
}).extend(import_sdk_js_global_types11.timestampsFilterSchema.shape);
|
|
12547
12547
|
var getIntegrationActivationRequestsInputSchema = external_exports.undefined();
|
|
12548
|
-
var getIntegrationActivationRequestsResponseSchema = (0, import_sdk_js_global_types11.
|
|
12548
|
+
var getIntegrationActivationRequestsResponseSchema = (0, import_sdk_js_global_types11.mixedPaginationSchema)(
|
|
12549
12549
|
integrationActivationRequestSchema
|
|
12550
12550
|
);
|
|
12551
12551
|
var GetIntegrationActivationRequests = class extends import_sdk_js_core6.AbstractApiRequest {
|
|
@@ -12558,17 +12558,12 @@ var GetIntegrationActivationRequests = class extends import_sdk_js_core6.Abstrac
|
|
|
12558
12558
|
this.outputSchema = getIntegrationActivationRequestsResponseSchema;
|
|
12559
12559
|
this.querySchema = getIntegrationActivationRequestsQuerySchema;
|
|
12560
12560
|
this.headersSchema = void 0;
|
|
12561
|
+
this.listItemSchema = integrationActivationRequestSchema;
|
|
12562
|
+
this.paginationDefaultEnabled = true;
|
|
12561
12563
|
}
|
|
12562
12564
|
getPath() {
|
|
12563
12565
|
return "/integrations/activation_requests";
|
|
12564
12566
|
}
|
|
12565
|
-
parseResponse(data, rawResponse) {
|
|
12566
|
-
const integrations = external_exports.array(integrationActivationRequestSchema).parse(data);
|
|
12567
|
-
return this.validateOutput({
|
|
12568
|
-
data: integrations,
|
|
12569
|
-
pagination: (0, import_sdk_js_global_types11.responseToPagination)(rawResponse)
|
|
12570
|
-
});
|
|
12571
|
-
}
|
|
12572
12567
|
};
|
|
12573
12568
|
|
|
12574
12569
|
// src/requests/activation-requests/GetIntegrationActivationRequestsFromPointOfSale.ts
|
|
@@ -12603,14 +12598,13 @@ var GetIntegrationActivationRequestsFromPointOfSale = class extends import_sdk_j
|
|
|
12603
12598
|
this.outputSchema = getIntegrationActivationRequestsFromPointOfSaleResponseSchema;
|
|
12604
12599
|
this.querySchema = getIntegrationActivationRequestsFromPointOfSaleQuerySchema;
|
|
12605
12600
|
this.headersSchema = void 0;
|
|
12601
|
+
this.listItemSchema = integrationActivationRequestSchema;
|
|
12602
|
+
this.paginationDefaultEnabled = false;
|
|
12606
12603
|
this.pointOfSaleId = pointOfSaleId;
|
|
12607
12604
|
}
|
|
12608
12605
|
getPath() {
|
|
12609
12606
|
return `/point_of_sales/${this.pointOfSaleId}/integrations/activation_requests`;
|
|
12610
12607
|
}
|
|
12611
|
-
parseResponse(data) {
|
|
12612
|
-
return external_exports.array(integrationActivationRequestSchema).parse(data);
|
|
12613
|
-
}
|
|
12614
12608
|
};
|
|
12615
12609
|
|
|
12616
12610
|
// src/requests/activation-requests/RespondIntegrationActivationRequest.ts
|
|
@@ -12808,7 +12802,7 @@ var getIntegrationCancellationRequestsQuerySchema = external_exports.object({
|
|
|
12808
12802
|
page: external_exports.coerce.number().optional()
|
|
12809
12803
|
}).extend(import_sdk_js_global_types14.timestampsFilterSchema.shape);
|
|
12810
12804
|
var getIntegrationCancellationRequestsInputSchema = external_exports.undefined();
|
|
12811
|
-
var getIntegrationCancellationRequestsResponseSchema = (0, import_sdk_js_global_types14.
|
|
12805
|
+
var getIntegrationCancellationRequestsResponseSchema = (0, import_sdk_js_global_types14.mixedPaginationSchema)(
|
|
12812
12806
|
integrationCancellationRequestSchema
|
|
12813
12807
|
);
|
|
12814
12808
|
var GetIntegrationCancellationRequests = class extends import_sdk_js_core15.AbstractApiRequest {
|
|
@@ -12821,17 +12815,12 @@ var GetIntegrationCancellationRequests = class extends import_sdk_js_core15.Abst
|
|
|
12821
12815
|
this.outputSchema = getIntegrationCancellationRequestsResponseSchema;
|
|
12822
12816
|
this.querySchema = getIntegrationCancellationRequestsQuerySchema;
|
|
12823
12817
|
this.headersSchema = void 0;
|
|
12818
|
+
this.listItemSchema = integrationCancellationRequestSchema;
|
|
12819
|
+
this.paginationDefaultEnabled = true;
|
|
12824
12820
|
}
|
|
12825
12821
|
getPath() {
|
|
12826
12822
|
return "/integrations/cancellation_requests";
|
|
12827
12823
|
}
|
|
12828
|
-
parseResponse(data, rawResponse) {
|
|
12829
|
-
const integrations = external_exports.array(integrationCancellationRequestSchema).parse(data);
|
|
12830
|
-
return this.validateOutput({
|
|
12831
|
-
data: integrations,
|
|
12832
|
-
pagination: (0, import_sdk_js_global_types14.responseToPagination)(rawResponse)
|
|
12833
|
-
});
|
|
12834
|
-
}
|
|
12835
12824
|
};
|
|
12836
12825
|
|
|
12837
12826
|
// src/requests/DeleteIntegration.ts
|
|
@@ -12889,7 +12878,7 @@ var getIntegrationsQuerySchema = external_exports.object({
|
|
|
12889
12878
|
page: external_exports.coerce.number().optional()
|
|
12890
12879
|
}).extend(import_sdk_js_global_types16.timestampsFilterSchema.shape);
|
|
12891
12880
|
var getIntegrationsInputSchema = external_exports.undefined();
|
|
12892
|
-
var getIntegrationsResponseSchema = (0, import_sdk_js_global_types16.
|
|
12881
|
+
var getIntegrationsResponseSchema = (0, import_sdk_js_global_types16.mixedPaginationSchema)(integrationSchema);
|
|
12893
12882
|
var GetIntegrations = class extends import_sdk_js_core18.AbstractApiRequest {
|
|
12894
12883
|
constructor(options) {
|
|
12895
12884
|
super(void 0, options);
|
|
@@ -12900,17 +12889,12 @@ var GetIntegrations = class extends import_sdk_js_core18.AbstractApiRequest {
|
|
|
12900
12889
|
this.outputSchema = getIntegrationsResponseSchema;
|
|
12901
12890
|
this.querySchema = getIntegrationsQuerySchema;
|
|
12902
12891
|
this.headersSchema = void 0;
|
|
12892
|
+
this.listItemSchema = integrationSchema;
|
|
12893
|
+
this.paginationDefaultEnabled = true;
|
|
12903
12894
|
}
|
|
12904
12895
|
getPath() {
|
|
12905
12896
|
return "/integrations";
|
|
12906
12897
|
}
|
|
12907
|
-
parseResponse(data, rawResponse) {
|
|
12908
|
-
const integrations = external_exports.array(integrationSchema).parse(data);
|
|
12909
|
-
return this.validateOutput({
|
|
12910
|
-
data: integrations,
|
|
12911
|
-
pagination: (0, import_sdk_js_global_types16.responseToPagination)(rawResponse)
|
|
12912
|
-
});
|
|
12913
|
-
}
|
|
12914
12898
|
};
|
|
12915
12899
|
|
|
12916
12900
|
// src/requests/GetIntegrationsFromPointOfSale.ts
|
|
@@ -12936,14 +12920,13 @@ var GetIntegrationsFromPointOfSale = class extends import_sdk_js_core19.Abstract
|
|
|
12936
12920
|
this.outputSchema = getIntegrationsFromPointOfSaleResponseSchema;
|
|
12937
12921
|
this.querySchema = getIntegrationsFromPointOfSaleQuerySchema;
|
|
12938
12922
|
this.headersSchema = void 0;
|
|
12923
|
+
this.listItemSchema = integrationSchema;
|
|
12924
|
+
this.paginationDefaultEnabled = false;
|
|
12939
12925
|
this.pointOfSaleId = pointOfSaleId;
|
|
12940
12926
|
}
|
|
12941
12927
|
getPath() {
|
|
12942
12928
|
return `/point_of_sales/${this.pointOfSaleId}/integrations`;
|
|
12943
12929
|
}
|
|
12944
|
-
parseResponse(data) {
|
|
12945
|
-
return external_exports.array(integrationSchema).parse(data);
|
|
12946
|
-
}
|
|
12947
12930
|
};
|
|
12948
12931
|
|
|
12949
12932
|
// src/requests/services/cassa_in_cloud/CreateIntegrationCassaInCloud.ts
|
|
@@ -13018,7 +13001,7 @@ var import_sdk_js_core23 = require("@deliverart/sdk-js-core");
|
|
|
13018
13001
|
var import_sdk_js_global_types19 = require("@deliverart/sdk-js-global-types");
|
|
13019
13002
|
var getIntegrationCassaInCloudClientLogRequestsQuerySchema = clientLogRequestQuerySchema;
|
|
13020
13003
|
var getIntegrationCassaInCloudClientLogRequestsInputSchema = external_exports.undefined();
|
|
13021
|
-
var getIntegrationCassaInCloudClientLogRequestsResponseSchema = (0, import_sdk_js_global_types19.
|
|
13004
|
+
var getIntegrationCassaInCloudClientLogRequestsResponseSchema = (0, import_sdk_js_global_types19.mixedPaginationSchema)(
|
|
13022
13005
|
integrationClientLogRequestSchema
|
|
13023
13006
|
);
|
|
13024
13007
|
var GetIntegrationCassaInCloudClientLogRequests = class extends import_sdk_js_core23.AbstractApiRequest {
|
|
@@ -13031,18 +13014,13 @@ var GetIntegrationCassaInCloudClientLogRequests = class extends import_sdk_js_co
|
|
|
13031
13014
|
this.outputSchema = getIntegrationCassaInCloudClientLogRequestsResponseSchema;
|
|
13032
13015
|
this.querySchema = getIntegrationCassaInCloudClientLogRequestsQuerySchema;
|
|
13033
13016
|
this.headersSchema = void 0;
|
|
13017
|
+
this.listItemSchema = integrationClientLogRequestSchema;
|
|
13018
|
+
this.paginationDefaultEnabled = true;
|
|
13034
13019
|
this.integrationCassaInCloudId = integrationCassaInCloudId;
|
|
13035
13020
|
}
|
|
13036
13021
|
getPath() {
|
|
13037
13022
|
return `/integrations/cassa_in_cloud/${this.integrationCassaInCloudId}/client_log_requests`;
|
|
13038
13023
|
}
|
|
13039
|
-
parseResponse(data, rawResponse) {
|
|
13040
|
-
const integrations = external_exports.array(integrationClientLogRequestSchema).parse(data);
|
|
13041
|
-
return this.validateOutput({
|
|
13042
|
-
data: integrations,
|
|
13043
|
-
pagination: (0, import_sdk_js_global_types19.responseToPagination)(rawResponse)
|
|
13044
|
-
});
|
|
13045
|
-
}
|
|
13046
13024
|
};
|
|
13047
13025
|
|
|
13048
13026
|
// src/requests/services/cassa_in_cloud/GetIntegrationCassaInCloudDetails.ts
|
|
@@ -13073,7 +13051,7 @@ var getIntegrationCassaInCloudListQuerySchema = integrationsCassaInCloudQuerySch
|
|
|
13073
13051
|
service: true
|
|
13074
13052
|
});
|
|
13075
13053
|
var getIntegrationCassaInCloudListInputSchema = external_exports.undefined();
|
|
13076
|
-
var getIntegrationCassaInCloudListResponseSchema = (0, import_sdk_js_global_types20.
|
|
13054
|
+
var getIntegrationCassaInCloudListResponseSchema = (0, import_sdk_js_global_types20.mixedPaginationSchema)(
|
|
13077
13055
|
integrationCassaInCloudSchema
|
|
13078
13056
|
);
|
|
13079
13057
|
var GetIntegrationCassaInCloudList = class extends import_sdk_js_core25.AbstractApiRequest {
|
|
@@ -13086,17 +13064,12 @@ var GetIntegrationCassaInCloudList = class extends import_sdk_js_core25.Abstract
|
|
|
13086
13064
|
this.outputSchema = getIntegrationCassaInCloudListResponseSchema;
|
|
13087
13065
|
this.querySchema = getIntegrationCassaInCloudListQuerySchema;
|
|
13088
13066
|
this.headersSchema = void 0;
|
|
13067
|
+
this.listItemSchema = integrationCassaInCloudSchema;
|
|
13068
|
+
this.paginationDefaultEnabled = true;
|
|
13089
13069
|
}
|
|
13090
13070
|
getPath() {
|
|
13091
13071
|
return "/integrations/cassa_in_cloud";
|
|
13092
13072
|
}
|
|
13093
|
-
parseResponse(data, rawResponse) {
|
|
13094
|
-
const integrations = external_exports.array(integrationCassaInCloudSchema).parse(data);
|
|
13095
|
-
return this.validateOutput({
|
|
13096
|
-
data: integrations,
|
|
13097
|
-
pagination: (0, import_sdk_js_global_types20.responseToPagination)(rawResponse)
|
|
13098
|
-
});
|
|
13099
|
-
}
|
|
13100
13073
|
};
|
|
13101
13074
|
|
|
13102
13075
|
// src/requests/services/cassa_in_cloud/GetIntegrationCassaInCloudSyncMenuProcessDetails.ts
|
|
@@ -13128,7 +13101,7 @@ var getIntegrationCassaInCloudSyncMenuProcessesQuerySchema = external_exports.ob
|
|
|
13128
13101
|
page: external_exports.coerce.number().optional()
|
|
13129
13102
|
});
|
|
13130
13103
|
var getIntegrationCassaInCloudSyncMenuProcessesInputSchema = external_exports.undefined();
|
|
13131
|
-
var getIntegrationCassaInCloudSyncMenuProcessesResponseSchema = (0, import_sdk_js_global_types21.
|
|
13104
|
+
var getIntegrationCassaInCloudSyncMenuProcessesResponseSchema = (0, import_sdk_js_global_types21.mixedPaginationSchema)(
|
|
13132
13105
|
integrationCassaInCloudSyncMenuProcessSchema
|
|
13133
13106
|
);
|
|
13134
13107
|
var GetIntegrationCassaInCloudSyncMenuProcesses = class extends import_sdk_js_core27.AbstractApiRequest {
|
|
@@ -13141,18 +13114,13 @@ var GetIntegrationCassaInCloudSyncMenuProcesses = class extends import_sdk_js_co
|
|
|
13141
13114
|
this.outputSchema = getIntegrationCassaInCloudSyncMenuProcessesResponseSchema;
|
|
13142
13115
|
this.querySchema = getIntegrationCassaInCloudSyncMenuProcessesQuerySchema;
|
|
13143
13116
|
this.headersSchema = void 0;
|
|
13117
|
+
this.listItemSchema = integrationCassaInCloudSyncMenuProcessSchema;
|
|
13118
|
+
this.paginationDefaultEnabled = true;
|
|
13144
13119
|
this.integrationCassaInCloudId = integrationCassaInCloudId;
|
|
13145
13120
|
}
|
|
13146
13121
|
getPath() {
|
|
13147
13122
|
return `/integrations/cassa_in_cloud/${this.integrationCassaInCloudId}/sync_menu_processes`;
|
|
13148
13123
|
}
|
|
13149
|
-
parseResponse(data, rawResponse) {
|
|
13150
|
-
const integrations = external_exports.array(integrationCassaInCloudSyncMenuProcessSchema).parse(data);
|
|
13151
|
-
return this.validateOutput({
|
|
13152
|
-
data: integrations,
|
|
13153
|
-
pagination: (0, import_sdk_js_global_types21.responseToPagination)(rawResponse)
|
|
13154
|
-
});
|
|
13155
|
-
}
|
|
13156
13124
|
};
|
|
13157
13125
|
|
|
13158
13126
|
// src/requests/services/cassa_in_cloud/GetIntegrationCassaInCloudWebHookEventDetails.ts
|
|
@@ -13182,7 +13150,7 @@ var import_sdk_js_core29 = require("@deliverart/sdk-js-core");
|
|
|
13182
13150
|
var import_sdk_js_global_types22 = require("@deliverart/sdk-js-global-types");
|
|
13183
13151
|
var getIntegrationCassaInCloudWebHookEventsQuerySchema = integrationCassaInCloudWebHookEventsQuerySchema;
|
|
13184
13152
|
var getIntegrationCassaInCloudWebHookEventsInputSchema = external_exports.undefined();
|
|
13185
|
-
var getIntegrationCassaInCloudWebHookEventsResponseSchema = (0, import_sdk_js_global_types22.
|
|
13153
|
+
var getIntegrationCassaInCloudWebHookEventsResponseSchema = (0, import_sdk_js_global_types22.mixedPaginationSchema)(
|
|
13186
13154
|
integrationCassaInCloudWebHookEventSchema
|
|
13187
13155
|
);
|
|
13188
13156
|
var GetIntegrationCassaInCloudWebHookEvents = class extends import_sdk_js_core29.AbstractApiRequest {
|
|
@@ -13195,18 +13163,13 @@ var GetIntegrationCassaInCloudWebHookEvents = class extends import_sdk_js_core29
|
|
|
13195
13163
|
this.outputSchema = getIntegrationCassaInCloudWebHookEventsResponseSchema;
|
|
13196
13164
|
this.querySchema = getIntegrationCassaInCloudWebHookEventsQuerySchema;
|
|
13197
13165
|
this.headersSchema = void 0;
|
|
13166
|
+
this.listItemSchema = integrationCassaInCloudWebHookEventSchema;
|
|
13167
|
+
this.paginationDefaultEnabled = true;
|
|
13198
13168
|
this.integrationCassaInCloudId = integrationCassaInCloudId;
|
|
13199
13169
|
}
|
|
13200
13170
|
getPath() {
|
|
13201
13171
|
return `/integrations/cassa_in_cloud/${this.integrationCassaInCloudId}/webhook_events`;
|
|
13202
13172
|
}
|
|
13203
|
-
parseResponse(data, rawResponse) {
|
|
13204
|
-
const integrations = external_exports.array(integrationCassaInCloudWebHookEventSchema).parse(data);
|
|
13205
|
-
return this.validateOutput({
|
|
13206
|
-
data: integrations,
|
|
13207
|
-
pagination: (0, import_sdk_js_global_types22.responseToPagination)(rawResponse)
|
|
13208
|
-
});
|
|
13209
|
-
}
|
|
13210
13173
|
};
|
|
13211
13174
|
|
|
13212
13175
|
// src/requests/services/cassa_in_cloud/IntegrationCassaInCloudSyncCustomers.ts
|
|
@@ -13428,7 +13391,7 @@ var import_sdk_js_core40 = require("@deliverart/sdk-js-core");
|
|
|
13428
13391
|
var import_sdk_js_global_types24 = require("@deliverart/sdk-js-global-types");
|
|
13429
13392
|
var getIntegrationDeliverooClientLogRequestsQuerySchema = clientLogRequestQuerySchema;
|
|
13430
13393
|
var getIntegrationDeliverooClientLogRequestsInputSchema = external_exports.undefined();
|
|
13431
|
-
var getIntegrationDeliverooClientLogRequestsResponseSchema = (0, import_sdk_js_global_types24.
|
|
13394
|
+
var getIntegrationDeliverooClientLogRequestsResponseSchema = (0, import_sdk_js_global_types24.mixedPaginationSchema)(
|
|
13432
13395
|
integrationClientLogRequestSchema
|
|
13433
13396
|
);
|
|
13434
13397
|
var GetIntegrationDeliverooClientLogRequests = class extends import_sdk_js_core40.AbstractApiRequest {
|
|
@@ -13441,18 +13404,13 @@ var GetIntegrationDeliverooClientLogRequests = class extends import_sdk_js_core4
|
|
|
13441
13404
|
this.outputSchema = getIntegrationDeliverooClientLogRequestsResponseSchema;
|
|
13442
13405
|
this.querySchema = getIntegrationDeliverooClientLogRequestsQuerySchema;
|
|
13443
13406
|
this.headersSchema = void 0;
|
|
13407
|
+
this.listItemSchema = integrationClientLogRequestSchema;
|
|
13408
|
+
this.paginationDefaultEnabled = true;
|
|
13444
13409
|
this.integrationDeliverooId = integrationDeliverooId;
|
|
13445
13410
|
}
|
|
13446
13411
|
getPath() {
|
|
13447
13412
|
return `/integrations/deliveroo/${this.integrationDeliverooId}/client_log_requests`;
|
|
13448
13413
|
}
|
|
13449
|
-
parseResponse(data, rawResponse) {
|
|
13450
|
-
const integrations = external_exports.array(integrationClientLogRequestSchema).parse(data);
|
|
13451
|
-
return this.validateOutput({
|
|
13452
|
-
data: integrations,
|
|
13453
|
-
pagination: (0, import_sdk_js_global_types24.responseToPagination)(rawResponse)
|
|
13454
|
-
});
|
|
13455
|
-
}
|
|
13456
13414
|
};
|
|
13457
13415
|
|
|
13458
13416
|
// src/requests/services/deliveroo/GetIntegrationDeliverooDetails.ts
|
|
@@ -13482,7 +13440,7 @@ var import_sdk_js_global_types25 = require("@deliverart/sdk-js-global-types");
|
|
|
13482
13440
|
var getIntegrationDeliverooListQuerySchema = integrationsDeliverooQuerySchema.omit({
|
|
13483
13441
|
service: true
|
|
13484
13442
|
});
|
|
13485
|
-
var getIntegrationDeliverooListResponseSchema = (0, import_sdk_js_global_types25.
|
|
13443
|
+
var getIntegrationDeliverooListResponseSchema = (0, import_sdk_js_global_types25.mixedPaginationSchema)(
|
|
13486
13444
|
integrationDeliverooSchema
|
|
13487
13445
|
);
|
|
13488
13446
|
var getIntegrationDeliverooListInputSchema = external_exports.undefined();
|
|
@@ -13496,17 +13454,12 @@ var GetIntegrationDeliverooList = class extends import_sdk_js_core42.AbstractApi
|
|
|
13496
13454
|
this.outputSchema = getIntegrationDeliverooListResponseSchema;
|
|
13497
13455
|
this.querySchema = getIntegrationDeliverooListQuerySchema;
|
|
13498
13456
|
this.headersSchema = void 0;
|
|
13457
|
+
this.listItemSchema = integrationDeliverooSchema;
|
|
13458
|
+
this.paginationDefaultEnabled = true;
|
|
13499
13459
|
}
|
|
13500
13460
|
getPath() {
|
|
13501
13461
|
return "/integrations/deliveroo";
|
|
13502
13462
|
}
|
|
13503
|
-
parseResponse(data, rawResponse) {
|
|
13504
|
-
const integrations = external_exports.array(integrationDeliverooSchema).parse(data);
|
|
13505
|
-
return this.validateOutput({
|
|
13506
|
-
data: integrations,
|
|
13507
|
-
pagination: (0, import_sdk_js_global_types25.responseToPagination)(rawResponse)
|
|
13508
|
-
});
|
|
13509
|
-
}
|
|
13510
13463
|
};
|
|
13511
13464
|
|
|
13512
13465
|
// src/requests/services/deliveroo/GetIntegrationDeliverooMenuVersionDetails.ts
|
|
@@ -13538,7 +13491,7 @@ var getIntegrationDeliverooMenuVersionsQuerySchema = external_exports.object({
|
|
|
13538
13491
|
page: external_exports.coerce.number().optional()
|
|
13539
13492
|
});
|
|
13540
13493
|
var getIntegrationDeliverooMenuVersionsInputSchema = external_exports.undefined();
|
|
13541
|
-
var getIntegrationDeliverooMenuVersionsResponseSchema = (0, import_sdk_js_global_types26.
|
|
13494
|
+
var getIntegrationDeliverooMenuVersionsResponseSchema = (0, import_sdk_js_global_types26.mixedPaginationSchema)(menuVersionSchema);
|
|
13542
13495
|
var GetIntegrationDeliverooMenuVersions = class extends import_sdk_js_core44.AbstractApiRequest {
|
|
13543
13496
|
constructor(integrationDeliverooId, options) {
|
|
13544
13497
|
super(void 0, options);
|
|
@@ -13549,18 +13502,13 @@ var GetIntegrationDeliverooMenuVersions = class extends import_sdk_js_core44.Abs
|
|
|
13549
13502
|
this.outputSchema = getIntegrationDeliverooMenuVersionsResponseSchema;
|
|
13550
13503
|
this.querySchema = getIntegrationDeliverooMenuVersionsQuerySchema;
|
|
13551
13504
|
this.headersSchema = void 0;
|
|
13505
|
+
this.listItemSchema = menuVersionSchema;
|
|
13506
|
+
this.paginationDefaultEnabled = true;
|
|
13552
13507
|
this.integrationDeliverooId = integrationDeliverooId;
|
|
13553
13508
|
}
|
|
13554
13509
|
getPath() {
|
|
13555
13510
|
return `/integrations/deliveroo/${this.integrationDeliverooId}/menu_versions`;
|
|
13556
13511
|
}
|
|
13557
|
-
parseResponse(data, rawResponse) {
|
|
13558
|
-
const integrations = external_exports.array(menuVersionSchema).parse(data);
|
|
13559
|
-
return this.validateOutput({
|
|
13560
|
-
data: integrations,
|
|
13561
|
-
pagination: (0, import_sdk_js_global_types26.responseToPagination)(rawResponse)
|
|
13562
|
-
});
|
|
13563
|
-
}
|
|
13564
13512
|
};
|
|
13565
13513
|
|
|
13566
13514
|
// src/requests/services/deliveroo/GetIntegrationDeliverooSyncMenuProcessDetails.ts
|
|
@@ -13592,7 +13540,7 @@ var getIntegrationDeliverooSyncMenuProcessesQuerySchema = external_exports.objec
|
|
|
13592
13540
|
page: external_exports.coerce.number().optional()
|
|
13593
13541
|
});
|
|
13594
13542
|
var getIntegrationDeliverooSyncMenuProcessesInputSchema = external_exports.undefined();
|
|
13595
|
-
var getIntegrationDeliverooSyncMenuProcessesResponseSchema = (0, import_sdk_js_global_types27.
|
|
13543
|
+
var getIntegrationDeliverooSyncMenuProcessesResponseSchema = (0, import_sdk_js_global_types27.mixedPaginationSchema)(
|
|
13596
13544
|
integrationDeliverooSyncMenuProcessSchema
|
|
13597
13545
|
);
|
|
13598
13546
|
var GetIntegrationDeliverooSyncMenuProcesses = class extends import_sdk_js_core46.AbstractApiRequest {
|
|
@@ -13605,18 +13553,13 @@ var GetIntegrationDeliverooSyncMenuProcesses = class extends import_sdk_js_core4
|
|
|
13605
13553
|
this.outputSchema = getIntegrationDeliverooSyncMenuProcessesResponseSchema;
|
|
13606
13554
|
this.querySchema = getIntegrationDeliverooSyncMenuProcessesQuerySchema;
|
|
13607
13555
|
this.headersSchema = void 0;
|
|
13556
|
+
this.listItemSchema = integrationDeliverooSyncMenuProcessSchema;
|
|
13557
|
+
this.paginationDefaultEnabled = true;
|
|
13608
13558
|
this.integrationDeliverooId = integrationDeliverooId;
|
|
13609
13559
|
}
|
|
13610
13560
|
getPath() {
|
|
13611
13561
|
return `/integrations/deliveroo/${this.integrationDeliverooId}/sync_menu_processes`;
|
|
13612
13562
|
}
|
|
13613
|
-
parseResponse(data, rawResponse) {
|
|
13614
|
-
const integrations = external_exports.array(integrationDeliverooSyncMenuProcessSchema).parse(data);
|
|
13615
|
-
return this.validateOutput({
|
|
13616
|
-
data: integrations,
|
|
13617
|
-
pagination: (0, import_sdk_js_global_types27.responseToPagination)(rawResponse)
|
|
13618
|
-
});
|
|
13619
|
-
}
|
|
13620
13563
|
};
|
|
13621
13564
|
|
|
13622
13565
|
// src/requests/services/deliveroo/GetIntegrationDeliverooWebhookEventDetails.ts
|
|
@@ -13646,7 +13589,7 @@ var import_sdk_js_core48 = require("@deliverart/sdk-js-core");
|
|
|
13646
13589
|
var import_sdk_js_global_types28 = require("@deliverart/sdk-js-global-types");
|
|
13647
13590
|
var getIntegrationDeliverooWebhookEventsQuerySchema = integrationDeliverooWebhookEventsQueryParamsSchema;
|
|
13648
13591
|
var getIntegrationDeliverooWebhookEventsInputSchema = external_exports.undefined();
|
|
13649
|
-
var getIntegrationDeliverooWebhookEventsResponseSchema = (0, import_sdk_js_global_types28.
|
|
13592
|
+
var getIntegrationDeliverooWebhookEventsResponseSchema = (0, import_sdk_js_global_types28.mixedPaginationSchema)(
|
|
13650
13593
|
integrationDeliverooWebhookEventSchema
|
|
13651
13594
|
);
|
|
13652
13595
|
var GetIntegrationDeliverooWebhookEvents = class extends import_sdk_js_core48.AbstractApiRequest {
|
|
@@ -13659,18 +13602,13 @@ var GetIntegrationDeliverooWebhookEvents = class extends import_sdk_js_core48.Ab
|
|
|
13659
13602
|
this.outputSchema = getIntegrationDeliverooWebhookEventsResponseSchema;
|
|
13660
13603
|
this.querySchema = getIntegrationDeliverooWebhookEventsQuerySchema;
|
|
13661
13604
|
this.headersSchema = void 0;
|
|
13605
|
+
this.listItemSchema = integrationDeliverooWebhookEventSchema;
|
|
13606
|
+
this.paginationDefaultEnabled = true;
|
|
13662
13607
|
this.integrationDeliverooId = integrationDeliverooId;
|
|
13663
13608
|
}
|
|
13664
13609
|
getPath() {
|
|
13665
13610
|
return `/integrations/deliveroo/${this.integrationDeliverooId}/webhook_events`;
|
|
13666
13611
|
}
|
|
13667
|
-
parseResponse(data, rawResponse) {
|
|
13668
|
-
const integrations = external_exports.array(integrationDeliverooWebhookEventSchema).parse(data);
|
|
13669
|
-
return this.validateOutput({
|
|
13670
|
-
data: integrations,
|
|
13671
|
-
pagination: (0, import_sdk_js_global_types28.responseToPagination)(rawResponse)
|
|
13672
|
-
});
|
|
13673
|
-
}
|
|
13674
13612
|
};
|
|
13675
13613
|
|
|
13676
13614
|
// src/requests/services/deliveroo/IntegrationDeliverooSyncMenu.ts
|
|
@@ -13831,7 +13769,7 @@ var import_sdk_js_core56 = require("@deliverart/sdk-js-core");
|
|
|
13831
13769
|
var import_sdk_js_global_types30 = require("@deliverart/sdk-js-global-types");
|
|
13832
13770
|
var getIntegrationGlovoClientLogRequestsQuerySchema = clientLogRequestQuerySchema;
|
|
13833
13771
|
var getIntegrationGlovoClientLogRequestsInputSchema = external_exports.undefined();
|
|
13834
|
-
var getIntegrationGlovoClientLogRequestsResponseSchema = (0, import_sdk_js_global_types30.
|
|
13772
|
+
var getIntegrationGlovoClientLogRequestsResponseSchema = (0, import_sdk_js_global_types30.mixedPaginationSchema)(
|
|
13835
13773
|
integrationClientLogRequestSchema
|
|
13836
13774
|
);
|
|
13837
13775
|
var GetIntegrationGlovoClientLogRequests = class extends import_sdk_js_core56.AbstractApiRequest {
|
|
@@ -13844,18 +13782,13 @@ var GetIntegrationGlovoClientLogRequests = class extends import_sdk_js_core56.Ab
|
|
|
13844
13782
|
this.outputSchema = getIntegrationGlovoClientLogRequestsResponseSchema;
|
|
13845
13783
|
this.querySchema = getIntegrationGlovoClientLogRequestsQuerySchema;
|
|
13846
13784
|
this.headersSchema = void 0;
|
|
13785
|
+
this.listItemSchema = integrationClientLogRequestSchema;
|
|
13786
|
+
this.paginationDefaultEnabled = true;
|
|
13847
13787
|
this.integrationGlovoId = integrationGlovoId;
|
|
13848
13788
|
}
|
|
13849
13789
|
getPath() {
|
|
13850
13790
|
return `/integrations/glovo/${this.integrationGlovoId}/client_log_requests`;
|
|
13851
13791
|
}
|
|
13852
|
-
parseResponse(data, rawResponse) {
|
|
13853
|
-
const integrations = external_exports.array(integrationClientLogRequestSchema).parse(data);
|
|
13854
|
-
return this.validateOutput({
|
|
13855
|
-
data: integrations,
|
|
13856
|
-
pagination: (0, import_sdk_js_global_types30.responseToPagination)(rawResponse)
|
|
13857
|
-
});
|
|
13858
|
-
}
|
|
13859
13792
|
};
|
|
13860
13793
|
|
|
13861
13794
|
// src/requests/services/glovo/GetIntegrationGlovoDetails.ts
|
|
@@ -13886,7 +13819,7 @@ var getIntegrationGlovoListQuerySchema = integrationsGlovoQuerySchema.omit({
|
|
|
13886
13819
|
service: true
|
|
13887
13820
|
});
|
|
13888
13821
|
var getIntegrationGlovoListInputSchema = external_exports.undefined();
|
|
13889
|
-
var getIntegrationGlovoListResponseSchema = (0, import_sdk_js_global_types31.
|
|
13822
|
+
var getIntegrationGlovoListResponseSchema = (0, import_sdk_js_global_types31.mixedPaginationSchema)(integrationGlovoSchema);
|
|
13890
13823
|
var GetIntegrationGlovoList = class extends import_sdk_js_core58.AbstractApiRequest {
|
|
13891
13824
|
constructor(options) {
|
|
13892
13825
|
super(void 0, options);
|
|
@@ -13897,17 +13830,12 @@ var GetIntegrationGlovoList = class extends import_sdk_js_core58.AbstractApiRequ
|
|
|
13897
13830
|
this.outputSchema = getIntegrationGlovoListResponseSchema;
|
|
13898
13831
|
this.querySchema = getIntegrationGlovoListQuerySchema;
|
|
13899
13832
|
this.headersSchema = void 0;
|
|
13833
|
+
this.listItemSchema = integrationGlovoSchema;
|
|
13834
|
+
this.paginationDefaultEnabled = true;
|
|
13900
13835
|
}
|
|
13901
13836
|
getPath() {
|
|
13902
13837
|
return "/integrations/glovo";
|
|
13903
13838
|
}
|
|
13904
|
-
parseResponse(data, rawResponse) {
|
|
13905
|
-
const integrations = external_exports.array(integrationGlovoSchema).parse(data);
|
|
13906
|
-
return this.validateOutput({
|
|
13907
|
-
data: integrations,
|
|
13908
|
-
pagination: (0, import_sdk_js_global_types31.responseToPagination)(rawResponse)
|
|
13909
|
-
});
|
|
13910
|
-
}
|
|
13911
13839
|
};
|
|
13912
13840
|
|
|
13913
13841
|
// src/requests/services/glovo/GetIntegrationGlovoMenuUpdateDetails.ts
|
|
@@ -13939,7 +13867,7 @@ var getIntegrationGlovoMenuUpdatesQuerySchema = external_exports.object({
|
|
|
13939
13867
|
page: external_exports.coerce.number().optional()
|
|
13940
13868
|
});
|
|
13941
13869
|
var getIntegrationGlovoMenuUpdatesInputSchema = external_exports.undefined();
|
|
13942
|
-
var getIntegrationGlovoMenuUpdatesResponseSchema = (0, import_sdk_js_global_types32.
|
|
13870
|
+
var getIntegrationGlovoMenuUpdatesResponseSchema = (0, import_sdk_js_global_types32.mixedPaginationSchema)(
|
|
13943
13871
|
integrationGlovoMenuUpdateSchema
|
|
13944
13872
|
);
|
|
13945
13873
|
var GetIntegrationGlovoMenuUpdates = class extends import_sdk_js_core60.AbstractApiRequest {
|
|
@@ -13952,18 +13880,13 @@ var GetIntegrationGlovoMenuUpdates = class extends import_sdk_js_core60.Abstract
|
|
|
13952
13880
|
this.outputSchema = getIntegrationGlovoMenuUpdatesResponseSchema;
|
|
13953
13881
|
this.querySchema = getIntegrationGlovoMenuUpdatesQuerySchema;
|
|
13954
13882
|
this.headersSchema = void 0;
|
|
13883
|
+
this.listItemSchema = integrationGlovoMenuUpdateSchema;
|
|
13884
|
+
this.paginationDefaultEnabled = true;
|
|
13955
13885
|
this.integrationId = integrationId;
|
|
13956
13886
|
}
|
|
13957
13887
|
getPath() {
|
|
13958
13888
|
return `/integrations/glovo/${this.integrationId}/menu_updates`;
|
|
13959
13889
|
}
|
|
13960
|
-
parseResponse(data, rawResponse) {
|
|
13961
|
-
const integrations = external_exports.array(integrationGlovoMenuUpdateSchema).parse(data);
|
|
13962
|
-
return this.validateOutput({
|
|
13963
|
-
data: integrations,
|
|
13964
|
-
pagination: (0, import_sdk_js_global_types32.responseToPagination)(rawResponse)
|
|
13965
|
-
});
|
|
13966
|
-
}
|
|
13967
13890
|
};
|
|
13968
13891
|
|
|
13969
13892
|
// src/requests/services/glovo/GetIntegrationGlovoMenuVersionDetails.ts
|
|
@@ -13995,7 +13918,7 @@ var getIntegrationGlovoMenuVersionsQuerySchema = external_exports.object({
|
|
|
13995
13918
|
page: external_exports.coerce.number().optional()
|
|
13996
13919
|
});
|
|
13997
13920
|
var getIntegrationGlovoMenuVersionsInputSchema = external_exports.undefined();
|
|
13998
|
-
var getIntegrationGlovoMenuVersionsResponseSchema = (0, import_sdk_js_global_types33.
|
|
13921
|
+
var getIntegrationGlovoMenuVersionsResponseSchema = (0, import_sdk_js_global_types33.mixedPaginationSchema)(menuVersionSchema);
|
|
13999
13922
|
var GetIntegrationGlovoMenuVersions = class extends import_sdk_js_core62.AbstractApiRequest {
|
|
14000
13923
|
constructor(integrationGlovoId, options) {
|
|
14001
13924
|
super(void 0, options);
|
|
@@ -14006,18 +13929,13 @@ var GetIntegrationGlovoMenuVersions = class extends import_sdk_js_core62.Abstrac
|
|
|
14006
13929
|
this.outputSchema = getIntegrationGlovoMenuVersionsResponseSchema;
|
|
14007
13930
|
this.querySchema = getIntegrationGlovoMenuVersionsQuerySchema;
|
|
14008
13931
|
this.headersSchema = void 0;
|
|
13932
|
+
this.listItemSchema = menuVersionSchema;
|
|
13933
|
+
this.paginationDefaultEnabled = true;
|
|
14009
13934
|
this.integrationGlovoId = integrationGlovoId;
|
|
14010
13935
|
}
|
|
14011
13936
|
getPath() {
|
|
14012
13937
|
return `/integrations/glovo/${this.integrationGlovoId}/menu_versions`;
|
|
14013
13938
|
}
|
|
14014
|
-
parseResponse(data, rawResponse) {
|
|
14015
|
-
const integrations = external_exports.array(menuVersionSchema).parse(data);
|
|
14016
|
-
return this.validateOutput({
|
|
14017
|
-
data: integrations,
|
|
14018
|
-
pagination: (0, import_sdk_js_global_types33.responseToPagination)(rawResponse)
|
|
14019
|
-
});
|
|
14020
|
-
}
|
|
14021
13939
|
};
|
|
14022
13940
|
|
|
14023
13941
|
// src/requests/services/glovo/GetIntegrationGlovoWebhookEventDetails.ts
|
|
@@ -14047,7 +13965,7 @@ var import_sdk_js_core64 = require("@deliverart/sdk-js-core");
|
|
|
14047
13965
|
var import_sdk_js_global_types34 = require("@deliverart/sdk-js-global-types");
|
|
14048
13966
|
var getIntegrationGlovoWebhookEventsQuerySchema = integrationGlovoWebhookEventsQueryParamsSchema;
|
|
14049
13967
|
var getIntegrationGlovoWebhookEventsInputSchema = external_exports.undefined();
|
|
14050
|
-
var getIntegrationGlovoWebhookEventsResponseSchema = (0, import_sdk_js_global_types34.
|
|
13968
|
+
var getIntegrationGlovoWebhookEventsResponseSchema = (0, import_sdk_js_global_types34.mixedPaginationSchema)(
|
|
14051
13969
|
integrationGlovoWebhookEventSchema
|
|
14052
13970
|
);
|
|
14053
13971
|
var GetIntegrationGlovoWebhookEvents = class extends import_sdk_js_core64.AbstractApiRequest {
|
|
@@ -14060,18 +13978,13 @@ var GetIntegrationGlovoWebhookEvents = class extends import_sdk_js_core64.Abstra
|
|
|
14060
13978
|
this.outputSchema = getIntegrationGlovoWebhookEventsResponseSchema;
|
|
14061
13979
|
this.querySchema = getIntegrationGlovoWebhookEventsQuerySchema;
|
|
14062
13980
|
this.headersSchema = void 0;
|
|
13981
|
+
this.listItemSchema = integrationGlovoWebhookEventSchema;
|
|
13982
|
+
this.paginationDefaultEnabled = true;
|
|
14063
13983
|
this.integrationGlovoId = integrationGlovoId;
|
|
14064
13984
|
}
|
|
14065
13985
|
getPath() {
|
|
14066
13986
|
return `/integrations/glovo/${this.integrationGlovoId}/webhook_events`;
|
|
14067
13987
|
}
|
|
14068
|
-
parseResponse(data, rawResponse) {
|
|
14069
|
-
const integrations = external_exports.array(integrationGlovoWebhookEventSchema).parse(data);
|
|
14070
|
-
return this.validateOutput({
|
|
14071
|
-
data: integrations,
|
|
14072
|
-
pagination: (0, import_sdk_js_global_types34.responseToPagination)(rawResponse)
|
|
14073
|
-
});
|
|
14074
|
-
}
|
|
14075
13988
|
};
|
|
14076
13989
|
|
|
14077
13990
|
// src/requests/services/glovo/IntegrationGlovoSyncMenu.ts
|
|
@@ -14211,7 +14124,7 @@ var import_sdk_js_core71 = require("@deliverart/sdk-js-core");
|
|
|
14211
14124
|
var import_sdk_js_global_types36 = require("@deliverart/sdk-js-global-types");
|
|
14212
14125
|
var getIntegrationJustEatClientLogRequestsQuerySchema = clientLogRequestQuerySchema;
|
|
14213
14126
|
var getIntegrationJustEatClientLogRequestsInputSchema = external_exports.undefined();
|
|
14214
|
-
var getIntegrationJustEatClientLogRequestsResponseSchema = (0, import_sdk_js_global_types36.
|
|
14127
|
+
var getIntegrationJustEatClientLogRequestsResponseSchema = (0, import_sdk_js_global_types36.mixedPaginationSchema)(
|
|
14215
14128
|
integrationClientLogRequestSchema
|
|
14216
14129
|
);
|
|
14217
14130
|
var GetIntegrationJustEatClientLogRequests = class extends import_sdk_js_core71.AbstractApiRequest {
|
|
@@ -14224,18 +14137,13 @@ var GetIntegrationJustEatClientLogRequests = class extends import_sdk_js_core71.
|
|
|
14224
14137
|
this.outputSchema = getIntegrationJustEatClientLogRequestsResponseSchema;
|
|
14225
14138
|
this.querySchema = getIntegrationJustEatClientLogRequestsQuerySchema;
|
|
14226
14139
|
this.headersSchema = void 0;
|
|
14140
|
+
this.listItemSchema = integrationClientLogRequestSchema;
|
|
14141
|
+
this.paginationDefaultEnabled = true;
|
|
14227
14142
|
this.integrationJustEatId = integrationJustEatId;
|
|
14228
14143
|
}
|
|
14229
14144
|
getPath() {
|
|
14230
14145
|
return `/integrations/justeat/${this.integrationJustEatId}/client_log_requests`;
|
|
14231
14146
|
}
|
|
14232
|
-
parseResponse(data, rawResponse) {
|
|
14233
|
-
const integrations = external_exports.array(integrationClientLogRequestSchema).parse(data);
|
|
14234
|
-
return this.validateOutput({
|
|
14235
|
-
data: integrations,
|
|
14236
|
-
pagination: (0, import_sdk_js_global_types36.responseToPagination)(rawResponse)
|
|
14237
|
-
});
|
|
14238
|
-
}
|
|
14239
14147
|
};
|
|
14240
14148
|
|
|
14241
14149
|
// src/requests/services/justeat/GetIntegrationJustEatDetails.ts
|
|
@@ -14266,7 +14174,7 @@ var getIntegrationJustEatListQuerySchema = integrationsJustEatQuerySchema.omit({
|
|
|
14266
14174
|
service: true
|
|
14267
14175
|
});
|
|
14268
14176
|
var getIntegrationJustEatListInputSchema = external_exports.undefined();
|
|
14269
|
-
var getIntegrationJustEatListResponseSchema = (0, import_sdk_js_global_types37.
|
|
14177
|
+
var getIntegrationJustEatListResponseSchema = (0, import_sdk_js_global_types37.mixedPaginationSchema)(integrationJustEatSchema);
|
|
14270
14178
|
var GetIntegrationJustEatList = class extends import_sdk_js_core73.AbstractApiRequest {
|
|
14271
14179
|
constructor(options) {
|
|
14272
14180
|
super(void 0, options);
|
|
@@ -14277,17 +14185,12 @@ var GetIntegrationJustEatList = class extends import_sdk_js_core73.AbstractApiRe
|
|
|
14277
14185
|
this.outputSchema = getIntegrationJustEatListResponseSchema;
|
|
14278
14186
|
this.querySchema = getIntegrationJustEatListQuerySchema;
|
|
14279
14187
|
this.headersSchema = void 0;
|
|
14188
|
+
this.listItemSchema = integrationJustEatSchema;
|
|
14189
|
+
this.paginationDefaultEnabled = true;
|
|
14280
14190
|
}
|
|
14281
14191
|
getPath() {
|
|
14282
14192
|
return "/integrations/justeat";
|
|
14283
14193
|
}
|
|
14284
|
-
parseResponse(data, rawResponse) {
|
|
14285
|
-
const integrations = external_exports.array(integrationJustEatSchema).parse(data);
|
|
14286
|
-
return this.validateOutput({
|
|
14287
|
-
data: integrations,
|
|
14288
|
-
pagination: (0, import_sdk_js_global_types37.responseToPagination)(rawResponse)
|
|
14289
|
-
});
|
|
14290
|
-
}
|
|
14291
14194
|
};
|
|
14292
14195
|
|
|
14293
14196
|
// src/requests/services/justeat/GetIntegrationJustEatMenuVersionDetails.ts
|
|
@@ -14319,7 +14222,7 @@ var getIntegrationJustEatMenuVersionsQuerySchema = external_exports.object({
|
|
|
14319
14222
|
page: external_exports.coerce.number().optional()
|
|
14320
14223
|
});
|
|
14321
14224
|
var getIntegrationJustEatMenuVersionsInputSchema = external_exports.undefined();
|
|
14322
|
-
var getIntegrationJustEatMenuVersionsResponseSchema = (0, import_sdk_js_global_types38.
|
|
14225
|
+
var getIntegrationJustEatMenuVersionsResponseSchema = (0, import_sdk_js_global_types38.mixedPaginationSchema)(menuVersionSchema);
|
|
14323
14226
|
var GetIntegrationJustEatMenuVersions = class extends import_sdk_js_core75.AbstractApiRequest {
|
|
14324
14227
|
constructor(integrationJustEatId, options) {
|
|
14325
14228
|
super(void 0, options);
|
|
@@ -14330,18 +14233,13 @@ var GetIntegrationJustEatMenuVersions = class extends import_sdk_js_core75.Abstr
|
|
|
14330
14233
|
this.outputSchema = getIntegrationJustEatMenuVersionsResponseSchema;
|
|
14331
14234
|
this.querySchema = getIntegrationJustEatMenuVersionsQuerySchema;
|
|
14332
14235
|
this.headersSchema = void 0;
|
|
14236
|
+
this.listItemSchema = menuVersionSchema;
|
|
14237
|
+
this.paginationDefaultEnabled = true;
|
|
14333
14238
|
this.integrationJustEatId = integrationJustEatId;
|
|
14334
14239
|
}
|
|
14335
14240
|
getPath() {
|
|
14336
14241
|
return `/integrations/justeat/${this.integrationJustEatId}/menu_versions`;
|
|
14337
14242
|
}
|
|
14338
|
-
parseResponse(data, rawResponse) {
|
|
14339
|
-
const integrations = external_exports.array(menuVersionSchema).parse(data);
|
|
14340
|
-
return this.validateOutput({
|
|
14341
|
-
data: integrations,
|
|
14342
|
-
pagination: (0, import_sdk_js_global_types38.responseToPagination)(rawResponse)
|
|
14343
|
-
});
|
|
14344
|
-
}
|
|
14345
14243
|
};
|
|
14346
14244
|
|
|
14347
14245
|
// src/requests/services/justeat/GetIntegrationJustEatOrderDetails.ts
|
|
@@ -14371,7 +14269,7 @@ var import_sdk_js_core77 = require("@deliverart/sdk-js-core");
|
|
|
14371
14269
|
var import_sdk_js_global_types39 = require("@deliverart/sdk-js-global-types");
|
|
14372
14270
|
var getIntegrationJustEatOrdersQuerySchema = integrationJustEatOrdersQueryParamsSchema;
|
|
14373
14271
|
var getIntegrationJustEatOrdersInputSchema = external_exports.undefined();
|
|
14374
|
-
var getIntegrationJustEatOrdersResponseSchema = (0, import_sdk_js_global_types39.
|
|
14272
|
+
var getIntegrationJustEatOrdersResponseSchema = (0, import_sdk_js_global_types39.mixedPaginationSchema)(
|
|
14375
14273
|
integrationJustEatOrderSchema
|
|
14376
14274
|
);
|
|
14377
14275
|
var GetIntegrationJustEatOrders = class extends import_sdk_js_core77.AbstractApiRequest {
|
|
@@ -14384,18 +14282,13 @@ var GetIntegrationJustEatOrders = class extends import_sdk_js_core77.AbstractApi
|
|
|
14384
14282
|
this.outputSchema = getIntegrationJustEatOrdersResponseSchema;
|
|
14385
14283
|
this.querySchema = getIntegrationJustEatOrdersQuerySchema;
|
|
14386
14284
|
this.headersSchema = void 0;
|
|
14285
|
+
this.listItemSchema = integrationJustEatOrderSchema;
|
|
14286
|
+
this.paginationDefaultEnabled = true;
|
|
14387
14287
|
this.integrationJustEatId = integrationJustEatId;
|
|
14388
14288
|
}
|
|
14389
14289
|
getPath() {
|
|
14390
14290
|
return `/integrations/justeat/${this.integrationJustEatId}/orders`;
|
|
14391
14291
|
}
|
|
14392
|
-
parseResponse(data, rawResponse) {
|
|
14393
|
-
const integrations = external_exports.array(integrationJustEatOrderSchema).parse(data);
|
|
14394
|
-
return this.validateOutput({
|
|
14395
|
-
data: integrations,
|
|
14396
|
-
pagination: (0, import_sdk_js_global_types39.responseToPagination)(rawResponse)
|
|
14397
|
-
});
|
|
14398
|
-
}
|
|
14399
14292
|
};
|
|
14400
14293
|
|
|
14401
14294
|
// src/requests/services/justeat/GetIntegrationJustEatSyncMenuProcessDetails.ts
|
|
@@ -14427,7 +14320,7 @@ var getIntegrationJustEatSyncMenuProcessesQuerySchema = external_exports.object(
|
|
|
14427
14320
|
page: external_exports.coerce.number().optional()
|
|
14428
14321
|
});
|
|
14429
14322
|
var getIntegrationJustEatSyncMenuProcessesInputSchema = external_exports.undefined();
|
|
14430
|
-
var getIntegrationJustEatSyncMenuProcessesResponseSchema = (0, import_sdk_js_global_types40.
|
|
14323
|
+
var getIntegrationJustEatSyncMenuProcessesResponseSchema = (0, import_sdk_js_global_types40.mixedPaginationSchema)(
|
|
14431
14324
|
integrationJustEatSyncMenuProcessSchema
|
|
14432
14325
|
);
|
|
14433
14326
|
var GetIntegrationJustEatSyncMenuProcesses = class extends import_sdk_js_core79.AbstractApiRequest {
|
|
@@ -14440,18 +14333,13 @@ var GetIntegrationJustEatSyncMenuProcesses = class extends import_sdk_js_core79.
|
|
|
14440
14333
|
this.outputSchema = getIntegrationJustEatSyncMenuProcessesResponseSchema;
|
|
14441
14334
|
this.querySchema = getIntegrationJustEatSyncMenuProcessesQuerySchema;
|
|
14442
14335
|
this.headersSchema = void 0;
|
|
14336
|
+
this.listItemSchema = integrationJustEatSyncMenuProcessSchema;
|
|
14337
|
+
this.paginationDefaultEnabled = true;
|
|
14443
14338
|
this.integrationJustEatId = integrationJustEatId;
|
|
14444
14339
|
}
|
|
14445
14340
|
getPath() {
|
|
14446
14341
|
return `/integrations/justeat/${this.integrationJustEatId}/sync_menu_processes`;
|
|
14447
14342
|
}
|
|
14448
|
-
parseResponse(data, rawResponse) {
|
|
14449
|
-
const integrations = external_exports.array(integrationJustEatSyncMenuProcessSchema).parse(data);
|
|
14450
|
-
return this.validateOutput({
|
|
14451
|
-
data: integrations,
|
|
14452
|
-
pagination: (0, import_sdk_js_global_types40.responseToPagination)(rawResponse)
|
|
14453
|
-
});
|
|
14454
|
-
}
|
|
14455
14343
|
};
|
|
14456
14344
|
|
|
14457
14345
|
// src/requests/services/justeat/IntegrationJustEatSyncMenu.ts
|