@compassdigital/sdk.typescript 3.0.0-beta.21 → 3.0.0-beta.3
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/README.md +9 -126
- package/gen.ts +41 -86
- package/lib/announcement.d.ts.map +1 -0
- package/lib/announcement.js +3 -0
- package/lib/announcement.js.map +1 -0
- package/lib/base.d.ts +4 -141
- package/lib/base.d.ts.map +1 -1
- package/lib/base.js +35 -328
- package/lib/base.js.map +1 -1
- package/lib/brand.d.ts.map +1 -0
- package/lib/brand.js +3 -0
- package/lib/brand.js.map +1 -0
- package/lib/calendar.d.ts.map +1 -0
- package/lib/calendar.js +3 -0
- package/lib/calendar.js.map +1 -0
- package/lib/config.d.ts.map +1 -0
- package/lib/config.js +3 -0
- package/lib/config.js.map +1 -0
- package/lib/datalake.d.ts.map +1 -0
- package/lib/datalake.js +3 -0
- package/lib/datalake.js.map +1 -0
- package/lib/delivery.d.ts.map +1 -0
- package/lib/delivery.js +3 -0
- package/lib/delivery.js.map +1 -0
- package/lib/dh.d.ts.map +1 -0
- package/lib/dh.js +3 -0
- package/lib/dh.js.map +1 -0
- package/lib/email.d.ts +5 -0
- package/lib/email.d.ts.map +1 -0
- package/lib/email.js +3 -0
- package/lib/email.js.map +1 -0
- package/lib/file.d.ts.map +1 -0
- package/lib/file.js +3 -0
- package/lib/file.js.map +1 -0
- package/lib/index.d.ts +264 -503
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +242 -534
- package/lib/index.js.map +1 -1
- package/lib/{interface/kds.d.ts → kds.d.ts} +0 -1
- package/lib/kds.d.ts.map +1 -0
- package/lib/kds.js +3 -0
- package/lib/kds.js.map +1 -0
- package/lib/{interface/location.d.ts → location.d.ts} +18 -23
- package/lib/location.d.ts.map +1 -0
- package/lib/location.js +3 -0
- package/lib/location.js.map +1 -0
- package/lib/logger.d.ts.map +1 -0
- package/lib/logger.js +3 -0
- package/lib/logger.js.map +1 -0
- package/lib/loyalty.d.ts.map +1 -0
- package/lib/loyalty.js +3 -0
- package/lib/loyalty.js.map +1 -0
- package/lib/mealplan.d.ts.map +1 -0
- package/lib/mealplan.js +3 -0
- package/lib/mealplan.js.map +1 -0
- package/lib/message.d.ts.map +1 -0
- package/lib/message.js +3 -0
- package/lib/message.js.map +1 -0
- package/lib/{interface/order.d.ts → order.d.ts} +4 -11
- package/lib/order.d.ts.map +1 -0
- package/lib/order.js +3 -0
- package/lib/order.js.map +1 -0
- package/lib/{interface/partner.d.ts → partner.d.ts} +4 -243
- package/lib/partner.d.ts.map +1 -0
- package/lib/partner.js +3 -0
- package/lib/partner.js.map +1 -0
- package/lib/{interface/payment.d.ts → payment.d.ts} +0 -1
- package/lib/payment.d.ts.map +1 -0
- package/lib/payment.js +3 -0
- package/lib/payment.js.map +1 -0
- package/lib/promo.d.ts.map +1 -0
- package/lib/promo.js +3 -0
- package/lib/promo.js.map +1 -0
- package/lib/report.d.ts.map +1 -0
- package/lib/report.js +3 -0
- package/lib/report.js.map +1 -0
- package/lib/schedule.d.ts.map +1 -0
- package/lib/schedule.js +3 -0
- package/lib/schedule.js.map +1 -0
- package/lib/{interface/shoppingcart.d.ts → shoppingcart.d.ts} +1 -10
- package/lib/shoppingcart.d.ts.map +1 -0
- package/lib/shoppingcart.js +3 -0
- package/lib/shoppingcart.js.map +1 -0
- package/lib/task.d.ts.map +1 -0
- package/lib/task.js +3 -0
- package/lib/task.js.map +1 -0
- package/lib/{interface/user.d.ts → user.d.ts} +0 -19
- package/lib/user.d.ts.map +1 -0
- package/lib/user.js +3 -0
- package/lib/user.js.map +1 -0
- package/lib/vote.d.ts.map +1 -0
- package/lib/vote.js +3 -0
- package/lib/vote.js.map +1 -0
- package/manifest.json +50 -29
- package/package.json +5 -19
- package/src/{interface/announcement.ts → announcement.ts} +0 -2
- package/src/base.ts +17 -330
- package/src/{interface/brand.ts → brand.ts} +0 -2
- package/src/{interface/calendar.ts → calendar.ts} +0 -2
- package/src/{interface/config.ts → config.ts} +0 -2
- package/src/{interface/datalake.ts → datalake.ts} +0 -2
- package/src/{interface/delivery.ts → delivery.ts} +0 -2
- package/src/{interface/dh.ts → dh.ts} +0 -2
- package/src/email.ts +4 -0
- package/src/{interface/file.ts → file.ts} +0 -2
- package/src/index.ts +503 -2219
- package/src/{interface/kds.ts → kds.ts} +0 -4
- package/src/{interface/location.ts → location.ts} +33 -41
- package/src/{interface/logger.ts → logger.ts} +0 -2
- package/src/{interface/loyalty.ts → loyalty.ts} +0 -2
- package/src/{interface/mealplan.ts → mealplan.ts} +0 -2
- package/src/{interface/message.ts → message.ts} +0 -2
- package/src/{interface/order.ts → order.ts} +6 -21
- package/src/{interface/partner.ts → partner.ts} +5 -291
- package/src/{interface/payment.ts → payment.ts} +0 -4
- package/src/{interface/promo.ts → promo.ts} +0 -2
- package/src/{interface/report.ts → report.ts} +0 -2
- package/src/{interface/schedule.ts → schedule.ts} +0 -2
- package/src/{interface/shoppingcart.ts → shoppingcart.ts} +1 -14
- package/src/{interface/task.ts → task.ts} +0 -2
- package/src/{interface/user.ts → user.ts} +1 -34
- package/src/{interface/vote.ts → vote.ts} +0 -2
- package/template.ejs +2 -3
- package/bin/gen.js +0 -472
- package/bin/index.js +0 -3
- package/lib/interface/announcement.d.ts.map +0 -1
- package/lib/interface/announcement.js +0 -4
- package/lib/interface/announcement.js.map +0 -1
- package/lib/interface/brand.d.ts.map +0 -1
- package/lib/interface/brand.js +0 -4
- package/lib/interface/brand.js.map +0 -1
- package/lib/interface/calendar.d.ts.map +0 -1
- package/lib/interface/calendar.js +0 -4
- package/lib/interface/calendar.js.map +0 -1
- package/lib/interface/config.d.ts.map +0 -1
- package/lib/interface/config.js +0 -4
- package/lib/interface/config.js.map +0 -1
- package/lib/interface/datalake.d.ts.map +0 -1
- package/lib/interface/datalake.js +0 -4
- package/lib/interface/datalake.js.map +0 -1
- package/lib/interface/delivery.d.ts.map +0 -1
- package/lib/interface/delivery.js +0 -4
- package/lib/interface/delivery.js.map +0 -1
- package/lib/interface/dh.d.ts.map +0 -1
- package/lib/interface/dh.js +0 -4
- package/lib/interface/dh.js.map +0 -1
- package/lib/interface/email.d.ts +0 -21
- package/lib/interface/email.d.ts.map +0 -1
- package/lib/interface/email.js +0 -4
- package/lib/interface/email.js.map +0 -1
- package/lib/interface/file.d.ts.map +0 -1
- package/lib/interface/file.js +0 -4
- package/lib/interface/file.js.map +0 -1
- package/lib/interface/kds.d.ts.map +0 -1
- package/lib/interface/kds.js +0 -4
- package/lib/interface/kds.js.map +0 -1
- package/lib/interface/location.d.ts.map +0 -1
- package/lib/interface/location.js +0 -4
- package/lib/interface/location.js.map +0 -1
- package/lib/interface/logger.d.ts.map +0 -1
- package/lib/interface/logger.js +0 -4
- package/lib/interface/logger.js.map +0 -1
- package/lib/interface/loyalty.d.ts.map +0 -1
- package/lib/interface/loyalty.js +0 -4
- package/lib/interface/loyalty.js.map +0 -1
- package/lib/interface/mealplan.d.ts.map +0 -1
- package/lib/interface/mealplan.js +0 -4
- package/lib/interface/mealplan.js.map +0 -1
- package/lib/interface/menu.d.ts +0 -444
- package/lib/interface/menu.d.ts.map +0 -1
- package/lib/interface/menu.js +0 -4
- package/lib/interface/menu.js.map +0 -1
- package/lib/interface/message.d.ts.map +0 -1
- package/lib/interface/message.js +0 -4
- package/lib/interface/message.js.map +0 -1
- package/lib/interface/order.d.ts.map +0 -1
- package/lib/interface/order.js +0 -4
- package/lib/interface/order.js.map +0 -1
- package/lib/interface/partner.d.ts.map +0 -1
- package/lib/interface/partner.js +0 -4
- package/lib/interface/partner.js.map +0 -1
- package/lib/interface/payment.d.ts.map +0 -1
- package/lib/interface/payment.js +0 -4
- package/lib/interface/payment.js.map +0 -1
- package/lib/interface/promo.d.ts.map +0 -1
- package/lib/interface/promo.js +0 -4
- package/lib/interface/promo.js.map +0 -1
- package/lib/interface/report.d.ts.map +0 -1
- package/lib/interface/report.js +0 -4
- package/lib/interface/report.js.map +0 -1
- package/lib/interface/schedule.d.ts.map +0 -1
- package/lib/interface/schedule.js +0 -4
- package/lib/interface/schedule.js.map +0 -1
- package/lib/interface/shoppingcart.d.ts.map +0 -1
- package/lib/interface/shoppingcart.js +0 -4
- package/lib/interface/shoppingcart.js.map +0 -1
- package/lib/interface/task.d.ts.map +0 -1
- package/lib/interface/task.js +0 -4
- package/lib/interface/task.js.map +0 -1
- package/lib/interface/user.d.ts.map +0 -1
- package/lib/interface/user.js +0 -4
- package/lib/interface/user.js.map +0 -1
- package/lib/interface/vote.d.ts.map +0 -1
- package/lib/interface/vote.js +0 -4
- package/lib/interface/vote.js.map +0 -1
- package/src/interface/email.ts +0 -30
- package/src/interface/menu.ts +0 -644
- package/test/client.test.ts +0 -192
- package/test/gen.test.ts +0 -22
- /package/lib/{interface/announcement.d.ts → announcement.d.ts} +0 -0
- /package/lib/{interface/brand.d.ts → brand.d.ts} +0 -0
- /package/lib/{interface/calendar.d.ts → calendar.d.ts} +0 -0
- /package/lib/{interface/config.d.ts → config.d.ts} +0 -0
- /package/lib/{interface/datalake.d.ts → datalake.d.ts} +0 -0
- /package/lib/{interface/delivery.d.ts → delivery.d.ts} +0 -0
- /package/lib/{interface/dh.d.ts → dh.d.ts} +0 -0
- /package/lib/{interface/file.d.ts → file.d.ts} +0 -0
- /package/lib/{interface/logger.d.ts → logger.d.ts} +0 -0
- /package/lib/{interface/loyalty.d.ts → loyalty.d.ts} +0 -0
- /package/lib/{interface/mealplan.d.ts → mealplan.d.ts} +0 -0
- /package/lib/{interface/message.d.ts → message.d.ts} +0 -0
- /package/lib/{interface/promo.d.ts → promo.d.ts} +0 -0
- /package/lib/{interface/report.d.ts → report.d.ts} +0 -0
- /package/lib/{interface/schedule.d.ts → schedule.d.ts} +0 -0
- /package/lib/{interface/task.d.ts → task.d.ts} +0 -0
- /package/lib/{interface/vote.d.ts → vote.d.ts} +0 -0
package/lib/index.js
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
// THIS FILE IS AUTOMATICALLY GENERATED, DO NOT MODIFY
|
|
3
2
|
var __extends = (this && this.__extends) || (function () {
|
|
4
3
|
var extendStatics = function (d, b) {
|
|
5
4
|
extendStatics = Object.setPrototypeOf ||
|
|
@@ -15,20 +14,9 @@ var __extends = (this && this.__extends) || (function () {
|
|
|
15
14
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
16
15
|
};
|
|
17
16
|
})();
|
|
18
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
19
|
-
if (k2 === undefined) k2 = k;
|
|
20
|
-
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
21
|
-
}) : (function(o, m, k, k2) {
|
|
22
|
-
if (k2 === undefined) k2 = k;
|
|
23
|
-
o[k2] = m[k];
|
|
24
|
-
}));
|
|
25
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
26
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
27
|
-
};
|
|
28
17
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
18
|
exports.ServiceClient = void 0;
|
|
30
19
|
var base_1 = require("./base");
|
|
31
|
-
__exportStar(require("./base"), exports);
|
|
32
20
|
var ServiceClient = /** @class */ (function (_super) {
|
|
33
21
|
__extends(ServiceClient, _super);
|
|
34
22
|
function ServiceClient() {
|
|
@@ -42,7 +30,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
42
30
|
* @param options - additional request options
|
|
43
31
|
*/
|
|
44
32
|
ServiceClient.prototype.post_payment_transaction = function (id, body, options) {
|
|
45
|
-
return this.request("
|
|
33
|
+
return this.request("post", "/payment/" + id + "/transaction", body, options);
|
|
46
34
|
};
|
|
47
35
|
/**
|
|
48
36
|
* POST /payment/{id}/transaction/{transaction_id}/refund
|
|
@@ -53,7 +41,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
53
41
|
* @param options - additional request options
|
|
54
42
|
*/
|
|
55
43
|
ServiceClient.prototype.post_payment_transaction_refund = function (id, transaction_id, body, options) {
|
|
56
|
-
return this.request("
|
|
44
|
+
return this.request("post", "/payment/" + id + "/transaction/" + transaction_id + "/refund", body, options);
|
|
57
45
|
};
|
|
58
46
|
/**
|
|
59
47
|
* GET /payment/{id}/clienttoken
|
|
@@ -62,7 +50,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
62
50
|
* @param options - additional request options
|
|
63
51
|
*/
|
|
64
52
|
ServiceClient.prototype.get_payment_clienttoken = function (id, options) {
|
|
65
|
-
return this.request("
|
|
53
|
+
return this.request("get", "/payment/" + id + "/clienttoken", null, options);
|
|
66
54
|
};
|
|
67
55
|
/**
|
|
68
56
|
* POST /payment/{id}/paymenttoken
|
|
@@ -72,7 +60,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
72
60
|
* @param options - additional request options
|
|
73
61
|
*/
|
|
74
62
|
ServiceClient.prototype.post_payment_paymenttoken = function (id, body, options) {
|
|
75
|
-
return this.request("
|
|
63
|
+
return this.request("post", "/payment/" + id + "/paymenttoken", body, options);
|
|
76
64
|
};
|
|
77
65
|
/**
|
|
78
66
|
* POST /payment/consumer
|
|
@@ -81,7 +69,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
81
69
|
* @param options - additional request options
|
|
82
70
|
*/
|
|
83
71
|
ServiceClient.prototype.post_payment_consumer = function (body, options) {
|
|
84
|
-
return this.request("
|
|
72
|
+
return this.request("post", "/payment/consumer", body, options);
|
|
85
73
|
};
|
|
86
74
|
/**
|
|
87
75
|
* POST /payment/method
|
|
@@ -90,7 +78,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
90
78
|
* @param options - additional request options
|
|
91
79
|
*/
|
|
92
80
|
ServiceClient.prototype.post_payment_method = function (body, options) {
|
|
93
|
-
return this.request("
|
|
81
|
+
return this.request("post", "/payment/method", body, options);
|
|
94
82
|
};
|
|
95
83
|
/**
|
|
96
84
|
* GET /payment/{id}/method - Get a users available payment methods
|
|
@@ -99,7 +87,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
99
87
|
* @param options - additional request options
|
|
100
88
|
*/
|
|
101
89
|
ServiceClient.prototype.get_payment_method = function (id, options) {
|
|
102
|
-
return this.request("
|
|
90
|
+
return this.request("get", "/payment/" + id + "/method", null, options);
|
|
103
91
|
};
|
|
104
92
|
/**
|
|
105
93
|
* DELETE /payment/{id}/method/{method_id}
|
|
@@ -110,7 +98,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
110
98
|
* @param options - additional request options
|
|
111
99
|
*/
|
|
112
100
|
ServiceClient.prototype.delete_payment_method = function (id, method_id, body, options) {
|
|
113
|
-
return this.request("
|
|
101
|
+
return this.request("delete", "/payment/" + id + "/method/" + method_id, body, options);
|
|
114
102
|
};
|
|
115
103
|
/**
|
|
116
104
|
* GET /payment/token
|
|
@@ -118,7 +106,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
118
106
|
* @param options - additional request options
|
|
119
107
|
*/
|
|
120
108
|
ServiceClient.prototype.get_payment_token = function (options) {
|
|
121
|
-
return this.request("
|
|
109
|
+
return this.request("get", "/payment/token", null, options);
|
|
122
110
|
};
|
|
123
111
|
/**
|
|
124
112
|
* POST /payment/token
|
|
@@ -127,7 +115,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
127
115
|
* @param options - additional request options
|
|
128
116
|
*/
|
|
129
117
|
ServiceClient.prototype.post_payment_token = function (body, options) {
|
|
130
|
-
return this.request("
|
|
118
|
+
return this.request("post", "/payment/token", body, options);
|
|
131
119
|
};
|
|
132
120
|
/**
|
|
133
121
|
* PUT /payment/token
|
|
@@ -136,7 +124,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
136
124
|
* @param options - additional request options
|
|
137
125
|
*/
|
|
138
126
|
ServiceClient.prototype.put_payment_token = function (body, options) {
|
|
139
|
-
return this.request("
|
|
127
|
+
return this.request("put", "/payment/token", body, options);
|
|
140
128
|
};
|
|
141
129
|
/**
|
|
142
130
|
* DELETE /payment/token
|
|
@@ -145,7 +133,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
145
133
|
* @param options - additional request options
|
|
146
134
|
*/
|
|
147
135
|
ServiceClient.prototype.delete_payment_token = function (body, options) {
|
|
148
|
-
return this.request("
|
|
136
|
+
return this.request("delete", "/payment/token", body, options);
|
|
149
137
|
};
|
|
150
138
|
/**
|
|
151
139
|
* GET /payment/methods
|
|
@@ -153,7 +141,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
153
141
|
* @param options - additional request options
|
|
154
142
|
*/
|
|
155
143
|
ServiceClient.prototype.get_payment_methods = function (options) {
|
|
156
|
-
return this.request("
|
|
144
|
+
return this.request("get", "/payment/methods", null, options);
|
|
157
145
|
};
|
|
158
146
|
/**
|
|
159
147
|
* GET /payment/hpc
|
|
@@ -161,7 +149,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
161
149
|
* @param options - additional request options
|
|
162
150
|
*/
|
|
163
151
|
ServiceClient.prototype.get_payment_hpc = function (options) {
|
|
164
|
-
return this.request("
|
|
152
|
+
return this.request("get", "/payment/hpc", null, options);
|
|
165
153
|
};
|
|
166
154
|
/**
|
|
167
155
|
* POST /order - Create an Order
|
|
@@ -170,7 +158,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
170
158
|
* @param options - additional request options
|
|
171
159
|
*/
|
|
172
160
|
ServiceClient.prototype.post_order = function (body, options) {
|
|
173
|
-
return this.request("
|
|
161
|
+
return this.request("post", "/order", body, options);
|
|
174
162
|
};
|
|
175
163
|
/**
|
|
176
164
|
* GET /order/{id} - Get an individual order
|
|
@@ -179,7 +167,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
179
167
|
* @param options - additional request options
|
|
180
168
|
*/
|
|
181
169
|
ServiceClient.prototype.get_order = function (id, options) {
|
|
182
|
-
return this.request("
|
|
170
|
+
return this.request("get", "/order/" + id, null, options);
|
|
183
171
|
};
|
|
184
172
|
/**
|
|
185
173
|
* PUT /order/{id} - Update an individual order
|
|
@@ -188,7 +176,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
188
176
|
* @param options - additional request options
|
|
189
177
|
*/
|
|
190
178
|
ServiceClient.prototype.put_order = function (id, options) {
|
|
191
|
-
return this.request("
|
|
179
|
+
return this.request("put", "/order/" + id, null, options);
|
|
192
180
|
};
|
|
193
181
|
/**
|
|
194
182
|
* PATCH /order/{id} - Update an existing order
|
|
@@ -198,7 +186,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
198
186
|
* @param options - additional request options
|
|
199
187
|
*/
|
|
200
188
|
ServiceClient.prototype.patch_order = function (id, body, options) {
|
|
201
|
-
return this.request("
|
|
189
|
+
return this.request("patch", "/order/" + id, body, options);
|
|
202
190
|
};
|
|
203
191
|
/**
|
|
204
192
|
* POST /order/{id}/issue - Create an issue with an order
|
|
@@ -208,7 +196,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
208
196
|
* @param options - additional request options
|
|
209
197
|
*/
|
|
210
198
|
ServiceClient.prototype.post_order_issue = function (id, body, options) {
|
|
211
|
-
return this.request("
|
|
199
|
+
return this.request("post", "/order/" + id + "/issue", body, options);
|
|
212
200
|
};
|
|
213
201
|
/**
|
|
214
202
|
* PATCH /order/{id}/refund - Issue a refund on an existing order
|
|
@@ -218,7 +206,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
218
206
|
* @param options - additional request options
|
|
219
207
|
*/
|
|
220
208
|
ServiceClient.prototype.patch_order_refund = function (id, body, options) {
|
|
221
|
-
return this.request("
|
|
209
|
+
return this.request("patch", "/order/" + id + "/refund", body, options);
|
|
222
210
|
};
|
|
223
211
|
/**
|
|
224
212
|
* GET /order/customer/{id} - Get all orders for a Customer
|
|
@@ -227,7 +215,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
227
215
|
* @param options - additional request options
|
|
228
216
|
*/
|
|
229
217
|
ServiceClient.prototype.get_order_customer_orders = function (id, options) {
|
|
230
|
-
return this.request("
|
|
218
|
+
return this.request("get", "/order/customer/" + id, null, options);
|
|
231
219
|
};
|
|
232
220
|
/**
|
|
233
221
|
* GET /order/customer/{id}/location/brand/{location_brand} - Get all orders for a Customer for a specific Location Brand
|
|
@@ -237,7 +225,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
237
225
|
* @param options - additional request options
|
|
238
226
|
*/
|
|
239
227
|
ServiceClient.prototype.get_order_customer_orders_brand = function (id, location_brand, options) {
|
|
240
|
-
return this.request("
|
|
228
|
+
return this.request("get", "/order/customer/" + id + "/location/brand/" + location_brand, null, options);
|
|
241
229
|
};
|
|
242
230
|
/**
|
|
243
231
|
* GET /order/location/brand/{id} - Get all orders for a location Brand
|
|
@@ -245,8 +233,8 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
245
233
|
* @param id - The location brand ID
|
|
246
234
|
* @param options - additional request options
|
|
247
235
|
*/
|
|
248
|
-
ServiceClient.prototype.
|
|
249
|
-
return this.request("
|
|
236
|
+
ServiceClient.prototype.get_order_brand_orders = function (id, options) {
|
|
237
|
+
return this.request("get", "/order/location/brand/" + id, null, options);
|
|
250
238
|
};
|
|
251
239
|
/**
|
|
252
240
|
* GET /order/location/{id} - Get all orders for a location
|
|
@@ -255,7 +243,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
255
243
|
* @param options - additional request options
|
|
256
244
|
*/
|
|
257
245
|
ServiceClient.prototype.get_order_location_orders = function (id, options) {
|
|
258
|
-
return this.request("
|
|
246
|
+
return this.request("get", "/order/location/" + id, null, options);
|
|
259
247
|
};
|
|
260
248
|
/**
|
|
261
249
|
* GET /order/location/group/{id} - Get all orders for a location group
|
|
@@ -264,16 +252,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
264
252
|
* @param options - additional request options
|
|
265
253
|
*/
|
|
266
254
|
ServiceClient.prototype.get_order_group_orders = function (id, options) {
|
|
267
|
-
return this.request("
|
|
268
|
-
};
|
|
269
|
-
/**
|
|
270
|
-
* PATCH /order/{id}/checkin - Accept an order by checking in
|
|
271
|
-
*
|
|
272
|
-
* @param id - The order ID
|
|
273
|
-
* @param options - additional request options
|
|
274
|
-
*/
|
|
275
|
-
ServiceClient.prototype.patch_order_checkin = function (id, options) {
|
|
276
|
-
return this.request("order", "patch_order_checkin", "patch", "/order/" + id + "/checkin", null, options);
|
|
255
|
+
return this.request("get", "/order/location/group/" + id, null, options);
|
|
277
256
|
};
|
|
278
257
|
/**
|
|
279
258
|
* POST /location - Create a new location
|
|
@@ -282,7 +261,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
282
261
|
* @param options - additional request options
|
|
283
262
|
*/
|
|
284
263
|
ServiceClient.prototype.post_location = function (body, options) {
|
|
285
|
-
return this.request("
|
|
264
|
+
return this.request("post", "/location", body, options);
|
|
286
265
|
};
|
|
287
266
|
/**
|
|
288
267
|
* GET /location - Get all location
|
|
@@ -290,7 +269,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
290
269
|
* @param options - additional request options
|
|
291
270
|
*/
|
|
292
271
|
ServiceClient.prototype.get_locations = function (options) {
|
|
293
|
-
return this.request("
|
|
272
|
+
return this.request("get", "/location", null, options);
|
|
294
273
|
};
|
|
295
274
|
/**
|
|
296
275
|
* GET /location/search - Gets Location within a radius of the provided point
|
|
@@ -298,7 +277,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
298
277
|
* @param options - additional request options
|
|
299
278
|
*/
|
|
300
279
|
ServiceClient.prototype.get_location_search = function (options) {
|
|
301
|
-
return this.request("
|
|
280
|
+
return this.request("get", "/location/search", null, options);
|
|
302
281
|
};
|
|
303
282
|
/**
|
|
304
283
|
* GET /location/{id} - Get an individual Location
|
|
@@ -307,7 +286,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
307
286
|
* @param options - additional request options
|
|
308
287
|
*/
|
|
309
288
|
ServiceClient.prototype.get_location = function (id, options) {
|
|
310
|
-
return this.request("
|
|
289
|
+
return this.request("get", "/location/" + id, null, options);
|
|
311
290
|
};
|
|
312
291
|
/**
|
|
313
292
|
* PUT /location/{id} - Override a complete Location
|
|
@@ -317,7 +296,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
317
296
|
* @param options - additional request options
|
|
318
297
|
*/
|
|
319
298
|
ServiceClient.prototype.put_location = function (id, body, options) {
|
|
320
|
-
return this.request("
|
|
299
|
+
return this.request("put", "/location/" + id, body, options);
|
|
321
300
|
};
|
|
322
301
|
/**
|
|
323
302
|
* DELETE /location/{id} - Delete brands from a Location
|
|
@@ -327,7 +306,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
327
306
|
* @param options - additional request options
|
|
328
307
|
*/
|
|
329
308
|
ServiceClient.prototype.delete_location = function (id, body, options) {
|
|
330
|
-
return this.request("
|
|
309
|
+
return this.request("delete", "/location/" + id, body, options);
|
|
331
310
|
};
|
|
332
311
|
/**
|
|
333
312
|
* PATCH /location/{id} - Update a Location
|
|
@@ -337,7 +316,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
337
316
|
* @param options - additional request options
|
|
338
317
|
*/
|
|
339
318
|
ServiceClient.prototype.patch_location = function (id, body, options) {
|
|
340
|
-
return this.request("
|
|
319
|
+
return this.request("patch", "/location/" + id, body, options);
|
|
341
320
|
};
|
|
342
321
|
/**
|
|
343
322
|
* GET /location/pos/{id} - Get information about a POS
|
|
@@ -346,7 +325,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
346
325
|
* @param options - additional request options
|
|
347
326
|
*/
|
|
348
327
|
ServiceClient.prototype.get_location_pos = function (id, options) {
|
|
349
|
-
return this.request("
|
|
328
|
+
return this.request("get", "/location/pos/" + id, null, options);
|
|
350
329
|
};
|
|
351
330
|
/**
|
|
352
331
|
* PUT /location/pos/{id} - Set information about a POS
|
|
@@ -356,7 +335,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
356
335
|
* @param options - additional request options
|
|
357
336
|
*/
|
|
358
337
|
ServiceClient.prototype.put_location_pos = function (id, body, options) {
|
|
359
|
-
return this.request("
|
|
338
|
+
return this.request("put", "/location/pos/" + id, body, options);
|
|
360
339
|
};
|
|
361
340
|
/**
|
|
362
341
|
* GET /location/multigroup - Get all the top level multigroups
|
|
@@ -364,7 +343,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
364
343
|
* @param options - additional request options
|
|
365
344
|
*/
|
|
366
345
|
ServiceClient.prototype.get_location_multigroups = function (options) {
|
|
367
|
-
return this.request("
|
|
346
|
+
return this.request("get", "/location/multigroup", null, options);
|
|
368
347
|
};
|
|
369
348
|
/**
|
|
370
349
|
* POST /location/multigroup - Create a new multigroup
|
|
@@ -373,7 +352,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
373
352
|
* @param options - additional request options
|
|
374
353
|
*/
|
|
375
354
|
ServiceClient.prototype.post_location_multigroup = function (body, options) {
|
|
376
|
-
return this.request("
|
|
355
|
+
return this.request("post", "/location/multigroup", body, options);
|
|
377
356
|
};
|
|
378
357
|
/**
|
|
379
358
|
* GET /location/multigroup/{id} - Get a multigroup
|
|
@@ -382,7 +361,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
382
361
|
* @param options - additional request options
|
|
383
362
|
*/
|
|
384
363
|
ServiceClient.prototype.get_location_multigroup = function (id, options) {
|
|
385
|
-
return this.request("
|
|
364
|
+
return this.request("get", "/location/multigroup/" + id, null, options);
|
|
386
365
|
};
|
|
387
366
|
/**
|
|
388
367
|
* PUT /location/multigroup/{id} - Override a complete multigroup
|
|
@@ -392,7 +371,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
392
371
|
* @param options - additional request options
|
|
393
372
|
*/
|
|
394
373
|
ServiceClient.prototype.put_location_multigroup = function (id, body, options) {
|
|
395
|
-
return this.request("
|
|
374
|
+
return this.request("put", "/location/multigroup/" + id, body, options);
|
|
396
375
|
};
|
|
397
376
|
/**
|
|
398
377
|
* DELETE /location/multigroup/{id} - Delete groups from a multigroup
|
|
@@ -402,7 +381,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
402
381
|
* @param options - additional request options
|
|
403
382
|
*/
|
|
404
383
|
ServiceClient.prototype.delete_location_multigroup = function (id, body, options) {
|
|
405
|
-
return this.request("
|
|
384
|
+
return this.request("delete", "/location/multigroup/" + id, body, options);
|
|
406
385
|
};
|
|
407
386
|
/**
|
|
408
387
|
* PATCH /location/multigroup/{id} - Update a multigroup
|
|
@@ -412,7 +391,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
412
391
|
* @param options - additional request options
|
|
413
392
|
*/
|
|
414
393
|
ServiceClient.prototype.patch_location_multigroup = function (id, body, options) {
|
|
415
|
-
return this.request("
|
|
394
|
+
return this.request("patch", "/location/multigroup/" + id, body, options);
|
|
416
395
|
};
|
|
417
396
|
/**
|
|
418
397
|
* GET /location/multigroup/{id}/user/{user_id} - Get all the groups in a multigroup specific to user permissions
|
|
@@ -422,7 +401,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
422
401
|
* @param options - additional request options
|
|
423
402
|
*/
|
|
424
403
|
ServiceClient.prototype.get_location_user_multigroup = function (id, user_id, options) {
|
|
425
|
-
return this.request("
|
|
404
|
+
return this.request("get", "/location/multigroup/" + id + "/user/" + user_id, null, options);
|
|
426
405
|
};
|
|
427
406
|
/**
|
|
428
407
|
* POST /location/group - Create a new group
|
|
@@ -431,7 +410,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
431
410
|
* @param options - additional request options
|
|
432
411
|
*/
|
|
433
412
|
ServiceClient.prototype.post_location_group = function (body, options) {
|
|
434
|
-
return this.request("
|
|
413
|
+
return this.request("post", "/location/group", body, options);
|
|
435
414
|
};
|
|
436
415
|
/**
|
|
437
416
|
* GET /location/group/{id} - Get an individual Group based on id or latitude/longitude
|
|
@@ -440,7 +419,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
440
419
|
* @param options - additional request options
|
|
441
420
|
*/
|
|
442
421
|
ServiceClient.prototype.get_location_group = function (id, options) {
|
|
443
|
-
return this.request("
|
|
422
|
+
return this.request("get", "/location/group/" + id, null, options);
|
|
444
423
|
};
|
|
445
424
|
/**
|
|
446
425
|
* PUT /location/group/{id} - Override a complete Group
|
|
@@ -450,7 +429,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
450
429
|
* @param options - additional request options
|
|
451
430
|
*/
|
|
452
431
|
ServiceClient.prototype.put_location_group = function (id, body, options) {
|
|
453
|
-
return this.request("
|
|
432
|
+
return this.request("put", "/location/group/" + id, body, options);
|
|
454
433
|
};
|
|
455
434
|
/**
|
|
456
435
|
* DELETE /location/group/{id} - Delete locations from a Group
|
|
@@ -460,7 +439,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
460
439
|
* @param options - additional request options
|
|
461
440
|
*/
|
|
462
441
|
ServiceClient.prototype.delete_location_group = function (id, body, options) {
|
|
463
|
-
return this.request("
|
|
442
|
+
return this.request("delete", "/location/group/" + id, body, options);
|
|
464
443
|
};
|
|
465
444
|
/**
|
|
466
445
|
* PATCH /location/group/{id} - Update a Group
|
|
@@ -470,7 +449,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
470
449
|
* @param options - additional request options
|
|
471
450
|
*/
|
|
472
451
|
ServiceClient.prototype.patch_location_group = function (id, body, options) {
|
|
473
|
-
return this.request("
|
|
452
|
+
return this.request("patch", "/location/group/" + id, body, options);
|
|
474
453
|
};
|
|
475
454
|
/**
|
|
476
455
|
* GET /location/group/{id}/deliverydestination - Get all delivery destinations for group
|
|
@@ -479,7 +458,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
479
458
|
* @param options - additional request options
|
|
480
459
|
*/
|
|
481
460
|
ServiceClient.prototype.get_location_group_deliverydestinations = function (id, options) {
|
|
482
|
-
return this.request("
|
|
461
|
+
return this.request("get", "/location/group/" + id + "/deliverydestination", null, options);
|
|
483
462
|
};
|
|
484
463
|
/**
|
|
485
464
|
* POST /location/group/{id}/deliverydestination - Create a new location group delivery destination
|
|
@@ -489,37 +468,38 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
489
468
|
* @param options - additional request options
|
|
490
469
|
*/
|
|
491
470
|
ServiceClient.prototype.post_location_group_deliverydestination = function (id, body, options) {
|
|
492
|
-
return this.request("
|
|
471
|
+
return this.request("post", "/location/group/" + id + "/deliverydestination", body, options);
|
|
493
472
|
};
|
|
494
473
|
/**
|
|
495
|
-
*
|
|
474
|
+
* GET /location/group/{id}/deliverydestination/{delivery_destination} - Get a delivery destination
|
|
496
475
|
*
|
|
497
476
|
* @param id - Group ID
|
|
498
|
-
* @param
|
|
477
|
+
* @param delivery_destination - Delivery Destination ID
|
|
499
478
|
* @param options - additional request options
|
|
500
479
|
*/
|
|
501
|
-
ServiceClient.prototype.
|
|
502
|
-
return this.request("
|
|
480
|
+
ServiceClient.prototype.get_location_group_deliverydestination = function (id, delivery_destination, options) {
|
|
481
|
+
return this.request("get", "/location/group/" + id + "/deliverydestination/" + delivery_destination, null, options);
|
|
503
482
|
};
|
|
504
483
|
/**
|
|
505
|
-
*
|
|
484
|
+
* PATCH /location/group/{id}/deliverydestination/{delivery_destination} - Patch a delivery destination
|
|
506
485
|
*
|
|
507
486
|
* @param id - Group ID
|
|
487
|
+
* @param delivery_destination - Delivery Destination ID
|
|
508
488
|
* @param body
|
|
509
489
|
* @param options - additional request options
|
|
510
490
|
*/
|
|
511
|
-
ServiceClient.prototype.
|
|
512
|
-
return this.request("
|
|
491
|
+
ServiceClient.prototype.patch_location_group_deliverydestination = function (id, delivery_destination, body, options) {
|
|
492
|
+
return this.request("patch", "/location/group/" + id + "/deliverydestination/" + delivery_destination, body, options);
|
|
513
493
|
};
|
|
514
494
|
/**
|
|
515
|
-
*
|
|
495
|
+
* DELETE /location/group/{id}/deliverydestination/{delivery_destination} - Delete a delivery destination
|
|
516
496
|
*
|
|
517
497
|
* @param id - Group ID
|
|
518
498
|
* @param delivery_destination - Delivery Destination ID
|
|
519
499
|
* @param options - additional request options
|
|
520
500
|
*/
|
|
521
|
-
ServiceClient.prototype.
|
|
522
|
-
return this.request("
|
|
501
|
+
ServiceClient.prototype.delete_location_group_deliverydestination = function (id, delivery_destination, options) {
|
|
502
|
+
return this.request("delete", "/location/group/" + id + "/deliverydestination/" + delivery_destination, null, options);
|
|
523
503
|
};
|
|
524
504
|
/**
|
|
525
505
|
* GET /location/group/{id}/user/{user_id} - Get a location group info specific to user read permissions
|
|
@@ -529,7 +509,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
529
509
|
* @param options - additional request options
|
|
530
510
|
*/
|
|
531
511
|
ServiceClient.prototype.get_location_user_group = function (id, user_id, options) {
|
|
532
|
-
return this.request("
|
|
512
|
+
return this.request("get", "/location/group/" + id + "/user/" + user_id, null, options);
|
|
533
513
|
};
|
|
534
514
|
/**
|
|
535
515
|
* GET /location/brands - Get all location brands
|
|
@@ -537,7 +517,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
537
517
|
* @param options - additional request options
|
|
538
518
|
*/
|
|
539
519
|
ServiceClient.prototype.get_location_brands = function (options) {
|
|
540
|
-
return this.request("
|
|
520
|
+
return this.request("get", "/location/brands", null, options);
|
|
541
521
|
};
|
|
542
522
|
/**
|
|
543
523
|
* GET /location/brand/{id}/deliverydestinations - Get delivery destinations for a brand
|
|
@@ -546,7 +526,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
546
526
|
* @param options - additional request options
|
|
547
527
|
*/
|
|
548
528
|
ServiceClient.prototype.get_location_brand_destinations = function (id, options) {
|
|
549
|
-
return this.request("
|
|
529
|
+
return this.request("get", "/location/brand/" + id + "/deliverydestinations", null, options);
|
|
550
530
|
};
|
|
551
531
|
/**
|
|
552
532
|
* POST /location/brand/{id}/document - Attach document to a brand
|
|
@@ -556,7 +536,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
556
536
|
* @param options - additional request options
|
|
557
537
|
*/
|
|
558
538
|
ServiceClient.prototype.post_location_brand_document = function (id, body, options) {
|
|
559
|
-
return this.request("
|
|
539
|
+
return this.request("post", "/location/brand/" + id + "/document", body, options);
|
|
560
540
|
};
|
|
561
541
|
/**
|
|
562
542
|
* PATCH /location/brand/{id}/document - Edit location document
|
|
@@ -565,7 +545,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
565
545
|
* @param options - additional request options
|
|
566
546
|
*/
|
|
567
547
|
ServiceClient.prototype.patch_location_brand_document = function (id, options) {
|
|
568
|
-
return this.request("
|
|
548
|
+
return this.request("patch", "/location/brand/" + id + "/document", null, options);
|
|
569
549
|
};
|
|
570
550
|
/**
|
|
571
551
|
* DELETE /location/brand/{id}/document - Deleted brand document
|
|
@@ -574,7 +554,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
574
554
|
* @param options - additional request options
|
|
575
555
|
*/
|
|
576
556
|
ServiceClient.prototype.delete_location_brand_document = function (id, options) {
|
|
577
|
-
return this.request("
|
|
557
|
+
return this.request("delete", "/location/brand/" + id + "/document", null, options);
|
|
578
558
|
};
|
|
579
559
|
/**
|
|
580
560
|
* GET /location/brand/{id}/documents - Get location brand attached documents
|
|
@@ -583,7 +563,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
583
563
|
* @param options - additional request options
|
|
584
564
|
*/
|
|
585
565
|
ServiceClient.prototype.get_location_brand_documents = function (id, options) {
|
|
586
|
-
return this.request("
|
|
566
|
+
return this.request("get", "/location/brand/" + id + "/documents", null, options);
|
|
587
567
|
};
|
|
588
568
|
/**
|
|
589
569
|
* GET /location/brand/{id}/timeslots - Get location brand timeslots
|
|
@@ -592,7 +572,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
592
572
|
* @param options - additional request options
|
|
593
573
|
*/
|
|
594
574
|
ServiceClient.prototype.get_location_brand_timeslots = function (id, options) {
|
|
595
|
-
return this.request("
|
|
575
|
+
return this.request("get", "/location/brand/" + id + "/timeslots", null, options);
|
|
596
576
|
};
|
|
597
577
|
/**
|
|
598
578
|
* POST /location/marketplace/timeslots - Get Market Place timeslots
|
|
@@ -601,7 +581,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
601
581
|
* @param options - additional request options
|
|
602
582
|
*/
|
|
603
583
|
ServiceClient.prototype.post_location_marketplace_timeslots = function (body, options) {
|
|
604
|
-
return this.request("
|
|
584
|
+
return this.request("post", "/location/marketplace/timeslots", body, options);
|
|
605
585
|
};
|
|
606
586
|
/**
|
|
607
587
|
* POST /location/marketplace/timeslots/delivery - Get Marketplace delivery timeslots
|
|
@@ -610,7 +590,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
610
590
|
* @param options - additional request options
|
|
611
591
|
*/
|
|
612
592
|
ServiceClient.prototype.post_location_marketplace_timeslots_delivery = function (body, options) {
|
|
613
|
-
return this.request("
|
|
593
|
+
return this.request("post", "/location/marketplace/timeslots/delivery", body, options);
|
|
614
594
|
};
|
|
615
595
|
/**
|
|
616
596
|
* GET /location/brand/{id}/timeslots/menu/{menu} - Get location brand timeslots for menu
|
|
@@ -620,7 +600,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
620
600
|
* @param options - additional request options
|
|
621
601
|
*/
|
|
622
602
|
ServiceClient.prototype.get_location_brand_menu_timeslots = function (id, menu, options) {
|
|
623
|
-
return this.request("
|
|
603
|
+
return this.request("get", "/location/brand/" + id + "/timeslots/menu/" + menu, null, options);
|
|
624
604
|
};
|
|
625
605
|
/**
|
|
626
606
|
* GET /location/brand/{id}/timeslots/delivery - Get location brand delivery timeslots
|
|
@@ -629,7 +609,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
629
609
|
* @param options - additional request options
|
|
630
610
|
*/
|
|
631
611
|
ServiceClient.prototype.get_location_brand_delivery_timeslots = function (id, options) {
|
|
632
|
-
return this.request("
|
|
612
|
+
return this.request("get", "/location/brand/" + id + "/timeslots/delivery", null, options);
|
|
633
613
|
};
|
|
634
614
|
/**
|
|
635
615
|
* GET /location/brand/{id}/timeslots/delivery/menu/{menu} - Get location brand delivery timeslots for menu
|
|
@@ -639,7 +619,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
639
619
|
* @param options - additional request options
|
|
640
620
|
*/
|
|
641
621
|
ServiceClient.prototype.get_location_brand_menu_delivery_timeslosts = function (id, menu, options) {
|
|
642
|
-
return this.request("
|
|
622
|
+
return this.request("get", "/location/brand/" + id + "/timeslots/delivery/menu/" + menu, null, options);
|
|
643
623
|
};
|
|
644
624
|
/**
|
|
645
625
|
* POST /location/brand - Create a new Brand
|
|
@@ -648,7 +628,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
648
628
|
* @param options - additional request options
|
|
649
629
|
*/
|
|
650
630
|
ServiceClient.prototype.post_location_brand = function (body, options) {
|
|
651
|
-
return this.request("
|
|
631
|
+
return this.request("post", "/location/brand", body, options);
|
|
652
632
|
};
|
|
653
633
|
/**
|
|
654
634
|
* GET /location/brand/{id} - Get location brand
|
|
@@ -657,7 +637,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
657
637
|
* @param options - additional request options
|
|
658
638
|
*/
|
|
659
639
|
ServiceClient.prototype.get_location_brand = function (id, options) {
|
|
660
|
-
return this.request("
|
|
640
|
+
return this.request("get", "/location/brand/" + id, null, options);
|
|
661
641
|
};
|
|
662
642
|
/**
|
|
663
643
|
* PATCH /location/brand/{id} - Update location brand
|
|
@@ -667,7 +647,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
667
647
|
* @param options - additional request options
|
|
668
648
|
*/
|
|
669
649
|
ServiceClient.prototype.patch_location_brand = function (id, body, options) {
|
|
670
|
-
return this.request("
|
|
650
|
+
return this.request("patch", "/location/brand/" + id, body, options);
|
|
671
651
|
};
|
|
672
652
|
/**
|
|
673
653
|
* DELETE /location/brand/{id} - Delete data from a Brand
|
|
@@ -677,7 +657,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
677
657
|
* @param options - additional request options
|
|
678
658
|
*/
|
|
679
659
|
ServiceClient.prototype.delete_location_brand = function (id, body, options) {
|
|
680
|
-
return this.request("
|
|
660
|
+
return this.request("delete", "/location/brand/" + id, body, options);
|
|
681
661
|
};
|
|
682
662
|
/**
|
|
683
663
|
* PUT /location/brand/{id} - Update location brand
|
|
@@ -687,7 +667,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
687
667
|
* @param options - additional request options
|
|
688
668
|
*/
|
|
689
669
|
ServiceClient.prototype.put_location_brand = function (id, body, options) {
|
|
690
|
-
return this.request("
|
|
670
|
+
return this.request("put", "/location/brand/" + id, body, options);
|
|
691
671
|
};
|
|
692
672
|
/**
|
|
693
673
|
* GET /location/sector - Get list of all the sectors
|
|
@@ -695,7 +675,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
695
675
|
* @param options - additional request options
|
|
696
676
|
*/
|
|
697
677
|
ServiceClient.prototype.get_location_sectors = function (options) {
|
|
698
|
-
return this.request("
|
|
678
|
+
return this.request("get", "/location/sector", null, options);
|
|
699
679
|
};
|
|
700
680
|
/**
|
|
701
681
|
* POST /location/sector - Create a new sector
|
|
@@ -704,7 +684,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
704
684
|
* @param options - additional request options
|
|
705
685
|
*/
|
|
706
686
|
ServiceClient.prototype.post_location_sector = function (body, options) {
|
|
707
|
-
return this.request("
|
|
687
|
+
return this.request("post", "/location/sector", body, options);
|
|
708
688
|
};
|
|
709
689
|
/**
|
|
710
690
|
* GET /location/sector/{id} - Get a sector
|
|
@@ -713,7 +693,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
713
693
|
* @param options - additional request options
|
|
714
694
|
*/
|
|
715
695
|
ServiceClient.prototype.get_location_sector = function (id, options) {
|
|
716
|
-
return this.request("
|
|
696
|
+
return this.request("get", "/location/sector/" + id, null, options);
|
|
717
697
|
};
|
|
718
698
|
/**
|
|
719
699
|
* PATCH /location/sector/{id} - Update a sector
|
|
@@ -723,7 +703,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
723
703
|
* @param options - additional request options
|
|
724
704
|
*/
|
|
725
705
|
ServiceClient.prototype.patch_location_sector = function (id, body, options) {
|
|
726
|
-
return this.request("
|
|
706
|
+
return this.request("patch", "/location/sector/" + id, body, options);
|
|
727
707
|
};
|
|
728
708
|
/**
|
|
729
709
|
* POST /location/company - Create a new company
|
|
@@ -732,7 +712,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
732
712
|
* @param options - additional request options
|
|
733
713
|
*/
|
|
734
714
|
ServiceClient.prototype.post_location_company = function (body, options) {
|
|
735
|
-
return this.request("
|
|
715
|
+
return this.request("post", "/location/company", body, options);
|
|
736
716
|
};
|
|
737
717
|
/**
|
|
738
718
|
* GET /location/company/{id} - Get a company within sector
|
|
@@ -741,7 +721,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
741
721
|
* @param options - additional request options
|
|
742
722
|
*/
|
|
743
723
|
ServiceClient.prototype.get_location_company = function (id, options) {
|
|
744
|
-
return this.request("
|
|
724
|
+
return this.request("get", "/location/company/" + id, null, options);
|
|
745
725
|
};
|
|
746
726
|
/**
|
|
747
727
|
* PATCH /location/company/{id} - Update a company
|
|
@@ -751,7 +731,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
751
731
|
* @param options - additional request options
|
|
752
732
|
*/
|
|
753
733
|
ServiceClient.prototype.patch_location_company = function (id, body, options) {
|
|
754
|
-
return this.request("
|
|
734
|
+
return this.request("patch", "/location/company/" + id, body, options);
|
|
755
735
|
};
|
|
756
736
|
/**
|
|
757
737
|
* POST /shoppingcart/ - Create a new ShoppingCart
|
|
@@ -760,7 +740,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
760
740
|
* @param options - additional request options
|
|
761
741
|
*/
|
|
762
742
|
ServiceClient.prototype.post_shoppingcart_cart = function (body, options) {
|
|
763
|
-
return this.request("
|
|
743
|
+
return this.request("post", "/shoppingcart/", body, options);
|
|
764
744
|
};
|
|
765
745
|
/**
|
|
766
746
|
* PUT /shoppingcart/{id} - Put a menu item into a ShoppingCart
|
|
@@ -770,7 +750,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
770
750
|
* @param options - additional request options
|
|
771
751
|
*/
|
|
772
752
|
ServiceClient.prototype.put_shoppingcart_cart_items = function (id, body, options) {
|
|
773
|
-
return this.request("
|
|
753
|
+
return this.request("put", "/shoppingcart/" + id, body, options);
|
|
774
754
|
};
|
|
775
755
|
/**
|
|
776
756
|
* DELETE /shoppingcart/{id} - Delete a menu item from a ShoppingCart
|
|
@@ -780,7 +760,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
780
760
|
* @param options - additional request options
|
|
781
761
|
*/
|
|
782
762
|
ServiceClient.prototype.delete_shoppingcart_cart_items = function (id, body, options) {
|
|
783
|
-
return this.request("
|
|
763
|
+
return this.request("delete", "/shoppingcart/" + id, body, options);
|
|
784
764
|
};
|
|
785
765
|
/**
|
|
786
766
|
* GET /shoppingcart/{id} - Get an individual ShoppingCart
|
|
@@ -789,7 +769,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
789
769
|
* @param options - additional request options
|
|
790
770
|
*/
|
|
791
771
|
ServiceClient.prototype.get_shoppingcart_cart = function (id, options) {
|
|
792
|
-
return this.request("
|
|
772
|
+
return this.request("get", "/shoppingcart/" + id, null, options);
|
|
793
773
|
};
|
|
794
774
|
/**
|
|
795
775
|
* PATCH /shoppingcart/{id} - Update a ShoppingCart
|
|
@@ -798,7 +778,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
798
778
|
* @param options - additional request options
|
|
799
779
|
*/
|
|
800
780
|
ServiceClient.prototype.patch_shoppingcart_cart = function (id, options) {
|
|
801
|
-
return this.request("
|
|
781
|
+
return this.request("patch", "/shoppingcart/" + id, null, options);
|
|
802
782
|
};
|
|
803
783
|
/**
|
|
804
784
|
* PUT /shoppingcart/{id}/promo - Put a promo in a ShoppingCart
|
|
@@ -808,7 +788,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
808
788
|
* @param options - additional request options
|
|
809
789
|
*/
|
|
810
790
|
ServiceClient.prototype.put_shoppingcart_cart_promo = function (id, body, options) {
|
|
811
|
-
return this.request("
|
|
791
|
+
return this.request("put", "/shoppingcart/" + id + "/promo", body, options);
|
|
812
792
|
};
|
|
813
793
|
/**
|
|
814
794
|
* DELETE /shoppingcart/{id}/promo - Delete the promo in a ShoppingCart
|
|
@@ -817,7 +797,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
817
797
|
* @param options - additional request options
|
|
818
798
|
*/
|
|
819
799
|
ServiceClient.prototype.delete_shoppingcart_cart_promo = function (id, options) {
|
|
820
|
-
return this.request("
|
|
800
|
+
return this.request("delete", "/shoppingcart/" + id + "/promo", null, options);
|
|
821
801
|
};
|
|
822
802
|
/**
|
|
823
803
|
* PUT /shoppingcart/{id}/paymentmethod/ - Change payment method used in shopping cart
|
|
@@ -827,7 +807,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
827
807
|
* @param options - additional request options
|
|
828
808
|
*/
|
|
829
809
|
ServiceClient.prototype.put_shoppingcart_cart_payment = function (id, body, options) {
|
|
830
|
-
return this.request("
|
|
810
|
+
return this.request("put", "/shoppingcart/" + id + "/paymentmethod/", body, options);
|
|
831
811
|
};
|
|
832
812
|
/**
|
|
833
813
|
* PUT /shoppingcart/{id}/order/ - Store information about the order created with this shopping cart
|
|
@@ -837,7 +817,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
837
817
|
* @param options - additional request options
|
|
838
818
|
*/
|
|
839
819
|
ServiceClient.prototype.put_shoppingcart_cart_order = function (id, body, options) {
|
|
840
|
-
return this.request("
|
|
820
|
+
return this.request("put", "/shoppingcart/" + id + "/order/", body, options);
|
|
841
821
|
};
|
|
842
822
|
/**
|
|
843
823
|
* PUT /shoppingcart/{id}/loyalty/{user_id} - Apply a loyalty coupon in a ShoppingCart
|
|
@@ -848,7 +828,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
848
828
|
* @param options - additional request options
|
|
849
829
|
*/
|
|
850
830
|
ServiceClient.prototype.put_shoppingcart_cart_loyalty = function (id, user_id, body, options) {
|
|
851
|
-
return this.request("
|
|
831
|
+
return this.request("put", "/shoppingcart/" + id + "/loyalty/" + user_id, body, options);
|
|
852
832
|
};
|
|
853
833
|
/**
|
|
854
834
|
* DELETE /shoppingcart/{id}/loyalty/{user_id} - Delete loyalty coupon in shoppingCart
|
|
@@ -858,7 +838,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
858
838
|
* @param options - additional request options
|
|
859
839
|
*/
|
|
860
840
|
ServiceClient.prototype.delete_shoppingcart_cart_loyalty = function (id, user_id, options) {
|
|
861
|
-
return this.request("
|
|
841
|
+
return this.request("delete", "/shoppingcart/" + id + "/loyalty/" + user_id, null, options);
|
|
862
842
|
};
|
|
863
843
|
/**
|
|
864
844
|
* POST /shoppingcart/{id}/clone - Create a shopping cart from existing shopping cart
|
|
@@ -868,7 +848,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
868
848
|
* @param options - additional request options
|
|
869
849
|
*/
|
|
870
850
|
ServiceClient.prototype.post_shoppingcart_clone_cart = function (id, body, options) {
|
|
871
|
-
return this.request("
|
|
851
|
+
return this.request("post", "/shoppingcart/" + id + "/clone", body, options);
|
|
872
852
|
};
|
|
873
853
|
/**
|
|
874
854
|
* POST /shoppingcart/bulk - Get multiple ShoppingCarts
|
|
@@ -877,7 +857,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
877
857
|
* @param options - additional request options
|
|
878
858
|
*/
|
|
879
859
|
ServiceClient.prototype.post_shoppingcart_bulk = function (body, options) {
|
|
880
|
-
return this.request("
|
|
860
|
+
return this.request("post", "/shoppingcart/bulk", body, options);
|
|
881
861
|
};
|
|
882
862
|
/**
|
|
883
863
|
* POST /partner/standardcognition/shoppingcart - Calculates a shoppingcart
|
|
@@ -886,7 +866,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
886
866
|
* @param options - additional request options
|
|
887
867
|
*/
|
|
888
868
|
ServiceClient.prototype.post_partner_standardcognition_shoppingcart = function (body, options) {
|
|
889
|
-
return this.request("
|
|
869
|
+
return this.request("post", "/partner/standardcognition/shoppingcart", body, options);
|
|
890
870
|
};
|
|
891
871
|
/**
|
|
892
872
|
* GET /partner/standardcognition/locations - Gets the locations where Standard Cognition is available
|
|
@@ -894,24 +874,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
894
874
|
* @param options - additional request options
|
|
895
875
|
*/
|
|
896
876
|
ServiceClient.prototype.get_partner_standardcognition_locations = function (options) {
|
|
897
|
-
return this.request("
|
|
898
|
-
};
|
|
899
|
-
/**
|
|
900
|
-
* GET /partner/standardcognition/stores - Gets the UUID for all the Standard Cognition external locations
|
|
901
|
-
*
|
|
902
|
-
* @param options - additional request options
|
|
903
|
-
*/
|
|
904
|
-
ServiceClient.prototype.get_partner_standardcognition_stores = function (options) {
|
|
905
|
-
return this.request("partner", "get_partner_standardcognition_stores", "get", "/partner/standardcognition/stores", null, options);
|
|
906
|
-
};
|
|
907
|
-
/**
|
|
908
|
-
* POST /partner/standardcognition/menu - Create new Standard Cognition menu from JSON files
|
|
909
|
-
*
|
|
910
|
-
* @param body
|
|
911
|
-
* @param options - additional request options
|
|
912
|
-
*/
|
|
913
|
-
ServiceClient.prototype.post_partner_standardcognition_menu = function (body, options) {
|
|
914
|
-
return this.request("partner", "post_partner_standardcognition_menu", "post", "/partner/standardcognition/menu", body, options);
|
|
877
|
+
return this.request("get", "/partner/standardcognition/locations", null, options);
|
|
915
878
|
};
|
|
916
879
|
/**
|
|
917
880
|
* GET /partner/coolr/locations - Gets the locations where Coolr is available
|
|
@@ -919,7 +882,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
919
882
|
* @param options - additional request options
|
|
920
883
|
*/
|
|
921
884
|
ServiceClient.prototype.get_partner_coolr_locations = function (options) {
|
|
922
|
-
return this.request("
|
|
885
|
+
return this.request("get", "/partner/coolr/locations", null, options);
|
|
923
886
|
};
|
|
924
887
|
/**
|
|
925
888
|
* GET /partner/coolr/{id}/images - Gets the latest images for Coolr Location AssetID
|
|
@@ -928,7 +891,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
928
891
|
* @param options - additional request options
|
|
929
892
|
*/
|
|
930
893
|
ServiceClient.prototype.get_partner_coolr_images = function (id, options) {
|
|
931
|
-
return this.request("
|
|
894
|
+
return this.request("get", "/partner/coolr/" + id + "/images", null, options);
|
|
932
895
|
};
|
|
933
896
|
/**
|
|
934
897
|
* GET /partner/swagger.json
|
|
@@ -936,16 +899,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
936
899
|
* @param options - additional request options
|
|
937
900
|
*/
|
|
938
901
|
ServiceClient.prototype.get_partner_swagger = function (options) {
|
|
939
|
-
return this.request("
|
|
940
|
-
};
|
|
941
|
-
/**
|
|
942
|
-
* POST /email - Send an email
|
|
943
|
-
*
|
|
944
|
-
* @param body
|
|
945
|
-
* @param options - additional request options
|
|
946
|
-
*/
|
|
947
|
-
ServiceClient.prototype.post_email = function (body, options) {
|
|
948
|
-
return this.request("email", "post_email", "post", "/email", body, options);
|
|
902
|
+
return this.request("get", "/partner/swagger.json", null, options);
|
|
949
903
|
};
|
|
950
904
|
/**
|
|
951
905
|
* POST /task/ - Create new Task
|
|
@@ -954,7 +908,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
954
908
|
* @param options - additional request options
|
|
955
909
|
*/
|
|
956
910
|
ServiceClient.prototype.post_task = function (body, options) {
|
|
957
|
-
return this.request("
|
|
911
|
+
return this.request("post", "/task/", body, options);
|
|
958
912
|
};
|
|
959
913
|
/**
|
|
960
914
|
* GET /task/{id} - Get task based on passed ID
|
|
@@ -963,7 +917,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
963
917
|
* @param options - additional request options
|
|
964
918
|
*/
|
|
965
919
|
ServiceClient.prototype.get_task = function (id, options) {
|
|
966
|
-
return this.request("
|
|
920
|
+
return this.request("get", "/task/" + id, null, options);
|
|
967
921
|
};
|
|
968
922
|
/**
|
|
969
923
|
* PATCH /task/{id} - Update Task
|
|
@@ -973,7 +927,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
973
927
|
* @param options - additional request options
|
|
974
928
|
*/
|
|
975
929
|
ServiceClient.prototype.patch_task = function (id, body, options) {
|
|
976
|
-
return this.request("
|
|
930
|
+
return this.request("patch", "/task/" + id, body, options);
|
|
977
931
|
};
|
|
978
932
|
/**
|
|
979
933
|
* DELETE /task/{id} - Delete Task
|
|
@@ -982,7 +936,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
982
936
|
* @param options - additional request options
|
|
983
937
|
*/
|
|
984
938
|
ServiceClient.prototype.delete_task = function (id, options) {
|
|
985
|
-
return this.request("
|
|
939
|
+
return this.request("delete", "/task/" + id, null, options);
|
|
986
940
|
};
|
|
987
941
|
/**
|
|
988
942
|
* GET /task/order/{id} - Get task based on passed order ID
|
|
@@ -991,7 +945,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
991
945
|
* @param options - additional request options
|
|
992
946
|
*/
|
|
993
947
|
ServiceClient.prototype.get_task_order = function (id, options) {
|
|
994
|
-
return this.request("
|
|
948
|
+
return this.request("get", "/task/order/" + id, null, options);
|
|
995
949
|
};
|
|
996
950
|
/**
|
|
997
951
|
* GET /task/order/{id}/kds - Get KDS tasks based on passed order ID
|
|
@@ -1000,7 +954,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
1000
954
|
* @param options - additional request options
|
|
1001
955
|
*/
|
|
1002
956
|
ServiceClient.prototype.get_task_order_kds = function (id, options) {
|
|
1003
|
-
return this.request("
|
|
957
|
+
return this.request("get", "/task/order/" + id + "/kds", null, options);
|
|
1004
958
|
};
|
|
1005
959
|
/**
|
|
1006
960
|
* PATCH /task/order/{id}/kds - Update an order and its associated tasks
|
|
@@ -1010,7 +964,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
1010
964
|
* @param options - additional request options
|
|
1011
965
|
*/
|
|
1012
966
|
ServiceClient.prototype.patch_task_order_kds = function (id, body, options) {
|
|
1013
|
-
return this.request("
|
|
967
|
+
return this.request("patch", "/task/order/" + id + "/kds", body, options);
|
|
1014
968
|
};
|
|
1015
969
|
/**
|
|
1016
970
|
* GET /task/assignee/{id} - Get Assignee tasks
|
|
@@ -1019,7 +973,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
1019
973
|
* @param options - additional request options
|
|
1020
974
|
*/
|
|
1021
975
|
ServiceClient.prototype.get_task_assignee = function (id, options) {
|
|
1022
|
-
return this.request("
|
|
976
|
+
return this.request("get", "/task/assignee/" + id, null, options);
|
|
1023
977
|
};
|
|
1024
978
|
/**
|
|
1025
979
|
* GET /task/location/brand/{id} - Get location brand tasks
|
|
@@ -1028,7 +982,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
1028
982
|
* @param options - additional request options
|
|
1029
983
|
*/
|
|
1030
984
|
ServiceClient.prototype.get_task_location_brand = function (id, options) {
|
|
1031
|
-
return this.request("
|
|
985
|
+
return this.request("get", "/task/location/brand/" + id, null, options);
|
|
1032
986
|
};
|
|
1033
987
|
/**
|
|
1034
988
|
* GET /task/location/group/{id} - Get location group tasks
|
|
@@ -1037,7 +991,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
1037
991
|
* @param options - additional request options
|
|
1038
992
|
*/
|
|
1039
993
|
ServiceClient.prototype.get_task_location_group = function (id, options) {
|
|
1040
|
-
return this.request("
|
|
994
|
+
return this.request("get", "/task/location/group/" + id, null, options);
|
|
1041
995
|
};
|
|
1042
996
|
/**
|
|
1043
997
|
* GET /kds/devices - Get kds devices for a specified unit number
|
|
@@ -1045,7 +999,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
1045
999
|
* @param options - additional request options
|
|
1046
1000
|
*/
|
|
1047
1001
|
ServiceClient.prototype.get_kds_devices = function (options) {
|
|
1048
|
-
return this.request("
|
|
1002
|
+
return this.request("get", "/kds/devices", null, options);
|
|
1049
1003
|
};
|
|
1050
1004
|
/**
|
|
1051
1005
|
* POST /kds/device/auth - Get auth token for a device
|
|
@@ -1054,7 +1008,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
1054
1008
|
* @param options - additional request options
|
|
1055
1009
|
*/
|
|
1056
1010
|
ServiceClient.prototype.post_kds_device_auth = function (body, options) {
|
|
1057
|
-
return this.request("
|
|
1011
|
+
return this.request("post", "/kds/device/auth", body, options);
|
|
1058
1012
|
};
|
|
1059
1013
|
/**
|
|
1060
1014
|
* DELETE /kds/device/auth/{device_id} - Delete authorization for specified serial_number
|
|
@@ -1063,7 +1017,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
1063
1017
|
* @param options - additional request options
|
|
1064
1018
|
*/
|
|
1065
1019
|
ServiceClient.prototype.delete_kds_device_auth = function (device_id, options) {
|
|
1066
|
-
return this.request("
|
|
1020
|
+
return this.request("delete", "/kds/device/auth/" + device_id, null, options);
|
|
1067
1021
|
};
|
|
1068
1022
|
/**
|
|
1069
1023
|
* GET /kds/swagger.json - Get a swagger for kds service
|
|
@@ -1071,7 +1025,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
1071
1025
|
* @param options - additional request options
|
|
1072
1026
|
*/
|
|
1073
1027
|
ServiceClient.prototype.get_kds_swagger = function (options) {
|
|
1074
|
-
return this.request("
|
|
1028
|
+
return this.request("get", "/kds/swagger.json", null, options);
|
|
1075
1029
|
};
|
|
1076
1030
|
/**
|
|
1077
1031
|
* POST /mealplan/{id} - Authenticate against the meal plan provider
|
|
@@ -1081,7 +1035,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
1081
1035
|
* @param options - additional request options
|
|
1082
1036
|
*/
|
|
1083
1037
|
ServiceClient.prototype.post_mealplan = function (id, body, options) {
|
|
1084
|
-
return this.request("
|
|
1038
|
+
return this.request("post", "/mealplan/" + id, body, options);
|
|
1085
1039
|
};
|
|
1086
1040
|
/**
|
|
1087
1041
|
* PUT /mealplan/{id} - Save a token for access to the meal plan
|
|
@@ -1091,7 +1045,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
1091
1045
|
* @param options - additional request options
|
|
1092
1046
|
*/
|
|
1093
1047
|
ServiceClient.prototype.put_mealplan = function (id, body, options) {
|
|
1094
|
-
return this.request("
|
|
1048
|
+
return this.request("put", "/mealplan/" + id, body, options);
|
|
1095
1049
|
};
|
|
1096
1050
|
/**
|
|
1097
1051
|
* GET /mealplan/{id} - Check the user's meal plan tenders and get the authentication configuration
|
|
@@ -1100,7 +1054,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
1100
1054
|
* @param options - additional request options
|
|
1101
1055
|
*/
|
|
1102
1056
|
ServiceClient.prototype.get_mealplan = function (id, options) {
|
|
1103
|
-
return this.request("
|
|
1057
|
+
return this.request("get", "/mealplan/" + id, null, options);
|
|
1104
1058
|
};
|
|
1105
1059
|
/**
|
|
1106
1060
|
* DELETE /mealplan/{id} - Delete a mealplan or a tender from the user's account
|
|
@@ -1110,7 +1064,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
1110
1064
|
* @param options - additional request options
|
|
1111
1065
|
*/
|
|
1112
1066
|
ServiceClient.prototype.delete_mealplan = function (id, body, options) {
|
|
1113
|
-
return this.request("
|
|
1067
|
+
return this.request("delete", "/mealplan/" + id, body, options);
|
|
1114
1068
|
};
|
|
1115
1069
|
/**
|
|
1116
1070
|
* POST /mealplan/{id}/callback - Callback endpoint for meal plans that make a call back from a webview workflow
|
|
@@ -1119,7 +1073,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
1119
1073
|
* @param options - additional request options
|
|
1120
1074
|
*/
|
|
1121
1075
|
ServiceClient.prototype.post_mealplan_callback = function (id, options) {
|
|
1122
|
-
return this.request("
|
|
1076
|
+
return this.request("post", "/mealplan/" + id + "/callback", null, options);
|
|
1123
1077
|
};
|
|
1124
1078
|
/**
|
|
1125
1079
|
* GET /mealplan/{id}/tender/{tender} - Check the user's tender balance
|
|
@@ -1129,7 +1083,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
1129
1083
|
* @param options - additional request options
|
|
1130
1084
|
*/
|
|
1131
1085
|
ServiceClient.prototype.get_mealplan_tender = function (id, tender, options) {
|
|
1132
|
-
return this.request("
|
|
1086
|
+
return this.request("get", "/mealplan/" + id + "/tender/" + tender, null, options);
|
|
1133
1087
|
};
|
|
1134
1088
|
/**
|
|
1135
1089
|
* DELETE /mealplan/{id}/tender/{tender} - Debit an amount from the tender balance
|
|
@@ -1139,7 +1093,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
1139
1093
|
* @param options - additional request options
|
|
1140
1094
|
*/
|
|
1141
1095
|
ServiceClient.prototype.delete_mealplan_tender = function (id, tender, options) {
|
|
1142
|
-
return this.request("
|
|
1096
|
+
return this.request("delete", "/mealplan/" + id + "/tender/" + tender, null, options);
|
|
1143
1097
|
};
|
|
1144
1098
|
/**
|
|
1145
1099
|
* PATCH /mealplan/{id}/tender/{tender} - Refund an amount to the tender balance
|
|
@@ -1150,7 +1104,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
1150
1104
|
* @param options - additional request options
|
|
1151
1105
|
*/
|
|
1152
1106
|
ServiceClient.prototype.patch_mealplan_tender = function (id, tender, body, options) {
|
|
1153
|
-
return this.request("
|
|
1107
|
+
return this.request("patch", "/mealplan/" + id + "/tender/" + tender, body, options);
|
|
1154
1108
|
};
|
|
1155
1109
|
/**
|
|
1156
1110
|
* POST /mealplan/{id}/verify - Send verification email to user linking a mealplan
|
|
@@ -1160,7 +1114,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
1160
1114
|
* @param options - additional request options
|
|
1161
1115
|
*/
|
|
1162
1116
|
ServiceClient.prototype.post_mealplan_verify = function (id, body, options) {
|
|
1163
|
-
return this.request("
|
|
1117
|
+
return this.request("post", "/mealplan/" + id + "/verify", body, options);
|
|
1164
1118
|
};
|
|
1165
1119
|
/**
|
|
1166
1120
|
* PUT /mealplan/{id}/verify - Verify email address using provided payload
|
|
@@ -1170,7 +1124,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
1170
1124
|
* @param options - additional request options
|
|
1171
1125
|
*/
|
|
1172
1126
|
ServiceClient.prototype.put_mealplan_verify = function (id, body, options) {
|
|
1173
|
-
return this.request("
|
|
1127
|
+
return this.request("put", "/mealplan/" + id + "/verify", body, options);
|
|
1174
1128
|
};
|
|
1175
1129
|
/**
|
|
1176
1130
|
* POST /mealplan/{id}/authorize - Authorize Transaction
|
|
@@ -1180,7 +1134,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
1180
1134
|
* @param options - additional request options
|
|
1181
1135
|
*/
|
|
1182
1136
|
ServiceClient.prototype.post_mealplan_authorize = function (id, body, options) {
|
|
1183
|
-
return this.request("
|
|
1137
|
+
return this.request("post", "/mealplan/" + id + "/authorize", body, options);
|
|
1184
1138
|
};
|
|
1185
1139
|
/**
|
|
1186
1140
|
* POST /datalake/sql - Query datalake for data
|
|
@@ -1189,7 +1143,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
1189
1143
|
* @param options - additional request options
|
|
1190
1144
|
*/
|
|
1191
1145
|
ServiceClient.prototype.post_datalake_sql = function (body, options) {
|
|
1192
|
-
return this.request("
|
|
1146
|
+
return this.request("post", "/datalake/sql", body, options);
|
|
1193
1147
|
};
|
|
1194
1148
|
/**
|
|
1195
1149
|
* GET /swagger.json
|
|
@@ -1197,7 +1151,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
1197
1151
|
* @param options - additional request options
|
|
1198
1152
|
*/
|
|
1199
1153
|
ServiceClient.prototype.get_swagger = function (options) {
|
|
1200
|
-
return this.request("
|
|
1154
|
+
return this.request("get", "/swagger.json", null, options);
|
|
1201
1155
|
};
|
|
1202
1156
|
/**
|
|
1203
1157
|
* POST /promo - Create a new promotion
|
|
@@ -1206,7 +1160,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
1206
1160
|
* @param options - additional request options
|
|
1207
1161
|
*/
|
|
1208
1162
|
ServiceClient.prototype.post_promo = function (body, options) {
|
|
1209
|
-
return this.request("
|
|
1163
|
+
return this.request("post", "/promo", body, options);
|
|
1210
1164
|
};
|
|
1211
1165
|
/**
|
|
1212
1166
|
* GET /promo - Get all promotions
|
|
@@ -1214,7 +1168,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
1214
1168
|
* @param options - additional request options
|
|
1215
1169
|
*/
|
|
1216
1170
|
ServiceClient.prototype.get_promos = function (options) {
|
|
1217
|
-
return this.request("
|
|
1171
|
+
return this.request("get", "/promo", null, options);
|
|
1218
1172
|
};
|
|
1219
1173
|
/**
|
|
1220
1174
|
* GET /promo/{id} - Get an individual promotion
|
|
@@ -1223,7 +1177,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
1223
1177
|
* @param options - additional request options
|
|
1224
1178
|
*/
|
|
1225
1179
|
ServiceClient.prototype.get_promo = function (id, options) {
|
|
1226
|
-
return this.request("
|
|
1180
|
+
return this.request("get", "/promo/" + id, null, options);
|
|
1227
1181
|
};
|
|
1228
1182
|
/**
|
|
1229
1183
|
* PUT /promo/{id} - Update a promotion
|
|
@@ -1233,7 +1187,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
1233
1187
|
* @param options - additional request options
|
|
1234
1188
|
*/
|
|
1235
1189
|
ServiceClient.prototype.put_promo = function (id, body, options) {
|
|
1236
|
-
return this.request("
|
|
1190
|
+
return this.request("put", "/promo/" + id, body, options);
|
|
1237
1191
|
};
|
|
1238
1192
|
/**
|
|
1239
1193
|
* DELETE /promo/{id} - Delete promotion
|
|
@@ -1242,7 +1196,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
1242
1196
|
* @param options - additional request options
|
|
1243
1197
|
*/
|
|
1244
1198
|
ServiceClient.prototype.delete_promo = function (id, options) {
|
|
1245
|
-
return this.request("
|
|
1199
|
+
return this.request("delete", "/promo/" + id, null, options);
|
|
1246
1200
|
};
|
|
1247
1201
|
/**
|
|
1248
1202
|
* GET /promo/company/{company}/location/group/{location_group} - Get all promotions within company for a location group
|
|
@@ -1252,7 +1206,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
1252
1206
|
* @param options - additional request options
|
|
1253
1207
|
*/
|
|
1254
1208
|
ServiceClient.prototype.get_promo_company_location_group = function (company, location_group, options) {
|
|
1255
|
-
return this.request("
|
|
1209
|
+
return this.request("get", "/promo/company/" + company + "/location/group/" + location_group, null, options);
|
|
1256
1210
|
};
|
|
1257
1211
|
/**
|
|
1258
1212
|
* POST /promo/validate/voucher - Validate a promo voucher
|
|
@@ -1261,7 +1215,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
1261
1215
|
* @param options - additional request options
|
|
1262
1216
|
*/
|
|
1263
1217
|
ServiceClient.prototype.post_promo_validate_voucher = function (body, options) {
|
|
1264
|
-
return this.request("
|
|
1218
|
+
return this.request("post", "/promo/validate/voucher", body, options);
|
|
1265
1219
|
};
|
|
1266
1220
|
/**
|
|
1267
1221
|
* POST /promo/redeem/voucher - Redeem a promo voucher
|
|
@@ -1270,7 +1224,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
1270
1224
|
* @param options - additional request options
|
|
1271
1225
|
*/
|
|
1272
1226
|
ServiceClient.prototype.post_promo_redeem_voucher = function (body, options) {
|
|
1273
|
-
return this.request("
|
|
1227
|
+
return this.request("post", "/promo/redeem/voucher", body, options);
|
|
1274
1228
|
};
|
|
1275
1229
|
/**
|
|
1276
1230
|
* POST /promo/voucher - Create new voucher
|
|
@@ -1279,7 +1233,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
1279
1233
|
* @param options - additional request options
|
|
1280
1234
|
*/
|
|
1281
1235
|
ServiceClient.prototype.post_promo_voucher = function (body, options) {
|
|
1282
|
-
return this.request("
|
|
1236
|
+
return this.request("post", "/promo/voucher", body, options);
|
|
1283
1237
|
};
|
|
1284
1238
|
/**
|
|
1285
1239
|
* PUT /promo/voucher/{id} - Update voucher
|
|
@@ -1289,7 +1243,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
1289
1243
|
* @param options - additional request options
|
|
1290
1244
|
*/
|
|
1291
1245
|
ServiceClient.prototype.put_promo_voucher = function (id, body, options) {
|
|
1292
|
-
return this.request("
|
|
1246
|
+
return this.request("put", "/promo/voucher/" + id, body, options);
|
|
1293
1247
|
};
|
|
1294
1248
|
/**
|
|
1295
1249
|
* DELETE /promo/voucher/{id} - Delete voucher
|
|
@@ -1298,7 +1252,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
1298
1252
|
* @param options - additional request options
|
|
1299
1253
|
*/
|
|
1300
1254
|
ServiceClient.prototype.delete_promo_voucher = function (id, options) {
|
|
1301
|
-
return this.request("
|
|
1255
|
+
return this.request("delete", "/promo/voucher/" + id, null, options);
|
|
1302
1256
|
};
|
|
1303
1257
|
/**
|
|
1304
1258
|
* POST /promo/customer/ - Add user to voucherify
|
|
@@ -1307,7 +1261,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
1307
1261
|
* @param options - additional request options
|
|
1308
1262
|
*/
|
|
1309
1263
|
ServiceClient.prototype.post_promo_customer = function (body, options) {
|
|
1310
|
-
return this.request("
|
|
1264
|
+
return this.request("post", "/promo/customer/", body, options);
|
|
1311
1265
|
};
|
|
1312
1266
|
/**
|
|
1313
1267
|
* DELETE /promo/customer/ - Delete user from voucherify
|
|
@@ -1316,7 +1270,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
1316
1270
|
* @param options - additional request options
|
|
1317
1271
|
*/
|
|
1318
1272
|
ServiceClient.prototype.delete_promo_customer = function (body, options) {
|
|
1319
|
-
return this.request("
|
|
1273
|
+
return this.request("delete", "/promo/customer/", body, options);
|
|
1320
1274
|
};
|
|
1321
1275
|
/**
|
|
1322
1276
|
* POST /promo/voucher/{id}/reverse - Reverse a redemption from a promo voucher
|
|
@@ -1326,7 +1280,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
1326
1280
|
* @param options - additional request options
|
|
1327
1281
|
*/
|
|
1328
1282
|
ServiceClient.prototype.post_promo_voucher_reverse = function (id, body, options) {
|
|
1329
|
-
return this.request("
|
|
1283
|
+
return this.request("post", "/promo/voucher/" + id + "/reverse", body, options);
|
|
1330
1284
|
};
|
|
1331
1285
|
/**
|
|
1332
1286
|
* POST /promo/voucherify/activity/execute - Execute a Journey custom Activity request
|
|
@@ -1335,7 +1289,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
1335
1289
|
* @param options - additional request options
|
|
1336
1290
|
*/
|
|
1337
1291
|
ServiceClient.prototype.post_promo_voucherify_activity_execute = function (body, options) {
|
|
1338
|
-
return this.request("
|
|
1292
|
+
return this.request("post", "/promo/voucherify/activity/execute", body, options);
|
|
1339
1293
|
};
|
|
1340
1294
|
/**
|
|
1341
1295
|
* GET /promo/voucherify/activity/config.json - Get SFMC Journey Custom Activity configuration
|
|
@@ -1343,7 +1297,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
1343
1297
|
* @param options - additional request options
|
|
1344
1298
|
*/
|
|
1345
1299
|
ServiceClient.prototype.get_promo_voucherify_activity_config = function (options) {
|
|
1346
|
-
return this.request("
|
|
1300
|
+
return this.request("get", "/promo/voucherify/activity/config.json", null, options);
|
|
1347
1301
|
};
|
|
1348
1302
|
/**
|
|
1349
1303
|
* POST /dh/sql
|
|
@@ -1351,7 +1305,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
1351
1305
|
* @param options - additional request options
|
|
1352
1306
|
*/
|
|
1353
1307
|
ServiceClient.prototype.post_dh_sql = function (options) {
|
|
1354
|
-
return this.request("
|
|
1308
|
+
return this.request("post", "/dh/sql", null, options);
|
|
1355
1309
|
};
|
|
1356
1310
|
/**
|
|
1357
1311
|
* GET /config/{key} - get a configuration
|
|
@@ -1360,7 +1314,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
1360
1314
|
* @param options - additional request options
|
|
1361
1315
|
*/
|
|
1362
1316
|
ServiceClient.prototype.get_config = function (key, options) {
|
|
1363
|
-
return this.request("
|
|
1317
|
+
return this.request("get", "/config/" + key, null, options);
|
|
1364
1318
|
};
|
|
1365
1319
|
/**
|
|
1366
1320
|
* POST /config/{key} - Create a configuration
|
|
@@ -1370,7 +1324,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
1370
1324
|
* @param options - additional request options
|
|
1371
1325
|
*/
|
|
1372
1326
|
ServiceClient.prototype.post_config = function (key, body, options) {
|
|
1373
|
-
return this.request("
|
|
1327
|
+
return this.request("post", "/config/" + key, body, options);
|
|
1374
1328
|
};
|
|
1375
1329
|
/**
|
|
1376
1330
|
* PUT /config/{key} - Update a configuration
|
|
@@ -1380,7 +1334,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
1380
1334
|
* @param options - additional request options
|
|
1381
1335
|
*/
|
|
1382
1336
|
ServiceClient.prototype.put_config = function (key, body, options) {
|
|
1383
|
-
return this.request("
|
|
1337
|
+
return this.request("put", "/config/" + key, body, options);
|
|
1384
1338
|
};
|
|
1385
1339
|
/**
|
|
1386
1340
|
* DELETE /config/{key} - Delete a configuration
|
|
@@ -1389,7 +1343,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
1389
1343
|
* @param options - additional request options
|
|
1390
1344
|
*/
|
|
1391
1345
|
ServiceClient.prototype.delete_config = function (key, options) {
|
|
1392
|
-
return this.request("
|
|
1346
|
+
return this.request("delete", "/config/" + key, null, options);
|
|
1393
1347
|
};
|
|
1394
1348
|
/**
|
|
1395
1349
|
* GET /config/public/{key} - get a public configuration
|
|
@@ -1398,7 +1352,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
1398
1352
|
* @param options - additional request options
|
|
1399
1353
|
*/
|
|
1400
1354
|
ServiceClient.prototype.get_config_public = function (key, options) {
|
|
1401
|
-
return this.request("
|
|
1355
|
+
return this.request("get", "/config/public/" + key, null, options);
|
|
1402
1356
|
};
|
|
1403
1357
|
/**
|
|
1404
1358
|
* POST /config/public/{key} - Create a public configuration
|
|
@@ -1408,7 +1362,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
1408
1362
|
* @param options - additional request options
|
|
1409
1363
|
*/
|
|
1410
1364
|
ServiceClient.prototype.post_config_public = function (key, body, options) {
|
|
1411
|
-
return this.request("
|
|
1365
|
+
return this.request("post", "/config/public/" + key, body, options);
|
|
1412
1366
|
};
|
|
1413
1367
|
/**
|
|
1414
1368
|
* PUT /config/public/{key} - Update a public configuration
|
|
@@ -1418,7 +1372,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
1418
1372
|
* @param options - additional request options
|
|
1419
1373
|
*/
|
|
1420
1374
|
ServiceClient.prototype.put_config_public = function (key, body, options) {
|
|
1421
|
-
return this.request("
|
|
1375
|
+
return this.request("put", "/config/public/" + key, body, options);
|
|
1422
1376
|
};
|
|
1423
1377
|
/**
|
|
1424
1378
|
* DELETE /config/public/{key} - Delete a public configuration
|
|
@@ -1427,7 +1381,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
1427
1381
|
* @param options - additional request options
|
|
1428
1382
|
*/
|
|
1429
1383
|
ServiceClient.prototype.delete_config_public = function (key, options) {
|
|
1430
|
-
return this.request("
|
|
1384
|
+
return this.request("delete", "/config/public/" + key, null, options);
|
|
1431
1385
|
};
|
|
1432
1386
|
/**
|
|
1433
1387
|
* POST /announcement - Create Announcement
|
|
@@ -1436,7 +1390,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
1436
1390
|
* @param options - additional request options
|
|
1437
1391
|
*/
|
|
1438
1392
|
ServiceClient.prototype.post_announcement = function (body, options) {
|
|
1439
|
-
return this.request("
|
|
1393
|
+
return this.request("post", "/announcement", body, options);
|
|
1440
1394
|
};
|
|
1441
1395
|
/**
|
|
1442
1396
|
* GET /announcement/resource/{id} - Get Announcements for a specific entity
|
|
@@ -1445,7 +1399,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
1445
1399
|
* @param options - additional request options
|
|
1446
1400
|
*/
|
|
1447
1401
|
ServiceClient.prototype.get_announcement_resource = function (id, options) {
|
|
1448
|
-
return this.request("
|
|
1402
|
+
return this.request("get", "/announcement/resource/" + id, null, options);
|
|
1449
1403
|
};
|
|
1450
1404
|
/**
|
|
1451
1405
|
* GET /announcement/resource - Get Announcements
|
|
@@ -1453,7 +1407,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
1453
1407
|
* @param options - additional request options
|
|
1454
1408
|
*/
|
|
1455
1409
|
ServiceClient.prototype.get_announcement_resources = function (options) {
|
|
1456
|
-
return this.request("
|
|
1410
|
+
return this.request("get", "/announcement/resource", null, options);
|
|
1457
1411
|
};
|
|
1458
1412
|
/**
|
|
1459
1413
|
* GET /announcement/{id} - Get Announcement
|
|
@@ -1462,7 +1416,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
1462
1416
|
* @param options - additional request options
|
|
1463
1417
|
*/
|
|
1464
1418
|
ServiceClient.prototype.get_announcement = function (id, options) {
|
|
1465
|
-
return this.request("
|
|
1419
|
+
return this.request("get", "/announcement/" + id, null, options);
|
|
1466
1420
|
};
|
|
1467
1421
|
/**
|
|
1468
1422
|
* PUT /announcement/{id} - Update Announcement
|
|
@@ -1472,7 +1426,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
1472
1426
|
* @param options - additional request options
|
|
1473
1427
|
*/
|
|
1474
1428
|
ServiceClient.prototype.put_announcement = function (id, body, options) {
|
|
1475
|
-
return this.request("
|
|
1429
|
+
return this.request("put", "/announcement/" + id, body, options);
|
|
1476
1430
|
};
|
|
1477
1431
|
/**
|
|
1478
1432
|
* DELETE /announcement/{id} - Delete announcement item
|
|
@@ -1481,7 +1435,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
1481
1435
|
* @param options - additional request options
|
|
1482
1436
|
*/
|
|
1483
1437
|
ServiceClient.prototype.delete_announcement = function (id, options) {
|
|
1484
|
-
return this.request("
|
|
1438
|
+
return this.request("delete", "/announcement/" + id, null, options);
|
|
1485
1439
|
};
|
|
1486
1440
|
/**
|
|
1487
1441
|
* GET /report/analytics/group/{location_group}/{report_type}
|
|
@@ -1491,7 +1445,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
1491
1445
|
* @param options - additional request options
|
|
1492
1446
|
*/
|
|
1493
1447
|
ServiceClient.prototype.get_report_analytics_group = function (location_group, report_type, options) {
|
|
1494
|
-
return this.request("
|
|
1448
|
+
return this.request("get", "/report/analytics/group/" + location_group + "/" + report_type, null, options);
|
|
1495
1449
|
};
|
|
1496
1450
|
/**
|
|
1497
1451
|
* GET /report/analytics/combined/group/{location_group}
|
|
@@ -1500,7 +1454,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
1500
1454
|
* @param options - additional request options
|
|
1501
1455
|
*/
|
|
1502
1456
|
ServiceClient.prototype.get_report_analytics_combined_group = function (location_group, options) {
|
|
1503
|
-
return this.request("
|
|
1457
|
+
return this.request("get", "/report/analytics/combined/group/" + location_group, null, options);
|
|
1504
1458
|
};
|
|
1505
1459
|
/**
|
|
1506
1460
|
* GET /report/analytics/exactmobile/totals
|
|
@@ -1508,7 +1462,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
1508
1462
|
* @param options - additional request options
|
|
1509
1463
|
*/
|
|
1510
1464
|
ServiceClient.prototype.get_report_analytics_exactmobile_totals = function (options) {
|
|
1511
|
-
return this.request("
|
|
1465
|
+
return this.request("get", "/report/analytics/exactmobile/totals", null, options);
|
|
1512
1466
|
};
|
|
1513
1467
|
/**
|
|
1514
1468
|
* GET /report/analytics/exactmobile/transactions
|
|
@@ -1516,7 +1470,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
1516
1470
|
* @param options - additional request options
|
|
1517
1471
|
*/
|
|
1518
1472
|
ServiceClient.prototype.get_report_analytics_exactmobile_transactions = function (options) {
|
|
1519
|
-
return this.request("
|
|
1473
|
+
return this.request("get", "/report/analytics/exactmobile/transactions", null, options);
|
|
1520
1474
|
};
|
|
1521
1475
|
/**
|
|
1522
1476
|
* GET /report/analytics/exactmobile/discrepancies
|
|
@@ -1524,7 +1478,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
1524
1478
|
* @param options - additional request options
|
|
1525
1479
|
*/
|
|
1526
1480
|
ServiceClient.prototype.get_report_analytics_exactmobile_discrepancies = function (options) {
|
|
1527
|
-
return this.request("
|
|
1481
|
+
return this.request("get", "/report/analytics/exactmobile/discrepancies", null, options);
|
|
1528
1482
|
};
|
|
1529
1483
|
/**
|
|
1530
1484
|
* GET /report/analytics/tracker/report/{id}
|
|
@@ -1533,7 +1487,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
1533
1487
|
* @param options - additional request options
|
|
1534
1488
|
*/
|
|
1535
1489
|
ServiceClient.prototype.get_report_analytics_tracker_report = function (id, options) {
|
|
1536
|
-
return this.request("
|
|
1490
|
+
return this.request("get", "/report/analytics/tracker/report/" + id, null, options);
|
|
1537
1491
|
};
|
|
1538
1492
|
/**
|
|
1539
1493
|
* GET /report/eod/group/{id} - Get reports for selected location group
|
|
@@ -1542,7 +1496,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
1542
1496
|
* @param options - additional request options
|
|
1543
1497
|
*/
|
|
1544
1498
|
ServiceClient.prototype.get_report_eod_group = function (id, options) {
|
|
1545
|
-
return this.request("
|
|
1499
|
+
return this.request("get", "/report/eod/group/" + id, null, options);
|
|
1546
1500
|
};
|
|
1547
1501
|
/**
|
|
1548
1502
|
* GET /report/eod/group/{id}/subscribers - Get reports for selected location group
|
|
@@ -1551,7 +1505,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
1551
1505
|
* @param options - additional request options
|
|
1552
1506
|
*/
|
|
1553
1507
|
ServiceClient.prototype.get_report_eod_group_subscribers = function (id, options) {
|
|
1554
|
-
return this.request("
|
|
1508
|
+
return this.request("get", "/report/eod/group/" + id + "/subscribers", null, options);
|
|
1555
1509
|
};
|
|
1556
1510
|
/**
|
|
1557
1511
|
* POST /report/eod/group/{id}/subscribers - Add emails to selected location group
|
|
@@ -1561,7 +1515,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
1561
1515
|
* @param options - additional request options
|
|
1562
1516
|
*/
|
|
1563
1517
|
ServiceClient.prototype.post_report_eod_group_subscribers = function (id, body, options) {
|
|
1564
|
-
return this.request("
|
|
1518
|
+
return this.request("post", "/report/eod/group/" + id + "/subscribers", body, options);
|
|
1565
1519
|
};
|
|
1566
1520
|
/**
|
|
1567
1521
|
* DELETE /report/eod/group/{id}/subscribers - deletes subscribers from selected group
|
|
@@ -1570,7 +1524,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
1570
1524
|
* @param options - additional request options
|
|
1571
1525
|
*/
|
|
1572
1526
|
ServiceClient.prototype.delete_report_eod_group_subscribers = function (id, options) {
|
|
1573
|
-
return this.request("
|
|
1527
|
+
return this.request("delete", "/report/eod/group/" + id + "/subscribers", null, options);
|
|
1574
1528
|
};
|
|
1575
1529
|
/**
|
|
1576
1530
|
* PUT /report/eod/group/{id}/subscribers - replace all subscribers from selected location group with payload
|
|
@@ -1580,7 +1534,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
1580
1534
|
* @param options - additional request options
|
|
1581
1535
|
*/
|
|
1582
1536
|
ServiceClient.prototype.put_report_eod_group_subscribers = function (id, body, options) {
|
|
1583
|
-
return this.request("
|
|
1537
|
+
return this.request("put", "/report/eod/group/" + id + "/subscribers", body, options);
|
|
1584
1538
|
};
|
|
1585
1539
|
/**
|
|
1586
1540
|
* GET /report/discrepancy/subscribers - Get subscribers for discrepency widget
|
|
@@ -1588,7 +1542,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
1588
1542
|
* @param options - additional request options
|
|
1589
1543
|
*/
|
|
1590
1544
|
ServiceClient.prototype.get_report_discrepancy_subscribers = function (options) {
|
|
1591
|
-
return this.request("
|
|
1545
|
+
return this.request("get", "/report/discrepancy/subscribers", null, options);
|
|
1592
1546
|
};
|
|
1593
1547
|
/**
|
|
1594
1548
|
* DELETE /report/discrepancy/subscribers - deletes subscriber from discrepency
|
|
@@ -1596,7 +1550,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
1596
1550
|
* @param options - additional request options
|
|
1597
1551
|
*/
|
|
1598
1552
|
ServiceClient.prototype.delete_report_discrepancy_subscribers = function (options) {
|
|
1599
|
-
return this.request("
|
|
1553
|
+
return this.request("delete", "/report/discrepancy/subscribers", null, options);
|
|
1600
1554
|
};
|
|
1601
1555
|
/**
|
|
1602
1556
|
* POST /report/discrepancy/subscribers - Create new discrepancy subscriber
|
|
@@ -1605,7 +1559,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
1605
1559
|
* @param options - additional request options
|
|
1606
1560
|
*/
|
|
1607
1561
|
ServiceClient.prototype.post_report_discrepancy_subscribers = function (body, options) {
|
|
1608
|
-
return this.request("
|
|
1562
|
+
return this.request("post", "/report/discrepancy/subscribers", body, options);
|
|
1609
1563
|
};
|
|
1610
1564
|
/**
|
|
1611
1565
|
* GET /user/auth - Gets the JWT token for a user
|
|
@@ -1613,7 +1567,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
1613
1567
|
* @param options - additional request options
|
|
1614
1568
|
*/
|
|
1615
1569
|
ServiceClient.prototype.get_user_auth = function (options) {
|
|
1616
|
-
return this.request("
|
|
1570
|
+
return this.request("get", "/user/auth", null, options);
|
|
1617
1571
|
};
|
|
1618
1572
|
/**
|
|
1619
1573
|
* POST /user/auth - Use refresh token to generate a new access token and refresh token
|
|
@@ -1622,7 +1576,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
1622
1576
|
* @param options - additional request options
|
|
1623
1577
|
*/
|
|
1624
1578
|
ServiceClient.prototype.post_user_auth = function (body, options) {
|
|
1625
|
-
return this.request("
|
|
1579
|
+
return this.request("post", "/user/auth", body, options);
|
|
1626
1580
|
};
|
|
1627
1581
|
/**
|
|
1628
1582
|
* GET /user/zendesk - Get zendesk JWT token to allow web widget to search restricted articles
|
|
@@ -1630,7 +1584,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
1630
1584
|
* @param options - additional request options
|
|
1631
1585
|
*/
|
|
1632
1586
|
ServiceClient.prototype.get_user_zendesk = function (options) {
|
|
1633
|
-
return this.request("
|
|
1587
|
+
return this.request("get", "/user/zendesk", null, options);
|
|
1634
1588
|
};
|
|
1635
1589
|
/**
|
|
1636
1590
|
* POST /user - Create an User
|
|
@@ -1639,7 +1593,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
1639
1593
|
* @param options - additional request options
|
|
1640
1594
|
*/
|
|
1641
1595
|
ServiceClient.prototype.post_user = function (body, options) {
|
|
1642
|
-
return this.request("
|
|
1596
|
+
return this.request("post", "/user", body, options);
|
|
1643
1597
|
};
|
|
1644
1598
|
/**
|
|
1645
1599
|
* GET /user/{id} - Get an individual user
|
|
@@ -1648,7 +1602,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
1648
1602
|
* @param options - additional request options
|
|
1649
1603
|
*/
|
|
1650
1604
|
ServiceClient.prototype.get_user = function (id, options) {
|
|
1651
|
-
return this.request("
|
|
1605
|
+
return this.request("get", "/user/" + id, null, options);
|
|
1652
1606
|
};
|
|
1653
1607
|
/**
|
|
1654
1608
|
* PUT /user/{id} - Update an individual user
|
|
@@ -1658,7 +1612,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
1658
1612
|
* @param options - additional request options
|
|
1659
1613
|
*/
|
|
1660
1614
|
ServiceClient.prototype.put_user = function (id, body, options) {
|
|
1661
|
-
return this.request("
|
|
1615
|
+
return this.request("put", "/user/" + id, body, options);
|
|
1662
1616
|
};
|
|
1663
1617
|
/**
|
|
1664
1618
|
* PATCH /user/{id} - Update an individual user
|
|
@@ -1668,7 +1622,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
1668
1622
|
* @param options - additional request options
|
|
1669
1623
|
*/
|
|
1670
1624
|
ServiceClient.prototype.patch_user = function (id, body, options) {
|
|
1671
|
-
return this.request("
|
|
1625
|
+
return this.request("patch", "/user/" + id, body, options);
|
|
1672
1626
|
};
|
|
1673
1627
|
/**
|
|
1674
1628
|
* DELETE /user/{id} - delete an individual user
|
|
@@ -1677,7 +1631,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
1677
1631
|
* @param options - additional request options
|
|
1678
1632
|
*/
|
|
1679
1633
|
ServiceClient.prototype.delete_user = function (id, options) {
|
|
1680
|
-
return this.request("
|
|
1634
|
+
return this.request("delete", "/user/" + id, null, options);
|
|
1681
1635
|
};
|
|
1682
1636
|
/**
|
|
1683
1637
|
* POST /user/device/auth - Endpoint for generating/retrieving KDS device token
|
|
@@ -1686,7 +1640,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
1686
1640
|
* @param options - additional request options
|
|
1687
1641
|
*/
|
|
1688
1642
|
ServiceClient.prototype.post_user_kds_token = function (body, options) {
|
|
1689
|
-
return this.request("
|
|
1643
|
+
return this.request("post", "/user/device/auth", body, options);
|
|
1690
1644
|
};
|
|
1691
1645
|
/**
|
|
1692
1646
|
* GET /user/device/auth - Endpoint retrieving KDS device token
|
|
@@ -1694,7 +1648,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
1694
1648
|
* @param options - additional request options
|
|
1695
1649
|
*/
|
|
1696
1650
|
ServiceClient.prototype.get_user_kds_token = function (options) {
|
|
1697
|
-
return this.request("
|
|
1651
|
+
return this.request("get", "/user/device/auth", null, options);
|
|
1698
1652
|
};
|
|
1699
1653
|
/**
|
|
1700
1654
|
* DELETE /user/device/auth/{device_id} - Endpoint for deleting a device by specified device_id
|
|
@@ -1703,17 +1657,16 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
1703
1657
|
* @param options - additional request options
|
|
1704
1658
|
*/
|
|
1705
1659
|
ServiceClient.prototype.delete_user_device_auth = function (device_id, options) {
|
|
1706
|
-
return this.request("
|
|
1660
|
+
return this.request("delete", "/user/device/auth/" + device_id, null, options);
|
|
1707
1661
|
};
|
|
1708
1662
|
/**
|
|
1709
1663
|
* PATCH /user/device/auth/{device_id} - Endpoint for authorizing device to retrieve valid kds token
|
|
1710
1664
|
*
|
|
1711
1665
|
* @param device_id - KDS device ID
|
|
1712
|
-
* @param body
|
|
1713
1666
|
* @param options - additional request options
|
|
1714
1667
|
*/
|
|
1715
|
-
ServiceClient.prototype.patch_user_auth_kds = function (device_id,
|
|
1716
|
-
return this.request("
|
|
1668
|
+
ServiceClient.prototype.patch_user_auth_kds = function (device_id, options) {
|
|
1669
|
+
return this.request("patch", "/user/device/auth/" + device_id, null, options);
|
|
1717
1670
|
};
|
|
1718
1671
|
/**
|
|
1719
1672
|
* POST /user/{id}/changepassword - Change the users password
|
|
@@ -1723,7 +1676,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
1723
1676
|
* @param options - additional request options
|
|
1724
1677
|
*/
|
|
1725
1678
|
ServiceClient.prototype.post_user_change_password = function (id, body, options) {
|
|
1726
|
-
return this.request("
|
|
1679
|
+
return this.request("post", "/user/" + id + "/changepassword", body, options);
|
|
1727
1680
|
};
|
|
1728
1681
|
/**
|
|
1729
1682
|
* DELETE /user/logout - Logs out current user
|
|
@@ -1731,7 +1684,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
1731
1684
|
* @param options - additional request options
|
|
1732
1685
|
*/
|
|
1733
1686
|
ServiceClient.prototype.delete_user_logout = function (options) {
|
|
1734
|
-
return this.request("
|
|
1687
|
+
return this.request("delete", "/user/logout", null, options);
|
|
1735
1688
|
};
|
|
1736
1689
|
/**
|
|
1737
1690
|
* POST /user/{id}/secret/{key} - Add a secret key
|
|
@@ -1742,7 +1695,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
1742
1695
|
* @param options - additional request options
|
|
1743
1696
|
*/
|
|
1744
1697
|
ServiceClient.prototype.post_user_add_secret = function (id, key, body, options) {
|
|
1745
|
-
return this.request("
|
|
1698
|
+
return this.request("post", "/user/" + id + "/secret/" + key, body, options);
|
|
1746
1699
|
};
|
|
1747
1700
|
/**
|
|
1748
1701
|
* GET /user/{id}/secret/{key} - Get back a secret key
|
|
@@ -1752,7 +1705,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
1752
1705
|
* @param options - additional request options
|
|
1753
1706
|
*/
|
|
1754
1707
|
ServiceClient.prototype.get_user_secret = function (id, key, options) {
|
|
1755
|
-
return this.request("
|
|
1708
|
+
return this.request("get", "/user/" + id + "/secret/" + key, null, options);
|
|
1756
1709
|
};
|
|
1757
1710
|
/**
|
|
1758
1711
|
* POST /user/forgotpassword - Reset the users password
|
|
@@ -1761,7 +1714,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
1761
1714
|
* @param options - additional request options
|
|
1762
1715
|
*/
|
|
1763
1716
|
ServiceClient.prototype.post_user_reset_password = function (body, options) {
|
|
1764
|
-
return this.request("
|
|
1717
|
+
return this.request("post", "/user/forgotpassword", body, options);
|
|
1765
1718
|
};
|
|
1766
1719
|
/**
|
|
1767
1720
|
* POST /user/{id}/resetpassword - Reset the users password using a reset token
|
|
@@ -1771,7 +1724,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
1771
1724
|
* @param options - additional request options
|
|
1772
1725
|
*/
|
|
1773
1726
|
ServiceClient.prototype.post_user_reset_password_token = function (id, body, options) {
|
|
1774
|
-
return this.request("
|
|
1727
|
+
return this.request("post", "/user/" + id + "/resetpassword", body, options);
|
|
1775
1728
|
};
|
|
1776
1729
|
/**
|
|
1777
1730
|
* GET /user/realm/{realm} - Get all the users in a realm
|
|
@@ -1780,7 +1733,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
1780
1733
|
* @param options - additional request options
|
|
1781
1734
|
*/
|
|
1782
1735
|
ServiceClient.prototype.get_user_realm_users = function (realm, options) {
|
|
1783
|
-
return this.request("
|
|
1736
|
+
return this.request("get", "/user/realm/" + realm, null, options);
|
|
1784
1737
|
};
|
|
1785
1738
|
/**
|
|
1786
1739
|
* GET /user/{id}/permissions - Get user permissions
|
|
@@ -1789,7 +1742,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
1789
1742
|
* @param options - additional request options
|
|
1790
1743
|
*/
|
|
1791
1744
|
ServiceClient.prototype.get_user_permissions = function (id, options) {
|
|
1792
|
-
return this.request("
|
|
1745
|
+
return this.request("get", "/user/" + id + "/permissions", null, options);
|
|
1793
1746
|
};
|
|
1794
1747
|
/**
|
|
1795
1748
|
* PUT /user/{id}/permissions - Update user permissions
|
|
@@ -1799,7 +1752,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
1799
1752
|
* @param options - additional request options
|
|
1800
1753
|
*/
|
|
1801
1754
|
ServiceClient.prototype.put_user_permissions = function (id, body, options) {
|
|
1802
|
-
return this.request("
|
|
1755
|
+
return this.request("put", "/user/" + id + "/permissions", body, options);
|
|
1803
1756
|
};
|
|
1804
1757
|
/**
|
|
1805
1758
|
* POST /user/{id}/checkin - Create check-in for user
|
|
@@ -1809,7 +1762,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
1809
1762
|
* @param options - additional request options
|
|
1810
1763
|
*/
|
|
1811
1764
|
ServiceClient.prototype.post_user_check_in = function (id, body, options) {
|
|
1812
|
-
return this.request("
|
|
1765
|
+
return this.request("post", "/user/" + id + "/checkin", body, options);
|
|
1813
1766
|
};
|
|
1814
1767
|
/**
|
|
1815
1768
|
* PATCH /user/{id}/checkin/{checkin_id} - Update check-in
|
|
@@ -1820,7 +1773,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
1820
1773
|
* @param options - additional request options
|
|
1821
1774
|
*/
|
|
1822
1775
|
ServiceClient.prototype.patch_user_checkin = function (id, checkin_id, body, options) {
|
|
1823
|
-
return this.request("
|
|
1776
|
+
return this.request("patch", "/user/" + id + "/checkin/" + checkin_id, body, options);
|
|
1824
1777
|
};
|
|
1825
1778
|
/**
|
|
1826
1779
|
* GET /user/checkin/search - Search check-in
|
|
@@ -1828,7 +1781,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
1828
1781
|
* @param options - additional request options
|
|
1829
1782
|
*/
|
|
1830
1783
|
ServiceClient.prototype.get_user_search_check_in = function (options) {
|
|
1831
|
-
return this.request("
|
|
1784
|
+
return this.request("get", "/user/checkin/search", null, options);
|
|
1832
1785
|
};
|
|
1833
1786
|
/**
|
|
1834
1787
|
* POST /user/{id}/verification - Send email verification to user
|
|
@@ -1837,7 +1790,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
1837
1790
|
* @param options - additional request options
|
|
1838
1791
|
*/
|
|
1839
1792
|
ServiceClient.prototype.post_user_send_email_verification = function (id, options) {
|
|
1840
|
-
return this.request("
|
|
1793
|
+
return this.request("post", "/user/" + id + "/verification", null, options);
|
|
1841
1794
|
};
|
|
1842
1795
|
/**
|
|
1843
1796
|
* PUT /user/{id}/verification/confirm - Verify a users email
|
|
@@ -1847,17 +1800,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
1847
1800
|
* @param options - additional request options
|
|
1848
1801
|
*/
|
|
1849
1802
|
ServiceClient.prototype.put_user_verify_user_email = function (id, body, options) {
|
|
1850
|
-
return this.request("
|
|
1851
|
-
};
|
|
1852
|
-
/**
|
|
1853
|
-
* PUT /user/{id}/verification/phone - Send phone verification to user
|
|
1854
|
-
*
|
|
1855
|
-
* @param id - realm
|
|
1856
|
-
* @param body
|
|
1857
|
-
* @param options - additional request options
|
|
1858
|
-
*/
|
|
1859
|
-
ServiceClient.prototype.put_user_verification_phone = function (id, body, options) {
|
|
1860
|
-
return this.request("user", "put_user_verification_phone", "put", "/user/" + id + "/verification/phone", body, options);
|
|
1803
|
+
return this.request("put", "/user/" + id + "/verification/confirm", body, options);
|
|
1861
1804
|
};
|
|
1862
1805
|
/**
|
|
1863
1806
|
* POST /loyalty/{id}/enroll/{user_id} - Enroll logged in user in Loyalty program
|
|
@@ -1867,7 +1810,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
1867
1810
|
* @param options - additional request options
|
|
1868
1811
|
*/
|
|
1869
1812
|
ServiceClient.prototype.post_loyalty_enroll = function (id, user_id, options) {
|
|
1870
|
-
return this.request("
|
|
1813
|
+
return this.request("post", "/loyalty/" + id + "/enroll/" + user_id, null, options);
|
|
1871
1814
|
};
|
|
1872
1815
|
/**
|
|
1873
1816
|
* GET /loyalty/{id}/points - Get potential points user could earn from certain event in Loyalty program
|
|
@@ -1876,7 +1819,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
1876
1819
|
* @param options - additional request options
|
|
1877
1820
|
*/
|
|
1878
1821
|
ServiceClient.prototype.get_loyalty_points = function (id, options) {
|
|
1879
|
-
return this.request("
|
|
1822
|
+
return this.request("get", "/loyalty/" + id + "/points", null, options);
|
|
1880
1823
|
};
|
|
1881
1824
|
/**
|
|
1882
1825
|
* GET /loyalty/{id}/offers/{user_id} - Get offers for the logged in user
|
|
@@ -1886,7 +1829,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
1886
1829
|
* @param options - additional request options
|
|
1887
1830
|
*/
|
|
1888
1831
|
ServiceClient.prototype.get_loyalty_offers = function (id, user_id, options) {
|
|
1889
|
-
return this.request("
|
|
1832
|
+
return this.request("get", "/loyalty/" + id + "/offers/" + user_id, null, options);
|
|
1890
1833
|
};
|
|
1891
1834
|
/**
|
|
1892
1835
|
* GET /loyalty/{id}/enrollmentstatus/{user_id} - Get enrollment status for logged in user
|
|
@@ -1896,7 +1839,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
1896
1839
|
* @param options - additional request options
|
|
1897
1840
|
*/
|
|
1898
1841
|
ServiceClient.prototype.get_loyalty_enrollmentstatus = function (id, user_id, options) {
|
|
1899
|
-
return this.request("
|
|
1842
|
+
return this.request("get", "/loyalty/" + id + "/enrollmentstatus/" + user_id, null, options);
|
|
1900
1843
|
};
|
|
1901
1844
|
/**
|
|
1902
1845
|
* GET /loyalty/{id}/balance/{user_id} - Get loyalty point balance for logged in user
|
|
@@ -1906,7 +1849,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
1906
1849
|
* @param options - additional request options
|
|
1907
1850
|
*/
|
|
1908
1851
|
ServiceClient.prototype.get_loyalty_balance = function (id, user_id, options) {
|
|
1909
|
-
return this.request("
|
|
1852
|
+
return this.request("get", "/loyalty/" + id + "/balance/" + user_id, null, options);
|
|
1910
1853
|
};
|
|
1911
1854
|
/**
|
|
1912
1855
|
* GET /loyalty/{id}/opportunities/{user_id} - Get earning opportunities for the logged in user
|
|
@@ -1916,7 +1859,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
1916
1859
|
* @param options - additional request options
|
|
1917
1860
|
*/
|
|
1918
1861
|
ServiceClient.prototype.get_loyalty_opportunities = function (id, user_id, options) {
|
|
1919
|
-
return this.request("
|
|
1862
|
+
return this.request("get", "/loyalty/" + id + "/opportunities/" + user_id, null, options);
|
|
1920
1863
|
};
|
|
1921
1864
|
/**
|
|
1922
1865
|
* POST /loyalty/{id}/opportunities/{user_id} - Record an event for the logged in user
|
|
@@ -1926,7 +1869,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
1926
1869
|
* @param options - additional request options
|
|
1927
1870
|
*/
|
|
1928
1871
|
ServiceClient.prototype.post_loyalty_opportunities = function (id, user_id, options) {
|
|
1929
|
-
return this.request("
|
|
1872
|
+
return this.request("post", "/loyalty/" + id + "/opportunities/" + user_id, null, options);
|
|
1930
1873
|
};
|
|
1931
1874
|
/**
|
|
1932
1875
|
* GET /loyalty/{id}/rewards/{user_id} - Get rewards available for the logged in user
|
|
@@ -1936,7 +1879,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
1936
1879
|
* @param options - additional request options
|
|
1937
1880
|
*/
|
|
1938
1881
|
ServiceClient.prototype.get_loyalty_rewards = function (id, user_id, options) {
|
|
1939
|
-
return this.request("
|
|
1882
|
+
return this.request("get", "/loyalty/" + id + "/rewards/" + user_id, null, options);
|
|
1940
1883
|
};
|
|
1941
1884
|
/**
|
|
1942
1885
|
* GET /loyalty/{id}/coupons/{user_id} - Get coupons available for the logged in user
|
|
@@ -1946,7 +1889,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
1946
1889
|
* @param options - additional request options
|
|
1947
1890
|
*/
|
|
1948
1891
|
ServiceClient.prototype.get_loyalty_coupons = function (id, user_id, options) {
|
|
1949
|
-
return this.request("
|
|
1892
|
+
return this.request("get", "/loyalty/" + id + "/coupons/" + user_id, null, options);
|
|
1950
1893
|
};
|
|
1951
1894
|
/**
|
|
1952
1895
|
* GET /loyalty/{id}/orderpoints/{user_id} - Get potential loyalty point points for an order based on amount.
|
|
@@ -1956,7 +1899,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
1956
1899
|
* @param options - additional request options
|
|
1957
1900
|
*/
|
|
1958
1901
|
ServiceClient.prototype.get_loyalty_orderpoints = function (id, user_id, options) {
|
|
1959
|
-
return this.request("
|
|
1902
|
+
return this.request("get", "/loyalty/" + id + "/orderpoints/" + user_id, null, options);
|
|
1960
1903
|
};
|
|
1961
1904
|
/**
|
|
1962
1905
|
* POST /loyalty/{id}/orderpoints/{user_id} - Get potential loyalty point points for a order based on amount and items
|
|
@@ -1967,7 +1910,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
1967
1910
|
* @param options - additional request options
|
|
1968
1911
|
*/
|
|
1969
1912
|
ServiceClient.prototype.post_loyalty_orderpoints = function (id, user_id, body, options) {
|
|
1970
|
-
return this.request("
|
|
1913
|
+
return this.request("post", "/loyalty/" + id + "/orderpoints/" + user_id, body, options);
|
|
1971
1914
|
};
|
|
1972
1915
|
/**
|
|
1973
1916
|
* POST /loyalty/{id}/purchase/{user_id} - Record purchase event
|
|
@@ -1978,7 +1921,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
1978
1921
|
* @param options - additional request options
|
|
1979
1922
|
*/
|
|
1980
1923
|
ServiceClient.prototype.post_loyalty_purchase = function (id, user_id, body, options) {
|
|
1981
|
-
return this.request("
|
|
1924
|
+
return this.request("post", "/loyalty/" + id + "/purchase/" + user_id, body, options);
|
|
1982
1925
|
};
|
|
1983
1926
|
/**
|
|
1984
1927
|
* POST /loyalty/{id}/buyreward/{user_id} - Redeem rewards to coupons
|
|
@@ -1989,7 +1932,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
1989
1932
|
* @param options - additional request options
|
|
1990
1933
|
*/
|
|
1991
1934
|
ServiceClient.prototype.post_loyalty_buyreward = function (id, user_id, body, options) {
|
|
1992
|
-
return this.request("
|
|
1935
|
+
return this.request("post", "/loyalty/" + id + "/buyreward/" + user_id, body, options);
|
|
1993
1936
|
};
|
|
1994
1937
|
/**
|
|
1995
1938
|
* GET /loyalty/{id}/history/{user_id} - Get history of loyalty transactions for user
|
|
@@ -1999,7 +1942,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
1999
1942
|
* @param options - additional request options
|
|
2000
1943
|
*/
|
|
2001
1944
|
ServiceClient.prototype.get_loyalty_history = function (id, user_id, options) {
|
|
2002
|
-
return this.request("
|
|
1945
|
+
return this.request("get", "/loyalty/" + id + "/history/" + user_id, null, options);
|
|
2003
1946
|
};
|
|
2004
1947
|
/**
|
|
2005
1948
|
* GET /loyalty/{id}/coupon/{user_id}/{coupon_id} - get coupon's information
|
|
@@ -2010,7 +1953,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
2010
1953
|
* @param options - additional request options
|
|
2011
1954
|
*/
|
|
2012
1955
|
ServiceClient.prototype.get_loyalty_coupon = function (id, user_id, coupon_id, options) {
|
|
2013
|
-
return this.request("
|
|
1956
|
+
return this.request("get", "/loyalty/" + id + "/coupon/" + user_id + "/" + coupon_id, null, options);
|
|
2014
1957
|
};
|
|
2015
1958
|
/**
|
|
2016
1959
|
* PATCH /loyalty/{id}/coupon/{user_id}/{coupon_id} - Update coupon's status
|
|
@@ -2022,7 +1965,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
2022
1965
|
* @param options - additional request options
|
|
2023
1966
|
*/
|
|
2024
1967
|
ServiceClient.prototype.patch_loyalty_coupon = function (id, user_id, coupon_id, body, options) {
|
|
2025
|
-
return this.request("
|
|
1968
|
+
return this.request("patch", "/loyalty/" + id + "/coupon/" + user_id + "/" + coupon_id, body, options);
|
|
2026
1969
|
};
|
|
2027
1970
|
/**
|
|
2028
1971
|
* GET /loyalty/{id}/search - Search CDL user id by internal 500friends id
|
|
@@ -2031,7 +1974,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
2031
1974
|
* @param options - additional request options
|
|
2032
1975
|
*/
|
|
2033
1976
|
ServiceClient.prototype.get_loyalty_search = function (id, options) {
|
|
2034
|
-
return this.request("
|
|
1977
|
+
return this.request("get", "/loyalty/" + id + "/search", null, options);
|
|
2035
1978
|
};
|
|
2036
1979
|
/**
|
|
2037
1980
|
* GET /loyalty/{id}/users - Get all loyalty users updated after specific date
|
|
@@ -2040,7 +1983,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
2040
1983
|
* @param options - additional request options
|
|
2041
1984
|
*/
|
|
2042
1985
|
ServiceClient.prototype.get_loyalty_users = function (id, options) {
|
|
2043
|
-
return this.request("
|
|
1986
|
+
return this.request("get", "/loyalty/" + id + "/users", null, options);
|
|
2044
1987
|
};
|
|
2045
1988
|
/**
|
|
2046
1989
|
* GET /loyalty/{id}/events - Get all loyalty events updated after specific date
|
|
@@ -2049,7 +1992,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
2049
1992
|
* @param options - additional request options
|
|
2050
1993
|
*/
|
|
2051
1994
|
ServiceClient.prototype.get_loyalty_events = function (id, options) {
|
|
2052
|
-
return this.request("
|
|
1995
|
+
return this.request("get", "/loyalty/" + id + "/events", null, options);
|
|
2053
1996
|
};
|
|
2054
1997
|
/**
|
|
2055
1998
|
* GET /brand/{id}
|
|
@@ -2058,7 +2001,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
2058
2001
|
* @param options - additional request options
|
|
2059
2002
|
*/
|
|
2060
2003
|
ServiceClient.prototype.get_brand = function (id, options) {
|
|
2061
|
-
return this.request("
|
|
2004
|
+
return this.request("get", "/brand/" + id, null, options);
|
|
2062
2005
|
};
|
|
2063
2006
|
/**
|
|
2064
2007
|
* GET /brand
|
|
@@ -2066,7 +2009,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
2066
2009
|
* @param options - additional request options
|
|
2067
2010
|
*/
|
|
2068
2011
|
ServiceClient.prototype.get_brands = function (options) {
|
|
2069
|
-
return this.request("
|
|
2012
|
+
return this.request("get", "/brand", null, options);
|
|
2070
2013
|
};
|
|
2071
2014
|
/**
|
|
2072
2015
|
* GET /calendar/{id}
|
|
@@ -2075,7 +2018,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
2075
2018
|
* @param options - additional request options
|
|
2076
2019
|
*/
|
|
2077
2020
|
ServiceClient.prototype.get_calendar = function (id, options) {
|
|
2078
|
-
return this.request("
|
|
2021
|
+
return this.request("get", "/calendar/" + id, null, options);
|
|
2079
2022
|
};
|
|
2080
2023
|
/**
|
|
2081
2024
|
* PUT /calendar/{id} - Set the calendar for an id. Overrides previous record
|
|
@@ -2085,7 +2028,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
2085
2028
|
* @param options - additional request options
|
|
2086
2029
|
*/
|
|
2087
2030
|
ServiceClient.prototype.put_calendar = function (id, body, options) {
|
|
2088
|
-
return this.request("
|
|
2031
|
+
return this.request("put", "/calendar/" + id, body, options);
|
|
2089
2032
|
};
|
|
2090
2033
|
/**
|
|
2091
2034
|
* GET /calendar/{id}/cdl - Get the calendar events in a CDL compatible format for next 7 days
|
|
@@ -2094,7 +2037,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
2094
2037
|
* @param options - additional request options
|
|
2095
2038
|
*/
|
|
2096
2039
|
ServiceClient.prototype.get_calendar_cdl = function (id, options) {
|
|
2097
|
-
return this.request("
|
|
2040
|
+
return this.request("get", "/calendar/" + id + "/cdl", null, options);
|
|
2098
2041
|
};
|
|
2099
2042
|
/**
|
|
2100
2043
|
* GET /calendar/swagger.json
|
|
@@ -2102,7 +2045,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
2102
2045
|
* @param options - additional request options
|
|
2103
2046
|
*/
|
|
2104
2047
|
ServiceClient.prototype.get_calendar_swagger = function (options) {
|
|
2105
|
-
return this.request("
|
|
2048
|
+
return this.request("get", "/calendar/swagger.json", null, options);
|
|
2106
2049
|
};
|
|
2107
2050
|
/**
|
|
2108
2051
|
* POST /calendar/{id}/sync - Trigger synchronization of calendar to location API
|
|
@@ -2111,7 +2054,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
2111
2054
|
* @param options - additional request options
|
|
2112
2055
|
*/
|
|
2113
2056
|
ServiceClient.prototype.post_calendar_sync = function (id, options) {
|
|
2114
|
-
return this.request("
|
|
2057
|
+
return this.request("post", "/calendar/" + id + "/sync", null, options);
|
|
2115
2058
|
};
|
|
2116
2059
|
/**
|
|
2117
2060
|
* POST /delivery/order - make reservation
|
|
@@ -2120,7 +2063,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
2120
2063
|
* @param options - additional request options
|
|
2121
2064
|
*/
|
|
2122
2065
|
ServiceClient.prototype.post_delivery_order = function (body, options) {
|
|
2123
|
-
return this.request("
|
|
2066
|
+
return this.request("post", "/delivery/order", body, options);
|
|
2124
2067
|
};
|
|
2125
2068
|
/**
|
|
2126
2069
|
* PATCH /delivery/order/{order_id} - confirm order
|
|
@@ -2129,7 +2072,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
2129
2072
|
* @param options - additional request options
|
|
2130
2073
|
*/
|
|
2131
2074
|
ServiceClient.prototype.patch_delivery_order = function (order_id, options) {
|
|
2132
|
-
return this.request("
|
|
2075
|
+
return this.request("patch", "/delivery/order/" + order_id, null, options);
|
|
2133
2076
|
};
|
|
2134
2077
|
/**
|
|
2135
2078
|
* GET /delivery/order/{order_id} - get order
|
|
@@ -2138,7 +2081,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
2138
2081
|
* @param options - additional request options
|
|
2139
2082
|
*/
|
|
2140
2083
|
ServiceClient.prototype.get_delivery_order = function (order_id, options) {
|
|
2141
|
-
return this.request("
|
|
2084
|
+
return this.request("get", "/delivery/order/" + order_id, null, options);
|
|
2142
2085
|
};
|
|
2143
2086
|
/**
|
|
2144
2087
|
* POST /schedule - Create a new schedule
|
|
@@ -2147,7 +2090,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
2147
2090
|
* @param options - additional request options
|
|
2148
2091
|
*/
|
|
2149
2092
|
ServiceClient.prototype.post_schedule = function (body, options) {
|
|
2150
|
-
return this.request("
|
|
2093
|
+
return this.request("post", "/schedule", body, options);
|
|
2151
2094
|
};
|
|
2152
2095
|
/**
|
|
2153
2096
|
* GET /schedule - Get schedule
|
|
@@ -2155,7 +2098,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
2155
2098
|
* @param options - additional request options
|
|
2156
2099
|
*/
|
|
2157
2100
|
ServiceClient.prototype.get_schedules = function (options) {
|
|
2158
|
-
return this.request("
|
|
2101
|
+
return this.request("get", "/schedule", null, options);
|
|
2159
2102
|
};
|
|
2160
2103
|
/**
|
|
2161
2104
|
* GET /schedule/{id} - Get an individual schedule
|
|
@@ -2164,7 +2107,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
2164
2107
|
* @param options - additional request options
|
|
2165
2108
|
*/
|
|
2166
2109
|
ServiceClient.prototype.get_schedule = function (id, options) {
|
|
2167
|
-
return this.request("
|
|
2110
|
+
return this.request("get", "/schedule/" + id, null, options);
|
|
2168
2111
|
};
|
|
2169
2112
|
/**
|
|
2170
2113
|
* PUT /schedule/{id} - Update a schedule
|
|
@@ -2174,7 +2117,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
2174
2117
|
* @param options - additional request options
|
|
2175
2118
|
*/
|
|
2176
2119
|
ServiceClient.prototype.put_schedule = function (id, body, options) {
|
|
2177
|
-
return this.request("
|
|
2120
|
+
return this.request("put", "/schedule/" + id, body, options);
|
|
2178
2121
|
};
|
|
2179
2122
|
/**
|
|
2180
2123
|
* DELETE /schedule/{id} - Delete schedule
|
|
@@ -2183,7 +2126,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
2183
2126
|
* @param options - additional request options
|
|
2184
2127
|
*/
|
|
2185
2128
|
ServiceClient.prototype.delete_schedule = function (id, options) {
|
|
2186
|
-
return this.request("
|
|
2129
|
+
return this.request("delete", "/schedule/" + id, null, options);
|
|
2187
2130
|
};
|
|
2188
2131
|
/**
|
|
2189
2132
|
* POST /vote - Submit a vote for an item
|
|
@@ -2192,7 +2135,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
2192
2135
|
* @param options - additional request options
|
|
2193
2136
|
*/
|
|
2194
2137
|
ServiceClient.prototype.post_vote = function (body, options) {
|
|
2195
|
-
return this.request("
|
|
2138
|
+
return this.request("post", "/vote", body, options);
|
|
2196
2139
|
};
|
|
2197
2140
|
/**
|
|
2198
2141
|
* GET /vote/idfa/{idfa} - Get votes for an idfa
|
|
@@ -2201,7 +2144,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
2201
2144
|
* @param options - additional request options
|
|
2202
2145
|
*/
|
|
2203
2146
|
ServiceClient.prototype.get_vote_idfa = function (idfa, options) {
|
|
2204
|
-
return this.request("
|
|
2147
|
+
return this.request("get", "/vote/idfa/" + idfa, null, options);
|
|
2205
2148
|
};
|
|
2206
2149
|
/**
|
|
2207
2150
|
* POST /file - Upload a file to CDL S3
|
|
@@ -2210,7 +2153,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
2210
2153
|
* @param options - additional request options
|
|
2211
2154
|
*/
|
|
2212
2155
|
ServiceClient.prototype.post_file = function (body, options) {
|
|
2213
|
-
return this.request("
|
|
2156
|
+
return this.request("post", "/file", body, options);
|
|
2214
2157
|
};
|
|
2215
2158
|
/**
|
|
2216
2159
|
* POST /message - Create a Message
|
|
@@ -2219,7 +2162,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
2219
2162
|
* @param options - additional request options
|
|
2220
2163
|
*/
|
|
2221
2164
|
ServiceClient.prototype.post_message = function (body, options) {
|
|
2222
|
-
return this.request("
|
|
2165
|
+
return this.request("post", "/message", body, options);
|
|
2223
2166
|
};
|
|
2224
2167
|
/**
|
|
2225
2168
|
* GET /message/{id} - Get a Message
|
|
@@ -2228,7 +2171,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
2228
2171
|
* @param options - additional request options
|
|
2229
2172
|
*/
|
|
2230
2173
|
ServiceClient.prototype.get_message = function (id, options) {
|
|
2231
|
-
return this.request("
|
|
2174
|
+
return this.request("get", "/message/" + id, null, options);
|
|
2232
2175
|
};
|
|
2233
2176
|
/**
|
|
2234
2177
|
* GET /logger/{id}/brand/status - Get status changes of all brands
|
|
@@ -2237,242 +2180,7 @@ var ServiceClient = /** @class */ (function (_super) {
|
|
|
2237
2180
|
* @param options - additional request options
|
|
2238
2181
|
*/
|
|
2239
2182
|
ServiceClient.prototype.get_logger_brand_status = function (id, options) {
|
|
2240
|
-
return this.request("
|
|
2241
|
-
};
|
|
2242
|
-
/**
|
|
2243
|
-
* GET /menu/client/{client_id} - Get menu client
|
|
2244
|
-
*
|
|
2245
|
-
* @param client_id
|
|
2246
|
-
* @param options - additional request options
|
|
2247
|
-
*/
|
|
2248
|
-
ServiceClient.prototype.get_menu_client = function (client_id, options) {
|
|
2249
|
-
return this.request("menu", "get_menu_client", "get", "/menu/client/" + client_id, null, options);
|
|
2250
|
-
};
|
|
2251
|
-
/**
|
|
2252
|
-
* GET /menu - Get Menus or search for Menus
|
|
2253
|
-
*
|
|
2254
|
-
* @param options - additional request options
|
|
2255
|
-
*/
|
|
2256
|
-
ServiceClient.prototype.get_menus = function (options) {
|
|
2257
|
-
return this.request("menu", "get_menus", "get", "/menu", null, options);
|
|
2258
|
-
};
|
|
2259
|
-
/**
|
|
2260
|
-
* POST /menu - Create a new Menu
|
|
2261
|
-
*
|
|
2262
|
-
* @param body
|
|
2263
|
-
* @param options - additional request options
|
|
2264
|
-
*/
|
|
2265
|
-
ServiceClient.prototype.post_menu = function (body, options) {
|
|
2266
|
-
return this.request("menu", "post_menu", "post", "/menu", body, options);
|
|
2267
|
-
};
|
|
2268
|
-
/**
|
|
2269
|
-
* HEAD /menu/{id} - Get an individual Menu
|
|
2270
|
-
*
|
|
2271
|
-
* @param id - menu
|
|
2272
|
-
* @param options - additional request options
|
|
2273
|
-
*/
|
|
2274
|
-
ServiceClient.prototype.head_menu = function (id, options) {
|
|
2275
|
-
return this.request("menu", "head_menu", "head", "/menu/" + id, null, options);
|
|
2276
|
-
};
|
|
2277
|
-
/**
|
|
2278
|
-
* GET /menu/{id} - Get an individual Menu
|
|
2279
|
-
*
|
|
2280
|
-
* @param id - menu
|
|
2281
|
-
* @param options - additional request options
|
|
2282
|
-
*/
|
|
2283
|
-
ServiceClient.prototype.get_menu = function (id, options) {
|
|
2284
|
-
return this.request("menu", "get_menu", "get", "/menu/" + id, null, options);
|
|
2285
|
-
};
|
|
2286
|
-
/**
|
|
2287
|
-
* PUT /menu/{id} - Override a complete Menu
|
|
2288
|
-
*
|
|
2289
|
-
* @param id - menu
|
|
2290
|
-
* @param body
|
|
2291
|
-
* @param options - additional request options
|
|
2292
|
-
*/
|
|
2293
|
-
ServiceClient.prototype.put_menu = function (id, body, options) {
|
|
2294
|
-
return this.request("menu", "put_menu", "put", "/menu/" + id, body, options);
|
|
2295
|
-
};
|
|
2296
|
-
/**
|
|
2297
|
-
* DELETE /menu/{id} - Delete a Menu
|
|
2298
|
-
*
|
|
2299
|
-
* @param id - menu
|
|
2300
|
-
* @param options - additional request options
|
|
2301
|
-
*/
|
|
2302
|
-
ServiceClient.prototype.delete_menu = function (id, options) {
|
|
2303
|
-
return this.request("menu", "delete_menu", "delete", "/menu/" + id, null, options);
|
|
2304
|
-
};
|
|
2305
|
-
/**
|
|
2306
|
-
* PATCH /menu/{id} - Update a menu
|
|
2307
|
-
*
|
|
2308
|
-
* @param id - menu
|
|
2309
|
-
* @param body
|
|
2310
|
-
* @param options - additional request options
|
|
2311
|
-
*/
|
|
2312
|
-
ServiceClient.prototype.patch_menu = function (id, body, options) {
|
|
2313
|
-
return this.request("menu", "patch_menu", "patch", "/menu/" + id, body, options);
|
|
2314
|
-
};
|
|
2315
|
-
/**
|
|
2316
|
-
* POST /menu/import - Import an existing Menu
|
|
2317
|
-
*
|
|
2318
|
-
* @param body
|
|
2319
|
-
* @param options - additional request options
|
|
2320
|
-
*/
|
|
2321
|
-
ServiceClient.prototype.post_menu_import_menu = function (body, options) {
|
|
2322
|
-
return this.request("menu", "post_menu_import_menu", "post", "/menu/import", body, options);
|
|
2323
|
-
};
|
|
2324
|
-
/**
|
|
2325
|
-
* GET /menu/item/{id} - Get menu item
|
|
2326
|
-
*
|
|
2327
|
-
* @param id - Item ID
|
|
2328
|
-
* @param options - additional request options
|
|
2329
|
-
*/
|
|
2330
|
-
ServiceClient.prototype.get_menu_item = function (id, options) {
|
|
2331
|
-
return this.request("menu", "get_menu_item", "get", "/menu/item/" + id, null, options);
|
|
2332
|
-
};
|
|
2333
|
-
/**
|
|
2334
|
-
* DELETE /menu/item/{id} - Delete a menu item
|
|
2335
|
-
*
|
|
2336
|
-
* @param id - Item ID
|
|
2337
|
-
* @param options - additional request options
|
|
2338
|
-
*/
|
|
2339
|
-
ServiceClient.prototype.delete_menu_item = function (id, options) {
|
|
2340
|
-
return this.request("menu", "delete_menu_item", "delete", "/menu/item/" + id, null, options);
|
|
2341
|
-
};
|
|
2342
|
-
/**
|
|
2343
|
-
* POST /menu/item - Create a menu item
|
|
2344
|
-
*
|
|
2345
|
-
* @param body
|
|
2346
|
-
* @param options - additional request options
|
|
2347
|
-
*/
|
|
2348
|
-
ServiceClient.prototype.post_menu_item = function (body, options) {
|
|
2349
|
-
return this.request("menu", "post_menu_item", "post", "/menu/item", body, options);
|
|
2350
|
-
};
|
|
2351
|
-
/**
|
|
2352
|
-
* GET /menu/items - Search for menu items
|
|
2353
|
-
*
|
|
2354
|
-
* @param options - additional request options
|
|
2355
|
-
*/
|
|
2356
|
-
ServiceClient.prototype.get_menu_items = function (options) {
|
|
2357
|
-
return this.request("menu", "get_menu_items", "get", "/menu/items", null, options);
|
|
2358
|
-
};
|
|
2359
|
-
/**
|
|
2360
|
-
* POST /menu/items/import/{location} - trigger import items
|
|
2361
|
-
*
|
|
2362
|
-
* @param location - Location ID
|
|
2363
|
-
* @param options - additional request options
|
|
2364
|
-
*/
|
|
2365
|
-
ServiceClient.prototype.post_menu_import_items_canteen = function (location, options) {
|
|
2366
|
-
return this.request("menu", "post_menu_import_items_canteen", "post", "/menu/items/import/" + location, null, options);
|
|
2367
|
-
};
|
|
2368
|
-
/**
|
|
2369
|
-
* GET /menu/items/location/{location} - Get all menu items for a location
|
|
2370
|
-
*
|
|
2371
|
-
* @param location - Location ID
|
|
2372
|
-
* @param options - additional request options
|
|
2373
|
-
*/
|
|
2374
|
-
ServiceClient.prototype.get_menu_location_items = function (location, options) {
|
|
2375
|
-
return this.request("menu", "get_menu_location_items", "get", "/menu/items/location/" + location, null, options);
|
|
2376
|
-
};
|
|
2377
|
-
/**
|
|
2378
|
-
* GET /menu/item/random/location/{location} - Get a random item
|
|
2379
|
-
*
|
|
2380
|
-
* @param location - Location ID
|
|
2381
|
-
* @param options - additional request options
|
|
2382
|
-
*/
|
|
2383
|
-
ServiceClient.prototype.get_menu_location_item_random = function (location, options) {
|
|
2384
|
-
return this.request("menu", "get_menu_location_item_random", "get", "/menu/item/random/location/" + location, null, options);
|
|
2385
|
-
};
|
|
2386
|
-
/**
|
|
2387
|
-
* GET /menu/items/random/location/{location} - Get a set of random items
|
|
2388
|
-
*
|
|
2389
|
-
* @param location - Location ID
|
|
2390
|
-
* @param options - additional request options
|
|
2391
|
-
*/
|
|
2392
|
-
ServiceClient.prototype.get_menu_location_items_random = function (location, options) {
|
|
2393
|
-
return this.request("menu", "get_menu_location_items_random", "get", "/menu/items/random/location/" + location, null, options);
|
|
2394
|
-
};
|
|
2395
|
-
/**
|
|
2396
|
-
* GET /menu/sector/{sector} - Get menus that belong to sector
|
|
2397
|
-
*
|
|
2398
|
-
* @param sector - Sector ID
|
|
2399
|
-
* @param options - additional request options
|
|
2400
|
-
*/
|
|
2401
|
-
ServiceClient.prototype.get_menu_sector_menus = function (sector, options) {
|
|
2402
|
-
return this.request("menu", "get_menu_sector_menus", "get", "/menu/sector/" + sector, null, options);
|
|
2403
|
-
};
|
|
2404
|
-
/**
|
|
2405
|
-
* GET /menu/company/{company} - Get menus that belong to company
|
|
2406
|
-
*
|
|
2407
|
-
* @param company - Company ID
|
|
2408
|
-
* @param options - additional request options
|
|
2409
|
-
*/
|
|
2410
|
-
ServiceClient.prototype.get_menu_company_menus = function (company, options) {
|
|
2411
|
-
return this.request("menu", "get_menu_company_menus", "get", "/menu/company/" + company, null, options);
|
|
2412
|
-
};
|
|
2413
|
-
/**
|
|
2414
|
-
* POST /menu/modifier/group - Create a new Menu Modifier Group
|
|
2415
|
-
*
|
|
2416
|
-
* @param body
|
|
2417
|
-
* @param options - additional request options
|
|
2418
|
-
*/
|
|
2419
|
-
ServiceClient.prototype.post_menu_modifier_group = function (body, options) {
|
|
2420
|
-
return this.request("menu", "post_menu_modifier_group", "post", "/menu/modifier/group", body, options);
|
|
2421
|
-
};
|
|
2422
|
-
/**
|
|
2423
|
-
* GET /menu/modifier/group/{id} - Get a Menu Modifier Group
|
|
2424
|
-
*
|
|
2425
|
-
* @param id - modifier_group
|
|
2426
|
-
* @param options - additional request options
|
|
2427
|
-
*/
|
|
2428
|
-
ServiceClient.prototype.get_menu_modifier_group = function (id, options) {
|
|
2429
|
-
return this.request("menu", "get_menu_modifier_group", "get", "/menu/modifier/group/" + id, null, options);
|
|
2430
|
-
};
|
|
2431
|
-
/**
|
|
2432
|
-
* PUT /menu/modifier/group/{id} - Update a Menu Modifier Group
|
|
2433
|
-
*
|
|
2434
|
-
* @param id - modifier_group
|
|
2435
|
-
* @param body
|
|
2436
|
-
* @param options - additional request options
|
|
2437
|
-
*/
|
|
2438
|
-
ServiceClient.prototype.put_menu_modifier_group = function (id, body, options) {
|
|
2439
|
-
return this.request("menu", "put_menu_modifier_group", "put", "/menu/modifier/group/" + id, body, options);
|
|
2440
|
-
};
|
|
2441
|
-
/**
|
|
2442
|
-
* DELETE /menu/modifier/group/{id} - Delete a Menu Modifier Group
|
|
2443
|
-
*
|
|
2444
|
-
* @param id - modifier_group
|
|
2445
|
-
* @param options - additional request options
|
|
2446
|
-
*/
|
|
2447
|
-
ServiceClient.prototype.delete_menu_modifier_group = function (id, options) {
|
|
2448
|
-
return this.request("menu", "delete_menu_modifier_group", "delete", "/menu/modifier/group/" + id, null, options);
|
|
2449
|
-
};
|
|
2450
|
-
/**
|
|
2451
|
-
* GET /menu/modifier/group/company/{company} - Get the modifier groups that belong to company
|
|
2452
|
-
*
|
|
2453
|
-
* @param company - Company ID
|
|
2454
|
-
* @param options - additional request options
|
|
2455
|
-
*/
|
|
2456
|
-
ServiceClient.prototype.get_menu_company_modifier_groups = function (company, options) {
|
|
2457
|
-
return this.request("menu", "get_menu_company_modifier_groups", "get", "/menu/modifier/group/company/" + company, null, options);
|
|
2458
|
-
};
|
|
2459
|
-
/**
|
|
2460
|
-
* GET /menu/modifier/group/company/{company}/export - Export company modifier groups to zipped excel file.
|
|
2461
|
-
*
|
|
2462
|
-
* @param company - Company ID
|
|
2463
|
-
* @param options - additional request options
|
|
2464
|
-
*/
|
|
2465
|
-
ServiceClient.prototype.get_menu_company_modifier_groups_export = function (company, options) {
|
|
2466
|
-
return this.request("menu", "get_menu_company_modifier_groups_export", "get", "/menu/modifier/group/company/" + company + "/export", null, options);
|
|
2467
|
-
};
|
|
2468
|
-
/**
|
|
2469
|
-
* GET /menu/{id}/export - Export menu set to zipped excel file.
|
|
2470
|
-
*
|
|
2471
|
-
* @param id - menu; TODO: cannot use compassdigital.id as path parameter
|
|
2472
|
-
* @param options - additional request options
|
|
2473
|
-
*/
|
|
2474
|
-
ServiceClient.prototype.get_menu_export = function (id, options) {
|
|
2475
|
-
return this.request("menu", "get_menu_export", "get", "/menu/" + id + "/export", null, options);
|
|
2183
|
+
return this.request("get", "/logger/" + id + "/brand/status", null, options);
|
|
2476
2184
|
};
|
|
2477
2185
|
return ServiceClient;
|
|
2478
2186
|
}(base_1.BaseServiceClient));
|