@deliverart/sdk-js-integration 2.5.34 → 2.6.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 +48 -160
- package/dist/index.d.cts +1263 -235
- package/dist/index.d.ts +1263 -235
- package/dist/index.js +67 -239
- package/package.json +7 -7
package/dist/index.cjs
CHANGED
|
@@ -12558,17 +12558,12 @@ var GetIntegrationActivationRequests = class extends import_sdk_js_core6.Abstrac
|
|
|
12558
12558
|
this.outputSchema = getIntegrationActivationRequestsResponseSchema;
|
|
12559
12559
|
this.querySchema = getIntegrationActivationRequestsQuerySchema;
|
|
12560
12560
|
this.headersSchema = void 0;
|
|
12561
|
+
this.listItemSchema = integrationActivationRequestSchema;
|
|
12562
|
+
this.paginationDefaultEnabled = true;
|
|
12561
12563
|
}
|
|
12562
12564
|
getPath() {
|
|
12563
12565
|
return "/integrations/activation_requests";
|
|
12564
12566
|
}
|
|
12565
|
-
parseResponse(data, rawResponse) {
|
|
12566
|
-
const integrations = external_exports.array(integrationActivationRequestSchema).parse(data);
|
|
12567
|
-
return this.validateOutput({
|
|
12568
|
-
data: integrations,
|
|
12569
|
-
pagination: (0, import_sdk_js_global_types11.responseToPagination)(rawResponse)
|
|
12570
|
-
});
|
|
12571
|
-
}
|
|
12572
12567
|
};
|
|
12573
12568
|
|
|
12574
12569
|
// src/requests/activation-requests/GetIntegrationActivationRequestsFromPointOfSale.ts
|
|
@@ -12603,14 +12598,13 @@ var GetIntegrationActivationRequestsFromPointOfSale = class extends import_sdk_j
|
|
|
12603
12598
|
this.outputSchema = getIntegrationActivationRequestsFromPointOfSaleResponseSchema;
|
|
12604
12599
|
this.querySchema = getIntegrationActivationRequestsFromPointOfSaleQuerySchema;
|
|
12605
12600
|
this.headersSchema = void 0;
|
|
12601
|
+
this.listItemSchema = integrationActivationRequestSchema;
|
|
12602
|
+
this.paginationDefaultEnabled = false;
|
|
12606
12603
|
this.pointOfSaleId = pointOfSaleId;
|
|
12607
12604
|
}
|
|
12608
12605
|
getPath() {
|
|
12609
12606
|
return `/point_of_sales/${this.pointOfSaleId}/integrations/activation_requests`;
|
|
12610
12607
|
}
|
|
12611
|
-
parseResponse(data) {
|
|
12612
|
-
return external_exports.array(integrationActivationRequestSchema).parse(data);
|
|
12613
|
-
}
|
|
12614
12608
|
};
|
|
12615
12609
|
|
|
12616
12610
|
// src/requests/activation-requests/RespondIntegrationActivationRequest.ts
|
|
@@ -12821,17 +12815,12 @@ var GetIntegrationCancellationRequests = class extends import_sdk_js_core15.Abst
|
|
|
12821
12815
|
this.outputSchema = getIntegrationCancellationRequestsResponseSchema;
|
|
12822
12816
|
this.querySchema = getIntegrationCancellationRequestsQuerySchema;
|
|
12823
12817
|
this.headersSchema = void 0;
|
|
12818
|
+
this.listItemSchema = integrationCancellationRequestSchema;
|
|
12819
|
+
this.paginationDefaultEnabled = true;
|
|
12824
12820
|
}
|
|
12825
12821
|
getPath() {
|
|
12826
12822
|
return "/integrations/cancellation_requests";
|
|
12827
12823
|
}
|
|
12828
|
-
parseResponse(data, rawResponse) {
|
|
12829
|
-
const integrations = external_exports.array(integrationCancellationRequestSchema).parse(data);
|
|
12830
|
-
return this.validateOutput({
|
|
12831
|
-
data: integrations,
|
|
12832
|
-
pagination: (0, import_sdk_js_global_types14.responseToPagination)(rawResponse)
|
|
12833
|
-
});
|
|
12834
|
-
}
|
|
12835
12824
|
};
|
|
12836
12825
|
|
|
12837
12826
|
// src/requests/DeleteIntegration.ts
|
|
@@ -12900,17 +12889,12 @@ var GetIntegrations = class extends import_sdk_js_core18.AbstractApiRequest {
|
|
|
12900
12889
|
this.outputSchema = getIntegrationsResponseSchema;
|
|
12901
12890
|
this.querySchema = getIntegrationsQuerySchema;
|
|
12902
12891
|
this.headersSchema = void 0;
|
|
12892
|
+
this.listItemSchema = integrationSchema;
|
|
12893
|
+
this.paginationDefaultEnabled = true;
|
|
12903
12894
|
}
|
|
12904
12895
|
getPath() {
|
|
12905
12896
|
return "/integrations";
|
|
12906
12897
|
}
|
|
12907
|
-
parseResponse(data, rawResponse) {
|
|
12908
|
-
const integrations = external_exports.array(integrationSchema).parse(data);
|
|
12909
|
-
return this.validateOutput({
|
|
12910
|
-
data: integrations,
|
|
12911
|
-
pagination: (0, import_sdk_js_global_types16.responseToPagination)(rawResponse)
|
|
12912
|
-
});
|
|
12913
|
-
}
|
|
12914
12898
|
};
|
|
12915
12899
|
|
|
12916
12900
|
// src/requests/GetIntegrationsFromPointOfSale.ts
|
|
@@ -12936,14 +12920,13 @@ var GetIntegrationsFromPointOfSale = class extends import_sdk_js_core19.Abstract
|
|
|
12936
12920
|
this.outputSchema = getIntegrationsFromPointOfSaleResponseSchema;
|
|
12937
12921
|
this.querySchema = getIntegrationsFromPointOfSaleQuerySchema;
|
|
12938
12922
|
this.headersSchema = void 0;
|
|
12923
|
+
this.listItemSchema = integrationSchema;
|
|
12924
|
+
this.paginationDefaultEnabled = false;
|
|
12939
12925
|
this.pointOfSaleId = pointOfSaleId;
|
|
12940
12926
|
}
|
|
12941
12927
|
getPath() {
|
|
12942
12928
|
return `/point_of_sales/${this.pointOfSaleId}/integrations`;
|
|
12943
12929
|
}
|
|
12944
|
-
parseResponse(data) {
|
|
12945
|
-
return external_exports.array(integrationSchema).parse(data);
|
|
12946
|
-
}
|
|
12947
12930
|
};
|
|
12948
12931
|
|
|
12949
12932
|
// src/requests/services/cassa_in_cloud/CreateIntegrationCassaInCloud.ts
|
|
@@ -13031,18 +13014,13 @@ var GetIntegrationCassaInCloudClientLogRequests = class extends import_sdk_js_co
|
|
|
13031
13014
|
this.outputSchema = getIntegrationCassaInCloudClientLogRequestsResponseSchema;
|
|
13032
13015
|
this.querySchema = getIntegrationCassaInCloudClientLogRequestsQuerySchema;
|
|
13033
13016
|
this.headersSchema = void 0;
|
|
13017
|
+
this.listItemSchema = integrationClientLogRequestSchema;
|
|
13018
|
+
this.paginationDefaultEnabled = true;
|
|
13034
13019
|
this.integrationCassaInCloudId = integrationCassaInCloudId;
|
|
13035
13020
|
}
|
|
13036
13021
|
getPath() {
|
|
13037
13022
|
return `/integrations/cassa_in_cloud/${this.integrationCassaInCloudId}/client_log_requests`;
|
|
13038
13023
|
}
|
|
13039
|
-
parseResponse(data, rawResponse) {
|
|
13040
|
-
const integrations = external_exports.array(integrationClientLogRequestSchema).parse(data);
|
|
13041
|
-
return this.validateOutput({
|
|
13042
|
-
data: integrations,
|
|
13043
|
-
pagination: (0, import_sdk_js_global_types19.responseToPagination)(rawResponse)
|
|
13044
|
-
});
|
|
13045
|
-
}
|
|
13046
13024
|
};
|
|
13047
13025
|
|
|
13048
13026
|
// src/requests/services/cassa_in_cloud/GetIntegrationCassaInCloudDetails.ts
|
|
@@ -13086,17 +13064,12 @@ var GetIntegrationCassaInCloudList = class extends import_sdk_js_core25.Abstract
|
|
|
13086
13064
|
this.outputSchema = getIntegrationCassaInCloudListResponseSchema;
|
|
13087
13065
|
this.querySchema = getIntegrationCassaInCloudListQuerySchema;
|
|
13088
13066
|
this.headersSchema = void 0;
|
|
13067
|
+
this.listItemSchema = integrationCassaInCloudSchema;
|
|
13068
|
+
this.paginationDefaultEnabled = true;
|
|
13089
13069
|
}
|
|
13090
13070
|
getPath() {
|
|
13091
13071
|
return "/integrations/cassa_in_cloud";
|
|
13092
13072
|
}
|
|
13093
|
-
parseResponse(data, rawResponse) {
|
|
13094
|
-
const integrations = external_exports.array(integrationCassaInCloudSchema).parse(data);
|
|
13095
|
-
return this.validateOutput({
|
|
13096
|
-
data: integrations,
|
|
13097
|
-
pagination: (0, import_sdk_js_global_types20.responseToPagination)(rawResponse)
|
|
13098
|
-
});
|
|
13099
|
-
}
|
|
13100
13073
|
};
|
|
13101
13074
|
|
|
13102
13075
|
// src/requests/services/cassa_in_cloud/GetIntegrationCassaInCloudSyncMenuProcessDetails.ts
|
|
@@ -13141,18 +13114,13 @@ var GetIntegrationCassaInCloudSyncMenuProcesses = class extends import_sdk_js_co
|
|
|
13141
13114
|
this.outputSchema = getIntegrationCassaInCloudSyncMenuProcessesResponseSchema;
|
|
13142
13115
|
this.querySchema = getIntegrationCassaInCloudSyncMenuProcessesQuerySchema;
|
|
13143
13116
|
this.headersSchema = void 0;
|
|
13117
|
+
this.listItemSchema = integrationCassaInCloudSyncMenuProcessSchema;
|
|
13118
|
+
this.paginationDefaultEnabled = true;
|
|
13144
13119
|
this.integrationCassaInCloudId = integrationCassaInCloudId;
|
|
13145
13120
|
}
|
|
13146
13121
|
getPath() {
|
|
13147
13122
|
return `/integrations/cassa_in_cloud/${this.integrationCassaInCloudId}/sync_menu_processes`;
|
|
13148
13123
|
}
|
|
13149
|
-
parseResponse(data, rawResponse) {
|
|
13150
|
-
const integrations = external_exports.array(integrationCassaInCloudSyncMenuProcessSchema).parse(data);
|
|
13151
|
-
return this.validateOutput({
|
|
13152
|
-
data: integrations,
|
|
13153
|
-
pagination: (0, import_sdk_js_global_types21.responseToPagination)(rawResponse)
|
|
13154
|
-
});
|
|
13155
|
-
}
|
|
13156
13124
|
};
|
|
13157
13125
|
|
|
13158
13126
|
// src/requests/services/cassa_in_cloud/GetIntegrationCassaInCloudWebHookEventDetails.ts
|
|
@@ -13195,18 +13163,13 @@ var GetIntegrationCassaInCloudWebHookEvents = class extends import_sdk_js_core29
|
|
|
13195
13163
|
this.outputSchema = getIntegrationCassaInCloudWebHookEventsResponseSchema;
|
|
13196
13164
|
this.querySchema = getIntegrationCassaInCloudWebHookEventsQuerySchema;
|
|
13197
13165
|
this.headersSchema = void 0;
|
|
13166
|
+
this.listItemSchema = integrationCassaInCloudWebHookEventSchema;
|
|
13167
|
+
this.paginationDefaultEnabled = true;
|
|
13198
13168
|
this.integrationCassaInCloudId = integrationCassaInCloudId;
|
|
13199
13169
|
}
|
|
13200
13170
|
getPath() {
|
|
13201
13171
|
return `/integrations/cassa_in_cloud/${this.integrationCassaInCloudId}/webhook_events`;
|
|
13202
13172
|
}
|
|
13203
|
-
parseResponse(data, rawResponse) {
|
|
13204
|
-
const integrations = external_exports.array(integrationCassaInCloudWebHookEventSchema).parse(data);
|
|
13205
|
-
return this.validateOutput({
|
|
13206
|
-
data: integrations,
|
|
13207
|
-
pagination: (0, import_sdk_js_global_types22.responseToPagination)(rawResponse)
|
|
13208
|
-
});
|
|
13209
|
-
}
|
|
13210
13173
|
};
|
|
13211
13174
|
|
|
13212
13175
|
// src/requests/services/cassa_in_cloud/IntegrationCassaInCloudSyncCustomers.ts
|
|
@@ -13441,18 +13404,13 @@ var GetIntegrationDeliverooClientLogRequests = class extends import_sdk_js_core4
|
|
|
13441
13404
|
this.outputSchema = getIntegrationDeliverooClientLogRequestsResponseSchema;
|
|
13442
13405
|
this.querySchema = getIntegrationDeliverooClientLogRequestsQuerySchema;
|
|
13443
13406
|
this.headersSchema = void 0;
|
|
13407
|
+
this.listItemSchema = integrationClientLogRequestSchema;
|
|
13408
|
+
this.paginationDefaultEnabled = true;
|
|
13444
13409
|
this.integrationDeliverooId = integrationDeliverooId;
|
|
13445
13410
|
}
|
|
13446
13411
|
getPath() {
|
|
13447
13412
|
return `/integrations/deliveroo/${this.integrationDeliverooId}/client_log_requests`;
|
|
13448
13413
|
}
|
|
13449
|
-
parseResponse(data, rawResponse) {
|
|
13450
|
-
const integrations = external_exports.array(integrationClientLogRequestSchema).parse(data);
|
|
13451
|
-
return this.validateOutput({
|
|
13452
|
-
data: integrations,
|
|
13453
|
-
pagination: (0, import_sdk_js_global_types24.responseToPagination)(rawResponse)
|
|
13454
|
-
});
|
|
13455
|
-
}
|
|
13456
13414
|
};
|
|
13457
13415
|
|
|
13458
13416
|
// src/requests/services/deliveroo/GetIntegrationDeliverooDetails.ts
|
|
@@ -13496,17 +13454,12 @@ var GetIntegrationDeliverooList = class extends import_sdk_js_core42.AbstractApi
|
|
|
13496
13454
|
this.outputSchema = getIntegrationDeliverooListResponseSchema;
|
|
13497
13455
|
this.querySchema = getIntegrationDeliverooListQuerySchema;
|
|
13498
13456
|
this.headersSchema = void 0;
|
|
13457
|
+
this.listItemSchema = integrationDeliverooSchema;
|
|
13458
|
+
this.paginationDefaultEnabled = true;
|
|
13499
13459
|
}
|
|
13500
13460
|
getPath() {
|
|
13501
13461
|
return "/integrations/deliveroo";
|
|
13502
13462
|
}
|
|
13503
|
-
parseResponse(data, rawResponse) {
|
|
13504
|
-
const integrations = external_exports.array(integrationDeliverooSchema).parse(data);
|
|
13505
|
-
return this.validateOutput({
|
|
13506
|
-
data: integrations,
|
|
13507
|
-
pagination: (0, import_sdk_js_global_types25.responseToPagination)(rawResponse)
|
|
13508
|
-
});
|
|
13509
|
-
}
|
|
13510
13463
|
};
|
|
13511
13464
|
|
|
13512
13465
|
// src/requests/services/deliveroo/GetIntegrationDeliverooMenuVersionDetails.ts
|
|
@@ -13549,18 +13502,13 @@ var GetIntegrationDeliverooMenuVersions = class extends import_sdk_js_core44.Abs
|
|
|
13549
13502
|
this.outputSchema = getIntegrationDeliverooMenuVersionsResponseSchema;
|
|
13550
13503
|
this.querySchema = getIntegrationDeliverooMenuVersionsQuerySchema;
|
|
13551
13504
|
this.headersSchema = void 0;
|
|
13505
|
+
this.listItemSchema = menuVersionSchema;
|
|
13506
|
+
this.paginationDefaultEnabled = true;
|
|
13552
13507
|
this.integrationDeliverooId = integrationDeliverooId;
|
|
13553
13508
|
}
|
|
13554
13509
|
getPath() {
|
|
13555
13510
|
return `/integrations/deliveroo/${this.integrationDeliverooId}/menu_versions`;
|
|
13556
13511
|
}
|
|
13557
|
-
parseResponse(data, rawResponse) {
|
|
13558
|
-
const integrations = external_exports.array(menuVersionSchema).parse(data);
|
|
13559
|
-
return this.validateOutput({
|
|
13560
|
-
data: integrations,
|
|
13561
|
-
pagination: (0, import_sdk_js_global_types26.responseToPagination)(rawResponse)
|
|
13562
|
-
});
|
|
13563
|
-
}
|
|
13564
13512
|
};
|
|
13565
13513
|
|
|
13566
13514
|
// src/requests/services/deliveroo/GetIntegrationDeliverooSyncMenuProcessDetails.ts
|
|
@@ -13605,18 +13553,13 @@ var GetIntegrationDeliverooSyncMenuProcesses = class extends import_sdk_js_core4
|
|
|
13605
13553
|
this.outputSchema = getIntegrationDeliverooSyncMenuProcessesResponseSchema;
|
|
13606
13554
|
this.querySchema = getIntegrationDeliverooSyncMenuProcessesQuerySchema;
|
|
13607
13555
|
this.headersSchema = void 0;
|
|
13556
|
+
this.listItemSchema = integrationDeliverooSyncMenuProcessSchema;
|
|
13557
|
+
this.paginationDefaultEnabled = true;
|
|
13608
13558
|
this.integrationDeliverooId = integrationDeliverooId;
|
|
13609
13559
|
}
|
|
13610
13560
|
getPath() {
|
|
13611
13561
|
return `/integrations/deliveroo/${this.integrationDeliverooId}/sync_menu_processes`;
|
|
13612
13562
|
}
|
|
13613
|
-
parseResponse(data, rawResponse) {
|
|
13614
|
-
const integrations = external_exports.array(integrationDeliverooSyncMenuProcessSchema).parse(data);
|
|
13615
|
-
return this.validateOutput({
|
|
13616
|
-
data: integrations,
|
|
13617
|
-
pagination: (0, import_sdk_js_global_types27.responseToPagination)(rawResponse)
|
|
13618
|
-
});
|
|
13619
|
-
}
|
|
13620
13563
|
};
|
|
13621
13564
|
|
|
13622
13565
|
// src/requests/services/deliveroo/GetIntegrationDeliverooWebhookEventDetails.ts
|
|
@@ -13659,18 +13602,13 @@ var GetIntegrationDeliverooWebhookEvents = class extends import_sdk_js_core48.Ab
|
|
|
13659
13602
|
this.outputSchema = getIntegrationDeliverooWebhookEventsResponseSchema;
|
|
13660
13603
|
this.querySchema = getIntegrationDeliverooWebhookEventsQuerySchema;
|
|
13661
13604
|
this.headersSchema = void 0;
|
|
13605
|
+
this.listItemSchema = integrationDeliverooWebhookEventSchema;
|
|
13606
|
+
this.paginationDefaultEnabled = true;
|
|
13662
13607
|
this.integrationDeliverooId = integrationDeliverooId;
|
|
13663
13608
|
}
|
|
13664
13609
|
getPath() {
|
|
13665
13610
|
return `/integrations/deliveroo/${this.integrationDeliverooId}/webhook_events`;
|
|
13666
13611
|
}
|
|
13667
|
-
parseResponse(data, rawResponse) {
|
|
13668
|
-
const integrations = external_exports.array(integrationDeliverooWebhookEventSchema).parse(data);
|
|
13669
|
-
return this.validateOutput({
|
|
13670
|
-
data: integrations,
|
|
13671
|
-
pagination: (0, import_sdk_js_global_types28.responseToPagination)(rawResponse)
|
|
13672
|
-
});
|
|
13673
|
-
}
|
|
13674
13612
|
};
|
|
13675
13613
|
|
|
13676
13614
|
// src/requests/services/deliveroo/IntegrationDeliverooSyncMenu.ts
|
|
@@ -13844,18 +13782,13 @@ var GetIntegrationGlovoClientLogRequests = class extends import_sdk_js_core56.Ab
|
|
|
13844
13782
|
this.outputSchema = getIntegrationGlovoClientLogRequestsResponseSchema;
|
|
13845
13783
|
this.querySchema = getIntegrationGlovoClientLogRequestsQuerySchema;
|
|
13846
13784
|
this.headersSchema = void 0;
|
|
13785
|
+
this.listItemSchema = integrationClientLogRequestSchema;
|
|
13786
|
+
this.paginationDefaultEnabled = true;
|
|
13847
13787
|
this.integrationGlovoId = integrationGlovoId;
|
|
13848
13788
|
}
|
|
13849
13789
|
getPath() {
|
|
13850
13790
|
return `/integrations/glovo/${this.integrationGlovoId}/client_log_requests`;
|
|
13851
13791
|
}
|
|
13852
|
-
parseResponse(data, rawResponse) {
|
|
13853
|
-
const integrations = external_exports.array(integrationClientLogRequestSchema).parse(data);
|
|
13854
|
-
return this.validateOutput({
|
|
13855
|
-
data: integrations,
|
|
13856
|
-
pagination: (0, import_sdk_js_global_types30.responseToPagination)(rawResponse)
|
|
13857
|
-
});
|
|
13858
|
-
}
|
|
13859
13792
|
};
|
|
13860
13793
|
|
|
13861
13794
|
// src/requests/services/glovo/GetIntegrationGlovoDetails.ts
|
|
@@ -13897,17 +13830,12 @@ var GetIntegrationGlovoList = class extends import_sdk_js_core58.AbstractApiRequ
|
|
|
13897
13830
|
this.outputSchema = getIntegrationGlovoListResponseSchema;
|
|
13898
13831
|
this.querySchema = getIntegrationGlovoListQuerySchema;
|
|
13899
13832
|
this.headersSchema = void 0;
|
|
13833
|
+
this.listItemSchema = integrationGlovoSchema;
|
|
13834
|
+
this.paginationDefaultEnabled = true;
|
|
13900
13835
|
}
|
|
13901
13836
|
getPath() {
|
|
13902
13837
|
return "/integrations/glovo";
|
|
13903
13838
|
}
|
|
13904
|
-
parseResponse(data, rawResponse) {
|
|
13905
|
-
const integrations = external_exports.array(integrationGlovoSchema).parse(data);
|
|
13906
|
-
return this.validateOutput({
|
|
13907
|
-
data: integrations,
|
|
13908
|
-
pagination: (0, import_sdk_js_global_types31.responseToPagination)(rawResponse)
|
|
13909
|
-
});
|
|
13910
|
-
}
|
|
13911
13839
|
};
|
|
13912
13840
|
|
|
13913
13841
|
// src/requests/services/glovo/GetIntegrationGlovoMenuUpdateDetails.ts
|
|
@@ -13952,18 +13880,13 @@ var GetIntegrationGlovoMenuUpdates = class extends import_sdk_js_core60.Abstract
|
|
|
13952
13880
|
this.outputSchema = getIntegrationGlovoMenuUpdatesResponseSchema;
|
|
13953
13881
|
this.querySchema = getIntegrationGlovoMenuUpdatesQuerySchema;
|
|
13954
13882
|
this.headersSchema = void 0;
|
|
13883
|
+
this.listItemSchema = integrationGlovoMenuUpdateSchema;
|
|
13884
|
+
this.paginationDefaultEnabled = true;
|
|
13955
13885
|
this.integrationId = integrationId;
|
|
13956
13886
|
}
|
|
13957
13887
|
getPath() {
|
|
13958
13888
|
return `/integrations/glovo/${this.integrationId}/menu_updates`;
|
|
13959
13889
|
}
|
|
13960
|
-
parseResponse(data, rawResponse) {
|
|
13961
|
-
const integrations = external_exports.array(integrationGlovoMenuUpdateSchema).parse(data);
|
|
13962
|
-
return this.validateOutput({
|
|
13963
|
-
data: integrations,
|
|
13964
|
-
pagination: (0, import_sdk_js_global_types32.responseToPagination)(rawResponse)
|
|
13965
|
-
});
|
|
13966
|
-
}
|
|
13967
13890
|
};
|
|
13968
13891
|
|
|
13969
13892
|
// src/requests/services/glovo/GetIntegrationGlovoMenuVersionDetails.ts
|
|
@@ -14006,18 +13929,13 @@ var GetIntegrationGlovoMenuVersions = class extends import_sdk_js_core62.Abstrac
|
|
|
14006
13929
|
this.outputSchema = getIntegrationGlovoMenuVersionsResponseSchema;
|
|
14007
13930
|
this.querySchema = getIntegrationGlovoMenuVersionsQuerySchema;
|
|
14008
13931
|
this.headersSchema = void 0;
|
|
13932
|
+
this.listItemSchema = menuVersionSchema;
|
|
13933
|
+
this.paginationDefaultEnabled = true;
|
|
14009
13934
|
this.integrationGlovoId = integrationGlovoId;
|
|
14010
13935
|
}
|
|
14011
13936
|
getPath() {
|
|
14012
13937
|
return `/integrations/glovo/${this.integrationGlovoId}/menu_versions`;
|
|
14013
13938
|
}
|
|
14014
|
-
parseResponse(data, rawResponse) {
|
|
14015
|
-
const integrations = external_exports.array(menuVersionSchema).parse(data);
|
|
14016
|
-
return this.validateOutput({
|
|
14017
|
-
data: integrations,
|
|
14018
|
-
pagination: (0, import_sdk_js_global_types33.responseToPagination)(rawResponse)
|
|
14019
|
-
});
|
|
14020
|
-
}
|
|
14021
13939
|
};
|
|
14022
13940
|
|
|
14023
13941
|
// src/requests/services/glovo/GetIntegrationGlovoWebhookEventDetails.ts
|
|
@@ -14060,18 +13978,13 @@ var GetIntegrationGlovoWebhookEvents = class extends import_sdk_js_core64.Abstra
|
|
|
14060
13978
|
this.outputSchema = getIntegrationGlovoWebhookEventsResponseSchema;
|
|
14061
13979
|
this.querySchema = getIntegrationGlovoWebhookEventsQuerySchema;
|
|
14062
13980
|
this.headersSchema = void 0;
|
|
13981
|
+
this.listItemSchema = integrationGlovoWebhookEventSchema;
|
|
13982
|
+
this.paginationDefaultEnabled = true;
|
|
14063
13983
|
this.integrationGlovoId = integrationGlovoId;
|
|
14064
13984
|
}
|
|
14065
13985
|
getPath() {
|
|
14066
13986
|
return `/integrations/glovo/${this.integrationGlovoId}/webhook_events`;
|
|
14067
13987
|
}
|
|
14068
|
-
parseResponse(data, rawResponse) {
|
|
14069
|
-
const integrations = external_exports.array(integrationGlovoWebhookEventSchema).parse(data);
|
|
14070
|
-
return this.validateOutput({
|
|
14071
|
-
data: integrations,
|
|
14072
|
-
pagination: (0, import_sdk_js_global_types34.responseToPagination)(rawResponse)
|
|
14073
|
-
});
|
|
14074
|
-
}
|
|
14075
13988
|
};
|
|
14076
13989
|
|
|
14077
13990
|
// src/requests/services/glovo/IntegrationGlovoSyncMenu.ts
|
|
@@ -14224,18 +14137,13 @@ var GetIntegrationJustEatClientLogRequests = class extends import_sdk_js_core71.
|
|
|
14224
14137
|
this.outputSchema = getIntegrationJustEatClientLogRequestsResponseSchema;
|
|
14225
14138
|
this.querySchema = getIntegrationJustEatClientLogRequestsQuerySchema;
|
|
14226
14139
|
this.headersSchema = void 0;
|
|
14140
|
+
this.listItemSchema = integrationClientLogRequestSchema;
|
|
14141
|
+
this.paginationDefaultEnabled = true;
|
|
14227
14142
|
this.integrationJustEatId = integrationJustEatId;
|
|
14228
14143
|
}
|
|
14229
14144
|
getPath() {
|
|
14230
14145
|
return `/integrations/justeat/${this.integrationJustEatId}/client_log_requests`;
|
|
14231
14146
|
}
|
|
14232
|
-
parseResponse(data, rawResponse) {
|
|
14233
|
-
const integrations = external_exports.array(integrationClientLogRequestSchema).parse(data);
|
|
14234
|
-
return this.validateOutput({
|
|
14235
|
-
data: integrations,
|
|
14236
|
-
pagination: (0, import_sdk_js_global_types36.responseToPagination)(rawResponse)
|
|
14237
|
-
});
|
|
14238
|
-
}
|
|
14239
14147
|
};
|
|
14240
14148
|
|
|
14241
14149
|
// src/requests/services/justeat/GetIntegrationJustEatDetails.ts
|
|
@@ -14277,17 +14185,12 @@ var GetIntegrationJustEatList = class extends import_sdk_js_core73.AbstractApiRe
|
|
|
14277
14185
|
this.outputSchema = getIntegrationJustEatListResponseSchema;
|
|
14278
14186
|
this.querySchema = getIntegrationJustEatListQuerySchema;
|
|
14279
14187
|
this.headersSchema = void 0;
|
|
14188
|
+
this.listItemSchema = integrationJustEatSchema;
|
|
14189
|
+
this.paginationDefaultEnabled = true;
|
|
14280
14190
|
}
|
|
14281
14191
|
getPath() {
|
|
14282
14192
|
return "/integrations/justeat";
|
|
14283
14193
|
}
|
|
14284
|
-
parseResponse(data, rawResponse) {
|
|
14285
|
-
const integrations = external_exports.array(integrationJustEatSchema).parse(data);
|
|
14286
|
-
return this.validateOutput({
|
|
14287
|
-
data: integrations,
|
|
14288
|
-
pagination: (0, import_sdk_js_global_types37.responseToPagination)(rawResponse)
|
|
14289
|
-
});
|
|
14290
|
-
}
|
|
14291
14194
|
};
|
|
14292
14195
|
|
|
14293
14196
|
// src/requests/services/justeat/GetIntegrationJustEatMenuVersionDetails.ts
|
|
@@ -14330,18 +14233,13 @@ var GetIntegrationJustEatMenuVersions = class extends import_sdk_js_core75.Abstr
|
|
|
14330
14233
|
this.outputSchema = getIntegrationJustEatMenuVersionsResponseSchema;
|
|
14331
14234
|
this.querySchema = getIntegrationJustEatMenuVersionsQuerySchema;
|
|
14332
14235
|
this.headersSchema = void 0;
|
|
14236
|
+
this.listItemSchema = menuVersionSchema;
|
|
14237
|
+
this.paginationDefaultEnabled = true;
|
|
14333
14238
|
this.integrationJustEatId = integrationJustEatId;
|
|
14334
14239
|
}
|
|
14335
14240
|
getPath() {
|
|
14336
14241
|
return `/integrations/justeat/${this.integrationJustEatId}/menu_versions`;
|
|
14337
14242
|
}
|
|
14338
|
-
parseResponse(data, rawResponse) {
|
|
14339
|
-
const integrations = external_exports.array(menuVersionSchema).parse(data);
|
|
14340
|
-
return this.validateOutput({
|
|
14341
|
-
data: integrations,
|
|
14342
|
-
pagination: (0, import_sdk_js_global_types38.responseToPagination)(rawResponse)
|
|
14343
|
-
});
|
|
14344
|
-
}
|
|
14345
14243
|
};
|
|
14346
14244
|
|
|
14347
14245
|
// src/requests/services/justeat/GetIntegrationJustEatOrderDetails.ts
|
|
@@ -14384,18 +14282,13 @@ var GetIntegrationJustEatOrders = class extends import_sdk_js_core77.AbstractApi
|
|
|
14384
14282
|
this.outputSchema = getIntegrationJustEatOrdersResponseSchema;
|
|
14385
14283
|
this.querySchema = getIntegrationJustEatOrdersQuerySchema;
|
|
14386
14284
|
this.headersSchema = void 0;
|
|
14285
|
+
this.listItemSchema = integrationJustEatOrderSchema;
|
|
14286
|
+
this.paginationDefaultEnabled = true;
|
|
14387
14287
|
this.integrationJustEatId = integrationJustEatId;
|
|
14388
14288
|
}
|
|
14389
14289
|
getPath() {
|
|
14390
14290
|
return `/integrations/justeat/${this.integrationJustEatId}/orders`;
|
|
14391
14291
|
}
|
|
14392
|
-
parseResponse(data, rawResponse) {
|
|
14393
|
-
const integrations = external_exports.array(integrationJustEatOrderSchema).parse(data);
|
|
14394
|
-
return this.validateOutput({
|
|
14395
|
-
data: integrations,
|
|
14396
|
-
pagination: (0, import_sdk_js_global_types39.responseToPagination)(rawResponse)
|
|
14397
|
-
});
|
|
14398
|
-
}
|
|
14399
14292
|
};
|
|
14400
14293
|
|
|
14401
14294
|
// src/requests/services/justeat/GetIntegrationJustEatSyncMenuProcessDetails.ts
|
|
@@ -14440,18 +14333,13 @@ var GetIntegrationJustEatSyncMenuProcesses = class extends import_sdk_js_core79.
|
|
|
14440
14333
|
this.outputSchema = getIntegrationJustEatSyncMenuProcessesResponseSchema;
|
|
14441
14334
|
this.querySchema = getIntegrationJustEatSyncMenuProcessesQuerySchema;
|
|
14442
14335
|
this.headersSchema = void 0;
|
|
14336
|
+
this.listItemSchema = integrationJustEatSyncMenuProcessSchema;
|
|
14337
|
+
this.paginationDefaultEnabled = true;
|
|
14443
14338
|
this.integrationJustEatId = integrationJustEatId;
|
|
14444
14339
|
}
|
|
14445
14340
|
getPath() {
|
|
14446
14341
|
return `/integrations/justeat/${this.integrationJustEatId}/sync_menu_processes`;
|
|
14447
14342
|
}
|
|
14448
|
-
parseResponse(data, rawResponse) {
|
|
14449
|
-
const integrations = external_exports.array(integrationJustEatSyncMenuProcessSchema).parse(data);
|
|
14450
|
-
return this.validateOutput({
|
|
14451
|
-
data: integrations,
|
|
14452
|
-
pagination: (0, import_sdk_js_global_types40.responseToPagination)(rawResponse)
|
|
14453
|
-
});
|
|
14454
|
-
}
|
|
14455
14343
|
};
|
|
14456
14344
|
|
|
14457
14345
|
// src/requests/services/justeat/IntegrationJustEatSyncMenu.ts
|