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