@ikas/api-client 1.0.74 → 1.0.77
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api/admin/admin-client.js +14 -29
- package/dist/api/admin/admin-client.js.map +1 -1
- package/dist/api/admin/generated/default-gqls.js +5 -5
- package/dist/api/admin/generated/default-gqls.js.map +1 -1
- package/dist/api/admin/generated/index.d.ts +3149 -3081
- package/dist/api/admin/generated/index.js +113 -113
- package/dist/api/admin/generated/index.js.map +1 -1
- package/dist/api/admin/generated/mutation.d.ts +1 -1
- package/dist/api/admin/generated/mutation.js +205 -520
- package/dist/api/admin/generated/mutation.js.map +1 -1
- package/dist/api/admin/generated/query.d.ts +1 -1
- package/dist/api/admin/generated/query.js +181 -464
- package/dist/api/admin/generated/query.js.map +1 -1
- package/dist/api/admin/index.js +5 -1
- package/dist/api/admin/index.js.map +1 -1
- package/dist/api/admin/rest.d.ts +2 -2
- package/dist/api/admin/rest.js +17 -57
- package/dist/api/admin/rest.js.map +1 -1
- package/dist/api/base.d.ts +10 -15
- package/dist/api/base.js +65 -143
- package/dist/api/base.js.map +1 -1
- package/dist/api/index.js +5 -1
- package/dist/api/index.js.map +1 -1
- package/dist/api/oauth/index.d.ts +1 -1
- package/dist/api/oauth/index.js +40 -89
- package/dist/api/oauth/index.js.map +1 -1
- package/dist/api/oauth/models.d.ts +7 -8
- package/dist/api/oauth/models.js +2 -3
- package/dist/api/oauth/models.js.map +1 -1
- package/dist/globals/constants.d.ts +1 -1
- package/dist/globals/constants.js +8 -6
- package/dist/globals/constants.js.map +1 -1
- package/dist/globals/index.js +5 -1
- package/dist/globals/index.js.map +1 -1
- package/dist/helpers/auth-helpers.js +7 -9
- package/dist/helpers/auth-helpers.js.map +1 -1
- package/dist/helpers/index.js +5 -1
- package/dist/helpers/index.js.map +1 -1
- package/dist/helpers/webhook-helpers.js +14 -59
- package/dist/helpers/webhook-helpers.js.map +1 -1
- package/dist/index.d.ts +1 -2
- package/dist/index.js +12 -7
- package/dist/index.js.map +1 -1
- package/dist/models/index.js +5 -1
- package/dist/models/index.js.map +1 -1
- package/dist/models/webhook/index.js +5 -1
- package/dist/models/webhook/index.js.map +1 -1
- package/dist/models/webhook/models.d.ts +2 -2
- package/dist/models/webhook/models.js +1 -1
- package/dist/models/webhook/models.js.map +1 -1
- package/package.json +21 -13
|
@@ -1,471 +1,188 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __assign = (this && this.__assign) || function () {
|
|
3
|
-
__assign = Object.assign || function(t) {
|
|
4
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
-
s = arguments[i];
|
|
6
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
-
t[p] = s[p];
|
|
8
|
-
}
|
|
9
|
-
return t;
|
|
10
|
-
};
|
|
11
|
-
return __assign.apply(this, arguments);
|
|
12
|
-
};
|
|
13
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
14
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
15
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
16
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
17
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
18
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
19
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
20
|
-
});
|
|
21
|
-
};
|
|
22
|
-
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
23
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
24
|
-
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
25
|
-
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
26
|
-
function step(op) {
|
|
27
|
-
if (f) throw new TypeError("Generator is already executing.");
|
|
28
|
-
while (_) try {
|
|
29
|
-
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
30
|
-
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
31
|
-
switch (op[0]) {
|
|
32
|
-
case 0: case 1: t = op; break;
|
|
33
|
-
case 4: _.label++; return { value: op[1], done: false };
|
|
34
|
-
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
35
|
-
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
36
|
-
default:
|
|
37
|
-
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
38
|
-
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
39
|
-
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
40
|
-
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
41
|
-
if (t[2]) _.ops.pop();
|
|
42
|
-
_.trys.pop(); continue;
|
|
43
|
-
}
|
|
44
|
-
op = body.call(thisArg, _);
|
|
45
|
-
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
46
|
-
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
47
|
-
}
|
|
48
|
-
};
|
|
49
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
50
3
|
exports.AdminQuery = void 0;
|
|
51
|
-
|
|
52
|
-
|
|
4
|
+
class AdminQuery {
|
|
5
|
+
client;
|
|
6
|
+
constructor(client) {
|
|
53
7
|
this.client = client;
|
|
54
8
|
}
|
|
55
|
-
|
|
56
|
-
return
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
});
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
return
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
});
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
return
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
});
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
return
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
});
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
return
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
});
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
return
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
});
|
|
180
|
-
}
|
|
181
|
-
|
|
182
|
-
return
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
});
|
|
201
|
-
}
|
|
202
|
-
|
|
203
|
-
return
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
});
|
|
222
|
-
}
|
|
223
|
-
|
|
224
|
-
return
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
return [2 /*return*/, this.client.query(__assign(__assign({}, options), { operationName: 'listIkasWallet' }))];
|
|
234
|
-
});
|
|
235
|
-
});
|
|
236
|
-
};
|
|
237
|
-
AdminQuery.prototype.listIkasWalletTransaction = function (options) {
|
|
238
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
239
|
-
return __generator(this, function (_a) {
|
|
240
|
-
return [2 /*return*/, this.client.query(__assign(__assign({}, options), { operationName: 'listIkasWalletTransaction' }))];
|
|
241
|
-
});
|
|
242
|
-
});
|
|
243
|
-
};
|
|
244
|
-
AdminQuery.prototype.listLanguage = function (options) {
|
|
245
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
246
|
-
return __generator(this, function (_a) {
|
|
247
|
-
return [2 /*return*/, this.client.query(__assign(__assign({}, options), { operationName: 'listLanguage' }))];
|
|
248
|
-
});
|
|
249
|
-
});
|
|
250
|
-
};
|
|
251
|
-
AdminQuery.prototype.listMerchantAppPayment = function (options) {
|
|
252
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
253
|
-
return __generator(this, function (_a) {
|
|
254
|
-
return [2 /*return*/, this.client.query(__assign(__assign({}, options), { operationName: 'listMerchantAppPayment' }))];
|
|
255
|
-
});
|
|
256
|
-
});
|
|
257
|
-
};
|
|
258
|
-
AdminQuery.prototype.listMerchantSettings = function (options) {
|
|
259
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
260
|
-
return __generator(this, function (_a) {
|
|
261
|
-
return [2 /*return*/, this.client.query(__assign(__assign({}, options), { operationName: 'listMerchantSettings' }))];
|
|
262
|
-
});
|
|
263
|
-
});
|
|
264
|
-
};
|
|
265
|
-
AdminQuery.prototype.listOrder = function (options) {
|
|
266
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
267
|
-
return __generator(this, function (_a) {
|
|
268
|
-
return [2 /*return*/, this.client.query(__assign(__assign({}, options), { operationName: 'listOrder' }))];
|
|
269
|
-
});
|
|
270
|
-
});
|
|
271
|
-
};
|
|
272
|
-
AdminQuery.prototype.listOrderTag = function (options) {
|
|
273
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
274
|
-
return __generator(this, function (_a) {
|
|
275
|
-
return [2 /*return*/, this.client.query(__assign(__assign({}, options), { operationName: 'listOrderTag' }))];
|
|
276
|
-
});
|
|
277
|
-
});
|
|
278
|
-
};
|
|
279
|
-
AdminQuery.prototype.listOrderTransactions = function (options) {
|
|
280
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
281
|
-
return __generator(this, function (_a) {
|
|
282
|
-
return [2 /*return*/, this.client.query(__assign(__assign({}, options), { operationName: 'listOrderTransactions' }))];
|
|
283
|
-
});
|
|
284
|
-
});
|
|
285
|
-
};
|
|
286
|
-
AdminQuery.prototype.listPaymentGateway = function (options) {
|
|
287
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
288
|
-
return __generator(this, function (_a) {
|
|
289
|
-
return [2 /*return*/, this.client.query(__assign(__assign({}, options), { operationName: 'listPaymentGateway' }))];
|
|
290
|
-
});
|
|
291
|
-
});
|
|
292
|
-
};
|
|
293
|
-
AdminQuery.prototype.listPriceList = function (options) {
|
|
294
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
295
|
-
return __generator(this, function (_a) {
|
|
296
|
-
return [2 /*return*/, this.client.query(__assign(__assign({}, options), { operationName: 'listPriceList' }))];
|
|
297
|
-
});
|
|
298
|
-
});
|
|
299
|
-
};
|
|
300
|
-
AdminQuery.prototype.listProduct = function (options) {
|
|
301
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
302
|
-
return __generator(this, function (_a) {
|
|
303
|
-
return [2 /*return*/, this.client.query(__assign(__assign({}, options), { operationName: 'listProduct' }))];
|
|
304
|
-
});
|
|
305
|
-
});
|
|
306
|
-
};
|
|
307
|
-
AdminQuery.prototype.listProductAttribute = function (options) {
|
|
308
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
309
|
-
return __generator(this, function (_a) {
|
|
310
|
-
return [2 /*return*/, this.client.query(__assign(__assign({}, options), { operationName: 'listProductAttribute' }))];
|
|
311
|
-
});
|
|
312
|
-
});
|
|
313
|
-
};
|
|
314
|
-
AdminQuery.prototype.listProductBrand = function (options) {
|
|
315
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
316
|
-
return __generator(this, function (_a) {
|
|
317
|
-
return [2 /*return*/, this.client.query(__assign(__assign({}, options), { operationName: 'listProductBrand' }))];
|
|
318
|
-
});
|
|
319
|
-
});
|
|
320
|
-
};
|
|
321
|
-
AdminQuery.prototype.listProductOptionSet = function (options) {
|
|
322
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
323
|
-
return __generator(this, function (_a) {
|
|
324
|
-
return [2 /*return*/, this.client.query(__assign(__assign({}, options), { operationName: 'listProductOptionSet' }))];
|
|
325
|
-
});
|
|
326
|
-
});
|
|
327
|
-
};
|
|
328
|
-
AdminQuery.prototype.listProductOrder = function (options) {
|
|
329
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
330
|
-
return __generator(this, function (_a) {
|
|
331
|
-
return [2 /*return*/, this.client.query(__assign(__assign({}, options), { operationName: 'listProductOrder' }))];
|
|
332
|
-
});
|
|
333
|
-
});
|
|
334
|
-
};
|
|
335
|
-
AdminQuery.prototype.listProductStockLocation = function (options) {
|
|
336
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
337
|
-
return __generator(this, function (_a) {
|
|
338
|
-
return [2 /*return*/, this.client.query(__assign(__assign({}, options), { operationName: 'listProductStockLocation' }))];
|
|
339
|
-
});
|
|
340
|
-
});
|
|
341
|
-
};
|
|
342
|
-
AdminQuery.prototype.listProductTag = function (options) {
|
|
343
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
344
|
-
return __generator(this, function (_a) {
|
|
345
|
-
return [2 /*return*/, this.client.query(__assign(__assign({}, options), { operationName: 'listProductTag' }))];
|
|
346
|
-
});
|
|
347
|
-
});
|
|
348
|
-
};
|
|
349
|
-
AdminQuery.prototype.listProductUnit = function (options) {
|
|
350
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
351
|
-
return __generator(this, function (_a) {
|
|
352
|
-
return [2 /*return*/, this.client.query(__assign(__assign({}, options), { operationName: 'listProductUnit' }))];
|
|
353
|
-
});
|
|
354
|
-
});
|
|
355
|
-
};
|
|
356
|
-
AdminQuery.prototype.listProductVolumeDiscount = function (options) {
|
|
357
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
358
|
-
return __generator(this, function (_a) {
|
|
359
|
-
return [2 /*return*/, this.client.query(__assign(__assign({}, options), { operationName: 'listProductVolumeDiscount' }))];
|
|
360
|
-
});
|
|
361
|
-
});
|
|
362
|
-
};
|
|
363
|
-
AdminQuery.prototype.listSalesChannel = function (options) {
|
|
364
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
365
|
-
return __generator(this, function (_a) {
|
|
366
|
-
return [2 /*return*/, this.client.query(__assign(__assign({}, options), { operationName: 'listSalesChannel' }))];
|
|
367
|
-
});
|
|
368
|
-
});
|
|
369
|
-
};
|
|
370
|
-
AdminQuery.prototype.listShippingSettings = function (options) {
|
|
371
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
372
|
-
return __generator(this, function (_a) {
|
|
373
|
-
return [2 /*return*/, this.client.query(__assign(__assign({}, options), { operationName: 'listShippingSettings' }))];
|
|
374
|
-
});
|
|
375
|
-
});
|
|
376
|
-
};
|
|
377
|
-
AdminQuery.prototype.listState = function (options) {
|
|
378
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
379
|
-
return __generator(this, function (_a) {
|
|
380
|
-
return [2 /*return*/, this.client.query(__assign(__assign({}, options), { operationName: 'listState' }))];
|
|
381
|
-
});
|
|
382
|
-
});
|
|
383
|
-
};
|
|
384
|
-
AdminQuery.prototype.listStockLocation = function (options) {
|
|
385
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
386
|
-
return __generator(this, function (_a) {
|
|
387
|
-
return [2 /*return*/, this.client.query(__assign(__assign({}, options), { operationName: 'listStockLocation' }))];
|
|
388
|
-
});
|
|
389
|
-
});
|
|
390
|
-
};
|
|
391
|
-
AdminQuery.prototype.listStorefront = function (options) {
|
|
392
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
393
|
-
return __generator(this, function (_a) {
|
|
394
|
-
return [2 /*return*/, this.client.query(__assign(__assign({}, options), { operationName: 'listStorefront' }))];
|
|
395
|
-
});
|
|
396
|
-
});
|
|
397
|
-
};
|
|
398
|
-
AdminQuery.prototype.listStorefrontJSScript = function (options) {
|
|
399
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
400
|
-
return __generator(this, function (_a) {
|
|
401
|
-
return [2 /*return*/, this.client.query(__assign(__assign({}, options), { operationName: 'listStorefrontJSScript' }))];
|
|
402
|
-
});
|
|
403
|
-
});
|
|
404
|
-
};
|
|
405
|
-
AdminQuery.prototype.listStorefrontPolicy = function (options) {
|
|
406
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
407
|
-
return __generator(this, function (_a) {
|
|
408
|
-
return [2 /*return*/, this.client.query(__assign(__assign({}, options), { operationName: 'listStorefrontPolicy' }))];
|
|
409
|
-
});
|
|
410
|
-
});
|
|
411
|
-
};
|
|
412
|
-
AdminQuery.prototype.listTaxSettings = function (options) {
|
|
413
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
414
|
-
return __generator(this, function (_a) {
|
|
415
|
-
return [2 /*return*/, this.client.query(__assign(__assign({}, options), { operationName: 'listTaxSettings' }))];
|
|
416
|
-
});
|
|
417
|
-
});
|
|
418
|
-
};
|
|
419
|
-
AdminQuery.prototype.listTerminal = function (options) {
|
|
420
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
421
|
-
return __generator(this, function (_a) {
|
|
422
|
-
return [2 /*return*/, this.client.query(__assign(__assign({}, options), { operationName: 'listTerminal' }))];
|
|
423
|
-
});
|
|
424
|
-
});
|
|
425
|
-
};
|
|
426
|
-
AdminQuery.prototype.listTown = function (options) {
|
|
427
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
428
|
-
return __generator(this, function (_a) {
|
|
429
|
-
return [2 /*return*/, this.client.query(__assign(__assign({}, options), { operationName: 'listTown' }))];
|
|
430
|
-
});
|
|
431
|
-
});
|
|
432
|
-
};
|
|
433
|
-
AdminQuery.prototype.listVariantType = function (options) {
|
|
434
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
435
|
-
return __generator(this, function (_a) {
|
|
436
|
-
return [2 /*return*/, this.client.query(__assign(__assign({}, options), { operationName: 'listVariantType' }))];
|
|
437
|
-
});
|
|
438
|
-
});
|
|
439
|
-
};
|
|
440
|
-
AdminQuery.prototype.listVendor = function (options) {
|
|
441
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
442
|
-
return __generator(this, function (_a) {
|
|
443
|
-
return [2 /*return*/, this.client.query(__assign(__assign({}, options), { operationName: 'listVendor' }))];
|
|
444
|
-
});
|
|
445
|
-
});
|
|
446
|
-
};
|
|
447
|
-
AdminQuery.prototype.listWebhook = function (options) {
|
|
448
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
449
|
-
return __generator(this, function (_a) {
|
|
450
|
-
return [2 /*return*/, this.client.query(__assign(__assign({}, options), { operationName: 'listWebhook' }))];
|
|
451
|
-
});
|
|
452
|
-
});
|
|
453
|
-
};
|
|
454
|
-
AdminQuery.prototype.me = function (options) {
|
|
455
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
456
|
-
return __generator(this, function (_a) {
|
|
457
|
-
return [2 /*return*/, this.client.query(__assign(__assign({}, options), { operationName: 'me' }))];
|
|
458
|
-
});
|
|
459
|
-
});
|
|
460
|
-
};
|
|
461
|
-
AdminQuery.prototype.searchProducts = function (options) {
|
|
462
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
463
|
-
return __generator(this, function (_a) {
|
|
464
|
-
return [2 /*return*/, this.client.query(__assign(__assign({}, options), { operationName: 'searchProducts' }))];
|
|
465
|
-
});
|
|
466
|
-
});
|
|
467
|
-
};
|
|
468
|
-
return AdminQuery;
|
|
469
|
-
}());
|
|
9
|
+
async getAuthorizedApp(options) {
|
|
10
|
+
return this.client.query({ ...options, operationName: 'getAuthorizedApp' });
|
|
11
|
+
}
|
|
12
|
+
async getGlobalTaxSettings(options) {
|
|
13
|
+
return this.client.query({ ...options, operationName: 'getGlobalTaxSettings' });
|
|
14
|
+
}
|
|
15
|
+
async getIkasWalletWithBalance(options) {
|
|
16
|
+
return this.client.query({ ...options, operationName: 'getIkasWalletWithBalance' });
|
|
17
|
+
}
|
|
18
|
+
async getImageUploadUrl(options) {
|
|
19
|
+
return this.client.query({ ...options, operationName: 'getImageUploadUrl' });
|
|
20
|
+
}
|
|
21
|
+
async getImportJobData(options) {
|
|
22
|
+
return this.client.query({ ...options, operationName: 'getImportJobData' });
|
|
23
|
+
}
|
|
24
|
+
async getImportJobDataList(options) {
|
|
25
|
+
return this.client.query({ ...options, operationName: 'getImportJobDataList' });
|
|
26
|
+
}
|
|
27
|
+
async getLastImportJobData(options) {
|
|
28
|
+
return this.client.query({ ...options, operationName: 'getLastImportJobData' });
|
|
29
|
+
}
|
|
30
|
+
async getMerchant(options) {
|
|
31
|
+
return this.client.query({ ...options, operationName: 'getMerchant' });
|
|
32
|
+
}
|
|
33
|
+
async getMerchantLicence(options) {
|
|
34
|
+
return this.client.query({ ...options, operationName: 'getMerchantLicence' });
|
|
35
|
+
}
|
|
36
|
+
async getSalesChannel(options) {
|
|
37
|
+
return this.client.query({ ...options, operationName: 'getSalesChannel' });
|
|
38
|
+
}
|
|
39
|
+
async getTimelineEntry(options) {
|
|
40
|
+
return this.client.query({ ...options, operationName: 'getTimelineEntry' });
|
|
41
|
+
}
|
|
42
|
+
async getVideoUploadUrl(options) {
|
|
43
|
+
return this.client.query({ ...options, operationName: 'getVideoUploadUrl' });
|
|
44
|
+
}
|
|
45
|
+
async listAbandonedCheckouts(options) {
|
|
46
|
+
return this.client.query({ ...options, operationName: 'listAbandonedCheckouts' });
|
|
47
|
+
}
|
|
48
|
+
async listBranch(options) {
|
|
49
|
+
return this.client.query({ ...options, operationName: 'listBranch' });
|
|
50
|
+
}
|
|
51
|
+
async listCampaign(options) {
|
|
52
|
+
return this.client.query({ ...options, operationName: 'listCampaign' });
|
|
53
|
+
}
|
|
54
|
+
async listCargoCompany(options) {
|
|
55
|
+
return this.client.query({ ...options, operationName: 'listCargoCompany' });
|
|
56
|
+
}
|
|
57
|
+
async listCategory(options) {
|
|
58
|
+
return this.client.query({ ...options, operationName: 'listCategory' });
|
|
59
|
+
}
|
|
60
|
+
async listCity(options) {
|
|
61
|
+
return this.client.query({ ...options, operationName: 'listCity' });
|
|
62
|
+
}
|
|
63
|
+
async listCountry(options) {
|
|
64
|
+
return this.client.query({ ...options, operationName: 'listCountry' });
|
|
65
|
+
}
|
|
66
|
+
async listCoupon(options) {
|
|
67
|
+
return this.client.query({ ...options, operationName: 'listCoupon' });
|
|
68
|
+
}
|
|
69
|
+
async listCustomer(options) {
|
|
70
|
+
return this.client.query({ ...options, operationName: 'listCustomer' });
|
|
71
|
+
}
|
|
72
|
+
async listCustomerAttribute(options) {
|
|
73
|
+
return this.client.query({ ...options, operationName: 'listCustomerAttribute' });
|
|
74
|
+
}
|
|
75
|
+
async listCustomerGroup(options) {
|
|
76
|
+
return this.client.query({ ...options, operationName: 'listCustomerGroup' });
|
|
77
|
+
}
|
|
78
|
+
async listDistrict(options) {
|
|
79
|
+
return this.client.query({ ...options, operationName: 'listDistrict' });
|
|
80
|
+
}
|
|
81
|
+
async listGlobalTaxSettings(options) {
|
|
82
|
+
return this.client.query({ ...options, operationName: 'listGlobalTaxSettings' });
|
|
83
|
+
}
|
|
84
|
+
async listIkasWallet(options) {
|
|
85
|
+
return this.client.query({ ...options, operationName: 'listIkasWallet' });
|
|
86
|
+
}
|
|
87
|
+
async listIkasWalletTransaction(options) {
|
|
88
|
+
return this.client.query({ ...options, operationName: 'listIkasWalletTransaction' });
|
|
89
|
+
}
|
|
90
|
+
async listLanguage(options) {
|
|
91
|
+
return this.client.query({ ...options, operationName: 'listLanguage' });
|
|
92
|
+
}
|
|
93
|
+
async listMerchantAppPayment(options) {
|
|
94
|
+
return this.client.query({ ...options, operationName: 'listMerchantAppPayment' });
|
|
95
|
+
}
|
|
96
|
+
async listMerchantSettings(options) {
|
|
97
|
+
return this.client.query({ ...options, operationName: 'listMerchantSettings' });
|
|
98
|
+
}
|
|
99
|
+
async listOrder(options) {
|
|
100
|
+
return this.client.query({ ...options, operationName: 'listOrder' });
|
|
101
|
+
}
|
|
102
|
+
async listOrderTag(options) {
|
|
103
|
+
return this.client.query({ ...options, operationName: 'listOrderTag' });
|
|
104
|
+
}
|
|
105
|
+
async listOrderTransactions(options) {
|
|
106
|
+
return this.client.query({ ...options, operationName: 'listOrderTransactions' });
|
|
107
|
+
}
|
|
108
|
+
async listPaymentGateway(options) {
|
|
109
|
+
return this.client.query({ ...options, operationName: 'listPaymentGateway' });
|
|
110
|
+
}
|
|
111
|
+
async listPriceList(options) {
|
|
112
|
+
return this.client.query({ ...options, operationName: 'listPriceList' });
|
|
113
|
+
}
|
|
114
|
+
async listProduct(options) {
|
|
115
|
+
return this.client.query({ ...options, operationName: 'listProduct' });
|
|
116
|
+
}
|
|
117
|
+
async listProductAttribute(options) {
|
|
118
|
+
return this.client.query({ ...options, operationName: 'listProductAttribute' });
|
|
119
|
+
}
|
|
120
|
+
async listProductBrand(options) {
|
|
121
|
+
return this.client.query({ ...options, operationName: 'listProductBrand' });
|
|
122
|
+
}
|
|
123
|
+
async listProductOptionSet(options) {
|
|
124
|
+
return this.client.query({ ...options, operationName: 'listProductOptionSet' });
|
|
125
|
+
}
|
|
126
|
+
async listProductOrder(options) {
|
|
127
|
+
return this.client.query({ ...options, operationName: 'listProductOrder' });
|
|
128
|
+
}
|
|
129
|
+
async listProductStockLocation(options) {
|
|
130
|
+
return this.client.query({ ...options, operationName: 'listProductStockLocation' });
|
|
131
|
+
}
|
|
132
|
+
async listProductTag(options) {
|
|
133
|
+
return this.client.query({ ...options, operationName: 'listProductTag' });
|
|
134
|
+
}
|
|
135
|
+
async listProductUnit(options) {
|
|
136
|
+
return this.client.query({ ...options, operationName: 'listProductUnit' });
|
|
137
|
+
}
|
|
138
|
+
async listProductVolumeDiscount(options) {
|
|
139
|
+
return this.client.query({ ...options, operationName: 'listProductVolumeDiscount' });
|
|
140
|
+
}
|
|
141
|
+
async listSalesChannel(options) {
|
|
142
|
+
return this.client.query({ ...options, operationName: 'listSalesChannel' });
|
|
143
|
+
}
|
|
144
|
+
async listShippingSettings(options) {
|
|
145
|
+
return this.client.query({ ...options, operationName: 'listShippingSettings' });
|
|
146
|
+
}
|
|
147
|
+
async listState(options) {
|
|
148
|
+
return this.client.query({ ...options, operationName: 'listState' });
|
|
149
|
+
}
|
|
150
|
+
async listStockLocation(options) {
|
|
151
|
+
return this.client.query({ ...options, operationName: 'listStockLocation' });
|
|
152
|
+
}
|
|
153
|
+
async listStorefront(options) {
|
|
154
|
+
return this.client.query({ ...options, operationName: 'listStorefront' });
|
|
155
|
+
}
|
|
156
|
+
async listStorefrontJSScript(options) {
|
|
157
|
+
return this.client.query({ ...options, operationName: 'listStorefrontJSScript' });
|
|
158
|
+
}
|
|
159
|
+
async listStorefrontPolicy(options) {
|
|
160
|
+
return this.client.query({ ...options, operationName: 'listStorefrontPolicy' });
|
|
161
|
+
}
|
|
162
|
+
async listTaxSettings(options) {
|
|
163
|
+
return this.client.query({ ...options, operationName: 'listTaxSettings' });
|
|
164
|
+
}
|
|
165
|
+
async listTerminal(options) {
|
|
166
|
+
return this.client.query({ ...options, operationName: 'listTerminal' });
|
|
167
|
+
}
|
|
168
|
+
async listTown(options) {
|
|
169
|
+
return this.client.query({ ...options, operationName: 'listTown' });
|
|
170
|
+
}
|
|
171
|
+
async listVariantType(options) {
|
|
172
|
+
return this.client.query({ ...options, operationName: 'listVariantType' });
|
|
173
|
+
}
|
|
174
|
+
async listVendor(options) {
|
|
175
|
+
return this.client.query({ ...options, operationName: 'listVendor' });
|
|
176
|
+
}
|
|
177
|
+
async listWebhook(options) {
|
|
178
|
+
return this.client.query({ ...options, operationName: 'listWebhook' });
|
|
179
|
+
}
|
|
180
|
+
async me(options) {
|
|
181
|
+
return this.client.query({ ...options, operationName: 'me' });
|
|
182
|
+
}
|
|
183
|
+
async searchProducts(options) {
|
|
184
|
+
return this.client.query({ ...options, operationName: 'searchProducts' });
|
|
185
|
+
}
|
|
186
|
+
}
|
|
470
187
|
exports.AdminQuery = AdminQuery;
|
|
471
188
|
//# sourceMappingURL=query.js.map
|