@deliverart/sdk-js-integration 2.16.4 → 2.17.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 +414 -198
- package/dist/index.d.cts +360 -1
- package/dist/index.d.ts +360 -1
- package/dist/index.js +380 -190
- package/package.json +10 -10
package/dist/index.js
CHANGED
|
@@ -15263,6 +15263,16 @@ var integrationDeliverooDebugDaysOffResponseSchema = external_exports.object({
|
|
|
15263
15263
|
page: integrationDeliverooDebugPageSchema,
|
|
15264
15264
|
daysOff: external_exports.array(integrationDeliverooDebugDayOffSchema)
|
|
15265
15265
|
});
|
|
15266
|
+
var integrationDeliverooSiteDayOffInputSchema = external_exports.object({
|
|
15267
|
+
localStartTime: external_exports.string(),
|
|
15268
|
+
localEndTime: external_exports.string()
|
|
15269
|
+
});
|
|
15270
|
+
var integrationDeliverooSiteDayOffResponseSchema = integrationDeliverooDebugDayOffSchema;
|
|
15271
|
+
var integrationDeliverooSiteDaysOffResponseSchema = external_exports.object({
|
|
15272
|
+
count: external_exports.coerce.number().nonnegative(),
|
|
15273
|
+
page: integrationDeliverooDebugPageSchema,
|
|
15274
|
+
daysOff: external_exports.array(integrationDeliverooDebugDayOffSchema)
|
|
15275
|
+
});
|
|
15266
15276
|
|
|
15267
15277
|
// src/service-schemas/ecommerce.ts
|
|
15268
15278
|
import {
|
|
@@ -15692,6 +15702,24 @@ var integrationJustEatSyncMenuProcessesQuerySchema = external_exports.object({
|
|
|
15692
15702
|
"order[createdAt]": sortDirSchema6.optional(),
|
|
15693
15703
|
page: external_exports.coerce.number().optional()
|
|
15694
15704
|
});
|
|
15705
|
+
var integrationJustEatMenuItemAvailabilityDeltaSchema = external_exports.object({
|
|
15706
|
+
id: external_exports.string(),
|
|
15707
|
+
menuItemId: external_exports.string(),
|
|
15708
|
+
attempts: external_exports.coerce.number().int().nonnegative(),
|
|
15709
|
+
createdAt: datetimeSchema7,
|
|
15710
|
+
updatedAt: datetimeSchema7
|
|
15711
|
+
});
|
|
15712
|
+
var integrationJustEatMenuItemAvailabilityDeltaDetailsSchema = integrationJustEatMenuItemAvailabilityDeltaSchema.extend({
|
|
15713
|
+
integration: integrationJustEatIriSchema
|
|
15714
|
+
});
|
|
15715
|
+
var integrationJustEatMenuItemAvailabilityDeltasQuerySchema = external_exports.object({
|
|
15716
|
+
"order[createdAt]": sortDirSchema6.optional(),
|
|
15717
|
+
"order[updatedAt]": sortDirSchema6.optional(),
|
|
15718
|
+
"order[attempts]": sortDirSchema6.optional(),
|
|
15719
|
+
id: external_exports.union([external_exports.string(), external_exports.array(external_exports.string())]).optional(),
|
|
15720
|
+
menuItemId: external_exports.union([external_exports.string(), external_exports.array(external_exports.string())]).optional(),
|
|
15721
|
+
page: external_exports.coerce.number().optional()
|
|
15722
|
+
});
|
|
15695
15723
|
var integrationJustEatOrderSchema = external_exports.object({
|
|
15696
15724
|
id: external_exports.string(),
|
|
15697
15725
|
order: orderNullableIriSchema4,
|
|
@@ -18105,14 +18133,36 @@ var UpdateIntegrationCassaInCloud = class extends AbstractApiRequest90 {
|
|
|
18105
18133
|
}
|
|
18106
18134
|
};
|
|
18107
18135
|
|
|
18108
|
-
// src/requests/services/deliveroo/
|
|
18136
|
+
// src/requests/services/deliveroo/CancelIntegrationDeliverooSiteDayOff.ts
|
|
18109
18137
|
import { AbstractApiRequest as AbstractApiRequest91 } from "@deliverart/sdk-js-core";
|
|
18138
|
+
var cancelIntegrationDeliverooSiteDayOffInputSchema = external_exports.undefined();
|
|
18139
|
+
var cancelIntegrationDeliverooSiteDayOffResponseSchema = integrationDeliverooSiteDayOffResponseSchema;
|
|
18140
|
+
var CancelIntegrationDeliverooSiteDayOff = class extends AbstractApiRequest91 {
|
|
18141
|
+
constructor(integrationDeliverooId, dayOffId) {
|
|
18142
|
+
super(void 0);
|
|
18143
|
+
this.method = "DELETE";
|
|
18144
|
+
this.contentType = "application/json";
|
|
18145
|
+
this.accept = "application/json";
|
|
18146
|
+
this.inputSchema = cancelIntegrationDeliverooSiteDayOffInputSchema;
|
|
18147
|
+
this.outputSchema = cancelIntegrationDeliverooSiteDayOffResponseSchema;
|
|
18148
|
+
this.querySchema = void 0;
|
|
18149
|
+
this.headersSchema = void 0;
|
|
18150
|
+
this.integrationDeliverooId = integrationDeliverooId;
|
|
18151
|
+
this.dayOffId = dayOffId;
|
|
18152
|
+
}
|
|
18153
|
+
getPath() {
|
|
18154
|
+
return `/integrations/deliveroo/${this.integrationDeliverooId}/site/days_off/${this.dayOffId}`;
|
|
18155
|
+
}
|
|
18156
|
+
};
|
|
18157
|
+
|
|
18158
|
+
// src/requests/services/deliveroo/CreateIntegrationDeliveroo.ts
|
|
18159
|
+
import { AbstractApiRequest as AbstractApiRequest92 } from "@deliverart/sdk-js-core";
|
|
18110
18160
|
import { pointOfSaleIriSchema as pointOfSaleIriSchema6 } from "@deliverart/sdk-js-point-of-sale";
|
|
18111
18161
|
var createIntegrationDeliverooInputSchema = integrationDeliverooEditableFieldsSchema.extend({
|
|
18112
18162
|
pointOfSale: pointOfSaleIriSchema6
|
|
18113
18163
|
});
|
|
18114
18164
|
var createIntegrationDeliverooResponseSchema = integrationDeliverooDetailsSchema;
|
|
18115
|
-
var CreateIntegrationDeliveroo = class extends
|
|
18165
|
+
var CreateIntegrationDeliveroo = class extends AbstractApiRequest92 {
|
|
18116
18166
|
constructor(input) {
|
|
18117
18167
|
super(input);
|
|
18118
18168
|
this.method = "POST";
|
|
@@ -18128,12 +18178,33 @@ var CreateIntegrationDeliveroo = class extends AbstractApiRequest91 {
|
|
|
18128
18178
|
}
|
|
18129
18179
|
};
|
|
18130
18180
|
|
|
18181
|
+
// src/requests/services/deliveroo/CreateIntegrationDeliverooSiteDayOff.ts
|
|
18182
|
+
import { AbstractApiRequest as AbstractApiRequest93 } from "@deliverart/sdk-js-core";
|
|
18183
|
+
var createIntegrationDeliverooSiteDayOffInputSchema = integrationDeliverooSiteDayOffInputSchema;
|
|
18184
|
+
var createIntegrationDeliverooSiteDayOffResponseSchema = integrationDeliverooSiteDayOffResponseSchema;
|
|
18185
|
+
var CreateIntegrationDeliverooSiteDayOff = class extends AbstractApiRequest93 {
|
|
18186
|
+
constructor(integrationDeliverooId, input) {
|
|
18187
|
+
super(input);
|
|
18188
|
+
this.method = "POST";
|
|
18189
|
+
this.contentType = "application/json";
|
|
18190
|
+
this.accept = "application/json";
|
|
18191
|
+
this.inputSchema = createIntegrationDeliverooSiteDayOffInputSchema;
|
|
18192
|
+
this.outputSchema = createIntegrationDeliverooSiteDayOffResponseSchema;
|
|
18193
|
+
this.querySchema = void 0;
|
|
18194
|
+
this.headersSchema = void 0;
|
|
18195
|
+
this.integrationDeliverooId = integrationDeliverooId;
|
|
18196
|
+
}
|
|
18197
|
+
getPath() {
|
|
18198
|
+
return `/integrations/deliveroo/${this.integrationDeliverooId}/site/days_off`;
|
|
18199
|
+
}
|
|
18200
|
+
};
|
|
18201
|
+
|
|
18131
18202
|
// src/requests/services/deliveroo/DeleteIntegrationDeliveroo.ts
|
|
18132
|
-
import { AbstractApiRequest as
|
|
18203
|
+
import { AbstractApiRequest as AbstractApiRequest94 } from "@deliverart/sdk-js-core";
|
|
18133
18204
|
import { emptyResponseSchema as emptyResponseSchema5 } from "@deliverart/sdk-js-global-types";
|
|
18134
18205
|
var deleteIntegrationDeliverooInputSchema = external_exports.undefined();
|
|
18135
18206
|
var deleteIntegrationDeliverooResponseSchema = emptyResponseSchema5;
|
|
18136
|
-
var DeleteIntegrationDeliveroo = class extends
|
|
18207
|
+
var DeleteIntegrationDeliveroo = class extends AbstractApiRequest94 {
|
|
18137
18208
|
constructor(integrationDeliverooId) {
|
|
18138
18209
|
super(void 0);
|
|
18139
18210
|
this.method = "DELETE";
|
|
@@ -18151,10 +18222,10 @@ var DeleteIntegrationDeliveroo = class extends AbstractApiRequest92 {
|
|
|
18151
18222
|
};
|
|
18152
18223
|
|
|
18153
18224
|
// src/requests/services/deliveroo/GetIntegrationDeliverooBrands.ts
|
|
18154
|
-
import { AbstractApiRequest as
|
|
18225
|
+
import { AbstractApiRequest as AbstractApiRequest95 } from "@deliverart/sdk-js-core";
|
|
18155
18226
|
var getIntegrationDeliverooBrandsInputSchema = external_exports.undefined();
|
|
18156
18227
|
var getIntegrationDeliverooBrandsResponseSchema = integrationDeliverooDebugBrandsResponseSchema;
|
|
18157
|
-
var GetIntegrationDeliverooBrands = class extends
|
|
18228
|
+
var GetIntegrationDeliverooBrands = class extends AbstractApiRequest95 {
|
|
18158
18229
|
constructor() {
|
|
18159
18230
|
super(void 0);
|
|
18160
18231
|
this.method = "GET";
|
|
@@ -18171,10 +18242,10 @@ var GetIntegrationDeliverooBrands = class extends AbstractApiRequest93 {
|
|
|
18171
18242
|
};
|
|
18172
18243
|
|
|
18173
18244
|
// src/requests/services/deliveroo/GetIntegrationDeliverooBrandSites.ts
|
|
18174
|
-
import { AbstractApiRequest as
|
|
18245
|
+
import { AbstractApiRequest as AbstractApiRequest96 } from "@deliverart/sdk-js-core";
|
|
18175
18246
|
var getIntegrationDeliverooBrandSitesInputSchema = external_exports.undefined();
|
|
18176
18247
|
var getIntegrationDeliverooBrandSitesResponseSchema = integrationDeliverooDebugSitesResponseSchema;
|
|
18177
|
-
var GetIntegrationDeliverooBrandSites = class extends
|
|
18248
|
+
var GetIntegrationDeliverooBrandSites = class extends AbstractApiRequest96 {
|
|
18178
18249
|
constructor(brandId) {
|
|
18179
18250
|
super(void 0);
|
|
18180
18251
|
this.method = "GET";
|
|
@@ -18192,10 +18263,10 @@ var GetIntegrationDeliverooBrandSites = class extends AbstractApiRequest94 {
|
|
|
18192
18263
|
};
|
|
18193
18264
|
|
|
18194
18265
|
// src/requests/services/deliveroo/GetIntegrationDeliverooClientLogRequestDetails.ts
|
|
18195
|
-
import { AbstractApiRequest as
|
|
18266
|
+
import { AbstractApiRequest as AbstractApiRequest97 } from "@deliverart/sdk-js-core";
|
|
18196
18267
|
var getIntegrationDeliverooClientLogRequestDetailsInputSchema = external_exports.undefined();
|
|
18197
18268
|
var getIntegrationDeliverooClientLogRequestDetailsResponseSchema = integrationClientLogRequestDetailsSchema;
|
|
18198
|
-
var GetIntegrationDeliverooClientLogRequestDetails = class extends
|
|
18269
|
+
var GetIntegrationDeliverooClientLogRequestDetails = class extends AbstractApiRequest97 {
|
|
18199
18270
|
constructor(integrationDeliverooId, requestId) {
|
|
18200
18271
|
super(void 0);
|
|
18201
18272
|
this.method = "GET";
|
|
@@ -18214,14 +18285,14 @@ var GetIntegrationDeliverooClientLogRequestDetails = class extends AbstractApiRe
|
|
|
18214
18285
|
};
|
|
18215
18286
|
|
|
18216
18287
|
// src/requests/services/deliveroo/GetIntegrationDeliverooClientLogRequests.ts
|
|
18217
|
-
import { AbstractApiRequest as
|
|
18288
|
+
import { AbstractApiRequest as AbstractApiRequest98 } from "@deliverart/sdk-js-core";
|
|
18218
18289
|
import { createPaginatedSchema as createPaginatedSchema17 } from "@deliverart/sdk-js-global-types";
|
|
18219
18290
|
var getIntegrationDeliverooClientLogRequestsQuerySchema = clientLogRequestQuerySchema;
|
|
18220
18291
|
var getIntegrationDeliverooClientLogRequestsInputSchema = external_exports.undefined();
|
|
18221
18292
|
var getIntegrationDeliverooClientLogRequestsResponseSchema = createPaginatedSchema17(
|
|
18222
18293
|
integrationClientLogRequestSchema
|
|
18223
18294
|
);
|
|
18224
|
-
var GetIntegrationDeliverooClientLogRequests = class extends
|
|
18295
|
+
var GetIntegrationDeliverooClientLogRequests = class extends AbstractApiRequest98 {
|
|
18225
18296
|
constructor(integrationDeliverooId, options) {
|
|
18226
18297
|
super(void 0, options);
|
|
18227
18298
|
this.method = "GET";
|
|
@@ -18241,7 +18312,7 @@ var GetIntegrationDeliverooClientLogRequests = class extends AbstractApiRequest9
|
|
|
18241
18312
|
};
|
|
18242
18313
|
|
|
18243
18314
|
// src/requests/services/deliveroo/GetIntegrationDeliverooClientLogRequestsFromOrder.ts
|
|
18244
|
-
import { AbstractApiRequest as
|
|
18315
|
+
import { AbstractApiRequest as AbstractApiRequest99 } from "@deliverart/sdk-js-core";
|
|
18245
18316
|
var getIntegrationDeliverooClientLogRequestsFromOrderQuerySchema = clientLogRequestQuerySchema.omit({
|
|
18246
18317
|
page: true
|
|
18247
18318
|
});
|
|
@@ -18249,7 +18320,7 @@ var getIntegrationDeliverooClientLogRequestsFromOrderInputSchema = external_expo
|
|
|
18249
18320
|
var getIntegrationDeliverooClientLogRequestsFromOrderResponseSchema = external_exports.array(
|
|
18250
18321
|
integrationClientLogRequestSchema
|
|
18251
18322
|
);
|
|
18252
|
-
var GetIntegrationDeliverooClientLogRequestsFromOrder = class extends
|
|
18323
|
+
var GetIntegrationDeliverooClientLogRequestsFromOrder = class extends AbstractApiRequest99 {
|
|
18253
18324
|
constructor(orderId, options) {
|
|
18254
18325
|
super(void 0, options);
|
|
18255
18326
|
this.method = "GET";
|
|
@@ -18269,10 +18340,10 @@ var GetIntegrationDeliverooClientLogRequestsFromOrder = class extends AbstractAp
|
|
|
18269
18340
|
};
|
|
18270
18341
|
|
|
18271
18342
|
// src/requests/services/deliveroo/GetIntegrationDeliverooDetails.ts
|
|
18272
|
-
import { AbstractApiRequest as
|
|
18343
|
+
import { AbstractApiRequest as AbstractApiRequest100 } from "@deliverart/sdk-js-core";
|
|
18273
18344
|
var getIntegrationDeliverooDetailsInputSchema = external_exports.undefined();
|
|
18274
18345
|
var getIntegrationDeliverooDetailsResponseSchema = integrationDeliverooDetailsSchema;
|
|
18275
|
-
var GetIntegrationDeliverooDetails = class extends
|
|
18346
|
+
var GetIntegrationDeliverooDetails = class extends AbstractApiRequest100 {
|
|
18276
18347
|
constructor(integrationDeliverooId) {
|
|
18277
18348
|
super(void 0);
|
|
18278
18349
|
this.method = "GET";
|
|
@@ -18290,14 +18361,14 @@ var GetIntegrationDeliverooDetails = class extends AbstractApiRequest98 {
|
|
|
18290
18361
|
};
|
|
18291
18362
|
|
|
18292
18363
|
// src/requests/services/deliveroo/GetIntegrationDeliverooGlobalClientLogRequests.ts
|
|
18293
|
-
import { AbstractApiRequest as
|
|
18364
|
+
import { AbstractApiRequest as AbstractApiRequest101 } from "@deliverart/sdk-js-core";
|
|
18294
18365
|
import { createPaginatedSchema as createPaginatedSchema18 } from "@deliverart/sdk-js-global-types";
|
|
18295
18366
|
var getIntegrationDeliverooGlobalClientLogRequestsQuerySchema = clientLogRequestQuerySchema;
|
|
18296
18367
|
var getIntegrationDeliverooGlobalClientLogRequestsInputSchema = external_exports.undefined();
|
|
18297
18368
|
var getIntegrationDeliverooGlobalClientLogRequestsResponseSchema = createPaginatedSchema18(
|
|
18298
18369
|
integrationClientLogRequestSchema
|
|
18299
18370
|
);
|
|
18300
|
-
var GetIntegrationDeliverooGlobalClientLogRequests = class extends
|
|
18371
|
+
var GetIntegrationDeliverooGlobalClientLogRequests = class extends AbstractApiRequest101 {
|
|
18301
18372
|
constructor(options) {
|
|
18302
18373
|
super(void 0, options);
|
|
18303
18374
|
this.method = "GET";
|
|
@@ -18315,8 +18386,32 @@ var GetIntegrationDeliverooGlobalClientLogRequests = class extends AbstractApiRe
|
|
|
18315
18386
|
}
|
|
18316
18387
|
};
|
|
18317
18388
|
|
|
18389
|
+
// src/requests/services/deliveroo/GetIntegrationDeliverooIntegrationSiteDaysOff.ts
|
|
18390
|
+
import { AbstractApiRequest as AbstractApiRequest102 } from "@deliverart/sdk-js-core";
|
|
18391
|
+
var getIntegrationDeliverooIntegrationSiteDaysOffQuerySchema = external_exports.object({
|
|
18392
|
+
page: external_exports.coerce.number().optional()
|
|
18393
|
+
});
|
|
18394
|
+
var getIntegrationDeliverooIntegrationSiteDaysOffInputSchema = external_exports.undefined();
|
|
18395
|
+
var getIntegrationDeliverooIntegrationSiteDaysOffResponseSchema = integrationDeliverooSiteDaysOffResponseSchema;
|
|
18396
|
+
var GetIntegrationDeliverooIntegrationSiteDaysOff = class extends AbstractApiRequest102 {
|
|
18397
|
+
constructor(integrationDeliverooId, options) {
|
|
18398
|
+
super(void 0, options);
|
|
18399
|
+
this.method = "GET";
|
|
18400
|
+
this.contentType = "application/json";
|
|
18401
|
+
this.accept = "application/json";
|
|
18402
|
+
this.inputSchema = getIntegrationDeliverooIntegrationSiteDaysOffInputSchema;
|
|
18403
|
+
this.outputSchema = getIntegrationDeliverooIntegrationSiteDaysOffResponseSchema;
|
|
18404
|
+
this.querySchema = getIntegrationDeliverooIntegrationSiteDaysOffQuerySchema;
|
|
18405
|
+
this.headersSchema = void 0;
|
|
18406
|
+
this.integrationDeliverooId = integrationDeliverooId;
|
|
18407
|
+
}
|
|
18408
|
+
getPath() {
|
|
18409
|
+
return `/integrations/deliveroo/${this.integrationDeliverooId}/site/days_off`;
|
|
18410
|
+
}
|
|
18411
|
+
};
|
|
18412
|
+
|
|
18318
18413
|
// src/requests/services/deliveroo/GetIntegrationDeliverooList.ts
|
|
18319
|
-
import { AbstractApiRequest as
|
|
18414
|
+
import { AbstractApiRequest as AbstractApiRequest103 } from "@deliverart/sdk-js-core";
|
|
18320
18415
|
import { createPaginatedSchema as createPaginatedSchema19 } from "@deliverart/sdk-js-global-types";
|
|
18321
18416
|
var getIntegrationDeliverooListQuerySchema = integrationsDeliverooQuerySchema.omit({
|
|
18322
18417
|
service: true
|
|
@@ -18325,7 +18420,7 @@ var getIntegrationDeliverooListResponseSchema = createPaginatedSchema19(
|
|
|
18325
18420
|
integrationDeliverooSchema
|
|
18326
18421
|
);
|
|
18327
18422
|
var getIntegrationDeliverooListInputSchema = external_exports.undefined();
|
|
18328
|
-
var GetIntegrationDeliverooList = class extends
|
|
18423
|
+
var GetIntegrationDeliverooList = class extends AbstractApiRequest103 {
|
|
18329
18424
|
constructor(options) {
|
|
18330
18425
|
super(void 0, options);
|
|
18331
18426
|
this.method = "GET";
|
|
@@ -18344,11 +18439,11 @@ var GetIntegrationDeliverooList = class extends AbstractApiRequest100 {
|
|
|
18344
18439
|
};
|
|
18345
18440
|
|
|
18346
18441
|
// src/requests/services/deliveroo/GetIntegrationDeliverooMenuValidation.ts
|
|
18347
|
-
import { AbstractApiRequest as
|
|
18442
|
+
import { AbstractApiRequest as AbstractApiRequest104 } from "@deliverart/sdk-js-core";
|
|
18348
18443
|
import { emptyResponseSchema as emptyResponseSchema6 } from "@deliverart/sdk-js-global-types";
|
|
18349
18444
|
var getIntegrationDeliverooMenuValidationInputSchema = external_exports.undefined();
|
|
18350
18445
|
var getIntegrationDeliverooMenuValidationResponseSchema = emptyResponseSchema6;
|
|
18351
|
-
var GetIntegrationDeliverooMenuValidation = class extends
|
|
18446
|
+
var GetIntegrationDeliverooMenuValidation = class extends AbstractApiRequest104 {
|
|
18352
18447
|
constructor(integrationDeliverooId) {
|
|
18353
18448
|
super(void 0);
|
|
18354
18449
|
this.method = "GET";
|
|
@@ -18366,10 +18461,10 @@ var GetIntegrationDeliverooMenuValidation = class extends AbstractApiRequest101
|
|
|
18366
18461
|
};
|
|
18367
18462
|
|
|
18368
18463
|
// src/requests/services/deliveroo/GetIntegrationDeliverooMenuVersionDetails.ts
|
|
18369
|
-
import { AbstractApiRequest as
|
|
18464
|
+
import { AbstractApiRequest as AbstractApiRequest105 } from "@deliverart/sdk-js-core";
|
|
18370
18465
|
var getIntegrationDeliverooMenuVersionDetailsInputSchema = external_exports.undefined();
|
|
18371
18466
|
var getIntegrationDeliverooMenuVersionDetailsResponseSchema = menuVersionDetailsSchema;
|
|
18372
|
-
var GetIntegrationDeliverooMenuVersionDetails = class extends
|
|
18467
|
+
var GetIntegrationDeliverooMenuVersionDetails = class extends AbstractApiRequest105 {
|
|
18373
18468
|
constructor(integrationDeliverooId, versionId) {
|
|
18374
18469
|
super(void 0);
|
|
18375
18470
|
this.method = "GET";
|
|
@@ -18388,14 +18483,14 @@ var GetIntegrationDeliverooMenuVersionDetails = class extends AbstractApiRequest
|
|
|
18388
18483
|
};
|
|
18389
18484
|
|
|
18390
18485
|
// src/requests/services/deliveroo/GetIntegrationDeliverooMenuVersions.ts
|
|
18391
|
-
import { AbstractApiRequest as
|
|
18486
|
+
import { AbstractApiRequest as AbstractApiRequest106 } from "@deliverart/sdk-js-core";
|
|
18392
18487
|
import { createPaginatedSchema as createPaginatedSchema20 } from "@deliverart/sdk-js-global-types";
|
|
18393
18488
|
var getIntegrationDeliverooMenuVersionsQuerySchema = external_exports.object({
|
|
18394
18489
|
page: external_exports.coerce.number().optional()
|
|
18395
18490
|
});
|
|
18396
18491
|
var getIntegrationDeliverooMenuVersionsInputSchema = external_exports.undefined();
|
|
18397
18492
|
var getIntegrationDeliverooMenuVersionsResponseSchema = createPaginatedSchema20(menuVersionSchema);
|
|
18398
|
-
var GetIntegrationDeliverooMenuVersions = class extends
|
|
18493
|
+
var GetIntegrationDeliverooMenuVersions = class extends AbstractApiRequest106 {
|
|
18399
18494
|
constructor(integrationDeliverooId, options) {
|
|
18400
18495
|
super(void 0, options);
|
|
18401
18496
|
this.method = "GET";
|
|
@@ -18415,10 +18510,10 @@ var GetIntegrationDeliverooMenuVersions = class extends AbstractApiRequest103 {
|
|
|
18415
18510
|
};
|
|
18416
18511
|
|
|
18417
18512
|
// src/requests/services/deliveroo/GetIntegrationDeliverooOrderDetails.ts
|
|
18418
|
-
import { AbstractApiRequest as
|
|
18513
|
+
import { AbstractApiRequest as AbstractApiRequest107 } from "@deliverart/sdk-js-core";
|
|
18419
18514
|
var getIntegrationDeliverooOrderDetailsInputSchema = external_exports.undefined();
|
|
18420
18515
|
var getIntegrationDeliverooOrderDetailsResponseSchema = integrationDeliverooOrderDetailsSchema;
|
|
18421
|
-
var GetIntegrationDeliverooOrderDetails = class extends
|
|
18516
|
+
var GetIntegrationDeliverooOrderDetails = class extends AbstractApiRequest107 {
|
|
18422
18517
|
constructor(integrationDeliverooId, orderId) {
|
|
18423
18518
|
super(void 0);
|
|
18424
18519
|
this.method = "GET";
|
|
@@ -18437,14 +18532,14 @@ var GetIntegrationDeliverooOrderDetails = class extends AbstractApiRequest104 {
|
|
|
18437
18532
|
};
|
|
18438
18533
|
|
|
18439
18534
|
// src/requests/services/deliveroo/GetIntegrationDeliverooOrders.ts
|
|
18440
|
-
import { AbstractApiRequest as
|
|
18535
|
+
import { AbstractApiRequest as AbstractApiRequest108 } from "@deliverart/sdk-js-core";
|
|
18441
18536
|
import { createPaginatedSchema as createPaginatedSchema21 } from "@deliverart/sdk-js-global-types";
|
|
18442
18537
|
var getIntegrationDeliverooOrdersQuerySchema = integrationDeliverooOrdersQuerySchema;
|
|
18443
18538
|
var getIntegrationDeliverooOrdersInputSchema = external_exports.undefined();
|
|
18444
18539
|
var getIntegrationDeliverooOrdersResponseSchema = createPaginatedSchema21(
|
|
18445
18540
|
integrationDeliverooOrderSchema
|
|
18446
18541
|
);
|
|
18447
|
-
var GetIntegrationDeliverooOrders = class extends
|
|
18542
|
+
var GetIntegrationDeliverooOrders = class extends AbstractApiRequest108 {
|
|
18448
18543
|
constructor(integrationDeliverooId, options) {
|
|
18449
18544
|
super(void 0, options);
|
|
18450
18545
|
this.method = "GET";
|
|
@@ -18464,7 +18559,7 @@ var GetIntegrationDeliverooOrders = class extends AbstractApiRequest105 {
|
|
|
18464
18559
|
};
|
|
18465
18560
|
|
|
18466
18561
|
// src/requests/services/deliveroo/GetIntegrationDeliverooOrdersFromOrder.ts
|
|
18467
|
-
import { AbstractApiRequest as
|
|
18562
|
+
import { AbstractApiRequest as AbstractApiRequest109 } from "@deliverart/sdk-js-core";
|
|
18468
18563
|
var getIntegrationDeliverooOrdersFromOrderQuerySchema = integrationDeliverooOrdersQuerySchema.omit({
|
|
18469
18564
|
page: true
|
|
18470
18565
|
});
|
|
@@ -18472,7 +18567,7 @@ var getIntegrationDeliverooOrdersFromOrderInputSchema = external_exports.undefin
|
|
|
18472
18567
|
var getIntegrationDeliverooOrdersFromOrderResponseSchema = external_exports.array(
|
|
18473
18568
|
integrationDeliverooOrderSchema
|
|
18474
18569
|
);
|
|
18475
|
-
var GetIntegrationDeliverooOrdersFromOrder = class extends
|
|
18570
|
+
var GetIntegrationDeliverooOrdersFromOrder = class extends AbstractApiRequest109 {
|
|
18476
18571
|
constructor(orderId, options) {
|
|
18477
18572
|
super(void 0, options);
|
|
18478
18573
|
this.method = "GET";
|
|
@@ -18492,10 +18587,10 @@ var GetIntegrationDeliverooOrdersFromOrder = class extends AbstractApiRequest106
|
|
|
18492
18587
|
};
|
|
18493
18588
|
|
|
18494
18589
|
// src/requests/services/deliveroo/GetIntegrationDeliverooSiteBrandIds.ts
|
|
18495
|
-
import { AbstractApiRequest as
|
|
18590
|
+
import { AbstractApiRequest as AbstractApiRequest110 } from "@deliverart/sdk-js-core";
|
|
18496
18591
|
var getIntegrationDeliverooSiteBrandIdsInputSchema = external_exports.undefined();
|
|
18497
18592
|
var getIntegrationDeliverooSiteBrandIdsResponseSchema = integrationDeliverooDebugSiteBrandIdsResponseSchema;
|
|
18498
|
-
var GetIntegrationDeliverooSiteBrandIds = class extends
|
|
18593
|
+
var GetIntegrationDeliverooSiteBrandIds = class extends AbstractApiRequest110 {
|
|
18499
18594
|
constructor(siteId) {
|
|
18500
18595
|
super(void 0);
|
|
18501
18596
|
this.method = "GET";
|
|
@@ -18513,13 +18608,13 @@ var GetIntegrationDeliverooSiteBrandIds = class extends AbstractApiRequest107 {
|
|
|
18513
18608
|
};
|
|
18514
18609
|
|
|
18515
18610
|
// src/requests/services/deliveroo/GetIntegrationDeliverooSiteDaysOff.ts
|
|
18516
|
-
import { AbstractApiRequest as
|
|
18611
|
+
import { AbstractApiRequest as AbstractApiRequest111 } from "@deliverart/sdk-js-core";
|
|
18517
18612
|
var getIntegrationDeliverooSiteDaysOffQuerySchema = external_exports.object({
|
|
18518
18613
|
page: external_exports.coerce.number().optional()
|
|
18519
18614
|
});
|
|
18520
18615
|
var getIntegrationDeliverooSiteDaysOffInputSchema = external_exports.undefined();
|
|
18521
18616
|
var getIntegrationDeliverooSiteDaysOffResponseSchema = integrationDeliverooDebugDaysOffResponseSchema;
|
|
18522
|
-
var GetIntegrationDeliverooSiteDaysOff = class extends
|
|
18617
|
+
var GetIntegrationDeliverooSiteDaysOff = class extends AbstractApiRequest111 {
|
|
18523
18618
|
constructor(brandId, siteId, options) {
|
|
18524
18619
|
super(void 0, options);
|
|
18525
18620
|
this.method = "GET";
|
|
@@ -18538,10 +18633,10 @@ var GetIntegrationDeliverooSiteDaysOff = class extends AbstractApiRequest108 {
|
|
|
18538
18633
|
};
|
|
18539
18634
|
|
|
18540
18635
|
// src/requests/services/deliveroo/GetIntegrationDeliverooSyncMenuProcessDetails.ts
|
|
18541
|
-
import { AbstractApiRequest as
|
|
18636
|
+
import { AbstractApiRequest as AbstractApiRequest112 } from "@deliverart/sdk-js-core";
|
|
18542
18637
|
var getIntegrationDeliverooSyncMenuProcessDetailsInputSchema = external_exports.undefined();
|
|
18543
18638
|
var getIntegrationDeliverooSyncMenuProcessDetailsResponseSchema = integrationDeliverooSyncMenuProcessDetailsSchema;
|
|
18544
|
-
var GetIntegrationDeliverooSyncMenuProcessDetails = class extends
|
|
18639
|
+
var GetIntegrationDeliverooSyncMenuProcessDetails = class extends AbstractApiRequest112 {
|
|
18545
18640
|
constructor(integrationDeliverooId, processId) {
|
|
18546
18641
|
super(void 0);
|
|
18547
18642
|
this.method = "GET";
|
|
@@ -18560,14 +18655,14 @@ var GetIntegrationDeliverooSyncMenuProcessDetails = class extends AbstractApiReq
|
|
|
18560
18655
|
};
|
|
18561
18656
|
|
|
18562
18657
|
// src/requests/services/deliveroo/GetIntegrationDeliverooSyncMenuProcesses.ts
|
|
18563
|
-
import { AbstractApiRequest as
|
|
18658
|
+
import { AbstractApiRequest as AbstractApiRequest113 } from "@deliverart/sdk-js-core";
|
|
18564
18659
|
import { createPaginatedSchema as createPaginatedSchema22 } from "@deliverart/sdk-js-global-types";
|
|
18565
18660
|
var getIntegrationDeliverooSyncMenuProcessesQuerySchema = integrationDeliverooSyncMenuProcessesQuerySchema;
|
|
18566
18661
|
var getIntegrationDeliverooSyncMenuProcessesInputSchema = external_exports.undefined();
|
|
18567
18662
|
var getIntegrationDeliverooSyncMenuProcessesResponseSchema = createPaginatedSchema22(
|
|
18568
18663
|
integrationDeliverooSyncMenuProcessSchema
|
|
18569
18664
|
);
|
|
18570
|
-
var GetIntegrationDeliverooSyncMenuProcesses = class extends
|
|
18665
|
+
var GetIntegrationDeliverooSyncMenuProcesses = class extends AbstractApiRequest113 {
|
|
18571
18666
|
constructor(integrationDeliverooId, options) {
|
|
18572
18667
|
super(void 0, options);
|
|
18573
18668
|
this.method = "GET";
|
|
@@ -18587,10 +18682,10 @@ var GetIntegrationDeliverooSyncMenuProcesses = class extends AbstractApiRequest1
|
|
|
18587
18682
|
};
|
|
18588
18683
|
|
|
18589
18684
|
// src/requests/services/deliveroo/GetIntegrationDeliverooWebhookEventDetails.ts
|
|
18590
|
-
import { AbstractApiRequest as
|
|
18685
|
+
import { AbstractApiRequest as AbstractApiRequest114 } from "@deliverart/sdk-js-core";
|
|
18591
18686
|
var getIntegrationDeliverooWebhookEventDetailsInputSchema = external_exports.undefined();
|
|
18592
18687
|
var getIntegrationDeliverooWebhookEventDetailsResponseSchema = integrationDeliverooWebhookEventDetailsSchema;
|
|
18593
|
-
var GetIntegrationDeliverooWebhookEventDetails = class extends
|
|
18688
|
+
var GetIntegrationDeliverooWebhookEventDetails = class extends AbstractApiRequest114 {
|
|
18594
18689
|
constructor(integrationDeliverooId, eventId) {
|
|
18595
18690
|
super(void 0);
|
|
18596
18691
|
this.method = "GET";
|
|
@@ -18609,14 +18704,14 @@ var GetIntegrationDeliverooWebhookEventDetails = class extends AbstractApiReques
|
|
|
18609
18704
|
};
|
|
18610
18705
|
|
|
18611
18706
|
// src/requests/services/deliveroo/GetIntegrationDeliverooWebhookEvents.ts
|
|
18612
|
-
import { AbstractApiRequest as
|
|
18707
|
+
import { AbstractApiRequest as AbstractApiRequest115 } from "@deliverart/sdk-js-core";
|
|
18613
18708
|
import { createPaginatedSchema as createPaginatedSchema23 } from "@deliverart/sdk-js-global-types";
|
|
18614
18709
|
var getIntegrationDeliverooWebhookEventsQuerySchema = integrationDeliverooWebhookEventsQueryParamsSchema;
|
|
18615
18710
|
var getIntegrationDeliverooWebhookEventsInputSchema = external_exports.undefined();
|
|
18616
18711
|
var getIntegrationDeliverooWebhookEventsResponseSchema = createPaginatedSchema23(
|
|
18617
18712
|
integrationDeliverooWebhookEventSchema
|
|
18618
18713
|
);
|
|
18619
|
-
var GetIntegrationDeliverooWebhookEvents = class extends
|
|
18714
|
+
var GetIntegrationDeliverooWebhookEvents = class extends AbstractApiRequest115 {
|
|
18620
18715
|
constructor(integrationDeliverooId, options) {
|
|
18621
18716
|
super(void 0, options);
|
|
18622
18717
|
this.method = "GET";
|
|
@@ -18636,7 +18731,7 @@ var GetIntegrationDeliverooWebhookEvents = class extends AbstractApiRequest112 {
|
|
|
18636
18731
|
};
|
|
18637
18732
|
|
|
18638
18733
|
// src/requests/services/deliveroo/GetIntegrationDeliverooWebhookEventsFromOrder.ts
|
|
18639
|
-
import { AbstractApiRequest as
|
|
18734
|
+
import { AbstractApiRequest as AbstractApiRequest116 } from "@deliverart/sdk-js-core";
|
|
18640
18735
|
var getIntegrationDeliverooWebhookEventsFromOrderQuerySchema = integrationDeliverooWebhookEventsQueryParamsSchema.omit({
|
|
18641
18736
|
page: true
|
|
18642
18737
|
});
|
|
@@ -18644,7 +18739,7 @@ var getIntegrationDeliverooWebhookEventsFromOrderInputSchema = external_exports.
|
|
|
18644
18739
|
var getIntegrationDeliverooWebhookEventsFromOrderResponseSchema = external_exports.array(
|
|
18645
18740
|
integrationDeliverooWebhookEventSchema
|
|
18646
18741
|
);
|
|
18647
|
-
var GetIntegrationDeliverooWebhookEventsFromOrder = class extends
|
|
18742
|
+
var GetIntegrationDeliverooWebhookEventsFromOrder = class extends AbstractApiRequest116 {
|
|
18648
18743
|
constructor(orderId, options) {
|
|
18649
18744
|
super(void 0, options);
|
|
18650
18745
|
this.method = "GET";
|
|
@@ -18664,12 +18759,12 @@ var GetIntegrationDeliverooWebhookEventsFromOrder = class extends AbstractApiReq
|
|
|
18664
18759
|
};
|
|
18665
18760
|
|
|
18666
18761
|
// src/requests/services/deliveroo/IntegrationDeliverooSyncMenu.ts
|
|
18667
|
-
import { AbstractApiRequest as
|
|
18762
|
+
import { AbstractApiRequest as AbstractApiRequest117 } from "@deliverart/sdk-js-core";
|
|
18668
18763
|
var integrationDeliverooSyncMenuInputSchema = external_exports.undefined();
|
|
18669
18764
|
var integrationDeliverooSyncMenuResponseSchema = external_exports.object({
|
|
18670
18765
|
message: external_exports.string()
|
|
18671
18766
|
});
|
|
18672
|
-
var IntegrationDeliverooSyncMenu = class extends
|
|
18767
|
+
var IntegrationDeliverooSyncMenu = class extends AbstractApiRequest117 {
|
|
18673
18768
|
constructor(integrationDeliverooId) {
|
|
18674
18769
|
super(void 0);
|
|
18675
18770
|
this.method = "POST";
|
|
@@ -18687,12 +18782,12 @@ var IntegrationDeliverooSyncMenu = class extends AbstractApiRequest114 {
|
|
|
18687
18782
|
};
|
|
18688
18783
|
|
|
18689
18784
|
// src/requests/services/deliveroo/IntegrationDeliverooSyncOpeningHours.ts
|
|
18690
|
-
import { AbstractApiRequest as
|
|
18785
|
+
import { AbstractApiRequest as AbstractApiRequest118 } from "@deliverart/sdk-js-core";
|
|
18691
18786
|
var integrationDeliverooSyncOpeningHoursInputSchema = external_exports.undefined();
|
|
18692
18787
|
var integrationDeliverooSyncOpeningHoursResponseSchema = external_exports.object({
|
|
18693
18788
|
message: external_exports.string()
|
|
18694
18789
|
});
|
|
18695
|
-
var IntegrationDeliverooSyncOpeningHours = class extends
|
|
18790
|
+
var IntegrationDeliverooSyncOpeningHours = class extends AbstractApiRequest118 {
|
|
18696
18791
|
constructor(integrationDeliverooId) {
|
|
18697
18792
|
super(void 0);
|
|
18698
18793
|
this.method = "POST";
|
|
@@ -18710,10 +18805,10 @@ var IntegrationDeliverooSyncOpeningHours = class extends AbstractApiRequest115 {
|
|
|
18710
18805
|
};
|
|
18711
18806
|
|
|
18712
18807
|
// src/requests/services/deliveroo/UpdateIntegrationDeliveroo.ts
|
|
18713
|
-
import { AbstractApiRequest as
|
|
18808
|
+
import { AbstractApiRequest as AbstractApiRequest119 } from "@deliverart/sdk-js-core";
|
|
18714
18809
|
var updateIntegrationDeliverooInputSchema = integrationDeliverooEditableFieldsSchema.partial();
|
|
18715
18810
|
var updateIntegrationDeliverooResponseSchema = integrationDeliverooDetailsSchema;
|
|
18716
|
-
var UpdateIntegrationDeliveroo = class extends
|
|
18811
|
+
var UpdateIntegrationDeliveroo = class extends AbstractApiRequest119 {
|
|
18717
18812
|
constructor(integrationDeliverooId, input) {
|
|
18718
18813
|
super(input);
|
|
18719
18814
|
this.method = "PATCH";
|
|
@@ -18730,14 +18825,36 @@ var UpdateIntegrationDeliveroo = class extends AbstractApiRequest116 {
|
|
|
18730
18825
|
}
|
|
18731
18826
|
};
|
|
18732
18827
|
|
|
18828
|
+
// src/requests/services/deliveroo/UpdateIntegrationDeliverooSiteDayOff.ts
|
|
18829
|
+
import { AbstractApiRequest as AbstractApiRequest120 } from "@deliverart/sdk-js-core";
|
|
18830
|
+
var updateIntegrationDeliverooSiteDayOffInputSchema = integrationDeliverooSiteDayOffInputSchema;
|
|
18831
|
+
var updateIntegrationDeliverooSiteDayOffResponseSchema = integrationDeliverooSiteDayOffResponseSchema;
|
|
18832
|
+
var UpdateIntegrationDeliverooSiteDayOff = class extends AbstractApiRequest120 {
|
|
18833
|
+
constructor(integrationDeliverooId, dayOffId, input) {
|
|
18834
|
+
super(input);
|
|
18835
|
+
this.method = "PUT";
|
|
18836
|
+
this.contentType = "application/json";
|
|
18837
|
+
this.accept = "application/json";
|
|
18838
|
+
this.inputSchema = updateIntegrationDeliverooSiteDayOffInputSchema;
|
|
18839
|
+
this.outputSchema = updateIntegrationDeliverooSiteDayOffResponseSchema;
|
|
18840
|
+
this.querySchema = void 0;
|
|
18841
|
+
this.headersSchema = void 0;
|
|
18842
|
+
this.integrationDeliverooId = integrationDeliverooId;
|
|
18843
|
+
this.dayOffId = dayOffId;
|
|
18844
|
+
}
|
|
18845
|
+
getPath() {
|
|
18846
|
+
return `/integrations/deliveroo/${this.integrationDeliverooId}/site/days_off/${this.dayOffId}`;
|
|
18847
|
+
}
|
|
18848
|
+
};
|
|
18849
|
+
|
|
18733
18850
|
// src/requests/services/deliveroo/UpdateIntegrationDeliverooSiteStatus.ts
|
|
18734
|
-
import { AbstractApiRequest as
|
|
18851
|
+
import { AbstractApiRequest as AbstractApiRequest121 } from "@deliverart/sdk-js-core";
|
|
18735
18852
|
import { emptyResponseSchema as emptyResponseSchema7 } from "@deliverart/sdk-js-global-types";
|
|
18736
18853
|
var updateIntegrationDeliverooSiteStatusInputSchema = external_exports.object({
|
|
18737
18854
|
status: integrationDeliverooSiteStatusSchema
|
|
18738
18855
|
});
|
|
18739
18856
|
var updateIntegrationDeliverooSiteStatusResponseSchema = emptyResponseSchema7;
|
|
18740
|
-
var UpdateIntegrationDeliverooSiteStatus = class extends
|
|
18857
|
+
var UpdateIntegrationDeliverooSiteStatus = class extends AbstractApiRequest121 {
|
|
18741
18858
|
constructor(integrationDeliverooId, input) {
|
|
18742
18859
|
super(input);
|
|
18743
18860
|
this.method = "POST";
|
|
@@ -18755,7 +18872,7 @@ var UpdateIntegrationDeliverooSiteStatus = class extends AbstractApiRequest117 {
|
|
|
18755
18872
|
};
|
|
18756
18873
|
|
|
18757
18874
|
// src/requests/services/ecommerce/CreateIntegrationEcommerce.ts
|
|
18758
|
-
import { AbstractApiRequest as
|
|
18875
|
+
import { AbstractApiRequest as AbstractApiRequest122 } from "@deliverart/sdk-js-core";
|
|
18759
18876
|
import { pointOfSaleIriSchema as pointOfSaleIriSchema7 } from "@deliverart/sdk-js-point-of-sale";
|
|
18760
18877
|
var createIntegrationEcommerceInputSchema = integrationEcommerceEditableFieldsSchema.extend(
|
|
18761
18878
|
{
|
|
@@ -18763,7 +18880,7 @@ var createIntegrationEcommerceInputSchema = integrationEcommerceEditableFieldsSc
|
|
|
18763
18880
|
}
|
|
18764
18881
|
);
|
|
18765
18882
|
var createIntegrationEcommerceResponseSchema = integrationEcommerceDetailsSchema;
|
|
18766
|
-
var CreateIntegrationEcommerce = class extends
|
|
18883
|
+
var CreateIntegrationEcommerce = class extends AbstractApiRequest122 {
|
|
18767
18884
|
constructor(input) {
|
|
18768
18885
|
super(input);
|
|
18769
18886
|
this.method = "POST";
|
|
@@ -18780,11 +18897,11 @@ var CreateIntegrationEcommerce = class extends AbstractApiRequest118 {
|
|
|
18780
18897
|
};
|
|
18781
18898
|
|
|
18782
18899
|
// src/requests/services/ecommerce/DeleteIntegrationEcommerce.ts
|
|
18783
|
-
import { AbstractApiRequest as
|
|
18900
|
+
import { AbstractApiRequest as AbstractApiRequest123 } from "@deliverart/sdk-js-core";
|
|
18784
18901
|
import { emptyResponseSchema as emptyResponseSchema8 } from "@deliverart/sdk-js-global-types";
|
|
18785
18902
|
var deleteIntegrationEcommerceInputSchema = external_exports.undefined();
|
|
18786
18903
|
var deleteIntegrationEcommerceResponseSchema = emptyResponseSchema8;
|
|
18787
|
-
var DeleteIntegrationEcommerce = class extends
|
|
18904
|
+
var DeleteIntegrationEcommerce = class extends AbstractApiRequest123 {
|
|
18788
18905
|
constructor(integrationEcommerceId) {
|
|
18789
18906
|
super(void 0);
|
|
18790
18907
|
this.method = "DELETE";
|
|
@@ -18802,10 +18919,10 @@ var DeleteIntegrationEcommerce = class extends AbstractApiRequest119 {
|
|
|
18802
18919
|
};
|
|
18803
18920
|
|
|
18804
18921
|
// src/requests/services/ecommerce/GetIntegrationEcommerceDetails.ts
|
|
18805
|
-
import { AbstractApiRequest as
|
|
18922
|
+
import { AbstractApiRequest as AbstractApiRequest124 } from "@deliverart/sdk-js-core";
|
|
18806
18923
|
var getIntegrationEcommerceDetailsInputSchema = external_exports.undefined();
|
|
18807
18924
|
var getIntegrationEcommerceDetailsResponseSchema = integrationEcommerceDetailsSchema;
|
|
18808
|
-
var GetIntegrationEcommerceDetails = class extends
|
|
18925
|
+
var GetIntegrationEcommerceDetails = class extends AbstractApiRequest124 {
|
|
18809
18926
|
constructor(integrationEcommerceId) {
|
|
18810
18927
|
super(void 0);
|
|
18811
18928
|
this.method = "GET";
|
|
@@ -18823,10 +18940,10 @@ var GetIntegrationEcommerceDetails = class extends AbstractApiRequest120 {
|
|
|
18823
18940
|
};
|
|
18824
18941
|
|
|
18825
18942
|
// src/requests/services/ecommerce/GetIntegrationEcommerceInfo.ts
|
|
18826
|
-
import { AbstractApiRequest as
|
|
18943
|
+
import { AbstractApiRequest as AbstractApiRequest125 } from "@deliverart/sdk-js-core";
|
|
18827
18944
|
var getIntegrationEcommerceInfoInputSchema = external_exports.undefined();
|
|
18828
18945
|
var getIntegrationEcommerceInfoResponseSchema = integrationEcommerceInfoSchema;
|
|
18829
|
-
var GetIntegrationEcommerceInfo = class extends
|
|
18946
|
+
var GetIntegrationEcommerceInfo = class extends AbstractApiRequest125 {
|
|
18830
18947
|
constructor(path) {
|
|
18831
18948
|
super(void 0);
|
|
18832
18949
|
this.method = "GET";
|
|
@@ -18844,7 +18961,7 @@ var GetIntegrationEcommerceInfo = class extends AbstractApiRequest121 {
|
|
|
18844
18961
|
};
|
|
18845
18962
|
|
|
18846
18963
|
// src/requests/services/ecommerce/GetIntegrationEcommerceList.ts
|
|
18847
|
-
import { AbstractApiRequest as
|
|
18964
|
+
import { AbstractApiRequest as AbstractApiRequest126 } from "@deliverart/sdk-js-core";
|
|
18848
18965
|
import { createPaginatedSchema as createPaginatedSchema24 } from "@deliverart/sdk-js-global-types";
|
|
18849
18966
|
var getIntegrationEcommerceListQuerySchema = integrationsEcommerceQuerySchema.omit({
|
|
18850
18967
|
service: true
|
|
@@ -18853,7 +18970,7 @@ var getIntegrationEcommerceListInputSchema = external_exports.undefined();
|
|
|
18853
18970
|
var getIntegrationEcommerceListResponseSchema = createPaginatedSchema24(
|
|
18854
18971
|
integrationEcommerceSchema
|
|
18855
18972
|
);
|
|
18856
|
-
var GetIntegrationEcommerceList = class extends
|
|
18973
|
+
var GetIntegrationEcommerceList = class extends AbstractApiRequest126 {
|
|
18857
18974
|
constructor(options) {
|
|
18858
18975
|
super(void 0, options);
|
|
18859
18976
|
this.method = "GET";
|
|
@@ -18872,10 +18989,10 @@ var GetIntegrationEcommerceList = class extends AbstractApiRequest122 {
|
|
|
18872
18989
|
};
|
|
18873
18990
|
|
|
18874
18991
|
// src/requests/services/ecommerce/UpdateIntegrationEcommerce.ts
|
|
18875
|
-
import { AbstractApiRequest as
|
|
18992
|
+
import { AbstractApiRequest as AbstractApiRequest127 } from "@deliverart/sdk-js-core";
|
|
18876
18993
|
var updateIntegrationEcommerceInputSchema = integrationEcommerceEditableFieldsSchema.partial();
|
|
18877
18994
|
var updateIntegrationEcommerceResponseSchema = integrationEcommerceDetailsSchema;
|
|
18878
|
-
var UpdateIntegrationEcommerce = class extends
|
|
18995
|
+
var UpdateIntegrationEcommerce = class extends AbstractApiRequest127 {
|
|
18879
18996
|
constructor(integrationEcommerceId, input) {
|
|
18880
18997
|
super(input);
|
|
18881
18998
|
this.method = "PATCH";
|
|
@@ -18893,13 +19010,13 @@ var UpdateIntegrationEcommerce = class extends AbstractApiRequest123 {
|
|
|
18893
19010
|
};
|
|
18894
19011
|
|
|
18895
19012
|
// src/requests/services/glovo/CreateIntegrationGlovo.ts
|
|
18896
|
-
import { AbstractApiRequest as
|
|
19013
|
+
import { AbstractApiRequest as AbstractApiRequest128 } from "@deliverart/sdk-js-core";
|
|
18897
19014
|
import { pointOfSaleIriSchema as pointOfSaleIriSchema8 } from "@deliverart/sdk-js-point-of-sale";
|
|
18898
19015
|
var createIntegrationGlovoInputSchema = integrationGlovoEditableFieldsSchema.extend({
|
|
18899
19016
|
pointOfSale: pointOfSaleIriSchema8
|
|
18900
19017
|
});
|
|
18901
19018
|
var createIntegrationGlovoResponseSchema = integrationGlovoDetailsSchema;
|
|
18902
|
-
var CreateIntegrationGlovo = class extends
|
|
19019
|
+
var CreateIntegrationGlovo = class extends AbstractApiRequest128 {
|
|
18903
19020
|
constructor(input) {
|
|
18904
19021
|
super(input);
|
|
18905
19022
|
this.method = "POST";
|
|
@@ -18916,11 +19033,11 @@ var CreateIntegrationGlovo = class extends AbstractApiRequest124 {
|
|
|
18916
19033
|
};
|
|
18917
19034
|
|
|
18918
19035
|
// src/requests/services/glovo/DeleteIntegrationGlovo.ts
|
|
18919
|
-
import { AbstractApiRequest as
|
|
19036
|
+
import { AbstractApiRequest as AbstractApiRequest129 } from "@deliverart/sdk-js-core";
|
|
18920
19037
|
import { emptyResponseSchema as emptyResponseSchema9 } from "@deliverart/sdk-js-global-types";
|
|
18921
19038
|
var deleteIntegrationGlovoInputSchema = external_exports.undefined();
|
|
18922
19039
|
var deleteIntegrationGlovoResponseSchema = emptyResponseSchema9;
|
|
18923
|
-
var DeleteIntegrationGlovo = class extends
|
|
19040
|
+
var DeleteIntegrationGlovo = class extends AbstractApiRequest129 {
|
|
18924
19041
|
constructor(integrationGlovoId) {
|
|
18925
19042
|
super(void 0);
|
|
18926
19043
|
this.method = "DELETE";
|
|
@@ -18938,10 +19055,10 @@ var DeleteIntegrationGlovo = class extends AbstractApiRequest125 {
|
|
|
18938
19055
|
};
|
|
18939
19056
|
|
|
18940
19057
|
// src/requests/services/glovo/GetIntegrationGlovoBulkUpdateDetails.ts
|
|
18941
|
-
import { AbstractApiRequest as
|
|
19058
|
+
import { AbstractApiRequest as AbstractApiRequest130 } from "@deliverart/sdk-js-core";
|
|
18942
19059
|
var getIntegrationGlovoBulkUpdateDetailsInputSchema = external_exports.undefined();
|
|
18943
19060
|
var getIntegrationGlovoBulkUpdateDetailsResponseSchema = integrationGlovoBulkUpdateDetailsSchema;
|
|
18944
|
-
var GetIntegrationGlovoBulkUpdateDetails = class extends
|
|
19061
|
+
var GetIntegrationGlovoBulkUpdateDetails = class extends AbstractApiRequest130 {
|
|
18945
19062
|
constructor(integrationGlovoId, bulkUpdateId) {
|
|
18946
19063
|
super(void 0);
|
|
18947
19064
|
this.method = "GET";
|
|
@@ -18960,14 +19077,14 @@ var GetIntegrationGlovoBulkUpdateDetails = class extends AbstractApiRequest126 {
|
|
|
18960
19077
|
};
|
|
18961
19078
|
|
|
18962
19079
|
// src/requests/services/glovo/GetIntegrationGlovoBulkUpdates.ts
|
|
18963
|
-
import { AbstractApiRequest as
|
|
19080
|
+
import { AbstractApiRequest as AbstractApiRequest131 } from "@deliverart/sdk-js-core";
|
|
18964
19081
|
import { createPaginatedSchema as createPaginatedSchema25 } from "@deliverart/sdk-js-global-types";
|
|
18965
19082
|
var getIntegrationGlovoBulkUpdatesQuerySchema = integrationGlovoBulkUpdatesQuerySchema;
|
|
18966
19083
|
var getIntegrationGlovoBulkUpdatesInputSchema = external_exports.undefined();
|
|
18967
19084
|
var getIntegrationGlovoBulkUpdatesResponseSchema = createPaginatedSchema25(
|
|
18968
19085
|
integrationGlovoBulkUpdateSchema
|
|
18969
19086
|
);
|
|
18970
|
-
var GetIntegrationGlovoBulkUpdates = class extends
|
|
19087
|
+
var GetIntegrationGlovoBulkUpdates = class extends AbstractApiRequest131 {
|
|
18971
19088
|
constructor(integrationGlovoId, options) {
|
|
18972
19089
|
super(void 0, options);
|
|
18973
19090
|
this.method = "GET";
|
|
@@ -18987,10 +19104,10 @@ var GetIntegrationGlovoBulkUpdates = class extends AbstractApiRequest127 {
|
|
|
18987
19104
|
};
|
|
18988
19105
|
|
|
18989
19106
|
// src/requests/services/glovo/GetIntegrationGlovoClientLogRequestDetails.ts
|
|
18990
|
-
import { AbstractApiRequest as
|
|
19107
|
+
import { AbstractApiRequest as AbstractApiRequest132 } from "@deliverart/sdk-js-core";
|
|
18991
19108
|
var getIntegrationGlovoClientLogRequestDetailsInputSchema = external_exports.undefined();
|
|
18992
19109
|
var getIntegrationGlovoClientLogRequestDetailsResponseSchema = integrationClientLogRequestDetailsSchema;
|
|
18993
|
-
var GetIntegrationGlovoClientLogRequestDetails = class extends
|
|
19110
|
+
var GetIntegrationGlovoClientLogRequestDetails = class extends AbstractApiRequest132 {
|
|
18994
19111
|
constructor(integrationGlovoId, requestId) {
|
|
18995
19112
|
super(void 0);
|
|
18996
19113
|
this.method = "GET";
|
|
@@ -19009,14 +19126,14 @@ var GetIntegrationGlovoClientLogRequestDetails = class extends AbstractApiReques
|
|
|
19009
19126
|
};
|
|
19010
19127
|
|
|
19011
19128
|
// src/requests/services/glovo/GetIntegrationGlovoClientLogRequests.ts
|
|
19012
|
-
import { AbstractApiRequest as
|
|
19129
|
+
import { AbstractApiRequest as AbstractApiRequest133 } from "@deliverart/sdk-js-core";
|
|
19013
19130
|
import { createPaginatedSchema as createPaginatedSchema26 } from "@deliverart/sdk-js-global-types";
|
|
19014
19131
|
var getIntegrationGlovoClientLogRequestsQuerySchema = clientLogRequestQuerySchema;
|
|
19015
19132
|
var getIntegrationGlovoClientLogRequestsInputSchema = external_exports.undefined();
|
|
19016
19133
|
var getIntegrationGlovoClientLogRequestsResponseSchema = createPaginatedSchema26(
|
|
19017
19134
|
integrationClientLogRequestSchema
|
|
19018
19135
|
);
|
|
19019
|
-
var GetIntegrationGlovoClientLogRequests = class extends
|
|
19136
|
+
var GetIntegrationGlovoClientLogRequests = class extends AbstractApiRequest133 {
|
|
19020
19137
|
constructor(integrationGlovoId, options) {
|
|
19021
19138
|
super(void 0, options);
|
|
19022
19139
|
this.method = "GET";
|
|
@@ -19036,7 +19153,7 @@ var GetIntegrationGlovoClientLogRequests = class extends AbstractApiRequest129 {
|
|
|
19036
19153
|
};
|
|
19037
19154
|
|
|
19038
19155
|
// src/requests/services/glovo/GetIntegrationGlovoClientLogRequestsFromOrder.ts
|
|
19039
|
-
import { AbstractApiRequest as
|
|
19156
|
+
import { AbstractApiRequest as AbstractApiRequest134 } from "@deliverart/sdk-js-core";
|
|
19040
19157
|
var getIntegrationGlovoClientLogRequestsFromOrderQuerySchema = clientLogRequestQuerySchema.omit(
|
|
19041
19158
|
{
|
|
19042
19159
|
page: true
|
|
@@ -19046,7 +19163,7 @@ var getIntegrationGlovoClientLogRequestsFromOrderInputSchema = external_exports.
|
|
|
19046
19163
|
var getIntegrationGlovoClientLogRequestsFromOrderResponseSchema = external_exports.array(
|
|
19047
19164
|
integrationClientLogRequestSchema
|
|
19048
19165
|
);
|
|
19049
|
-
var GetIntegrationGlovoClientLogRequestsFromOrder = class extends
|
|
19166
|
+
var GetIntegrationGlovoClientLogRequestsFromOrder = class extends AbstractApiRequest134 {
|
|
19050
19167
|
constructor(orderId, options) {
|
|
19051
19168
|
super(void 0, options);
|
|
19052
19169
|
this.method = "GET";
|
|
@@ -19066,10 +19183,10 @@ var GetIntegrationGlovoClientLogRequestsFromOrder = class extends AbstractApiReq
|
|
|
19066
19183
|
};
|
|
19067
19184
|
|
|
19068
19185
|
// src/requests/services/glovo/GetIntegrationGlovoDetails.ts
|
|
19069
|
-
import { AbstractApiRequest as
|
|
19186
|
+
import { AbstractApiRequest as AbstractApiRequest135 } from "@deliverart/sdk-js-core";
|
|
19070
19187
|
var getIntegrationGlovoDetailsInputSchema = external_exports.undefined();
|
|
19071
19188
|
var getIntegrationGlovoDetailsResponseSchema = integrationGlovoDetailsSchema;
|
|
19072
|
-
var GetIntegrationGlovoDetails = class extends
|
|
19189
|
+
var GetIntegrationGlovoDetails = class extends AbstractApiRequest135 {
|
|
19073
19190
|
constructor(integrationGlovoId) {
|
|
19074
19191
|
super(void 0);
|
|
19075
19192
|
this.method = "GET";
|
|
@@ -19087,14 +19204,14 @@ var GetIntegrationGlovoDetails = class extends AbstractApiRequest131 {
|
|
|
19087
19204
|
};
|
|
19088
19205
|
|
|
19089
19206
|
// src/requests/services/glovo/GetIntegrationGlovoGlobalClientLogRequests.ts
|
|
19090
|
-
import { AbstractApiRequest as
|
|
19207
|
+
import { AbstractApiRequest as AbstractApiRequest136 } from "@deliverart/sdk-js-core";
|
|
19091
19208
|
import { createPaginatedSchema as createPaginatedSchema27 } from "@deliverart/sdk-js-global-types";
|
|
19092
19209
|
var getIntegrationGlovoGlobalClientLogRequestsQuerySchema = clientLogRequestQuerySchema;
|
|
19093
19210
|
var getIntegrationGlovoGlobalClientLogRequestsInputSchema = external_exports.undefined();
|
|
19094
19211
|
var getIntegrationGlovoGlobalClientLogRequestsResponseSchema = createPaginatedSchema27(
|
|
19095
19212
|
integrationClientLogRequestSchema
|
|
19096
19213
|
);
|
|
19097
|
-
var GetIntegrationGlovoGlobalClientLogRequests = class extends
|
|
19214
|
+
var GetIntegrationGlovoGlobalClientLogRequests = class extends AbstractApiRequest136 {
|
|
19098
19215
|
constructor(options) {
|
|
19099
19216
|
super(void 0, options);
|
|
19100
19217
|
this.method = "GET";
|
|
@@ -19113,14 +19230,14 @@ var GetIntegrationGlovoGlobalClientLogRequests = class extends AbstractApiReques
|
|
|
19113
19230
|
};
|
|
19114
19231
|
|
|
19115
19232
|
// src/requests/services/glovo/GetIntegrationGlovoList.ts
|
|
19116
|
-
import { AbstractApiRequest as
|
|
19233
|
+
import { AbstractApiRequest as AbstractApiRequest137 } from "@deliverart/sdk-js-core";
|
|
19117
19234
|
import { createPaginatedSchema as createPaginatedSchema28 } from "@deliverart/sdk-js-global-types";
|
|
19118
19235
|
var getIntegrationGlovoListQuerySchema = integrationsGlovoQuerySchema.omit({
|
|
19119
19236
|
service: true
|
|
19120
19237
|
});
|
|
19121
19238
|
var getIntegrationGlovoListInputSchema = external_exports.undefined();
|
|
19122
19239
|
var getIntegrationGlovoListResponseSchema = createPaginatedSchema28(integrationGlovoSchema);
|
|
19123
|
-
var GetIntegrationGlovoList = class extends
|
|
19240
|
+
var GetIntegrationGlovoList = class extends AbstractApiRequest137 {
|
|
19124
19241
|
constructor(options) {
|
|
19125
19242
|
super(void 0, options);
|
|
19126
19243
|
this.method = "GET";
|
|
@@ -19139,10 +19256,10 @@ var GetIntegrationGlovoList = class extends AbstractApiRequest133 {
|
|
|
19139
19256
|
};
|
|
19140
19257
|
|
|
19141
19258
|
// src/requests/services/glovo/GetIntegrationGlovoMenuItemDeltaDetails.ts
|
|
19142
|
-
import { AbstractApiRequest as
|
|
19259
|
+
import { AbstractApiRequest as AbstractApiRequest138 } from "@deliverart/sdk-js-core";
|
|
19143
19260
|
var getIntegrationGlovoMenuItemDeltaDetailsInputSchema = external_exports.undefined();
|
|
19144
19261
|
var getIntegrationGlovoMenuItemDeltaDetailsResponseSchema = integrationGlovoMenuItemDeltaDetailsSchema;
|
|
19145
|
-
var GetIntegrationGlovoMenuItemDeltaDetails = class extends
|
|
19262
|
+
var GetIntegrationGlovoMenuItemDeltaDetails = class extends AbstractApiRequest138 {
|
|
19146
19263
|
constructor(integrationGlovoId, deltaId) {
|
|
19147
19264
|
super(void 0);
|
|
19148
19265
|
this.method = "GET";
|
|
@@ -19161,14 +19278,14 @@ var GetIntegrationGlovoMenuItemDeltaDetails = class extends AbstractApiRequest13
|
|
|
19161
19278
|
};
|
|
19162
19279
|
|
|
19163
19280
|
// src/requests/services/glovo/GetIntegrationGlovoMenuItemDeltas.ts
|
|
19164
|
-
import { AbstractApiRequest as
|
|
19281
|
+
import { AbstractApiRequest as AbstractApiRequest139 } from "@deliverart/sdk-js-core";
|
|
19165
19282
|
import { createPaginatedSchema as createPaginatedSchema29 } from "@deliverart/sdk-js-global-types";
|
|
19166
19283
|
var getIntegrationGlovoMenuItemDeltasQuerySchema = integrationGlovoMenuItemDeltasQuerySchema;
|
|
19167
19284
|
var getIntegrationGlovoMenuItemDeltasInputSchema = external_exports.undefined();
|
|
19168
19285
|
var getIntegrationGlovoMenuItemDeltasResponseSchema = createPaginatedSchema29(
|
|
19169
19286
|
integrationGlovoMenuItemDeltaSchema
|
|
19170
19287
|
);
|
|
19171
|
-
var GetIntegrationGlovoMenuItemDeltas = class extends
|
|
19288
|
+
var GetIntegrationGlovoMenuItemDeltas = class extends AbstractApiRequest139 {
|
|
19172
19289
|
constructor(integrationGlovoId, options) {
|
|
19173
19290
|
super(void 0, options);
|
|
19174
19291
|
this.method = "GET";
|
|
@@ -19188,11 +19305,11 @@ var GetIntegrationGlovoMenuItemDeltas = class extends AbstractApiRequest135 {
|
|
|
19188
19305
|
};
|
|
19189
19306
|
|
|
19190
19307
|
// src/requests/services/glovo/GetIntegrationGlovoMenuValidation.ts
|
|
19191
|
-
import { AbstractApiRequest as
|
|
19308
|
+
import { AbstractApiRequest as AbstractApiRequest140 } from "@deliverart/sdk-js-core";
|
|
19192
19309
|
import { emptyResponseSchema as emptyResponseSchema10 } from "@deliverart/sdk-js-global-types";
|
|
19193
19310
|
var getIntegrationGlovoMenuValidationInputSchema = external_exports.undefined();
|
|
19194
19311
|
var getIntegrationGlovoMenuValidationResponseSchema = emptyResponseSchema10;
|
|
19195
|
-
var GetIntegrationGlovoMenuValidation = class extends
|
|
19312
|
+
var GetIntegrationGlovoMenuValidation = class extends AbstractApiRequest140 {
|
|
19196
19313
|
constructor(integrationGlovoId) {
|
|
19197
19314
|
super(void 0);
|
|
19198
19315
|
this.method = "GET";
|
|
@@ -19210,10 +19327,10 @@ var GetIntegrationGlovoMenuValidation = class extends AbstractApiRequest136 {
|
|
|
19210
19327
|
};
|
|
19211
19328
|
|
|
19212
19329
|
// src/requests/services/glovo/GetIntegrationGlovoMenuUpdateDetails.ts
|
|
19213
|
-
import { AbstractApiRequest as
|
|
19330
|
+
import { AbstractApiRequest as AbstractApiRequest141 } from "@deliverart/sdk-js-core";
|
|
19214
19331
|
var getIntegrationGlovoMenuUpdateDetailsInputSchema = external_exports.undefined();
|
|
19215
19332
|
var getIntegrationGlovoMenuUpdateDetailsResponseSchema = integrationGlovoMenuUpdateDetailsSchema;
|
|
19216
|
-
var GetIntegrationGlovoMenuUpdateDetails = class extends
|
|
19333
|
+
var GetIntegrationGlovoMenuUpdateDetails = class extends AbstractApiRequest141 {
|
|
19217
19334
|
constructor(integrationGlovoId, processId) {
|
|
19218
19335
|
super(void 0);
|
|
19219
19336
|
this.method = "GET";
|
|
@@ -19232,14 +19349,14 @@ var GetIntegrationGlovoMenuUpdateDetails = class extends AbstractApiRequest137 {
|
|
|
19232
19349
|
};
|
|
19233
19350
|
|
|
19234
19351
|
// src/requests/services/glovo/GetIntegrationGlovoMenuUpdates.ts
|
|
19235
|
-
import { AbstractApiRequest as
|
|
19352
|
+
import { AbstractApiRequest as AbstractApiRequest142 } from "@deliverart/sdk-js-core";
|
|
19236
19353
|
import { createPaginatedSchema as createPaginatedSchema30 } from "@deliverart/sdk-js-global-types";
|
|
19237
19354
|
var getIntegrationGlovoMenuUpdatesQuerySchema = integrationGlovoMenuUpdatesQuerySchema;
|
|
19238
19355
|
var getIntegrationGlovoMenuUpdatesInputSchema = external_exports.undefined();
|
|
19239
19356
|
var getIntegrationGlovoMenuUpdatesResponseSchema = createPaginatedSchema30(
|
|
19240
19357
|
integrationGlovoMenuUpdateSchema
|
|
19241
19358
|
);
|
|
19242
|
-
var GetIntegrationGlovoMenuUpdates = class extends
|
|
19359
|
+
var GetIntegrationGlovoMenuUpdates = class extends AbstractApiRequest142 {
|
|
19243
19360
|
constructor(integrationId, options) {
|
|
19244
19361
|
super(void 0, options);
|
|
19245
19362
|
this.method = "GET";
|
|
@@ -19259,10 +19376,10 @@ var GetIntegrationGlovoMenuUpdates = class extends AbstractApiRequest138 {
|
|
|
19259
19376
|
};
|
|
19260
19377
|
|
|
19261
19378
|
// src/requests/services/glovo/GetIntegrationGlovoMenuVersionDetails.ts
|
|
19262
|
-
import { AbstractApiRequest as
|
|
19379
|
+
import { AbstractApiRequest as AbstractApiRequest143 } from "@deliverart/sdk-js-core";
|
|
19263
19380
|
var getIntegrationGlovoMenuVersionDetailsInputSchema = external_exports.undefined();
|
|
19264
19381
|
var getIntegrationGlovoMenuVersionDetailsResponseSchema = menuVersionDetailsSchema;
|
|
19265
|
-
var GetIntegrationGlovoMenuVersionDetails = class extends
|
|
19382
|
+
var GetIntegrationGlovoMenuVersionDetails = class extends AbstractApiRequest143 {
|
|
19266
19383
|
constructor(integrationGlovoId, versionId) {
|
|
19267
19384
|
super(void 0);
|
|
19268
19385
|
this.method = "GET";
|
|
@@ -19281,14 +19398,14 @@ var GetIntegrationGlovoMenuVersionDetails = class extends AbstractApiRequest139
|
|
|
19281
19398
|
};
|
|
19282
19399
|
|
|
19283
19400
|
// src/requests/services/glovo/GetIntegrationGlovoMenuVersions.ts
|
|
19284
|
-
import { AbstractApiRequest as
|
|
19401
|
+
import { AbstractApiRequest as AbstractApiRequest144 } from "@deliverart/sdk-js-core";
|
|
19285
19402
|
import { createPaginatedSchema as createPaginatedSchema31 } from "@deliverart/sdk-js-global-types";
|
|
19286
19403
|
var getIntegrationGlovoMenuVersionsQuerySchema = external_exports.object({
|
|
19287
19404
|
page: external_exports.coerce.number().optional()
|
|
19288
19405
|
});
|
|
19289
19406
|
var getIntegrationGlovoMenuVersionsInputSchema = external_exports.undefined();
|
|
19290
19407
|
var getIntegrationGlovoMenuVersionsResponseSchema = createPaginatedSchema31(menuVersionSchema);
|
|
19291
|
-
var GetIntegrationGlovoMenuVersions = class extends
|
|
19408
|
+
var GetIntegrationGlovoMenuVersions = class extends AbstractApiRequest144 {
|
|
19292
19409
|
constructor(integrationGlovoId, options) {
|
|
19293
19410
|
super(void 0, options);
|
|
19294
19411
|
this.method = "GET";
|
|
@@ -19308,10 +19425,10 @@ var GetIntegrationGlovoMenuVersions = class extends AbstractApiRequest140 {
|
|
|
19308
19425
|
};
|
|
19309
19426
|
|
|
19310
19427
|
// src/requests/services/glovo/GetIntegrationGlovoOrderDetails.ts
|
|
19311
|
-
import { AbstractApiRequest as
|
|
19428
|
+
import { AbstractApiRequest as AbstractApiRequest145 } from "@deliverart/sdk-js-core";
|
|
19312
19429
|
var getIntegrationGlovoOrderDetailsInputSchema = external_exports.undefined();
|
|
19313
19430
|
var getIntegrationGlovoOrderDetailsResponseSchema = integrationGlovoOrderDetailsSchema;
|
|
19314
|
-
var GetIntegrationGlovoOrderDetails = class extends
|
|
19431
|
+
var GetIntegrationGlovoOrderDetails = class extends AbstractApiRequest145 {
|
|
19315
19432
|
constructor(integrationGlovoId, orderId) {
|
|
19316
19433
|
super(void 0);
|
|
19317
19434
|
this.method = "GET";
|
|
@@ -19330,14 +19447,14 @@ var GetIntegrationGlovoOrderDetails = class extends AbstractApiRequest141 {
|
|
|
19330
19447
|
};
|
|
19331
19448
|
|
|
19332
19449
|
// src/requests/services/glovo/GetIntegrationGlovoOrders.ts
|
|
19333
|
-
import { AbstractApiRequest as
|
|
19450
|
+
import { AbstractApiRequest as AbstractApiRequest146 } from "@deliverart/sdk-js-core";
|
|
19334
19451
|
import { createPaginatedSchema as createPaginatedSchema32 } from "@deliverart/sdk-js-global-types";
|
|
19335
19452
|
var getIntegrationGlovoOrdersQuerySchema = integrationGlovoOrdersQuerySchema;
|
|
19336
19453
|
var getIntegrationGlovoOrdersInputSchema = external_exports.undefined();
|
|
19337
19454
|
var getIntegrationGlovoOrdersResponseSchema = createPaginatedSchema32(
|
|
19338
19455
|
integrationGlovoOrderSchema
|
|
19339
19456
|
);
|
|
19340
|
-
var GetIntegrationGlovoOrders = class extends
|
|
19457
|
+
var GetIntegrationGlovoOrders = class extends AbstractApiRequest146 {
|
|
19341
19458
|
constructor(integrationGlovoId, options) {
|
|
19342
19459
|
super(void 0, options);
|
|
19343
19460
|
this.method = "GET";
|
|
@@ -19357,7 +19474,7 @@ var GetIntegrationGlovoOrders = class extends AbstractApiRequest142 {
|
|
|
19357
19474
|
};
|
|
19358
19475
|
|
|
19359
19476
|
// src/requests/services/glovo/GetIntegrationGlovoOrdersFromOrder.ts
|
|
19360
|
-
import { AbstractApiRequest as
|
|
19477
|
+
import { AbstractApiRequest as AbstractApiRequest147 } from "@deliverart/sdk-js-core";
|
|
19361
19478
|
var getIntegrationGlovoOrdersFromOrderQuerySchema = integrationGlovoOrdersQuerySchema.omit(
|
|
19362
19479
|
{
|
|
19363
19480
|
page: true
|
|
@@ -19367,7 +19484,7 @@ var getIntegrationGlovoOrdersFromOrderInputSchema = external_exports.undefined()
|
|
|
19367
19484
|
var getIntegrationGlovoOrdersFromOrderResponseSchema = external_exports.array(
|
|
19368
19485
|
integrationGlovoOrderSchema
|
|
19369
19486
|
);
|
|
19370
|
-
var GetIntegrationGlovoOrdersFromOrder = class extends
|
|
19487
|
+
var GetIntegrationGlovoOrdersFromOrder = class extends AbstractApiRequest147 {
|
|
19371
19488
|
constructor(orderId, options) {
|
|
19372
19489
|
super(void 0, options);
|
|
19373
19490
|
this.method = "GET";
|
|
@@ -19387,10 +19504,10 @@ var GetIntegrationGlovoOrdersFromOrder = class extends AbstractApiRequest143 {
|
|
|
19387
19504
|
};
|
|
19388
19505
|
|
|
19389
19506
|
// src/requests/services/glovo/GetIntegrationGlovoSyncStatus.ts
|
|
19390
|
-
import { AbstractApiRequest as
|
|
19507
|
+
import { AbstractApiRequest as AbstractApiRequest148 } from "@deliverart/sdk-js-core";
|
|
19391
19508
|
var getIntegrationGlovoSyncStatusInputSchema = external_exports.undefined();
|
|
19392
19509
|
var getIntegrationGlovoSyncStatusResponseSchema = integrationGlovoSyncStatusResponseSchema;
|
|
19393
|
-
var GetIntegrationGlovoSyncStatus = class extends
|
|
19510
|
+
var GetIntegrationGlovoSyncStatus = class extends AbstractApiRequest148 {
|
|
19394
19511
|
constructor(integrationGlovoId) {
|
|
19395
19512
|
super(void 0);
|
|
19396
19513
|
this.method = "GET";
|
|
@@ -19408,10 +19525,10 @@ var GetIntegrationGlovoSyncStatus = class extends AbstractApiRequest144 {
|
|
|
19408
19525
|
};
|
|
19409
19526
|
|
|
19410
19527
|
// src/requests/services/glovo/GetIntegrationGlovoWebhookEventDetails.ts
|
|
19411
|
-
import { AbstractApiRequest as
|
|
19528
|
+
import { AbstractApiRequest as AbstractApiRequest149 } from "@deliverart/sdk-js-core";
|
|
19412
19529
|
var getIntegrationGlovoWebhookEventDetailsInputSchema = external_exports.undefined();
|
|
19413
19530
|
var getIntegrationGlovoWebhookEventDetailsResponseSchema = integrationGlovoWebhookEventDetailsSchema;
|
|
19414
|
-
var GetIntegrationGlovoWebhookEventDetails = class extends
|
|
19531
|
+
var GetIntegrationGlovoWebhookEventDetails = class extends AbstractApiRequest149 {
|
|
19415
19532
|
constructor(integrationGlovoId, eventId) {
|
|
19416
19533
|
super(void 0);
|
|
19417
19534
|
this.method = "GET";
|
|
@@ -19430,14 +19547,14 @@ var GetIntegrationGlovoWebhookEventDetails = class extends AbstractApiRequest145
|
|
|
19430
19547
|
};
|
|
19431
19548
|
|
|
19432
19549
|
// src/requests/services/glovo/GetIntegrationGlovoWebhookEvents.ts
|
|
19433
|
-
import { AbstractApiRequest as
|
|
19550
|
+
import { AbstractApiRequest as AbstractApiRequest150 } from "@deliverart/sdk-js-core";
|
|
19434
19551
|
import { createPaginatedSchema as createPaginatedSchema33 } from "@deliverart/sdk-js-global-types";
|
|
19435
19552
|
var getIntegrationGlovoWebhookEventsQuerySchema = integrationGlovoWebhookEventsQueryParamsSchema;
|
|
19436
19553
|
var getIntegrationGlovoWebhookEventsInputSchema = external_exports.undefined();
|
|
19437
19554
|
var getIntegrationGlovoWebhookEventsResponseSchema = createPaginatedSchema33(
|
|
19438
19555
|
integrationGlovoWebhookEventSchema
|
|
19439
19556
|
);
|
|
19440
|
-
var GetIntegrationGlovoWebhookEvents = class extends
|
|
19557
|
+
var GetIntegrationGlovoWebhookEvents = class extends AbstractApiRequest150 {
|
|
19441
19558
|
constructor(integrationGlovoId, options) {
|
|
19442
19559
|
super(void 0, options);
|
|
19443
19560
|
this.method = "GET";
|
|
@@ -19457,7 +19574,7 @@ var GetIntegrationGlovoWebhookEvents = class extends AbstractApiRequest146 {
|
|
|
19457
19574
|
};
|
|
19458
19575
|
|
|
19459
19576
|
// src/requests/services/glovo/GetIntegrationGlovoWebhookEventsFromOrder.ts
|
|
19460
|
-
import { AbstractApiRequest as
|
|
19577
|
+
import { AbstractApiRequest as AbstractApiRequest151 } from "@deliverart/sdk-js-core";
|
|
19461
19578
|
var getIntegrationGlovoWebhookEventsFromOrderQuerySchema = integrationGlovoWebhookEventsQueryParamsSchema.omit({
|
|
19462
19579
|
page: true
|
|
19463
19580
|
});
|
|
@@ -19465,7 +19582,7 @@ var getIntegrationGlovoWebhookEventsFromOrderInputSchema = external_exports.unde
|
|
|
19465
19582
|
var getIntegrationGlovoWebhookEventsFromOrderResponseSchema = external_exports.array(
|
|
19466
19583
|
integrationGlovoWebhookEventSchema
|
|
19467
19584
|
);
|
|
19468
|
-
var GetIntegrationGlovoWebhookEventsFromOrder = class extends
|
|
19585
|
+
var GetIntegrationGlovoWebhookEventsFromOrder = class extends AbstractApiRequest151 {
|
|
19469
19586
|
constructor(orderId, options) {
|
|
19470
19587
|
super(void 0, options);
|
|
19471
19588
|
this.method = "GET";
|
|
@@ -19485,12 +19602,12 @@ var GetIntegrationGlovoWebhookEventsFromOrder = class extends AbstractApiRequest
|
|
|
19485
19602
|
};
|
|
19486
19603
|
|
|
19487
19604
|
// src/requests/services/glovo/IntegrationGlovoSyncMenu.ts
|
|
19488
|
-
import { AbstractApiRequest as
|
|
19605
|
+
import { AbstractApiRequest as AbstractApiRequest152 } from "@deliverart/sdk-js-core";
|
|
19489
19606
|
var integrationGlovoSyncMenuInputSchema = external_exports.undefined();
|
|
19490
19607
|
var integrationGlovoSyncMenuResponseSchema = external_exports.object({
|
|
19491
19608
|
message: external_exports.string()
|
|
19492
19609
|
});
|
|
19493
|
-
var IntegrationGlovoSyncMenu = class extends
|
|
19610
|
+
var IntegrationGlovoSyncMenu = class extends AbstractApiRequest152 {
|
|
19494
19611
|
constructor(integrationGlovoId) {
|
|
19495
19612
|
super(void 0);
|
|
19496
19613
|
this.method = "POST";
|
|
@@ -19508,10 +19625,10 @@ var IntegrationGlovoSyncMenu = class extends AbstractApiRequest148 {
|
|
|
19508
19625
|
};
|
|
19509
19626
|
|
|
19510
19627
|
// src/requests/services/glovo/UpdateIntegrationGlovo.ts
|
|
19511
|
-
import { AbstractApiRequest as
|
|
19628
|
+
import { AbstractApiRequest as AbstractApiRequest153 } from "@deliverart/sdk-js-core";
|
|
19512
19629
|
var updateIntegrationGlovoInputSchema = integrationGlovoEditableFieldsSchema.partial();
|
|
19513
19630
|
var updateIntegrationGlovoResponseSchema = integrationGlovoDetailsSchema;
|
|
19514
|
-
var UpdateIntegrationGlovo = class extends
|
|
19631
|
+
var UpdateIntegrationGlovo = class extends AbstractApiRequest153 {
|
|
19515
19632
|
constructor(integrationGlovoId, input) {
|
|
19516
19633
|
super(input);
|
|
19517
19634
|
this.method = "PATCH";
|
|
@@ -19529,13 +19646,13 @@ var UpdateIntegrationGlovo = class extends AbstractApiRequest149 {
|
|
|
19529
19646
|
};
|
|
19530
19647
|
|
|
19531
19648
|
// src/requests/services/glovo/UpdateIntegrationGlovoStoreStatus.ts
|
|
19532
|
-
import { AbstractApiRequest as
|
|
19649
|
+
import { AbstractApiRequest as AbstractApiRequest154 } from "@deliverart/sdk-js-core";
|
|
19533
19650
|
import { emptyResponseSchema as emptyResponseSchema11 } from "@deliverart/sdk-js-global-types";
|
|
19534
19651
|
var updateIntegrationGlovoStoreStatusInputSchema = external_exports.object({
|
|
19535
19652
|
status: integrationGlovoStoreStatusSchema
|
|
19536
19653
|
});
|
|
19537
19654
|
var updateIntegrationGlovoStoreStatusResponseSchema = emptyResponseSchema11;
|
|
19538
|
-
var UpdateIntegrationGlovoStoreStatus = class extends
|
|
19655
|
+
var UpdateIntegrationGlovoStoreStatus = class extends AbstractApiRequest154 {
|
|
19539
19656
|
constructor(integrationGlovoId, input) {
|
|
19540
19657
|
super(input);
|
|
19541
19658
|
this.method = "POST";
|
|
@@ -19553,13 +19670,13 @@ var UpdateIntegrationGlovoStoreStatus = class extends AbstractApiRequest150 {
|
|
|
19553
19670
|
};
|
|
19554
19671
|
|
|
19555
19672
|
// src/requests/services/justeat/CreateIntegrationJustEat.ts
|
|
19556
|
-
import { AbstractApiRequest as
|
|
19673
|
+
import { AbstractApiRequest as AbstractApiRequest155 } from "@deliverart/sdk-js-core";
|
|
19557
19674
|
import { pointOfSaleIriSchema as pointOfSaleIriSchema9 } from "@deliverart/sdk-js-point-of-sale";
|
|
19558
19675
|
var createIntegrationJustEatInputSchema = integrationJustEatEditableFieldsSchema.extend({
|
|
19559
19676
|
pointOfSale: pointOfSaleIriSchema9
|
|
19560
19677
|
});
|
|
19561
19678
|
var createIntegrationJustEatResponseSchema = integrationJustEatDetailsSchema;
|
|
19562
|
-
var CreateIntegrationJustEat = class extends
|
|
19679
|
+
var CreateIntegrationJustEat = class extends AbstractApiRequest155 {
|
|
19563
19680
|
constructor(input) {
|
|
19564
19681
|
super(input);
|
|
19565
19682
|
this.method = "POST";
|
|
@@ -19576,11 +19693,11 @@ var CreateIntegrationJustEat = class extends AbstractApiRequest151 {
|
|
|
19576
19693
|
};
|
|
19577
19694
|
|
|
19578
19695
|
// src/requests/services/justeat/DeleteIntegrationJustEat.ts
|
|
19579
|
-
import { AbstractApiRequest as
|
|
19696
|
+
import { AbstractApiRequest as AbstractApiRequest156 } from "@deliverart/sdk-js-core";
|
|
19580
19697
|
import { emptyResponseSchema as emptyResponseSchema12 } from "@deliverart/sdk-js-global-types";
|
|
19581
19698
|
var deleteIntegrationJustEatInputSchema = external_exports.undefined();
|
|
19582
19699
|
var deleteIntegrationJustEatResponseSchema = emptyResponseSchema12;
|
|
19583
|
-
var DeleteIntegrationJustEat = class extends
|
|
19700
|
+
var DeleteIntegrationJustEat = class extends AbstractApiRequest156 {
|
|
19584
19701
|
constructor(integrationJustEatId) {
|
|
19585
19702
|
super(void 0);
|
|
19586
19703
|
this.method = "DELETE";
|
|
@@ -19598,10 +19715,10 @@ var DeleteIntegrationJustEat = class extends AbstractApiRequest152 {
|
|
|
19598
19715
|
};
|
|
19599
19716
|
|
|
19600
19717
|
// src/requests/services/justeat/GetIntegrationJustEatClientLogRequestDetails.ts
|
|
19601
|
-
import { AbstractApiRequest as
|
|
19718
|
+
import { AbstractApiRequest as AbstractApiRequest157 } from "@deliverart/sdk-js-core";
|
|
19602
19719
|
var getIntegrationJustEatClientLogRequestDetailsInputSchema = external_exports.undefined();
|
|
19603
19720
|
var getIntegrationJustEatClientLogRequestDetailsResponseSchema = integrationClientLogRequestDetailsSchema;
|
|
19604
|
-
var GetIntegrationJustEatClientLogRequestDetails = class extends
|
|
19721
|
+
var GetIntegrationJustEatClientLogRequestDetails = class extends AbstractApiRequest157 {
|
|
19605
19722
|
constructor(integrationJustEatId, requestId) {
|
|
19606
19723
|
super(void 0);
|
|
19607
19724
|
this.method = "GET";
|
|
@@ -19620,14 +19737,14 @@ var GetIntegrationJustEatClientLogRequestDetails = class extends AbstractApiRequ
|
|
|
19620
19737
|
};
|
|
19621
19738
|
|
|
19622
19739
|
// src/requests/services/justeat/GetIntegrationJustEatClientLogRequests.ts
|
|
19623
|
-
import { AbstractApiRequest as
|
|
19740
|
+
import { AbstractApiRequest as AbstractApiRequest158 } from "@deliverart/sdk-js-core";
|
|
19624
19741
|
import { createPaginatedSchema as createPaginatedSchema34 } from "@deliverart/sdk-js-global-types";
|
|
19625
19742
|
var getIntegrationJustEatClientLogRequestsQuerySchema = clientLogRequestQuerySchema;
|
|
19626
19743
|
var getIntegrationJustEatClientLogRequestsInputSchema = external_exports.undefined();
|
|
19627
19744
|
var getIntegrationJustEatClientLogRequestsResponseSchema = createPaginatedSchema34(
|
|
19628
19745
|
integrationClientLogRequestSchema
|
|
19629
19746
|
);
|
|
19630
|
-
var GetIntegrationJustEatClientLogRequests = class extends
|
|
19747
|
+
var GetIntegrationJustEatClientLogRequests = class extends AbstractApiRequest158 {
|
|
19631
19748
|
constructor(integrationJustEatId, options) {
|
|
19632
19749
|
super(void 0, options);
|
|
19633
19750
|
this.method = "GET";
|
|
@@ -19647,7 +19764,7 @@ var GetIntegrationJustEatClientLogRequests = class extends AbstractApiRequest154
|
|
|
19647
19764
|
};
|
|
19648
19765
|
|
|
19649
19766
|
// src/requests/services/justeat/GetIntegrationJustEatClientLogRequestsFromOrder.ts
|
|
19650
|
-
import { AbstractApiRequest as
|
|
19767
|
+
import { AbstractApiRequest as AbstractApiRequest159 } from "@deliverart/sdk-js-core";
|
|
19651
19768
|
var getIntegrationJustEatClientLogRequestsFromOrderQuerySchema = clientLogRequestQuerySchema.omit({
|
|
19652
19769
|
page: true
|
|
19653
19770
|
});
|
|
@@ -19655,7 +19772,7 @@ var getIntegrationJustEatClientLogRequestsFromOrderInputSchema = external_export
|
|
|
19655
19772
|
var getIntegrationJustEatClientLogRequestsFromOrderResponseSchema = external_exports.array(
|
|
19656
19773
|
integrationClientLogRequestSchema
|
|
19657
19774
|
);
|
|
19658
|
-
var GetIntegrationJustEatClientLogRequestsFromOrder = class extends
|
|
19775
|
+
var GetIntegrationJustEatClientLogRequestsFromOrder = class extends AbstractApiRequest159 {
|
|
19659
19776
|
constructor(orderId, options) {
|
|
19660
19777
|
super(void 0, options);
|
|
19661
19778
|
this.method = "GET";
|
|
@@ -19675,10 +19792,10 @@ var GetIntegrationJustEatClientLogRequestsFromOrder = class extends AbstractApiR
|
|
|
19675
19792
|
};
|
|
19676
19793
|
|
|
19677
19794
|
// src/requests/services/justeat/GetIntegrationJustEatDetails.ts
|
|
19678
|
-
import { AbstractApiRequest as
|
|
19795
|
+
import { AbstractApiRequest as AbstractApiRequest160 } from "@deliverart/sdk-js-core";
|
|
19679
19796
|
var getIntegrationJustEatDetailsInputSchema = external_exports.undefined();
|
|
19680
19797
|
var getIntegrationJustEatDetailsResponseSchema = integrationJustEatDetailsSchema;
|
|
19681
|
-
var GetIntegrationJustEatDetails = class extends
|
|
19798
|
+
var GetIntegrationJustEatDetails = class extends AbstractApiRequest160 {
|
|
19682
19799
|
constructor(integrationJustEatId) {
|
|
19683
19800
|
super(void 0);
|
|
19684
19801
|
this.method = "GET";
|
|
@@ -19696,14 +19813,14 @@ var GetIntegrationJustEatDetails = class extends AbstractApiRequest156 {
|
|
|
19696
19813
|
};
|
|
19697
19814
|
|
|
19698
19815
|
// src/requests/services/justeat/GetIntegrationJustEatGlobalClientLogRequests.ts
|
|
19699
|
-
import { AbstractApiRequest as
|
|
19816
|
+
import { AbstractApiRequest as AbstractApiRequest161 } from "@deliverart/sdk-js-core";
|
|
19700
19817
|
import { createPaginatedSchema as createPaginatedSchema35 } from "@deliverart/sdk-js-global-types";
|
|
19701
19818
|
var getIntegrationJustEatGlobalClientLogRequestsQuerySchema = clientLogRequestQuerySchema;
|
|
19702
19819
|
var getIntegrationJustEatGlobalClientLogRequestsInputSchema = external_exports.undefined();
|
|
19703
19820
|
var getIntegrationJustEatGlobalClientLogRequestsResponseSchema = createPaginatedSchema35(
|
|
19704
19821
|
integrationClientLogRequestSchema
|
|
19705
19822
|
);
|
|
19706
|
-
var GetIntegrationJustEatGlobalClientLogRequests = class extends
|
|
19823
|
+
var GetIntegrationJustEatGlobalClientLogRequests = class extends AbstractApiRequest161 {
|
|
19707
19824
|
constructor(options) {
|
|
19708
19825
|
super(void 0, options);
|
|
19709
19826
|
this.method = "GET";
|
|
@@ -19722,14 +19839,14 @@ var GetIntegrationJustEatGlobalClientLogRequests = class extends AbstractApiRequ
|
|
|
19722
19839
|
};
|
|
19723
19840
|
|
|
19724
19841
|
// src/requests/services/justeat/GetIntegrationJustEatList.ts
|
|
19725
|
-
import { AbstractApiRequest as
|
|
19842
|
+
import { AbstractApiRequest as AbstractApiRequest162 } from "@deliverart/sdk-js-core";
|
|
19726
19843
|
import { createPaginatedSchema as createPaginatedSchema36 } from "@deliverart/sdk-js-global-types";
|
|
19727
19844
|
var getIntegrationJustEatListQuerySchema = integrationsJustEatQuerySchema.omit({
|
|
19728
19845
|
service: true
|
|
19729
19846
|
});
|
|
19730
19847
|
var getIntegrationJustEatListInputSchema = external_exports.undefined();
|
|
19731
19848
|
var getIntegrationJustEatListResponseSchema = createPaginatedSchema36(integrationJustEatSchema);
|
|
19732
|
-
var GetIntegrationJustEatList = class extends
|
|
19849
|
+
var GetIntegrationJustEatList = class extends AbstractApiRequest162 {
|
|
19733
19850
|
constructor(options) {
|
|
19734
19851
|
super(void 0, options);
|
|
19735
19852
|
this.method = "GET";
|
|
@@ -19747,12 +19864,59 @@ var GetIntegrationJustEatList = class extends AbstractApiRequest158 {
|
|
|
19747
19864
|
}
|
|
19748
19865
|
};
|
|
19749
19866
|
|
|
19867
|
+
// src/requests/services/justeat/GetIntegrationJustEatMenuItemAvailabilityDeltaDetails.ts
|
|
19868
|
+
import { AbstractApiRequest as AbstractApiRequest163 } from "@deliverart/sdk-js-core";
|
|
19869
|
+
var getIntegrationJustEatMenuItemAvailabilityDeltaDetailsInputSchema = external_exports.undefined();
|
|
19870
|
+
var getIntegrationJustEatMenuItemAvailabilityDeltaDetailsResponseSchema = integrationJustEatMenuItemAvailabilityDeltaDetailsSchema;
|
|
19871
|
+
var GetIntegrationJustEatMenuItemAvailabilityDeltaDetails = class extends AbstractApiRequest163 {
|
|
19872
|
+
constructor(integrationJustEatId, deltaId) {
|
|
19873
|
+
super(void 0);
|
|
19874
|
+
this.method = "GET";
|
|
19875
|
+
this.contentType = "application/json";
|
|
19876
|
+
this.accept = "application/json";
|
|
19877
|
+
this.inputSchema = getIntegrationJustEatMenuItemAvailabilityDeltaDetailsInputSchema;
|
|
19878
|
+
this.outputSchema = getIntegrationJustEatMenuItemAvailabilityDeltaDetailsResponseSchema;
|
|
19879
|
+
this.querySchema = void 0;
|
|
19880
|
+
this.headersSchema = void 0;
|
|
19881
|
+
this.integrationJustEatId = integrationJustEatId;
|
|
19882
|
+
this.deltaId = deltaId;
|
|
19883
|
+
}
|
|
19884
|
+
getPath() {
|
|
19885
|
+
return `/integrations/justeat/${this.integrationJustEatId}/menu_item_availability_deltas/${this.deltaId}`;
|
|
19886
|
+
}
|
|
19887
|
+
};
|
|
19888
|
+
|
|
19889
|
+
// src/requests/services/justeat/GetIntegrationJustEatMenuItemAvailabilityDeltas.ts
|
|
19890
|
+
import { AbstractApiRequest as AbstractApiRequest164 } from "@deliverart/sdk-js-core";
|
|
19891
|
+
import { createPaginatedSchema as createPaginatedSchema37 } from "@deliverart/sdk-js-global-types";
|
|
19892
|
+
var getIntegrationJustEatMenuItemAvailabilityDeltasQuerySchema = integrationJustEatMenuItemAvailabilityDeltasQuerySchema;
|
|
19893
|
+
var getIntegrationJustEatMenuItemAvailabilityDeltasInputSchema = external_exports.undefined();
|
|
19894
|
+
var getIntegrationJustEatMenuItemAvailabilityDeltasResponseSchema = createPaginatedSchema37(integrationJustEatMenuItemAvailabilityDeltaSchema);
|
|
19895
|
+
var GetIntegrationJustEatMenuItemAvailabilityDeltas = class extends AbstractApiRequest164 {
|
|
19896
|
+
constructor(integrationJustEatId, options) {
|
|
19897
|
+
super(void 0, options);
|
|
19898
|
+
this.method = "GET";
|
|
19899
|
+
this.contentType = "application/json";
|
|
19900
|
+
this.accept = "application/json";
|
|
19901
|
+
this.inputSchema = getIntegrationJustEatMenuItemAvailabilityDeltasInputSchema;
|
|
19902
|
+
this.outputSchema = getIntegrationJustEatMenuItemAvailabilityDeltasResponseSchema;
|
|
19903
|
+
this.querySchema = getIntegrationJustEatMenuItemAvailabilityDeltasQuerySchema;
|
|
19904
|
+
this.headersSchema = void 0;
|
|
19905
|
+
this.listItemSchema = integrationJustEatMenuItemAvailabilityDeltaSchema;
|
|
19906
|
+
this.paginationDefaultEnabled = true;
|
|
19907
|
+
this.integrationJustEatId = integrationJustEatId;
|
|
19908
|
+
}
|
|
19909
|
+
getPath() {
|
|
19910
|
+
return `/integrations/justeat/${this.integrationJustEatId}/menu_item_availability_deltas`;
|
|
19911
|
+
}
|
|
19912
|
+
};
|
|
19913
|
+
|
|
19750
19914
|
// src/requests/services/justeat/GetIntegrationJustEatMenuValidation.ts
|
|
19751
|
-
import { AbstractApiRequest as
|
|
19915
|
+
import { AbstractApiRequest as AbstractApiRequest165 } from "@deliverart/sdk-js-core";
|
|
19752
19916
|
import { emptyResponseSchema as emptyResponseSchema13 } from "@deliverart/sdk-js-global-types";
|
|
19753
19917
|
var getIntegrationJustEatMenuValidationInputSchema = external_exports.undefined();
|
|
19754
19918
|
var getIntegrationJustEatMenuValidationResponseSchema = emptyResponseSchema13;
|
|
19755
|
-
var GetIntegrationJustEatMenuValidation = class extends
|
|
19919
|
+
var GetIntegrationJustEatMenuValidation = class extends AbstractApiRequest165 {
|
|
19756
19920
|
constructor(integrationJustEatId, type) {
|
|
19757
19921
|
super(void 0);
|
|
19758
19922
|
this.method = "GET";
|
|
@@ -19771,10 +19935,10 @@ var GetIntegrationJustEatMenuValidation = class extends AbstractApiRequest159 {
|
|
|
19771
19935
|
};
|
|
19772
19936
|
|
|
19773
19937
|
// src/requests/services/justeat/GetIntegrationJustEatMenuVersionDetails.ts
|
|
19774
|
-
import { AbstractApiRequest as
|
|
19938
|
+
import { AbstractApiRequest as AbstractApiRequest166 } from "@deliverart/sdk-js-core";
|
|
19775
19939
|
var getIntegrationJustEatMenuVersionDetailsInputSchema = external_exports.undefined();
|
|
19776
19940
|
var getIntegrationJustEatMenuVersionDetailsResponseSchema = menuVersionDetailsSchema;
|
|
19777
|
-
var GetIntegrationJustEatMenuVersionDetails = class extends
|
|
19941
|
+
var GetIntegrationJustEatMenuVersionDetails = class extends AbstractApiRequest166 {
|
|
19778
19942
|
constructor(integrationJustEatId, versionId) {
|
|
19779
19943
|
super(void 0);
|
|
19780
19944
|
this.method = "GET";
|
|
@@ -19793,14 +19957,14 @@ var GetIntegrationJustEatMenuVersionDetails = class extends AbstractApiRequest16
|
|
|
19793
19957
|
};
|
|
19794
19958
|
|
|
19795
19959
|
// src/requests/services/justeat/GetIntegrationJustEatMenuVersions.ts
|
|
19796
|
-
import { AbstractApiRequest as
|
|
19797
|
-
import { createPaginatedSchema as
|
|
19960
|
+
import { AbstractApiRequest as AbstractApiRequest167 } from "@deliverart/sdk-js-core";
|
|
19961
|
+
import { createPaginatedSchema as createPaginatedSchema38 } from "@deliverart/sdk-js-global-types";
|
|
19798
19962
|
var getIntegrationJustEatMenuVersionsQuerySchema = external_exports.object({
|
|
19799
19963
|
page: external_exports.coerce.number().optional()
|
|
19800
19964
|
});
|
|
19801
19965
|
var getIntegrationJustEatMenuVersionsInputSchema = external_exports.undefined();
|
|
19802
|
-
var getIntegrationJustEatMenuVersionsResponseSchema =
|
|
19803
|
-
var GetIntegrationJustEatMenuVersions = class extends
|
|
19966
|
+
var getIntegrationJustEatMenuVersionsResponseSchema = createPaginatedSchema38(menuVersionSchema);
|
|
19967
|
+
var GetIntegrationJustEatMenuVersions = class extends AbstractApiRequest167 {
|
|
19804
19968
|
constructor(integrationJustEatId, options) {
|
|
19805
19969
|
super(void 0, options);
|
|
19806
19970
|
this.method = "GET";
|
|
@@ -19820,10 +19984,10 @@ var GetIntegrationJustEatMenuVersions = class extends AbstractApiRequest161 {
|
|
|
19820
19984
|
};
|
|
19821
19985
|
|
|
19822
19986
|
// src/requests/services/justeat/GetIntegrationJustEatOrderDetails.ts
|
|
19823
|
-
import { AbstractApiRequest as
|
|
19987
|
+
import { AbstractApiRequest as AbstractApiRequest168 } from "@deliverart/sdk-js-core";
|
|
19824
19988
|
var getIntegrationJustEatOrderDetailsInputSchema = external_exports.undefined();
|
|
19825
19989
|
var getIntegrationJustEatOrderDetailsResponseSchema = integrationJustEatOrderDetailsSchema;
|
|
19826
|
-
var GetIntegrationJustEatOrderDetails = class extends
|
|
19990
|
+
var GetIntegrationJustEatOrderDetails = class extends AbstractApiRequest168 {
|
|
19827
19991
|
constructor(integrationJustEatId, orderId) {
|
|
19828
19992
|
super(void 0);
|
|
19829
19993
|
this.method = "GET";
|
|
@@ -19842,14 +20006,14 @@ var GetIntegrationJustEatOrderDetails = class extends AbstractApiRequest162 {
|
|
|
19842
20006
|
};
|
|
19843
20007
|
|
|
19844
20008
|
// src/requests/services/justeat/GetIntegrationJustEatOrders.ts
|
|
19845
|
-
import { AbstractApiRequest as
|
|
19846
|
-
import { createPaginatedSchema as
|
|
20009
|
+
import { AbstractApiRequest as AbstractApiRequest169 } from "@deliverart/sdk-js-core";
|
|
20010
|
+
import { createPaginatedSchema as createPaginatedSchema39 } from "@deliverart/sdk-js-global-types";
|
|
19847
20011
|
var getIntegrationJustEatOrdersQuerySchema = integrationJustEatOrdersQueryParamsSchema;
|
|
19848
20012
|
var getIntegrationJustEatOrdersInputSchema = external_exports.undefined();
|
|
19849
|
-
var getIntegrationJustEatOrdersResponseSchema =
|
|
20013
|
+
var getIntegrationJustEatOrdersResponseSchema = createPaginatedSchema39(
|
|
19850
20014
|
integrationJustEatOrderSchema
|
|
19851
20015
|
);
|
|
19852
|
-
var GetIntegrationJustEatOrders = class extends
|
|
20016
|
+
var GetIntegrationJustEatOrders = class extends AbstractApiRequest169 {
|
|
19853
20017
|
constructor(integrationJustEatId, options) {
|
|
19854
20018
|
super(void 0, options);
|
|
19855
20019
|
this.method = "GET";
|
|
@@ -19869,7 +20033,7 @@ var GetIntegrationJustEatOrders = class extends AbstractApiRequest163 {
|
|
|
19869
20033
|
};
|
|
19870
20034
|
|
|
19871
20035
|
// src/requests/services/justeat/GetIntegrationJustEatOrdersFromOrder.ts
|
|
19872
|
-
import { AbstractApiRequest as
|
|
20036
|
+
import { AbstractApiRequest as AbstractApiRequest170 } from "@deliverart/sdk-js-core";
|
|
19873
20037
|
var getIntegrationJustEatOrdersFromOrderQuerySchema = integrationJustEatOrdersQueryParamsSchema.omit({
|
|
19874
20038
|
page: true
|
|
19875
20039
|
});
|
|
@@ -19877,7 +20041,7 @@ var getIntegrationJustEatOrdersFromOrderInputSchema = external_exports.undefined
|
|
|
19877
20041
|
var getIntegrationJustEatOrdersFromOrderResponseSchema = external_exports.array(
|
|
19878
20042
|
integrationJustEatOrderSchema
|
|
19879
20043
|
);
|
|
19880
|
-
var GetIntegrationJustEatOrdersFromOrder = class extends
|
|
20044
|
+
var GetIntegrationJustEatOrdersFromOrder = class extends AbstractApiRequest170 {
|
|
19881
20045
|
constructor(orderId, options) {
|
|
19882
20046
|
super(void 0, options);
|
|
19883
20047
|
this.method = "GET";
|
|
@@ -19897,10 +20061,10 @@ var GetIntegrationJustEatOrdersFromOrder = class extends AbstractApiRequest164 {
|
|
|
19897
20061
|
};
|
|
19898
20062
|
|
|
19899
20063
|
// src/requests/services/justeat/GetIntegrationJustEatSyncMenuProcessDetails.ts
|
|
19900
|
-
import { AbstractApiRequest as
|
|
20064
|
+
import { AbstractApiRequest as AbstractApiRequest171 } from "@deliverart/sdk-js-core";
|
|
19901
20065
|
var getIntegrationJustEatSyncMenuProcessDetailsInputSchema = external_exports.undefined();
|
|
19902
20066
|
var getIntegrationJustEatSyncMenuProcessDetailsResponseSchema = integrationJustEatSyncMenuProcessDetailsSchema;
|
|
19903
|
-
var GetIntegrationJustEatSyncMenuProcessDetails = class extends
|
|
20067
|
+
var GetIntegrationJustEatSyncMenuProcessDetails = class extends AbstractApiRequest171 {
|
|
19904
20068
|
constructor(integrationJustEatId, processId) {
|
|
19905
20069
|
super(void 0);
|
|
19906
20070
|
this.method = "GET";
|
|
@@ -19919,14 +20083,14 @@ var GetIntegrationJustEatSyncMenuProcessDetails = class extends AbstractApiReque
|
|
|
19919
20083
|
};
|
|
19920
20084
|
|
|
19921
20085
|
// src/requests/services/justeat/GetIntegrationJustEatSyncMenuProcesses.ts
|
|
19922
|
-
import { AbstractApiRequest as
|
|
19923
|
-
import { createPaginatedSchema as
|
|
20086
|
+
import { AbstractApiRequest as AbstractApiRequest172 } from "@deliverart/sdk-js-core";
|
|
20087
|
+
import { createPaginatedSchema as createPaginatedSchema40 } from "@deliverart/sdk-js-global-types";
|
|
19924
20088
|
var getIntegrationJustEatSyncMenuProcessesQuerySchema = integrationJustEatSyncMenuProcessesQuerySchema;
|
|
19925
20089
|
var getIntegrationJustEatSyncMenuProcessesInputSchema = external_exports.undefined();
|
|
19926
|
-
var getIntegrationJustEatSyncMenuProcessesResponseSchema =
|
|
20090
|
+
var getIntegrationJustEatSyncMenuProcessesResponseSchema = createPaginatedSchema40(
|
|
19927
20091
|
integrationJustEatSyncMenuProcessSchema
|
|
19928
20092
|
);
|
|
19929
|
-
var GetIntegrationJustEatSyncMenuProcesses = class extends
|
|
20093
|
+
var GetIntegrationJustEatSyncMenuProcesses = class extends AbstractApiRequest172 {
|
|
19930
20094
|
constructor(integrationJustEatId, options) {
|
|
19931
20095
|
super(void 0, options);
|
|
19932
20096
|
this.method = "GET";
|
|
@@ -19946,12 +20110,12 @@ var GetIntegrationJustEatSyncMenuProcesses = class extends AbstractApiRequest166
|
|
|
19946
20110
|
};
|
|
19947
20111
|
|
|
19948
20112
|
// src/requests/services/justeat/IntegrationJustEatSyncMenu.ts
|
|
19949
|
-
import { AbstractApiRequest as
|
|
20113
|
+
import { AbstractApiRequest as AbstractApiRequest173 } from "@deliverart/sdk-js-core";
|
|
19950
20114
|
var integrationJustEatSyncMenuInputSchema = external_exports.undefined();
|
|
19951
20115
|
var integrationJustEatSyncMenuResponseSchema = external_exports.object({
|
|
19952
20116
|
message: external_exports.string()
|
|
19953
20117
|
});
|
|
19954
|
-
var IntegrationJustEatSyncMenu = class extends
|
|
20118
|
+
var IntegrationJustEatSyncMenu = class extends AbstractApiRequest173 {
|
|
19955
20119
|
constructor(integrationJustEatId) {
|
|
19956
20120
|
super(void 0);
|
|
19957
20121
|
this.method = "POST";
|
|
@@ -19969,12 +20133,12 @@ var IntegrationJustEatSyncMenu = class extends AbstractApiRequest167 {
|
|
|
19969
20133
|
};
|
|
19970
20134
|
|
|
19971
20135
|
// src/requests/services/justeat/IntegrationJustEatSyncOpeningTimes.ts
|
|
19972
|
-
import { AbstractApiRequest as
|
|
20136
|
+
import { AbstractApiRequest as AbstractApiRequest174 } from "@deliverart/sdk-js-core";
|
|
19973
20137
|
var integrationJustEatSyncOpeningHoursInputSchema = external_exports.undefined();
|
|
19974
20138
|
var integrationJustEatSyncOpeningHoursResponseSchema = external_exports.object({
|
|
19975
20139
|
message: external_exports.string()
|
|
19976
20140
|
});
|
|
19977
|
-
var IntegrationJustEatSyncOpeningTimes = class extends
|
|
20141
|
+
var IntegrationJustEatSyncOpeningTimes = class extends AbstractApiRequest174 {
|
|
19978
20142
|
constructor(integrationJustEatId) {
|
|
19979
20143
|
super(void 0);
|
|
19980
20144
|
this.method = "POST";
|
|
@@ -19992,10 +20156,10 @@ var IntegrationJustEatSyncOpeningTimes = class extends AbstractApiRequest168 {
|
|
|
19992
20156
|
};
|
|
19993
20157
|
|
|
19994
20158
|
// src/requests/services/justeat/UpdateIntegrationJustEat.ts
|
|
19995
|
-
import { AbstractApiRequest as
|
|
20159
|
+
import { AbstractApiRequest as AbstractApiRequest175 } from "@deliverart/sdk-js-core";
|
|
19996
20160
|
var updateIntegrationJustEatInputSchema = integrationJustEatEditableFieldsSchema.partial();
|
|
19997
20161
|
var updateIntegrationJustEatResponseSchema = integrationJustEatDetailsSchema;
|
|
19998
|
-
var UpdateIntegrationJustEat = class extends
|
|
20162
|
+
var UpdateIntegrationJustEat = class extends AbstractApiRequest175 {
|
|
19999
20163
|
constructor(integrationJustEatId, input) {
|
|
20000
20164
|
super(input);
|
|
20001
20165
|
this.method = "PATCH";
|
|
@@ -20013,13 +20177,13 @@ var UpdateIntegrationJustEat = class extends AbstractApiRequest169 {
|
|
|
20013
20177
|
};
|
|
20014
20178
|
|
|
20015
20179
|
// src/requests/services/justeat/UpdateIntegrationJustEatRestaurantStatus.ts
|
|
20016
|
-
import { AbstractApiRequest as
|
|
20180
|
+
import { AbstractApiRequest as AbstractApiRequest176 } from "@deliverart/sdk-js-core";
|
|
20017
20181
|
import { emptyResponseSchema as emptyResponseSchema14 } from "@deliverart/sdk-js-global-types";
|
|
20018
20182
|
var updateIntegrationJustEatRestaurantStatusInputSchema = external_exports.object({
|
|
20019
20183
|
status: integrationJustEatRestaurantStatusSchema
|
|
20020
20184
|
});
|
|
20021
20185
|
var updateIntegrationJustEatRestaurantStatusResponseSchema = emptyResponseSchema14;
|
|
20022
|
-
var UpdateIntegrationJustEatRestaurantStatus = class extends
|
|
20186
|
+
var UpdateIntegrationJustEatRestaurantStatus = class extends AbstractApiRequest176 {
|
|
20023
20187
|
constructor(integrationJustEatId, input) {
|
|
20024
20188
|
super(input);
|
|
20025
20189
|
this.method = "POST";
|
|
@@ -20037,13 +20201,13 @@ var UpdateIntegrationJustEatRestaurantStatus = class extends AbstractApiRequest1
|
|
|
20037
20201
|
};
|
|
20038
20202
|
|
|
20039
20203
|
// src/requests/services/kitchen/CreateIntegrationKitchen.ts
|
|
20040
|
-
import { AbstractApiRequest as
|
|
20204
|
+
import { AbstractApiRequest as AbstractApiRequest177 } from "@deliverart/sdk-js-core";
|
|
20041
20205
|
import { pointOfSaleIriSchema as pointOfSaleIriSchema10 } from "@deliverart/sdk-js-point-of-sale";
|
|
20042
20206
|
var createIntegrationKitchenInputSchema = integrationKitchenEditableFieldsSchema.extend({
|
|
20043
20207
|
pointOfSale: pointOfSaleIriSchema10
|
|
20044
20208
|
});
|
|
20045
20209
|
var createIntegrationKitchenResponseSchema = integrationKitchenDetailsSchema;
|
|
20046
|
-
var CreateIntegrationKitchen = class extends
|
|
20210
|
+
var CreateIntegrationKitchen = class extends AbstractApiRequest177 {
|
|
20047
20211
|
constructor(input) {
|
|
20048
20212
|
super(input);
|
|
20049
20213
|
this.method = "POST";
|
|
@@ -20060,10 +20224,10 @@ var CreateIntegrationKitchen = class extends AbstractApiRequest171 {
|
|
|
20060
20224
|
};
|
|
20061
20225
|
|
|
20062
20226
|
// src/requests/services/kitchen/CreateIntegrationKitchenAccessToken.ts
|
|
20063
|
-
import { AbstractApiRequest as
|
|
20227
|
+
import { AbstractApiRequest as AbstractApiRequest178 } from "@deliverart/sdk-js-core";
|
|
20064
20228
|
var createIntegrationKitchenAccessTokenInputSchema = external_exports.undefined();
|
|
20065
20229
|
var createIntegrationKitchenAccessTokenResponseSchema = integrationKitchenAccessTokenDetailsSchema;
|
|
20066
|
-
var CreateIntegrationKitchenAccessToken = class extends
|
|
20230
|
+
var CreateIntegrationKitchenAccessToken = class extends AbstractApiRequest178 {
|
|
20067
20231
|
constructor(integrationKitchenId) {
|
|
20068
20232
|
super(void 0);
|
|
20069
20233
|
this.method = "POST";
|
|
@@ -20081,11 +20245,11 @@ var CreateIntegrationKitchenAccessToken = class extends AbstractApiRequest172 {
|
|
|
20081
20245
|
};
|
|
20082
20246
|
|
|
20083
20247
|
// src/requests/services/kitchen/DeleteIntegrationKitchen.ts
|
|
20084
|
-
import { AbstractApiRequest as
|
|
20248
|
+
import { AbstractApiRequest as AbstractApiRequest179 } from "@deliverart/sdk-js-core";
|
|
20085
20249
|
import { emptyResponseSchema as emptyResponseSchema15 } from "@deliverart/sdk-js-global-types";
|
|
20086
20250
|
var deleteIntegrationKitchenInputSchema = external_exports.undefined();
|
|
20087
20251
|
var deleteIntegrationKitchenResponseSchema = emptyResponseSchema15;
|
|
20088
|
-
var DeleteIntegrationKitchen = class extends
|
|
20252
|
+
var DeleteIntegrationKitchen = class extends AbstractApiRequest179 {
|
|
20089
20253
|
constructor(integrationKitchenId) {
|
|
20090
20254
|
super(void 0);
|
|
20091
20255
|
this.method = "DELETE";
|
|
@@ -20103,11 +20267,11 @@ var DeleteIntegrationKitchen = class extends AbstractApiRequest173 {
|
|
|
20103
20267
|
};
|
|
20104
20268
|
|
|
20105
20269
|
// src/requests/services/kitchen/DeleteIntegrationKitchenAccessToken.ts
|
|
20106
|
-
import { AbstractApiRequest as
|
|
20270
|
+
import { AbstractApiRequest as AbstractApiRequest180 } from "@deliverart/sdk-js-core";
|
|
20107
20271
|
import { emptyResponseSchema as emptyResponseSchema16 } from "@deliverart/sdk-js-global-types";
|
|
20108
20272
|
var deleteIntegrationKitchenAccessTokenInputSchema = external_exports.undefined();
|
|
20109
20273
|
var deleteIntegrationKitchenAccessTokenResponseSchema = emptyResponseSchema16;
|
|
20110
|
-
var DeleteIntegrationKitchenAccessToken = class extends
|
|
20274
|
+
var DeleteIntegrationKitchenAccessToken = class extends AbstractApiRequest180 {
|
|
20111
20275
|
constructor(integrationKitchenId, integrationKitchenAccessTokenId) {
|
|
20112
20276
|
super(void 0);
|
|
20113
20277
|
this.method = "DELETE";
|
|
@@ -20126,10 +20290,10 @@ var DeleteIntegrationKitchenAccessToken = class extends AbstractApiRequest174 {
|
|
|
20126
20290
|
};
|
|
20127
20291
|
|
|
20128
20292
|
// src/requests/services/kitchen/GetIntegrationKitchenAccessTokenDetails.ts
|
|
20129
|
-
import { AbstractApiRequest as
|
|
20293
|
+
import { AbstractApiRequest as AbstractApiRequest181 } from "@deliverart/sdk-js-core";
|
|
20130
20294
|
var getIntegrationKitchenAccessTokenDetailsInputSchema = external_exports.undefined();
|
|
20131
20295
|
var getIntegrationKitchenAccessTokenDetailsResponseSchema = integrationKitchenAccessTokenDetailsSchema;
|
|
20132
|
-
var GetIntegrationKitchenAccessTokenDetails = class extends
|
|
20296
|
+
var GetIntegrationKitchenAccessTokenDetails = class extends AbstractApiRequest181 {
|
|
20133
20297
|
constructor(integrationKitchenId, requestId) {
|
|
20134
20298
|
super(void 0);
|
|
20135
20299
|
this.method = "GET";
|
|
@@ -20148,14 +20312,14 @@ var GetIntegrationKitchenAccessTokenDetails = class extends AbstractApiRequest17
|
|
|
20148
20312
|
};
|
|
20149
20313
|
|
|
20150
20314
|
// src/requests/services/kitchen/GetIntegrationKitchenAccessTokens.ts
|
|
20151
|
-
import { AbstractApiRequest as
|
|
20152
|
-
import { createPaginatedSchema as
|
|
20315
|
+
import { AbstractApiRequest as AbstractApiRequest182 } from "@deliverart/sdk-js-core";
|
|
20316
|
+
import { createPaginatedSchema as createPaginatedSchema41 } from "@deliverart/sdk-js-global-types";
|
|
20153
20317
|
var getIntegrationKitchenAccessTokensQuerySchema = integrationKitchenAccessTokensQuerySchema;
|
|
20154
20318
|
var getIntegrationKitchenAccessTokensInputSchema = external_exports.undefined();
|
|
20155
|
-
var getIntegrationKitchenAccessTokensResponseSchema =
|
|
20319
|
+
var getIntegrationKitchenAccessTokensResponseSchema = createPaginatedSchema41(
|
|
20156
20320
|
integrationKitchenAccessTokenSchema
|
|
20157
20321
|
);
|
|
20158
|
-
var GetIntegrationKitchenAccessTokens = class extends
|
|
20322
|
+
var GetIntegrationKitchenAccessTokens = class extends AbstractApiRequest182 {
|
|
20159
20323
|
constructor(integrationKitchenId, options) {
|
|
20160
20324
|
super(void 0, options);
|
|
20161
20325
|
this.method = "GET";
|
|
@@ -20175,10 +20339,10 @@ var GetIntegrationKitchenAccessTokens = class extends AbstractApiRequest176 {
|
|
|
20175
20339
|
};
|
|
20176
20340
|
|
|
20177
20341
|
// src/requests/services/kitchen/GetIntegrationKitchenDetails.ts
|
|
20178
|
-
import { AbstractApiRequest as
|
|
20342
|
+
import { AbstractApiRequest as AbstractApiRequest183 } from "@deliverart/sdk-js-core";
|
|
20179
20343
|
var getIntegrationKitchenDetailsInputSchema = external_exports.undefined();
|
|
20180
20344
|
var getIntegrationKitchenDetailsResponseSchema = integrationKitchenDetailsSchema;
|
|
20181
|
-
var GetIntegrationKitchenDetails = class extends
|
|
20345
|
+
var GetIntegrationKitchenDetails = class extends AbstractApiRequest183 {
|
|
20182
20346
|
constructor(integrationKitchenId) {
|
|
20183
20347
|
super(void 0);
|
|
20184
20348
|
this.method = "GET";
|
|
@@ -20196,14 +20360,14 @@ var GetIntegrationKitchenDetails = class extends AbstractApiRequest177 {
|
|
|
20196
20360
|
};
|
|
20197
20361
|
|
|
20198
20362
|
// src/requests/services/kitchen/GetIntegrationKitchenList.ts
|
|
20199
|
-
import { AbstractApiRequest as
|
|
20200
|
-
import { createPaginatedSchema as
|
|
20363
|
+
import { AbstractApiRequest as AbstractApiRequest184 } from "@deliverart/sdk-js-core";
|
|
20364
|
+
import { createPaginatedSchema as createPaginatedSchema42 } from "@deliverart/sdk-js-global-types";
|
|
20201
20365
|
var getIntegrationKitchenListQuerySchema = integrationsKitchenQuerySchema.omit({
|
|
20202
20366
|
service: true
|
|
20203
20367
|
});
|
|
20204
|
-
var getIntegrationKitchenListResponseSchema =
|
|
20368
|
+
var getIntegrationKitchenListResponseSchema = createPaginatedSchema42(integrationKitchenSchema);
|
|
20205
20369
|
var getIntegrationKitchenListInputSchema = external_exports.undefined();
|
|
20206
|
-
var GetIntegrationKitchenList = class extends
|
|
20370
|
+
var GetIntegrationKitchenList = class extends AbstractApiRequest184 {
|
|
20207
20371
|
constructor(options) {
|
|
20208
20372
|
super(void 0, options);
|
|
20209
20373
|
this.method = "GET";
|
|
@@ -20222,10 +20386,10 @@ var GetIntegrationKitchenList = class extends AbstractApiRequest178 {
|
|
|
20222
20386
|
};
|
|
20223
20387
|
|
|
20224
20388
|
// src/requests/services/kitchen/UpdateIntegrationKitchen.ts
|
|
20225
|
-
import { AbstractApiRequest as
|
|
20389
|
+
import { AbstractApiRequest as AbstractApiRequest185 } from "@deliverart/sdk-js-core";
|
|
20226
20390
|
var updateIntegrationKitchenInputSchema = integrationKitchenEditableFieldsSchema.partial();
|
|
20227
20391
|
var updateIntegrationKitchenResponseSchema = integrationKitchenDetailsSchema;
|
|
20228
|
-
var UpdateIntegrationKitchen = class extends
|
|
20392
|
+
var UpdateIntegrationKitchen = class extends AbstractApiRequest185 {
|
|
20229
20393
|
constructor(integrationKitchenId, input) {
|
|
20230
20394
|
super(input);
|
|
20231
20395
|
this.method = "PATCH";
|
|
@@ -20243,10 +20407,10 @@ var UpdateIntegrationKitchen = class extends AbstractApiRequest179 {
|
|
|
20243
20407
|
};
|
|
20244
20408
|
|
|
20245
20409
|
// src/requests/UpdateIntegration.ts
|
|
20246
|
-
import { AbstractApiRequest as
|
|
20410
|
+
import { AbstractApiRequest as AbstractApiRequest186 } from "@deliverart/sdk-js-core";
|
|
20247
20411
|
var updateIntegrationInputSchema = writableIntegrationSchema.partial();
|
|
20248
20412
|
var updateIntegrationResponseSchema = integrationDetailsSchema;
|
|
20249
|
-
var UpdateIntegration = class extends
|
|
20413
|
+
var UpdateIntegration = class extends AbstractApiRequest186 {
|
|
20250
20414
|
constructor(integrationId, input) {
|
|
20251
20415
|
super(input);
|
|
20252
20416
|
this.method = "PATCH";
|
|
@@ -20266,10 +20430,12 @@ export {
|
|
|
20266
20430
|
ActivateIntegrationActivationRequest,
|
|
20267
20431
|
AnnotateIntegrationActivationRequest,
|
|
20268
20432
|
CancelIntegrationCancellationRequest,
|
|
20433
|
+
CancelIntegrationDeliverooSiteDayOff,
|
|
20269
20434
|
CreateIntegrationActivationRequest,
|
|
20270
20435
|
CreateIntegrationCancellationRequest,
|
|
20271
20436
|
CreateIntegrationCassaInCloud,
|
|
20272
20437
|
CreateIntegrationDeliveroo,
|
|
20438
|
+
CreateIntegrationDeliverooSiteDayOff,
|
|
20273
20439
|
CreateIntegrationEcommerce,
|
|
20274
20440
|
CreateIntegrationGlovo,
|
|
20275
20441
|
CreateIntegrationJustEat,
|
|
@@ -20356,6 +20522,7 @@ export {
|
|
|
20356
20522
|
GetIntegrationDeliverooClientLogRequestsFromOrder,
|
|
20357
20523
|
GetIntegrationDeliverooDetails,
|
|
20358
20524
|
GetIntegrationDeliverooGlobalClientLogRequests,
|
|
20525
|
+
GetIntegrationDeliverooIntegrationSiteDaysOff,
|
|
20359
20526
|
GetIntegrationDeliverooList,
|
|
20360
20527
|
GetIntegrationDeliverooMenuValidation,
|
|
20361
20528
|
GetIntegrationDeliverooMenuVersionDetails,
|
|
@@ -20404,6 +20571,8 @@ export {
|
|
|
20404
20571
|
GetIntegrationJustEatDetails,
|
|
20405
20572
|
GetIntegrationJustEatGlobalClientLogRequests,
|
|
20406
20573
|
GetIntegrationJustEatList,
|
|
20574
|
+
GetIntegrationJustEatMenuItemAvailabilityDeltaDetails,
|
|
20575
|
+
GetIntegrationJustEatMenuItemAvailabilityDeltas,
|
|
20407
20576
|
GetIntegrationJustEatMenuValidation,
|
|
20408
20577
|
GetIntegrationJustEatMenuVersionDetails,
|
|
20409
20578
|
GetIntegrationJustEatMenuVersions,
|
|
@@ -20436,6 +20605,7 @@ export {
|
|
|
20436
20605
|
UpdateIntegrationActivationRequest,
|
|
20437
20606
|
UpdateIntegrationCassaInCloud,
|
|
20438
20607
|
UpdateIntegrationDeliveroo,
|
|
20608
|
+
UpdateIntegrationDeliverooSiteDayOff,
|
|
20439
20609
|
UpdateIntegrationDeliverooSiteStatus,
|
|
20440
20610
|
UpdateIntegrationEcommerce,
|
|
20441
20611
|
UpdateIntegrationGlovo,
|
|
@@ -20455,6 +20625,8 @@ export {
|
|
|
20455
20625
|
annotateIntegrationActivationRequestResponseSchema,
|
|
20456
20626
|
cancelIntegrationCancellationRequestInputSchema,
|
|
20457
20627
|
cancelIntegrationCancellationRequestResponseSchema,
|
|
20628
|
+
cancelIntegrationDeliverooSiteDayOffInputSchema,
|
|
20629
|
+
cancelIntegrationDeliverooSiteDayOffResponseSchema,
|
|
20458
20630
|
clientLogRequestQuerySchema,
|
|
20459
20631
|
createIntegrationActivationRequestInputSchema,
|
|
20460
20632
|
createIntegrationActivationRequestResponseSchema,
|
|
@@ -20464,6 +20636,8 @@ export {
|
|
|
20464
20636
|
createIntegrationCassaInCloudResponseSchema,
|
|
20465
20637
|
createIntegrationDeliverooInputSchema,
|
|
20466
20638
|
createIntegrationDeliverooResponseSchema,
|
|
20639
|
+
createIntegrationDeliverooSiteDayOffInputSchema,
|
|
20640
|
+
createIntegrationDeliverooSiteDayOffResponseSchema,
|
|
20467
20641
|
createIntegrationEcommerceInputSchema,
|
|
20468
20642
|
createIntegrationEcommerceResponseSchema,
|
|
20469
20643
|
createIntegrationGlovoInputSchema,
|
|
@@ -20677,6 +20851,9 @@ export {
|
|
|
20677
20851
|
getIntegrationDeliverooGlobalClientLogRequestsInputSchema,
|
|
20678
20852
|
getIntegrationDeliverooGlobalClientLogRequestsQuerySchema,
|
|
20679
20853
|
getIntegrationDeliverooGlobalClientLogRequestsResponseSchema,
|
|
20854
|
+
getIntegrationDeliverooIntegrationSiteDaysOffInputSchema,
|
|
20855
|
+
getIntegrationDeliverooIntegrationSiteDaysOffQuerySchema,
|
|
20856
|
+
getIntegrationDeliverooIntegrationSiteDaysOffResponseSchema,
|
|
20680
20857
|
getIntegrationDeliverooListInputSchema,
|
|
20681
20858
|
getIntegrationDeliverooListQuerySchema,
|
|
20682
20859
|
getIntegrationDeliverooListResponseSchema,
|
|
@@ -20799,6 +20976,11 @@ export {
|
|
|
20799
20976
|
getIntegrationJustEatListInputSchema,
|
|
20800
20977
|
getIntegrationJustEatListQuerySchema,
|
|
20801
20978
|
getIntegrationJustEatListResponseSchema,
|
|
20979
|
+
getIntegrationJustEatMenuItemAvailabilityDeltaDetailsInputSchema,
|
|
20980
|
+
getIntegrationJustEatMenuItemAvailabilityDeltaDetailsResponseSchema,
|
|
20981
|
+
getIntegrationJustEatMenuItemAvailabilityDeltasInputSchema,
|
|
20982
|
+
getIntegrationJustEatMenuItemAvailabilityDeltasQuerySchema,
|
|
20983
|
+
getIntegrationJustEatMenuItemAvailabilityDeltasResponseSchema,
|
|
20802
20984
|
getIntegrationJustEatMenuValidationInputSchema,
|
|
20803
20985
|
getIntegrationJustEatMenuValidationResponseSchema,
|
|
20804
20986
|
getIntegrationJustEatMenuVersionDetailsInputSchema,
|
|
@@ -21011,6 +21193,9 @@ export {
|
|
|
21011
21193
|
integrationDeliverooOrderSchema,
|
|
21012
21194
|
integrationDeliverooOrdersQuerySchema,
|
|
21013
21195
|
integrationDeliverooSchema,
|
|
21196
|
+
integrationDeliverooSiteDayOffInputSchema,
|
|
21197
|
+
integrationDeliverooSiteDayOffResponseSchema,
|
|
21198
|
+
integrationDeliverooSiteDaysOffResponseSchema,
|
|
21014
21199
|
integrationDeliverooSiteStatusSchema,
|
|
21015
21200
|
integrationDeliverooSiteStatuses,
|
|
21016
21201
|
integrationDeliverooSyncMenuInputSchema,
|
|
@@ -21103,6 +21288,9 @@ export {
|
|
|
21103
21288
|
integrationJustEatDetailsSchema,
|
|
21104
21289
|
integrationJustEatEditableFieldsSchema,
|
|
21105
21290
|
integrationJustEatIriSchema,
|
|
21291
|
+
integrationJustEatMenuItemAvailabilityDeltaDetailsSchema,
|
|
21292
|
+
integrationJustEatMenuItemAvailabilityDeltaSchema,
|
|
21293
|
+
integrationJustEatMenuItemAvailabilityDeltasQuerySchema,
|
|
21106
21294
|
integrationJustEatMenuTypeSchema,
|
|
21107
21295
|
integrationJustEatMenuTypes,
|
|
21108
21296
|
integrationJustEatMenuValidationQuerySchema,
|
|
@@ -21169,6 +21357,8 @@ export {
|
|
|
21169
21357
|
updateIntegrationCassaInCloudResponseSchema,
|
|
21170
21358
|
updateIntegrationDeliverooInputSchema,
|
|
21171
21359
|
updateIntegrationDeliverooResponseSchema,
|
|
21360
|
+
updateIntegrationDeliverooSiteDayOffInputSchema,
|
|
21361
|
+
updateIntegrationDeliverooSiteDayOffResponseSchema,
|
|
21172
21362
|
updateIntegrationDeliverooSiteStatusInputSchema,
|
|
21173
21363
|
updateIntegrationDeliverooSiteStatusResponseSchema,
|
|
21174
21364
|
updateIntegrationEcommerceInputSchema,
|