@applite/js-sdk 0.0.4 → 0.0.11
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 +2 -2
- package/dist/index.d.mts +1534 -455
- package/dist/index.d.ts +1534 -455
- package/dist/index.js +214 -183
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +193 -159
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -36,17 +36,8 @@ var _HttpClient = class _HttpClient {
|
|
|
36
36
|
__name(_HttpClient, "HttpClient");
|
|
37
37
|
var HttpClient = _HttpClient;
|
|
38
38
|
|
|
39
|
-
// src/modules/
|
|
40
|
-
var
|
|
41
|
-
"STORE",
|
|
42
|
-
"TRANSPORT",
|
|
43
|
-
"RESTAURATION",
|
|
44
|
-
"MULTI_SERVICE",
|
|
45
|
-
"E_LEARNING",
|
|
46
|
-
"DUTICOTAC"
|
|
47
|
-
];
|
|
48
|
-
var sexes = ["M", "F"];
|
|
49
|
-
var _AppCustomerModule = class _AppCustomerModule {
|
|
39
|
+
// src/modules/common/customer.ts
|
|
40
|
+
var _CustomerApi = class _CustomerApi {
|
|
50
41
|
constructor(http) {
|
|
51
42
|
this.http = http;
|
|
52
43
|
}
|
|
@@ -107,37 +98,33 @@ var _AppCustomerModule = class _AppCustomerModule {
|
|
|
107
98
|
}
|
|
108
99
|
);
|
|
109
100
|
}
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
constructor(http) {
|
|
117
|
-
this.http = http;
|
|
118
|
-
}
|
|
119
|
-
balance(params) {
|
|
120
|
-
const { appId, ...body } = params;
|
|
121
|
-
return this.http.post(`/app/${appId}/balance`, body);
|
|
122
|
-
}
|
|
123
|
-
listTransactions(params) {
|
|
124
|
-
const { appId, ...body } = params;
|
|
125
|
-
return this.http.post(`/app/${appId}/transaction/list`, body);
|
|
101
|
+
async block(params) {
|
|
102
|
+
const { appId, apiKey, id, isBlocked } = params;
|
|
103
|
+
return this.http.post(
|
|
104
|
+
`/app/${appId}/customer/${id}/block`,
|
|
105
|
+
{ apiKey, isBlocked }
|
|
106
|
+
);
|
|
126
107
|
}
|
|
127
|
-
|
|
128
|
-
const { appId,
|
|
129
|
-
return this.http.post(
|
|
108
|
+
async delete(params) {
|
|
109
|
+
const { appId, apiKey, id } = params;
|
|
110
|
+
return this.http.post(
|
|
111
|
+
`/app/${appId}/customer/${id}/delete`,
|
|
112
|
+
{ apiKey }
|
|
113
|
+
);
|
|
130
114
|
}
|
|
131
|
-
|
|
132
|
-
const { appId,
|
|
133
|
-
return this.http.post(
|
|
115
|
+
async deleteAccount(params) {
|
|
116
|
+
const { appId, apiKey, customerId, telephone } = params;
|
|
117
|
+
return this.http.post(
|
|
118
|
+
`/app/${appId}/customer/delete-account`,
|
|
119
|
+
{ apiKey, customerId, telephone }
|
|
120
|
+
);
|
|
134
121
|
}
|
|
135
122
|
};
|
|
136
|
-
__name(
|
|
137
|
-
var
|
|
123
|
+
__name(_CustomerApi, "CustomerApi");
|
|
124
|
+
var CustomerApi = _CustomerApi;
|
|
138
125
|
|
|
139
|
-
// src/modules/
|
|
140
|
-
var
|
|
126
|
+
// src/modules/common/info.ts
|
|
127
|
+
var _InfoApi = class _InfoApi {
|
|
141
128
|
constructor(http) {
|
|
142
129
|
this.http = http;
|
|
143
130
|
}
|
|
@@ -156,11 +143,11 @@ var _AppInfoModule = class _AppInfoModule {
|
|
|
156
143
|
return this.http.post(`/app/app/${appId}`, body);
|
|
157
144
|
}
|
|
158
145
|
};
|
|
159
|
-
__name(
|
|
160
|
-
var
|
|
146
|
+
__name(_InfoApi, "InfoApi");
|
|
147
|
+
var InfoApi = _InfoApi;
|
|
161
148
|
|
|
162
|
-
// src/modules/
|
|
163
|
-
var
|
|
149
|
+
// src/modules/common/stats.ts
|
|
150
|
+
var _StatsApi = class _StatsApi {
|
|
164
151
|
constructor(http) {
|
|
165
152
|
this.http = http;
|
|
166
153
|
}
|
|
@@ -181,11 +168,65 @@ var _AppStatsModule = class _AppStatsModule {
|
|
|
181
168
|
return this.http.post(`/app/${appId}/stats/${id}/update`, body);
|
|
182
169
|
}
|
|
183
170
|
};
|
|
184
|
-
__name(
|
|
185
|
-
var
|
|
171
|
+
__name(_StatsApi, "StatsApi");
|
|
172
|
+
var StatsApi = _StatsApi;
|
|
173
|
+
|
|
174
|
+
// src/modules/common/finance.ts
|
|
175
|
+
var _FinanceApi = class _FinanceApi {
|
|
176
|
+
constructor(http) {
|
|
177
|
+
this.http = http;
|
|
178
|
+
}
|
|
179
|
+
balance(params) {
|
|
180
|
+
const { appId, ...body } = params;
|
|
181
|
+
return this.http.post(`/app/${appId}/balance`, body);
|
|
182
|
+
}
|
|
183
|
+
listTransactions(params) {
|
|
184
|
+
const { appId, ...body } = params;
|
|
185
|
+
return this.http.post(`/app/${appId}/transaction/list`, body);
|
|
186
|
+
}
|
|
187
|
+
getTransaction(params) {
|
|
188
|
+
const { appId, id, ...body } = params;
|
|
189
|
+
return this.http.post(`/app/${appId}/transaction/${id}`, body);
|
|
190
|
+
}
|
|
191
|
+
withdraw(params) {
|
|
192
|
+
const { appId, ...body } = params;
|
|
193
|
+
return this.http.post(`/app/${appId}/withdraw`, body);
|
|
194
|
+
}
|
|
195
|
+
};
|
|
196
|
+
__name(_FinanceApi, "FinanceApi");
|
|
197
|
+
var FinanceApi = _FinanceApi;
|
|
198
|
+
|
|
199
|
+
// src/modules/common/welcome-item.ts
|
|
200
|
+
var _WelcomeItemApi = class _WelcomeItemApi {
|
|
201
|
+
constructor(http) {
|
|
202
|
+
this.http = http;
|
|
203
|
+
}
|
|
204
|
+
list(params) {
|
|
205
|
+
const { appId, ...body } = params;
|
|
206
|
+
return this.http.post(`/app/${appId}/welcome-item/list`, body);
|
|
207
|
+
}
|
|
208
|
+
create(params) {
|
|
209
|
+
const { appId, ...body } = params;
|
|
210
|
+
return this.http.post(`/app/${appId}/welcome-item/create`, body);
|
|
211
|
+
}
|
|
212
|
+
get(params) {
|
|
213
|
+
const { appId, id, ...body } = params;
|
|
214
|
+
return this.http.post(`/app/${appId}/welcome-item/${id}`, body);
|
|
215
|
+
}
|
|
216
|
+
update(params) {
|
|
217
|
+
const { appId, id, ...body } = params;
|
|
218
|
+
return this.http.post(`/app/${appId}/welcome-item/${id}/edit`, body);
|
|
219
|
+
}
|
|
220
|
+
delete(params) {
|
|
221
|
+
const { appId, id, ...body } = params;
|
|
222
|
+
return this.http.post(`/app/${appId}/welcome-item/${id}/delete`, body);
|
|
223
|
+
}
|
|
224
|
+
};
|
|
225
|
+
__name(_WelcomeItemApi, "WelcomeItemApi");
|
|
226
|
+
var WelcomeItemApi = _WelcomeItemApi;
|
|
186
227
|
|
|
187
|
-
// src/modules/
|
|
188
|
-
var
|
|
228
|
+
// src/modules/store/badge.ts
|
|
229
|
+
var _BadgeApi = class _BadgeApi {
|
|
189
230
|
constructor(http) {
|
|
190
231
|
this.http = http;
|
|
191
232
|
}
|
|
@@ -210,9 +251,11 @@ var _StoreBadgeModule = class _StoreBadgeModule {
|
|
|
210
251
|
return this.http.post(`/app/${appId}/store/badge/${id}/delete`, body);
|
|
211
252
|
}
|
|
212
253
|
};
|
|
213
|
-
__name(
|
|
214
|
-
var
|
|
215
|
-
|
|
254
|
+
__name(_BadgeApi, "BadgeApi");
|
|
255
|
+
var BadgeApi = _BadgeApi;
|
|
256
|
+
|
|
257
|
+
// src/modules/store/category.ts
|
|
258
|
+
var _CategoryApi = class _CategoryApi {
|
|
216
259
|
constructor(http) {
|
|
217
260
|
this.http = http;
|
|
218
261
|
}
|
|
@@ -237,9 +280,11 @@ var _StoreCategoryModule = class _StoreCategoryModule {
|
|
|
237
280
|
return this.http.post(`/app/${appId}/store/category/${id}/delete`, body);
|
|
238
281
|
}
|
|
239
282
|
};
|
|
240
|
-
__name(
|
|
241
|
-
var
|
|
242
|
-
|
|
283
|
+
__name(_CategoryApi, "CategoryApi");
|
|
284
|
+
var CategoryApi = _CategoryApi;
|
|
285
|
+
|
|
286
|
+
// src/modules/store/collection.ts
|
|
287
|
+
var _CollectionApi = class _CollectionApi {
|
|
243
288
|
constructor(http) {
|
|
244
289
|
this.http = http;
|
|
245
290
|
}
|
|
@@ -264,9 +309,11 @@ var _StoreCollectionModule = class _StoreCollectionModule {
|
|
|
264
309
|
return this.http.post(`/app/${appId}/store/collection/${id}/delete`, body);
|
|
265
310
|
}
|
|
266
311
|
};
|
|
267
|
-
__name(
|
|
268
|
-
var
|
|
269
|
-
|
|
312
|
+
__name(_CollectionApi, "CollectionApi");
|
|
313
|
+
var CollectionApi = _CollectionApi;
|
|
314
|
+
|
|
315
|
+
// src/modules/store/discount.ts
|
|
316
|
+
var _DiscountApi = class _DiscountApi {
|
|
270
317
|
constructor(http) {
|
|
271
318
|
this.http = http;
|
|
272
319
|
}
|
|
@@ -291,9 +338,11 @@ var _StoreDiscountModule = class _StoreDiscountModule {
|
|
|
291
338
|
return this.http.post(`/app/${appId}/store/discount/${id}/delete`, body);
|
|
292
339
|
}
|
|
293
340
|
};
|
|
294
|
-
__name(
|
|
295
|
-
var
|
|
296
|
-
|
|
341
|
+
__name(_DiscountApi, "DiscountApi");
|
|
342
|
+
var DiscountApi = _DiscountApi;
|
|
343
|
+
|
|
344
|
+
// src/modules/store/option.ts
|
|
345
|
+
var _OptionApi = class _OptionApi {
|
|
297
346
|
constructor(http) {
|
|
298
347
|
this.http = http;
|
|
299
348
|
}
|
|
@@ -318,9 +367,11 @@ var _StoreOptionModule = class _StoreOptionModule {
|
|
|
318
367
|
return this.http.post(`/app/${appId}/store/option/${id}/delete`, body);
|
|
319
368
|
}
|
|
320
369
|
};
|
|
321
|
-
__name(
|
|
322
|
-
var
|
|
323
|
-
|
|
370
|
+
__name(_OptionApi, "OptionApi");
|
|
371
|
+
var OptionApi = _OptionApi;
|
|
372
|
+
|
|
373
|
+
// src/modules/store/order.ts
|
|
374
|
+
var _OrderApi = class _OrderApi {
|
|
324
375
|
constructor(http) {
|
|
325
376
|
this.http = http;
|
|
326
377
|
}
|
|
@@ -345,9 +396,11 @@ var _StoreOrderModule = class _StoreOrderModule {
|
|
|
345
396
|
return this.http.post(`/app/${appId}/store/order/${id}/delete`, body);
|
|
346
397
|
}
|
|
347
398
|
};
|
|
348
|
-
__name(
|
|
349
|
-
var
|
|
350
|
-
|
|
399
|
+
__name(_OrderApi, "OrderApi");
|
|
400
|
+
var OrderApi = _OrderApi;
|
|
401
|
+
|
|
402
|
+
// src/modules/store/product.ts
|
|
403
|
+
var _ProductApi = class _ProductApi {
|
|
351
404
|
constructor(http) {
|
|
352
405
|
this.http = http;
|
|
353
406
|
}
|
|
@@ -372,9 +425,11 @@ var _StoreProductModule = class _StoreProductModule {
|
|
|
372
425
|
return this.http.post(`/app/${appId}/store/product/${id}/delete`, body);
|
|
373
426
|
}
|
|
374
427
|
};
|
|
375
|
-
__name(
|
|
376
|
-
var
|
|
377
|
-
|
|
428
|
+
__name(_ProductApi, "ProductApi");
|
|
429
|
+
var ProductApi = _ProductApi;
|
|
430
|
+
|
|
431
|
+
// src/modules/store/seller.ts
|
|
432
|
+
var _SellerApi = class _SellerApi {
|
|
378
433
|
constructor(http) {
|
|
379
434
|
this.http = http;
|
|
380
435
|
}
|
|
@@ -399,9 +454,11 @@ var _StoreSellerModule = class _StoreSellerModule {
|
|
|
399
454
|
return this.http.post(`/app/${appId}/store/seller/${id}/delete`, body);
|
|
400
455
|
}
|
|
401
456
|
};
|
|
402
|
-
__name(
|
|
403
|
-
var
|
|
404
|
-
|
|
457
|
+
__name(_SellerApi, "SellerApi");
|
|
458
|
+
var SellerApi = _SellerApi;
|
|
459
|
+
|
|
460
|
+
// src/modules/store/shipping.ts
|
|
461
|
+
var _ShippingApi = class _ShippingApi {
|
|
405
462
|
constructor(http) {
|
|
406
463
|
this.http = http;
|
|
407
464
|
}
|
|
@@ -413,14 +470,24 @@ var _StoreShippingModule = class _StoreShippingModule {
|
|
|
413
470
|
const { appId, ...body } = params;
|
|
414
471
|
return this.http.post(`/app/${appId}/store/shipping/create`, body);
|
|
415
472
|
}
|
|
473
|
+
get(params) {
|
|
474
|
+
const { appId, id, ...body } = params;
|
|
475
|
+
return this.http.post(`/app/${appId}/store/shipping/${id}`, body);
|
|
476
|
+
}
|
|
477
|
+
update(params) {
|
|
478
|
+
const { appId, id, ...body } = params;
|
|
479
|
+
return this.http.post(`/app/${appId}/store/shipping/${id}/edit`, body);
|
|
480
|
+
}
|
|
416
481
|
delete(params) {
|
|
417
482
|
const { appId, id, ...body } = params;
|
|
418
483
|
return this.http.post(`/app/${appId}/store/shipping/${id}/delete`, body);
|
|
419
484
|
}
|
|
420
485
|
};
|
|
421
|
-
__name(
|
|
422
|
-
var
|
|
423
|
-
|
|
486
|
+
__name(_ShippingApi, "ShippingApi");
|
|
487
|
+
var ShippingApi = _ShippingApi;
|
|
488
|
+
|
|
489
|
+
// src/modules/store/tag.ts
|
|
490
|
+
var _TagApi = class _TagApi {
|
|
424
491
|
constructor(http) {
|
|
425
492
|
this.http = http;
|
|
426
493
|
}
|
|
@@ -445,9 +512,11 @@ var _StoreTagModule = class _StoreTagModule {
|
|
|
445
512
|
return this.http.post(`/app/${appId}/store/tag/${id}/delete`, body);
|
|
446
513
|
}
|
|
447
514
|
};
|
|
448
|
-
__name(
|
|
449
|
-
var
|
|
450
|
-
|
|
515
|
+
__name(_TagApi, "TagApi");
|
|
516
|
+
var TagApi = _TagApi;
|
|
517
|
+
|
|
518
|
+
// src/modules/store/tax.ts
|
|
519
|
+
var _TaxApi = class _TaxApi {
|
|
451
520
|
constructor(http) {
|
|
452
521
|
this.http = http;
|
|
453
522
|
}
|
|
@@ -472,57 +541,31 @@ var _StoreTaxModule = class _StoreTaxModule {
|
|
|
472
541
|
return this.http.post(`/app/${appId}/store/tax/${id}/delete`, body);
|
|
473
542
|
}
|
|
474
543
|
};
|
|
475
|
-
__name(
|
|
476
|
-
var
|
|
477
|
-
var _StoreModule = class _StoreModule {
|
|
478
|
-
constructor(http) {
|
|
479
|
-
this.badge = new StoreBadgeModule(http);
|
|
480
|
-
this.category = new StoreCategoryModule(http);
|
|
481
|
-
this.collection = new StoreCollectionModule(http);
|
|
482
|
-
this.discount = new StoreDiscountModule(http);
|
|
483
|
-
this.option = new StoreOptionModule(http);
|
|
484
|
-
this.order = new StoreOrderModule(http);
|
|
485
|
-
this.product = new StoreProductModule(http);
|
|
486
|
-
this.seller = new StoreSellerModule(http);
|
|
487
|
-
this.shipping = new StoreShippingModule(http);
|
|
488
|
-
this.tag = new StoreTagModule(http);
|
|
489
|
-
this.tax = new StoreTaxModule(http);
|
|
490
|
-
}
|
|
491
|
-
};
|
|
492
|
-
__name(_StoreModule, "StoreModule");
|
|
493
|
-
var StoreModule = _StoreModule;
|
|
544
|
+
__name(_TaxApi, "TaxApi");
|
|
545
|
+
var TaxApi = _TaxApi;
|
|
494
546
|
|
|
495
|
-
// src/modules/
|
|
496
|
-
var
|
|
547
|
+
// src/modules/store/index.ts
|
|
548
|
+
var _StoreApi = class _StoreApi {
|
|
497
549
|
constructor(http) {
|
|
498
550
|
this.http = http;
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
return this.http.post(`/app/${appId}/welcome-item/${id}`, body);
|
|
511
|
-
}
|
|
512
|
-
update(params) {
|
|
513
|
-
const { appId, id, ...body } = params;
|
|
514
|
-
return this.http.post(`/app/${appId}/welcome-item/${id}/edit`, body);
|
|
515
|
-
}
|
|
516
|
-
delete(params) {
|
|
517
|
-
const { appId, id, ...body } = params;
|
|
518
|
-
return this.http.post(`/app/${appId}/welcome-item/${id}/delete`, body);
|
|
551
|
+
this.badge = new BadgeApi(http);
|
|
552
|
+
this.category = new CategoryApi(http);
|
|
553
|
+
this.collection = new CollectionApi(http);
|
|
554
|
+
this.discount = new DiscountApi(http);
|
|
555
|
+
this.option = new OptionApi(http);
|
|
556
|
+
this.order = new OrderApi(http);
|
|
557
|
+
this.product = new ProductApi(http);
|
|
558
|
+
this.seller = new SellerApi(http);
|
|
559
|
+
this.shipping = new ShippingApi(http);
|
|
560
|
+
this.tag = new TagApi(http);
|
|
561
|
+
this.tax = new TaxApi(http);
|
|
519
562
|
}
|
|
520
563
|
};
|
|
521
|
-
__name(
|
|
522
|
-
var
|
|
564
|
+
__name(_StoreApi, "StoreApi");
|
|
565
|
+
var StoreApi = _StoreApi;
|
|
523
566
|
|
|
524
|
-
// src/modules/
|
|
525
|
-
var
|
|
567
|
+
// src/modules/multi-service/agent.ts
|
|
568
|
+
var _AgentApi = class _AgentApi {
|
|
526
569
|
constructor(http) {
|
|
527
570
|
this.http = http;
|
|
528
571
|
}
|
|
@@ -547,11 +590,11 @@ var _MultiServiceAgentModule = class _MultiServiceAgentModule {
|
|
|
547
590
|
return this.http.post(`/app/${appId}/multi-service/agents/${id}/delete`, body);
|
|
548
591
|
}
|
|
549
592
|
};
|
|
550
|
-
__name(
|
|
551
|
-
var
|
|
593
|
+
__name(_AgentApi, "AgentApi");
|
|
594
|
+
var AgentApi = _AgentApi;
|
|
552
595
|
|
|
553
|
-
// src/modules/
|
|
554
|
-
var
|
|
596
|
+
// src/modules/multi-service/appointment.ts
|
|
597
|
+
var _AppointmentApi = class _AppointmentApi {
|
|
555
598
|
constructor(http) {
|
|
556
599
|
this.http = http;
|
|
557
600
|
}
|
|
@@ -571,11 +614,11 @@ var _MultiServiceAppointmentModule = class _MultiServiceAppointmentModule {
|
|
|
571
614
|
);
|
|
572
615
|
}
|
|
573
616
|
};
|
|
574
|
-
__name(
|
|
575
|
-
var
|
|
617
|
+
__name(_AppointmentApi, "AppointmentApi");
|
|
618
|
+
var AppointmentApi = _AppointmentApi;
|
|
576
619
|
|
|
577
|
-
// src/modules/
|
|
578
|
-
var
|
|
620
|
+
// src/modules/multi-service/company.ts
|
|
621
|
+
var _CompanyApi = class _CompanyApi {
|
|
579
622
|
constructor(http) {
|
|
580
623
|
this.http = http;
|
|
581
624
|
}
|
|
@@ -600,11 +643,11 @@ var _MultiServiceCompanyModule = class _MultiServiceCompanyModule {
|
|
|
600
643
|
return this.http.post(`/app/${appId}/multi-service/companies/${id}/delete`, body);
|
|
601
644
|
}
|
|
602
645
|
};
|
|
603
|
-
__name(
|
|
604
|
-
var
|
|
646
|
+
__name(_CompanyApi, "CompanyApi");
|
|
647
|
+
var CompanyApi = _CompanyApi;
|
|
605
648
|
|
|
606
|
-
// src/modules/
|
|
607
|
-
var
|
|
649
|
+
// src/modules/multi-service/service.ts
|
|
650
|
+
var _ServiceApi = class _ServiceApi {
|
|
608
651
|
constructor(http) {
|
|
609
652
|
this.http = http;
|
|
610
653
|
}
|
|
@@ -629,36 +672,21 @@ var _MultiServiceServiceModule = class _MultiServiceServiceModule {
|
|
|
629
672
|
return this.http.post(`/app/${appId}/multi-service/services/${id}/delete`, body);
|
|
630
673
|
}
|
|
631
674
|
};
|
|
632
|
-
__name(
|
|
633
|
-
var
|
|
675
|
+
__name(_ServiceApi, "ServiceApi");
|
|
676
|
+
var ServiceApi = _ServiceApi;
|
|
634
677
|
|
|
635
|
-
// src/modules/
|
|
636
|
-
var
|
|
678
|
+
// src/modules/multi-service/index.ts
|
|
679
|
+
var _MultiServiceApi = class _MultiServiceApi {
|
|
637
680
|
constructor(http) {
|
|
638
681
|
this.http = http;
|
|
639
|
-
this.company = new
|
|
640
|
-
this.service = new
|
|
641
|
-
this.appointment = new
|
|
642
|
-
this.agent = new
|
|
643
|
-
}
|
|
644
|
-
};
|
|
645
|
-
__name(_MultiServiceModule, "MultiServiceModule");
|
|
646
|
-
var MultiServiceModule = _MultiServiceModule;
|
|
647
|
-
|
|
648
|
-
// src/modules/app/index.ts
|
|
649
|
-
var _AppModule = class _AppModule {
|
|
650
|
-
constructor(http) {
|
|
651
|
-
this.customer = new AppCustomerModule(http);
|
|
652
|
-
this.stats = new AppStatsModule(http);
|
|
653
|
-
this.finance = new AppFinanceModule(http);
|
|
654
|
-
this.welcomeItem = new AppWelcomeItemModule(http);
|
|
655
|
-
this.info = new AppInfoModule(http);
|
|
656
|
-
this.store = new StoreModule(http);
|
|
657
|
-
this.multiService = new MultiServiceModule(http);
|
|
682
|
+
this.company = new CompanyApi(http);
|
|
683
|
+
this.service = new ServiceApi(http);
|
|
684
|
+
this.appointment = new AppointmentApi(http);
|
|
685
|
+
this.agent = new AgentApi(http);
|
|
658
686
|
}
|
|
659
687
|
};
|
|
660
|
-
__name(
|
|
661
|
-
var
|
|
688
|
+
__name(_MultiServiceApi, "MultiServiceApi");
|
|
689
|
+
var MultiServiceApi = _MultiServiceApi;
|
|
662
690
|
|
|
663
691
|
// src/index.ts
|
|
664
692
|
var _AppliteUI = class _AppliteUI {
|
|
@@ -668,38 +696,41 @@ var _AppliteUI = class _AppliteUI {
|
|
|
668
696
|
headers: config.headers,
|
|
669
697
|
fetchFn: config.fetchFn
|
|
670
698
|
});
|
|
671
|
-
this.
|
|
699
|
+
this.customer = new CustomerApi(this.http);
|
|
700
|
+
this.stats = new StatsApi(this.http);
|
|
701
|
+
this.finance = new FinanceApi(this.http);
|
|
702
|
+
this.welcomeItem = new WelcomeItemApi(this.http);
|
|
703
|
+
this.info = new InfoApi(this.http);
|
|
704
|
+
this.store = new StoreApi(this.http);
|
|
705
|
+
this.multiService = new MultiServiceApi(this.http);
|
|
672
706
|
}
|
|
673
707
|
};
|
|
674
708
|
__name(_AppliteUI, "AppliteUI");
|
|
675
709
|
var AppliteUI = _AppliteUI;
|
|
676
710
|
|
|
677
|
-
exports.
|
|
678
|
-
exports.AppFinanceModule = AppFinanceModule;
|
|
679
|
-
exports.AppInfoModule = AppInfoModule;
|
|
680
|
-
exports.AppModule = AppModule;
|
|
681
|
-
exports.AppStatsModule = AppStatsModule;
|
|
682
|
-
exports.AppWelcomeItemModule = AppWelcomeItemModule;
|
|
711
|
+
exports.AgentApi = AgentApi;
|
|
683
712
|
exports.AppliteUI = AppliteUI;
|
|
713
|
+
exports.AppointmentApi = AppointmentApi;
|
|
714
|
+
exports.BadgeApi = BadgeApi;
|
|
715
|
+
exports.CategoryApi = CategoryApi;
|
|
716
|
+
exports.CollectionApi = CollectionApi;
|
|
717
|
+
exports.CompanyApi = CompanyApi;
|
|
718
|
+
exports.CustomerApi = CustomerApi;
|
|
719
|
+
exports.DiscountApi = DiscountApi;
|
|
720
|
+
exports.FinanceApi = FinanceApi;
|
|
684
721
|
exports.HttpClient = HttpClient;
|
|
685
|
-
exports.
|
|
686
|
-
exports.
|
|
687
|
-
exports.
|
|
688
|
-
exports.
|
|
689
|
-
exports.
|
|
690
|
-
exports.
|
|
691
|
-
exports.
|
|
692
|
-
exports.
|
|
693
|
-
exports.
|
|
694
|
-
exports.
|
|
695
|
-
exports.
|
|
696
|
-
exports.
|
|
697
|
-
exports.
|
|
698
|
-
exports.StoreSellerModule = StoreSellerModule;
|
|
699
|
-
exports.StoreShippingModule = StoreShippingModule;
|
|
700
|
-
exports.StoreTagModule = StoreTagModule;
|
|
701
|
-
exports.StoreTaxModule = StoreTaxModule;
|
|
702
|
-
exports.plateformTypes = plateformTypes;
|
|
703
|
-
exports.sexes = sexes;
|
|
722
|
+
exports.InfoApi = InfoApi;
|
|
723
|
+
exports.MultiServiceApi = MultiServiceApi;
|
|
724
|
+
exports.OptionApi = OptionApi;
|
|
725
|
+
exports.OrderApi = OrderApi;
|
|
726
|
+
exports.ProductApi = ProductApi;
|
|
727
|
+
exports.SellerApi = SellerApi;
|
|
728
|
+
exports.ServiceApi = ServiceApi;
|
|
729
|
+
exports.ShippingApi = ShippingApi;
|
|
730
|
+
exports.StatsApi = StatsApi;
|
|
731
|
+
exports.StoreApi = StoreApi;
|
|
732
|
+
exports.TagApi = TagApi;
|
|
733
|
+
exports.TaxApi = TaxApi;
|
|
734
|
+
exports.WelcomeItemApi = WelcomeItemApi;
|
|
704
735
|
//# sourceMappingURL=index.js.map
|
|
705
736
|
//# sourceMappingURL=index.js.map
|