@deliverart/sdk-js-integration 0.0.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/.changeset/config.json +11 -0
- package/.github/workflows/workflow.yml +47 -0
- package/.prettierrc +7 -0
- package/README.md +3 -0
- package/dist/index.cjs +3660 -0
- package/dist/index.d.cts +32181 -0
- package/dist/index.d.ts +32181 -0
- package/dist/index.js +3385 -0
- package/eslint.config.js +37 -0
- package/package.json +48 -0
- package/src/activatable-integration-data-schemas.ts +50 -0
- package/src/activatable-integration-types.ts +17 -0
- package/src/activatable-integration.ts +86 -0
- package/src/activation-request.ts +53 -0
- package/src/cancellation-request-types.ts +34 -0
- package/src/cancellation-request.ts +21 -0
- package/src/index.ts +9 -0
- package/src/integration-schemas.ts +31 -0
- package/src/requests/DeleteIntegration.ts +27 -0
- package/src/requests/GetIntegrationDetails.ts +30 -0
- package/src/requests/GetIntegrations.ts +63 -0
- package/src/requests/UpdateIntegration.ts +36 -0
- package/src/requests/activation-requests/ActivateIntegrationActivationRequest.ts +38 -0
- package/src/requests/activation-requests/AnnotateIntegrationActivationRequest.ts +46 -0
- package/src/requests/activation-requests/CreateIntegrationActivationRequest.ts +80 -0
- package/src/requests/activation-requests/DeleteIntegrationActivationRequest.ts +27 -0
- package/src/requests/activation-requests/GetIntegrationActivationRequestDetails.ts +37 -0
- package/src/requests/activation-requests/GetIntegrationActivationRequests.ts +86 -0
- package/src/requests/activation-requests/RespondIntegrationActivationRequest.ts +58 -0
- package/src/requests/activation-requests/SendIntegrationActivationRequestToPartner.ts +38 -0
- package/src/requests/activation-requests/UpdateIntegrationActivationRequest.ts +91 -0
- package/src/requests/activation-requests/index.ts +9 -0
- package/src/requests/cancellation-requests/CancelIntegrationCancellationRequest.ts +38 -0
- package/src/requests/cancellation-requests/CreateIntegrationCancellationRequest.ts +41 -0
- package/src/requests/cancellation-requests/DeleteIntegrationCancellationRequest.ts +27 -0
- package/src/requests/cancellation-requests/GetIntegrationCancellationRequestDetails.ts +37 -0
- package/src/requests/cancellation-requests/GetIntegrationCancellationRequests.ts +72 -0
- package/src/requests/cancellation-requests/index.ts +5 -0
- package/src/requests/index.ts +7 -0
- package/src/requests/services/cassa_in_cloud/CreateIntegrationCassaInCloud.ts +42 -0
- package/src/requests/services/cassa_in_cloud/DeleteIntegrationCassaInCloud.ts +27 -0
- package/src/requests/services/cassa_in_cloud/GetIntegrationCassaInCloudClientLogRequestDetails.ts +40 -0
- package/src/requests/services/cassa_in_cloud/GetIntegrationCassaInCloudClientLogRequests.ts +64 -0
- package/src/requests/services/cassa_in_cloud/GetIntegrationCassaInCloudDetails.ts +36 -0
- package/src/requests/services/cassa_in_cloud/GetIntegrationCassaInCloudList.ts +61 -0
- package/src/requests/services/cassa_in_cloud/GetIntegrationCassaInCloudSyncMenuProcessDetails.ts +40 -0
- package/src/requests/services/cassa_in_cloud/GetIntegrationCassaInCloudSyncMenuProcesses.ts +69 -0
- package/src/requests/services/cassa_in_cloud/GetIntegrationCassaInCloudWebHookEventDetails.ts +40 -0
- package/src/requests/services/cassa_in_cloud/GetIntegrationCassaInCloudWebHookEvents.ts +69 -0
- package/src/requests/services/cassa_in_cloud/IntegrationCassaInCloudSyncCustomers.ts +27 -0
- package/src/requests/services/cassa_in_cloud/IntegrationCassaInCloudSyncOrganizations.ts +27 -0
- package/src/requests/services/cassa_in_cloud/IntegrationCassaInCloudSyncProducts.ts +27 -0
- package/src/requests/services/cassa_in_cloud/IntegrationCassaInCloudSyncSalesModes.ts +27 -0
- package/src/requests/services/cassa_in_cloud/IntegrationCassaInCloudSyncStock.ts +27 -0
- package/src/requests/services/cassa_in_cloud/IntegrationCassaInCloudSyncTimetables.ts +27 -0
- package/src/requests/services/cassa_in_cloud/UpdateIntegrationCassaInCloud.ts +39 -0
- package/src/requests/services/cassa_in_cloud/index.ts +17 -0
- package/src/requests/services/deliveroo/CreateIntegrationDeliveroo.ts +40 -0
- package/src/requests/services/deliveroo/DeleteIntegrationDeliveroo.ts +27 -0
- package/src/requests/services/deliveroo/GetIntegrationDeliverooClientLogRequestDetails.ts +40 -0
- package/src/requests/services/deliveroo/GetIntegrationDeliverooClientLogRequests.ts +64 -0
- package/src/requests/services/deliveroo/GetIntegrationDeliverooDetails.ts +36 -0
- package/src/requests/services/deliveroo/GetIntegrationDeliverooList.ts +61 -0
- package/src/requests/services/deliveroo/GetIntegrationDeliverooMenuVersionDetails.ts +35 -0
- package/src/requests/services/deliveroo/GetIntegrationDeliverooMenuVersions.ts +62 -0
- package/src/requests/services/deliveroo/GetIntegrationDeliverooSyncMenuProcessDetails.ts +40 -0
- package/src/requests/services/deliveroo/GetIntegrationDeliverooSyncMenuProcesses.ts +69 -0
- package/src/requests/services/deliveroo/GetIntegrationDeliverooWebhookEventDetails.ts +40 -0
- package/src/requests/services/deliveroo/GetIntegrationDeliverooWebhookEvents.ts +69 -0
- package/src/requests/services/deliveroo/IntegrationDeliverooSyncMenu.ts +27 -0
- package/src/requests/services/deliveroo/IntegrationDeliverooSyncOpeningHours.ts +27 -0
- package/src/requests/services/deliveroo/UpdateIntegrationDeliveroo.ts +39 -0
- package/src/requests/services/deliveroo/UpdateIntegrationDeliverooSiteStatus.ts +43 -0
- package/src/requests/services/deliveroo/index.ts +16 -0
- package/src/requests/services/glovo/CreateIntegrationGlovo.ts +39 -0
- package/src/requests/services/glovo/DeleteIntegrationGlovo.ts +27 -0
- package/src/requests/services/glovo/GetIntegrationGlovoClientLogRequestDetails.ts +39 -0
- package/src/requests/services/glovo/GetIntegrationGlovoClientLogRequests.ts +64 -0
- package/src/requests/services/glovo/GetIntegrationGlovoDetails.ts +36 -0
- package/src/requests/services/glovo/GetIntegrationGlovoList.ts +55 -0
- package/src/requests/services/glovo/GetIntegrationGlovoMenuUpdateDetails.ts +39 -0
- package/src/requests/services/glovo/GetIntegrationGlovoMenuUpdates.ts +66 -0
- package/src/requests/services/glovo/GetIntegrationGlovoMenuVersionDetails.ts +35 -0
- package/src/requests/services/glovo/GetIntegrationGlovoMenuVersions.ts +62 -0
- package/src/requests/services/glovo/GetIntegrationGlovoWebhookEventDetails.ts +39 -0
- package/src/requests/services/glovo/GetIntegrationGlovoWebhookEvents.ts +68 -0
- package/src/requests/services/glovo/IntegrationGlovoSyncMenu.ts +27 -0
- package/src/requests/services/glovo/UpdateIntegrationGlovo.ts +39 -0
- package/src/requests/services/glovo/UpdateIntegrationGlovoStoreStatus.ts +43 -0
- package/src/requests/services/glovo/index.ts +15 -0
- package/src/requests/services/index.ts +4 -0
- package/src/requests/services/justeat/CreateIntegrationJustEat.ts +39 -0
- package/src/requests/services/justeat/DeleteIntegrationJustEat.ts +27 -0
- package/src/requests/services/justeat/GetIntegrationJustEatClientLogRequestDetails.ts +40 -0
- package/src/requests/services/justeat/GetIntegrationJustEatClientLogRequests.ts +64 -0
- package/src/requests/services/justeat/GetIntegrationJustEatDetails.ts +36 -0
- package/src/requests/services/justeat/GetIntegrationJustEatList.ts +60 -0
- package/src/requests/services/justeat/GetIntegrationJustEatMenuVersionDetails.ts +35 -0
- package/src/requests/services/justeat/GetIntegrationJustEatMenuVersions.ts +62 -0
- package/src/requests/services/justeat/GetIntegrationJustEatSyncMenuProcessDetails.ts +40 -0
- package/src/requests/services/justeat/GetIntegrationJustEatSyncMenuProcesses.ts +69 -0
- package/src/requests/services/justeat/IntegrationJustEatSyncMenu.ts +27 -0
- package/src/requests/services/justeat/IntegrationJustEatSyncOpeningTimes.ts +27 -0
- package/src/requests/services/justeat/UpdateIntegrationJustEat.ts +39 -0
- package/src/requests/services/justeat/UpdateIntegrationJustEatRestaurantStatus.ts +44 -0
- package/src/requests/services/justeat/index.ts +14 -0
- package/src/schemas.ts +97 -0
- package/src/service-schemas/cassa_in_cloud.ts +154 -0
- package/src/service-schemas/deliveroo.ts +159 -0
- package/src/service-schemas/glovo.ts +153 -0
- package/src/service-schemas/justeat.ts +121 -0
- package/src/types.ts +227 -0
- package/tsconfig.json +15 -0
package/dist/index.cjs
ADDED
|
@@ -0,0 +1,3660 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
|
|
20
|
+
// src/index.ts
|
|
21
|
+
var index_exports = {};
|
|
22
|
+
__export(index_exports, {
|
|
23
|
+
ActivateIntegrationActivationRequest: () => ActivateIntegrationActivationRequest,
|
|
24
|
+
AnnotateIntegrationActivationRequest: () => AnnotateIntegrationActivationRequest,
|
|
25
|
+
CancelIntegrationCancellationRequest: () => CancelIntegrationCancellationRequest,
|
|
26
|
+
CreateIntegrationActivationRequest: () => CreateIntegrationActivationRequest,
|
|
27
|
+
CreateIntegrationCancellationRequest: () => CreateIntegrationCancellationRequest,
|
|
28
|
+
CreateIntegrationCassaInCloud: () => CreateIntegrationCassaInCloud,
|
|
29
|
+
CreateIntegrationDeliveroo: () => CreateIntegrationDeliveroo,
|
|
30
|
+
CreateIntegrationGlovo: () => CreateIntegrationGlovo,
|
|
31
|
+
CreateIntegrationJustEat: () => CreateIntegrationJustEat,
|
|
32
|
+
DeleteIntegration: () => DeleteIntegration,
|
|
33
|
+
DeleteIntegrationActivationRequest: () => DeleteIntegrationActivationRequest,
|
|
34
|
+
DeleteIntegrationCancellationRequest: () => DeleteIntegrationCancellationRequest,
|
|
35
|
+
DeleteIntegrationCassaInCloud: () => DeleteIntegrationCassaInCloud,
|
|
36
|
+
DeleteIntegrationDeliveroo: () => DeleteIntegrationDeliveroo,
|
|
37
|
+
DeleteIntegrationGlovo: () => DeleteIntegrationGlovo,
|
|
38
|
+
DeleteIntegrationJustEat: () => DeleteIntegrationJustEat,
|
|
39
|
+
GetIntegrationActivationRequestDetails: () => GetIntegrationActivationRequestDetails,
|
|
40
|
+
GetIntegrationActivationRequests: () => GetIntegrationActivationRequests,
|
|
41
|
+
GetIntegrationCancellationRequestDetails: () => GetIntegrationCancellationRequestDetails,
|
|
42
|
+
GetIntegrationCancellationRequests: () => GetIntegrationCancellationRequests,
|
|
43
|
+
GetIntegrationCassaInCloudClientLogRequestDetails: () => GetIntegrationCassaInCloudClientLogRequestDetails,
|
|
44
|
+
GetIntegrationCassaInCloudClientLogRequests: () => GetIntegrationCassaInCloudClientLogRequests,
|
|
45
|
+
GetIntegrationCassaInCloudDetails: () => GetIntegrationCassaInCloudDetails,
|
|
46
|
+
GetIntegrationCassaInCloudList: () => GetIntegrationCassaInCloudList,
|
|
47
|
+
GetIntegrationCassaInCloudSyncMenuProcessDetails: () => GetIntegrationCassaInCloudSyncMenuProcessDetails,
|
|
48
|
+
GetIntegrationCassaInCloudSyncMenuProcesses: () => GetIntegrationCassaInCloudSyncMenuProcesses,
|
|
49
|
+
GetIntegrationCassaInCloudWebHookEventDetails: () => GetIntegrationCassaInCloudWebHookEventDetails,
|
|
50
|
+
GetIntegrationCassaInCloudWebHookEvents: () => GetIntegrationCassaInCloudWebHookEvents,
|
|
51
|
+
GetIntegrationDeliverooClientLogRequestDetails: () => GetIntegrationDeliverooClientLogRequestDetails,
|
|
52
|
+
GetIntegrationDeliverooClientLogRequests: () => GetIntegrationDeliverooClientLogRequests,
|
|
53
|
+
GetIntegrationDeliverooDetails: () => GetIntegrationDeliverooDetails,
|
|
54
|
+
GetIntegrationDeliverooList: () => GetIntegrationDeliverooList,
|
|
55
|
+
GetIntegrationDeliverooMenuVersionDetails: () => GetIntegrationDeliverooMenuVersionDetails,
|
|
56
|
+
GetIntegrationDeliverooMenuVersions: () => GetIntegrationDeliverooMenuVersions,
|
|
57
|
+
GetIntegrationDeliverooSyncMenuProcessDetails: () => GetIntegrationDeliverooSyncMenuProcessDetails,
|
|
58
|
+
GetIntegrationDeliverooSyncMenuProcesses: () => GetIntegrationDeliverooSyncMenuProcesses,
|
|
59
|
+
GetIntegrationDeliverooWebhookEventDetails: () => GetIntegrationDeliverooWebhookEventDetails,
|
|
60
|
+
GetIntegrationDeliverooWebhookEvents: () => GetIntegrationDeliverooWebhookEvents,
|
|
61
|
+
GetIntegrationDetails: () => GetIntegrationDetails,
|
|
62
|
+
GetIntegrationGlovoClientLogRequestDetails: () => GetIntegrationGlovoClientLogRequestDetails,
|
|
63
|
+
GetIntegrationGlovoClientLogRequests: () => GetIntegrationGlovoClientLogRequests,
|
|
64
|
+
GetIntegrationGlovoDetails: () => GetIntegrationGlovoDetails,
|
|
65
|
+
GetIntegrationGlovoList: () => GetIntegrationGlovoList,
|
|
66
|
+
GetIntegrationGlovoMenuUpdateDetails: () => GetIntegrationGlovoMenuUpdateDetails,
|
|
67
|
+
GetIntegrationGlovoMenuUpdates: () => GetIntegrationGlovoMenuUpdates,
|
|
68
|
+
GetIntegrationGlovoMenuVersionDetails: () => GetIntegrationGlovoMenuVersionDetails,
|
|
69
|
+
GetIntegrationGlovoMenuVersions: () => GetIntegrationGlovoMenuVersions,
|
|
70
|
+
GetIntegrationGlovoWebhookEventDetails: () => GetIntegrationGlovoWebhookEventDetails,
|
|
71
|
+
GetIntegrationGlovoWebhookEvents: () => GetIntegrationGlovoWebhookEvents,
|
|
72
|
+
GetIntegrationJustEatClientLogRequestDetails: () => GetIntegrationJustEatClientLogRequestDetails,
|
|
73
|
+
GetIntegrationJustEatClientLogRequests: () => GetIntegrationJustEatClientLogRequests,
|
|
74
|
+
GetIntegrationJustEatDetails: () => GetIntegrationJustEatDetails,
|
|
75
|
+
GetIntegrationJustEatList: () => GetIntegrationJustEatList,
|
|
76
|
+
GetIntegrationJustEatMenuVersionDetails: () => GetIntegrationJustEatMenuVersionDetails,
|
|
77
|
+
GetIntegrationJustEatMenuVersions: () => GetIntegrationJustEatMenuVersions,
|
|
78
|
+
GetIntegrationJustEatSyncMenuProcessDetails: () => GetIntegrationJustEatSyncMenuProcessDetails,
|
|
79
|
+
GetIntegrationJustEatSyncMenuProcesses: () => GetIntegrationJustEatSyncMenuProcesses,
|
|
80
|
+
GetIntegrations: () => GetIntegrations,
|
|
81
|
+
IntegrationCassaInCloudSyncCustomers: () => IntegrationCassaInCloudSyncCustomers,
|
|
82
|
+
IntegrationCassaInCloudSyncOrganizations: () => IntegrationCassaInCloudSyncOrganizations,
|
|
83
|
+
IntegrationCassaInCloudSyncProducts: () => IntegrationCassaInCloudSyncProducts,
|
|
84
|
+
IntegrationCassaInCloudSyncSalesModes: () => IntegrationCassaInCloudSyncSalesModes,
|
|
85
|
+
IntegrationCassaInCloudSyncStock: () => IntegrationCassaInCloudSyncStock,
|
|
86
|
+
IntegrationCassaInCloudSyncTimetables: () => IntegrationCassaInCloudSyncTimetables,
|
|
87
|
+
IntegrationDeliverooSyncMenu: () => IntegrationDeliverooSyncMenu,
|
|
88
|
+
IntegrationDeliverooSyncOpeningHours: () => IntegrationDeliverooSyncOpeningHours,
|
|
89
|
+
IntegrationGlovoSyncMenu: () => IntegrationGlovoSyncMenu,
|
|
90
|
+
IntegrationJustEatSyncMenu: () => IntegrationJustEatSyncMenu,
|
|
91
|
+
IntegrationJustEatSyncOpeningTimes: () => IntegrationJustEatSyncOpeningTimes,
|
|
92
|
+
RespondIntegrationActivationRequest: () => RespondIntegrationActivationRequest,
|
|
93
|
+
SendIntegrationActivationRequestToPartner: () => SendIntegrationActivationRequestToPartner,
|
|
94
|
+
UpdateIntegration: () => UpdateIntegration,
|
|
95
|
+
UpdateIntegrationActivationRequest: () => UpdateIntegrationActivationRequest,
|
|
96
|
+
UpdateIntegrationCassaInCloud: () => UpdateIntegrationCassaInCloud,
|
|
97
|
+
UpdateIntegrationDeliveroo: () => UpdateIntegrationDeliveroo,
|
|
98
|
+
UpdateIntegrationDeliverooSiteStatus: () => UpdateIntegrationDeliverooSiteStatus,
|
|
99
|
+
UpdateIntegrationGlovo: () => UpdateIntegrationGlovo,
|
|
100
|
+
UpdateIntegrationGlovoStoreStatus: () => UpdateIntegrationGlovoStoreStatus,
|
|
101
|
+
UpdateIntegrationJustEat: () => UpdateIntegrationJustEat,
|
|
102
|
+
UpdateIntegrationJustEatRestaurantStatus: () => UpdateIntegrationJustEatRestaurantStatus,
|
|
103
|
+
activatableIntegrationBaseSchema: () => activatableIntegrationBaseSchema,
|
|
104
|
+
activatableIntegrationHealthStatusSchema: () => activatableIntegrationHealthStatusSchema,
|
|
105
|
+
activatableIntegrationHealthStatuses: () => activatableIntegrationHealthStatuses,
|
|
106
|
+
activatableIntegrationSchema: () => activatableIntegrationSchema,
|
|
107
|
+
activatableIntegrationStatusSchema: () => activatableIntegrationStatusSchema,
|
|
108
|
+
activatableIntegrationStatuses: () => activatableIntegrationStatuses,
|
|
109
|
+
activateIntegrationActivationRequestInputSchema: () => activateIntegrationActivationRequestInputSchema,
|
|
110
|
+
activateIntegrationActivationRequestResponseSchema: () => activateIntegrationActivationRequestResponseSchema,
|
|
111
|
+
annotateIntegrationActivationRequestInputSchema: () => annotateIntegrationActivationRequestInputSchema,
|
|
112
|
+
annotateIntegrationActivationRequestResponseSchema: () => annotateIntegrationActivationRequestResponseSchema,
|
|
113
|
+
cancelIntegrationCancellationRequestInputSchema: () => cancelIntegrationCancellationRequestInputSchema,
|
|
114
|
+
cancelIntegrationCancellationRequestResponseSchema: () => cancelIntegrationCancellationRequestResponseSchema,
|
|
115
|
+
clientLogRequestQuerySchema: () => clientLogRequestQuerySchema,
|
|
116
|
+
createIntegrationActivationRequestInputSchema: () => createIntegrationActivationRequestInputSchema,
|
|
117
|
+
createIntegrationActivationRequestResponseSchema: () => createIntegrationActivationRequestResponseSchema,
|
|
118
|
+
createIntegrationCancellationRequestInputSchema: () => createIntegrationCancellationRequestInputSchema,
|
|
119
|
+
createIntegrationCancellationRequestResponseSchema: () => createIntegrationCancellationRequestResponseSchema,
|
|
120
|
+
createIntegrationCassaInCloudInputSchema: () => createIntegrationCassaInCloudInputSchema,
|
|
121
|
+
createIntegrationCassaInCloudResponseSchema: () => createIntegrationCassaInCloudResponseSchema,
|
|
122
|
+
createIntegrationDeliverooInputSchema: () => createIntegrationDeliverooInputSchema,
|
|
123
|
+
createIntegrationDeliverooResponseSchema: () => createIntegrationDeliverooResponseSchema,
|
|
124
|
+
createIntegrationGlovoInputSchema: () => createIntegrationGlovoInputSchema,
|
|
125
|
+
createIntegrationGlovoResponseSchema: () => createIntegrationGlovoResponseSchema,
|
|
126
|
+
createIntegrationJustEatInputSchema: () => createIntegrationJustEatInputSchema,
|
|
127
|
+
createIntegrationJustEatResponseSchema: () => createIntegrationJustEatResponseSchema,
|
|
128
|
+
deleteIntegrationActivationRequestInputSchema: () => deleteIntegrationActivationRequestInputSchema,
|
|
129
|
+
deleteIntegrationActivationRequestResponseSchema: () => deleteIntegrationActivationRequestResponseSchema,
|
|
130
|
+
deleteIntegrationCancellationRequestInputSchema: () => deleteIntegrationCancellationRequestInputSchema,
|
|
131
|
+
deleteIntegrationCancellationRequestResponseSchema: () => deleteIntegrationCancellationRequestResponseSchema,
|
|
132
|
+
deleteIntegrationCassaInCloudInputSchema: () => deleteIntegrationCassaInCloudInputSchema,
|
|
133
|
+
deleteIntegrationCassaInCloudResponseSchema: () => deleteIntegrationCassaInCloudResponseSchema,
|
|
134
|
+
deleteIntegrationDeliverooInputSchema: () => deleteIntegrationDeliverooInputSchema,
|
|
135
|
+
deleteIntegrationDeliverooResponseSchema: () => deleteIntegrationDeliverooResponseSchema,
|
|
136
|
+
deleteIntegrationGlovoInputSchema: () => deleteIntegrationGlovoInputSchema,
|
|
137
|
+
deleteIntegrationGlovoResponseSchema: () => deleteIntegrationGlovoResponseSchema,
|
|
138
|
+
deleteIntegrationInputSchema: () => deleteIntegrationInputSchema,
|
|
139
|
+
deleteIntegrationJustEatInputSchema: () => deleteIntegrationJustEatInputSchema,
|
|
140
|
+
deleteIntegrationJustEatResponseSchema: () => deleteIntegrationJustEatResponseSchema,
|
|
141
|
+
deleteIntegrationResponseSchema: () => deleteIntegrationResponseSchema,
|
|
142
|
+
getIntegrationActivationRequestDetailsInputSchema: () => getIntegrationActivationRequestDetailsInputSchema,
|
|
143
|
+
getIntegrationActivationRequestDetailsResponseSchema: () => getIntegrationActivationRequestDetailsResponseSchema,
|
|
144
|
+
getIntegrationActivationRequestsInputSchema: () => getIntegrationActivationRequestsInputSchema,
|
|
145
|
+
getIntegrationActivationRequestsQuerySchema: () => getIntegrationActivationRequestsQuerySchema,
|
|
146
|
+
getIntegrationActivationRequestsResponseSchema: () => getIntegrationActivationRequestsResponseSchema,
|
|
147
|
+
getIntegrationCancellationRequestDetailsInputSchema: () => getIntegrationCancellationRequestDetailsInputSchema,
|
|
148
|
+
getIntegrationCancellationRequestDetailsResponseSchema: () => getIntegrationCancellationRequestDetailsResponseSchema,
|
|
149
|
+
getIntegrationCancellationRequestsInputSchema: () => getIntegrationCancellationRequestsInputSchema,
|
|
150
|
+
getIntegrationCancellationRequestsQuerySchema: () => getIntegrationCancellationRequestsQuerySchema,
|
|
151
|
+
getIntegrationCancellationRequestsResponseSchema: () => getIntegrationCancellationRequestsResponseSchema,
|
|
152
|
+
getIntegrationCassaInCloudClientLogRequestDetailsInputSchema: () => getIntegrationCassaInCloudClientLogRequestDetailsInputSchema,
|
|
153
|
+
getIntegrationCassaInCloudClientLogRequestDetailsResponseSchema: () => getIntegrationCassaInCloudClientLogRequestDetailsResponseSchema,
|
|
154
|
+
getIntegrationCassaInCloudClientLogRequestsInputSchema: () => getIntegrationCassaInCloudClientLogRequestsInputSchema,
|
|
155
|
+
getIntegrationCassaInCloudClientLogRequestsQuerySchema: () => getIntegrationCassaInCloudClientLogRequestsQuerySchema,
|
|
156
|
+
getIntegrationCassaInCloudClientLogRequestsResponseSchema: () => getIntegrationCassaInCloudClientLogRequestsResponseSchema,
|
|
157
|
+
getIntegrationCassaInCloudDetailsInputSchema: () => getIntegrationCassaInCloudDetailsInputSchema,
|
|
158
|
+
getIntegrationCassaInCloudDetailsResponseSchema: () => getIntegrationCassaInCloudDetailsResponseSchema,
|
|
159
|
+
getIntegrationCassaInCloudListInputSchema: () => getIntegrationCassaInCloudListInputSchema,
|
|
160
|
+
getIntegrationCassaInCloudListQuerySchema: () => getIntegrationCassaInCloudListQuerySchema,
|
|
161
|
+
getIntegrationCassaInCloudListResponseSchema: () => getIntegrationCassaInCloudListResponseSchema,
|
|
162
|
+
getIntegrationCassaInCloudSyncMenuProcessDetailsInputSchema: () => getIntegrationCassaInCloudSyncMenuProcessDetailsInputSchema,
|
|
163
|
+
getIntegrationCassaInCloudSyncMenuProcessDetailsResponseSchema: () => getIntegrationCassaInCloudSyncMenuProcessDetailsResponseSchema,
|
|
164
|
+
getIntegrationCassaInCloudSyncMenuProcessesInputSchema: () => getIntegrationCassaInCloudSyncMenuProcessesInputSchema,
|
|
165
|
+
getIntegrationCassaInCloudSyncMenuProcessesQuerySchema: () => getIntegrationCassaInCloudSyncMenuProcessesQuerySchema,
|
|
166
|
+
getIntegrationCassaInCloudSyncMenuProcessesResponseSchema: () => getIntegrationCassaInCloudSyncMenuProcessesResponseSchema,
|
|
167
|
+
getIntegrationCassaInCloudWebHookEventDetailsInputSchema: () => getIntegrationCassaInCloudWebHookEventDetailsInputSchema,
|
|
168
|
+
getIntegrationCassaInCloudWebHookEventDetailsResponseSchema: () => getIntegrationCassaInCloudWebHookEventDetailsResponseSchema,
|
|
169
|
+
getIntegrationCassaInCloudWebHookEventsInputSchema: () => getIntegrationCassaInCloudWebHookEventsInputSchema,
|
|
170
|
+
getIntegrationCassaInCloudWebHookEventsQuerySchema: () => getIntegrationCassaInCloudWebHookEventsQuerySchema,
|
|
171
|
+
getIntegrationCassaInCloudWebHookEventsResponseSchema: () => getIntegrationCassaInCloudWebHookEventsResponseSchema,
|
|
172
|
+
getIntegrationDeliverooClientLogRequestDetailsInputSchema: () => getIntegrationDeliverooClientLogRequestDetailsInputSchema,
|
|
173
|
+
getIntegrationDeliverooClientLogRequestDetailsResponseSchema: () => getIntegrationDeliverooClientLogRequestDetailsResponseSchema,
|
|
174
|
+
getIntegrationDeliverooClientLogRequestsInputSchema: () => getIntegrationDeliverooClientLogRequestsInputSchema,
|
|
175
|
+
getIntegrationDeliverooClientLogRequestsQuerySchema: () => getIntegrationDeliverooClientLogRequestsQuerySchema,
|
|
176
|
+
getIntegrationDeliverooClientLogRequestsResponseSchema: () => getIntegrationDeliverooClientLogRequestsResponseSchema,
|
|
177
|
+
getIntegrationDeliverooDetailsInputSchema: () => getIntegrationDeliverooDetailsInputSchema,
|
|
178
|
+
getIntegrationDeliverooDetailsResponseSchema: () => getIntegrationDeliverooDetailsResponseSchema,
|
|
179
|
+
getIntegrationDeliverooListInputSchema: () => getIntegrationDeliverooListInputSchema,
|
|
180
|
+
getIntegrationDeliverooListQuerySchema: () => getIntegrationDeliverooListQuerySchema,
|
|
181
|
+
getIntegrationDeliverooListResponseSchema: () => getIntegrationDeliverooListResponseSchema,
|
|
182
|
+
getIntegrationDeliverooMenuVersionDetailsInputSchema: () => getIntegrationDeliverooMenuVersionDetailsInputSchema,
|
|
183
|
+
getIntegrationDeliverooMenuVersionDetailsResponseSchema: () => getIntegrationDeliverooMenuVersionDetailsResponseSchema,
|
|
184
|
+
getIntegrationDeliverooMenuVersionsInputSchema: () => getIntegrationDeliverooMenuVersionsInputSchema,
|
|
185
|
+
getIntegrationDeliverooMenuVersionsQuerySchema: () => getIntegrationDeliverooMenuVersionsQuerySchema,
|
|
186
|
+
getIntegrationDeliverooMenuVersionsResponseSchema: () => getIntegrationDeliverooMenuVersionsResponseSchema,
|
|
187
|
+
getIntegrationDeliverooSyncMenuProcessDetailsInputSchema: () => getIntegrationDeliverooSyncMenuProcessDetailsInputSchema,
|
|
188
|
+
getIntegrationDeliverooSyncMenuProcessDetailsResponseSchema: () => getIntegrationDeliverooSyncMenuProcessDetailsResponseSchema,
|
|
189
|
+
getIntegrationDeliverooSyncMenuProcessesInputSchema: () => getIntegrationDeliverooSyncMenuProcessesInputSchema,
|
|
190
|
+
getIntegrationDeliverooSyncMenuProcessesQuerySchema: () => getIntegrationDeliverooSyncMenuProcessesQuerySchema,
|
|
191
|
+
getIntegrationDeliverooSyncMenuProcessesResponseSchema: () => getIntegrationDeliverooSyncMenuProcessesResponseSchema,
|
|
192
|
+
getIntegrationDeliverooWebhookEventDetailsInputSchema: () => getIntegrationDeliverooWebhookEventDetailsInputSchema,
|
|
193
|
+
getIntegrationDeliverooWebhookEventDetailsResponseSchema: () => getIntegrationDeliverooWebhookEventDetailsResponseSchema,
|
|
194
|
+
getIntegrationDeliverooWebhookEventsInputSchema: () => getIntegrationDeliverooWebhookEventsInputSchema,
|
|
195
|
+
getIntegrationDeliverooWebhookEventsQuerySchema: () => getIntegrationDeliverooWebhookEventsQuerySchema,
|
|
196
|
+
getIntegrationDeliverooWebhookEventsResponseSchema: () => getIntegrationDeliverooWebhookEventsResponseSchema,
|
|
197
|
+
getIntegrationDetailsInputSchema: () => getIntegrationDetailsInputSchema,
|
|
198
|
+
getIntegrationDetailsResponseSchema: () => getIntegrationDetailsResponseSchema,
|
|
199
|
+
getIntegrationGlovoClientLogRequestDetailsInputSchema: () => getIntegrationGlovoClientLogRequestDetailsInputSchema,
|
|
200
|
+
getIntegrationGlovoClientLogRequestDetailsResponseSchema: () => getIntegrationGlovoClientLogRequestDetailsResponseSchema,
|
|
201
|
+
getIntegrationGlovoClientLogRequestsInputSchema: () => getIntegrationGlovoClientLogRequestsInputSchema,
|
|
202
|
+
getIntegrationGlovoClientLogRequestsQuerySchema: () => getIntegrationGlovoClientLogRequestsQuerySchema,
|
|
203
|
+
getIntegrationGlovoClientLogRequestsResponseSchema: () => getIntegrationGlovoClientLogRequestsResponseSchema,
|
|
204
|
+
getIntegrationGlovoDetailsInputSchema: () => getIntegrationGlovoDetailsInputSchema,
|
|
205
|
+
getIntegrationGlovoDetailsResponseSchema: () => getIntegrationGlovoDetailsResponseSchema,
|
|
206
|
+
getIntegrationGlovoListInputSchema: () => getIntegrationGlovoListInputSchema,
|
|
207
|
+
getIntegrationGlovoListQuerySchema: () => getIntegrationGlovoListQuerySchema,
|
|
208
|
+
getIntegrationGlovoListResponseSchema: () => getIntegrationGlovoListResponseSchema,
|
|
209
|
+
getIntegrationGlovoMenuUpdateDetailsInputSchema: () => getIntegrationGlovoMenuUpdateDetailsInputSchema,
|
|
210
|
+
getIntegrationGlovoMenuUpdateDetailsResponseSchema: () => getIntegrationGlovoMenuUpdateDetailsResponseSchema,
|
|
211
|
+
getIntegrationGlovoMenuUpdatesInputSchema: () => getIntegrationGlovoMenuUpdatesInputSchema,
|
|
212
|
+
getIntegrationGlovoMenuUpdatesQuerySchema: () => getIntegrationGlovoMenuUpdatesQuerySchema,
|
|
213
|
+
getIntegrationGlovoMenuUpdatesResponseSchema: () => getIntegrationGlovoMenuUpdatesResponseSchema,
|
|
214
|
+
getIntegrationGlovoMenuVersionDetailsInputSchema: () => getIntegrationGlovoMenuVersionDetailsInputSchema,
|
|
215
|
+
getIntegrationGlovoMenuVersionDetailsResponseSchema: () => getIntegrationGlovoMenuVersionDetailsResponseSchema,
|
|
216
|
+
getIntegrationGlovoMenuVersionsInputSchema: () => getIntegrationGlovoMenuVersionsInputSchema,
|
|
217
|
+
getIntegrationGlovoMenuVersionsQuerySchema: () => getIntegrationGlovoMenuVersionsQuerySchema,
|
|
218
|
+
getIntegrationGlovoMenuVersionsResponseSchema: () => getIntegrationGlovoMenuVersionsResponseSchema,
|
|
219
|
+
getIntegrationGlovoWebhookEventDetailsInputSchema: () => getIntegrationGlovoWebhookEventDetailsInputSchema,
|
|
220
|
+
getIntegrationGlovoWebhookEventDetailsResponseSchema: () => getIntegrationGlovoWebhookEventDetailsResponseSchema,
|
|
221
|
+
getIntegrationGlovoWebhookEventsInputSchema: () => getIntegrationGlovoWebhookEventsInputSchema,
|
|
222
|
+
getIntegrationGlovoWebhookEventsQuerySchema: () => getIntegrationGlovoWebhookEventsQuerySchema,
|
|
223
|
+
getIntegrationGlovoWebhookEventsResponseSchema: () => getIntegrationGlovoWebhookEventsResponseSchema,
|
|
224
|
+
getIntegrationJustEatClientLogRequestDetailsInputSchema: () => getIntegrationJustEatClientLogRequestDetailsInputSchema,
|
|
225
|
+
getIntegrationJustEatClientLogRequestDetailsResponseSchema: () => getIntegrationJustEatClientLogRequestDetailsResponseSchema,
|
|
226
|
+
getIntegrationJustEatClientLogRequestsInputSchema: () => getIntegrationJustEatClientLogRequestsInputSchema,
|
|
227
|
+
getIntegrationJustEatClientLogRequestsQuerySchema: () => getIntegrationJustEatClientLogRequestsQuerySchema,
|
|
228
|
+
getIntegrationJustEatClientLogRequestsResponseSchema: () => getIntegrationJustEatClientLogRequestsResponseSchema,
|
|
229
|
+
getIntegrationJustEatDetailsInputSchema: () => getIntegrationJustEatDetailsInputSchema,
|
|
230
|
+
getIntegrationJustEatDetailsResponseSchema: () => getIntegrationJustEatDetailsResponseSchema,
|
|
231
|
+
getIntegrationJustEatListInputSchema: () => getIntegrationJustEatListInputSchema,
|
|
232
|
+
getIntegrationJustEatListQuerySchema: () => getIntegrationJustEatListQuerySchema,
|
|
233
|
+
getIntegrationJustEatListResponseSchema: () => getIntegrationJustEatListResponseSchema,
|
|
234
|
+
getIntegrationJustEatMenuVersionDetailsInputSchema: () => getIntegrationJustEatMenuVersionDetailsInputSchema,
|
|
235
|
+
getIntegrationJustEatMenuVersionDetailsResponseSchema: () => getIntegrationJustEatMenuVersionDetailsResponseSchema,
|
|
236
|
+
getIntegrationJustEatMenuVersionsInputSchema: () => getIntegrationJustEatMenuVersionsInputSchema,
|
|
237
|
+
getIntegrationJustEatMenuVersionsQuerySchema: () => getIntegrationJustEatMenuVersionsQuerySchema,
|
|
238
|
+
getIntegrationJustEatMenuVersionsResponseSchema: () => getIntegrationJustEatMenuVersionsResponseSchema,
|
|
239
|
+
getIntegrationJustEatSyncMenuProcessDetailsInputSchema: () => getIntegrationJustEatSyncMenuProcessDetailsInputSchema,
|
|
240
|
+
getIntegrationJustEatSyncMenuProcessDetailsResponseSchema: () => getIntegrationJustEatSyncMenuProcessDetailsResponseSchema,
|
|
241
|
+
getIntegrationJustEatSyncMenuProcessesInputSchema: () => getIntegrationJustEatSyncMenuProcessesInputSchema,
|
|
242
|
+
getIntegrationJustEatSyncMenuProcessesQuerySchema: () => getIntegrationJustEatSyncMenuProcessesQuerySchema,
|
|
243
|
+
getIntegrationJustEatSyncMenuProcessesResponseSchema: () => getIntegrationJustEatSyncMenuProcessesResponseSchema,
|
|
244
|
+
getIntegrationsInputSchema: () => getIntegrationsInputSchema,
|
|
245
|
+
getIntegrationsQuerySchema: () => getIntegrationsQuerySchema,
|
|
246
|
+
getIntegrationsResponseSchema: () => getIntegrationsResponseSchema,
|
|
247
|
+
integrationActivationRequestDetailsSchema: () => integrationActivationRequestDetailsSchema,
|
|
248
|
+
integrationActivationRequestSchema: () => integrationActivationRequestSchema,
|
|
249
|
+
integrationBaseSchema: () => integrationBaseSchema,
|
|
250
|
+
integrationCancellationRequestDetailsSchema: () => integrationCancellationRequestDetailsSchema,
|
|
251
|
+
integrationCancellationRequestNullablePathSchema: () => integrationCancellationRequestNullablePathSchema,
|
|
252
|
+
integrationCancellationRequestPathSchema: () => integrationCancellationRequestPathSchema,
|
|
253
|
+
integrationCancellationRequestSchema: () => integrationCancellationRequestSchema,
|
|
254
|
+
integrationCancellationRequestStatusSchema: () => integrationCancellationRequestStatusSchema,
|
|
255
|
+
integrationCancellationRequestStatuses: () => integrationCancellationRequestStatuses,
|
|
256
|
+
integrationCassaInCloudDataSchema: () => integrationCassaInCloudDataSchema,
|
|
257
|
+
integrationCassaInCloudDirectionSchema: () => integrationCassaInCloudDirectionSchema,
|
|
258
|
+
integrationCassaInCloudDirections: () => integrationCassaInCloudDirections,
|
|
259
|
+
integrationCassaInCloudNullablePathSchema: () => integrationCassaInCloudNullablePathSchema,
|
|
260
|
+
integrationCassaInCloudPathSchema: () => integrationCassaInCloudPathSchema,
|
|
261
|
+
integrationCassaInCloudProductChannelSchema: () => integrationCassaInCloudProductChannelSchema,
|
|
262
|
+
integrationCassaInCloudProductChannels: () => integrationCassaInCloudProductChannels,
|
|
263
|
+
integrationCassaInCloudSyncCustomersInputSchema: () => integrationCassaInCloudSyncCustomersInputSchema,
|
|
264
|
+
integrationCassaInCloudSyncCustomersResponseSchema: () => integrationCassaInCloudSyncCustomersResponseSchema,
|
|
265
|
+
integrationCassaInCloudSyncMenuErrorLogNullablePathSchema: () => integrationCassaInCloudSyncMenuErrorLogNullablePathSchema,
|
|
266
|
+
integrationCassaInCloudSyncMenuErrorLogPathSchema: () => integrationCassaInCloudSyncMenuErrorLogPathSchema,
|
|
267
|
+
integrationCassaInCloudSyncOrganizationsInputSchema: () => integrationCassaInCloudSyncOrganizationsInputSchema,
|
|
268
|
+
integrationCassaInCloudSyncOrganizationsResponseSchema: () => integrationCassaInCloudSyncOrganizationsResponseSchema,
|
|
269
|
+
integrationCassaInCloudSyncProductsInputSchema: () => integrationCassaInCloudSyncProductsInputSchema,
|
|
270
|
+
integrationCassaInCloudSyncProductsResponseSchema: () => integrationCassaInCloudSyncProductsResponseSchema,
|
|
271
|
+
integrationCassaInCloudSyncSalesModesInputSchema: () => integrationCassaInCloudSyncSalesModesInputSchema,
|
|
272
|
+
integrationCassaInCloudSyncSalesModesResponseSchema: () => integrationCassaInCloudSyncSalesModesResponseSchema,
|
|
273
|
+
integrationCassaInCloudSyncStockInputSchema: () => integrationCassaInCloudSyncStockInputSchema,
|
|
274
|
+
integrationCassaInCloudSyncStockResponseSchema: () => integrationCassaInCloudSyncStockResponseSchema,
|
|
275
|
+
integrationCassaInCloudSyncTimetablesInputSchema: () => integrationCassaInCloudSyncTimetablesInputSchema,
|
|
276
|
+
integrationCassaInCloudSyncTimetablesResponseSchema: () => integrationCassaInCloudSyncTimetablesResponseSchema,
|
|
277
|
+
integrationCassaInCloudWebHookEventEntities: () => integrationCassaInCloudWebHookEventEntities,
|
|
278
|
+
integrationCassaInCloudWebHookEventEntitySchema: () => integrationCassaInCloudWebHookEventEntitySchema,
|
|
279
|
+
integrationCassaInCloudWebHookEventEventSchema: () => integrationCassaInCloudWebHookEventEventSchema,
|
|
280
|
+
integrationCassaInCloudWebHookEventEvents: () => integrationCassaInCloudWebHookEventEvents,
|
|
281
|
+
integrationClientLogRequestDetailsSchema: () => integrationClientLogRequestDetailsSchema,
|
|
282
|
+
integrationClientLogRequestMethodSchema: () => integrationClientLogRequestMethodSchema,
|
|
283
|
+
integrationClientLogRequestMethods: () => integrationClientLogRequestMethods,
|
|
284
|
+
integrationClientLogRequestSchema: () => integrationClientLogRequestSchema,
|
|
285
|
+
integrationDeliverooDataSchema: () => integrationDeliverooDataSchema,
|
|
286
|
+
integrationDeliverooNullablePathSchema: () => integrationDeliverooNullablePathSchema,
|
|
287
|
+
integrationDeliverooPathSchema: () => integrationDeliverooPathSchema,
|
|
288
|
+
integrationDeliverooSiteStatusSchema: () => integrationDeliverooSiteStatusSchema,
|
|
289
|
+
integrationDeliverooSiteStatuses: () => integrationDeliverooSiteStatuses,
|
|
290
|
+
integrationDeliverooSyncMenuInputSchema: () => integrationDeliverooSyncMenuInputSchema,
|
|
291
|
+
integrationDeliverooSyncMenuProcessModeSchema: () => integrationDeliverooSyncMenuProcessModeSchema,
|
|
292
|
+
integrationDeliverooSyncMenuProcessModes: () => integrationDeliverooSyncMenuProcessModes,
|
|
293
|
+
integrationDeliverooSyncMenuResponseSchema: () => integrationDeliverooSyncMenuResponseSchema,
|
|
294
|
+
integrationDeliverooSyncOpeningHoursInputSchema: () => integrationDeliverooSyncOpeningHoursInputSchema,
|
|
295
|
+
integrationDeliverooSyncOpeningHoursResponseSchema: () => integrationDeliverooSyncOpeningHoursResponseSchema,
|
|
296
|
+
integrationDeliverooWebhookEventTypeSchema: () => integrationDeliverooWebhookEventTypeSchema,
|
|
297
|
+
integrationDeliverooWebhookEventTypes: () => integrationDeliverooWebhookEventTypes,
|
|
298
|
+
integrationDeliveryProviderCommonSchema: () => integrationDeliveryProviderCommonSchema,
|
|
299
|
+
integrationDetailsFieldsSchema: () => integrationDetailsFieldsSchema,
|
|
300
|
+
integrationGlovoDataSchema: () => integrationGlovoDataSchema,
|
|
301
|
+
integrationGlovoMenuUpdateStatusSchema: () => integrationGlovoMenuUpdateStatusSchema,
|
|
302
|
+
integrationGlovoMenuUpdateStatuses: () => integrationGlovoMenuUpdateStatuses,
|
|
303
|
+
integrationGlovoNullablePathSchema: () => integrationGlovoNullablePathSchema,
|
|
304
|
+
integrationGlovoPathSchema: () => integrationGlovoPathSchema,
|
|
305
|
+
integrationGlovoStoreStatusSchema: () => integrationGlovoStoreStatusSchema,
|
|
306
|
+
integrationGlovoStoreStatuses: () => integrationGlovoStoreStatuses,
|
|
307
|
+
integrationGlovoSyncMenuInputSchema: () => integrationGlovoSyncMenuInputSchema,
|
|
308
|
+
integrationGlovoSyncMenuResponseSchema: () => integrationGlovoSyncMenuResponseSchema,
|
|
309
|
+
integrationGlovoWebhookEventTypeSchema: () => integrationGlovoWebhookEventTypeSchema,
|
|
310
|
+
integrationGlovoWebhookEventTypes: () => integrationGlovoWebhookEventTypes,
|
|
311
|
+
integrationJustEatDataSchema: () => integrationJustEatDataSchema,
|
|
312
|
+
integrationJustEatNullablePathSchema: () => integrationJustEatNullablePathSchema,
|
|
313
|
+
integrationJustEatPathSchema: () => integrationJustEatPathSchema,
|
|
314
|
+
integrationJustEatRestaurantStatusSchema: () => integrationJustEatRestaurantStatusSchema,
|
|
315
|
+
integrationJustEatRestaurantStatuses: () => integrationJustEatRestaurantStatuses,
|
|
316
|
+
integrationJustEatSyncMenuInputSchema: () => integrationJustEatSyncMenuInputSchema,
|
|
317
|
+
integrationJustEatSyncMenuResponseSchema: () => integrationJustEatSyncMenuResponseSchema,
|
|
318
|
+
integrationJustEatSyncOpeningHoursInputSchema: () => integrationJustEatSyncOpeningHoursInputSchema,
|
|
319
|
+
integrationJustEatSyncOpeningHoursResponseSchema: () => integrationJustEatSyncOpeningHoursResponseSchema,
|
|
320
|
+
integrationJustEatSyncTypeSchema: () => integrationJustEatSyncTypeSchema,
|
|
321
|
+
integrationJustEatSyncTypes: () => integrationJustEatSyncTypes,
|
|
322
|
+
integrationNullablePathSchema: () => integrationNullablePathSchema,
|
|
323
|
+
integrationPathSchema: () => integrationPathSchema,
|
|
324
|
+
integrationPathSchemas: () => integrationPathSchemas,
|
|
325
|
+
integrationProviderSchema: () => integrationProviderSchema,
|
|
326
|
+
integrationProviders: () => integrationProviders,
|
|
327
|
+
integrationServiceDataSchema: () => integrationServiceDataSchema,
|
|
328
|
+
integrationServiceSchema: () => integrationServiceSchema,
|
|
329
|
+
integrationServices: () => integrationServices,
|
|
330
|
+
integrationStatusSchema: () => integrationStatusSchema,
|
|
331
|
+
integrationStatuses: () => integrationStatuses,
|
|
332
|
+
menuVersionDetailsSchema: () => menuVersionDetailsSchema,
|
|
333
|
+
menuVersionSchema: () => menuVersionSchema,
|
|
334
|
+
respondIntegrationActivationRequestInputSchema: () => respondIntegrationActivationRequestInputSchema,
|
|
335
|
+
respondIntegrationActivationRequestResponseSchema: () => respondIntegrationActivationRequestResponseSchema,
|
|
336
|
+
sendIntegrationActivationRequestToPartnerInputSchema: () => sendIntegrationActivationRequestToPartnerInputSchema,
|
|
337
|
+
sendIntegrationActivationRequestToPartnerResponseSchema: () => sendIntegrationActivationRequestToPartnerResponseSchema,
|
|
338
|
+
updateIntegrationActivationRequestInputSchema: () => updateIntegrationActivationRequestInputSchema,
|
|
339
|
+
updateIntegrationActivationRequestResponseSchema: () => updateIntegrationActivationRequestResponseSchema,
|
|
340
|
+
updateIntegrationCassaInCloudInputSchema: () => updateIntegrationCassaInCloudInputSchema,
|
|
341
|
+
updateIntegrationCassaInCloudResponseSchema: () => updateIntegrationCassaInCloudResponseSchema,
|
|
342
|
+
updateIntegrationDeliverooInputSchema: () => updateIntegrationDeliverooInputSchema,
|
|
343
|
+
updateIntegrationDeliverooResponseSchema: () => updateIntegrationDeliverooResponseSchema,
|
|
344
|
+
updateIntegrationDeliverooSiteStatusInputSchema: () => updateIntegrationDeliverooSiteStatusInputSchema,
|
|
345
|
+
updateIntegrationDeliverooSiteStatusResponseSchema: () => updateIntegrationDeliverooSiteStatusResponseSchema,
|
|
346
|
+
updateIntegrationGlovoInputSchema: () => updateIntegrationGlovoInputSchema,
|
|
347
|
+
updateIntegrationGlovoResponseSchema: () => updateIntegrationGlovoResponseSchema,
|
|
348
|
+
updateIntegrationGlovoStoreStatusInputSchema: () => updateIntegrationGlovoStoreStatusInputSchema,
|
|
349
|
+
updateIntegrationGlovoStoreStatusResponseSchema: () => updateIntegrationGlovoStoreStatusResponseSchema,
|
|
350
|
+
updateIntegrationInputSchema: () => updateIntegrationInputSchema,
|
|
351
|
+
updateIntegrationJustEatInputSchema: () => updateIntegrationJustEatInputSchema,
|
|
352
|
+
updateIntegrationJustEatResponseSchema: () => updateIntegrationJustEatResponseSchema,
|
|
353
|
+
updateIntegrationJustEatRestaurantStatusInputSchema: () => updateIntegrationJustEatRestaurantStatusInputSchema,
|
|
354
|
+
updateIntegrationJustEatRestaurantStatusResponseSchema: () => updateIntegrationJustEatRestaurantStatusResponseSchema,
|
|
355
|
+
updateIntegrationResponseSchema: () => updateIntegrationResponseSchema,
|
|
356
|
+
writableIntegrationSchema: () => writableIntegrationSchema
|
|
357
|
+
});
|
|
358
|
+
module.exports = __toCommonJS(index_exports);
|
|
359
|
+
|
|
360
|
+
// src/activatable-integration.ts
|
|
361
|
+
var import_sdk_js_global_types = require("@deliverart/sdk-js-global-types");
|
|
362
|
+
var import_zod4 = require("zod");
|
|
363
|
+
|
|
364
|
+
// src/activatable-integration-data-schemas.ts
|
|
365
|
+
var import_zod2 = require("zod");
|
|
366
|
+
|
|
367
|
+
// src/types.ts
|
|
368
|
+
var import_zod = require("zod");
|
|
369
|
+
var integrationStatuses = ["pending", "active", "deleting"];
|
|
370
|
+
var integrationStatusSchema = import_zod.z.enum(integrationStatuses);
|
|
371
|
+
var integrationProviders = ["deliverart", "cassa_in_cloud"];
|
|
372
|
+
var integrationProviderSchema = import_zod.z.enum(integrationProviders);
|
|
373
|
+
var integrationServices = ["deliveroo", "justeat", "glovo", "cassa_in_cloud"];
|
|
374
|
+
var integrationServiceSchema = import_zod.z.enum(integrationServices);
|
|
375
|
+
var integrationClientLogRequestMethods = ["DELETE", "GET", "PATCH", "POST", "PUT"];
|
|
376
|
+
var integrationClientLogRequestMethodSchema = import_zod.z.enum(integrationClientLogRequestMethods);
|
|
377
|
+
var integrationJustEatSyncTypes = ["ALL", "DELIVERY", "TAKE_AWAY"];
|
|
378
|
+
var integrationJustEatSyncTypeSchema = import_zod.z.enum(integrationJustEatSyncTypes);
|
|
379
|
+
var integrationJustEatRestaurantStatuses = ["OPEN", "CLOSED"];
|
|
380
|
+
var integrationJustEatRestaurantStatusSchema = import_zod.z.enum(integrationJustEatRestaurantStatuses);
|
|
381
|
+
var integrationDeliverooSiteStatuses = ["OPEN", "CLOSED"];
|
|
382
|
+
var integrationDeliverooSiteStatusSchema = import_zod.z.enum(integrationDeliverooSiteStatuses);
|
|
383
|
+
var integrationDeliverooSyncMenuProcessModes = ["menu", "item_availabilities"];
|
|
384
|
+
var integrationDeliverooSyncMenuProcessModeSchema = import_zod.z.enum(
|
|
385
|
+
integrationDeliverooSyncMenuProcessModes
|
|
386
|
+
);
|
|
387
|
+
var integrationDeliverooWebhookEventTypes = [
|
|
388
|
+
"order.new",
|
|
389
|
+
"order.status_update",
|
|
390
|
+
"rider.status_update",
|
|
391
|
+
"menu.upload_result"
|
|
392
|
+
];
|
|
393
|
+
var integrationDeliverooWebhookEventTypeSchema = import_zod.z.enum(
|
|
394
|
+
integrationDeliverooWebhookEventTypes
|
|
395
|
+
);
|
|
396
|
+
var integrationGlovoMenuUpdateStatuses = [
|
|
397
|
+
"SUCCESS",
|
|
398
|
+
"PROCESSING",
|
|
399
|
+
"FETCH_MENU_INVALID_PAYLOAD",
|
|
400
|
+
"FETCH_MENU_SERVER_ERROR",
|
|
401
|
+
"FETCH_MENU_UNAUTHORIZED",
|
|
402
|
+
"NOT_PROCESSED",
|
|
403
|
+
"LIMIT_EXCEEDED",
|
|
404
|
+
"GLOVO_ERROR",
|
|
405
|
+
"SCHEDULE_CATALOG_DISABLED"
|
|
406
|
+
];
|
|
407
|
+
var integrationGlovoMenuUpdateStatusSchema = import_zod.z.enum(integrationGlovoMenuUpdateStatuses);
|
|
408
|
+
var integrationGlovoStoreStatuses = ["OPEN", "CLOSED"];
|
|
409
|
+
var integrationGlovoStoreStatusSchema = import_zod.z.enum(integrationGlovoStoreStatuses);
|
|
410
|
+
var integrationGlovoWebhookEventTypes = ["order.dispatched", "order.cancelled"];
|
|
411
|
+
var integrationGlovoWebhookEventTypeSchema = import_zod.z.enum(integrationGlovoWebhookEventTypes);
|
|
412
|
+
var integrationCassaInCloudDirections = [
|
|
413
|
+
"EXTERNAL_TO_INTERNAL",
|
|
414
|
+
"INTERNAL_TO_EXTERNAL"
|
|
415
|
+
];
|
|
416
|
+
var integrationCassaInCloudDirectionSchema = import_zod.z.enum(integrationCassaInCloudDirections);
|
|
417
|
+
var integrationCassaInCloudProductChannels = [
|
|
418
|
+
"RISTO",
|
|
419
|
+
"SALE",
|
|
420
|
+
"ECOMMERCE",
|
|
421
|
+
"MOBILE_COMMERCE",
|
|
422
|
+
"SELF_ORDER",
|
|
423
|
+
"KIOSK"
|
|
424
|
+
];
|
|
425
|
+
var integrationCassaInCloudProductChannelSchema = import_zod.z.enum(
|
|
426
|
+
integrationCassaInCloudProductChannels
|
|
427
|
+
);
|
|
428
|
+
var integrationCassaInCloudWebHookEventEntities = [
|
|
429
|
+
"BILL",
|
|
430
|
+
"RECEIPT",
|
|
431
|
+
"CREDIT_NOTE",
|
|
432
|
+
"INVOICE",
|
|
433
|
+
"DDT",
|
|
434
|
+
"ORDER",
|
|
435
|
+
"QUOTATION",
|
|
436
|
+
"RECONCILIATION",
|
|
437
|
+
"STOCK_MOVEMENT",
|
|
438
|
+
"CUSTOMER",
|
|
439
|
+
"ORGANIZATION"
|
|
440
|
+
];
|
|
441
|
+
var integrationCassaInCloudWebHookEventEntitySchema = import_zod.z.enum(
|
|
442
|
+
integrationCassaInCloudWebHookEventEntities
|
|
443
|
+
);
|
|
444
|
+
var integrationCassaInCloudWebHookEventEvents = ["CREATE", "UPDATE", "DELETE"];
|
|
445
|
+
var integrationCassaInCloudWebHookEventEventSchema = import_zod.z.enum(
|
|
446
|
+
integrationCassaInCloudWebHookEventEvents
|
|
447
|
+
);
|
|
448
|
+
function createIntegrationPathSchemas(service) {
|
|
449
|
+
const regex = new RegExp(`^/integrations/${service}/[a-z_]+/[0-9a-fA-F-]{36}$`);
|
|
450
|
+
const pathSchema = import_zod.z.string().refine((val) => regex.test(val), {
|
|
451
|
+
message: `Invalid integration ${service} path format`
|
|
452
|
+
});
|
|
453
|
+
const nullablePathSchema = import_zod.z.string().nullable().refine((val) => val == null || regex.test(val), {
|
|
454
|
+
message: `Invalid integration ${service} path format`
|
|
455
|
+
});
|
|
456
|
+
return { pathSchema, nullablePathSchema };
|
|
457
|
+
}
|
|
458
|
+
var integrationPathSchemas = Object.fromEntries(
|
|
459
|
+
integrationServices.map((service) => [service, createIntegrationPathSchemas(service)])
|
|
460
|
+
);
|
|
461
|
+
var integrationDeliverooPathSchema = integrationPathSchemas.deliveroo.pathSchema;
|
|
462
|
+
var integrationDeliverooNullablePathSchema = integrationPathSchemas.deliveroo.nullablePathSchema;
|
|
463
|
+
var integrationGlovoPathSchema = integrationPathSchemas.glovo.pathSchema;
|
|
464
|
+
var integrationGlovoNullablePathSchema = integrationPathSchemas.glovo.nullablePathSchema;
|
|
465
|
+
var integrationJustEatPathSchema = integrationPathSchemas.justeat.pathSchema;
|
|
466
|
+
var integrationJustEatNullablePathSchema = integrationPathSchemas.justeat.nullablePathSchema;
|
|
467
|
+
var integrationCassaInCloudPathSchema = integrationPathSchemas.cassa_in_cloud.pathSchema;
|
|
468
|
+
var integrationCassaInCloudNullablePathSchema = integrationPathSchemas.cassa_in_cloud.nullablePathSchema;
|
|
469
|
+
var integrationPathSchema = import_zod.z.string().refine((val) => /^\/integrations\/[a-z_]+\/[0-9a-fA-F-]{36}$/.test(val), {
|
|
470
|
+
message: "Invalid integration path format"
|
|
471
|
+
});
|
|
472
|
+
var integrationNullablePathSchema = import_zod.z.string().nullable().refine((val) => val == null || /^\/integrations\/[a-z_]+\/[0-9a-fA-F-]{36}$/.test(val), {
|
|
473
|
+
message: "Invalid integration path format"
|
|
474
|
+
});
|
|
475
|
+
var integrationCassaInCloudSyncMenuErrorLogPathSchema = import_zod.z.string().refine(
|
|
476
|
+
(val) => /^\/integrations\/cassa_in_cloud\/[a-z_]+\/[0-9a-fA-F-]{36}\/sync_menu_processes\/[a-z_]+\/[0-9a-fA-F-]{36}\/error_logs\/[a-z_]+\/[0-9a-fA-F-]{36}$/.test(
|
|
477
|
+
val
|
|
478
|
+
),
|
|
479
|
+
{
|
|
480
|
+
message: "Invalid integration path format"
|
|
481
|
+
}
|
|
482
|
+
);
|
|
483
|
+
var integrationCassaInCloudSyncMenuErrorLogNullablePathSchema = import_zod.z.string().nullable().refine(
|
|
484
|
+
(val) => val == null || /^\/integrations\/cassa_in_cloud\/[a-z_]+\/[0-9a-fA-F-]{36}\/sync_menu_processes\/[a-z_]+\/[0-9a-fA-F-]{36}\/error_logs\/[a-z_]+\/[0-9a-fA-F-]{36}$/.test(
|
|
485
|
+
val
|
|
486
|
+
),
|
|
487
|
+
{
|
|
488
|
+
message: "Invalid integration path format"
|
|
489
|
+
}
|
|
490
|
+
);
|
|
491
|
+
|
|
492
|
+
// src/activatable-integration-data-schemas.ts
|
|
493
|
+
var integrationDeliverooDataSchema = import_zod2.z.object({
|
|
494
|
+
brandId: import_zod2.z.string(),
|
|
495
|
+
siteId: import_zod2.z.string(),
|
|
496
|
+
salesModeId: import_zod2.z.string().nullable()
|
|
497
|
+
});
|
|
498
|
+
var integrationGlovoDataSchema = import_zod2.z.object({
|
|
499
|
+
storeId: import_zod2.z.string(),
|
|
500
|
+
salesModeId: import_zod2.z.string().nullable()
|
|
501
|
+
});
|
|
502
|
+
var integrationJustEatDataSchema = import_zod2.z.object({
|
|
503
|
+
restaurantId: import_zod2.z.string(),
|
|
504
|
+
salesModeId: import_zod2.z.string().nullable()
|
|
505
|
+
});
|
|
506
|
+
var integrationCassaInCloudDataSchema = import_zod2.z.object({
|
|
507
|
+
apiKey: import_zod2.z.string(),
|
|
508
|
+
idSalesPoint: import_zod2.z.number(),
|
|
509
|
+
direction: integrationCassaInCloudDirectionSchema,
|
|
510
|
+
locale: import_zod2.z.string()
|
|
511
|
+
});
|
|
512
|
+
var integrationServiceDataSchema = import_zod2.z.discriminatedUnion("service", [
|
|
513
|
+
import_zod2.z.object({
|
|
514
|
+
service: import_zod2.z.literal("deliveroo"),
|
|
515
|
+
data: integrationDeliverooDataSchema
|
|
516
|
+
}),
|
|
517
|
+
import_zod2.z.object({
|
|
518
|
+
service: import_zod2.z.literal("glovo"),
|
|
519
|
+
data: integrationGlovoDataSchema
|
|
520
|
+
}),
|
|
521
|
+
import_zod2.z.object({
|
|
522
|
+
service: import_zod2.z.literal("justeat"),
|
|
523
|
+
data: integrationJustEatDataSchema
|
|
524
|
+
}),
|
|
525
|
+
import_zod2.z.object({
|
|
526
|
+
service: import_zod2.z.literal("cassa_in_cloud"),
|
|
527
|
+
data: integrationCassaInCloudDataSchema
|
|
528
|
+
})
|
|
529
|
+
]);
|
|
530
|
+
|
|
531
|
+
// src/activatable-integration-types.ts
|
|
532
|
+
var import_zod3 = require("zod");
|
|
533
|
+
var activatableIntegrationStatuses = [
|
|
534
|
+
"waiting_for_user",
|
|
535
|
+
"waiting_for_admin",
|
|
536
|
+
"request_sent_partner",
|
|
537
|
+
"active",
|
|
538
|
+
"failed"
|
|
539
|
+
];
|
|
540
|
+
var activatableIntegrationStatusSchema = import_zod3.z.enum(activatableIntegrationStatuses);
|
|
541
|
+
var activatableIntegrationHealthStatuses = ["success", "waiting", "error"];
|
|
542
|
+
var activatableIntegrationHealthStatusSchema = import_zod3.z.enum(activatableIntegrationHealthStatuses);
|
|
543
|
+
|
|
544
|
+
// src/activatable-integration.ts
|
|
545
|
+
var activatableIntegrationBaseSchema = import_zod4.z.object({
|
|
546
|
+
id: import_zod4.z.string(),
|
|
547
|
+
connectionId: import_zod4.z.string().nullable(),
|
|
548
|
+
integration: import_zod4.z.union([
|
|
549
|
+
integrationDeliverooPathSchema,
|
|
550
|
+
integrationGlovoPathSchema,
|
|
551
|
+
integrationJustEatPathSchema,
|
|
552
|
+
integrationCassaInCloudPathSchema
|
|
553
|
+
]).nullable(),
|
|
554
|
+
status: activatableIntegrationStatusSchema,
|
|
555
|
+
healthStatus: activatableIntegrationHealthStatusSchema,
|
|
556
|
+
provider: integrationProviderSchema,
|
|
557
|
+
name: import_zod4.z.string(),
|
|
558
|
+
message: import_zod4.z.string().nullable(),
|
|
559
|
+
internalNotes: import_zod4.z.string().nullable(),
|
|
560
|
+
createdAt: import_sdk_js_global_types.datetimeSchema,
|
|
561
|
+
updatedAt: import_sdk_js_global_types.datetimeSchema,
|
|
562
|
+
updates: import_zod4.z.array(
|
|
563
|
+
import_zod4.z.object({
|
|
564
|
+
status: activatableIntegrationStatusSchema,
|
|
565
|
+
message: import_zod4.z.string(),
|
|
566
|
+
updatedAt: import_sdk_js_global_types.datetimeSchema
|
|
567
|
+
})
|
|
568
|
+
)
|
|
569
|
+
});
|
|
570
|
+
function createIntegrationSchema(service, dataSchema, integrationPathSchema2) {
|
|
571
|
+
return import_zod4.z.object({
|
|
572
|
+
service: import_zod4.z.literal(service),
|
|
573
|
+
data: dataSchema,
|
|
574
|
+
integration: integrationPathSchema2.nullable()
|
|
575
|
+
}).merge(activatableIntegrationBaseSchema.omit({ integration: true }));
|
|
576
|
+
}
|
|
577
|
+
var activatableIntegrationSchema = import_zod4.z.discriminatedUnion("service", [
|
|
578
|
+
createIntegrationSchema(
|
|
579
|
+
"deliveroo",
|
|
580
|
+
integrationDeliverooDataSchema,
|
|
581
|
+
integrationDeliverooNullablePathSchema
|
|
582
|
+
),
|
|
583
|
+
createIntegrationSchema("glovo", integrationGlovoDataSchema, integrationGlovoNullablePathSchema),
|
|
584
|
+
createIntegrationSchema(
|
|
585
|
+
"justeat",
|
|
586
|
+
integrationJustEatDataSchema,
|
|
587
|
+
integrationJustEatNullablePathSchema
|
|
588
|
+
),
|
|
589
|
+
createIntegrationSchema(
|
|
590
|
+
"cassa_in_cloud",
|
|
591
|
+
integrationCassaInCloudDataSchema,
|
|
592
|
+
integrationCassaInCloudNullablePathSchema
|
|
593
|
+
)
|
|
594
|
+
]);
|
|
595
|
+
|
|
596
|
+
// src/activation-request.ts
|
|
597
|
+
var import_sdk_js_point_of_sale = require("@deliverart/sdk-js-point-of-sale");
|
|
598
|
+
var import_zod5 = require("zod");
|
|
599
|
+
var integrationActivationRequestSchema = activatableIntegrationSchema;
|
|
600
|
+
var integrationActivationRequestDetailsSchema = import_zod5.z.discriminatedUnion("service", [
|
|
601
|
+
import_zod5.z.object({
|
|
602
|
+
pointOfSale: import_sdk_js_point_of_sale.pointOfSaleSchema,
|
|
603
|
+
service: import_zod5.z.literal("deliveroo"),
|
|
604
|
+
data: integrationDeliverooDataSchema
|
|
605
|
+
}).merge(activatableIntegrationBaseSchema),
|
|
606
|
+
import_zod5.z.object({
|
|
607
|
+
pointOfSale: import_sdk_js_point_of_sale.pointOfSaleSchema,
|
|
608
|
+
service: import_zod5.z.literal("glovo"),
|
|
609
|
+
data: integrationGlovoDataSchema
|
|
610
|
+
}).merge(activatableIntegrationBaseSchema),
|
|
611
|
+
import_zod5.z.object({
|
|
612
|
+
pointOfSale: import_sdk_js_point_of_sale.pointOfSaleSchema,
|
|
613
|
+
service: import_zod5.z.literal("justeat"),
|
|
614
|
+
data: integrationJustEatDataSchema
|
|
615
|
+
}).merge(activatableIntegrationBaseSchema),
|
|
616
|
+
import_zod5.z.object({
|
|
617
|
+
pointOfSale: import_sdk_js_point_of_sale.pointOfSaleSchema,
|
|
618
|
+
service: import_zod5.z.literal("cassa_in_cloud"),
|
|
619
|
+
data: integrationCassaInCloudDataSchema
|
|
620
|
+
}).merge(activatableIntegrationBaseSchema)
|
|
621
|
+
]);
|
|
622
|
+
|
|
623
|
+
// src/cancellation-request.ts
|
|
624
|
+
var import_sdk_js_global_types2 = require("@deliverart/sdk-js-global-types");
|
|
625
|
+
var import_zod7 = require("zod");
|
|
626
|
+
|
|
627
|
+
// src/cancellation-request-types.ts
|
|
628
|
+
var import_zod6 = require("zod");
|
|
629
|
+
var integrationCancellationRequestStatuses = ["pending", "aborted", "completed"];
|
|
630
|
+
var integrationCancellationRequestStatusSchema = import_zod6.z.enum(
|
|
631
|
+
integrationCancellationRequestStatuses
|
|
632
|
+
);
|
|
633
|
+
var integrationCancellationRequestPathSchema = import_zod6.z.string().refine((val) => /^\/integrations\/cancellation_requests\/[a-z_]+\/[0-9a-fA-F-]{36}$/.test(val), {
|
|
634
|
+
message: "Invalid integration cancellation request path format"
|
|
635
|
+
});
|
|
636
|
+
var integrationCancellationRequestNullablePathSchema = import_zod6.z.string().nullable().refine(
|
|
637
|
+
(val) => {
|
|
638
|
+
if (!val) return true;
|
|
639
|
+
return /^\/integrations\/cancellation_requests\/[a-z_]+\/[0-9a-fA-F-]{36}$/.test(val);
|
|
640
|
+
},
|
|
641
|
+
{
|
|
642
|
+
message: "Invalid integration cancellation request path format"
|
|
643
|
+
}
|
|
644
|
+
);
|
|
645
|
+
|
|
646
|
+
// src/cancellation-request.ts
|
|
647
|
+
var integrationCancellationRequestSchema = import_zod7.z.object({
|
|
648
|
+
id: import_zod7.z.string(),
|
|
649
|
+
status: integrationCancellationRequestStatusSchema,
|
|
650
|
+
createdAt: import_sdk_js_global_types2.datetimeSchema,
|
|
651
|
+
updatedAt: import_sdk_js_global_types2.datetimeSchema
|
|
652
|
+
});
|
|
653
|
+
var integrationCancellationRequestDetailsSchema = integrationCancellationRequestSchema.extend({
|
|
654
|
+
integration: integrationNullablePathSchema
|
|
655
|
+
});
|
|
656
|
+
|
|
657
|
+
// src/requests/activation-requests/ActivateIntegrationActivationRequest.ts
|
|
658
|
+
var import_sdk_js_core = require("@deliverart/sdk-js-core");
|
|
659
|
+
var import_zod8 = require("zod");
|
|
660
|
+
var activateIntegrationActivationRequestInputSchema = import_zod8.z.undefined();
|
|
661
|
+
var activateIntegrationActivationRequestResponseSchema = integrationActivationRequestDetailsSchema;
|
|
662
|
+
var ActivateIntegrationActivationRequest = class extends import_sdk_js_core.AbstractApiRequest {
|
|
663
|
+
method = "POST";
|
|
664
|
+
contentType = "application/json";
|
|
665
|
+
accept = "application/json";
|
|
666
|
+
inputSchema = activateIntegrationActivationRequestInputSchema;
|
|
667
|
+
outputSchema = activateIntegrationActivationRequestResponseSchema;
|
|
668
|
+
querySchema = void 0;
|
|
669
|
+
headersSchema = void 0;
|
|
670
|
+
integrationActivationRequestId;
|
|
671
|
+
constructor(integrationActivationRequestId) {
|
|
672
|
+
super();
|
|
673
|
+
this.integrationActivationRequestId = integrationActivationRequestId;
|
|
674
|
+
}
|
|
675
|
+
getPath() {
|
|
676
|
+
return `/integrations/activation_requests/${this.integrationActivationRequestId}/send-partner`;
|
|
677
|
+
}
|
|
678
|
+
};
|
|
679
|
+
|
|
680
|
+
// src/requests/activation-requests/AnnotateIntegrationActivationRequest.ts
|
|
681
|
+
var import_sdk_js_core2 = require("@deliverart/sdk-js-core");
|
|
682
|
+
var import_zod9 = require("zod");
|
|
683
|
+
var annotateIntegrationActivationRequestInputSchema = import_zod9.z.object({
|
|
684
|
+
message: import_zod9.z.string().min(1, "Message is required")
|
|
685
|
+
});
|
|
686
|
+
var annotateIntegrationActivationRequestResponseSchema = integrationActivationRequestDetailsSchema;
|
|
687
|
+
var AnnotateIntegrationActivationRequest = class extends import_sdk_js_core2.AbstractApiRequest {
|
|
688
|
+
method = "POST";
|
|
689
|
+
contentType = "application/json";
|
|
690
|
+
accept = "application/json";
|
|
691
|
+
inputSchema = annotateIntegrationActivationRequestInputSchema;
|
|
692
|
+
outputSchema = annotateIntegrationActivationRequestResponseSchema;
|
|
693
|
+
querySchema = void 0;
|
|
694
|
+
headersSchema = void 0;
|
|
695
|
+
integrationActivationRequestId;
|
|
696
|
+
constructor(integrationActivationRequestId, input) {
|
|
697
|
+
super(input);
|
|
698
|
+
this.integrationActivationRequestId = integrationActivationRequestId;
|
|
699
|
+
}
|
|
700
|
+
getPath() {
|
|
701
|
+
return `/integrations/activation_requests/${this.integrationActivationRequestId}/annotate`;
|
|
702
|
+
}
|
|
703
|
+
};
|
|
704
|
+
|
|
705
|
+
// src/requests/activation-requests/CreateIntegrationActivationRequest.ts
|
|
706
|
+
var import_sdk_js_core3 = require("@deliverart/sdk-js-core");
|
|
707
|
+
var import_sdk_js_point_of_sale2 = require("@deliverart/sdk-js-point-of-sale");
|
|
708
|
+
var import_zod10 = require("zod");
|
|
709
|
+
var writableIntegrationActivationRequestBaseSchema = import_zod10.z.object({
|
|
710
|
+
name: import_zod10.z.string(),
|
|
711
|
+
provider: integrationProviderSchema,
|
|
712
|
+
pointOfSale: import_sdk_js_point_of_sale2.pointOfSalePathSchema
|
|
713
|
+
});
|
|
714
|
+
var createIntegrationActivationRequestInputSchema = import_zod10.z.discriminatedUnion("service", [
|
|
715
|
+
import_zod10.z.object({
|
|
716
|
+
service: import_zod10.z.literal("deliveroo"),
|
|
717
|
+
data: integrationDeliverooDataSchema
|
|
718
|
+
}).merge(writableIntegrationActivationRequestBaseSchema),
|
|
719
|
+
import_zod10.z.object({
|
|
720
|
+
service: import_zod10.z.literal("glovo"),
|
|
721
|
+
data: integrationGlovoDataSchema
|
|
722
|
+
}).merge(writableIntegrationActivationRequestBaseSchema),
|
|
723
|
+
import_zod10.z.object({
|
|
724
|
+
service: import_zod10.z.literal("justeat"),
|
|
725
|
+
data: integrationJustEatDataSchema
|
|
726
|
+
}).merge(writableIntegrationActivationRequestBaseSchema),
|
|
727
|
+
import_zod10.z.object({
|
|
728
|
+
service: import_zod10.z.literal("cassa_in_cloud"),
|
|
729
|
+
data: integrationCassaInCloudDataSchema
|
|
730
|
+
}).merge(writableIntegrationActivationRequestBaseSchema)
|
|
731
|
+
]);
|
|
732
|
+
var createIntegrationActivationRequestResponseSchema = integrationActivationRequestDetailsSchema;
|
|
733
|
+
var CreateIntegrationActivationRequest = class extends import_sdk_js_core3.AbstractApiRequest {
|
|
734
|
+
method = "POST";
|
|
735
|
+
contentType = "application/json";
|
|
736
|
+
accept = "application/json";
|
|
737
|
+
inputSchema = createIntegrationActivationRequestInputSchema;
|
|
738
|
+
outputSchema = createIntegrationActivationRequestResponseSchema;
|
|
739
|
+
querySchema = void 0;
|
|
740
|
+
headersSchema = void 0;
|
|
741
|
+
constructor(input) {
|
|
742
|
+
super(input);
|
|
743
|
+
}
|
|
744
|
+
getPath() {
|
|
745
|
+
return "/integrations/activation_requests";
|
|
746
|
+
}
|
|
747
|
+
};
|
|
748
|
+
|
|
749
|
+
// src/requests/activation-requests/DeleteIntegrationActivationRequest.ts
|
|
750
|
+
var import_sdk_js_core4 = require("@deliverart/sdk-js-core");
|
|
751
|
+
var import_zod11 = require("zod");
|
|
752
|
+
var deleteIntegrationActivationRequestInputSchema = import_zod11.z.undefined();
|
|
753
|
+
var deleteIntegrationActivationRequestResponseSchema = import_zod11.z.undefined();
|
|
754
|
+
var DeleteIntegrationActivationRequest = class extends import_sdk_js_core4.AbstractApiRequest {
|
|
755
|
+
method = "DELETE";
|
|
756
|
+
contentType = "application/json";
|
|
757
|
+
accept = "application/json";
|
|
758
|
+
inputSchema = deleteIntegrationActivationRequestInputSchema;
|
|
759
|
+
outputSchema = deleteIntegrationActivationRequestResponseSchema;
|
|
760
|
+
querySchema = void 0;
|
|
761
|
+
headersSchema = void 0;
|
|
762
|
+
integrationActivationRequestId;
|
|
763
|
+
constructor(integrationActivationRequestId) {
|
|
764
|
+
super();
|
|
765
|
+
this.integrationActivationRequestId = integrationActivationRequestId;
|
|
766
|
+
}
|
|
767
|
+
getPath() {
|
|
768
|
+
return `/integrations/activation_requests/${this.integrationActivationRequestId}`;
|
|
769
|
+
}
|
|
770
|
+
};
|
|
771
|
+
|
|
772
|
+
// src/requests/activation-requests/GetIntegrationActivationRequestDetails.ts
|
|
773
|
+
var import_sdk_js_core5 = require("@deliverart/sdk-js-core");
|
|
774
|
+
var import_zod12 = require("zod");
|
|
775
|
+
var getIntegrationActivationRequestDetailsInputSchema = import_zod12.z.undefined();
|
|
776
|
+
var getIntegrationActivationRequestDetailsResponseSchema = integrationActivationRequestDetailsSchema;
|
|
777
|
+
var GetIntegrationActivationRequestDetails = class extends import_sdk_js_core5.AbstractApiRequest {
|
|
778
|
+
method = "GET";
|
|
779
|
+
contentType = "application/json";
|
|
780
|
+
accept = "application/json";
|
|
781
|
+
inputSchema = getIntegrationActivationRequestDetailsInputSchema;
|
|
782
|
+
outputSchema = getIntegrationActivationRequestDetailsResponseSchema;
|
|
783
|
+
querySchema = void 0;
|
|
784
|
+
headersSchema = void 0;
|
|
785
|
+
integrationActivationRequestId;
|
|
786
|
+
constructor(integrationActivationRequestId) {
|
|
787
|
+
super();
|
|
788
|
+
this.integrationActivationRequestId = integrationActivationRequestId;
|
|
789
|
+
}
|
|
790
|
+
getPath() {
|
|
791
|
+
return `/integrations/activation_requests/${this.integrationActivationRequestId}`;
|
|
792
|
+
}
|
|
793
|
+
};
|
|
794
|
+
|
|
795
|
+
// src/requests/activation-requests/GetIntegrationActivationRequests.ts
|
|
796
|
+
var import_sdk_js_core6 = require("@deliverart/sdk-js-core");
|
|
797
|
+
var import_sdk_js_global_types3 = require("@deliverart/sdk-js-global-types");
|
|
798
|
+
var import_zod13 = require("zod");
|
|
799
|
+
var getIntegrationActivationRequestsQuerySchema = import_zod13.z.object({
|
|
800
|
+
"order[service]": import_sdk_js_global_types3.sortDirSchema.optional(),
|
|
801
|
+
"order[status]": import_sdk_js_global_types3.sortDirSchema.optional(),
|
|
802
|
+
"order[createdAt]": import_sdk_js_global_types3.sortDirSchema.optional(),
|
|
803
|
+
"order[updatedAt]": import_sdk_js_global_types3.sortDirSchema.optional(),
|
|
804
|
+
service: integrationServiceSchema.optional(),
|
|
805
|
+
"service[]": import_zod13.z.array(integrationServiceSchema).optional(),
|
|
806
|
+
provider: integrationProviderSchema.optional(),
|
|
807
|
+
"provider[]": import_zod13.z.array(integrationProviderSchema).optional(),
|
|
808
|
+
status: activatableIntegrationStatusSchema.optional(),
|
|
809
|
+
"status[]": import_zod13.z.array(activatableIntegrationStatusSchema).optional(),
|
|
810
|
+
healthStatus: activatableIntegrationHealthStatusSchema.optional(),
|
|
811
|
+
"healthStatus[]": import_zod13.z.array(activatableIntegrationHealthStatusSchema).optional(),
|
|
812
|
+
connectionId: import_zod13.z.string().optional(),
|
|
813
|
+
"connectionId[]": import_zod13.z.array(import_zod13.z.string()).optional(),
|
|
814
|
+
page: import_zod13.z.coerce.number().optional()
|
|
815
|
+
}).merge(import_sdk_js_global_types3.timestampsFilterSchema);
|
|
816
|
+
var getIntegrationActivationRequestsResponseSchema = (0, import_sdk_js_global_types3.createPaginatedSchema)(
|
|
817
|
+
integrationActivationRequestSchema
|
|
818
|
+
);
|
|
819
|
+
var getIntegrationActivationRequestsInputSchema = import_zod13.z.undefined();
|
|
820
|
+
var GetIntegrationActivationRequests = class extends import_sdk_js_core6.AbstractApiRequest {
|
|
821
|
+
method = "GET";
|
|
822
|
+
contentType = "application/json";
|
|
823
|
+
accept = "application/json";
|
|
824
|
+
inputSchema = getIntegrationActivationRequestsInputSchema;
|
|
825
|
+
outputSchema = getIntegrationActivationRequestsResponseSchema;
|
|
826
|
+
querySchema = getIntegrationActivationRequestsQuerySchema;
|
|
827
|
+
headersSchema = void 0;
|
|
828
|
+
constructor(options) {
|
|
829
|
+
super(void 0, options);
|
|
830
|
+
}
|
|
831
|
+
getPath() {
|
|
832
|
+
return "/integrations/activation_requests";
|
|
833
|
+
}
|
|
834
|
+
parseResponse(data, rawResponse) {
|
|
835
|
+
const integrations = import_zod13.z.array(integrationActivationRequestSchema).parse(data);
|
|
836
|
+
return this.validateOutput({
|
|
837
|
+
data: integrations,
|
|
838
|
+
pagination: (0, import_sdk_js_global_types3.responseToPagination)(rawResponse)
|
|
839
|
+
});
|
|
840
|
+
}
|
|
841
|
+
};
|
|
842
|
+
|
|
843
|
+
// src/requests/activation-requests/RespondIntegrationActivationRequest.ts
|
|
844
|
+
var import_sdk_js_core7 = require("@deliverart/sdk-js-core");
|
|
845
|
+
var import_zod14 = require("zod");
|
|
846
|
+
var respondIntegrationActivationRequestInputSchema = import_zod14.z.object({
|
|
847
|
+
message: import_zod14.z.string().min(1, "Message is required"),
|
|
848
|
+
data: import_zod14.z.union([
|
|
849
|
+
integrationDeliverooDataSchema,
|
|
850
|
+
integrationGlovoDataSchema,
|
|
851
|
+
integrationJustEatDataSchema,
|
|
852
|
+
integrationCassaInCloudDataSchema
|
|
853
|
+
])
|
|
854
|
+
});
|
|
855
|
+
var respondIntegrationActivationRequestResponseSchema = integrationActivationRequestDetailsSchema;
|
|
856
|
+
var RespondIntegrationActivationRequest = class extends import_sdk_js_core7.AbstractApiRequest {
|
|
857
|
+
method = "POST";
|
|
858
|
+
contentType = "application/json";
|
|
859
|
+
accept = "application/json";
|
|
860
|
+
inputSchema = respondIntegrationActivationRequestInputSchema;
|
|
861
|
+
outputSchema = respondIntegrationActivationRequestResponseSchema;
|
|
862
|
+
querySchema = void 0;
|
|
863
|
+
headersSchema = void 0;
|
|
864
|
+
integrationActivationRequestId;
|
|
865
|
+
constructor(integrationActivationRequestId, input) {
|
|
866
|
+
super(input);
|
|
867
|
+
this.integrationActivationRequestId = integrationActivationRequestId;
|
|
868
|
+
}
|
|
869
|
+
getPath() {
|
|
870
|
+
return `/integrations/activation_requests/${this.integrationActivationRequestId}/respond`;
|
|
871
|
+
}
|
|
872
|
+
};
|
|
873
|
+
|
|
874
|
+
// src/requests/activation-requests/SendIntegrationActivationRequestToPartner.ts
|
|
875
|
+
var import_sdk_js_core8 = require("@deliverart/sdk-js-core");
|
|
876
|
+
var import_zod15 = require("zod");
|
|
877
|
+
var sendIntegrationActivationRequestToPartnerInputSchema = import_zod15.z.undefined();
|
|
878
|
+
var sendIntegrationActivationRequestToPartnerResponseSchema = integrationActivationRequestDetailsSchema;
|
|
879
|
+
var SendIntegrationActivationRequestToPartner = class extends import_sdk_js_core8.AbstractApiRequest {
|
|
880
|
+
method = "POST";
|
|
881
|
+
contentType = "application/json";
|
|
882
|
+
accept = "application/json";
|
|
883
|
+
inputSchema = sendIntegrationActivationRequestToPartnerInputSchema;
|
|
884
|
+
outputSchema = sendIntegrationActivationRequestToPartnerResponseSchema;
|
|
885
|
+
querySchema = void 0;
|
|
886
|
+
headersSchema = void 0;
|
|
887
|
+
integrationActivationRequestId;
|
|
888
|
+
constructor(integrationActivationRequestId) {
|
|
889
|
+
super();
|
|
890
|
+
this.integrationActivationRequestId = integrationActivationRequestId;
|
|
891
|
+
}
|
|
892
|
+
getPath() {
|
|
893
|
+
return `/integrations/activation_requests/${this.integrationActivationRequestId}/send-partner`;
|
|
894
|
+
}
|
|
895
|
+
};
|
|
896
|
+
|
|
897
|
+
// src/requests/activation-requests/UpdateIntegrationActivationRequest.ts
|
|
898
|
+
var import_sdk_js_core9 = require("@deliverart/sdk-js-core");
|
|
899
|
+
var import_sdk_js_point_of_sale3 = require("@deliverart/sdk-js-point-of-sale");
|
|
900
|
+
var import_zod16 = require("zod");
|
|
901
|
+
var writableIntegrationActivationRequestBaseSchema2 = import_zod16.z.object({
|
|
902
|
+
healthStatus: activatableIntegrationHealthStatusSchema,
|
|
903
|
+
provider: integrationProviderSchema,
|
|
904
|
+
pointOfSale: import_sdk_js_point_of_sale3.pointOfSalePathSchema,
|
|
905
|
+
name: import_zod16.z.string(),
|
|
906
|
+
internalNotes: import_zod16.z.string().nullable()
|
|
907
|
+
}).partial();
|
|
908
|
+
var updateIntegrationActivationRequestInputSchema = import_zod16.z.discriminatedUnion("service", [
|
|
909
|
+
import_zod16.z.object({
|
|
910
|
+
service: import_zod16.z.literal("deliveroo"),
|
|
911
|
+
data: integrationDeliverooDataSchema.optional()
|
|
912
|
+
}).merge(writableIntegrationActivationRequestBaseSchema2),
|
|
913
|
+
import_zod16.z.object({
|
|
914
|
+
service: import_zod16.z.literal("glovo"),
|
|
915
|
+
data: integrationGlovoDataSchema.optional()
|
|
916
|
+
}).merge(writableIntegrationActivationRequestBaseSchema2),
|
|
917
|
+
import_zod16.z.object({
|
|
918
|
+
service: import_zod16.z.literal("justeat"),
|
|
919
|
+
data: integrationJustEatDataSchema.optional()
|
|
920
|
+
}).merge(writableIntegrationActivationRequestBaseSchema2),
|
|
921
|
+
import_zod16.z.object({
|
|
922
|
+
service: import_zod16.z.literal("cassa_in_cloud"),
|
|
923
|
+
data: integrationCassaInCloudDataSchema.optional()
|
|
924
|
+
}).merge(writableIntegrationActivationRequestBaseSchema2)
|
|
925
|
+
]);
|
|
926
|
+
var updateIntegrationActivationRequestResponseSchema = integrationActivationRequestDetailsSchema;
|
|
927
|
+
var UpdateIntegrationActivationRequest = class extends import_sdk_js_core9.AbstractApiRequest {
|
|
928
|
+
method = "PATCH";
|
|
929
|
+
contentType = "application/merge-patch+json";
|
|
930
|
+
accept = "application/json";
|
|
931
|
+
inputSchema = updateIntegrationActivationRequestInputSchema;
|
|
932
|
+
outputSchema = updateIntegrationActivationRequestResponseSchema;
|
|
933
|
+
querySchema = void 0;
|
|
934
|
+
headersSchema = void 0;
|
|
935
|
+
integrationActivationRequestId;
|
|
936
|
+
constructor(integrationActivationRequestId, input) {
|
|
937
|
+
super(input);
|
|
938
|
+
this.integrationActivationRequestId = integrationActivationRequestId;
|
|
939
|
+
}
|
|
940
|
+
getPath() {
|
|
941
|
+
return `/integrations/activation_requests/${this.integrationActivationRequestId}`;
|
|
942
|
+
}
|
|
943
|
+
};
|
|
944
|
+
|
|
945
|
+
// src/requests/cancellation-requests/CancelIntegrationCancellationRequest.ts
|
|
946
|
+
var import_sdk_js_core10 = require("@deliverart/sdk-js-core");
|
|
947
|
+
var import_zod17 = require("zod");
|
|
948
|
+
var cancelIntegrationCancellationRequestInputSchema = import_zod17.z.undefined();
|
|
949
|
+
var cancelIntegrationCancellationRequestResponseSchema = integrationCancellationRequestDetailsSchema;
|
|
950
|
+
var CancelIntegrationCancellationRequest = class extends import_sdk_js_core10.AbstractApiRequest {
|
|
951
|
+
method = "POST";
|
|
952
|
+
contentType = "application/json";
|
|
953
|
+
accept = "application/json";
|
|
954
|
+
inputSchema = cancelIntegrationCancellationRequestInputSchema;
|
|
955
|
+
outputSchema = cancelIntegrationCancellationRequestResponseSchema;
|
|
956
|
+
querySchema = void 0;
|
|
957
|
+
headersSchema = void 0;
|
|
958
|
+
integrationCancellationRequestId;
|
|
959
|
+
constructor(integrationCancellationRequestId) {
|
|
960
|
+
super();
|
|
961
|
+
this.integrationCancellationRequestId = integrationCancellationRequestId;
|
|
962
|
+
}
|
|
963
|
+
getPath() {
|
|
964
|
+
return `/integrations/cancellation_requests/${this.integrationCancellationRequestId}/cancel`;
|
|
965
|
+
}
|
|
966
|
+
};
|
|
967
|
+
|
|
968
|
+
// src/requests/cancellation-requests/CreateIntegrationCancellationRequest.ts
|
|
969
|
+
var import_sdk_js_core11 = require("@deliverart/sdk-js-core");
|
|
970
|
+
var import_zod18 = require("zod");
|
|
971
|
+
var createIntegrationCancellationRequestInputSchema = import_zod18.z.object({
|
|
972
|
+
integration: integrationPathSchema
|
|
973
|
+
});
|
|
974
|
+
var createIntegrationCancellationRequestResponseSchema = integrationCancellationRequestDetailsSchema;
|
|
975
|
+
var CreateIntegrationCancellationRequest = class extends import_sdk_js_core11.AbstractApiRequest {
|
|
976
|
+
method = "POST";
|
|
977
|
+
contentType = "application/json";
|
|
978
|
+
accept = "application/json";
|
|
979
|
+
inputSchema = createIntegrationCancellationRequestInputSchema;
|
|
980
|
+
outputSchema = createIntegrationCancellationRequestResponseSchema;
|
|
981
|
+
querySchema = void 0;
|
|
982
|
+
headersSchema = void 0;
|
|
983
|
+
constructor(input) {
|
|
984
|
+
super(input);
|
|
985
|
+
}
|
|
986
|
+
getPath() {
|
|
987
|
+
return "/integrations/cancellation_requests";
|
|
988
|
+
}
|
|
989
|
+
};
|
|
990
|
+
|
|
991
|
+
// src/requests/cancellation-requests/DeleteIntegrationCancellationRequest.ts
|
|
992
|
+
var import_sdk_js_core12 = require("@deliverart/sdk-js-core");
|
|
993
|
+
var import_zod19 = require("zod");
|
|
994
|
+
var deleteIntegrationCancellationRequestInputSchema = import_zod19.z.undefined();
|
|
995
|
+
var deleteIntegrationCancellationRequestResponseSchema = import_zod19.z.undefined();
|
|
996
|
+
var DeleteIntegrationCancellationRequest = class extends import_sdk_js_core12.AbstractApiRequest {
|
|
997
|
+
method = "DELETE";
|
|
998
|
+
contentType = "application/json";
|
|
999
|
+
accept = "application/json";
|
|
1000
|
+
inputSchema = deleteIntegrationCancellationRequestInputSchema;
|
|
1001
|
+
outputSchema = deleteIntegrationCancellationRequestResponseSchema;
|
|
1002
|
+
querySchema = void 0;
|
|
1003
|
+
headersSchema = void 0;
|
|
1004
|
+
integrationCancellationRequestId;
|
|
1005
|
+
constructor(integrationCancellationRequestId) {
|
|
1006
|
+
super();
|
|
1007
|
+
this.integrationCancellationRequestId = integrationCancellationRequestId;
|
|
1008
|
+
}
|
|
1009
|
+
getPath() {
|
|
1010
|
+
return `/integrations/cancellation_requests/${this.integrationCancellationRequestId}`;
|
|
1011
|
+
}
|
|
1012
|
+
};
|
|
1013
|
+
|
|
1014
|
+
// src/requests/cancellation-requests/GetIntegrationCancellationRequestDetails.ts
|
|
1015
|
+
var import_sdk_js_core13 = require("@deliverart/sdk-js-core");
|
|
1016
|
+
var import_zod20 = require("zod");
|
|
1017
|
+
var getIntegrationCancellationRequestDetailsInputSchema = import_zod20.z.undefined();
|
|
1018
|
+
var getIntegrationCancellationRequestDetailsResponseSchema = integrationCancellationRequestDetailsSchema;
|
|
1019
|
+
var GetIntegrationCancellationRequestDetails = class extends import_sdk_js_core13.AbstractApiRequest {
|
|
1020
|
+
method = "GET";
|
|
1021
|
+
contentType = "application/json";
|
|
1022
|
+
accept = "application/json";
|
|
1023
|
+
inputSchema = getIntegrationCancellationRequestDetailsInputSchema;
|
|
1024
|
+
outputSchema = getIntegrationCancellationRequestDetailsResponseSchema;
|
|
1025
|
+
querySchema = void 0;
|
|
1026
|
+
headersSchema = void 0;
|
|
1027
|
+
integrationCancellationRequestId;
|
|
1028
|
+
constructor(integrationCancellationRequestId) {
|
|
1029
|
+
super();
|
|
1030
|
+
this.integrationCancellationRequestId = integrationCancellationRequestId;
|
|
1031
|
+
}
|
|
1032
|
+
getPath() {
|
|
1033
|
+
return `/integrations/cancellation_requests/${this.integrationCancellationRequestId}`;
|
|
1034
|
+
}
|
|
1035
|
+
};
|
|
1036
|
+
|
|
1037
|
+
// src/requests/cancellation-requests/GetIntegrationCancellationRequests.ts
|
|
1038
|
+
var import_sdk_js_core14 = require("@deliverart/sdk-js-core");
|
|
1039
|
+
var import_sdk_js_global_types4 = require("@deliverart/sdk-js-global-types");
|
|
1040
|
+
var import_zod21 = require("zod");
|
|
1041
|
+
var getIntegrationCancellationRequestsQuerySchema = import_zod21.z.object({
|
|
1042
|
+
"order[createdAt]": import_sdk_js_global_types4.sortDirSchema.optional(),
|
|
1043
|
+
"order[updatedAt]": import_sdk_js_global_types4.sortDirSchema.optional(),
|
|
1044
|
+
status: integrationCancellationRequestStatusSchema.optional(),
|
|
1045
|
+
"status[]": import_zod21.z.array(integrationCancellationRequestStatusSchema).optional(),
|
|
1046
|
+
page: import_zod21.z.coerce.number().optional()
|
|
1047
|
+
}).merge(import_sdk_js_global_types4.timestampsFilterSchema);
|
|
1048
|
+
var getIntegrationCancellationRequestsResponseSchema = (0, import_sdk_js_global_types4.createPaginatedSchema)(
|
|
1049
|
+
integrationCancellationRequestSchema
|
|
1050
|
+
);
|
|
1051
|
+
var getIntegrationCancellationRequestsInputSchema = import_zod21.z.undefined();
|
|
1052
|
+
var GetIntegrationCancellationRequests = class extends import_sdk_js_core14.AbstractApiRequest {
|
|
1053
|
+
method = "GET";
|
|
1054
|
+
contentType = "application/json";
|
|
1055
|
+
accept = "application/json";
|
|
1056
|
+
inputSchema = getIntegrationCancellationRequestsInputSchema;
|
|
1057
|
+
outputSchema = getIntegrationCancellationRequestsResponseSchema;
|
|
1058
|
+
querySchema = getIntegrationCancellationRequestsQuerySchema;
|
|
1059
|
+
headersSchema = void 0;
|
|
1060
|
+
constructor(options) {
|
|
1061
|
+
super(void 0, options);
|
|
1062
|
+
}
|
|
1063
|
+
getPath() {
|
|
1064
|
+
return "/integrations/cancellation_requests";
|
|
1065
|
+
}
|
|
1066
|
+
parseResponse(data, rawResponse) {
|
|
1067
|
+
const integrations = import_zod21.z.array(integrationCancellationRequestSchema).parse(data);
|
|
1068
|
+
return this.validateOutput({
|
|
1069
|
+
data: integrations,
|
|
1070
|
+
pagination: (0, import_sdk_js_global_types4.responseToPagination)(rawResponse)
|
|
1071
|
+
});
|
|
1072
|
+
}
|
|
1073
|
+
};
|
|
1074
|
+
|
|
1075
|
+
// src/requests/DeleteIntegration.ts
|
|
1076
|
+
var import_sdk_js_core15 = require("@deliverart/sdk-js-core");
|
|
1077
|
+
var import_zod22 = require("zod");
|
|
1078
|
+
var deleteIntegrationInputSchema = import_zod22.z.undefined();
|
|
1079
|
+
var deleteIntegrationResponseSchema = import_zod22.z.undefined();
|
|
1080
|
+
var DeleteIntegration = class extends import_sdk_js_core15.AbstractApiRequest {
|
|
1081
|
+
method = "DELETE";
|
|
1082
|
+
contentType = "application/json";
|
|
1083
|
+
accept = "application/json";
|
|
1084
|
+
inputSchema = deleteIntegrationInputSchema;
|
|
1085
|
+
outputSchema = deleteIntegrationResponseSchema;
|
|
1086
|
+
querySchema = void 0;
|
|
1087
|
+
headersSchema = void 0;
|
|
1088
|
+
integrationId;
|
|
1089
|
+
constructor(integrationId) {
|
|
1090
|
+
super();
|
|
1091
|
+
this.integrationId = integrationId;
|
|
1092
|
+
}
|
|
1093
|
+
getPath() {
|
|
1094
|
+
return `/integrations/${this.integrationId}`;
|
|
1095
|
+
}
|
|
1096
|
+
};
|
|
1097
|
+
|
|
1098
|
+
// src/requests/GetIntegrationDetails.ts
|
|
1099
|
+
var import_sdk_js_core16 = require("@deliverart/sdk-js-core");
|
|
1100
|
+
var import_zod29 = require("zod");
|
|
1101
|
+
|
|
1102
|
+
// src/integration-schemas.ts
|
|
1103
|
+
var import_zod28 = require("zod");
|
|
1104
|
+
|
|
1105
|
+
// src/service-schemas/cassa_in_cloud.ts
|
|
1106
|
+
var import_sdk_js_global_types6 = require("@deliverart/sdk-js-global-types");
|
|
1107
|
+
var import_zod24 = require("zod");
|
|
1108
|
+
|
|
1109
|
+
// src/schemas.ts
|
|
1110
|
+
var import_sdk_js_global_types5 = require("@deliverart/sdk-js-global-types");
|
|
1111
|
+
var import_sdk_js_point_of_sale4 = require("@deliverart/sdk-js-point-of-sale");
|
|
1112
|
+
var import_sdk_js_sales_mode = require("@deliverart/sdk-js-sales-mode");
|
|
1113
|
+
var import_zod23 = require("zod");
|
|
1114
|
+
var menuVersionSchema = import_zod23.z.object({
|
|
1115
|
+
id: import_zod23.z.string(),
|
|
1116
|
+
contentUrl: import_zod23.z.string(),
|
|
1117
|
+
filePath: import_zod23.z.string(),
|
|
1118
|
+
createdAt: import_sdk_js_global_types5.datetimeSchema,
|
|
1119
|
+
updatedAt: import_sdk_js_global_types5.datetimeSchema
|
|
1120
|
+
});
|
|
1121
|
+
var menuVersionDetailsSchema = menuVersionSchema.extend({
|
|
1122
|
+
integration: integrationPathSchema
|
|
1123
|
+
});
|
|
1124
|
+
var integrationBaseSchema = import_zod23.z.object({
|
|
1125
|
+
id: import_zod23.z.string(),
|
|
1126
|
+
cancellationRequest: integrationCancellationRequestNullablePathSchema,
|
|
1127
|
+
connectionId: import_zod23.z.string().nullable(),
|
|
1128
|
+
service: integrationServiceSchema,
|
|
1129
|
+
status: integrationStatusSchema,
|
|
1130
|
+
provider: integrationProviderSchema,
|
|
1131
|
+
createdAt: import_sdk_js_global_types5.datetimeSchema,
|
|
1132
|
+
updatedAt: import_sdk_js_global_types5.datetimeSchema
|
|
1133
|
+
});
|
|
1134
|
+
var writableIntegrationSchema = integrationBaseSchema.pick({
|
|
1135
|
+
status: true,
|
|
1136
|
+
// Only for ADMIN users
|
|
1137
|
+
provider: true
|
|
1138
|
+
});
|
|
1139
|
+
var integrationDetailsFieldsSchema = import_zod23.z.object({
|
|
1140
|
+
pointOfSale: import_sdk_js_point_of_sale4.pointOfSalePathSchema
|
|
1141
|
+
});
|
|
1142
|
+
var integrationDeliveryProviderCommonSchema = import_zod23.z.object({
|
|
1143
|
+
name: import_zod23.z.string(),
|
|
1144
|
+
skipInvalidItem: import_zod23.z.boolean(),
|
|
1145
|
+
skipNegativePrices: import_zod23.z.boolean(),
|
|
1146
|
+
importTaggedItems: import_zod23.z.boolean(),
|
|
1147
|
+
tagsForImport: import_zod23.z.array(import_zod23.z.string()).optional(),
|
|
1148
|
+
isValidMenu: import_zod23.z.boolean(),
|
|
1149
|
+
latestMenuSyncAt: import_sdk_js_global_types5.datetimeSchema,
|
|
1150
|
+
latestMenuCheckAt: import_sdk_js_global_types5.datetimeSchema,
|
|
1151
|
+
currentMenuVersion: menuVersionSchema.nullable(),
|
|
1152
|
+
salesMode: import_sdk_js_sales_mode.salesModeNullablePathSchema
|
|
1153
|
+
});
|
|
1154
|
+
var integrationClientLogRequestSchema = import_zod23.z.object({
|
|
1155
|
+
id: import_zod23.z.string(),
|
|
1156
|
+
url: import_zod23.z.string(),
|
|
1157
|
+
method: integrationClientLogRequestMethodSchema,
|
|
1158
|
+
statusCode: import_zod23.z.number(),
|
|
1159
|
+
createdAt: import_sdk_js_global_types5.datetimeSchema
|
|
1160
|
+
});
|
|
1161
|
+
var integrationClientLogRequestDetailsSchema = integrationClientLogRequestSchema.extend({
|
|
1162
|
+
integration: integrationPathSchema,
|
|
1163
|
+
requestHeaders: import_zod23.z.record(import_zod23.z.string()),
|
|
1164
|
+
responseHeaders: import_zod23.z.record(import_zod23.z.string()),
|
|
1165
|
+
requestBody: import_zod23.z.string(),
|
|
1166
|
+
responseBody: import_zod23.z.string()
|
|
1167
|
+
});
|
|
1168
|
+
var clientLogRequestQuerySchema = import_zod23.z.object({
|
|
1169
|
+
"order[createdAt]": import_sdk_js_global_types5.sortDirSchema.optional(),
|
|
1170
|
+
method: integrationClientLogRequestMethodSchema.optional(),
|
|
1171
|
+
"method[]": import_zod23.z.array(integrationClientLogRequestMethodSchema).optional(),
|
|
1172
|
+
"statusCode[between]": import_zod23.z.number().optional(),
|
|
1173
|
+
"statusCode[gt]": import_zod23.z.number().optional(),
|
|
1174
|
+
"statusCode[gte]": import_zod23.z.number().optional(),
|
|
1175
|
+
"statusCode[lt]": import_zod23.z.number().optional(),
|
|
1176
|
+
"statusCode[lte]": import_zod23.z.number().optional(),
|
|
1177
|
+
"createdAt[before]": import_zod23.z.string().optional(),
|
|
1178
|
+
"createdAt[strictly_before]": import_zod23.z.string().optional(),
|
|
1179
|
+
"createdAt[after]": import_zod23.z.string().optional(),
|
|
1180
|
+
"createdAt[strictly_after]": import_zod23.z.string().optional(),
|
|
1181
|
+
page: import_zod23.z.coerce.number().optional()
|
|
1182
|
+
});
|
|
1183
|
+
|
|
1184
|
+
// src/service-schemas/cassa_in_cloud.ts
|
|
1185
|
+
var integrationCassaInCloudSchema = integrationBaseSchema.omit({ service: true }).extend({
|
|
1186
|
+
finalized: import_zod24.z.boolean(),
|
|
1187
|
+
apiKey: import_zod24.z.string(),
|
|
1188
|
+
service: integrationServiceSchema.extract(["cassa_in_cloud"]),
|
|
1189
|
+
idSalesPoint: import_zod24.z.number().nonnegative(),
|
|
1190
|
+
direction: integrationCassaInCloudDirectionSchema,
|
|
1191
|
+
locale: import_zod24.z.string(),
|
|
1192
|
+
latestMenuSyncAt: import_sdk_js_global_types6.datetimeSchema.nullable(),
|
|
1193
|
+
defaultCustomerId: import_zod24.z.string().nullable(),
|
|
1194
|
+
skipSyncProductDescription: import_zod24.z.boolean(),
|
|
1195
|
+
productChannels: integrationCassaInCloudProductChannelSchema.array()
|
|
1196
|
+
});
|
|
1197
|
+
var integrationCassaInCloudDetailsSchema = integrationCassaInCloudSchema.extend(
|
|
1198
|
+
integrationDetailsFieldsSchema.shape
|
|
1199
|
+
);
|
|
1200
|
+
var integrationsCassaInCloudQuerySchema = import_zod24.z.object({
|
|
1201
|
+
"order[createdAt]": import_sdk_js_global_types6.sortDirSchema.optional(),
|
|
1202
|
+
"order[updatedAt]": import_sdk_js_global_types6.sortDirSchema.optional(),
|
|
1203
|
+
"order[latestMenuSyncAt]": import_sdk_js_global_types6.sortDirSchema.optional(),
|
|
1204
|
+
apiKey: import_zod24.z.string().optional(),
|
|
1205
|
+
"apiKey[]": import_zod24.z.array(import_zod24.z.string()).optional(),
|
|
1206
|
+
idSalesPoint: import_zod24.z.string().optional(),
|
|
1207
|
+
"idSalesPoint[]": import_zod24.z.array(import_zod24.z.string()).optional(),
|
|
1208
|
+
direction: integrationCassaInCloudDirectionSchema.optional(),
|
|
1209
|
+
"direction[]": import_zod24.z.array(integrationCassaInCloudDirectionSchema).optional(),
|
|
1210
|
+
status: integrationStatusSchema.optional(),
|
|
1211
|
+
"status[]": import_zod24.z.array(integrationStatusSchema).optional(),
|
|
1212
|
+
connectionId: import_zod24.z.string().optional(),
|
|
1213
|
+
"connectionId[]": import_zod24.z.array(import_zod24.z.string()).optional(),
|
|
1214
|
+
finalized: import_zod24.z.coerce.boolean().optional(),
|
|
1215
|
+
skipInvalidItem: import_zod24.z.coerce.boolean().optional(),
|
|
1216
|
+
isValidMenu: import_zod24.z.coerce.boolean().optional(),
|
|
1217
|
+
"latestMenuSyncAt[before]": import_zod24.z.string().optional(),
|
|
1218
|
+
"latestMenuSyncAt[strictly_before]": import_zod24.z.string().optional(),
|
|
1219
|
+
"latestMenuSyncAt[after]": import_zod24.z.string().optional(),
|
|
1220
|
+
"latestMenuSyncAt[strictly_after]": import_zod24.z.string().optional(),
|
|
1221
|
+
service: integrationServiceSchema.extract(["cassa_in_cloud"]).optional(),
|
|
1222
|
+
page: import_zod24.z.coerce.number().optional()
|
|
1223
|
+
}).merge(import_sdk_js_global_types6.timestampsFilterSchema);
|
|
1224
|
+
var integrationCassaInCloudEditableFieldsSchema = integrationCassaInCloudSchema.pick({
|
|
1225
|
+
apiKey: true,
|
|
1226
|
+
idSalesPoint: true,
|
|
1227
|
+
direction: true,
|
|
1228
|
+
skipSyncProductDescription: true,
|
|
1229
|
+
productChannels: true,
|
|
1230
|
+
locale: true,
|
|
1231
|
+
provider: true
|
|
1232
|
+
// Available for only ADMIN users
|
|
1233
|
+
}).partial();
|
|
1234
|
+
var integrationCassaInCloudSyncMenuProcessSchema = import_zod24.z.object({
|
|
1235
|
+
id: import_zod24.z.string(),
|
|
1236
|
+
currentPlaces: import_zod24.z.any(),
|
|
1237
|
+
availableSalesModesIds: import_zod24.z.array(import_zod24.z.string()),
|
|
1238
|
+
availableProductIds: import_zod24.z.array(import_zod24.z.string()),
|
|
1239
|
+
availableCategoryIds: import_zod24.z.array(import_zod24.z.string()),
|
|
1240
|
+
createdAt: import_sdk_js_global_types6.datetimeSchema,
|
|
1241
|
+
endAt: import_sdk_js_global_types6.datetimeSchema.nullable()
|
|
1242
|
+
});
|
|
1243
|
+
var integrationCassaInCloudSyncMenuProcessDetailsSchema = integrationCassaInCloudSyncMenuProcessSchema.extend({
|
|
1244
|
+
integration: integrationCassaInCloudPathSchema,
|
|
1245
|
+
errors: import_zod24.z.array(integrationCassaInCloudSyncMenuErrorLogPathSchema).optional()
|
|
1246
|
+
});
|
|
1247
|
+
var integrationCassaInCloudSyncMenuProcessesQuerySchema = import_zod24.z.object({
|
|
1248
|
+
"order[createdAt]": import_sdk_js_global_types6.sortDirSchema.optional(),
|
|
1249
|
+
"order[endAt]": import_sdk_js_global_types6.sortDirSchema.optional(),
|
|
1250
|
+
"createdAt[before]": import_zod24.z.string().optional(),
|
|
1251
|
+
"createdAt[strictly_before]": import_zod24.z.string().optional(),
|
|
1252
|
+
"createdAt[after]": import_zod24.z.string().optional(),
|
|
1253
|
+
"createdAt[strictly_after]": import_zod24.z.string().optional(),
|
|
1254
|
+
"endAt[before]": import_zod24.z.string().optional(),
|
|
1255
|
+
"endAt[strictly_before]": import_zod24.z.string().optional(),
|
|
1256
|
+
"endAt[after]": import_zod24.z.string().optional(),
|
|
1257
|
+
"endAt[strictly_after]": import_zod24.z.string().optional(),
|
|
1258
|
+
page: import_zod24.z.coerce.number().optional()
|
|
1259
|
+
});
|
|
1260
|
+
var integrationCassaInCloudWebHookEventSchema = import_zod24.z.object({
|
|
1261
|
+
id: import_zod24.z.string(),
|
|
1262
|
+
entity: integrationCassaInCloudWebHookEventEntitySchema,
|
|
1263
|
+
event: integrationCassaInCloudWebHookEventEventSchema,
|
|
1264
|
+
body: import_zod24.z.any(),
|
|
1265
|
+
createdAt: import_sdk_js_global_types6.datetimeSchema
|
|
1266
|
+
});
|
|
1267
|
+
var integrationCassaInCloudWebHookEventDetailsSchema = integrationCassaInCloudWebHookEventSchema.extend({
|
|
1268
|
+
integration: integrationCassaInCloudPathSchema
|
|
1269
|
+
});
|
|
1270
|
+
var integrationCassaInCloudWebHookEventsQuerySchema = import_zod24.z.object({
|
|
1271
|
+
"order[createdAt]": import_sdk_js_global_types6.sortDirSchema.optional(),
|
|
1272
|
+
entity: integrationCassaInCloudWebHookEventEntitySchema.optional(),
|
|
1273
|
+
"entity[]": import_zod24.z.array(integrationCassaInCloudWebHookEventEntitySchema).optional(),
|
|
1274
|
+
event: integrationCassaInCloudWebHookEventEventSchema.optional(),
|
|
1275
|
+
"event[]": import_zod24.z.array(integrationCassaInCloudWebHookEventEventSchema).optional(),
|
|
1276
|
+
"createdAt[before]": import_zod24.z.string().optional(),
|
|
1277
|
+
"createdAt[strictly_before]": import_zod24.z.string().optional(),
|
|
1278
|
+
"createdAt[after]": import_zod24.z.string().optional(),
|
|
1279
|
+
"createdAt[strictly_after]": import_zod24.z.string().optional(),
|
|
1280
|
+
page: import_zod24.z.coerce.number().optional()
|
|
1281
|
+
});
|
|
1282
|
+
|
|
1283
|
+
// src/service-schemas/deliveroo.ts
|
|
1284
|
+
var import_sdk_js_global_types7 = require("@deliverart/sdk-js-global-types");
|
|
1285
|
+
var import_zod25 = require("zod");
|
|
1286
|
+
var integrationDeliverooSchema = integrationBaseSchema.omit({ service: true }).extend(integrationDeliveryProviderCommonSchema.shape).extend({
|
|
1287
|
+
brandId: import_zod25.z.string(),
|
|
1288
|
+
siteId: import_zod25.z.string(),
|
|
1289
|
+
imageMenuUrl: import_zod25.z.string().url().nullable(),
|
|
1290
|
+
latestOpeningHoursSyncAt: import_sdk_js_global_types7.datetimeSchema.nullable(),
|
|
1291
|
+
service: integrationServiceSchema.extract(["deliveroo"]),
|
|
1292
|
+
acceptanceTimeout: import_zod25.z.number().min(0).max(8),
|
|
1293
|
+
nextSyncMenuScheduledAt: import_sdk_js_global_types7.datetimeSchema.nullable()
|
|
1294
|
+
});
|
|
1295
|
+
var integrationDeliverooDetailsSchema = integrationDeliverooSchema.extend(
|
|
1296
|
+
integrationDetailsFieldsSchema.shape
|
|
1297
|
+
);
|
|
1298
|
+
var integrationDeliverooEditableFieldsSchema = integrationDeliverooSchema.pick({
|
|
1299
|
+
name: true,
|
|
1300
|
+
brandId: true,
|
|
1301
|
+
siteId: true,
|
|
1302
|
+
imageMenuUrl: true,
|
|
1303
|
+
acceptanceTimeout: true,
|
|
1304
|
+
skipNegativePrices: true,
|
|
1305
|
+
skipInvalidItem: true,
|
|
1306
|
+
salesMode: true,
|
|
1307
|
+
importTaggedItems: true,
|
|
1308
|
+
tagsForImport: true,
|
|
1309
|
+
provider: true
|
|
1310
|
+
// Available for only ADMIN users
|
|
1311
|
+
});
|
|
1312
|
+
var integrationsDeliverooQuerySchema = import_zod25.z.object({
|
|
1313
|
+
"order[createdAt]": import_sdk_js_global_types7.sortDirSchema.optional(),
|
|
1314
|
+
"order[updatedAt]": import_sdk_js_global_types7.sortDirSchema.optional(),
|
|
1315
|
+
"order[latestMenuCheckAt]": import_sdk_js_global_types7.sortDirSchema.optional(),
|
|
1316
|
+
"order[latestMenuSyncAt]": import_sdk_js_global_types7.sortDirSchema.optional(),
|
|
1317
|
+
"order[latestOpeningHoursSyncAt]": import_sdk_js_global_types7.sortDirSchema.optional(),
|
|
1318
|
+
name: import_zod25.z.string().optional(),
|
|
1319
|
+
brandId: import_zod25.z.string().optional(),
|
|
1320
|
+
"brandId[]": import_zod25.z.array(import_zod25.z.string()).optional(),
|
|
1321
|
+
siteId: import_zod25.z.string().optional(),
|
|
1322
|
+
"siteId[]": import_zod25.z.array(import_zod25.z.string()).optional(),
|
|
1323
|
+
status: integrationStatusSchema.optional(),
|
|
1324
|
+
"status[]": import_zod25.z.array(integrationStatusSchema).optional(),
|
|
1325
|
+
connectionId: import_zod25.z.string().optional(),
|
|
1326
|
+
"connectionId[]": import_zod25.z.array(import_zod25.z.string()).optional(),
|
|
1327
|
+
skipInvalidItem: import_zod25.z.coerce.boolean().optional(),
|
|
1328
|
+
isValidMenu: import_zod25.z.coerce.boolean().optional(),
|
|
1329
|
+
"latestMenuCheckAt[before]": import_zod25.z.string().optional(),
|
|
1330
|
+
"latestMenuCheckAt[strictly_before]": import_zod25.z.string().optional(),
|
|
1331
|
+
"latestMenuCheckAt[after]": import_zod25.z.string().optional(),
|
|
1332
|
+
"latestMenuCheckAt[strictly_after]": import_zod25.z.string().optional(),
|
|
1333
|
+
"latestMenuSyncAt[before]": import_zod25.z.string().optional(),
|
|
1334
|
+
"latestMenuSyncAt[strictly_before]": import_zod25.z.string().optional(),
|
|
1335
|
+
"latestMenuSyncAt[after]": import_zod25.z.string().optional(),
|
|
1336
|
+
"latestMenuSyncAt[strictly_after]": import_zod25.z.string().optional(),
|
|
1337
|
+
"latestOpeningHoursSyncAt[before]": import_zod25.z.string().optional(),
|
|
1338
|
+
"latestOpeningHoursSyncAt[strictly_before]": import_zod25.z.string().optional(),
|
|
1339
|
+
"latestOpeningHoursSyncAt[after]": import_zod25.z.string().optional(),
|
|
1340
|
+
"latestOpeningHoursSyncAt[strictly_after]": import_zod25.z.string().optional(),
|
|
1341
|
+
service: integrationServiceSchema.extract(["deliveroo"]).optional(),
|
|
1342
|
+
page: import_zod25.z.coerce.number().optional()
|
|
1343
|
+
}).merge(import_sdk_js_global_types7.timestampsFilterSchema);
|
|
1344
|
+
var integrationDeliverooSyncMenuProcessSchema = import_zod25.z.object({
|
|
1345
|
+
id: import_zod25.z.string(),
|
|
1346
|
+
mode: integrationDeliverooSyncMenuProcessModeSchema,
|
|
1347
|
+
success: import_zod25.z.boolean().nullable(),
|
|
1348
|
+
response: import_zod25.z.string().nullable(),
|
|
1349
|
+
createdAt: import_sdk_js_global_types7.datetimeSchema,
|
|
1350
|
+
endAt: import_sdk_js_global_types7.datetimeSchema.nullable()
|
|
1351
|
+
});
|
|
1352
|
+
var integrationDeliverooSyncMenuProcessDetailsSchema = integrationDeliverooSyncMenuProcessSchema.extend({
|
|
1353
|
+
integration: integrationDeliverooPathSchema
|
|
1354
|
+
});
|
|
1355
|
+
var integrationDeliverooSyncMenuProcessesQuerySchema = import_zod25.z.object({
|
|
1356
|
+
"order[endAt]": import_sdk_js_global_types7.sortDirSchema.optional(),
|
|
1357
|
+
mode: integrationDeliverooSyncMenuProcessModeSchema.optional(),
|
|
1358
|
+
"mode[]": import_zod25.z.array(integrationDeliverooSyncMenuProcessModeSchema).optional(),
|
|
1359
|
+
"createdAt[before]": import_zod25.z.string().optional(),
|
|
1360
|
+
"createdAt[strictly_before]": import_zod25.z.string().optional(),
|
|
1361
|
+
"createdAt[after]": import_zod25.z.string().optional(),
|
|
1362
|
+
"createdAt[strictly_after]": import_zod25.z.string().optional(),
|
|
1363
|
+
"endAt[before]": import_zod25.z.string().optional(),
|
|
1364
|
+
"endAt[strictly_before]": import_zod25.z.string().optional(),
|
|
1365
|
+
"endAt[after]": import_zod25.z.string().optional(),
|
|
1366
|
+
"endAt[strictly_after]": import_zod25.z.string().optional(),
|
|
1367
|
+
page: import_zod25.z.coerce.number().optional()
|
|
1368
|
+
});
|
|
1369
|
+
var integrationDeliverooWebhookEventSchema = import_zod25.z.object({
|
|
1370
|
+
id: import_zod25.z.string(),
|
|
1371
|
+
event: integrationDeliverooWebhookEventTypeSchema,
|
|
1372
|
+
body: import_zod25.z.any(),
|
|
1373
|
+
createdAt: import_sdk_js_global_types7.datetimeSchema
|
|
1374
|
+
});
|
|
1375
|
+
var integrationDeliverooWebhookEventDetailsSchema = integrationDeliverooWebhookEventSchema.extend({
|
|
1376
|
+
integration: integrationDeliverooPathSchema
|
|
1377
|
+
});
|
|
1378
|
+
var integrationDeliverooWebhookEventsQueryParamsSchema = import_zod25.z.object({
|
|
1379
|
+
"order[createdAt]": import_sdk_js_global_types7.sortDirSchema.optional(),
|
|
1380
|
+
event: integrationDeliverooWebhookEventTypeSchema.optional(),
|
|
1381
|
+
"event[]": import_zod25.z.array(integrationDeliverooWebhookEventTypeSchema).optional(),
|
|
1382
|
+
"createdAt[before]": import_zod25.z.string().optional(),
|
|
1383
|
+
"createdAt[strictly_before]": import_zod25.z.string().optional(),
|
|
1384
|
+
"createdAt[after]": import_zod25.z.string().optional(),
|
|
1385
|
+
"createdAt[strictly_after]": import_zod25.z.string().optional(),
|
|
1386
|
+
page: import_zod25.z.coerce.number().optional()
|
|
1387
|
+
});
|
|
1388
|
+
|
|
1389
|
+
// src/service-schemas/glovo.ts
|
|
1390
|
+
var import_sdk_js_global_types8 = require("@deliverart/sdk-js-global-types");
|
|
1391
|
+
var import_zod26 = require("zod");
|
|
1392
|
+
var integrationGlovoSchema = integrationBaseSchema.omit({ service: true }).extend(integrationDeliveryProviderCommonSchema.shape).extend({
|
|
1393
|
+
storeId: import_zod26.z.string(),
|
|
1394
|
+
locale: import_zod26.z.string(),
|
|
1395
|
+
pendingMenuChanges: import_zod26.z.boolean(),
|
|
1396
|
+
service: integrationServiceSchema.extract(["glovo"])
|
|
1397
|
+
});
|
|
1398
|
+
var integrationGlovoDetailsSchema = integrationGlovoSchema.extend(
|
|
1399
|
+
integrationDetailsFieldsSchema.shape
|
|
1400
|
+
);
|
|
1401
|
+
var integrationGlovoEditableFieldsSchema = integrationGlovoSchema.pick({
|
|
1402
|
+
name: true,
|
|
1403
|
+
storeId: true,
|
|
1404
|
+
locale: true,
|
|
1405
|
+
skipNegativePrices: true,
|
|
1406
|
+
skipInvalidItem: true,
|
|
1407
|
+
salesMode: true,
|
|
1408
|
+
importTaggedItems: true,
|
|
1409
|
+
tagsForImport: true,
|
|
1410
|
+
provider: true
|
|
1411
|
+
}).partial();
|
|
1412
|
+
var integrationsGlovoQuerySchema = import_zod26.z.object({
|
|
1413
|
+
"order[createdAt]": import_sdk_js_global_types8.sortDirSchema.optional(),
|
|
1414
|
+
"order[updatedAt]": import_sdk_js_global_types8.sortDirSchema.optional(),
|
|
1415
|
+
"order[latestMenuCheckAt]": import_sdk_js_global_types8.sortDirSchema.optional(),
|
|
1416
|
+
"order[latestMenuSyncAt]": import_sdk_js_global_types8.sortDirSchema.optional(),
|
|
1417
|
+
name: import_zod26.z.string().optional(),
|
|
1418
|
+
storeId: import_zod26.z.string().optional(),
|
|
1419
|
+
"storeId[]": import_zod26.z.array(import_zod26.z.string()).optional(),
|
|
1420
|
+
status: integrationStatusSchema.optional(),
|
|
1421
|
+
"status[]": import_zod26.z.array(integrationStatusSchema).optional(),
|
|
1422
|
+
connectionId: import_zod26.z.string().optional(),
|
|
1423
|
+
"connectionId[]": import_zod26.z.array(import_zod26.z.string()).optional(),
|
|
1424
|
+
skipInvalidItem: import_zod26.z.coerce.boolean().optional(),
|
|
1425
|
+
isValidMenu: import_zod26.z.coerce.boolean().optional(),
|
|
1426
|
+
"latestMenuCheckAt[before]": import_zod26.z.string().optional(),
|
|
1427
|
+
"latestMenuCheckAt[strictly_before]": import_zod26.z.string().optional(),
|
|
1428
|
+
"latestMenuCheckAt[after]": import_zod26.z.string().optional(),
|
|
1429
|
+
"latestMenuCheckAt[strictly_after]": import_zod26.z.string().optional(),
|
|
1430
|
+
"latestMenuSyncAt[before]": import_zod26.z.string().optional(),
|
|
1431
|
+
"latestMenuSyncAt[strictly_before]": import_zod26.z.string().optional(),
|
|
1432
|
+
"latestMenuSyncAt[after]": import_zod26.z.string().optional(),
|
|
1433
|
+
"latestMenuSyncAt[strictly_after]": import_zod26.z.string().optional(),
|
|
1434
|
+
service: integrationServiceSchema.extract(["glovo"]).optional(),
|
|
1435
|
+
page: import_zod26.z.coerce.number().optional()
|
|
1436
|
+
}).merge(import_sdk_js_global_types8.timestampsFilterSchema);
|
|
1437
|
+
var integrationGlovoWebhookEventSchema = import_zod26.z.object({
|
|
1438
|
+
id: import_zod26.z.string(),
|
|
1439
|
+
event: integrationGlovoWebhookEventTypeSchema,
|
|
1440
|
+
body: import_zod26.z.any(),
|
|
1441
|
+
createdAt: import_sdk_js_global_types8.datetimeSchema
|
|
1442
|
+
});
|
|
1443
|
+
var integrationGlovoWebhookEventDetailsSchema = integrationGlovoWebhookEventSchema.extend({
|
|
1444
|
+
integration: integrationGlovoPathSchema
|
|
1445
|
+
});
|
|
1446
|
+
var integrationGlovoWebhookEventsQueryParamsSchema = import_zod26.z.object({
|
|
1447
|
+
"order[createdAt]": import_sdk_js_global_types8.sortDirSchema.optional(),
|
|
1448
|
+
event: integrationGlovoWebhookEventTypeSchema.optional(),
|
|
1449
|
+
"event[]": import_zod26.z.array(integrationGlovoWebhookEventTypeSchema).optional(),
|
|
1450
|
+
"createdAt[before]": import_zod26.z.string().optional(),
|
|
1451
|
+
"createdAt[strictly_before]": import_zod26.z.string().optional(),
|
|
1452
|
+
"createdAt[after]": import_zod26.z.string().optional(),
|
|
1453
|
+
"createdAt[strictly_after]": import_zod26.z.string().optional(),
|
|
1454
|
+
page: import_zod26.z.coerce.number().optional()
|
|
1455
|
+
});
|
|
1456
|
+
var integrationGlovoMenuUpdateSchema = import_zod26.z.object({
|
|
1457
|
+
id: import_zod26.z.string(),
|
|
1458
|
+
transactionId: import_zod26.z.string().nullable(),
|
|
1459
|
+
status: integrationGlovoMenuUpdateStatusSchema.nullable(),
|
|
1460
|
+
retryCompleted: import_zod26.z.boolean(),
|
|
1461
|
+
createdAt: import_sdk_js_global_types8.datetimeSchema,
|
|
1462
|
+
responseAt: import_sdk_js_global_types8.datetimeSchema.nullable(),
|
|
1463
|
+
latestCheckAt: import_sdk_js_global_types8.datetimeSchema.nullable()
|
|
1464
|
+
});
|
|
1465
|
+
var integrationGlovoMenuUpdateDetailsSchema = integrationGlovoMenuUpdateSchema.extend({
|
|
1466
|
+
integration: integrationDeliverooPathSchema,
|
|
1467
|
+
details: import_zod26.z.any().nullable()
|
|
1468
|
+
});
|
|
1469
|
+
var integrationGlovoMenuUpdatesQuerySchema = import_zod26.z.object({
|
|
1470
|
+
"order[createdAt]": import_sdk_js_global_types8.sortDirSchema.optional(),
|
|
1471
|
+
"order[responseAt]": import_sdk_js_global_types8.sortDirSchema.optional(),
|
|
1472
|
+
"order[latestCheckAt]": import_sdk_js_global_types8.sortDirSchema.optional(),
|
|
1473
|
+
retryCompleted: import_zod26.z.coerce.boolean().optional(),
|
|
1474
|
+
transactionId: import_zod26.z.string().optional(),
|
|
1475
|
+
"transactionId[]": import_zod26.z.array(import_zod26.z.string()).optional(),
|
|
1476
|
+
status: integrationGlovoMenuUpdateStatusSchema.optional(),
|
|
1477
|
+
"status[]": import_zod26.z.array(integrationGlovoMenuUpdateStatusSchema).optional(),
|
|
1478
|
+
"createdAt[before]": import_zod26.z.string().optional(),
|
|
1479
|
+
"createdAt[strictly_before]": import_zod26.z.string().optional(),
|
|
1480
|
+
"createdAt[after]": import_zod26.z.string().optional(),
|
|
1481
|
+
"createdAt[strictly_after]": import_zod26.z.string().optional(),
|
|
1482
|
+
"responseAt[before]": import_zod26.z.string().optional(),
|
|
1483
|
+
"responseAt[strictly_before]": import_zod26.z.string().optional(),
|
|
1484
|
+
"responseAt[after]": import_zod26.z.string().optional(),
|
|
1485
|
+
"responseAt[strictly_after]": import_zod26.z.string().optional(),
|
|
1486
|
+
"latestCheckAt[before]": import_zod26.z.string().optional(),
|
|
1487
|
+
"latestCheckAt[strictly_before]": import_zod26.z.string().optional(),
|
|
1488
|
+
"latestCheckAt[after]": import_zod26.z.string().optional(),
|
|
1489
|
+
"latestCheckAt[strictly_after]": import_zod26.z.string().optional(),
|
|
1490
|
+
page: import_zod26.z.coerce.number().optional()
|
|
1491
|
+
});
|
|
1492
|
+
|
|
1493
|
+
// src/service-schemas/justeat.ts
|
|
1494
|
+
var import_sdk_js_global_types9 = require("@deliverart/sdk-js-global-types");
|
|
1495
|
+
var import_zod27 = require("zod");
|
|
1496
|
+
var integrationJustEatSchema = integrationBaseSchema.omit({ service: true }).extend(integrationDeliveryProviderCommonSchema.shape).extend({
|
|
1497
|
+
syncType: integrationJustEatSyncTypeSchema,
|
|
1498
|
+
defaultLanguage: import_zod27.z.string(),
|
|
1499
|
+
restaurantId: import_zod27.z.string(),
|
|
1500
|
+
latestOpeningTimesSyncAt: import_sdk_js_global_types9.datetimeSchema,
|
|
1501
|
+
service: integrationServiceSchema.extract(["justeat"]),
|
|
1502
|
+
autoAcceptOrders: import_zod27.z.boolean(),
|
|
1503
|
+
nextSyncMenuScheduledAt: import_sdk_js_global_types9.datetimeSchema.nullable()
|
|
1504
|
+
});
|
|
1505
|
+
var integrationJustEatDetailsSchema = integrationJustEatSchema.extend(
|
|
1506
|
+
integrationDetailsFieldsSchema.shape
|
|
1507
|
+
);
|
|
1508
|
+
var integrationJustEatEditableFieldsSchema = integrationJustEatSchema.pick({
|
|
1509
|
+
name: true,
|
|
1510
|
+
provider: true,
|
|
1511
|
+
syncType: true,
|
|
1512
|
+
defaultLanguage: true,
|
|
1513
|
+
restaurantId: true,
|
|
1514
|
+
skipNegativePrices: true,
|
|
1515
|
+
skipInvalidItem: true,
|
|
1516
|
+
autoAcceptOrders: true,
|
|
1517
|
+
importTaggedItems: true,
|
|
1518
|
+
tagsForImport: true
|
|
1519
|
+
}).partial();
|
|
1520
|
+
var integrationsJustEatQuerySchema = import_zod27.z.object({
|
|
1521
|
+
"order[createdAt]": import_sdk_js_global_types9.sortDirSchema.optional(),
|
|
1522
|
+
"order[updatedAt]": import_sdk_js_global_types9.sortDirSchema.optional(),
|
|
1523
|
+
"order[latestMenuCheckAt]": import_sdk_js_global_types9.sortDirSchema.optional(),
|
|
1524
|
+
"order[latestMenuSyncAt]": import_sdk_js_global_types9.sortDirSchema.optional(),
|
|
1525
|
+
"order[latestOpeningTimesSyncAt]": import_sdk_js_global_types9.sortDirSchema.optional(),
|
|
1526
|
+
"order[nextSyncMenuScheduledAt]": import_sdk_js_global_types9.sortDirSchema.optional(),
|
|
1527
|
+
name: import_zod27.z.string().optional(),
|
|
1528
|
+
restaurantId: import_zod27.z.string().optional(),
|
|
1529
|
+
"restaurantId[]": import_zod27.z.array(import_zod27.z.string()).optional(),
|
|
1530
|
+
status: integrationStatusSchema.optional(),
|
|
1531
|
+
"status[]": import_zod27.z.array(integrationStatusSchema).optional(),
|
|
1532
|
+
syncType: integrationJustEatPathSchema.optional(),
|
|
1533
|
+
"syncType[]": import_zod27.z.array(integrationJustEatPathSchema).optional(),
|
|
1534
|
+
connectionId: import_zod27.z.string().optional(),
|
|
1535
|
+
"connectionId[]": import_zod27.z.array(import_zod27.z.string()).optional(),
|
|
1536
|
+
skipInvalidItem: import_zod27.z.coerce.boolean().optional(),
|
|
1537
|
+
isValidMenu: import_zod27.z.coerce.boolean().optional(),
|
|
1538
|
+
"latestMenuCheckAt[before]": import_zod27.z.string().optional(),
|
|
1539
|
+
"latestMenuCheckAt[strictly_before]": import_zod27.z.string().optional(),
|
|
1540
|
+
"latestMenuCheckAt[after]": import_zod27.z.string().optional(),
|
|
1541
|
+
"latestMenuCheckAt[strictly_after]": import_zod27.z.string().optional(),
|
|
1542
|
+
"latestMenuSyncAt[before]": import_zod27.z.string().optional(),
|
|
1543
|
+
"latestMenuSyncAt[strictly_before]": import_zod27.z.string().optional(),
|
|
1544
|
+
"latestMenuSyncAt[after]": import_zod27.z.string().optional(),
|
|
1545
|
+
"latestMenuSyncAt[strictly_after]": import_zod27.z.string().optional(),
|
|
1546
|
+
"latestOpeningTimesSyncAt[before]": import_zod27.z.string().optional(),
|
|
1547
|
+
"latestOpeningTimesSyncAt[strictly_before]": import_zod27.z.string().optional(),
|
|
1548
|
+
"latestOpeningTimesSyncAt[after]": import_zod27.z.string().optional(),
|
|
1549
|
+
"latestOpeningTimesSyncAt[strictly_after]": import_zod27.z.string().optional(),
|
|
1550
|
+
"nextSyncMenuScheduledAt[before]": import_zod27.z.string().optional(),
|
|
1551
|
+
"nextSyncMenuScheduledAt[strictly_before]": import_zod27.z.string().optional(),
|
|
1552
|
+
"nextSyncMenuScheduledAt[after]": import_zod27.z.string().optional(),
|
|
1553
|
+
"nextSyncMenuScheduledAt[strictly_after]": import_zod27.z.string().optional(),
|
|
1554
|
+
service: integrationServiceSchema.extract(["justeat"]).optional(),
|
|
1555
|
+
page: import_zod27.z.coerce.number().optional()
|
|
1556
|
+
}).merge(import_sdk_js_global_types9.timestampsFilterSchema);
|
|
1557
|
+
var integrationJustEatSyncMenuProcessSchema = import_zod27.z.object({
|
|
1558
|
+
id: import_zod27.z.string(),
|
|
1559
|
+
ingestionSucceeded: import_zod27.z.boolean().nullable(),
|
|
1560
|
+
error: import_zod27.z.any().nullable(),
|
|
1561
|
+
createdAt: import_sdk_js_global_types9.datetimeSchema
|
|
1562
|
+
});
|
|
1563
|
+
var integrationJustEatSyncMenuProcessDetailsSchema = integrationJustEatSyncMenuProcessSchema.extend({
|
|
1564
|
+
integration: integrationJustEatPathSchema
|
|
1565
|
+
});
|
|
1566
|
+
var integrationJustEatSyncMenuProcessesQuerySchema = import_zod27.z.object({
|
|
1567
|
+
"order[createdAt]": import_sdk_js_global_types9.sortDirSchema.optional(),
|
|
1568
|
+
page: import_zod27.z.coerce.number().optional()
|
|
1569
|
+
});
|
|
1570
|
+
|
|
1571
|
+
// src/integration-schemas.ts
|
|
1572
|
+
var integrationSchema = import_zod28.z.discriminatedUnion("service", [
|
|
1573
|
+
integrationJustEatSchema,
|
|
1574
|
+
integrationDeliverooSchema,
|
|
1575
|
+
integrationGlovoSchema,
|
|
1576
|
+
integrationCassaInCloudSchema
|
|
1577
|
+
]);
|
|
1578
|
+
var integrationDetailsSchema = import_zod28.z.discriminatedUnion("service", [
|
|
1579
|
+
integrationJustEatDetailsSchema,
|
|
1580
|
+
integrationDeliverooDetailsSchema,
|
|
1581
|
+
integrationGlovoDetailsSchema,
|
|
1582
|
+
integrationCassaInCloudDetailsSchema
|
|
1583
|
+
]);
|
|
1584
|
+
|
|
1585
|
+
// src/requests/GetIntegrationDetails.ts
|
|
1586
|
+
var getIntegrationDetailsInputSchema = import_zod29.z.undefined();
|
|
1587
|
+
var getIntegrationDetailsResponseSchema = integrationDetailsSchema;
|
|
1588
|
+
var GetIntegrationDetails = class extends import_sdk_js_core16.AbstractApiRequest {
|
|
1589
|
+
method = "GET";
|
|
1590
|
+
contentType = "application/json";
|
|
1591
|
+
accept = "application/json";
|
|
1592
|
+
inputSchema = getIntegrationDetailsInputSchema;
|
|
1593
|
+
outputSchema = getIntegrationDetailsResponseSchema;
|
|
1594
|
+
querySchema = void 0;
|
|
1595
|
+
headersSchema = void 0;
|
|
1596
|
+
integrationId;
|
|
1597
|
+
constructor(integrationId) {
|
|
1598
|
+
super();
|
|
1599
|
+
this.integrationId = integrationId;
|
|
1600
|
+
}
|
|
1601
|
+
getPath() {
|
|
1602
|
+
return `/integrations/${this.integrationId}`;
|
|
1603
|
+
}
|
|
1604
|
+
};
|
|
1605
|
+
|
|
1606
|
+
// src/requests/GetIntegrations.ts
|
|
1607
|
+
var import_sdk_js_core17 = require("@deliverart/sdk-js-core");
|
|
1608
|
+
var import_sdk_js_global_types10 = require("@deliverart/sdk-js-global-types");
|
|
1609
|
+
var import_zod30 = require("zod");
|
|
1610
|
+
var getIntegrationsQuerySchema = import_zod30.z.object({
|
|
1611
|
+
status: integrationStatusSchema.optional(),
|
|
1612
|
+
"status[]": import_zod30.z.array(integrationStatusSchema).optional(),
|
|
1613
|
+
connectionId: import_zod30.z.string().optional(),
|
|
1614
|
+
"connectionId[]": import_zod30.z.array(import_zod30.z.string()).optional(),
|
|
1615
|
+
service: integrationServiceSchema.optional(),
|
|
1616
|
+
"order[createdAt]": import_sdk_js_global_types10.sortDirSchema.optional(),
|
|
1617
|
+
"order[updatedAt]": import_sdk_js_global_types10.sortDirSchema.optional(),
|
|
1618
|
+
page: import_zod30.z.coerce.number().optional()
|
|
1619
|
+
}).merge(import_sdk_js_global_types10.timestampsFilterSchema);
|
|
1620
|
+
var getIntegrationsResponseSchema = (0, import_sdk_js_global_types10.createPaginatedSchema)(integrationSchema);
|
|
1621
|
+
var getIntegrationsInputSchema = import_zod30.z.undefined();
|
|
1622
|
+
var GetIntegrations = class extends import_sdk_js_core17.AbstractApiRequest {
|
|
1623
|
+
method = "GET";
|
|
1624
|
+
contentType = "application/json";
|
|
1625
|
+
accept = "application/json";
|
|
1626
|
+
inputSchema = getIntegrationsInputSchema;
|
|
1627
|
+
outputSchema = getIntegrationsResponseSchema;
|
|
1628
|
+
querySchema = getIntegrationsQuerySchema;
|
|
1629
|
+
headersSchema = void 0;
|
|
1630
|
+
constructor(options) {
|
|
1631
|
+
super(void 0, options);
|
|
1632
|
+
}
|
|
1633
|
+
getPath() {
|
|
1634
|
+
return "/integrations";
|
|
1635
|
+
}
|
|
1636
|
+
parseResponse(data, rawResponse) {
|
|
1637
|
+
const integrations = import_zod30.z.array(integrationSchema).parse(data);
|
|
1638
|
+
return this.validateOutput({
|
|
1639
|
+
data: integrations,
|
|
1640
|
+
pagination: (0, import_sdk_js_global_types10.responseToPagination)(rawResponse)
|
|
1641
|
+
});
|
|
1642
|
+
}
|
|
1643
|
+
};
|
|
1644
|
+
|
|
1645
|
+
// src/requests/services/cassa_in_cloud/CreateIntegrationCassaInCloud.ts
|
|
1646
|
+
var import_sdk_js_core18 = require("@deliverart/sdk-js-core");
|
|
1647
|
+
var import_sdk_js_point_of_sale5 = require("@deliverart/sdk-js-point-of-sale");
|
|
1648
|
+
var createIntegrationCassaInCloudInputSchema = integrationCassaInCloudEditableFieldsSchema.extend({
|
|
1649
|
+
pointOfSale: import_sdk_js_point_of_sale5.pointOfSalePathSchema
|
|
1650
|
+
});
|
|
1651
|
+
var createIntegrationCassaInCloudResponseSchema = integrationCassaInCloudDetailsSchema;
|
|
1652
|
+
var CreateIntegrationCassaInCloud = class extends import_sdk_js_core18.AbstractApiRequest {
|
|
1653
|
+
method = "POST";
|
|
1654
|
+
contentType = "application/json";
|
|
1655
|
+
accept = "application/json";
|
|
1656
|
+
inputSchema = createIntegrationCassaInCloudInputSchema;
|
|
1657
|
+
outputSchema = createIntegrationCassaInCloudResponseSchema;
|
|
1658
|
+
querySchema = void 0;
|
|
1659
|
+
headersSchema = void 0;
|
|
1660
|
+
constructor(input) {
|
|
1661
|
+
super(input);
|
|
1662
|
+
}
|
|
1663
|
+
getPath() {
|
|
1664
|
+
return "/integrations/cassa_in_cloud";
|
|
1665
|
+
}
|
|
1666
|
+
};
|
|
1667
|
+
|
|
1668
|
+
// src/requests/services/cassa_in_cloud/DeleteIntegrationCassaInCloud.ts
|
|
1669
|
+
var import_sdk_js_core19 = require("@deliverart/sdk-js-core");
|
|
1670
|
+
var import_zod31 = require("zod");
|
|
1671
|
+
var deleteIntegrationCassaInCloudInputSchema = import_zod31.z.undefined();
|
|
1672
|
+
var deleteIntegrationCassaInCloudResponseSchema = import_zod31.z.undefined();
|
|
1673
|
+
var DeleteIntegrationCassaInCloud = class extends import_sdk_js_core19.AbstractApiRequest {
|
|
1674
|
+
method = "DELETE";
|
|
1675
|
+
contentType = "application/json";
|
|
1676
|
+
accept = "application/json";
|
|
1677
|
+
inputSchema = deleteIntegrationCassaInCloudInputSchema;
|
|
1678
|
+
outputSchema = deleteIntegrationCassaInCloudResponseSchema;
|
|
1679
|
+
querySchema = void 0;
|
|
1680
|
+
headersSchema = void 0;
|
|
1681
|
+
integrationCassaInCloudId;
|
|
1682
|
+
constructor(integrationCassaInCloudId) {
|
|
1683
|
+
super();
|
|
1684
|
+
this.integrationCassaInCloudId = integrationCassaInCloudId;
|
|
1685
|
+
}
|
|
1686
|
+
getPath() {
|
|
1687
|
+
return `/integrations/cassa_in_cloud/${this.integrationCassaInCloudId}`;
|
|
1688
|
+
}
|
|
1689
|
+
};
|
|
1690
|
+
|
|
1691
|
+
// src/requests/services/cassa_in_cloud/GetIntegrationCassaInCloudClientLogRequestDetails.ts
|
|
1692
|
+
var import_sdk_js_core20 = require("@deliverart/sdk-js-core");
|
|
1693
|
+
var import_zod32 = require("zod");
|
|
1694
|
+
var getIntegrationCassaInCloudClientLogRequestDetailsInputSchema = import_zod32.z.undefined();
|
|
1695
|
+
var getIntegrationCassaInCloudClientLogRequestDetailsResponseSchema = integrationClientLogRequestDetailsSchema;
|
|
1696
|
+
var GetIntegrationCassaInCloudClientLogRequestDetails = class extends import_sdk_js_core20.AbstractApiRequest {
|
|
1697
|
+
method = "GET";
|
|
1698
|
+
contentType = "application/json";
|
|
1699
|
+
accept = "application/json";
|
|
1700
|
+
inputSchema = getIntegrationCassaInCloudClientLogRequestDetailsInputSchema;
|
|
1701
|
+
outputSchema = getIntegrationCassaInCloudClientLogRequestDetailsResponseSchema;
|
|
1702
|
+
querySchema = void 0;
|
|
1703
|
+
headersSchema = void 0;
|
|
1704
|
+
integrationCassaInCloudId;
|
|
1705
|
+
requestId;
|
|
1706
|
+
constructor(integrationCassaInCloudId, requestId) {
|
|
1707
|
+
super();
|
|
1708
|
+
this.integrationCassaInCloudId = integrationCassaInCloudId;
|
|
1709
|
+
this.requestId = requestId;
|
|
1710
|
+
}
|
|
1711
|
+
getPath() {
|
|
1712
|
+
return `/integrations/cassa_in_cloud/${this.integrationCassaInCloudId}/client_log_requests/${this.requestId}`;
|
|
1713
|
+
}
|
|
1714
|
+
};
|
|
1715
|
+
|
|
1716
|
+
// src/requests/services/cassa_in_cloud/GetIntegrationCassaInCloudClientLogRequests.ts
|
|
1717
|
+
var import_sdk_js_core21 = require("@deliverart/sdk-js-core");
|
|
1718
|
+
var import_sdk_js_global_types11 = require("@deliverart/sdk-js-global-types");
|
|
1719
|
+
var import_zod33 = require("zod");
|
|
1720
|
+
var getIntegrationCassaInCloudClientLogRequestsQuerySchema = clientLogRequestQuerySchema;
|
|
1721
|
+
var getIntegrationCassaInCloudClientLogRequestsResponseSchema = (0, import_sdk_js_global_types11.createPaginatedSchema)(
|
|
1722
|
+
integrationClientLogRequestSchema
|
|
1723
|
+
);
|
|
1724
|
+
var getIntegrationCassaInCloudClientLogRequestsInputSchema = import_zod33.z.undefined();
|
|
1725
|
+
var GetIntegrationCassaInCloudClientLogRequests = class extends import_sdk_js_core21.AbstractApiRequest {
|
|
1726
|
+
method = "GET";
|
|
1727
|
+
contentType = "application/json";
|
|
1728
|
+
accept = "application/json";
|
|
1729
|
+
inputSchema = getIntegrationCassaInCloudClientLogRequestsInputSchema;
|
|
1730
|
+
outputSchema = getIntegrationCassaInCloudClientLogRequestsResponseSchema;
|
|
1731
|
+
querySchema = getIntegrationCassaInCloudClientLogRequestsQuerySchema;
|
|
1732
|
+
headersSchema = void 0;
|
|
1733
|
+
integrationCassaInCloudId;
|
|
1734
|
+
constructor(integrationCassaInCloudId, options) {
|
|
1735
|
+
super(void 0, options);
|
|
1736
|
+
this.integrationCassaInCloudId = integrationCassaInCloudId;
|
|
1737
|
+
}
|
|
1738
|
+
getPath() {
|
|
1739
|
+
return `/integrations/cassa_in_cloud/${this.integrationCassaInCloudId}/client_log_requests`;
|
|
1740
|
+
}
|
|
1741
|
+
parseResponse(data, rawResponse) {
|
|
1742
|
+
const integrations = import_zod33.z.array(integrationClientLogRequestSchema).parse(data);
|
|
1743
|
+
return this.validateOutput({
|
|
1744
|
+
data: integrations,
|
|
1745
|
+
pagination: (0, import_sdk_js_global_types11.responseToPagination)(rawResponse)
|
|
1746
|
+
});
|
|
1747
|
+
}
|
|
1748
|
+
};
|
|
1749
|
+
|
|
1750
|
+
// src/requests/services/cassa_in_cloud/GetIntegrationCassaInCloudDetails.ts
|
|
1751
|
+
var import_sdk_js_core22 = require("@deliverart/sdk-js-core");
|
|
1752
|
+
var import_zod34 = require("zod");
|
|
1753
|
+
var getIntegrationCassaInCloudDetailsInputSchema = import_zod34.z.undefined();
|
|
1754
|
+
var getIntegrationCassaInCloudDetailsResponseSchema = integrationCassaInCloudDetailsSchema;
|
|
1755
|
+
var GetIntegrationCassaInCloudDetails = class extends import_sdk_js_core22.AbstractApiRequest {
|
|
1756
|
+
method = "GET";
|
|
1757
|
+
contentType = "application/json";
|
|
1758
|
+
accept = "application/json";
|
|
1759
|
+
inputSchema = getIntegrationCassaInCloudDetailsInputSchema;
|
|
1760
|
+
outputSchema = getIntegrationCassaInCloudDetailsResponseSchema;
|
|
1761
|
+
querySchema = void 0;
|
|
1762
|
+
headersSchema = void 0;
|
|
1763
|
+
integrationCassaInCloudId;
|
|
1764
|
+
constructor(integrationCassaInCloudId) {
|
|
1765
|
+
super();
|
|
1766
|
+
this.integrationCassaInCloudId = integrationCassaInCloudId;
|
|
1767
|
+
}
|
|
1768
|
+
getPath() {
|
|
1769
|
+
return `/integrations/cassa_in_cloud/${this.integrationCassaInCloudId}`;
|
|
1770
|
+
}
|
|
1771
|
+
};
|
|
1772
|
+
|
|
1773
|
+
// src/requests/services/cassa_in_cloud/GetIntegrationCassaInCloudList.ts
|
|
1774
|
+
var import_sdk_js_core23 = require("@deliverart/sdk-js-core");
|
|
1775
|
+
var import_sdk_js_global_types12 = require("@deliverart/sdk-js-global-types");
|
|
1776
|
+
var import_zod35 = require("zod");
|
|
1777
|
+
var getIntegrationCassaInCloudListQuerySchema = integrationsCassaInCloudQuerySchema.omit({
|
|
1778
|
+
service: true
|
|
1779
|
+
});
|
|
1780
|
+
var getIntegrationCassaInCloudListResponseSchema = (0, import_sdk_js_global_types12.createPaginatedSchema)(
|
|
1781
|
+
integrationCassaInCloudSchema
|
|
1782
|
+
);
|
|
1783
|
+
var getIntegrationCassaInCloudListInputSchema = import_zod35.z.undefined();
|
|
1784
|
+
var GetIntegrationCassaInCloudList = class extends import_sdk_js_core23.AbstractApiRequest {
|
|
1785
|
+
method = "GET";
|
|
1786
|
+
contentType = "application/json";
|
|
1787
|
+
accept = "application/json";
|
|
1788
|
+
inputSchema = getIntegrationCassaInCloudListInputSchema;
|
|
1789
|
+
outputSchema = getIntegrationCassaInCloudListResponseSchema;
|
|
1790
|
+
querySchema = getIntegrationCassaInCloudListQuerySchema;
|
|
1791
|
+
headersSchema = void 0;
|
|
1792
|
+
constructor(options) {
|
|
1793
|
+
super(void 0, options);
|
|
1794
|
+
}
|
|
1795
|
+
getPath() {
|
|
1796
|
+
return "/integrations/cassa_in_cloud";
|
|
1797
|
+
}
|
|
1798
|
+
parseResponse(data, rawResponse) {
|
|
1799
|
+
const integrations = import_zod35.z.array(integrationCassaInCloudSchema).parse(data);
|
|
1800
|
+
return this.validateOutput({
|
|
1801
|
+
data: integrations,
|
|
1802
|
+
pagination: (0, import_sdk_js_global_types12.responseToPagination)(rawResponse)
|
|
1803
|
+
});
|
|
1804
|
+
}
|
|
1805
|
+
};
|
|
1806
|
+
|
|
1807
|
+
// src/requests/services/cassa_in_cloud/GetIntegrationCassaInCloudSyncMenuProcessDetails.ts
|
|
1808
|
+
var import_sdk_js_core24 = require("@deliverart/sdk-js-core");
|
|
1809
|
+
var import_zod36 = require("zod");
|
|
1810
|
+
var getIntegrationCassaInCloudSyncMenuProcessDetailsInputSchema = import_zod36.z.undefined();
|
|
1811
|
+
var getIntegrationCassaInCloudSyncMenuProcessDetailsResponseSchema = integrationCassaInCloudSyncMenuProcessDetailsSchema;
|
|
1812
|
+
var GetIntegrationCassaInCloudSyncMenuProcessDetails = class extends import_sdk_js_core24.AbstractApiRequest {
|
|
1813
|
+
method = "GET";
|
|
1814
|
+
contentType = "application/json";
|
|
1815
|
+
accept = "application/json";
|
|
1816
|
+
inputSchema = getIntegrationCassaInCloudSyncMenuProcessDetailsInputSchema;
|
|
1817
|
+
outputSchema = getIntegrationCassaInCloudSyncMenuProcessDetailsResponseSchema;
|
|
1818
|
+
querySchema = void 0;
|
|
1819
|
+
headersSchema = void 0;
|
|
1820
|
+
integrationCassaInCloudId;
|
|
1821
|
+
processId;
|
|
1822
|
+
constructor(integrationCassaInCloudId, processId) {
|
|
1823
|
+
super();
|
|
1824
|
+
this.integrationCassaInCloudId = integrationCassaInCloudId;
|
|
1825
|
+
this.processId = processId;
|
|
1826
|
+
}
|
|
1827
|
+
getPath() {
|
|
1828
|
+
return `/integrations/cassa_in_cloud/${this.integrationCassaInCloudId}/sync_menu_processes/${this.processId}`;
|
|
1829
|
+
}
|
|
1830
|
+
};
|
|
1831
|
+
|
|
1832
|
+
// src/requests/services/cassa_in_cloud/GetIntegrationCassaInCloudSyncMenuProcesses.ts
|
|
1833
|
+
var import_sdk_js_core25 = require("@deliverart/sdk-js-core");
|
|
1834
|
+
var import_sdk_js_global_types13 = require("@deliverart/sdk-js-global-types");
|
|
1835
|
+
var import_zod37 = require("zod");
|
|
1836
|
+
var getIntegrationCassaInCloudSyncMenuProcessesQuerySchema = import_zod37.z.object({
|
|
1837
|
+
page: import_zod37.z.number().optional()
|
|
1838
|
+
});
|
|
1839
|
+
var getIntegrationCassaInCloudSyncMenuProcessesResponseSchema = (0, import_sdk_js_global_types13.createPaginatedSchema)(
|
|
1840
|
+
integrationCassaInCloudSyncMenuProcessSchema
|
|
1841
|
+
);
|
|
1842
|
+
var getIntegrationCassaInCloudSyncMenuProcessesInputSchema = import_zod37.z.undefined();
|
|
1843
|
+
var GetIntegrationCassaInCloudSyncMenuProcesses = class extends import_sdk_js_core25.AbstractApiRequest {
|
|
1844
|
+
method = "GET";
|
|
1845
|
+
contentType = "application/json";
|
|
1846
|
+
accept = "application/json";
|
|
1847
|
+
inputSchema = getIntegrationCassaInCloudSyncMenuProcessesInputSchema;
|
|
1848
|
+
outputSchema = getIntegrationCassaInCloudSyncMenuProcessesResponseSchema;
|
|
1849
|
+
querySchema = getIntegrationCassaInCloudSyncMenuProcessesQuerySchema;
|
|
1850
|
+
headersSchema = void 0;
|
|
1851
|
+
integrationCassaInCloudId;
|
|
1852
|
+
constructor(integrationCassaInCloudId, options) {
|
|
1853
|
+
super(void 0, options);
|
|
1854
|
+
this.integrationCassaInCloudId = integrationCassaInCloudId;
|
|
1855
|
+
}
|
|
1856
|
+
getPath() {
|
|
1857
|
+
return `/integrations/cassa_in_cloud/${this.integrationCassaInCloudId}/sync_menu_processes`;
|
|
1858
|
+
}
|
|
1859
|
+
parseResponse(data, rawResponse) {
|
|
1860
|
+
const integrations = import_zod37.z.array(integrationCassaInCloudSyncMenuProcessSchema).parse(data);
|
|
1861
|
+
return this.validateOutput({
|
|
1862
|
+
data: integrations,
|
|
1863
|
+
pagination: (0, import_sdk_js_global_types13.responseToPagination)(rawResponse)
|
|
1864
|
+
});
|
|
1865
|
+
}
|
|
1866
|
+
};
|
|
1867
|
+
|
|
1868
|
+
// src/requests/services/cassa_in_cloud/GetIntegrationCassaInCloudWebHookEventDetails.ts
|
|
1869
|
+
var import_sdk_js_core26 = require("@deliverart/sdk-js-core");
|
|
1870
|
+
var import_zod38 = require("zod");
|
|
1871
|
+
var getIntegrationCassaInCloudWebHookEventDetailsInputSchema = import_zod38.z.undefined();
|
|
1872
|
+
var getIntegrationCassaInCloudWebHookEventDetailsResponseSchema = integrationCassaInCloudWebHookEventDetailsSchema;
|
|
1873
|
+
var GetIntegrationCassaInCloudWebHookEventDetails = class extends import_sdk_js_core26.AbstractApiRequest {
|
|
1874
|
+
method = "GET";
|
|
1875
|
+
contentType = "application/json";
|
|
1876
|
+
accept = "application/json";
|
|
1877
|
+
inputSchema = getIntegrationCassaInCloudWebHookEventDetailsInputSchema;
|
|
1878
|
+
outputSchema = getIntegrationCassaInCloudWebHookEventDetailsResponseSchema;
|
|
1879
|
+
querySchema = void 0;
|
|
1880
|
+
headersSchema = void 0;
|
|
1881
|
+
integrationCassaInCloudId;
|
|
1882
|
+
eventId;
|
|
1883
|
+
constructor(integrationCassaInCloudId, eventId) {
|
|
1884
|
+
super();
|
|
1885
|
+
this.integrationCassaInCloudId = integrationCassaInCloudId;
|
|
1886
|
+
this.eventId = eventId;
|
|
1887
|
+
}
|
|
1888
|
+
getPath() {
|
|
1889
|
+
return `/integrations/cassa_in_cloud/${this.integrationCassaInCloudId}/webhook_events/${this.eventId}`;
|
|
1890
|
+
}
|
|
1891
|
+
};
|
|
1892
|
+
|
|
1893
|
+
// src/requests/services/cassa_in_cloud/GetIntegrationCassaInCloudWebHookEvents.ts
|
|
1894
|
+
var import_sdk_js_core27 = require("@deliverart/sdk-js-core");
|
|
1895
|
+
var import_sdk_js_global_types14 = require("@deliverart/sdk-js-global-types");
|
|
1896
|
+
var import_zod39 = require("zod");
|
|
1897
|
+
var getIntegrationCassaInCloudWebHookEventsQuerySchema = integrationCassaInCloudWebHookEventsQuerySchema;
|
|
1898
|
+
var getIntegrationCassaInCloudWebHookEventsResponseSchema = (0, import_sdk_js_global_types14.createPaginatedSchema)(
|
|
1899
|
+
integrationCassaInCloudWebHookEventSchema
|
|
1900
|
+
);
|
|
1901
|
+
var getIntegrationCassaInCloudWebHookEventsInputSchema = import_zod39.z.undefined();
|
|
1902
|
+
var GetIntegrationCassaInCloudWebHookEvents = class extends import_sdk_js_core27.AbstractApiRequest {
|
|
1903
|
+
method = "GET";
|
|
1904
|
+
contentType = "application/json";
|
|
1905
|
+
accept = "application/json";
|
|
1906
|
+
inputSchema = getIntegrationCassaInCloudWebHookEventsInputSchema;
|
|
1907
|
+
outputSchema = getIntegrationCassaInCloudWebHookEventsResponseSchema;
|
|
1908
|
+
querySchema = getIntegrationCassaInCloudWebHookEventsQuerySchema;
|
|
1909
|
+
headersSchema = void 0;
|
|
1910
|
+
integrationCassaInCloudId;
|
|
1911
|
+
constructor(integrationCassaInCloudId, options) {
|
|
1912
|
+
super(void 0, options);
|
|
1913
|
+
this.integrationCassaInCloudId = integrationCassaInCloudId;
|
|
1914
|
+
}
|
|
1915
|
+
getPath() {
|
|
1916
|
+
return `/integrations/cassa_in_cloud/${this.integrationCassaInCloudId}/webhook_events`;
|
|
1917
|
+
}
|
|
1918
|
+
parseResponse(data, rawResponse) {
|
|
1919
|
+
const integrations = import_zod39.z.array(integrationCassaInCloudWebHookEventSchema).parse(data);
|
|
1920
|
+
return this.validateOutput({
|
|
1921
|
+
data: integrations,
|
|
1922
|
+
pagination: (0, import_sdk_js_global_types14.responseToPagination)(rawResponse)
|
|
1923
|
+
});
|
|
1924
|
+
}
|
|
1925
|
+
};
|
|
1926
|
+
|
|
1927
|
+
// src/requests/services/cassa_in_cloud/IntegrationCassaInCloudSyncCustomers.ts
|
|
1928
|
+
var import_sdk_js_core28 = require("@deliverart/sdk-js-core");
|
|
1929
|
+
var import_zod40 = require("zod");
|
|
1930
|
+
var integrationCassaInCloudSyncCustomersInputSchema = import_zod40.z.undefined();
|
|
1931
|
+
var integrationCassaInCloudSyncCustomersResponseSchema = import_zod40.z.undefined();
|
|
1932
|
+
var IntegrationCassaInCloudSyncCustomers = class extends import_sdk_js_core28.AbstractApiRequest {
|
|
1933
|
+
method = "POST";
|
|
1934
|
+
contentType = "application/json";
|
|
1935
|
+
accept = "application/json";
|
|
1936
|
+
inputSchema = integrationCassaInCloudSyncCustomersInputSchema;
|
|
1937
|
+
outputSchema = integrationCassaInCloudSyncCustomersResponseSchema;
|
|
1938
|
+
querySchema = void 0;
|
|
1939
|
+
headersSchema = void 0;
|
|
1940
|
+
integrationCassaInCloudId;
|
|
1941
|
+
constructor(integrationCassaInCloudId) {
|
|
1942
|
+
super();
|
|
1943
|
+
this.integrationCassaInCloudId = integrationCassaInCloudId;
|
|
1944
|
+
}
|
|
1945
|
+
getPath() {
|
|
1946
|
+
return `/integrations/cassa_in_cloud/${this.integrationCassaInCloudId}/sync/customers`;
|
|
1947
|
+
}
|
|
1948
|
+
};
|
|
1949
|
+
|
|
1950
|
+
// src/requests/services/cassa_in_cloud/IntegrationCassaInCloudSyncOrganizations.ts
|
|
1951
|
+
var import_sdk_js_core29 = require("@deliverart/sdk-js-core");
|
|
1952
|
+
var import_zod41 = require("zod");
|
|
1953
|
+
var integrationCassaInCloudSyncOrganizationsInputSchema = import_zod41.z.undefined();
|
|
1954
|
+
var integrationCassaInCloudSyncOrganizationsResponseSchema = import_zod41.z.undefined();
|
|
1955
|
+
var IntegrationCassaInCloudSyncOrganizations = class extends import_sdk_js_core29.AbstractApiRequest {
|
|
1956
|
+
method = "POST";
|
|
1957
|
+
contentType = "application/json";
|
|
1958
|
+
accept = "application/json";
|
|
1959
|
+
inputSchema = integrationCassaInCloudSyncOrganizationsInputSchema;
|
|
1960
|
+
outputSchema = integrationCassaInCloudSyncOrganizationsResponseSchema;
|
|
1961
|
+
querySchema = void 0;
|
|
1962
|
+
headersSchema = void 0;
|
|
1963
|
+
integrationCassaInCloudId;
|
|
1964
|
+
constructor(integrationCassaInCloudId) {
|
|
1965
|
+
super();
|
|
1966
|
+
this.integrationCassaInCloudId = integrationCassaInCloudId;
|
|
1967
|
+
}
|
|
1968
|
+
getPath() {
|
|
1969
|
+
return `/integrations/cassa_in_cloud/${this.integrationCassaInCloudId}/sync/organizations`;
|
|
1970
|
+
}
|
|
1971
|
+
};
|
|
1972
|
+
|
|
1973
|
+
// src/requests/services/cassa_in_cloud/IntegrationCassaInCloudSyncProducts.ts
|
|
1974
|
+
var import_sdk_js_core30 = require("@deliverart/sdk-js-core");
|
|
1975
|
+
var import_zod42 = require("zod");
|
|
1976
|
+
var integrationCassaInCloudSyncProductsInputSchema = import_zod42.z.undefined();
|
|
1977
|
+
var integrationCassaInCloudSyncProductsResponseSchema = import_zod42.z.undefined();
|
|
1978
|
+
var IntegrationCassaInCloudSyncProducts = class extends import_sdk_js_core30.AbstractApiRequest {
|
|
1979
|
+
method = "POST";
|
|
1980
|
+
contentType = "application/json";
|
|
1981
|
+
accept = "application/json";
|
|
1982
|
+
inputSchema = integrationCassaInCloudSyncProductsInputSchema;
|
|
1983
|
+
outputSchema = integrationCassaInCloudSyncProductsResponseSchema;
|
|
1984
|
+
querySchema = void 0;
|
|
1985
|
+
headersSchema = void 0;
|
|
1986
|
+
integrationCassaInCloudId;
|
|
1987
|
+
constructor(integrationCassaInCloudId) {
|
|
1988
|
+
super();
|
|
1989
|
+
this.integrationCassaInCloudId = integrationCassaInCloudId;
|
|
1990
|
+
}
|
|
1991
|
+
getPath() {
|
|
1992
|
+
return `/integrations/cassa_in_cloud/${this.integrationCassaInCloudId}/sync/products`;
|
|
1993
|
+
}
|
|
1994
|
+
};
|
|
1995
|
+
|
|
1996
|
+
// src/requests/services/cassa_in_cloud/IntegrationCassaInCloudSyncSalesModes.ts
|
|
1997
|
+
var import_sdk_js_core31 = require("@deliverart/sdk-js-core");
|
|
1998
|
+
var import_zod43 = require("zod");
|
|
1999
|
+
var integrationCassaInCloudSyncSalesModesInputSchema = import_zod43.z.undefined();
|
|
2000
|
+
var integrationCassaInCloudSyncSalesModesResponseSchema = import_zod43.z.undefined();
|
|
2001
|
+
var IntegrationCassaInCloudSyncSalesModes = class extends import_sdk_js_core31.AbstractApiRequest {
|
|
2002
|
+
method = "POST";
|
|
2003
|
+
contentType = "application/json";
|
|
2004
|
+
accept = "application/json";
|
|
2005
|
+
inputSchema = integrationCassaInCloudSyncSalesModesInputSchema;
|
|
2006
|
+
outputSchema = integrationCassaInCloudSyncSalesModesResponseSchema;
|
|
2007
|
+
querySchema = void 0;
|
|
2008
|
+
headersSchema = void 0;
|
|
2009
|
+
integrationCassaInCloudId;
|
|
2010
|
+
constructor(integrationCassaInCloudId) {
|
|
2011
|
+
super();
|
|
2012
|
+
this.integrationCassaInCloudId = integrationCassaInCloudId;
|
|
2013
|
+
}
|
|
2014
|
+
getPath() {
|
|
2015
|
+
return `/integrations/cassa_in_cloud/${this.integrationCassaInCloudId}/sync/sales_modes`;
|
|
2016
|
+
}
|
|
2017
|
+
};
|
|
2018
|
+
|
|
2019
|
+
// src/requests/services/cassa_in_cloud/IntegrationCassaInCloudSyncStock.ts
|
|
2020
|
+
var import_sdk_js_core32 = require("@deliverart/sdk-js-core");
|
|
2021
|
+
var import_zod44 = require("zod");
|
|
2022
|
+
var integrationCassaInCloudSyncStockInputSchema = import_zod44.z.undefined();
|
|
2023
|
+
var integrationCassaInCloudSyncStockResponseSchema = import_zod44.z.undefined();
|
|
2024
|
+
var IntegrationCassaInCloudSyncStock = class extends import_sdk_js_core32.AbstractApiRequest {
|
|
2025
|
+
method = "POST";
|
|
2026
|
+
contentType = "application/json";
|
|
2027
|
+
accept = "application/json";
|
|
2028
|
+
inputSchema = integrationCassaInCloudSyncStockInputSchema;
|
|
2029
|
+
outputSchema = integrationCassaInCloudSyncStockResponseSchema;
|
|
2030
|
+
querySchema = void 0;
|
|
2031
|
+
headersSchema = void 0;
|
|
2032
|
+
integrationCassaInCloudId;
|
|
2033
|
+
constructor(integrationCassaInCloudId) {
|
|
2034
|
+
super();
|
|
2035
|
+
this.integrationCassaInCloudId = integrationCassaInCloudId;
|
|
2036
|
+
}
|
|
2037
|
+
getPath() {
|
|
2038
|
+
return `/integrations/cassa_in_cloud/${this.integrationCassaInCloudId}/sync/stock`;
|
|
2039
|
+
}
|
|
2040
|
+
};
|
|
2041
|
+
|
|
2042
|
+
// src/requests/services/cassa_in_cloud/IntegrationCassaInCloudSyncTimetables.ts
|
|
2043
|
+
var import_sdk_js_core33 = require("@deliverart/sdk-js-core");
|
|
2044
|
+
var import_zod45 = require("zod");
|
|
2045
|
+
var integrationCassaInCloudSyncTimetablesInputSchema = import_zod45.z.undefined();
|
|
2046
|
+
var integrationCassaInCloudSyncTimetablesResponseSchema = import_zod45.z.undefined();
|
|
2047
|
+
var IntegrationCassaInCloudSyncTimetables = class extends import_sdk_js_core33.AbstractApiRequest {
|
|
2048
|
+
method = "POST";
|
|
2049
|
+
contentType = "application/json";
|
|
2050
|
+
accept = "application/json";
|
|
2051
|
+
inputSchema = integrationCassaInCloudSyncTimetablesInputSchema;
|
|
2052
|
+
outputSchema = integrationCassaInCloudSyncTimetablesResponseSchema;
|
|
2053
|
+
querySchema = void 0;
|
|
2054
|
+
headersSchema = void 0;
|
|
2055
|
+
integrationCassaInCloudId;
|
|
2056
|
+
constructor(integrationCassaInCloudId) {
|
|
2057
|
+
super();
|
|
2058
|
+
this.integrationCassaInCloudId = integrationCassaInCloudId;
|
|
2059
|
+
}
|
|
2060
|
+
getPath() {
|
|
2061
|
+
return `/integrations/cassa_in_cloud/${this.integrationCassaInCloudId}/sync/timetables`;
|
|
2062
|
+
}
|
|
2063
|
+
};
|
|
2064
|
+
|
|
2065
|
+
// src/requests/services/cassa_in_cloud/UpdateIntegrationCassaInCloud.ts
|
|
2066
|
+
var import_sdk_js_core34 = require("@deliverart/sdk-js-core");
|
|
2067
|
+
var updateIntegrationCassaInCloudInputSchema = integrationCassaInCloudEditableFieldsSchema;
|
|
2068
|
+
var updateIntegrationCassaInCloudResponseSchema = integrationCassaInCloudDetailsSchema;
|
|
2069
|
+
var UpdateIntegrationCassaInCloud = class extends import_sdk_js_core34.AbstractApiRequest {
|
|
2070
|
+
method = "PATCH";
|
|
2071
|
+
contentType = "application/merge-patch+json";
|
|
2072
|
+
accept = "application/json";
|
|
2073
|
+
inputSchema = updateIntegrationCassaInCloudInputSchema;
|
|
2074
|
+
outputSchema = updateIntegrationCassaInCloudResponseSchema;
|
|
2075
|
+
querySchema = void 0;
|
|
2076
|
+
headersSchema = void 0;
|
|
2077
|
+
integrationCassaInCloudId;
|
|
2078
|
+
constructor(integrationCassaInCloudId, input) {
|
|
2079
|
+
super(input);
|
|
2080
|
+
this.integrationCassaInCloudId = integrationCassaInCloudId;
|
|
2081
|
+
}
|
|
2082
|
+
getPath() {
|
|
2083
|
+
return `/integrations/cassa_in_cloud/${this.integrationCassaInCloudId}`;
|
|
2084
|
+
}
|
|
2085
|
+
};
|
|
2086
|
+
|
|
2087
|
+
// src/requests/services/deliveroo/CreateIntegrationDeliveroo.ts
|
|
2088
|
+
var import_sdk_js_core35 = require("@deliverart/sdk-js-core");
|
|
2089
|
+
var import_sdk_js_point_of_sale6 = require("@deliverart/sdk-js-point-of-sale");
|
|
2090
|
+
var createIntegrationDeliverooInputSchema = integrationDeliverooEditableFieldsSchema.extend({
|
|
2091
|
+
pointOfSale: import_sdk_js_point_of_sale6.pointOfSalePathSchema
|
|
2092
|
+
});
|
|
2093
|
+
var createIntegrationDeliverooResponseSchema = integrationDeliverooDetailsSchema;
|
|
2094
|
+
var CreateIntegrationDeliveroo = class extends import_sdk_js_core35.AbstractApiRequest {
|
|
2095
|
+
method = "POST";
|
|
2096
|
+
contentType = "application/json";
|
|
2097
|
+
accept = "application/json";
|
|
2098
|
+
inputSchema = createIntegrationDeliverooInputSchema;
|
|
2099
|
+
outputSchema = createIntegrationDeliverooResponseSchema;
|
|
2100
|
+
querySchema = void 0;
|
|
2101
|
+
headersSchema = void 0;
|
|
2102
|
+
constructor(input) {
|
|
2103
|
+
super(input);
|
|
2104
|
+
}
|
|
2105
|
+
getPath() {
|
|
2106
|
+
return "/integrations/deliveroo";
|
|
2107
|
+
}
|
|
2108
|
+
};
|
|
2109
|
+
|
|
2110
|
+
// src/requests/services/deliveroo/DeleteIntegrationDeliveroo.ts
|
|
2111
|
+
var import_sdk_js_core36 = require("@deliverart/sdk-js-core");
|
|
2112
|
+
var import_zod46 = require("zod");
|
|
2113
|
+
var deleteIntegrationDeliverooInputSchema = import_zod46.z.undefined();
|
|
2114
|
+
var deleteIntegrationDeliverooResponseSchema = import_zod46.z.undefined();
|
|
2115
|
+
var DeleteIntegrationDeliveroo = class extends import_sdk_js_core36.AbstractApiRequest {
|
|
2116
|
+
method = "DELETE";
|
|
2117
|
+
contentType = "application/json";
|
|
2118
|
+
accept = "application/json";
|
|
2119
|
+
inputSchema = deleteIntegrationDeliverooInputSchema;
|
|
2120
|
+
outputSchema = deleteIntegrationDeliverooResponseSchema;
|
|
2121
|
+
querySchema = void 0;
|
|
2122
|
+
headersSchema = void 0;
|
|
2123
|
+
integrationDeliverooId;
|
|
2124
|
+
constructor(integrationDeliverooId) {
|
|
2125
|
+
super();
|
|
2126
|
+
this.integrationDeliverooId = integrationDeliverooId;
|
|
2127
|
+
}
|
|
2128
|
+
getPath() {
|
|
2129
|
+
return `/integrations/deliveroo/${this.integrationDeliverooId}`;
|
|
2130
|
+
}
|
|
2131
|
+
};
|
|
2132
|
+
|
|
2133
|
+
// src/requests/services/deliveroo/GetIntegrationDeliverooClientLogRequestDetails.ts
|
|
2134
|
+
var import_sdk_js_core37 = require("@deliverart/sdk-js-core");
|
|
2135
|
+
var import_zod47 = require("zod");
|
|
2136
|
+
var getIntegrationDeliverooClientLogRequestDetailsInputSchema = import_zod47.z.undefined();
|
|
2137
|
+
var getIntegrationDeliverooClientLogRequestDetailsResponseSchema = integrationClientLogRequestDetailsSchema;
|
|
2138
|
+
var GetIntegrationDeliverooClientLogRequestDetails = class extends import_sdk_js_core37.AbstractApiRequest {
|
|
2139
|
+
method = "GET";
|
|
2140
|
+
contentType = "application/json";
|
|
2141
|
+
accept = "application/json";
|
|
2142
|
+
inputSchema = getIntegrationDeliverooClientLogRequestDetailsInputSchema;
|
|
2143
|
+
outputSchema = getIntegrationDeliverooClientLogRequestDetailsResponseSchema;
|
|
2144
|
+
querySchema = void 0;
|
|
2145
|
+
headersSchema = void 0;
|
|
2146
|
+
integrationDeliverooId;
|
|
2147
|
+
requestId;
|
|
2148
|
+
constructor(integrationDeliverooId, requestId) {
|
|
2149
|
+
super();
|
|
2150
|
+
this.integrationDeliverooId = integrationDeliverooId;
|
|
2151
|
+
this.requestId = requestId;
|
|
2152
|
+
}
|
|
2153
|
+
getPath() {
|
|
2154
|
+
return `/integrations/deliveroo/${this.integrationDeliverooId}/client_log_requests/${this.requestId}`;
|
|
2155
|
+
}
|
|
2156
|
+
};
|
|
2157
|
+
|
|
2158
|
+
// src/requests/services/deliveroo/GetIntegrationDeliverooClientLogRequests.ts
|
|
2159
|
+
var import_sdk_js_core38 = require("@deliverart/sdk-js-core");
|
|
2160
|
+
var import_sdk_js_global_types15 = require("@deliverart/sdk-js-global-types");
|
|
2161
|
+
var import_zod48 = require("zod");
|
|
2162
|
+
var getIntegrationDeliverooClientLogRequestsQuerySchema = clientLogRequestQuerySchema;
|
|
2163
|
+
var getIntegrationDeliverooClientLogRequestsResponseSchema = (0, import_sdk_js_global_types15.createPaginatedSchema)(
|
|
2164
|
+
integrationClientLogRequestSchema
|
|
2165
|
+
);
|
|
2166
|
+
var getIntegrationDeliverooClientLogRequestsInputSchema = import_zod48.z.undefined();
|
|
2167
|
+
var GetIntegrationDeliverooClientLogRequests = class extends import_sdk_js_core38.AbstractApiRequest {
|
|
2168
|
+
method = "GET";
|
|
2169
|
+
contentType = "application/json";
|
|
2170
|
+
accept = "application/json";
|
|
2171
|
+
inputSchema = getIntegrationDeliverooClientLogRequestsInputSchema;
|
|
2172
|
+
outputSchema = getIntegrationDeliverooClientLogRequestsResponseSchema;
|
|
2173
|
+
querySchema = getIntegrationDeliverooClientLogRequestsQuerySchema;
|
|
2174
|
+
headersSchema = void 0;
|
|
2175
|
+
integrationDeliverooId;
|
|
2176
|
+
constructor(integrationDeliverooId, options) {
|
|
2177
|
+
super(void 0, options);
|
|
2178
|
+
this.integrationDeliverooId = integrationDeliverooId;
|
|
2179
|
+
}
|
|
2180
|
+
getPath() {
|
|
2181
|
+
return `/integrations/deliveroo/${this.integrationDeliverooId}/client_log_requests`;
|
|
2182
|
+
}
|
|
2183
|
+
parseResponse(data, rawResponse) {
|
|
2184
|
+
const integrations = import_zod48.z.array(integrationClientLogRequestSchema).parse(data);
|
|
2185
|
+
return this.validateOutput({
|
|
2186
|
+
data: integrations,
|
|
2187
|
+
pagination: (0, import_sdk_js_global_types15.responseToPagination)(rawResponse)
|
|
2188
|
+
});
|
|
2189
|
+
}
|
|
2190
|
+
};
|
|
2191
|
+
|
|
2192
|
+
// src/requests/services/deliveroo/GetIntegrationDeliverooDetails.ts
|
|
2193
|
+
var import_sdk_js_core39 = require("@deliverart/sdk-js-core");
|
|
2194
|
+
var import_zod49 = require("zod");
|
|
2195
|
+
var getIntegrationDeliverooDetailsInputSchema = import_zod49.z.undefined();
|
|
2196
|
+
var getIntegrationDeliverooDetailsResponseSchema = integrationDeliverooDetailsSchema;
|
|
2197
|
+
var GetIntegrationDeliverooDetails = class extends import_sdk_js_core39.AbstractApiRequest {
|
|
2198
|
+
method = "GET";
|
|
2199
|
+
contentType = "application/json";
|
|
2200
|
+
accept = "application/json";
|
|
2201
|
+
inputSchema = getIntegrationDeliverooDetailsInputSchema;
|
|
2202
|
+
outputSchema = getIntegrationDeliverooDetailsResponseSchema;
|
|
2203
|
+
querySchema = void 0;
|
|
2204
|
+
headersSchema = void 0;
|
|
2205
|
+
integrationDeliverooId;
|
|
2206
|
+
constructor(integrationDeliverooId) {
|
|
2207
|
+
super();
|
|
2208
|
+
this.integrationDeliverooId = integrationDeliverooId;
|
|
2209
|
+
}
|
|
2210
|
+
getPath() {
|
|
2211
|
+
return `/integrations/deliveroo/${this.integrationDeliverooId}`;
|
|
2212
|
+
}
|
|
2213
|
+
};
|
|
2214
|
+
|
|
2215
|
+
// src/requests/services/deliveroo/GetIntegrationDeliverooList.ts
|
|
2216
|
+
var import_sdk_js_core40 = require("@deliverart/sdk-js-core");
|
|
2217
|
+
var import_sdk_js_global_types16 = require("@deliverart/sdk-js-global-types");
|
|
2218
|
+
var import_zod50 = require("zod");
|
|
2219
|
+
var getIntegrationDeliverooListQuerySchema = integrationsDeliverooQuerySchema.omit({
|
|
2220
|
+
service: true
|
|
2221
|
+
});
|
|
2222
|
+
var getIntegrationDeliverooListResponseSchema = (0, import_sdk_js_global_types16.createPaginatedSchema)(
|
|
2223
|
+
integrationDeliverooSchema
|
|
2224
|
+
);
|
|
2225
|
+
var getIntegrationDeliverooListInputSchema = import_zod50.z.undefined();
|
|
2226
|
+
var GetIntegrationDeliverooList = class extends import_sdk_js_core40.AbstractApiRequest {
|
|
2227
|
+
method = "GET";
|
|
2228
|
+
contentType = "application/json";
|
|
2229
|
+
accept = "application/json";
|
|
2230
|
+
inputSchema = getIntegrationDeliverooListInputSchema;
|
|
2231
|
+
outputSchema = getIntegrationDeliverooListResponseSchema;
|
|
2232
|
+
querySchema = getIntegrationDeliverooListQuerySchema;
|
|
2233
|
+
headersSchema = void 0;
|
|
2234
|
+
constructor(options) {
|
|
2235
|
+
super(void 0, options);
|
|
2236
|
+
}
|
|
2237
|
+
getPath() {
|
|
2238
|
+
return "/integrations/deliveroo";
|
|
2239
|
+
}
|
|
2240
|
+
parseResponse(data, rawResponse) {
|
|
2241
|
+
const integrations = import_zod50.z.array(integrationDeliverooSchema).parse(data);
|
|
2242
|
+
return this.validateOutput({
|
|
2243
|
+
data: integrations,
|
|
2244
|
+
pagination: (0, import_sdk_js_global_types16.responseToPagination)(rawResponse)
|
|
2245
|
+
});
|
|
2246
|
+
}
|
|
2247
|
+
};
|
|
2248
|
+
|
|
2249
|
+
// src/requests/services/deliveroo/GetIntegrationDeliverooMenuVersionDetails.ts
|
|
2250
|
+
var import_sdk_js_core41 = require("@deliverart/sdk-js-core");
|
|
2251
|
+
var import_zod51 = require("zod");
|
|
2252
|
+
var getIntegrationDeliverooMenuVersionDetailsInputSchema = import_zod51.z.undefined();
|
|
2253
|
+
var getIntegrationDeliverooMenuVersionDetailsResponseSchema = menuVersionDetailsSchema;
|
|
2254
|
+
var GetIntegrationDeliverooMenuVersionDetails = class extends import_sdk_js_core41.AbstractApiRequest {
|
|
2255
|
+
method = "GET";
|
|
2256
|
+
contentType = "application/json";
|
|
2257
|
+
accept = "application/json";
|
|
2258
|
+
inputSchema = getIntegrationDeliverooMenuVersionDetailsInputSchema;
|
|
2259
|
+
outputSchema = getIntegrationDeliverooMenuVersionDetailsResponseSchema;
|
|
2260
|
+
querySchema = void 0;
|
|
2261
|
+
headersSchema = void 0;
|
|
2262
|
+
integrationDeliverooId;
|
|
2263
|
+
versionId;
|
|
2264
|
+
constructor(integrationDeliverooId, versionId) {
|
|
2265
|
+
super();
|
|
2266
|
+
this.integrationDeliverooId = integrationDeliverooId;
|
|
2267
|
+
this.versionId = versionId;
|
|
2268
|
+
}
|
|
2269
|
+
getPath() {
|
|
2270
|
+
return `/integrations/deliveroo/${this.integrationDeliverooId}/menu_versions/${this.versionId}`;
|
|
2271
|
+
}
|
|
2272
|
+
};
|
|
2273
|
+
|
|
2274
|
+
// src/requests/services/deliveroo/GetIntegrationDeliverooMenuVersions.ts
|
|
2275
|
+
var import_sdk_js_core42 = require("@deliverart/sdk-js-core");
|
|
2276
|
+
var import_sdk_js_global_types17 = require("@deliverart/sdk-js-global-types");
|
|
2277
|
+
var import_zod52 = require("zod");
|
|
2278
|
+
var getIntegrationDeliverooMenuVersionsQuerySchema = import_zod52.z.object({
|
|
2279
|
+
page: import_zod52.z.number().optional()
|
|
2280
|
+
});
|
|
2281
|
+
var getIntegrationDeliverooMenuVersionsResponseSchema = (0, import_sdk_js_global_types17.createPaginatedSchema)(menuVersionSchema);
|
|
2282
|
+
var getIntegrationDeliverooMenuVersionsInputSchema = import_zod52.z.undefined();
|
|
2283
|
+
var GetIntegrationDeliverooMenuVersions = class extends import_sdk_js_core42.AbstractApiRequest {
|
|
2284
|
+
method = "GET";
|
|
2285
|
+
contentType = "application/json";
|
|
2286
|
+
accept = "application/json";
|
|
2287
|
+
inputSchema = getIntegrationDeliverooMenuVersionsInputSchema;
|
|
2288
|
+
outputSchema = getIntegrationDeliverooMenuVersionsResponseSchema;
|
|
2289
|
+
querySchema = getIntegrationDeliverooMenuVersionsQuerySchema;
|
|
2290
|
+
headersSchema = void 0;
|
|
2291
|
+
integrationDeliverooId;
|
|
2292
|
+
constructor(integrationDeliverooId, options) {
|
|
2293
|
+
super(void 0, options);
|
|
2294
|
+
this.integrationDeliverooId = integrationDeliverooId;
|
|
2295
|
+
}
|
|
2296
|
+
getPath() {
|
|
2297
|
+
return `/integrations/deliveroo/${this.integrationDeliverooId}/menu_versions`;
|
|
2298
|
+
}
|
|
2299
|
+
parseResponse(data, rawResponse) {
|
|
2300
|
+
const integrations = import_zod52.z.array(menuVersionSchema).parse(data);
|
|
2301
|
+
return this.validateOutput({
|
|
2302
|
+
data: integrations,
|
|
2303
|
+
pagination: (0, import_sdk_js_global_types17.responseToPagination)(rawResponse)
|
|
2304
|
+
});
|
|
2305
|
+
}
|
|
2306
|
+
};
|
|
2307
|
+
|
|
2308
|
+
// src/requests/services/deliveroo/GetIntegrationDeliverooSyncMenuProcessDetails.ts
|
|
2309
|
+
var import_sdk_js_core43 = require("@deliverart/sdk-js-core");
|
|
2310
|
+
var import_zod53 = require("zod");
|
|
2311
|
+
var getIntegrationDeliverooSyncMenuProcessDetailsInputSchema = import_zod53.z.undefined();
|
|
2312
|
+
var getIntegrationDeliverooSyncMenuProcessDetailsResponseSchema = integrationDeliverooSyncMenuProcessDetailsSchema;
|
|
2313
|
+
var GetIntegrationDeliverooSyncMenuProcessDetails = class extends import_sdk_js_core43.AbstractApiRequest {
|
|
2314
|
+
method = "GET";
|
|
2315
|
+
contentType = "application/json";
|
|
2316
|
+
accept = "application/json";
|
|
2317
|
+
inputSchema = getIntegrationDeliverooSyncMenuProcessDetailsInputSchema;
|
|
2318
|
+
outputSchema = getIntegrationDeliverooSyncMenuProcessDetailsResponseSchema;
|
|
2319
|
+
querySchema = void 0;
|
|
2320
|
+
headersSchema = void 0;
|
|
2321
|
+
integrationDeliverooId;
|
|
2322
|
+
processId;
|
|
2323
|
+
constructor(integrationDeliverooId, processId) {
|
|
2324
|
+
super();
|
|
2325
|
+
this.integrationDeliverooId = integrationDeliverooId;
|
|
2326
|
+
this.processId = processId;
|
|
2327
|
+
}
|
|
2328
|
+
getPath() {
|
|
2329
|
+
return `/integrations/deliveroo/${this.integrationDeliverooId}/sync_menu_processes/${this.processId}`;
|
|
2330
|
+
}
|
|
2331
|
+
};
|
|
2332
|
+
|
|
2333
|
+
// src/requests/services/deliveroo/GetIntegrationDeliverooSyncMenuProcesses.ts
|
|
2334
|
+
var import_sdk_js_core44 = require("@deliverart/sdk-js-core");
|
|
2335
|
+
var import_sdk_js_global_types18 = require("@deliverart/sdk-js-global-types");
|
|
2336
|
+
var import_zod54 = require("zod");
|
|
2337
|
+
var getIntegrationDeliverooSyncMenuProcessesQuerySchema = import_zod54.z.object({
|
|
2338
|
+
page: import_zod54.z.number().optional()
|
|
2339
|
+
});
|
|
2340
|
+
var getIntegrationDeliverooSyncMenuProcessesResponseSchema = (0, import_sdk_js_global_types18.createPaginatedSchema)(
|
|
2341
|
+
integrationDeliverooSyncMenuProcessSchema
|
|
2342
|
+
);
|
|
2343
|
+
var getIntegrationDeliverooSyncMenuProcessesInputSchema = import_zod54.z.undefined();
|
|
2344
|
+
var GetIntegrationDeliverooSyncMenuProcesses = class extends import_sdk_js_core44.AbstractApiRequest {
|
|
2345
|
+
method = "GET";
|
|
2346
|
+
contentType = "application/json";
|
|
2347
|
+
accept = "application/json";
|
|
2348
|
+
inputSchema = getIntegrationDeliverooSyncMenuProcessesInputSchema;
|
|
2349
|
+
outputSchema = getIntegrationDeliverooSyncMenuProcessesResponseSchema;
|
|
2350
|
+
querySchema = getIntegrationDeliverooSyncMenuProcessesQuerySchema;
|
|
2351
|
+
headersSchema = void 0;
|
|
2352
|
+
integrationDeliverooId;
|
|
2353
|
+
constructor(integrationDeliverooId, options) {
|
|
2354
|
+
super(void 0, options);
|
|
2355
|
+
this.integrationDeliverooId = integrationDeliverooId;
|
|
2356
|
+
}
|
|
2357
|
+
getPath() {
|
|
2358
|
+
return `/integrations/deliveroo/${this.integrationDeliverooId}/sync_menu_processes`;
|
|
2359
|
+
}
|
|
2360
|
+
parseResponse(data, rawResponse) {
|
|
2361
|
+
const integrations = import_zod54.z.array(integrationDeliverooSyncMenuProcessSchema).parse(data);
|
|
2362
|
+
return this.validateOutput({
|
|
2363
|
+
data: integrations,
|
|
2364
|
+
pagination: (0, import_sdk_js_global_types18.responseToPagination)(rawResponse)
|
|
2365
|
+
});
|
|
2366
|
+
}
|
|
2367
|
+
};
|
|
2368
|
+
|
|
2369
|
+
// src/requests/services/deliveroo/GetIntegrationDeliverooWebhookEventDetails.ts
|
|
2370
|
+
var import_sdk_js_core45 = require("@deliverart/sdk-js-core");
|
|
2371
|
+
var import_zod55 = require("zod");
|
|
2372
|
+
var getIntegrationDeliverooWebhookEventDetailsInputSchema = import_zod55.z.undefined();
|
|
2373
|
+
var getIntegrationDeliverooWebhookEventDetailsResponseSchema = integrationDeliverooWebhookEventDetailsSchema;
|
|
2374
|
+
var GetIntegrationDeliverooWebhookEventDetails = class extends import_sdk_js_core45.AbstractApiRequest {
|
|
2375
|
+
method = "GET";
|
|
2376
|
+
contentType = "application/json";
|
|
2377
|
+
accept = "application/json";
|
|
2378
|
+
inputSchema = getIntegrationDeliverooWebhookEventDetailsInputSchema;
|
|
2379
|
+
outputSchema = getIntegrationDeliverooWebhookEventDetailsResponseSchema;
|
|
2380
|
+
querySchema = void 0;
|
|
2381
|
+
headersSchema = void 0;
|
|
2382
|
+
integrationDeliverooId;
|
|
2383
|
+
eventId;
|
|
2384
|
+
constructor(integrationDeliverooId, eventId) {
|
|
2385
|
+
super();
|
|
2386
|
+
this.integrationDeliverooId = integrationDeliverooId;
|
|
2387
|
+
this.eventId = eventId;
|
|
2388
|
+
}
|
|
2389
|
+
getPath() {
|
|
2390
|
+
return `/integrations/deliveroo/${this.integrationDeliverooId}/webhook_events/${this.eventId}`;
|
|
2391
|
+
}
|
|
2392
|
+
};
|
|
2393
|
+
|
|
2394
|
+
// src/requests/services/deliveroo/GetIntegrationDeliverooWebhookEvents.ts
|
|
2395
|
+
var import_sdk_js_core46 = require("@deliverart/sdk-js-core");
|
|
2396
|
+
var import_sdk_js_global_types19 = require("@deliverart/sdk-js-global-types");
|
|
2397
|
+
var import_zod56 = require("zod");
|
|
2398
|
+
var getIntegrationDeliverooWebhookEventsQuerySchema = integrationDeliverooWebhookEventsQueryParamsSchema;
|
|
2399
|
+
var getIntegrationDeliverooWebhookEventsResponseSchema = (0, import_sdk_js_global_types19.createPaginatedSchema)(
|
|
2400
|
+
integrationDeliverooWebhookEventSchema
|
|
2401
|
+
);
|
|
2402
|
+
var getIntegrationDeliverooWebhookEventsInputSchema = import_zod56.z.undefined();
|
|
2403
|
+
var GetIntegrationDeliverooWebhookEvents = class extends import_sdk_js_core46.AbstractApiRequest {
|
|
2404
|
+
method = "GET";
|
|
2405
|
+
contentType = "application/json";
|
|
2406
|
+
accept = "application/json";
|
|
2407
|
+
inputSchema = getIntegrationDeliverooWebhookEventsInputSchema;
|
|
2408
|
+
outputSchema = getIntegrationDeliverooWebhookEventsResponseSchema;
|
|
2409
|
+
querySchema = getIntegrationDeliverooWebhookEventsQuerySchema;
|
|
2410
|
+
headersSchema = void 0;
|
|
2411
|
+
integrationDeliverooId;
|
|
2412
|
+
constructor(integrationDeliverooId, options) {
|
|
2413
|
+
super(void 0, options);
|
|
2414
|
+
this.integrationDeliverooId = integrationDeliverooId;
|
|
2415
|
+
}
|
|
2416
|
+
getPath() {
|
|
2417
|
+
return `/integrations/deliveroo/${this.integrationDeliverooId}/webhook_events`;
|
|
2418
|
+
}
|
|
2419
|
+
parseResponse(data, rawResponse) {
|
|
2420
|
+
const integrations = import_zod56.z.array(integrationDeliverooWebhookEventSchema).parse(data);
|
|
2421
|
+
return this.validateOutput({
|
|
2422
|
+
data: integrations,
|
|
2423
|
+
pagination: (0, import_sdk_js_global_types19.responseToPagination)(rawResponse)
|
|
2424
|
+
});
|
|
2425
|
+
}
|
|
2426
|
+
};
|
|
2427
|
+
|
|
2428
|
+
// src/requests/services/deliveroo/IntegrationDeliverooSyncMenu.ts
|
|
2429
|
+
var import_sdk_js_core47 = require("@deliverart/sdk-js-core");
|
|
2430
|
+
var import_zod57 = require("zod");
|
|
2431
|
+
var integrationDeliverooSyncMenuInputSchema = import_zod57.z.undefined();
|
|
2432
|
+
var integrationDeliverooSyncMenuResponseSchema = import_zod57.z.undefined();
|
|
2433
|
+
var IntegrationDeliverooSyncMenu = class extends import_sdk_js_core47.AbstractApiRequest {
|
|
2434
|
+
method = "POST";
|
|
2435
|
+
contentType = "application/json";
|
|
2436
|
+
accept = "application/json";
|
|
2437
|
+
inputSchema = integrationDeliverooSyncMenuInputSchema;
|
|
2438
|
+
outputSchema = integrationDeliverooSyncMenuResponseSchema;
|
|
2439
|
+
querySchema = void 0;
|
|
2440
|
+
headersSchema = void 0;
|
|
2441
|
+
integrationDeliverooId;
|
|
2442
|
+
constructor(integrationDeliverooId) {
|
|
2443
|
+
super();
|
|
2444
|
+
this.integrationDeliverooId = integrationDeliverooId;
|
|
2445
|
+
}
|
|
2446
|
+
getPath() {
|
|
2447
|
+
return `/integrations/deliveroo/${this.integrationDeliverooId}/sync/menu`;
|
|
2448
|
+
}
|
|
2449
|
+
};
|
|
2450
|
+
|
|
2451
|
+
// src/requests/services/deliveroo/IntegrationDeliverooSyncOpeningHours.ts
|
|
2452
|
+
var import_sdk_js_core48 = require("@deliverart/sdk-js-core");
|
|
2453
|
+
var import_zod58 = require("zod");
|
|
2454
|
+
var integrationDeliverooSyncOpeningHoursInputSchema = import_zod58.z.undefined();
|
|
2455
|
+
var integrationDeliverooSyncOpeningHoursResponseSchema = import_zod58.z.undefined();
|
|
2456
|
+
var IntegrationDeliverooSyncOpeningHours = class extends import_sdk_js_core48.AbstractApiRequest {
|
|
2457
|
+
method = "POST";
|
|
2458
|
+
contentType = "application/json";
|
|
2459
|
+
accept = "application/json";
|
|
2460
|
+
inputSchema = integrationDeliverooSyncOpeningHoursInputSchema;
|
|
2461
|
+
outputSchema = integrationDeliverooSyncOpeningHoursResponseSchema;
|
|
2462
|
+
querySchema = void 0;
|
|
2463
|
+
headersSchema = void 0;
|
|
2464
|
+
integrationDeliverooId;
|
|
2465
|
+
constructor(integrationDeliverooId) {
|
|
2466
|
+
super();
|
|
2467
|
+
this.integrationDeliverooId = integrationDeliverooId;
|
|
2468
|
+
}
|
|
2469
|
+
getPath() {
|
|
2470
|
+
return `/integrations/deliveroo/${this.integrationDeliverooId}/sync/opening_hours`;
|
|
2471
|
+
}
|
|
2472
|
+
};
|
|
2473
|
+
|
|
2474
|
+
// src/requests/services/deliveroo/UpdateIntegrationDeliveroo.ts
|
|
2475
|
+
var import_sdk_js_core49 = require("@deliverart/sdk-js-core");
|
|
2476
|
+
var updateIntegrationDeliverooInputSchema = integrationDeliverooEditableFieldsSchema;
|
|
2477
|
+
var updateIntegrationDeliverooResponseSchema = integrationDeliverooDetailsSchema;
|
|
2478
|
+
var UpdateIntegrationDeliveroo = class extends import_sdk_js_core49.AbstractApiRequest {
|
|
2479
|
+
method = "PATCH";
|
|
2480
|
+
contentType = "application/merge-patch+json";
|
|
2481
|
+
accept = "application/json";
|
|
2482
|
+
inputSchema = updateIntegrationDeliverooInputSchema;
|
|
2483
|
+
outputSchema = updateIntegrationDeliverooResponseSchema;
|
|
2484
|
+
querySchema = void 0;
|
|
2485
|
+
headersSchema = void 0;
|
|
2486
|
+
integrationDeliverooId;
|
|
2487
|
+
constructor(integrationDeliverooId, input) {
|
|
2488
|
+
super(input);
|
|
2489
|
+
this.integrationDeliverooId = integrationDeliverooId;
|
|
2490
|
+
}
|
|
2491
|
+
getPath() {
|
|
2492
|
+
return `/integrations/deliveroo/${this.integrationDeliverooId}`;
|
|
2493
|
+
}
|
|
2494
|
+
};
|
|
2495
|
+
|
|
2496
|
+
// src/requests/services/deliveroo/UpdateIntegrationDeliverooSiteStatus.ts
|
|
2497
|
+
var import_sdk_js_core50 = require("@deliverart/sdk-js-core");
|
|
2498
|
+
var import_zod59 = require("zod");
|
|
2499
|
+
var updateIntegrationDeliverooSiteStatusInputSchema = import_zod59.z.object({
|
|
2500
|
+
status: integrationDeliverooSiteStatusSchema
|
|
2501
|
+
});
|
|
2502
|
+
var updateIntegrationDeliverooSiteStatusResponseSchema = integrationDeliverooDetailsSchema;
|
|
2503
|
+
var UpdateIntegrationDeliverooSiteStatus = class extends import_sdk_js_core50.AbstractApiRequest {
|
|
2504
|
+
method = "POST";
|
|
2505
|
+
contentType = "application/json";
|
|
2506
|
+
accept = "application/json";
|
|
2507
|
+
inputSchema = updateIntegrationDeliverooSiteStatusInputSchema;
|
|
2508
|
+
outputSchema = updateIntegrationDeliverooSiteStatusResponseSchema;
|
|
2509
|
+
querySchema = void 0;
|
|
2510
|
+
headersSchema = void 0;
|
|
2511
|
+
integrationDeliverooId;
|
|
2512
|
+
constructor(integrationDeliverooId, input) {
|
|
2513
|
+
super(input);
|
|
2514
|
+
this.integrationDeliverooId = integrationDeliverooId;
|
|
2515
|
+
}
|
|
2516
|
+
getPath() {
|
|
2517
|
+
return `/integrations/deliveroo/${this.integrationDeliverooId}/site/status`;
|
|
2518
|
+
}
|
|
2519
|
+
};
|
|
2520
|
+
|
|
2521
|
+
// src/requests/services/glovo/CreateIntegrationGlovo.ts
|
|
2522
|
+
var import_sdk_js_core51 = require("@deliverart/sdk-js-core");
|
|
2523
|
+
var import_sdk_js_point_of_sale7 = require("@deliverart/sdk-js-point-of-sale");
|
|
2524
|
+
var createIntegrationGlovoInputSchema = integrationGlovoEditableFieldsSchema.extend({
|
|
2525
|
+
pointOfSale: import_sdk_js_point_of_sale7.pointOfSalePathSchema
|
|
2526
|
+
});
|
|
2527
|
+
var createIntegrationGlovoResponseSchema = integrationGlovoDetailsSchema;
|
|
2528
|
+
var CreateIntegrationGlovo = class extends import_sdk_js_core51.AbstractApiRequest {
|
|
2529
|
+
method = "POST";
|
|
2530
|
+
contentType = "application/json";
|
|
2531
|
+
accept = "application/json";
|
|
2532
|
+
inputSchema = createIntegrationGlovoInputSchema;
|
|
2533
|
+
outputSchema = createIntegrationGlovoResponseSchema;
|
|
2534
|
+
querySchema = void 0;
|
|
2535
|
+
headersSchema = void 0;
|
|
2536
|
+
constructor(input) {
|
|
2537
|
+
super(input);
|
|
2538
|
+
}
|
|
2539
|
+
getPath() {
|
|
2540
|
+
return "/integrations/glovo";
|
|
2541
|
+
}
|
|
2542
|
+
};
|
|
2543
|
+
|
|
2544
|
+
// src/requests/services/glovo/DeleteIntegrationGlovo.ts
|
|
2545
|
+
var import_sdk_js_core52 = require("@deliverart/sdk-js-core");
|
|
2546
|
+
var import_zod60 = require("zod");
|
|
2547
|
+
var deleteIntegrationGlovoInputSchema = import_zod60.z.undefined();
|
|
2548
|
+
var deleteIntegrationGlovoResponseSchema = import_zod60.z.undefined();
|
|
2549
|
+
var DeleteIntegrationGlovo = class extends import_sdk_js_core52.AbstractApiRequest {
|
|
2550
|
+
method = "DELETE";
|
|
2551
|
+
contentType = "application/json";
|
|
2552
|
+
accept = "application/json";
|
|
2553
|
+
inputSchema = deleteIntegrationGlovoInputSchema;
|
|
2554
|
+
outputSchema = deleteIntegrationGlovoResponseSchema;
|
|
2555
|
+
querySchema = void 0;
|
|
2556
|
+
headersSchema = void 0;
|
|
2557
|
+
integrationGlovoId;
|
|
2558
|
+
constructor(integrationGlovoId) {
|
|
2559
|
+
super();
|
|
2560
|
+
this.integrationGlovoId = integrationGlovoId;
|
|
2561
|
+
}
|
|
2562
|
+
getPath() {
|
|
2563
|
+
return `/integrations/glovo/${this.integrationGlovoId}`;
|
|
2564
|
+
}
|
|
2565
|
+
};
|
|
2566
|
+
|
|
2567
|
+
// src/requests/services/glovo/GetIntegrationGlovoClientLogRequestDetails.ts
|
|
2568
|
+
var import_sdk_js_core53 = require("@deliverart/sdk-js-core");
|
|
2569
|
+
var import_zod61 = require("zod");
|
|
2570
|
+
var getIntegrationGlovoClientLogRequestDetailsInputSchema = import_zod61.z.undefined();
|
|
2571
|
+
var getIntegrationGlovoClientLogRequestDetailsResponseSchema = integrationClientLogRequestDetailsSchema;
|
|
2572
|
+
var GetIntegrationGlovoClientLogRequestDetails = class extends import_sdk_js_core53.AbstractApiRequest {
|
|
2573
|
+
method = "GET";
|
|
2574
|
+
contentType = "application/json";
|
|
2575
|
+
accept = "application/json";
|
|
2576
|
+
inputSchema = getIntegrationGlovoClientLogRequestDetailsInputSchema;
|
|
2577
|
+
outputSchema = getIntegrationGlovoClientLogRequestDetailsResponseSchema;
|
|
2578
|
+
querySchema = void 0;
|
|
2579
|
+
headersSchema = void 0;
|
|
2580
|
+
integrationGlovoId;
|
|
2581
|
+
requestId;
|
|
2582
|
+
constructor(integrationGlovoId, requestId) {
|
|
2583
|
+
super();
|
|
2584
|
+
this.integrationGlovoId = integrationGlovoId;
|
|
2585
|
+
this.requestId = requestId;
|
|
2586
|
+
}
|
|
2587
|
+
getPath() {
|
|
2588
|
+
return `/integrations/glovo/${this.integrationGlovoId}/client_log_requests/${this.requestId}`;
|
|
2589
|
+
}
|
|
2590
|
+
};
|
|
2591
|
+
|
|
2592
|
+
// src/requests/services/glovo/GetIntegrationGlovoClientLogRequests.ts
|
|
2593
|
+
var import_sdk_js_core54 = require("@deliverart/sdk-js-core");
|
|
2594
|
+
var import_sdk_js_global_types20 = require("@deliverart/sdk-js-global-types");
|
|
2595
|
+
var import_zod62 = require("zod");
|
|
2596
|
+
var getIntegrationGlovoClientLogRequestsQuerySchema = clientLogRequestQuerySchema;
|
|
2597
|
+
var getIntegrationGlovoClientLogRequestsResponseSchema = (0, import_sdk_js_global_types20.createPaginatedSchema)(
|
|
2598
|
+
integrationClientLogRequestSchema
|
|
2599
|
+
);
|
|
2600
|
+
var getIntegrationGlovoClientLogRequestsInputSchema = import_zod62.z.undefined();
|
|
2601
|
+
var GetIntegrationGlovoClientLogRequests = class extends import_sdk_js_core54.AbstractApiRequest {
|
|
2602
|
+
method = "GET";
|
|
2603
|
+
contentType = "application/json";
|
|
2604
|
+
accept = "application/json";
|
|
2605
|
+
inputSchema = getIntegrationGlovoClientLogRequestsInputSchema;
|
|
2606
|
+
outputSchema = getIntegrationGlovoClientLogRequestsResponseSchema;
|
|
2607
|
+
querySchema = getIntegrationGlovoClientLogRequestsQuerySchema;
|
|
2608
|
+
headersSchema = void 0;
|
|
2609
|
+
integrationGlovoId;
|
|
2610
|
+
constructor(integrationGlovoId, options) {
|
|
2611
|
+
super(void 0, options);
|
|
2612
|
+
this.integrationGlovoId = integrationGlovoId;
|
|
2613
|
+
}
|
|
2614
|
+
getPath() {
|
|
2615
|
+
return `/integrations/glovo/${this.integrationGlovoId}/client_log_requests`;
|
|
2616
|
+
}
|
|
2617
|
+
parseResponse(data, rawResponse) {
|
|
2618
|
+
const integrations = import_zod62.z.array(integrationClientLogRequestSchema).parse(data);
|
|
2619
|
+
return this.validateOutput({
|
|
2620
|
+
data: integrations,
|
|
2621
|
+
pagination: (0, import_sdk_js_global_types20.responseToPagination)(rawResponse)
|
|
2622
|
+
});
|
|
2623
|
+
}
|
|
2624
|
+
};
|
|
2625
|
+
|
|
2626
|
+
// src/requests/services/glovo/GetIntegrationGlovoDetails.ts
|
|
2627
|
+
var import_sdk_js_core55 = require("@deliverart/sdk-js-core");
|
|
2628
|
+
var import_zod63 = require("zod");
|
|
2629
|
+
var getIntegrationGlovoDetailsInputSchema = import_zod63.z.undefined();
|
|
2630
|
+
var getIntegrationGlovoDetailsResponseSchema = integrationGlovoDetailsSchema;
|
|
2631
|
+
var GetIntegrationGlovoDetails = class extends import_sdk_js_core55.AbstractApiRequest {
|
|
2632
|
+
method = "GET";
|
|
2633
|
+
contentType = "application/json";
|
|
2634
|
+
accept = "application/json";
|
|
2635
|
+
inputSchema = getIntegrationGlovoDetailsInputSchema;
|
|
2636
|
+
outputSchema = getIntegrationGlovoDetailsResponseSchema;
|
|
2637
|
+
querySchema = void 0;
|
|
2638
|
+
headersSchema = void 0;
|
|
2639
|
+
integrationGlovoId;
|
|
2640
|
+
constructor(integrationGlovoId) {
|
|
2641
|
+
super();
|
|
2642
|
+
this.integrationGlovoId = integrationGlovoId;
|
|
2643
|
+
}
|
|
2644
|
+
getPath() {
|
|
2645
|
+
return `/integrations/glovo/${this.integrationGlovoId}`;
|
|
2646
|
+
}
|
|
2647
|
+
};
|
|
2648
|
+
|
|
2649
|
+
// src/requests/services/glovo/GetIntegrationGlovoList.ts
|
|
2650
|
+
var import_sdk_js_core56 = require("@deliverart/sdk-js-core");
|
|
2651
|
+
var import_sdk_js_global_types21 = require("@deliverart/sdk-js-global-types");
|
|
2652
|
+
var import_zod64 = require("zod");
|
|
2653
|
+
var getIntegrationGlovoListQuerySchema = integrationsGlovoQuerySchema.omit({
|
|
2654
|
+
service: true
|
|
2655
|
+
});
|
|
2656
|
+
var getIntegrationGlovoListResponseSchema = (0, import_sdk_js_global_types21.createPaginatedSchema)(integrationGlovoSchema);
|
|
2657
|
+
var getIntegrationGlovoListInputSchema = import_zod64.z.undefined();
|
|
2658
|
+
var GetIntegrationGlovoList = class extends import_sdk_js_core56.AbstractApiRequest {
|
|
2659
|
+
method = "GET";
|
|
2660
|
+
contentType = "application/json";
|
|
2661
|
+
accept = "application/json";
|
|
2662
|
+
inputSchema = getIntegrationGlovoListInputSchema;
|
|
2663
|
+
outputSchema = getIntegrationGlovoListResponseSchema;
|
|
2664
|
+
querySchema = getIntegrationGlovoListQuerySchema;
|
|
2665
|
+
headersSchema = void 0;
|
|
2666
|
+
constructor(options) {
|
|
2667
|
+
super(void 0, options);
|
|
2668
|
+
}
|
|
2669
|
+
getPath() {
|
|
2670
|
+
return "/integrations/glovo";
|
|
2671
|
+
}
|
|
2672
|
+
parseResponse(data, rawResponse) {
|
|
2673
|
+
const integrations = import_zod64.z.array(integrationGlovoSchema).parse(data);
|
|
2674
|
+
return this.validateOutput({
|
|
2675
|
+
data: integrations,
|
|
2676
|
+
pagination: (0, import_sdk_js_global_types21.responseToPagination)(rawResponse)
|
|
2677
|
+
});
|
|
2678
|
+
}
|
|
2679
|
+
};
|
|
2680
|
+
|
|
2681
|
+
// src/requests/services/glovo/GetIntegrationGlovoMenuUpdateDetails.ts
|
|
2682
|
+
var import_sdk_js_core57 = require("@deliverart/sdk-js-core");
|
|
2683
|
+
var import_zod65 = require("zod");
|
|
2684
|
+
var getIntegrationGlovoMenuUpdateDetailsInputSchema = import_zod65.z.undefined();
|
|
2685
|
+
var getIntegrationGlovoMenuUpdateDetailsResponseSchema = integrationGlovoMenuUpdateDetailsSchema;
|
|
2686
|
+
var GetIntegrationGlovoMenuUpdateDetails = class extends import_sdk_js_core57.AbstractApiRequest {
|
|
2687
|
+
method = "GET";
|
|
2688
|
+
contentType = "application/json";
|
|
2689
|
+
accept = "application/json";
|
|
2690
|
+
inputSchema = getIntegrationGlovoMenuUpdateDetailsInputSchema;
|
|
2691
|
+
outputSchema = getIntegrationGlovoMenuUpdateDetailsResponseSchema;
|
|
2692
|
+
querySchema = void 0;
|
|
2693
|
+
headersSchema = void 0;
|
|
2694
|
+
integrationGlovoId;
|
|
2695
|
+
processId;
|
|
2696
|
+
constructor(integrationGlovoId, processId) {
|
|
2697
|
+
super();
|
|
2698
|
+
this.integrationGlovoId = integrationGlovoId;
|
|
2699
|
+
this.processId = processId;
|
|
2700
|
+
}
|
|
2701
|
+
getPath() {
|
|
2702
|
+
return `/integrations/glovo/${this.integrationGlovoId}/menu_updates/${this.processId}`;
|
|
2703
|
+
}
|
|
2704
|
+
};
|
|
2705
|
+
|
|
2706
|
+
// src/requests/services/glovo/GetIntegrationGlovoMenuUpdates.ts
|
|
2707
|
+
var import_sdk_js_core58 = require("@deliverart/sdk-js-core");
|
|
2708
|
+
var import_sdk_js_global_types22 = require("@deliverart/sdk-js-global-types");
|
|
2709
|
+
var import_zod66 = require("zod");
|
|
2710
|
+
var getIntegrationGlovoMenuUpdatesQuerySchema = import_zod66.z.object({
|
|
2711
|
+
page: import_zod66.z.number().optional()
|
|
2712
|
+
});
|
|
2713
|
+
var getIntegrationGlovoMenuUpdatesResponseSchema = (0, import_sdk_js_global_types22.createPaginatedSchema)(
|
|
2714
|
+
integrationGlovoMenuUpdateSchema
|
|
2715
|
+
);
|
|
2716
|
+
var getIntegrationGlovoMenuUpdatesInputSchema = import_zod66.z.undefined();
|
|
2717
|
+
var GetIntegrationGlovoMenuUpdates = class extends import_sdk_js_core58.AbstractApiRequest {
|
|
2718
|
+
method = "GET";
|
|
2719
|
+
contentType = "application/json";
|
|
2720
|
+
accept = "application/json";
|
|
2721
|
+
inputSchema = getIntegrationGlovoMenuUpdatesInputSchema;
|
|
2722
|
+
outputSchema = getIntegrationGlovoMenuUpdatesResponseSchema;
|
|
2723
|
+
querySchema = getIntegrationGlovoMenuUpdatesQuerySchema;
|
|
2724
|
+
headersSchema = void 0;
|
|
2725
|
+
integrationId;
|
|
2726
|
+
constructor(integrationId, options) {
|
|
2727
|
+
super(void 0, options);
|
|
2728
|
+
this.integrationId = integrationId;
|
|
2729
|
+
}
|
|
2730
|
+
getPath() {
|
|
2731
|
+
return `/integrations/glovo/${this.integrationId}/menu_updates`;
|
|
2732
|
+
}
|
|
2733
|
+
parseResponse(data, rawResponse) {
|
|
2734
|
+
const integrations = import_zod66.z.array(integrationGlovoMenuUpdateSchema).parse(data);
|
|
2735
|
+
return this.validateOutput({
|
|
2736
|
+
data: integrations,
|
|
2737
|
+
pagination: (0, import_sdk_js_global_types22.responseToPagination)(rawResponse)
|
|
2738
|
+
});
|
|
2739
|
+
}
|
|
2740
|
+
};
|
|
2741
|
+
|
|
2742
|
+
// src/requests/services/glovo/GetIntegrationGlovoMenuVersionDetails.ts
|
|
2743
|
+
var import_sdk_js_core59 = require("@deliverart/sdk-js-core");
|
|
2744
|
+
var import_zod67 = require("zod");
|
|
2745
|
+
var getIntegrationGlovoMenuVersionDetailsInputSchema = import_zod67.z.undefined();
|
|
2746
|
+
var getIntegrationGlovoMenuVersionDetailsResponseSchema = menuVersionDetailsSchema;
|
|
2747
|
+
var GetIntegrationGlovoMenuVersionDetails = class extends import_sdk_js_core59.AbstractApiRequest {
|
|
2748
|
+
method = "GET";
|
|
2749
|
+
contentType = "application/json";
|
|
2750
|
+
accept = "application/json";
|
|
2751
|
+
inputSchema = getIntegrationGlovoMenuVersionDetailsInputSchema;
|
|
2752
|
+
outputSchema = getIntegrationGlovoMenuVersionDetailsResponseSchema;
|
|
2753
|
+
querySchema = void 0;
|
|
2754
|
+
headersSchema = void 0;
|
|
2755
|
+
integrationGlovoId;
|
|
2756
|
+
versionId;
|
|
2757
|
+
constructor(integrationGlovoId, versionId) {
|
|
2758
|
+
super();
|
|
2759
|
+
this.integrationGlovoId = integrationGlovoId;
|
|
2760
|
+
this.versionId = versionId;
|
|
2761
|
+
}
|
|
2762
|
+
getPath() {
|
|
2763
|
+
return `/integrations/glovo/${this.integrationGlovoId}/menu_versions/${this.versionId}`;
|
|
2764
|
+
}
|
|
2765
|
+
};
|
|
2766
|
+
|
|
2767
|
+
// src/requests/services/glovo/GetIntegrationGlovoMenuVersions.ts
|
|
2768
|
+
var import_sdk_js_core60 = require("@deliverart/sdk-js-core");
|
|
2769
|
+
var import_sdk_js_global_types23 = require("@deliverart/sdk-js-global-types");
|
|
2770
|
+
var import_zod68 = require("zod");
|
|
2771
|
+
var getIntegrationGlovoMenuVersionsQuerySchema = import_zod68.z.object({
|
|
2772
|
+
page: import_zod68.z.number().optional()
|
|
2773
|
+
});
|
|
2774
|
+
var getIntegrationGlovoMenuVersionsResponseSchema = (0, import_sdk_js_global_types23.createPaginatedSchema)(menuVersionSchema);
|
|
2775
|
+
var getIntegrationGlovoMenuVersionsInputSchema = import_zod68.z.undefined();
|
|
2776
|
+
var GetIntegrationGlovoMenuVersions = class extends import_sdk_js_core60.AbstractApiRequest {
|
|
2777
|
+
method = "GET";
|
|
2778
|
+
contentType = "application/json";
|
|
2779
|
+
accept = "application/json";
|
|
2780
|
+
inputSchema = getIntegrationGlovoMenuVersionsInputSchema;
|
|
2781
|
+
outputSchema = getIntegrationGlovoMenuVersionsResponseSchema;
|
|
2782
|
+
querySchema = getIntegrationGlovoMenuVersionsQuerySchema;
|
|
2783
|
+
headersSchema = void 0;
|
|
2784
|
+
integrationGlovoId;
|
|
2785
|
+
constructor(integrationGlovoId, options) {
|
|
2786
|
+
super(void 0, options);
|
|
2787
|
+
this.integrationGlovoId = integrationGlovoId;
|
|
2788
|
+
}
|
|
2789
|
+
getPath() {
|
|
2790
|
+
return `/integrations/glovo/${this.integrationGlovoId}/menu_versions`;
|
|
2791
|
+
}
|
|
2792
|
+
parseResponse(data, rawResponse) {
|
|
2793
|
+
const integrations = import_zod68.z.array(menuVersionSchema).parse(data);
|
|
2794
|
+
return this.validateOutput({
|
|
2795
|
+
data: integrations,
|
|
2796
|
+
pagination: (0, import_sdk_js_global_types23.responseToPagination)(rawResponse)
|
|
2797
|
+
});
|
|
2798
|
+
}
|
|
2799
|
+
};
|
|
2800
|
+
|
|
2801
|
+
// src/requests/services/glovo/GetIntegrationGlovoWebhookEventDetails.ts
|
|
2802
|
+
var import_sdk_js_core61 = require("@deliverart/sdk-js-core");
|
|
2803
|
+
var import_zod69 = require("zod");
|
|
2804
|
+
var getIntegrationGlovoWebhookEventDetailsInputSchema = import_zod69.z.undefined();
|
|
2805
|
+
var getIntegrationGlovoWebhookEventDetailsResponseSchema = integrationGlovoWebhookEventDetailsSchema;
|
|
2806
|
+
var GetIntegrationGlovoWebhookEventDetails = class extends import_sdk_js_core61.AbstractApiRequest {
|
|
2807
|
+
method = "GET";
|
|
2808
|
+
contentType = "application/json";
|
|
2809
|
+
accept = "application/json";
|
|
2810
|
+
inputSchema = getIntegrationGlovoWebhookEventDetailsInputSchema;
|
|
2811
|
+
outputSchema = getIntegrationGlovoWebhookEventDetailsResponseSchema;
|
|
2812
|
+
querySchema = void 0;
|
|
2813
|
+
headersSchema = void 0;
|
|
2814
|
+
integrationGlovoId;
|
|
2815
|
+
eventId;
|
|
2816
|
+
constructor(integrationGlovoId, eventId) {
|
|
2817
|
+
super();
|
|
2818
|
+
this.integrationGlovoId = integrationGlovoId;
|
|
2819
|
+
this.eventId = eventId;
|
|
2820
|
+
}
|
|
2821
|
+
getPath() {
|
|
2822
|
+
return `/integrations/glovo/${this.integrationGlovoId}/webhook_events/${this.eventId}`;
|
|
2823
|
+
}
|
|
2824
|
+
};
|
|
2825
|
+
|
|
2826
|
+
// src/requests/services/glovo/GetIntegrationGlovoWebhookEvents.ts
|
|
2827
|
+
var import_sdk_js_core62 = require("@deliverart/sdk-js-core");
|
|
2828
|
+
var import_sdk_js_global_types24 = require("@deliverart/sdk-js-global-types");
|
|
2829
|
+
var import_zod70 = require("zod");
|
|
2830
|
+
var getIntegrationGlovoWebhookEventsQuerySchema = integrationGlovoWebhookEventsQueryParamsSchema;
|
|
2831
|
+
var getIntegrationGlovoWebhookEventsResponseSchema = (0, import_sdk_js_global_types24.createPaginatedSchema)(
|
|
2832
|
+
integrationGlovoWebhookEventSchema
|
|
2833
|
+
);
|
|
2834
|
+
var getIntegrationGlovoWebhookEventsInputSchema = import_zod70.z.undefined();
|
|
2835
|
+
var GetIntegrationGlovoWebhookEvents = class extends import_sdk_js_core62.AbstractApiRequest {
|
|
2836
|
+
method = "GET";
|
|
2837
|
+
contentType = "application/json";
|
|
2838
|
+
accept = "application/json";
|
|
2839
|
+
inputSchema = getIntegrationGlovoWebhookEventsInputSchema;
|
|
2840
|
+
outputSchema = getIntegrationGlovoWebhookEventsResponseSchema;
|
|
2841
|
+
querySchema = getIntegrationGlovoWebhookEventsQuerySchema;
|
|
2842
|
+
headersSchema = void 0;
|
|
2843
|
+
integrationGlovoId;
|
|
2844
|
+
constructor(integrationGlovoId, options) {
|
|
2845
|
+
super(void 0, options);
|
|
2846
|
+
this.integrationGlovoId = integrationGlovoId;
|
|
2847
|
+
}
|
|
2848
|
+
getPath() {
|
|
2849
|
+
return `/integrations/glovo/${this.integrationGlovoId}/webhook_events`;
|
|
2850
|
+
}
|
|
2851
|
+
parseResponse(data, rawResponse) {
|
|
2852
|
+
const integrations = import_zod70.z.array(integrationGlovoWebhookEventSchema).parse(data);
|
|
2853
|
+
return this.validateOutput({
|
|
2854
|
+
data: integrations,
|
|
2855
|
+
pagination: (0, import_sdk_js_global_types24.responseToPagination)(rawResponse)
|
|
2856
|
+
});
|
|
2857
|
+
}
|
|
2858
|
+
};
|
|
2859
|
+
|
|
2860
|
+
// src/requests/services/glovo/IntegrationGlovoSyncMenu.ts
|
|
2861
|
+
var import_sdk_js_core63 = require("@deliverart/sdk-js-core");
|
|
2862
|
+
var import_zod71 = require("zod");
|
|
2863
|
+
var integrationGlovoSyncMenuInputSchema = import_zod71.z.undefined();
|
|
2864
|
+
var integrationGlovoSyncMenuResponseSchema = import_zod71.z.undefined();
|
|
2865
|
+
var IntegrationGlovoSyncMenu = class extends import_sdk_js_core63.AbstractApiRequest {
|
|
2866
|
+
method = "POST";
|
|
2867
|
+
contentType = "application/json";
|
|
2868
|
+
accept = "application/json";
|
|
2869
|
+
inputSchema = integrationGlovoSyncMenuInputSchema;
|
|
2870
|
+
outputSchema = integrationGlovoSyncMenuResponseSchema;
|
|
2871
|
+
querySchema = void 0;
|
|
2872
|
+
headersSchema = void 0;
|
|
2873
|
+
integrationGlovoId;
|
|
2874
|
+
constructor(integrationGlovoId) {
|
|
2875
|
+
super();
|
|
2876
|
+
this.integrationGlovoId = integrationGlovoId;
|
|
2877
|
+
}
|
|
2878
|
+
getPath() {
|
|
2879
|
+
return `/integrations/glovo/${this.integrationGlovoId}/sync/menu`;
|
|
2880
|
+
}
|
|
2881
|
+
};
|
|
2882
|
+
|
|
2883
|
+
// src/requests/services/glovo/UpdateIntegrationGlovo.ts
|
|
2884
|
+
var import_sdk_js_core64 = require("@deliverart/sdk-js-core");
|
|
2885
|
+
var updateIntegrationGlovoInputSchema = integrationGlovoEditableFieldsSchema;
|
|
2886
|
+
var updateIntegrationGlovoResponseSchema = integrationGlovoDetailsSchema;
|
|
2887
|
+
var UpdateIntegrationGlovo = class extends import_sdk_js_core64.AbstractApiRequest {
|
|
2888
|
+
method = "PATCH";
|
|
2889
|
+
contentType = "application/merge-patch+json";
|
|
2890
|
+
accept = "application/json";
|
|
2891
|
+
inputSchema = updateIntegrationGlovoInputSchema;
|
|
2892
|
+
outputSchema = updateIntegrationGlovoResponseSchema;
|
|
2893
|
+
querySchema = void 0;
|
|
2894
|
+
headersSchema = void 0;
|
|
2895
|
+
integrationGlovoId;
|
|
2896
|
+
constructor(integrationGlovoId, input) {
|
|
2897
|
+
super(input);
|
|
2898
|
+
this.integrationGlovoId = integrationGlovoId;
|
|
2899
|
+
}
|
|
2900
|
+
getPath() {
|
|
2901
|
+
return `/integrations/glovo/${this.integrationGlovoId}`;
|
|
2902
|
+
}
|
|
2903
|
+
};
|
|
2904
|
+
|
|
2905
|
+
// src/requests/services/glovo/UpdateIntegrationGlovoStoreStatus.ts
|
|
2906
|
+
var import_sdk_js_core65 = require("@deliverart/sdk-js-core");
|
|
2907
|
+
var import_zod72 = require("zod");
|
|
2908
|
+
var updateIntegrationGlovoStoreStatusInputSchema = import_zod72.z.object({
|
|
2909
|
+
status: integrationGlovoStoreStatusSchema
|
|
2910
|
+
});
|
|
2911
|
+
var updateIntegrationGlovoStoreStatusResponseSchema = integrationGlovoDetailsSchema;
|
|
2912
|
+
var UpdateIntegrationGlovoStoreStatus = class extends import_sdk_js_core65.AbstractApiRequest {
|
|
2913
|
+
method = "POST";
|
|
2914
|
+
contentType = "application/json";
|
|
2915
|
+
accept = "application/json";
|
|
2916
|
+
inputSchema = updateIntegrationGlovoStoreStatusInputSchema;
|
|
2917
|
+
outputSchema = updateIntegrationGlovoStoreStatusResponseSchema;
|
|
2918
|
+
querySchema = void 0;
|
|
2919
|
+
headersSchema = void 0;
|
|
2920
|
+
integrationGlovoId;
|
|
2921
|
+
constructor(integrationGlovoId, input) {
|
|
2922
|
+
super(input);
|
|
2923
|
+
this.integrationGlovoId = integrationGlovoId;
|
|
2924
|
+
}
|
|
2925
|
+
getPath() {
|
|
2926
|
+
return `/integrations/glovo/${this.integrationGlovoId}/store/status`;
|
|
2927
|
+
}
|
|
2928
|
+
};
|
|
2929
|
+
|
|
2930
|
+
// src/requests/services/justeat/CreateIntegrationJustEat.ts
|
|
2931
|
+
var import_sdk_js_core66 = require("@deliverart/sdk-js-core");
|
|
2932
|
+
var import_sdk_js_point_of_sale8 = require("@deliverart/sdk-js-point-of-sale");
|
|
2933
|
+
var createIntegrationJustEatInputSchema = integrationJustEatEditableFieldsSchema.extend({
|
|
2934
|
+
pointOfSale: import_sdk_js_point_of_sale8.pointOfSalePathSchema
|
|
2935
|
+
});
|
|
2936
|
+
var createIntegrationJustEatResponseSchema = integrationJustEatDetailsSchema;
|
|
2937
|
+
var CreateIntegrationJustEat = class extends import_sdk_js_core66.AbstractApiRequest {
|
|
2938
|
+
method = "POST";
|
|
2939
|
+
contentType = "application/json";
|
|
2940
|
+
accept = "application/json";
|
|
2941
|
+
inputSchema = createIntegrationJustEatInputSchema;
|
|
2942
|
+
outputSchema = createIntegrationJustEatResponseSchema;
|
|
2943
|
+
querySchema = void 0;
|
|
2944
|
+
headersSchema = void 0;
|
|
2945
|
+
constructor(input) {
|
|
2946
|
+
super(input);
|
|
2947
|
+
}
|
|
2948
|
+
getPath() {
|
|
2949
|
+
return "/integrations/justeat";
|
|
2950
|
+
}
|
|
2951
|
+
};
|
|
2952
|
+
|
|
2953
|
+
// src/requests/services/justeat/DeleteIntegrationJustEat.ts
|
|
2954
|
+
var import_sdk_js_core67 = require("@deliverart/sdk-js-core");
|
|
2955
|
+
var import_zod73 = require("zod");
|
|
2956
|
+
var deleteIntegrationJustEatInputSchema = import_zod73.z.undefined();
|
|
2957
|
+
var deleteIntegrationJustEatResponseSchema = import_zod73.z.undefined();
|
|
2958
|
+
var DeleteIntegrationJustEat = class extends import_sdk_js_core67.AbstractApiRequest {
|
|
2959
|
+
method = "DELETE";
|
|
2960
|
+
contentType = "application/json";
|
|
2961
|
+
accept = "application/json";
|
|
2962
|
+
inputSchema = deleteIntegrationJustEatInputSchema;
|
|
2963
|
+
outputSchema = deleteIntegrationJustEatResponseSchema;
|
|
2964
|
+
querySchema = void 0;
|
|
2965
|
+
headersSchema = void 0;
|
|
2966
|
+
integrationJustEatId;
|
|
2967
|
+
constructor(integrationJustEatId) {
|
|
2968
|
+
super();
|
|
2969
|
+
this.integrationJustEatId = integrationJustEatId;
|
|
2970
|
+
}
|
|
2971
|
+
getPath() {
|
|
2972
|
+
return `/integrations/justeat/${this.integrationJustEatId}`;
|
|
2973
|
+
}
|
|
2974
|
+
};
|
|
2975
|
+
|
|
2976
|
+
// src/requests/services/justeat/GetIntegrationJustEatClientLogRequestDetails.ts
|
|
2977
|
+
var import_sdk_js_core68 = require("@deliverart/sdk-js-core");
|
|
2978
|
+
var import_zod74 = require("zod");
|
|
2979
|
+
var getIntegrationJustEatClientLogRequestDetailsInputSchema = import_zod74.z.undefined();
|
|
2980
|
+
var getIntegrationJustEatClientLogRequestDetailsResponseSchema = integrationClientLogRequestDetailsSchema;
|
|
2981
|
+
var GetIntegrationJustEatClientLogRequestDetails = class extends import_sdk_js_core68.AbstractApiRequest {
|
|
2982
|
+
method = "GET";
|
|
2983
|
+
contentType = "application/json";
|
|
2984
|
+
accept = "application/json";
|
|
2985
|
+
inputSchema = getIntegrationJustEatClientLogRequestDetailsInputSchema;
|
|
2986
|
+
outputSchema = getIntegrationJustEatClientLogRequestDetailsResponseSchema;
|
|
2987
|
+
querySchema = void 0;
|
|
2988
|
+
headersSchema = void 0;
|
|
2989
|
+
integrationJustEatId;
|
|
2990
|
+
requestId;
|
|
2991
|
+
constructor(integrationJustEatId, requestId) {
|
|
2992
|
+
super();
|
|
2993
|
+
this.integrationJustEatId = integrationJustEatId;
|
|
2994
|
+
this.requestId = requestId;
|
|
2995
|
+
}
|
|
2996
|
+
getPath() {
|
|
2997
|
+
return `/integrations/justeat/${this.integrationJustEatId}/client_log_requests/${this.requestId}`;
|
|
2998
|
+
}
|
|
2999
|
+
};
|
|
3000
|
+
|
|
3001
|
+
// src/requests/services/justeat/GetIntegrationJustEatClientLogRequests.ts
|
|
3002
|
+
var import_sdk_js_core69 = require("@deliverart/sdk-js-core");
|
|
3003
|
+
var import_sdk_js_global_types25 = require("@deliverart/sdk-js-global-types");
|
|
3004
|
+
var import_zod75 = require("zod");
|
|
3005
|
+
var getIntegrationJustEatClientLogRequestsQuerySchema = clientLogRequestQuerySchema;
|
|
3006
|
+
var getIntegrationJustEatClientLogRequestsResponseSchema = (0, import_sdk_js_global_types25.createPaginatedSchema)(
|
|
3007
|
+
integrationClientLogRequestSchema
|
|
3008
|
+
);
|
|
3009
|
+
var getIntegrationJustEatClientLogRequestsInputSchema = import_zod75.z.undefined();
|
|
3010
|
+
var GetIntegrationJustEatClientLogRequests = class extends import_sdk_js_core69.AbstractApiRequest {
|
|
3011
|
+
method = "GET";
|
|
3012
|
+
contentType = "application/json";
|
|
3013
|
+
accept = "application/json";
|
|
3014
|
+
inputSchema = getIntegrationJustEatClientLogRequestsInputSchema;
|
|
3015
|
+
outputSchema = getIntegrationJustEatClientLogRequestsResponseSchema;
|
|
3016
|
+
querySchema = getIntegrationJustEatClientLogRequestsQuerySchema;
|
|
3017
|
+
headersSchema = void 0;
|
|
3018
|
+
integrationJustEatId;
|
|
3019
|
+
constructor(integrationJustEatId, options) {
|
|
3020
|
+
super(void 0, options);
|
|
3021
|
+
this.integrationJustEatId = integrationJustEatId;
|
|
3022
|
+
}
|
|
3023
|
+
getPath() {
|
|
3024
|
+
return `/integrations/justeat/${this.integrationJustEatId}/client_log_requests`;
|
|
3025
|
+
}
|
|
3026
|
+
parseResponse(data, rawResponse) {
|
|
3027
|
+
const integrations = import_zod75.z.array(integrationClientLogRequestSchema).parse(data);
|
|
3028
|
+
return this.validateOutput({
|
|
3029
|
+
data: integrations,
|
|
3030
|
+
pagination: (0, import_sdk_js_global_types25.responseToPagination)(rawResponse)
|
|
3031
|
+
});
|
|
3032
|
+
}
|
|
3033
|
+
};
|
|
3034
|
+
|
|
3035
|
+
// src/requests/services/justeat/GetIntegrationJustEatDetails.ts
|
|
3036
|
+
var import_sdk_js_core70 = require("@deliverart/sdk-js-core");
|
|
3037
|
+
var import_zod76 = require("zod");
|
|
3038
|
+
var getIntegrationJustEatDetailsInputSchema = import_zod76.z.undefined();
|
|
3039
|
+
var getIntegrationJustEatDetailsResponseSchema = integrationJustEatDetailsSchema;
|
|
3040
|
+
var GetIntegrationJustEatDetails = class extends import_sdk_js_core70.AbstractApiRequest {
|
|
3041
|
+
method = "GET";
|
|
3042
|
+
contentType = "application/json";
|
|
3043
|
+
accept = "application/json";
|
|
3044
|
+
inputSchema = getIntegrationJustEatDetailsInputSchema;
|
|
3045
|
+
outputSchema = getIntegrationJustEatDetailsResponseSchema;
|
|
3046
|
+
querySchema = void 0;
|
|
3047
|
+
headersSchema = void 0;
|
|
3048
|
+
integrationJustEatId;
|
|
3049
|
+
constructor(integrationJustEatId) {
|
|
3050
|
+
super();
|
|
3051
|
+
this.integrationJustEatId = integrationJustEatId;
|
|
3052
|
+
}
|
|
3053
|
+
getPath() {
|
|
3054
|
+
return `/integrations/justeat/${this.integrationJustEatId}`;
|
|
3055
|
+
}
|
|
3056
|
+
};
|
|
3057
|
+
|
|
3058
|
+
// src/requests/services/justeat/GetIntegrationJustEatList.ts
|
|
3059
|
+
var import_sdk_js_core71 = require("@deliverart/sdk-js-core");
|
|
3060
|
+
var import_sdk_js_global_types26 = require("@deliverart/sdk-js-global-types");
|
|
3061
|
+
var import_zod77 = require("zod");
|
|
3062
|
+
var getIntegrationJustEatListQuerySchema = integrationsJustEatQuerySchema.omit({
|
|
3063
|
+
service: true
|
|
3064
|
+
});
|
|
3065
|
+
var getIntegrationJustEatListResponseSchema = (0, import_sdk_js_global_types26.createPaginatedSchema)(integrationJustEatSchema);
|
|
3066
|
+
var getIntegrationJustEatListInputSchema = import_zod77.z.undefined();
|
|
3067
|
+
var GetIntegrationJustEatList = class extends import_sdk_js_core71.AbstractApiRequest {
|
|
3068
|
+
method = "GET";
|
|
3069
|
+
contentType = "application/json";
|
|
3070
|
+
accept = "application/json";
|
|
3071
|
+
inputSchema = getIntegrationJustEatListInputSchema;
|
|
3072
|
+
outputSchema = getIntegrationJustEatListResponseSchema;
|
|
3073
|
+
querySchema = getIntegrationJustEatListQuerySchema;
|
|
3074
|
+
headersSchema = void 0;
|
|
3075
|
+
constructor(options) {
|
|
3076
|
+
super(void 0, options);
|
|
3077
|
+
}
|
|
3078
|
+
getPath() {
|
|
3079
|
+
return "/integrations/justeat";
|
|
3080
|
+
}
|
|
3081
|
+
parseResponse(data, rawResponse) {
|
|
3082
|
+
const integrations = import_zod77.z.array(integrationJustEatSchema).parse(data);
|
|
3083
|
+
return this.validateOutput({
|
|
3084
|
+
data: integrations,
|
|
3085
|
+
pagination: (0, import_sdk_js_global_types26.responseToPagination)(rawResponse)
|
|
3086
|
+
});
|
|
3087
|
+
}
|
|
3088
|
+
};
|
|
3089
|
+
|
|
3090
|
+
// src/requests/services/justeat/GetIntegrationJustEatMenuVersionDetails.ts
|
|
3091
|
+
var import_sdk_js_core72 = require("@deliverart/sdk-js-core");
|
|
3092
|
+
var import_zod78 = require("zod");
|
|
3093
|
+
var getIntegrationJustEatMenuVersionDetailsInputSchema = import_zod78.z.undefined();
|
|
3094
|
+
var getIntegrationJustEatMenuVersionDetailsResponseSchema = menuVersionDetailsSchema;
|
|
3095
|
+
var GetIntegrationJustEatMenuVersionDetails = class extends import_sdk_js_core72.AbstractApiRequest {
|
|
3096
|
+
method = "GET";
|
|
3097
|
+
contentType = "application/json";
|
|
3098
|
+
accept = "application/json";
|
|
3099
|
+
inputSchema = getIntegrationJustEatMenuVersionDetailsInputSchema;
|
|
3100
|
+
outputSchema = getIntegrationJustEatMenuVersionDetailsResponseSchema;
|
|
3101
|
+
querySchema = void 0;
|
|
3102
|
+
headersSchema = void 0;
|
|
3103
|
+
integrationJustEatId;
|
|
3104
|
+
versionId;
|
|
3105
|
+
constructor(integrationJustEatId, versionId) {
|
|
3106
|
+
super();
|
|
3107
|
+
this.integrationJustEatId = integrationJustEatId;
|
|
3108
|
+
this.versionId = versionId;
|
|
3109
|
+
}
|
|
3110
|
+
getPath() {
|
|
3111
|
+
return `/integrations/justeat/${this.integrationJustEatId}/menu_versions/${this.versionId}`;
|
|
3112
|
+
}
|
|
3113
|
+
};
|
|
3114
|
+
|
|
3115
|
+
// src/requests/services/justeat/GetIntegrationJustEatMenuVersions.ts
|
|
3116
|
+
var import_sdk_js_core73 = require("@deliverart/sdk-js-core");
|
|
3117
|
+
var import_sdk_js_global_types27 = require("@deliverart/sdk-js-global-types");
|
|
3118
|
+
var import_zod79 = require("zod");
|
|
3119
|
+
var getIntegrationJustEatMenuVersionsQuerySchema = import_zod79.z.object({
|
|
3120
|
+
page: import_zod79.z.number().optional()
|
|
3121
|
+
});
|
|
3122
|
+
var getIntegrationJustEatMenuVersionsResponseSchema = (0, import_sdk_js_global_types27.createPaginatedSchema)(menuVersionSchema);
|
|
3123
|
+
var getIntegrationJustEatMenuVersionsInputSchema = import_zod79.z.undefined();
|
|
3124
|
+
var GetIntegrationJustEatMenuVersions = class extends import_sdk_js_core73.AbstractApiRequest {
|
|
3125
|
+
method = "GET";
|
|
3126
|
+
contentType = "application/json";
|
|
3127
|
+
accept = "application/json";
|
|
3128
|
+
inputSchema = getIntegrationJustEatMenuVersionsInputSchema;
|
|
3129
|
+
outputSchema = getIntegrationJustEatMenuVersionsResponseSchema;
|
|
3130
|
+
querySchema = getIntegrationJustEatMenuVersionsQuerySchema;
|
|
3131
|
+
headersSchema = void 0;
|
|
3132
|
+
integrationJustEatId;
|
|
3133
|
+
constructor(integrationJustEatId, options) {
|
|
3134
|
+
super(void 0, options);
|
|
3135
|
+
this.integrationJustEatId = integrationJustEatId;
|
|
3136
|
+
}
|
|
3137
|
+
getPath() {
|
|
3138
|
+
return `/integrations/justeat/${this.integrationJustEatId}/menu_versions`;
|
|
3139
|
+
}
|
|
3140
|
+
parseResponse(data, rawResponse) {
|
|
3141
|
+
const integrations = import_zod79.z.array(menuVersionSchema).parse(data);
|
|
3142
|
+
return this.validateOutput({
|
|
3143
|
+
data: integrations,
|
|
3144
|
+
pagination: (0, import_sdk_js_global_types27.responseToPagination)(rawResponse)
|
|
3145
|
+
});
|
|
3146
|
+
}
|
|
3147
|
+
};
|
|
3148
|
+
|
|
3149
|
+
// src/requests/services/justeat/GetIntegrationJustEatSyncMenuProcessDetails.ts
|
|
3150
|
+
var import_sdk_js_core74 = require("@deliverart/sdk-js-core");
|
|
3151
|
+
var import_zod80 = require("zod");
|
|
3152
|
+
var getIntegrationJustEatSyncMenuProcessDetailsInputSchema = import_zod80.z.undefined();
|
|
3153
|
+
var getIntegrationJustEatSyncMenuProcessDetailsResponseSchema = integrationJustEatSyncMenuProcessDetailsSchema;
|
|
3154
|
+
var GetIntegrationJustEatSyncMenuProcessDetails = class extends import_sdk_js_core74.AbstractApiRequest {
|
|
3155
|
+
method = "GET";
|
|
3156
|
+
contentType = "application/json";
|
|
3157
|
+
accept = "application/json";
|
|
3158
|
+
inputSchema = getIntegrationJustEatSyncMenuProcessDetailsInputSchema;
|
|
3159
|
+
outputSchema = getIntegrationJustEatSyncMenuProcessDetailsResponseSchema;
|
|
3160
|
+
querySchema = void 0;
|
|
3161
|
+
headersSchema = void 0;
|
|
3162
|
+
integrationJustEatId;
|
|
3163
|
+
processId;
|
|
3164
|
+
constructor(integrationJustEatId, processId) {
|
|
3165
|
+
super();
|
|
3166
|
+
this.integrationJustEatId = integrationJustEatId;
|
|
3167
|
+
this.processId = processId;
|
|
3168
|
+
}
|
|
3169
|
+
getPath() {
|
|
3170
|
+
return `/integrations/justeat/${this.integrationJustEatId}/sync_menu_processes/${this.processId}`;
|
|
3171
|
+
}
|
|
3172
|
+
};
|
|
3173
|
+
|
|
3174
|
+
// src/requests/services/justeat/GetIntegrationJustEatSyncMenuProcesses.ts
|
|
3175
|
+
var import_sdk_js_core75 = require("@deliverart/sdk-js-core");
|
|
3176
|
+
var import_sdk_js_global_types28 = require("@deliverart/sdk-js-global-types");
|
|
3177
|
+
var import_zod81 = require("zod");
|
|
3178
|
+
var getIntegrationJustEatSyncMenuProcessesQuerySchema = import_zod81.z.object({
|
|
3179
|
+
page: import_zod81.z.number().optional()
|
|
3180
|
+
});
|
|
3181
|
+
var getIntegrationJustEatSyncMenuProcessesResponseSchema = (0, import_sdk_js_global_types28.createPaginatedSchema)(
|
|
3182
|
+
integrationJustEatSyncMenuProcessSchema
|
|
3183
|
+
);
|
|
3184
|
+
var getIntegrationJustEatSyncMenuProcessesInputSchema = import_zod81.z.undefined();
|
|
3185
|
+
var GetIntegrationJustEatSyncMenuProcesses = class extends import_sdk_js_core75.AbstractApiRequest {
|
|
3186
|
+
method = "GET";
|
|
3187
|
+
contentType = "application/json";
|
|
3188
|
+
accept = "application/json";
|
|
3189
|
+
inputSchema = getIntegrationJustEatSyncMenuProcessesInputSchema;
|
|
3190
|
+
outputSchema = getIntegrationJustEatSyncMenuProcessesResponseSchema;
|
|
3191
|
+
querySchema = getIntegrationJustEatSyncMenuProcessesQuerySchema;
|
|
3192
|
+
headersSchema = void 0;
|
|
3193
|
+
integrationJustEatId;
|
|
3194
|
+
constructor(integrationJustEatId, options) {
|
|
3195
|
+
super(void 0, options);
|
|
3196
|
+
this.integrationJustEatId = integrationJustEatId;
|
|
3197
|
+
}
|
|
3198
|
+
getPath() {
|
|
3199
|
+
return `/integrations/justeat/${this.integrationJustEatId}/sync_menu_processes`;
|
|
3200
|
+
}
|
|
3201
|
+
parseResponse(data, rawResponse) {
|
|
3202
|
+
const integrations = import_zod81.z.array(integrationJustEatSyncMenuProcessSchema).parse(data);
|
|
3203
|
+
return this.validateOutput({
|
|
3204
|
+
data: integrations,
|
|
3205
|
+
pagination: (0, import_sdk_js_global_types28.responseToPagination)(rawResponse)
|
|
3206
|
+
});
|
|
3207
|
+
}
|
|
3208
|
+
};
|
|
3209
|
+
|
|
3210
|
+
// src/requests/services/justeat/IntegrationJustEatSyncMenu.ts
|
|
3211
|
+
var import_sdk_js_core76 = require("@deliverart/sdk-js-core");
|
|
3212
|
+
var import_zod82 = require("zod");
|
|
3213
|
+
var integrationJustEatSyncMenuInputSchema = import_zod82.z.undefined();
|
|
3214
|
+
var integrationJustEatSyncMenuResponseSchema = import_zod82.z.undefined();
|
|
3215
|
+
var IntegrationJustEatSyncMenu = class extends import_sdk_js_core76.AbstractApiRequest {
|
|
3216
|
+
method = "POST";
|
|
3217
|
+
contentType = "application/json";
|
|
3218
|
+
accept = "application/json";
|
|
3219
|
+
inputSchema = integrationJustEatSyncMenuInputSchema;
|
|
3220
|
+
outputSchema = integrationJustEatSyncMenuResponseSchema;
|
|
3221
|
+
querySchema = void 0;
|
|
3222
|
+
headersSchema = void 0;
|
|
3223
|
+
integrationJustEatId;
|
|
3224
|
+
constructor(integrationJustEatId) {
|
|
3225
|
+
super();
|
|
3226
|
+
this.integrationJustEatId = integrationJustEatId;
|
|
3227
|
+
}
|
|
3228
|
+
getPath() {
|
|
3229
|
+
return `/integrations/justeat/${this.integrationJustEatId}/sync/menu`;
|
|
3230
|
+
}
|
|
3231
|
+
};
|
|
3232
|
+
|
|
3233
|
+
// src/requests/services/justeat/IntegrationJustEatSyncOpeningTimes.ts
|
|
3234
|
+
var import_sdk_js_core77 = require("@deliverart/sdk-js-core");
|
|
3235
|
+
var import_zod83 = require("zod");
|
|
3236
|
+
var integrationJustEatSyncOpeningHoursInputSchema = import_zod83.z.undefined();
|
|
3237
|
+
var integrationJustEatSyncOpeningHoursResponseSchema = import_zod83.z.undefined();
|
|
3238
|
+
var IntegrationJustEatSyncOpeningTimes = class extends import_sdk_js_core77.AbstractApiRequest {
|
|
3239
|
+
method = "POST";
|
|
3240
|
+
contentType = "application/json";
|
|
3241
|
+
accept = "application/json";
|
|
3242
|
+
inputSchema = integrationJustEatSyncOpeningHoursInputSchema;
|
|
3243
|
+
outputSchema = integrationJustEatSyncOpeningHoursResponseSchema;
|
|
3244
|
+
querySchema = void 0;
|
|
3245
|
+
headersSchema = void 0;
|
|
3246
|
+
integrationJustEatId;
|
|
3247
|
+
constructor(integrationJustEatId) {
|
|
3248
|
+
super();
|
|
3249
|
+
this.integrationJustEatId = integrationJustEatId;
|
|
3250
|
+
}
|
|
3251
|
+
getPath() {
|
|
3252
|
+
return `/integrations/justeat/${this.integrationJustEatId}/sync/opening_times`;
|
|
3253
|
+
}
|
|
3254
|
+
};
|
|
3255
|
+
|
|
3256
|
+
// src/requests/services/justeat/UpdateIntegrationJustEat.ts
|
|
3257
|
+
var import_sdk_js_core78 = require("@deliverart/sdk-js-core");
|
|
3258
|
+
var updateIntegrationJustEatInputSchema = integrationJustEatEditableFieldsSchema;
|
|
3259
|
+
var updateIntegrationJustEatResponseSchema = integrationJustEatDetailsSchema;
|
|
3260
|
+
var UpdateIntegrationJustEat = class extends import_sdk_js_core78.AbstractApiRequest {
|
|
3261
|
+
method = "PATCH";
|
|
3262
|
+
contentType = "application/merge-patch+json";
|
|
3263
|
+
accept = "application/json";
|
|
3264
|
+
inputSchema = updateIntegrationJustEatInputSchema;
|
|
3265
|
+
outputSchema = updateIntegrationJustEatResponseSchema;
|
|
3266
|
+
querySchema = void 0;
|
|
3267
|
+
headersSchema = void 0;
|
|
3268
|
+
integrationJustEatId;
|
|
3269
|
+
constructor(integrationJustEatId, input) {
|
|
3270
|
+
super(input);
|
|
3271
|
+
this.integrationJustEatId = integrationJustEatId;
|
|
3272
|
+
}
|
|
3273
|
+
getPath() {
|
|
3274
|
+
return `/integrations/justeat/${this.integrationJustEatId}`;
|
|
3275
|
+
}
|
|
3276
|
+
};
|
|
3277
|
+
|
|
3278
|
+
// src/requests/services/justeat/UpdateIntegrationJustEatRestaurantStatus.ts
|
|
3279
|
+
var import_sdk_js_core79 = require("@deliverart/sdk-js-core");
|
|
3280
|
+
var import_zod84 = require("zod");
|
|
3281
|
+
var updateIntegrationJustEatRestaurantStatusInputSchema = import_zod84.z.object({
|
|
3282
|
+
status: integrationJustEatRestaurantStatusSchema
|
|
3283
|
+
});
|
|
3284
|
+
var updateIntegrationJustEatRestaurantStatusResponseSchema = integrationJustEatDetailsSchema;
|
|
3285
|
+
var UpdateIntegrationJustEatRestaurantStatus = class extends import_sdk_js_core79.AbstractApiRequest {
|
|
3286
|
+
method = "POST";
|
|
3287
|
+
contentType = "application/json";
|
|
3288
|
+
accept = "application/json";
|
|
3289
|
+
inputSchema = updateIntegrationJustEatRestaurantStatusInputSchema;
|
|
3290
|
+
outputSchema = updateIntegrationJustEatRestaurantStatusResponseSchema;
|
|
3291
|
+
querySchema = void 0;
|
|
3292
|
+
headersSchema = void 0;
|
|
3293
|
+
integrationJustEatId;
|
|
3294
|
+
constructor(integrationJustEatId, input) {
|
|
3295
|
+
super(input);
|
|
3296
|
+
this.integrationJustEatId = integrationJustEatId;
|
|
3297
|
+
}
|
|
3298
|
+
getPath() {
|
|
3299
|
+
return `/integrations/justeat/${this.integrationJustEatId}/restaurant/status`;
|
|
3300
|
+
}
|
|
3301
|
+
};
|
|
3302
|
+
|
|
3303
|
+
// src/requests/UpdateIntegration.ts
|
|
3304
|
+
var import_sdk_js_core80 = require("@deliverart/sdk-js-core");
|
|
3305
|
+
var updateIntegrationInputSchema = writableIntegrationSchema.partial();
|
|
3306
|
+
var updateIntegrationResponseSchema = integrationDetailsSchema;
|
|
3307
|
+
var UpdateIntegration = class extends import_sdk_js_core80.AbstractApiRequest {
|
|
3308
|
+
method = "PATCH";
|
|
3309
|
+
contentType = "application/merge-patch+json";
|
|
3310
|
+
accept = "application/json";
|
|
3311
|
+
inputSchema = updateIntegrationInputSchema;
|
|
3312
|
+
outputSchema = updateIntegrationResponseSchema;
|
|
3313
|
+
querySchema = void 0;
|
|
3314
|
+
headersSchema = void 0;
|
|
3315
|
+
integrationId;
|
|
3316
|
+
constructor(integrationId, input) {
|
|
3317
|
+
super(input);
|
|
3318
|
+
this.integrationId = integrationId;
|
|
3319
|
+
}
|
|
3320
|
+
getPath() {
|
|
3321
|
+
return `/integrations/${this.integrationId}`;
|
|
3322
|
+
}
|
|
3323
|
+
};
|
|
3324
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
3325
|
+
0 && (module.exports = {
|
|
3326
|
+
ActivateIntegrationActivationRequest,
|
|
3327
|
+
AnnotateIntegrationActivationRequest,
|
|
3328
|
+
CancelIntegrationCancellationRequest,
|
|
3329
|
+
CreateIntegrationActivationRequest,
|
|
3330
|
+
CreateIntegrationCancellationRequest,
|
|
3331
|
+
CreateIntegrationCassaInCloud,
|
|
3332
|
+
CreateIntegrationDeliveroo,
|
|
3333
|
+
CreateIntegrationGlovo,
|
|
3334
|
+
CreateIntegrationJustEat,
|
|
3335
|
+
DeleteIntegration,
|
|
3336
|
+
DeleteIntegrationActivationRequest,
|
|
3337
|
+
DeleteIntegrationCancellationRequest,
|
|
3338
|
+
DeleteIntegrationCassaInCloud,
|
|
3339
|
+
DeleteIntegrationDeliveroo,
|
|
3340
|
+
DeleteIntegrationGlovo,
|
|
3341
|
+
DeleteIntegrationJustEat,
|
|
3342
|
+
GetIntegrationActivationRequestDetails,
|
|
3343
|
+
GetIntegrationActivationRequests,
|
|
3344
|
+
GetIntegrationCancellationRequestDetails,
|
|
3345
|
+
GetIntegrationCancellationRequests,
|
|
3346
|
+
GetIntegrationCassaInCloudClientLogRequestDetails,
|
|
3347
|
+
GetIntegrationCassaInCloudClientLogRequests,
|
|
3348
|
+
GetIntegrationCassaInCloudDetails,
|
|
3349
|
+
GetIntegrationCassaInCloudList,
|
|
3350
|
+
GetIntegrationCassaInCloudSyncMenuProcessDetails,
|
|
3351
|
+
GetIntegrationCassaInCloudSyncMenuProcesses,
|
|
3352
|
+
GetIntegrationCassaInCloudWebHookEventDetails,
|
|
3353
|
+
GetIntegrationCassaInCloudWebHookEvents,
|
|
3354
|
+
GetIntegrationDeliverooClientLogRequestDetails,
|
|
3355
|
+
GetIntegrationDeliverooClientLogRequests,
|
|
3356
|
+
GetIntegrationDeliverooDetails,
|
|
3357
|
+
GetIntegrationDeliverooList,
|
|
3358
|
+
GetIntegrationDeliverooMenuVersionDetails,
|
|
3359
|
+
GetIntegrationDeliverooMenuVersions,
|
|
3360
|
+
GetIntegrationDeliverooSyncMenuProcessDetails,
|
|
3361
|
+
GetIntegrationDeliverooSyncMenuProcesses,
|
|
3362
|
+
GetIntegrationDeliverooWebhookEventDetails,
|
|
3363
|
+
GetIntegrationDeliverooWebhookEvents,
|
|
3364
|
+
GetIntegrationDetails,
|
|
3365
|
+
GetIntegrationGlovoClientLogRequestDetails,
|
|
3366
|
+
GetIntegrationGlovoClientLogRequests,
|
|
3367
|
+
GetIntegrationGlovoDetails,
|
|
3368
|
+
GetIntegrationGlovoList,
|
|
3369
|
+
GetIntegrationGlovoMenuUpdateDetails,
|
|
3370
|
+
GetIntegrationGlovoMenuUpdates,
|
|
3371
|
+
GetIntegrationGlovoMenuVersionDetails,
|
|
3372
|
+
GetIntegrationGlovoMenuVersions,
|
|
3373
|
+
GetIntegrationGlovoWebhookEventDetails,
|
|
3374
|
+
GetIntegrationGlovoWebhookEvents,
|
|
3375
|
+
GetIntegrationJustEatClientLogRequestDetails,
|
|
3376
|
+
GetIntegrationJustEatClientLogRequests,
|
|
3377
|
+
GetIntegrationJustEatDetails,
|
|
3378
|
+
GetIntegrationJustEatList,
|
|
3379
|
+
GetIntegrationJustEatMenuVersionDetails,
|
|
3380
|
+
GetIntegrationJustEatMenuVersions,
|
|
3381
|
+
GetIntegrationJustEatSyncMenuProcessDetails,
|
|
3382
|
+
GetIntegrationJustEatSyncMenuProcesses,
|
|
3383
|
+
GetIntegrations,
|
|
3384
|
+
IntegrationCassaInCloudSyncCustomers,
|
|
3385
|
+
IntegrationCassaInCloudSyncOrganizations,
|
|
3386
|
+
IntegrationCassaInCloudSyncProducts,
|
|
3387
|
+
IntegrationCassaInCloudSyncSalesModes,
|
|
3388
|
+
IntegrationCassaInCloudSyncStock,
|
|
3389
|
+
IntegrationCassaInCloudSyncTimetables,
|
|
3390
|
+
IntegrationDeliverooSyncMenu,
|
|
3391
|
+
IntegrationDeliverooSyncOpeningHours,
|
|
3392
|
+
IntegrationGlovoSyncMenu,
|
|
3393
|
+
IntegrationJustEatSyncMenu,
|
|
3394
|
+
IntegrationJustEatSyncOpeningTimes,
|
|
3395
|
+
RespondIntegrationActivationRequest,
|
|
3396
|
+
SendIntegrationActivationRequestToPartner,
|
|
3397
|
+
UpdateIntegration,
|
|
3398
|
+
UpdateIntegrationActivationRequest,
|
|
3399
|
+
UpdateIntegrationCassaInCloud,
|
|
3400
|
+
UpdateIntegrationDeliveroo,
|
|
3401
|
+
UpdateIntegrationDeliverooSiteStatus,
|
|
3402
|
+
UpdateIntegrationGlovo,
|
|
3403
|
+
UpdateIntegrationGlovoStoreStatus,
|
|
3404
|
+
UpdateIntegrationJustEat,
|
|
3405
|
+
UpdateIntegrationJustEatRestaurantStatus,
|
|
3406
|
+
activatableIntegrationBaseSchema,
|
|
3407
|
+
activatableIntegrationHealthStatusSchema,
|
|
3408
|
+
activatableIntegrationHealthStatuses,
|
|
3409
|
+
activatableIntegrationSchema,
|
|
3410
|
+
activatableIntegrationStatusSchema,
|
|
3411
|
+
activatableIntegrationStatuses,
|
|
3412
|
+
activateIntegrationActivationRequestInputSchema,
|
|
3413
|
+
activateIntegrationActivationRequestResponseSchema,
|
|
3414
|
+
annotateIntegrationActivationRequestInputSchema,
|
|
3415
|
+
annotateIntegrationActivationRequestResponseSchema,
|
|
3416
|
+
cancelIntegrationCancellationRequestInputSchema,
|
|
3417
|
+
cancelIntegrationCancellationRequestResponseSchema,
|
|
3418
|
+
clientLogRequestQuerySchema,
|
|
3419
|
+
createIntegrationActivationRequestInputSchema,
|
|
3420
|
+
createIntegrationActivationRequestResponseSchema,
|
|
3421
|
+
createIntegrationCancellationRequestInputSchema,
|
|
3422
|
+
createIntegrationCancellationRequestResponseSchema,
|
|
3423
|
+
createIntegrationCassaInCloudInputSchema,
|
|
3424
|
+
createIntegrationCassaInCloudResponseSchema,
|
|
3425
|
+
createIntegrationDeliverooInputSchema,
|
|
3426
|
+
createIntegrationDeliverooResponseSchema,
|
|
3427
|
+
createIntegrationGlovoInputSchema,
|
|
3428
|
+
createIntegrationGlovoResponseSchema,
|
|
3429
|
+
createIntegrationJustEatInputSchema,
|
|
3430
|
+
createIntegrationJustEatResponseSchema,
|
|
3431
|
+
deleteIntegrationActivationRequestInputSchema,
|
|
3432
|
+
deleteIntegrationActivationRequestResponseSchema,
|
|
3433
|
+
deleteIntegrationCancellationRequestInputSchema,
|
|
3434
|
+
deleteIntegrationCancellationRequestResponseSchema,
|
|
3435
|
+
deleteIntegrationCassaInCloudInputSchema,
|
|
3436
|
+
deleteIntegrationCassaInCloudResponseSchema,
|
|
3437
|
+
deleteIntegrationDeliverooInputSchema,
|
|
3438
|
+
deleteIntegrationDeliverooResponseSchema,
|
|
3439
|
+
deleteIntegrationGlovoInputSchema,
|
|
3440
|
+
deleteIntegrationGlovoResponseSchema,
|
|
3441
|
+
deleteIntegrationInputSchema,
|
|
3442
|
+
deleteIntegrationJustEatInputSchema,
|
|
3443
|
+
deleteIntegrationJustEatResponseSchema,
|
|
3444
|
+
deleteIntegrationResponseSchema,
|
|
3445
|
+
getIntegrationActivationRequestDetailsInputSchema,
|
|
3446
|
+
getIntegrationActivationRequestDetailsResponseSchema,
|
|
3447
|
+
getIntegrationActivationRequestsInputSchema,
|
|
3448
|
+
getIntegrationActivationRequestsQuerySchema,
|
|
3449
|
+
getIntegrationActivationRequestsResponseSchema,
|
|
3450
|
+
getIntegrationCancellationRequestDetailsInputSchema,
|
|
3451
|
+
getIntegrationCancellationRequestDetailsResponseSchema,
|
|
3452
|
+
getIntegrationCancellationRequestsInputSchema,
|
|
3453
|
+
getIntegrationCancellationRequestsQuerySchema,
|
|
3454
|
+
getIntegrationCancellationRequestsResponseSchema,
|
|
3455
|
+
getIntegrationCassaInCloudClientLogRequestDetailsInputSchema,
|
|
3456
|
+
getIntegrationCassaInCloudClientLogRequestDetailsResponseSchema,
|
|
3457
|
+
getIntegrationCassaInCloudClientLogRequestsInputSchema,
|
|
3458
|
+
getIntegrationCassaInCloudClientLogRequestsQuerySchema,
|
|
3459
|
+
getIntegrationCassaInCloudClientLogRequestsResponseSchema,
|
|
3460
|
+
getIntegrationCassaInCloudDetailsInputSchema,
|
|
3461
|
+
getIntegrationCassaInCloudDetailsResponseSchema,
|
|
3462
|
+
getIntegrationCassaInCloudListInputSchema,
|
|
3463
|
+
getIntegrationCassaInCloudListQuerySchema,
|
|
3464
|
+
getIntegrationCassaInCloudListResponseSchema,
|
|
3465
|
+
getIntegrationCassaInCloudSyncMenuProcessDetailsInputSchema,
|
|
3466
|
+
getIntegrationCassaInCloudSyncMenuProcessDetailsResponseSchema,
|
|
3467
|
+
getIntegrationCassaInCloudSyncMenuProcessesInputSchema,
|
|
3468
|
+
getIntegrationCassaInCloudSyncMenuProcessesQuerySchema,
|
|
3469
|
+
getIntegrationCassaInCloudSyncMenuProcessesResponseSchema,
|
|
3470
|
+
getIntegrationCassaInCloudWebHookEventDetailsInputSchema,
|
|
3471
|
+
getIntegrationCassaInCloudWebHookEventDetailsResponseSchema,
|
|
3472
|
+
getIntegrationCassaInCloudWebHookEventsInputSchema,
|
|
3473
|
+
getIntegrationCassaInCloudWebHookEventsQuerySchema,
|
|
3474
|
+
getIntegrationCassaInCloudWebHookEventsResponseSchema,
|
|
3475
|
+
getIntegrationDeliverooClientLogRequestDetailsInputSchema,
|
|
3476
|
+
getIntegrationDeliverooClientLogRequestDetailsResponseSchema,
|
|
3477
|
+
getIntegrationDeliverooClientLogRequestsInputSchema,
|
|
3478
|
+
getIntegrationDeliverooClientLogRequestsQuerySchema,
|
|
3479
|
+
getIntegrationDeliverooClientLogRequestsResponseSchema,
|
|
3480
|
+
getIntegrationDeliverooDetailsInputSchema,
|
|
3481
|
+
getIntegrationDeliverooDetailsResponseSchema,
|
|
3482
|
+
getIntegrationDeliverooListInputSchema,
|
|
3483
|
+
getIntegrationDeliverooListQuerySchema,
|
|
3484
|
+
getIntegrationDeliverooListResponseSchema,
|
|
3485
|
+
getIntegrationDeliverooMenuVersionDetailsInputSchema,
|
|
3486
|
+
getIntegrationDeliverooMenuVersionDetailsResponseSchema,
|
|
3487
|
+
getIntegrationDeliverooMenuVersionsInputSchema,
|
|
3488
|
+
getIntegrationDeliverooMenuVersionsQuerySchema,
|
|
3489
|
+
getIntegrationDeliverooMenuVersionsResponseSchema,
|
|
3490
|
+
getIntegrationDeliverooSyncMenuProcessDetailsInputSchema,
|
|
3491
|
+
getIntegrationDeliverooSyncMenuProcessDetailsResponseSchema,
|
|
3492
|
+
getIntegrationDeliverooSyncMenuProcessesInputSchema,
|
|
3493
|
+
getIntegrationDeliverooSyncMenuProcessesQuerySchema,
|
|
3494
|
+
getIntegrationDeliverooSyncMenuProcessesResponseSchema,
|
|
3495
|
+
getIntegrationDeliverooWebhookEventDetailsInputSchema,
|
|
3496
|
+
getIntegrationDeliverooWebhookEventDetailsResponseSchema,
|
|
3497
|
+
getIntegrationDeliverooWebhookEventsInputSchema,
|
|
3498
|
+
getIntegrationDeliverooWebhookEventsQuerySchema,
|
|
3499
|
+
getIntegrationDeliverooWebhookEventsResponseSchema,
|
|
3500
|
+
getIntegrationDetailsInputSchema,
|
|
3501
|
+
getIntegrationDetailsResponseSchema,
|
|
3502
|
+
getIntegrationGlovoClientLogRequestDetailsInputSchema,
|
|
3503
|
+
getIntegrationGlovoClientLogRequestDetailsResponseSchema,
|
|
3504
|
+
getIntegrationGlovoClientLogRequestsInputSchema,
|
|
3505
|
+
getIntegrationGlovoClientLogRequestsQuerySchema,
|
|
3506
|
+
getIntegrationGlovoClientLogRequestsResponseSchema,
|
|
3507
|
+
getIntegrationGlovoDetailsInputSchema,
|
|
3508
|
+
getIntegrationGlovoDetailsResponseSchema,
|
|
3509
|
+
getIntegrationGlovoListInputSchema,
|
|
3510
|
+
getIntegrationGlovoListQuerySchema,
|
|
3511
|
+
getIntegrationGlovoListResponseSchema,
|
|
3512
|
+
getIntegrationGlovoMenuUpdateDetailsInputSchema,
|
|
3513
|
+
getIntegrationGlovoMenuUpdateDetailsResponseSchema,
|
|
3514
|
+
getIntegrationGlovoMenuUpdatesInputSchema,
|
|
3515
|
+
getIntegrationGlovoMenuUpdatesQuerySchema,
|
|
3516
|
+
getIntegrationGlovoMenuUpdatesResponseSchema,
|
|
3517
|
+
getIntegrationGlovoMenuVersionDetailsInputSchema,
|
|
3518
|
+
getIntegrationGlovoMenuVersionDetailsResponseSchema,
|
|
3519
|
+
getIntegrationGlovoMenuVersionsInputSchema,
|
|
3520
|
+
getIntegrationGlovoMenuVersionsQuerySchema,
|
|
3521
|
+
getIntegrationGlovoMenuVersionsResponseSchema,
|
|
3522
|
+
getIntegrationGlovoWebhookEventDetailsInputSchema,
|
|
3523
|
+
getIntegrationGlovoWebhookEventDetailsResponseSchema,
|
|
3524
|
+
getIntegrationGlovoWebhookEventsInputSchema,
|
|
3525
|
+
getIntegrationGlovoWebhookEventsQuerySchema,
|
|
3526
|
+
getIntegrationGlovoWebhookEventsResponseSchema,
|
|
3527
|
+
getIntegrationJustEatClientLogRequestDetailsInputSchema,
|
|
3528
|
+
getIntegrationJustEatClientLogRequestDetailsResponseSchema,
|
|
3529
|
+
getIntegrationJustEatClientLogRequestsInputSchema,
|
|
3530
|
+
getIntegrationJustEatClientLogRequestsQuerySchema,
|
|
3531
|
+
getIntegrationJustEatClientLogRequestsResponseSchema,
|
|
3532
|
+
getIntegrationJustEatDetailsInputSchema,
|
|
3533
|
+
getIntegrationJustEatDetailsResponseSchema,
|
|
3534
|
+
getIntegrationJustEatListInputSchema,
|
|
3535
|
+
getIntegrationJustEatListQuerySchema,
|
|
3536
|
+
getIntegrationJustEatListResponseSchema,
|
|
3537
|
+
getIntegrationJustEatMenuVersionDetailsInputSchema,
|
|
3538
|
+
getIntegrationJustEatMenuVersionDetailsResponseSchema,
|
|
3539
|
+
getIntegrationJustEatMenuVersionsInputSchema,
|
|
3540
|
+
getIntegrationJustEatMenuVersionsQuerySchema,
|
|
3541
|
+
getIntegrationJustEatMenuVersionsResponseSchema,
|
|
3542
|
+
getIntegrationJustEatSyncMenuProcessDetailsInputSchema,
|
|
3543
|
+
getIntegrationJustEatSyncMenuProcessDetailsResponseSchema,
|
|
3544
|
+
getIntegrationJustEatSyncMenuProcessesInputSchema,
|
|
3545
|
+
getIntegrationJustEatSyncMenuProcessesQuerySchema,
|
|
3546
|
+
getIntegrationJustEatSyncMenuProcessesResponseSchema,
|
|
3547
|
+
getIntegrationsInputSchema,
|
|
3548
|
+
getIntegrationsQuerySchema,
|
|
3549
|
+
getIntegrationsResponseSchema,
|
|
3550
|
+
integrationActivationRequestDetailsSchema,
|
|
3551
|
+
integrationActivationRequestSchema,
|
|
3552
|
+
integrationBaseSchema,
|
|
3553
|
+
integrationCancellationRequestDetailsSchema,
|
|
3554
|
+
integrationCancellationRequestNullablePathSchema,
|
|
3555
|
+
integrationCancellationRequestPathSchema,
|
|
3556
|
+
integrationCancellationRequestSchema,
|
|
3557
|
+
integrationCancellationRequestStatusSchema,
|
|
3558
|
+
integrationCancellationRequestStatuses,
|
|
3559
|
+
integrationCassaInCloudDataSchema,
|
|
3560
|
+
integrationCassaInCloudDirectionSchema,
|
|
3561
|
+
integrationCassaInCloudDirections,
|
|
3562
|
+
integrationCassaInCloudNullablePathSchema,
|
|
3563
|
+
integrationCassaInCloudPathSchema,
|
|
3564
|
+
integrationCassaInCloudProductChannelSchema,
|
|
3565
|
+
integrationCassaInCloudProductChannels,
|
|
3566
|
+
integrationCassaInCloudSyncCustomersInputSchema,
|
|
3567
|
+
integrationCassaInCloudSyncCustomersResponseSchema,
|
|
3568
|
+
integrationCassaInCloudSyncMenuErrorLogNullablePathSchema,
|
|
3569
|
+
integrationCassaInCloudSyncMenuErrorLogPathSchema,
|
|
3570
|
+
integrationCassaInCloudSyncOrganizationsInputSchema,
|
|
3571
|
+
integrationCassaInCloudSyncOrganizationsResponseSchema,
|
|
3572
|
+
integrationCassaInCloudSyncProductsInputSchema,
|
|
3573
|
+
integrationCassaInCloudSyncProductsResponseSchema,
|
|
3574
|
+
integrationCassaInCloudSyncSalesModesInputSchema,
|
|
3575
|
+
integrationCassaInCloudSyncSalesModesResponseSchema,
|
|
3576
|
+
integrationCassaInCloudSyncStockInputSchema,
|
|
3577
|
+
integrationCassaInCloudSyncStockResponseSchema,
|
|
3578
|
+
integrationCassaInCloudSyncTimetablesInputSchema,
|
|
3579
|
+
integrationCassaInCloudSyncTimetablesResponseSchema,
|
|
3580
|
+
integrationCassaInCloudWebHookEventEntities,
|
|
3581
|
+
integrationCassaInCloudWebHookEventEntitySchema,
|
|
3582
|
+
integrationCassaInCloudWebHookEventEventSchema,
|
|
3583
|
+
integrationCassaInCloudWebHookEventEvents,
|
|
3584
|
+
integrationClientLogRequestDetailsSchema,
|
|
3585
|
+
integrationClientLogRequestMethodSchema,
|
|
3586
|
+
integrationClientLogRequestMethods,
|
|
3587
|
+
integrationClientLogRequestSchema,
|
|
3588
|
+
integrationDeliverooDataSchema,
|
|
3589
|
+
integrationDeliverooNullablePathSchema,
|
|
3590
|
+
integrationDeliverooPathSchema,
|
|
3591
|
+
integrationDeliverooSiteStatusSchema,
|
|
3592
|
+
integrationDeliverooSiteStatuses,
|
|
3593
|
+
integrationDeliverooSyncMenuInputSchema,
|
|
3594
|
+
integrationDeliverooSyncMenuProcessModeSchema,
|
|
3595
|
+
integrationDeliverooSyncMenuProcessModes,
|
|
3596
|
+
integrationDeliverooSyncMenuResponseSchema,
|
|
3597
|
+
integrationDeliverooSyncOpeningHoursInputSchema,
|
|
3598
|
+
integrationDeliverooSyncOpeningHoursResponseSchema,
|
|
3599
|
+
integrationDeliverooWebhookEventTypeSchema,
|
|
3600
|
+
integrationDeliverooWebhookEventTypes,
|
|
3601
|
+
integrationDeliveryProviderCommonSchema,
|
|
3602
|
+
integrationDetailsFieldsSchema,
|
|
3603
|
+
integrationGlovoDataSchema,
|
|
3604
|
+
integrationGlovoMenuUpdateStatusSchema,
|
|
3605
|
+
integrationGlovoMenuUpdateStatuses,
|
|
3606
|
+
integrationGlovoNullablePathSchema,
|
|
3607
|
+
integrationGlovoPathSchema,
|
|
3608
|
+
integrationGlovoStoreStatusSchema,
|
|
3609
|
+
integrationGlovoStoreStatuses,
|
|
3610
|
+
integrationGlovoSyncMenuInputSchema,
|
|
3611
|
+
integrationGlovoSyncMenuResponseSchema,
|
|
3612
|
+
integrationGlovoWebhookEventTypeSchema,
|
|
3613
|
+
integrationGlovoWebhookEventTypes,
|
|
3614
|
+
integrationJustEatDataSchema,
|
|
3615
|
+
integrationJustEatNullablePathSchema,
|
|
3616
|
+
integrationJustEatPathSchema,
|
|
3617
|
+
integrationJustEatRestaurantStatusSchema,
|
|
3618
|
+
integrationJustEatRestaurantStatuses,
|
|
3619
|
+
integrationJustEatSyncMenuInputSchema,
|
|
3620
|
+
integrationJustEatSyncMenuResponseSchema,
|
|
3621
|
+
integrationJustEatSyncOpeningHoursInputSchema,
|
|
3622
|
+
integrationJustEatSyncOpeningHoursResponseSchema,
|
|
3623
|
+
integrationJustEatSyncTypeSchema,
|
|
3624
|
+
integrationJustEatSyncTypes,
|
|
3625
|
+
integrationNullablePathSchema,
|
|
3626
|
+
integrationPathSchema,
|
|
3627
|
+
integrationPathSchemas,
|
|
3628
|
+
integrationProviderSchema,
|
|
3629
|
+
integrationProviders,
|
|
3630
|
+
integrationServiceDataSchema,
|
|
3631
|
+
integrationServiceSchema,
|
|
3632
|
+
integrationServices,
|
|
3633
|
+
integrationStatusSchema,
|
|
3634
|
+
integrationStatuses,
|
|
3635
|
+
menuVersionDetailsSchema,
|
|
3636
|
+
menuVersionSchema,
|
|
3637
|
+
respondIntegrationActivationRequestInputSchema,
|
|
3638
|
+
respondIntegrationActivationRequestResponseSchema,
|
|
3639
|
+
sendIntegrationActivationRequestToPartnerInputSchema,
|
|
3640
|
+
sendIntegrationActivationRequestToPartnerResponseSchema,
|
|
3641
|
+
updateIntegrationActivationRequestInputSchema,
|
|
3642
|
+
updateIntegrationActivationRequestResponseSchema,
|
|
3643
|
+
updateIntegrationCassaInCloudInputSchema,
|
|
3644
|
+
updateIntegrationCassaInCloudResponseSchema,
|
|
3645
|
+
updateIntegrationDeliverooInputSchema,
|
|
3646
|
+
updateIntegrationDeliverooResponseSchema,
|
|
3647
|
+
updateIntegrationDeliverooSiteStatusInputSchema,
|
|
3648
|
+
updateIntegrationDeliverooSiteStatusResponseSchema,
|
|
3649
|
+
updateIntegrationGlovoInputSchema,
|
|
3650
|
+
updateIntegrationGlovoResponseSchema,
|
|
3651
|
+
updateIntegrationGlovoStoreStatusInputSchema,
|
|
3652
|
+
updateIntegrationGlovoStoreStatusResponseSchema,
|
|
3653
|
+
updateIntegrationInputSchema,
|
|
3654
|
+
updateIntegrationJustEatInputSchema,
|
|
3655
|
+
updateIntegrationJustEatResponseSchema,
|
|
3656
|
+
updateIntegrationJustEatRestaurantStatusInputSchema,
|
|
3657
|
+
updateIntegrationJustEatRestaurantStatusResponseSchema,
|
|
3658
|
+
updateIntegrationResponseSchema,
|
|
3659
|
+
writableIntegrationSchema
|
|
3660
|
+
});
|