@deliverart/sdk-js-integration 2.5.34 → 2.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +70 -182
- package/dist/index.d.cts +3921 -1557
- package/dist/index.d.ts +3921 -1557
- package/dist/index.js +92 -264
- package/package.json +7 -7
package/dist/index.js
CHANGED
|
@@ -12127,8 +12127,7 @@ var GetIntegrationActivationRequestDetails = class extends AbstractApiRequest5 {
|
|
|
12127
12127
|
// src/requests/activation-requests/GetIntegrationActivationRequests.ts
|
|
12128
12128
|
import { AbstractApiRequest as AbstractApiRequest6 } from "@deliverart/sdk-js-core";
|
|
12129
12129
|
import {
|
|
12130
|
-
|
|
12131
|
-
responseToPagination,
|
|
12130
|
+
mixedPaginationSchema,
|
|
12132
12131
|
sortDirSchema as sortDirSchema6,
|
|
12133
12132
|
timestampsFilterSchema as timestampsFilterSchema5
|
|
12134
12133
|
} from "@deliverart/sdk-js-global-types";
|
|
@@ -12148,7 +12147,7 @@ var getIntegrationActivationRequestsQuerySchema = external_exports.object({
|
|
|
12148
12147
|
page: external_exports.coerce.number().optional()
|
|
12149
12148
|
}).extend(timestampsFilterSchema5.shape);
|
|
12150
12149
|
var getIntegrationActivationRequestsInputSchema = external_exports.undefined();
|
|
12151
|
-
var getIntegrationActivationRequestsResponseSchema =
|
|
12150
|
+
var getIntegrationActivationRequestsResponseSchema = mixedPaginationSchema(
|
|
12152
12151
|
integrationActivationRequestSchema
|
|
12153
12152
|
);
|
|
12154
12153
|
var GetIntegrationActivationRequests = class extends AbstractApiRequest6 {
|
|
@@ -12161,17 +12160,12 @@ var GetIntegrationActivationRequests = class extends AbstractApiRequest6 {
|
|
|
12161
12160
|
this.outputSchema = getIntegrationActivationRequestsResponseSchema;
|
|
12162
12161
|
this.querySchema = getIntegrationActivationRequestsQuerySchema;
|
|
12163
12162
|
this.headersSchema = void 0;
|
|
12163
|
+
this.listItemSchema = integrationActivationRequestSchema;
|
|
12164
|
+
this.paginationDefaultEnabled = true;
|
|
12164
12165
|
}
|
|
12165
12166
|
getPath() {
|
|
12166
12167
|
return "/integrations/activation_requests";
|
|
12167
12168
|
}
|
|
12168
|
-
parseResponse(data, rawResponse) {
|
|
12169
|
-
const integrations = external_exports.array(integrationActivationRequestSchema).parse(data);
|
|
12170
|
-
return this.validateOutput({
|
|
12171
|
-
data: integrations,
|
|
12172
|
-
pagination: responseToPagination(rawResponse)
|
|
12173
|
-
});
|
|
12174
|
-
}
|
|
12175
12169
|
};
|
|
12176
12170
|
|
|
12177
12171
|
// src/requests/activation-requests/GetIntegrationActivationRequestsFromPointOfSale.ts
|
|
@@ -12206,14 +12200,13 @@ var GetIntegrationActivationRequestsFromPointOfSale = class extends AbstractApiR
|
|
|
12206
12200
|
this.outputSchema = getIntegrationActivationRequestsFromPointOfSaleResponseSchema;
|
|
12207
12201
|
this.querySchema = getIntegrationActivationRequestsFromPointOfSaleQuerySchema;
|
|
12208
12202
|
this.headersSchema = void 0;
|
|
12203
|
+
this.listItemSchema = integrationActivationRequestSchema;
|
|
12204
|
+
this.paginationDefaultEnabled = false;
|
|
12209
12205
|
this.pointOfSaleId = pointOfSaleId;
|
|
12210
12206
|
}
|
|
12211
12207
|
getPath() {
|
|
12212
12208
|
return `/point_of_sales/${this.pointOfSaleId}/integrations/activation_requests`;
|
|
12213
12209
|
}
|
|
12214
|
-
parseResponse(data) {
|
|
12215
|
-
return external_exports.array(integrationActivationRequestSchema).parse(data);
|
|
12216
|
-
}
|
|
12217
12210
|
};
|
|
12218
12211
|
|
|
12219
12212
|
// src/requests/activation-requests/RespondIntegrationActivationRequest.ts
|
|
@@ -12401,8 +12394,7 @@ var GetIntegrationCancellationRequestDetails = class extends AbstractApiRequest1
|
|
|
12401
12394
|
// src/requests/cancellation-requests/GetIntegrationCancellationRequests.ts
|
|
12402
12395
|
import { AbstractApiRequest as AbstractApiRequest15 } from "@deliverart/sdk-js-core";
|
|
12403
12396
|
import {
|
|
12404
|
-
|
|
12405
|
-
responseToPagination as responseToPagination2,
|
|
12397
|
+
mixedPaginationSchema as mixedPaginationSchema2,
|
|
12406
12398
|
sortDirSchema as sortDirSchema8,
|
|
12407
12399
|
timestampsFilterSchema as timestampsFilterSchema7
|
|
12408
12400
|
} from "@deliverart/sdk-js-global-types";
|
|
@@ -12416,7 +12408,7 @@ var getIntegrationCancellationRequestsQuerySchema = external_exports.object({
|
|
|
12416
12408
|
page: external_exports.coerce.number().optional()
|
|
12417
12409
|
}).extend(timestampsFilterSchema7.shape);
|
|
12418
12410
|
var getIntegrationCancellationRequestsInputSchema = external_exports.undefined();
|
|
12419
|
-
var getIntegrationCancellationRequestsResponseSchema =
|
|
12411
|
+
var getIntegrationCancellationRequestsResponseSchema = mixedPaginationSchema2(
|
|
12420
12412
|
integrationCancellationRequestSchema
|
|
12421
12413
|
);
|
|
12422
12414
|
var GetIntegrationCancellationRequests = class extends AbstractApiRequest15 {
|
|
@@ -12429,17 +12421,12 @@ var GetIntegrationCancellationRequests = class extends AbstractApiRequest15 {
|
|
|
12429
12421
|
this.outputSchema = getIntegrationCancellationRequestsResponseSchema;
|
|
12430
12422
|
this.querySchema = getIntegrationCancellationRequestsQuerySchema;
|
|
12431
12423
|
this.headersSchema = void 0;
|
|
12424
|
+
this.listItemSchema = integrationCancellationRequestSchema;
|
|
12425
|
+
this.paginationDefaultEnabled = true;
|
|
12432
12426
|
}
|
|
12433
12427
|
getPath() {
|
|
12434
12428
|
return "/integrations/cancellation_requests";
|
|
12435
12429
|
}
|
|
12436
|
-
parseResponse(data, rawResponse) {
|
|
12437
|
-
const integrations = external_exports.array(integrationCancellationRequestSchema).parse(data);
|
|
12438
|
-
return this.validateOutput({
|
|
12439
|
-
data: integrations,
|
|
12440
|
-
pagination: responseToPagination2(rawResponse)
|
|
12441
|
-
});
|
|
12442
|
-
}
|
|
12443
12430
|
};
|
|
12444
12431
|
|
|
12445
12432
|
// src/requests/DeleteIntegration.ts
|
|
@@ -12488,8 +12475,7 @@ var GetIntegrationDetails = class extends AbstractApiRequest17 {
|
|
|
12488
12475
|
// src/requests/GetIntegrations.ts
|
|
12489
12476
|
import { AbstractApiRequest as AbstractApiRequest18 } from "@deliverart/sdk-js-core";
|
|
12490
12477
|
import {
|
|
12491
|
-
|
|
12492
|
-
responseToPagination as responseToPagination3,
|
|
12478
|
+
mixedPaginationSchema as mixedPaginationSchema3,
|
|
12493
12479
|
sortDirSchema as sortDirSchema9,
|
|
12494
12480
|
timestampsFilterSchema as timestampsFilterSchema8
|
|
12495
12481
|
} from "@deliverart/sdk-js-global-types";
|
|
@@ -12502,7 +12488,7 @@ var getIntegrationsQuerySchema = external_exports.object({
|
|
|
12502
12488
|
page: external_exports.coerce.number().optional()
|
|
12503
12489
|
}).extend(timestampsFilterSchema8.shape);
|
|
12504
12490
|
var getIntegrationsInputSchema = external_exports.undefined();
|
|
12505
|
-
var getIntegrationsResponseSchema =
|
|
12491
|
+
var getIntegrationsResponseSchema = mixedPaginationSchema3(integrationSchema);
|
|
12506
12492
|
var GetIntegrations = class extends AbstractApiRequest18 {
|
|
12507
12493
|
constructor(options) {
|
|
12508
12494
|
super(void 0, options);
|
|
@@ -12513,17 +12499,12 @@ var GetIntegrations = class extends AbstractApiRequest18 {
|
|
|
12513
12499
|
this.outputSchema = getIntegrationsResponseSchema;
|
|
12514
12500
|
this.querySchema = getIntegrationsQuerySchema;
|
|
12515
12501
|
this.headersSchema = void 0;
|
|
12502
|
+
this.listItemSchema = integrationSchema;
|
|
12503
|
+
this.paginationDefaultEnabled = true;
|
|
12516
12504
|
}
|
|
12517
12505
|
getPath() {
|
|
12518
12506
|
return "/integrations";
|
|
12519
12507
|
}
|
|
12520
|
-
parseResponse(data, rawResponse) {
|
|
12521
|
-
const integrations = external_exports.array(integrationSchema).parse(data);
|
|
12522
|
-
return this.validateOutput({
|
|
12523
|
-
data: integrations,
|
|
12524
|
-
pagination: responseToPagination3(rawResponse)
|
|
12525
|
-
});
|
|
12526
|
-
}
|
|
12527
12508
|
};
|
|
12528
12509
|
|
|
12529
12510
|
// src/requests/GetIntegrationsFromPointOfSale.ts
|
|
@@ -12549,14 +12530,13 @@ var GetIntegrationsFromPointOfSale = class extends AbstractApiRequest19 {
|
|
|
12549
12530
|
this.outputSchema = getIntegrationsFromPointOfSaleResponseSchema;
|
|
12550
12531
|
this.querySchema = getIntegrationsFromPointOfSaleQuerySchema;
|
|
12551
12532
|
this.headersSchema = void 0;
|
|
12533
|
+
this.listItemSchema = integrationSchema;
|
|
12534
|
+
this.paginationDefaultEnabled = false;
|
|
12552
12535
|
this.pointOfSaleId = pointOfSaleId;
|
|
12553
12536
|
}
|
|
12554
12537
|
getPath() {
|
|
12555
12538
|
return `/point_of_sales/${this.pointOfSaleId}/integrations`;
|
|
12556
12539
|
}
|
|
12557
|
-
parseResponse(data) {
|
|
12558
|
-
return external_exports.array(integrationSchema).parse(data);
|
|
12559
|
-
}
|
|
12560
12540
|
};
|
|
12561
12541
|
|
|
12562
12542
|
// src/requests/services/cassa_in_cloud/CreateIntegrationCassaInCloud.ts
|
|
@@ -12628,13 +12608,10 @@ var GetIntegrationCassaInCloudClientLogRequestDetails = class extends AbstractAp
|
|
|
12628
12608
|
|
|
12629
12609
|
// src/requests/services/cassa_in_cloud/GetIntegrationCassaInCloudClientLogRequests.ts
|
|
12630
12610
|
import { AbstractApiRequest as AbstractApiRequest23 } from "@deliverart/sdk-js-core";
|
|
12631
|
-
import {
|
|
12632
|
-
createPaginatedSchema as createPaginatedSchema4,
|
|
12633
|
-
responseToPagination as responseToPagination4
|
|
12634
|
-
} from "@deliverart/sdk-js-global-types";
|
|
12611
|
+
import { mixedPaginationSchema as mixedPaginationSchema4 } from "@deliverart/sdk-js-global-types";
|
|
12635
12612
|
var getIntegrationCassaInCloudClientLogRequestsQuerySchema = clientLogRequestQuerySchema;
|
|
12636
12613
|
var getIntegrationCassaInCloudClientLogRequestsInputSchema = external_exports.undefined();
|
|
12637
|
-
var getIntegrationCassaInCloudClientLogRequestsResponseSchema =
|
|
12614
|
+
var getIntegrationCassaInCloudClientLogRequestsResponseSchema = mixedPaginationSchema4(
|
|
12638
12615
|
integrationClientLogRequestSchema
|
|
12639
12616
|
);
|
|
12640
12617
|
var GetIntegrationCassaInCloudClientLogRequests = class extends AbstractApiRequest23 {
|
|
@@ -12647,18 +12624,13 @@ var GetIntegrationCassaInCloudClientLogRequests = class extends AbstractApiReque
|
|
|
12647
12624
|
this.outputSchema = getIntegrationCassaInCloudClientLogRequestsResponseSchema;
|
|
12648
12625
|
this.querySchema = getIntegrationCassaInCloudClientLogRequestsQuerySchema;
|
|
12649
12626
|
this.headersSchema = void 0;
|
|
12627
|
+
this.listItemSchema = integrationClientLogRequestSchema;
|
|
12628
|
+
this.paginationDefaultEnabled = true;
|
|
12650
12629
|
this.integrationCassaInCloudId = integrationCassaInCloudId;
|
|
12651
12630
|
}
|
|
12652
12631
|
getPath() {
|
|
12653
12632
|
return `/integrations/cassa_in_cloud/${this.integrationCassaInCloudId}/client_log_requests`;
|
|
12654
12633
|
}
|
|
12655
|
-
parseResponse(data, rawResponse) {
|
|
12656
|
-
const integrations = external_exports.array(integrationClientLogRequestSchema).parse(data);
|
|
12657
|
-
return this.validateOutput({
|
|
12658
|
-
data: integrations,
|
|
12659
|
-
pagination: responseToPagination4(rawResponse)
|
|
12660
|
-
});
|
|
12661
|
-
}
|
|
12662
12634
|
};
|
|
12663
12635
|
|
|
12664
12636
|
// src/requests/services/cassa_in_cloud/GetIntegrationCassaInCloudDetails.ts
|
|
@@ -12684,15 +12656,12 @@ var GetIntegrationCassaInCloudDetails = class extends AbstractApiRequest24 {
|
|
|
12684
12656
|
|
|
12685
12657
|
// src/requests/services/cassa_in_cloud/GetIntegrationCassaInCloudList.ts
|
|
12686
12658
|
import { AbstractApiRequest as AbstractApiRequest25 } from "@deliverart/sdk-js-core";
|
|
12687
|
-
import {
|
|
12688
|
-
createPaginatedSchema as createPaginatedSchema5,
|
|
12689
|
-
responseToPagination as responseToPagination5
|
|
12690
|
-
} from "@deliverart/sdk-js-global-types";
|
|
12659
|
+
import { mixedPaginationSchema as mixedPaginationSchema5 } from "@deliverart/sdk-js-global-types";
|
|
12691
12660
|
var getIntegrationCassaInCloudListQuerySchema = integrationsCassaInCloudQuerySchema.omit({
|
|
12692
12661
|
service: true
|
|
12693
12662
|
});
|
|
12694
12663
|
var getIntegrationCassaInCloudListInputSchema = external_exports.undefined();
|
|
12695
|
-
var getIntegrationCassaInCloudListResponseSchema =
|
|
12664
|
+
var getIntegrationCassaInCloudListResponseSchema = mixedPaginationSchema5(
|
|
12696
12665
|
integrationCassaInCloudSchema
|
|
12697
12666
|
);
|
|
12698
12667
|
var GetIntegrationCassaInCloudList = class extends AbstractApiRequest25 {
|
|
@@ -12705,17 +12674,12 @@ var GetIntegrationCassaInCloudList = class extends AbstractApiRequest25 {
|
|
|
12705
12674
|
this.outputSchema = getIntegrationCassaInCloudListResponseSchema;
|
|
12706
12675
|
this.querySchema = getIntegrationCassaInCloudListQuerySchema;
|
|
12707
12676
|
this.headersSchema = void 0;
|
|
12677
|
+
this.listItemSchema = integrationCassaInCloudSchema;
|
|
12678
|
+
this.paginationDefaultEnabled = true;
|
|
12708
12679
|
}
|
|
12709
12680
|
getPath() {
|
|
12710
12681
|
return "/integrations/cassa_in_cloud";
|
|
12711
12682
|
}
|
|
12712
|
-
parseResponse(data, rawResponse) {
|
|
12713
|
-
const integrations = external_exports.array(integrationCassaInCloudSchema).parse(data);
|
|
12714
|
-
return this.validateOutput({
|
|
12715
|
-
data: integrations,
|
|
12716
|
-
pagination: responseToPagination5(rawResponse)
|
|
12717
|
-
});
|
|
12718
|
-
}
|
|
12719
12683
|
};
|
|
12720
12684
|
|
|
12721
12685
|
// src/requests/services/cassa_in_cloud/GetIntegrationCassaInCloudSyncMenuProcessDetails.ts
|
|
@@ -12742,15 +12706,12 @@ var GetIntegrationCassaInCloudSyncMenuProcessDetails = class extends AbstractApi
|
|
|
12742
12706
|
|
|
12743
12707
|
// src/requests/services/cassa_in_cloud/GetIntegrationCassaInCloudSyncMenuProcesses.ts
|
|
12744
12708
|
import { AbstractApiRequest as AbstractApiRequest27 } from "@deliverart/sdk-js-core";
|
|
12745
|
-
import {
|
|
12746
|
-
createPaginatedSchema as createPaginatedSchema6,
|
|
12747
|
-
responseToPagination as responseToPagination6
|
|
12748
|
-
} from "@deliverart/sdk-js-global-types";
|
|
12709
|
+
import { mixedPaginationSchema as mixedPaginationSchema6 } from "@deliverart/sdk-js-global-types";
|
|
12749
12710
|
var getIntegrationCassaInCloudSyncMenuProcessesQuerySchema = external_exports.object({
|
|
12750
12711
|
page: external_exports.coerce.number().optional()
|
|
12751
12712
|
});
|
|
12752
12713
|
var getIntegrationCassaInCloudSyncMenuProcessesInputSchema = external_exports.undefined();
|
|
12753
|
-
var getIntegrationCassaInCloudSyncMenuProcessesResponseSchema =
|
|
12714
|
+
var getIntegrationCassaInCloudSyncMenuProcessesResponseSchema = mixedPaginationSchema6(
|
|
12754
12715
|
integrationCassaInCloudSyncMenuProcessSchema
|
|
12755
12716
|
);
|
|
12756
12717
|
var GetIntegrationCassaInCloudSyncMenuProcesses = class extends AbstractApiRequest27 {
|
|
@@ -12763,18 +12724,13 @@ var GetIntegrationCassaInCloudSyncMenuProcesses = class extends AbstractApiReque
|
|
|
12763
12724
|
this.outputSchema = getIntegrationCassaInCloudSyncMenuProcessesResponseSchema;
|
|
12764
12725
|
this.querySchema = getIntegrationCassaInCloudSyncMenuProcessesQuerySchema;
|
|
12765
12726
|
this.headersSchema = void 0;
|
|
12727
|
+
this.listItemSchema = integrationCassaInCloudSyncMenuProcessSchema;
|
|
12728
|
+
this.paginationDefaultEnabled = true;
|
|
12766
12729
|
this.integrationCassaInCloudId = integrationCassaInCloudId;
|
|
12767
12730
|
}
|
|
12768
12731
|
getPath() {
|
|
12769
12732
|
return `/integrations/cassa_in_cloud/${this.integrationCassaInCloudId}/sync_menu_processes`;
|
|
12770
12733
|
}
|
|
12771
|
-
parseResponse(data, rawResponse) {
|
|
12772
|
-
const integrations = external_exports.array(integrationCassaInCloudSyncMenuProcessSchema).parse(data);
|
|
12773
|
-
return this.validateOutput({
|
|
12774
|
-
data: integrations,
|
|
12775
|
-
pagination: responseToPagination6(rawResponse)
|
|
12776
|
-
});
|
|
12777
|
-
}
|
|
12778
12734
|
};
|
|
12779
12735
|
|
|
12780
12736
|
// src/requests/services/cassa_in_cloud/GetIntegrationCassaInCloudWebHookEventDetails.ts
|
|
@@ -12801,13 +12757,10 @@ var GetIntegrationCassaInCloudWebHookEventDetails = class extends AbstractApiReq
|
|
|
12801
12757
|
|
|
12802
12758
|
// src/requests/services/cassa_in_cloud/GetIntegrationCassaInCloudWebHookEvents.ts
|
|
12803
12759
|
import { AbstractApiRequest as AbstractApiRequest29 } from "@deliverart/sdk-js-core";
|
|
12804
|
-
import {
|
|
12805
|
-
createPaginatedSchema as createPaginatedSchema7,
|
|
12806
|
-
responseToPagination as responseToPagination7
|
|
12807
|
-
} from "@deliverart/sdk-js-global-types";
|
|
12760
|
+
import { mixedPaginationSchema as mixedPaginationSchema7 } from "@deliverart/sdk-js-global-types";
|
|
12808
12761
|
var getIntegrationCassaInCloudWebHookEventsQuerySchema = integrationCassaInCloudWebHookEventsQuerySchema;
|
|
12809
12762
|
var getIntegrationCassaInCloudWebHookEventsInputSchema = external_exports.undefined();
|
|
12810
|
-
var getIntegrationCassaInCloudWebHookEventsResponseSchema =
|
|
12763
|
+
var getIntegrationCassaInCloudWebHookEventsResponseSchema = mixedPaginationSchema7(
|
|
12811
12764
|
integrationCassaInCloudWebHookEventSchema
|
|
12812
12765
|
);
|
|
12813
12766
|
var GetIntegrationCassaInCloudWebHookEvents = class extends AbstractApiRequest29 {
|
|
@@ -12820,18 +12773,13 @@ var GetIntegrationCassaInCloudWebHookEvents = class extends AbstractApiRequest29
|
|
|
12820
12773
|
this.outputSchema = getIntegrationCassaInCloudWebHookEventsResponseSchema;
|
|
12821
12774
|
this.querySchema = getIntegrationCassaInCloudWebHookEventsQuerySchema;
|
|
12822
12775
|
this.headersSchema = void 0;
|
|
12776
|
+
this.listItemSchema = integrationCassaInCloudWebHookEventSchema;
|
|
12777
|
+
this.paginationDefaultEnabled = true;
|
|
12823
12778
|
this.integrationCassaInCloudId = integrationCassaInCloudId;
|
|
12824
12779
|
}
|
|
12825
12780
|
getPath() {
|
|
12826
12781
|
return `/integrations/cassa_in_cloud/${this.integrationCassaInCloudId}/webhook_events`;
|
|
12827
12782
|
}
|
|
12828
|
-
parseResponse(data, rawResponse) {
|
|
12829
|
-
const integrations = external_exports.array(integrationCassaInCloudWebHookEventSchema).parse(data);
|
|
12830
|
-
return this.validateOutput({
|
|
12831
|
-
data: integrations,
|
|
12832
|
-
pagination: responseToPagination7(rawResponse)
|
|
12833
|
-
});
|
|
12834
|
-
}
|
|
12835
12783
|
};
|
|
12836
12784
|
|
|
12837
12785
|
// src/requests/services/cassa_in_cloud/IntegrationCassaInCloudSyncCustomers.ts
|
|
@@ -13050,13 +12998,10 @@ var GetIntegrationDeliverooClientLogRequestDetails = class extends AbstractApiRe
|
|
|
13050
12998
|
|
|
13051
12999
|
// src/requests/services/deliveroo/GetIntegrationDeliverooClientLogRequests.ts
|
|
13052
13000
|
import { AbstractApiRequest as AbstractApiRequest40 } from "@deliverart/sdk-js-core";
|
|
13053
|
-
import {
|
|
13054
|
-
createPaginatedSchema as createPaginatedSchema8,
|
|
13055
|
-
responseToPagination as responseToPagination8
|
|
13056
|
-
} from "@deliverart/sdk-js-global-types";
|
|
13001
|
+
import { mixedPaginationSchema as mixedPaginationSchema8 } from "@deliverart/sdk-js-global-types";
|
|
13057
13002
|
var getIntegrationDeliverooClientLogRequestsQuerySchema = clientLogRequestQuerySchema;
|
|
13058
13003
|
var getIntegrationDeliverooClientLogRequestsInputSchema = external_exports.undefined();
|
|
13059
|
-
var getIntegrationDeliverooClientLogRequestsResponseSchema =
|
|
13004
|
+
var getIntegrationDeliverooClientLogRequestsResponseSchema = mixedPaginationSchema8(
|
|
13060
13005
|
integrationClientLogRequestSchema
|
|
13061
13006
|
);
|
|
13062
13007
|
var GetIntegrationDeliverooClientLogRequests = class extends AbstractApiRequest40 {
|
|
@@ -13069,18 +13014,13 @@ var GetIntegrationDeliverooClientLogRequests = class extends AbstractApiRequest4
|
|
|
13069
13014
|
this.outputSchema = getIntegrationDeliverooClientLogRequestsResponseSchema;
|
|
13070
13015
|
this.querySchema = getIntegrationDeliverooClientLogRequestsQuerySchema;
|
|
13071
13016
|
this.headersSchema = void 0;
|
|
13017
|
+
this.listItemSchema = integrationClientLogRequestSchema;
|
|
13018
|
+
this.paginationDefaultEnabled = true;
|
|
13072
13019
|
this.integrationDeliverooId = integrationDeliverooId;
|
|
13073
13020
|
}
|
|
13074
13021
|
getPath() {
|
|
13075
13022
|
return `/integrations/deliveroo/${this.integrationDeliverooId}/client_log_requests`;
|
|
13076
13023
|
}
|
|
13077
|
-
parseResponse(data, rawResponse) {
|
|
13078
|
-
const integrations = external_exports.array(integrationClientLogRequestSchema).parse(data);
|
|
13079
|
-
return this.validateOutput({
|
|
13080
|
-
data: integrations,
|
|
13081
|
-
pagination: responseToPagination8(rawResponse)
|
|
13082
|
-
});
|
|
13083
|
-
}
|
|
13084
13024
|
};
|
|
13085
13025
|
|
|
13086
13026
|
// src/requests/services/deliveroo/GetIntegrationDeliverooDetails.ts
|
|
@@ -13106,14 +13046,11 @@ var GetIntegrationDeliverooDetails = class extends AbstractApiRequest41 {
|
|
|
13106
13046
|
|
|
13107
13047
|
// src/requests/services/deliveroo/GetIntegrationDeliverooList.ts
|
|
13108
13048
|
import { AbstractApiRequest as AbstractApiRequest42 } from "@deliverart/sdk-js-core";
|
|
13109
|
-
import {
|
|
13110
|
-
createPaginatedSchema as createPaginatedSchema9,
|
|
13111
|
-
responseToPagination as responseToPagination9
|
|
13112
|
-
} from "@deliverart/sdk-js-global-types";
|
|
13049
|
+
import { mixedPaginationSchema as mixedPaginationSchema9 } from "@deliverart/sdk-js-global-types";
|
|
13113
13050
|
var getIntegrationDeliverooListQuerySchema = integrationsDeliverooQuerySchema.omit({
|
|
13114
13051
|
service: true
|
|
13115
13052
|
});
|
|
13116
|
-
var getIntegrationDeliverooListResponseSchema =
|
|
13053
|
+
var getIntegrationDeliverooListResponseSchema = mixedPaginationSchema9(
|
|
13117
13054
|
integrationDeliverooSchema
|
|
13118
13055
|
);
|
|
13119
13056
|
var getIntegrationDeliverooListInputSchema = external_exports.undefined();
|
|
@@ -13127,17 +13064,12 @@ var GetIntegrationDeliverooList = class extends AbstractApiRequest42 {
|
|
|
13127
13064
|
this.outputSchema = getIntegrationDeliverooListResponseSchema;
|
|
13128
13065
|
this.querySchema = getIntegrationDeliverooListQuerySchema;
|
|
13129
13066
|
this.headersSchema = void 0;
|
|
13067
|
+
this.listItemSchema = integrationDeliverooSchema;
|
|
13068
|
+
this.paginationDefaultEnabled = true;
|
|
13130
13069
|
}
|
|
13131
13070
|
getPath() {
|
|
13132
13071
|
return "/integrations/deliveroo";
|
|
13133
13072
|
}
|
|
13134
|
-
parseResponse(data, rawResponse) {
|
|
13135
|
-
const integrations = external_exports.array(integrationDeliverooSchema).parse(data);
|
|
13136
|
-
return this.validateOutput({
|
|
13137
|
-
data: integrations,
|
|
13138
|
-
pagination: responseToPagination9(rawResponse)
|
|
13139
|
-
});
|
|
13140
|
-
}
|
|
13141
13073
|
};
|
|
13142
13074
|
|
|
13143
13075
|
// src/requests/services/deliveroo/GetIntegrationDeliverooMenuVersionDetails.ts
|
|
@@ -13164,15 +13096,12 @@ var GetIntegrationDeliverooMenuVersionDetails = class extends AbstractApiRequest
|
|
|
13164
13096
|
|
|
13165
13097
|
// src/requests/services/deliveroo/GetIntegrationDeliverooMenuVersions.ts
|
|
13166
13098
|
import { AbstractApiRequest as AbstractApiRequest44 } from "@deliverart/sdk-js-core";
|
|
13167
|
-
import {
|
|
13168
|
-
createPaginatedSchema as createPaginatedSchema10,
|
|
13169
|
-
responseToPagination as responseToPagination10
|
|
13170
|
-
} from "@deliverart/sdk-js-global-types";
|
|
13099
|
+
import { mixedPaginationSchema as mixedPaginationSchema10 } from "@deliverart/sdk-js-global-types";
|
|
13171
13100
|
var getIntegrationDeliverooMenuVersionsQuerySchema = external_exports.object({
|
|
13172
13101
|
page: external_exports.coerce.number().optional()
|
|
13173
13102
|
});
|
|
13174
13103
|
var getIntegrationDeliverooMenuVersionsInputSchema = external_exports.undefined();
|
|
13175
|
-
var getIntegrationDeliverooMenuVersionsResponseSchema =
|
|
13104
|
+
var getIntegrationDeliverooMenuVersionsResponseSchema = mixedPaginationSchema10(menuVersionSchema);
|
|
13176
13105
|
var GetIntegrationDeliverooMenuVersions = class extends AbstractApiRequest44 {
|
|
13177
13106
|
constructor(integrationDeliverooId, options) {
|
|
13178
13107
|
super(void 0, options);
|
|
@@ -13183,18 +13112,13 @@ var GetIntegrationDeliverooMenuVersions = class extends AbstractApiRequest44 {
|
|
|
13183
13112
|
this.outputSchema = getIntegrationDeliverooMenuVersionsResponseSchema;
|
|
13184
13113
|
this.querySchema = getIntegrationDeliverooMenuVersionsQuerySchema;
|
|
13185
13114
|
this.headersSchema = void 0;
|
|
13115
|
+
this.listItemSchema = menuVersionSchema;
|
|
13116
|
+
this.paginationDefaultEnabled = true;
|
|
13186
13117
|
this.integrationDeliverooId = integrationDeliverooId;
|
|
13187
13118
|
}
|
|
13188
13119
|
getPath() {
|
|
13189
13120
|
return `/integrations/deliveroo/${this.integrationDeliverooId}/menu_versions`;
|
|
13190
13121
|
}
|
|
13191
|
-
parseResponse(data, rawResponse) {
|
|
13192
|
-
const integrations = external_exports.array(menuVersionSchema).parse(data);
|
|
13193
|
-
return this.validateOutput({
|
|
13194
|
-
data: integrations,
|
|
13195
|
-
pagination: responseToPagination10(rawResponse)
|
|
13196
|
-
});
|
|
13197
|
-
}
|
|
13198
13122
|
};
|
|
13199
13123
|
|
|
13200
13124
|
// src/requests/services/deliveroo/GetIntegrationDeliverooSyncMenuProcessDetails.ts
|
|
@@ -13221,15 +13145,12 @@ var GetIntegrationDeliverooSyncMenuProcessDetails = class extends AbstractApiReq
|
|
|
13221
13145
|
|
|
13222
13146
|
// src/requests/services/deliveroo/GetIntegrationDeliverooSyncMenuProcesses.ts
|
|
13223
13147
|
import { AbstractApiRequest as AbstractApiRequest46 } from "@deliverart/sdk-js-core";
|
|
13224
|
-
import {
|
|
13225
|
-
createPaginatedSchema as createPaginatedSchema11,
|
|
13226
|
-
responseToPagination as responseToPagination11
|
|
13227
|
-
} from "@deliverart/sdk-js-global-types";
|
|
13148
|
+
import { mixedPaginationSchema as mixedPaginationSchema11 } from "@deliverart/sdk-js-global-types";
|
|
13228
13149
|
var getIntegrationDeliverooSyncMenuProcessesQuerySchema = external_exports.object({
|
|
13229
13150
|
page: external_exports.coerce.number().optional()
|
|
13230
13151
|
});
|
|
13231
13152
|
var getIntegrationDeliverooSyncMenuProcessesInputSchema = external_exports.undefined();
|
|
13232
|
-
var getIntegrationDeliverooSyncMenuProcessesResponseSchema =
|
|
13153
|
+
var getIntegrationDeliverooSyncMenuProcessesResponseSchema = mixedPaginationSchema11(
|
|
13233
13154
|
integrationDeliverooSyncMenuProcessSchema
|
|
13234
13155
|
);
|
|
13235
13156
|
var GetIntegrationDeliverooSyncMenuProcesses = class extends AbstractApiRequest46 {
|
|
@@ -13242,18 +13163,13 @@ var GetIntegrationDeliverooSyncMenuProcesses = class extends AbstractApiRequest4
|
|
|
13242
13163
|
this.outputSchema = getIntegrationDeliverooSyncMenuProcessesResponseSchema;
|
|
13243
13164
|
this.querySchema = getIntegrationDeliverooSyncMenuProcessesQuerySchema;
|
|
13244
13165
|
this.headersSchema = void 0;
|
|
13166
|
+
this.listItemSchema = integrationDeliverooSyncMenuProcessSchema;
|
|
13167
|
+
this.paginationDefaultEnabled = true;
|
|
13245
13168
|
this.integrationDeliverooId = integrationDeliverooId;
|
|
13246
13169
|
}
|
|
13247
13170
|
getPath() {
|
|
13248
13171
|
return `/integrations/deliveroo/${this.integrationDeliverooId}/sync_menu_processes`;
|
|
13249
13172
|
}
|
|
13250
|
-
parseResponse(data, rawResponse) {
|
|
13251
|
-
const integrations = external_exports.array(integrationDeliverooSyncMenuProcessSchema).parse(data);
|
|
13252
|
-
return this.validateOutput({
|
|
13253
|
-
data: integrations,
|
|
13254
|
-
pagination: responseToPagination11(rawResponse)
|
|
13255
|
-
});
|
|
13256
|
-
}
|
|
13257
13173
|
};
|
|
13258
13174
|
|
|
13259
13175
|
// src/requests/services/deliveroo/GetIntegrationDeliverooWebhookEventDetails.ts
|
|
@@ -13280,13 +13196,10 @@ var GetIntegrationDeliverooWebhookEventDetails = class extends AbstractApiReques
|
|
|
13280
13196
|
|
|
13281
13197
|
// src/requests/services/deliveroo/GetIntegrationDeliverooWebhookEvents.ts
|
|
13282
13198
|
import { AbstractApiRequest as AbstractApiRequest48 } from "@deliverart/sdk-js-core";
|
|
13283
|
-
import {
|
|
13284
|
-
createPaginatedSchema as createPaginatedSchema12,
|
|
13285
|
-
responseToPagination as responseToPagination12
|
|
13286
|
-
} from "@deliverart/sdk-js-global-types";
|
|
13199
|
+
import { mixedPaginationSchema as mixedPaginationSchema12 } from "@deliverart/sdk-js-global-types";
|
|
13287
13200
|
var getIntegrationDeliverooWebhookEventsQuerySchema = integrationDeliverooWebhookEventsQueryParamsSchema;
|
|
13288
13201
|
var getIntegrationDeliverooWebhookEventsInputSchema = external_exports.undefined();
|
|
13289
|
-
var getIntegrationDeliverooWebhookEventsResponseSchema =
|
|
13202
|
+
var getIntegrationDeliverooWebhookEventsResponseSchema = mixedPaginationSchema12(
|
|
13290
13203
|
integrationDeliverooWebhookEventSchema
|
|
13291
13204
|
);
|
|
13292
13205
|
var GetIntegrationDeliverooWebhookEvents = class extends AbstractApiRequest48 {
|
|
@@ -13299,18 +13212,13 @@ var GetIntegrationDeliverooWebhookEvents = class extends AbstractApiRequest48 {
|
|
|
13299
13212
|
this.outputSchema = getIntegrationDeliverooWebhookEventsResponseSchema;
|
|
13300
13213
|
this.querySchema = getIntegrationDeliverooWebhookEventsQuerySchema;
|
|
13301
13214
|
this.headersSchema = void 0;
|
|
13215
|
+
this.listItemSchema = integrationDeliverooWebhookEventSchema;
|
|
13216
|
+
this.paginationDefaultEnabled = true;
|
|
13302
13217
|
this.integrationDeliverooId = integrationDeliverooId;
|
|
13303
13218
|
}
|
|
13304
13219
|
getPath() {
|
|
13305
13220
|
return `/integrations/deliveroo/${this.integrationDeliverooId}/webhook_events`;
|
|
13306
13221
|
}
|
|
13307
|
-
parseResponse(data, rawResponse) {
|
|
13308
|
-
const integrations = external_exports.array(integrationDeliverooWebhookEventSchema).parse(data);
|
|
13309
|
-
return this.validateOutput({
|
|
13310
|
-
data: integrations,
|
|
13311
|
-
pagination: responseToPagination12(rawResponse)
|
|
13312
|
-
});
|
|
13313
|
-
}
|
|
13314
13222
|
};
|
|
13315
13223
|
|
|
13316
13224
|
// src/requests/services/deliveroo/IntegrationDeliverooSyncMenu.ts
|
|
@@ -13468,13 +13376,10 @@ var GetIntegrationGlovoClientLogRequestDetails = class extends AbstractApiReques
|
|
|
13468
13376
|
|
|
13469
13377
|
// src/requests/services/glovo/GetIntegrationGlovoClientLogRequests.ts
|
|
13470
13378
|
import { AbstractApiRequest as AbstractApiRequest56 } from "@deliverart/sdk-js-core";
|
|
13471
|
-
import {
|
|
13472
|
-
createPaginatedSchema as createPaginatedSchema13,
|
|
13473
|
-
responseToPagination as responseToPagination13
|
|
13474
|
-
} from "@deliverart/sdk-js-global-types";
|
|
13379
|
+
import { mixedPaginationSchema as mixedPaginationSchema13 } from "@deliverart/sdk-js-global-types";
|
|
13475
13380
|
var getIntegrationGlovoClientLogRequestsQuerySchema = clientLogRequestQuerySchema;
|
|
13476
13381
|
var getIntegrationGlovoClientLogRequestsInputSchema = external_exports.undefined();
|
|
13477
|
-
var getIntegrationGlovoClientLogRequestsResponseSchema =
|
|
13382
|
+
var getIntegrationGlovoClientLogRequestsResponseSchema = mixedPaginationSchema13(
|
|
13478
13383
|
integrationClientLogRequestSchema
|
|
13479
13384
|
);
|
|
13480
13385
|
var GetIntegrationGlovoClientLogRequests = class extends AbstractApiRequest56 {
|
|
@@ -13487,18 +13392,13 @@ var GetIntegrationGlovoClientLogRequests = class extends AbstractApiRequest56 {
|
|
|
13487
13392
|
this.outputSchema = getIntegrationGlovoClientLogRequestsResponseSchema;
|
|
13488
13393
|
this.querySchema = getIntegrationGlovoClientLogRequestsQuerySchema;
|
|
13489
13394
|
this.headersSchema = void 0;
|
|
13395
|
+
this.listItemSchema = integrationClientLogRequestSchema;
|
|
13396
|
+
this.paginationDefaultEnabled = true;
|
|
13490
13397
|
this.integrationGlovoId = integrationGlovoId;
|
|
13491
13398
|
}
|
|
13492
13399
|
getPath() {
|
|
13493
13400
|
return `/integrations/glovo/${this.integrationGlovoId}/client_log_requests`;
|
|
13494
13401
|
}
|
|
13495
|
-
parseResponse(data, rawResponse) {
|
|
13496
|
-
const integrations = external_exports.array(integrationClientLogRequestSchema).parse(data);
|
|
13497
|
-
return this.validateOutput({
|
|
13498
|
-
data: integrations,
|
|
13499
|
-
pagination: responseToPagination13(rawResponse)
|
|
13500
|
-
});
|
|
13501
|
-
}
|
|
13502
13402
|
};
|
|
13503
13403
|
|
|
13504
13404
|
// src/requests/services/glovo/GetIntegrationGlovoDetails.ts
|
|
@@ -13524,15 +13424,12 @@ var GetIntegrationGlovoDetails = class extends AbstractApiRequest57 {
|
|
|
13524
13424
|
|
|
13525
13425
|
// src/requests/services/glovo/GetIntegrationGlovoList.ts
|
|
13526
13426
|
import { AbstractApiRequest as AbstractApiRequest58 } from "@deliverart/sdk-js-core";
|
|
13527
|
-
import {
|
|
13528
|
-
createPaginatedSchema as createPaginatedSchema14,
|
|
13529
|
-
responseToPagination as responseToPagination14
|
|
13530
|
-
} from "@deliverart/sdk-js-global-types";
|
|
13427
|
+
import { mixedPaginationSchema as mixedPaginationSchema14 } from "@deliverart/sdk-js-global-types";
|
|
13531
13428
|
var getIntegrationGlovoListQuerySchema = integrationsGlovoQuerySchema.omit({
|
|
13532
13429
|
service: true
|
|
13533
13430
|
});
|
|
13534
13431
|
var getIntegrationGlovoListInputSchema = external_exports.undefined();
|
|
13535
|
-
var getIntegrationGlovoListResponseSchema =
|
|
13432
|
+
var getIntegrationGlovoListResponseSchema = mixedPaginationSchema14(integrationGlovoSchema);
|
|
13536
13433
|
var GetIntegrationGlovoList = class extends AbstractApiRequest58 {
|
|
13537
13434
|
constructor(options) {
|
|
13538
13435
|
super(void 0, options);
|
|
@@ -13543,17 +13440,12 @@ var GetIntegrationGlovoList = class extends AbstractApiRequest58 {
|
|
|
13543
13440
|
this.outputSchema = getIntegrationGlovoListResponseSchema;
|
|
13544
13441
|
this.querySchema = getIntegrationGlovoListQuerySchema;
|
|
13545
13442
|
this.headersSchema = void 0;
|
|
13443
|
+
this.listItemSchema = integrationGlovoSchema;
|
|
13444
|
+
this.paginationDefaultEnabled = true;
|
|
13546
13445
|
}
|
|
13547
13446
|
getPath() {
|
|
13548
13447
|
return "/integrations/glovo";
|
|
13549
13448
|
}
|
|
13550
|
-
parseResponse(data, rawResponse) {
|
|
13551
|
-
const integrations = external_exports.array(integrationGlovoSchema).parse(data);
|
|
13552
|
-
return this.validateOutput({
|
|
13553
|
-
data: integrations,
|
|
13554
|
-
pagination: responseToPagination14(rawResponse)
|
|
13555
|
-
});
|
|
13556
|
-
}
|
|
13557
13449
|
};
|
|
13558
13450
|
|
|
13559
13451
|
// src/requests/services/glovo/GetIntegrationGlovoMenuUpdateDetails.ts
|
|
@@ -13580,15 +13472,12 @@ var GetIntegrationGlovoMenuUpdateDetails = class extends AbstractApiRequest59 {
|
|
|
13580
13472
|
|
|
13581
13473
|
// src/requests/services/glovo/GetIntegrationGlovoMenuUpdates.ts
|
|
13582
13474
|
import { AbstractApiRequest as AbstractApiRequest60 } from "@deliverart/sdk-js-core";
|
|
13583
|
-
import {
|
|
13584
|
-
createPaginatedSchema as createPaginatedSchema15,
|
|
13585
|
-
responseToPagination as responseToPagination15
|
|
13586
|
-
} from "@deliverart/sdk-js-global-types";
|
|
13475
|
+
import { mixedPaginationSchema as mixedPaginationSchema15 } from "@deliverart/sdk-js-global-types";
|
|
13587
13476
|
var getIntegrationGlovoMenuUpdatesQuerySchema = external_exports.object({
|
|
13588
13477
|
page: external_exports.coerce.number().optional()
|
|
13589
13478
|
});
|
|
13590
13479
|
var getIntegrationGlovoMenuUpdatesInputSchema = external_exports.undefined();
|
|
13591
|
-
var getIntegrationGlovoMenuUpdatesResponseSchema =
|
|
13480
|
+
var getIntegrationGlovoMenuUpdatesResponseSchema = mixedPaginationSchema15(
|
|
13592
13481
|
integrationGlovoMenuUpdateSchema
|
|
13593
13482
|
);
|
|
13594
13483
|
var GetIntegrationGlovoMenuUpdates = class extends AbstractApiRequest60 {
|
|
@@ -13601,18 +13490,13 @@ var GetIntegrationGlovoMenuUpdates = class extends AbstractApiRequest60 {
|
|
|
13601
13490
|
this.outputSchema = getIntegrationGlovoMenuUpdatesResponseSchema;
|
|
13602
13491
|
this.querySchema = getIntegrationGlovoMenuUpdatesQuerySchema;
|
|
13603
13492
|
this.headersSchema = void 0;
|
|
13493
|
+
this.listItemSchema = integrationGlovoMenuUpdateSchema;
|
|
13494
|
+
this.paginationDefaultEnabled = true;
|
|
13604
13495
|
this.integrationId = integrationId;
|
|
13605
13496
|
}
|
|
13606
13497
|
getPath() {
|
|
13607
13498
|
return `/integrations/glovo/${this.integrationId}/menu_updates`;
|
|
13608
13499
|
}
|
|
13609
|
-
parseResponse(data, rawResponse) {
|
|
13610
|
-
const integrations = external_exports.array(integrationGlovoMenuUpdateSchema).parse(data);
|
|
13611
|
-
return this.validateOutput({
|
|
13612
|
-
data: integrations,
|
|
13613
|
-
pagination: responseToPagination15(rawResponse)
|
|
13614
|
-
});
|
|
13615
|
-
}
|
|
13616
13500
|
};
|
|
13617
13501
|
|
|
13618
13502
|
// src/requests/services/glovo/GetIntegrationGlovoMenuVersionDetails.ts
|
|
@@ -13639,15 +13523,12 @@ var GetIntegrationGlovoMenuVersionDetails = class extends AbstractApiRequest61 {
|
|
|
13639
13523
|
|
|
13640
13524
|
// src/requests/services/glovo/GetIntegrationGlovoMenuVersions.ts
|
|
13641
13525
|
import { AbstractApiRequest as AbstractApiRequest62 } from "@deliverart/sdk-js-core";
|
|
13642
|
-
import {
|
|
13643
|
-
createPaginatedSchema as createPaginatedSchema16,
|
|
13644
|
-
responseToPagination as responseToPagination16
|
|
13645
|
-
} from "@deliverart/sdk-js-global-types";
|
|
13526
|
+
import { mixedPaginationSchema as mixedPaginationSchema16 } from "@deliverart/sdk-js-global-types";
|
|
13646
13527
|
var getIntegrationGlovoMenuVersionsQuerySchema = external_exports.object({
|
|
13647
13528
|
page: external_exports.coerce.number().optional()
|
|
13648
13529
|
});
|
|
13649
13530
|
var getIntegrationGlovoMenuVersionsInputSchema = external_exports.undefined();
|
|
13650
|
-
var getIntegrationGlovoMenuVersionsResponseSchema =
|
|
13531
|
+
var getIntegrationGlovoMenuVersionsResponseSchema = mixedPaginationSchema16(menuVersionSchema);
|
|
13651
13532
|
var GetIntegrationGlovoMenuVersions = class extends AbstractApiRequest62 {
|
|
13652
13533
|
constructor(integrationGlovoId, options) {
|
|
13653
13534
|
super(void 0, options);
|
|
@@ -13658,18 +13539,13 @@ var GetIntegrationGlovoMenuVersions = class extends AbstractApiRequest62 {
|
|
|
13658
13539
|
this.outputSchema = getIntegrationGlovoMenuVersionsResponseSchema;
|
|
13659
13540
|
this.querySchema = getIntegrationGlovoMenuVersionsQuerySchema;
|
|
13660
13541
|
this.headersSchema = void 0;
|
|
13542
|
+
this.listItemSchema = menuVersionSchema;
|
|
13543
|
+
this.paginationDefaultEnabled = true;
|
|
13661
13544
|
this.integrationGlovoId = integrationGlovoId;
|
|
13662
13545
|
}
|
|
13663
13546
|
getPath() {
|
|
13664
13547
|
return `/integrations/glovo/${this.integrationGlovoId}/menu_versions`;
|
|
13665
13548
|
}
|
|
13666
|
-
parseResponse(data, rawResponse) {
|
|
13667
|
-
const integrations = external_exports.array(menuVersionSchema).parse(data);
|
|
13668
|
-
return this.validateOutput({
|
|
13669
|
-
data: integrations,
|
|
13670
|
-
pagination: responseToPagination16(rawResponse)
|
|
13671
|
-
});
|
|
13672
|
-
}
|
|
13673
13549
|
};
|
|
13674
13550
|
|
|
13675
13551
|
// src/requests/services/glovo/GetIntegrationGlovoWebhookEventDetails.ts
|
|
@@ -13696,13 +13572,10 @@ var GetIntegrationGlovoWebhookEventDetails = class extends AbstractApiRequest63
|
|
|
13696
13572
|
|
|
13697
13573
|
// src/requests/services/glovo/GetIntegrationGlovoWebhookEvents.ts
|
|
13698
13574
|
import { AbstractApiRequest as AbstractApiRequest64 } from "@deliverart/sdk-js-core";
|
|
13699
|
-
import {
|
|
13700
|
-
createPaginatedSchema as createPaginatedSchema17,
|
|
13701
|
-
responseToPagination as responseToPagination17
|
|
13702
|
-
} from "@deliverart/sdk-js-global-types";
|
|
13575
|
+
import { mixedPaginationSchema as mixedPaginationSchema17 } from "@deliverart/sdk-js-global-types";
|
|
13703
13576
|
var getIntegrationGlovoWebhookEventsQuerySchema = integrationGlovoWebhookEventsQueryParamsSchema;
|
|
13704
13577
|
var getIntegrationGlovoWebhookEventsInputSchema = external_exports.undefined();
|
|
13705
|
-
var getIntegrationGlovoWebhookEventsResponseSchema =
|
|
13578
|
+
var getIntegrationGlovoWebhookEventsResponseSchema = mixedPaginationSchema17(
|
|
13706
13579
|
integrationGlovoWebhookEventSchema
|
|
13707
13580
|
);
|
|
13708
13581
|
var GetIntegrationGlovoWebhookEvents = class extends AbstractApiRequest64 {
|
|
@@ -13715,18 +13588,13 @@ var GetIntegrationGlovoWebhookEvents = class extends AbstractApiRequest64 {
|
|
|
13715
13588
|
this.outputSchema = getIntegrationGlovoWebhookEventsResponseSchema;
|
|
13716
13589
|
this.querySchema = getIntegrationGlovoWebhookEventsQuerySchema;
|
|
13717
13590
|
this.headersSchema = void 0;
|
|
13591
|
+
this.listItemSchema = integrationGlovoWebhookEventSchema;
|
|
13592
|
+
this.paginationDefaultEnabled = true;
|
|
13718
13593
|
this.integrationGlovoId = integrationGlovoId;
|
|
13719
13594
|
}
|
|
13720
13595
|
getPath() {
|
|
13721
13596
|
return `/integrations/glovo/${this.integrationGlovoId}/webhook_events`;
|
|
13722
13597
|
}
|
|
13723
|
-
parseResponse(data, rawResponse) {
|
|
13724
|
-
const integrations = external_exports.array(integrationGlovoWebhookEventSchema).parse(data);
|
|
13725
|
-
return this.validateOutput({
|
|
13726
|
-
data: integrations,
|
|
13727
|
-
pagination: responseToPagination17(rawResponse)
|
|
13728
|
-
});
|
|
13729
|
-
}
|
|
13730
13598
|
};
|
|
13731
13599
|
|
|
13732
13600
|
// src/requests/services/glovo/IntegrationGlovoSyncMenu.ts
|
|
@@ -13863,13 +13731,10 @@ var GetIntegrationJustEatClientLogRequestDetails = class extends AbstractApiRequ
|
|
|
13863
13731
|
|
|
13864
13732
|
// src/requests/services/justeat/GetIntegrationJustEatClientLogRequests.ts
|
|
13865
13733
|
import { AbstractApiRequest as AbstractApiRequest71 } from "@deliverart/sdk-js-core";
|
|
13866
|
-
import {
|
|
13867
|
-
createPaginatedSchema as createPaginatedSchema18,
|
|
13868
|
-
responseToPagination as responseToPagination18
|
|
13869
|
-
} from "@deliverart/sdk-js-global-types";
|
|
13734
|
+
import { mixedPaginationSchema as mixedPaginationSchema18 } from "@deliverart/sdk-js-global-types";
|
|
13870
13735
|
var getIntegrationJustEatClientLogRequestsQuerySchema = clientLogRequestQuerySchema;
|
|
13871
13736
|
var getIntegrationJustEatClientLogRequestsInputSchema = external_exports.undefined();
|
|
13872
|
-
var getIntegrationJustEatClientLogRequestsResponseSchema =
|
|
13737
|
+
var getIntegrationJustEatClientLogRequestsResponseSchema = mixedPaginationSchema18(
|
|
13873
13738
|
integrationClientLogRequestSchema
|
|
13874
13739
|
);
|
|
13875
13740
|
var GetIntegrationJustEatClientLogRequests = class extends AbstractApiRequest71 {
|
|
@@ -13882,18 +13747,13 @@ var GetIntegrationJustEatClientLogRequests = class extends AbstractApiRequest71
|
|
|
13882
13747
|
this.outputSchema = getIntegrationJustEatClientLogRequestsResponseSchema;
|
|
13883
13748
|
this.querySchema = getIntegrationJustEatClientLogRequestsQuerySchema;
|
|
13884
13749
|
this.headersSchema = void 0;
|
|
13750
|
+
this.listItemSchema = integrationClientLogRequestSchema;
|
|
13751
|
+
this.paginationDefaultEnabled = true;
|
|
13885
13752
|
this.integrationJustEatId = integrationJustEatId;
|
|
13886
13753
|
}
|
|
13887
13754
|
getPath() {
|
|
13888
13755
|
return `/integrations/justeat/${this.integrationJustEatId}/client_log_requests`;
|
|
13889
13756
|
}
|
|
13890
|
-
parseResponse(data, rawResponse) {
|
|
13891
|
-
const integrations = external_exports.array(integrationClientLogRequestSchema).parse(data);
|
|
13892
|
-
return this.validateOutput({
|
|
13893
|
-
data: integrations,
|
|
13894
|
-
pagination: responseToPagination18(rawResponse)
|
|
13895
|
-
});
|
|
13896
|
-
}
|
|
13897
13757
|
};
|
|
13898
13758
|
|
|
13899
13759
|
// src/requests/services/justeat/GetIntegrationJustEatDetails.ts
|
|
@@ -13919,15 +13779,12 @@ var GetIntegrationJustEatDetails = class extends AbstractApiRequest72 {
|
|
|
13919
13779
|
|
|
13920
13780
|
// src/requests/services/justeat/GetIntegrationJustEatList.ts
|
|
13921
13781
|
import { AbstractApiRequest as AbstractApiRequest73 } from "@deliverart/sdk-js-core";
|
|
13922
|
-
import {
|
|
13923
|
-
createPaginatedSchema as createPaginatedSchema19,
|
|
13924
|
-
responseToPagination as responseToPagination19
|
|
13925
|
-
} from "@deliverart/sdk-js-global-types";
|
|
13782
|
+
import { mixedPaginationSchema as mixedPaginationSchema19 } from "@deliverart/sdk-js-global-types";
|
|
13926
13783
|
var getIntegrationJustEatListQuerySchema = integrationsJustEatQuerySchema.omit({
|
|
13927
13784
|
service: true
|
|
13928
13785
|
});
|
|
13929
13786
|
var getIntegrationJustEatListInputSchema = external_exports.undefined();
|
|
13930
|
-
var getIntegrationJustEatListResponseSchema =
|
|
13787
|
+
var getIntegrationJustEatListResponseSchema = mixedPaginationSchema19(integrationJustEatSchema);
|
|
13931
13788
|
var GetIntegrationJustEatList = class extends AbstractApiRequest73 {
|
|
13932
13789
|
constructor(options) {
|
|
13933
13790
|
super(void 0, options);
|
|
@@ -13938,17 +13795,12 @@ var GetIntegrationJustEatList = class extends AbstractApiRequest73 {
|
|
|
13938
13795
|
this.outputSchema = getIntegrationJustEatListResponseSchema;
|
|
13939
13796
|
this.querySchema = getIntegrationJustEatListQuerySchema;
|
|
13940
13797
|
this.headersSchema = void 0;
|
|
13798
|
+
this.listItemSchema = integrationJustEatSchema;
|
|
13799
|
+
this.paginationDefaultEnabled = true;
|
|
13941
13800
|
}
|
|
13942
13801
|
getPath() {
|
|
13943
13802
|
return "/integrations/justeat";
|
|
13944
13803
|
}
|
|
13945
|
-
parseResponse(data, rawResponse) {
|
|
13946
|
-
const integrations = external_exports.array(integrationJustEatSchema).parse(data);
|
|
13947
|
-
return this.validateOutput({
|
|
13948
|
-
data: integrations,
|
|
13949
|
-
pagination: responseToPagination19(rawResponse)
|
|
13950
|
-
});
|
|
13951
|
-
}
|
|
13952
13804
|
};
|
|
13953
13805
|
|
|
13954
13806
|
// src/requests/services/justeat/GetIntegrationJustEatMenuVersionDetails.ts
|
|
@@ -13975,15 +13827,12 @@ var GetIntegrationJustEatMenuVersionDetails = class extends AbstractApiRequest74
|
|
|
13975
13827
|
|
|
13976
13828
|
// src/requests/services/justeat/GetIntegrationJustEatMenuVersions.ts
|
|
13977
13829
|
import { AbstractApiRequest as AbstractApiRequest75 } from "@deliverart/sdk-js-core";
|
|
13978
|
-
import {
|
|
13979
|
-
createPaginatedSchema as createPaginatedSchema20,
|
|
13980
|
-
responseToPagination as responseToPagination20
|
|
13981
|
-
} from "@deliverart/sdk-js-global-types";
|
|
13830
|
+
import { mixedPaginationSchema as mixedPaginationSchema20 } from "@deliverart/sdk-js-global-types";
|
|
13982
13831
|
var getIntegrationJustEatMenuVersionsQuerySchema = external_exports.object({
|
|
13983
13832
|
page: external_exports.coerce.number().optional()
|
|
13984
13833
|
});
|
|
13985
13834
|
var getIntegrationJustEatMenuVersionsInputSchema = external_exports.undefined();
|
|
13986
|
-
var getIntegrationJustEatMenuVersionsResponseSchema =
|
|
13835
|
+
var getIntegrationJustEatMenuVersionsResponseSchema = mixedPaginationSchema20(menuVersionSchema);
|
|
13987
13836
|
var GetIntegrationJustEatMenuVersions = class extends AbstractApiRequest75 {
|
|
13988
13837
|
constructor(integrationJustEatId, options) {
|
|
13989
13838
|
super(void 0, options);
|
|
@@ -13994,18 +13843,13 @@ var GetIntegrationJustEatMenuVersions = class extends AbstractApiRequest75 {
|
|
|
13994
13843
|
this.outputSchema = getIntegrationJustEatMenuVersionsResponseSchema;
|
|
13995
13844
|
this.querySchema = getIntegrationJustEatMenuVersionsQuerySchema;
|
|
13996
13845
|
this.headersSchema = void 0;
|
|
13846
|
+
this.listItemSchema = menuVersionSchema;
|
|
13847
|
+
this.paginationDefaultEnabled = true;
|
|
13997
13848
|
this.integrationJustEatId = integrationJustEatId;
|
|
13998
13849
|
}
|
|
13999
13850
|
getPath() {
|
|
14000
13851
|
return `/integrations/justeat/${this.integrationJustEatId}/menu_versions`;
|
|
14001
13852
|
}
|
|
14002
|
-
parseResponse(data, rawResponse) {
|
|
14003
|
-
const integrations = external_exports.array(menuVersionSchema).parse(data);
|
|
14004
|
-
return this.validateOutput({
|
|
14005
|
-
data: integrations,
|
|
14006
|
-
pagination: responseToPagination20(rawResponse)
|
|
14007
|
-
});
|
|
14008
|
-
}
|
|
14009
13853
|
};
|
|
14010
13854
|
|
|
14011
13855
|
// src/requests/services/justeat/GetIntegrationJustEatOrderDetails.ts
|
|
@@ -14032,13 +13876,10 @@ var GetIntegrationJustEatOrderDetails = class extends AbstractApiRequest76 {
|
|
|
14032
13876
|
|
|
14033
13877
|
// src/requests/services/justeat/GetIntegrationJustEatOrders.ts
|
|
14034
13878
|
import { AbstractApiRequest as AbstractApiRequest77 } from "@deliverart/sdk-js-core";
|
|
14035
|
-
import {
|
|
14036
|
-
createPaginatedSchema as createPaginatedSchema21,
|
|
14037
|
-
responseToPagination as responseToPagination21
|
|
14038
|
-
} from "@deliverart/sdk-js-global-types";
|
|
13879
|
+
import { mixedPaginationSchema as mixedPaginationSchema21 } from "@deliverart/sdk-js-global-types";
|
|
14039
13880
|
var getIntegrationJustEatOrdersQuerySchema = integrationJustEatOrdersQueryParamsSchema;
|
|
14040
13881
|
var getIntegrationJustEatOrdersInputSchema = external_exports.undefined();
|
|
14041
|
-
var getIntegrationJustEatOrdersResponseSchema =
|
|
13882
|
+
var getIntegrationJustEatOrdersResponseSchema = mixedPaginationSchema21(
|
|
14042
13883
|
integrationJustEatOrderSchema
|
|
14043
13884
|
);
|
|
14044
13885
|
var GetIntegrationJustEatOrders = class extends AbstractApiRequest77 {
|
|
@@ -14051,18 +13892,13 @@ var GetIntegrationJustEatOrders = class extends AbstractApiRequest77 {
|
|
|
14051
13892
|
this.outputSchema = getIntegrationJustEatOrdersResponseSchema;
|
|
14052
13893
|
this.querySchema = getIntegrationJustEatOrdersQuerySchema;
|
|
14053
13894
|
this.headersSchema = void 0;
|
|
13895
|
+
this.listItemSchema = integrationJustEatOrderSchema;
|
|
13896
|
+
this.paginationDefaultEnabled = true;
|
|
14054
13897
|
this.integrationJustEatId = integrationJustEatId;
|
|
14055
13898
|
}
|
|
14056
13899
|
getPath() {
|
|
14057
13900
|
return `/integrations/justeat/${this.integrationJustEatId}/orders`;
|
|
14058
13901
|
}
|
|
14059
|
-
parseResponse(data, rawResponse) {
|
|
14060
|
-
const integrations = external_exports.array(integrationJustEatOrderSchema).parse(data);
|
|
14061
|
-
return this.validateOutput({
|
|
14062
|
-
data: integrations,
|
|
14063
|
-
pagination: responseToPagination21(rawResponse)
|
|
14064
|
-
});
|
|
14065
|
-
}
|
|
14066
13902
|
};
|
|
14067
13903
|
|
|
14068
13904
|
// src/requests/services/justeat/GetIntegrationJustEatSyncMenuProcessDetails.ts
|
|
@@ -14089,15 +13925,12 @@ var GetIntegrationJustEatSyncMenuProcessDetails = class extends AbstractApiReque
|
|
|
14089
13925
|
|
|
14090
13926
|
// src/requests/services/justeat/GetIntegrationJustEatSyncMenuProcesses.ts
|
|
14091
13927
|
import { AbstractApiRequest as AbstractApiRequest79 } from "@deliverart/sdk-js-core";
|
|
14092
|
-
import {
|
|
14093
|
-
createPaginatedSchema as createPaginatedSchema22,
|
|
14094
|
-
responseToPagination as responseToPagination22
|
|
14095
|
-
} from "@deliverart/sdk-js-global-types";
|
|
13928
|
+
import { mixedPaginationSchema as mixedPaginationSchema22 } from "@deliverart/sdk-js-global-types";
|
|
14096
13929
|
var getIntegrationJustEatSyncMenuProcessesQuerySchema = external_exports.object({
|
|
14097
13930
|
page: external_exports.coerce.number().optional()
|
|
14098
13931
|
});
|
|
14099
13932
|
var getIntegrationJustEatSyncMenuProcessesInputSchema = external_exports.undefined();
|
|
14100
|
-
var getIntegrationJustEatSyncMenuProcessesResponseSchema =
|
|
13933
|
+
var getIntegrationJustEatSyncMenuProcessesResponseSchema = mixedPaginationSchema22(
|
|
14101
13934
|
integrationJustEatSyncMenuProcessSchema
|
|
14102
13935
|
);
|
|
14103
13936
|
var GetIntegrationJustEatSyncMenuProcesses = class extends AbstractApiRequest79 {
|
|
@@ -14110,18 +13943,13 @@ var GetIntegrationJustEatSyncMenuProcesses = class extends AbstractApiRequest79
|
|
|
14110
13943
|
this.outputSchema = getIntegrationJustEatSyncMenuProcessesResponseSchema;
|
|
14111
13944
|
this.querySchema = getIntegrationJustEatSyncMenuProcessesQuerySchema;
|
|
14112
13945
|
this.headersSchema = void 0;
|
|
13946
|
+
this.listItemSchema = integrationJustEatSyncMenuProcessSchema;
|
|
13947
|
+
this.paginationDefaultEnabled = true;
|
|
14113
13948
|
this.integrationJustEatId = integrationJustEatId;
|
|
14114
13949
|
}
|
|
14115
13950
|
getPath() {
|
|
14116
13951
|
return `/integrations/justeat/${this.integrationJustEatId}/sync_menu_processes`;
|
|
14117
13952
|
}
|
|
14118
|
-
parseResponse(data, rawResponse) {
|
|
14119
|
-
const integrations = external_exports.array(integrationJustEatSyncMenuProcessSchema).parse(data);
|
|
14120
|
-
return this.validateOutput({
|
|
14121
|
-
data: integrations,
|
|
14122
|
-
pagination: responseToPagination22(rawResponse)
|
|
14123
|
-
});
|
|
14124
|
-
}
|
|
14125
13953
|
};
|
|
14126
13954
|
|
|
14127
13955
|
// src/requests/services/justeat/IntegrationJustEatSyncMenu.ts
|