@compassdigital/sdk.typescript 3.0.0-beta.14 → 3.0.0-beta.16

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.
Files changed (129) hide show
  1. package/README.md +2 -2
  2. package/gen.ts +2 -3
  3. package/lib/base.d.ts.map +1 -1
  4. package/lib/base.js.map +1 -1
  5. package/lib/index.d.ts +43 -25
  6. package/lib/index.d.ts.map +1 -1
  7. package/lib/index.js +5 -4
  8. package/lib/index.js.map +1 -1
  9. package/lib/interface/kds.d.ts +1 -0
  10. package/lib/interface/kds.d.ts.map +1 -1
  11. package/lib/interface/payment.d.ts +1 -0
  12. package/lib/interface/payment.d.ts.map +1 -1
  13. package/lib/interface/user.d.ts +2 -0
  14. package/lib/interface/user.d.ts.map +1 -1
  15. package/package.json +5 -4
  16. package/src/{client/index.ts → index.ts} +28 -25
  17. package/src/interface/kds.ts +2 -0
  18. package/src/interface/payment.ts +2 -0
  19. package/src/interface/user.ts +5 -1
  20. package/test/client.test.ts +1 -1
  21. package/lib/announcement.d.ts +0 -76
  22. package/lib/announcement.d.ts.map +0 -1
  23. package/lib/announcement.js +0 -4
  24. package/lib/announcement.js.map +0 -1
  25. package/lib/brand.d.ts +0 -16
  26. package/lib/brand.d.ts.map +0 -1
  27. package/lib/brand.js +0 -4
  28. package/lib/brand.js.map +0 -1
  29. package/lib/calendar.d.ts +0 -85
  30. package/lib/calendar.d.ts.map +0 -1
  31. package/lib/calendar.js +0 -4
  32. package/lib/calendar.js.map +0 -1
  33. package/lib/client/base.d.ts +0 -157
  34. package/lib/client/base.d.ts.map +0 -1
  35. package/lib/client/base.js +0 -392
  36. package/lib/client/base.js.map +0 -1
  37. package/lib/client/index.d.ts +0 -1877
  38. package/lib/client/index.d.ts.map +0 -1
  39. package/lib/client/index.js +0 -2208
  40. package/lib/client/index.js.map +0 -1
  41. package/lib/config.d.ts +0 -68
  42. package/lib/config.d.ts.map +0 -1
  43. package/lib/config.js +0 -4
  44. package/lib/config.js.map +0 -1
  45. package/lib/datalake.d.ts +0 -19
  46. package/lib/datalake.d.ts.map +0 -1
  47. package/lib/datalake.js +0 -4
  48. package/lib/datalake.js.map +0 -1
  49. package/lib/delivery.d.ts +0 -34
  50. package/lib/delivery.d.ts.map +0 -1
  51. package/lib/delivery.js +0 -4
  52. package/lib/delivery.js.map +0 -1
  53. package/lib/dh.d.ts +0 -9
  54. package/lib/dh.d.ts.map +0 -1
  55. package/lib/dh.js +0 -4
  56. package/lib/dh.js.map +0 -1
  57. package/lib/email.d.ts +0 -5
  58. package/lib/email.d.ts.map +0 -1
  59. package/lib/email.js +0 -4
  60. package/lib/email.js.map +0 -1
  61. package/lib/file.d.ts +0 -17
  62. package/lib/file.d.ts.map +0 -1
  63. package/lib/file.js +0 -4
  64. package/lib/file.js.map +0 -1
  65. package/lib/kds.d.ts +0 -58
  66. package/lib/kds.d.ts.map +0 -1
  67. package/lib/kds.js +0 -4
  68. package/lib/kds.js.map +0 -1
  69. package/lib/location.d.ts +0 -747
  70. package/lib/location.d.ts.map +0 -1
  71. package/lib/location.js +0 -4
  72. package/lib/location.js.map +0 -1
  73. package/lib/logger.d.ts +0 -29
  74. package/lib/logger.d.ts.map +0 -1
  75. package/lib/logger.js +0 -4
  76. package/lib/logger.js.map +0 -1
  77. package/lib/loyalty.d.ts +0 -350
  78. package/lib/loyalty.d.ts.map +0 -1
  79. package/lib/loyalty.js +0 -4
  80. package/lib/loyalty.js.map +0 -1
  81. package/lib/mealplan.d.ts +0 -177
  82. package/lib/mealplan.d.ts.map +0 -1
  83. package/lib/mealplan.js +0 -4
  84. package/lib/mealplan.js.map +0 -1
  85. package/lib/message.d.ts +0 -38
  86. package/lib/message.d.ts.map +0 -1
  87. package/lib/message.js +0 -4
  88. package/lib/message.js.map +0 -1
  89. package/lib/order.d.ts +0 -303
  90. package/lib/order.d.ts.map +0 -1
  91. package/lib/order.js +0 -4
  92. package/lib/order.js.map +0 -1
  93. package/lib/partner.d.ts +0 -402
  94. package/lib/partner.d.ts.map +0 -1
  95. package/lib/partner.js +0 -4
  96. package/lib/partner.js.map +0 -1
  97. package/lib/payment.d.ts +0 -250
  98. package/lib/payment.d.ts.map +0 -1
  99. package/lib/payment.js +0 -4
  100. package/lib/payment.js.map +0 -1
  101. package/lib/promo.d.ts +0 -312
  102. package/lib/promo.d.ts.map +0 -1
  103. package/lib/promo.js +0 -4
  104. package/lib/promo.js.map +0 -1
  105. package/lib/report.d.ts +0 -376
  106. package/lib/report.d.ts.map +0 -1
  107. package/lib/report.js +0 -4
  108. package/lib/report.js.map +0 -1
  109. package/lib/schedule.d.ts +0 -95
  110. package/lib/schedule.d.ts.map +0 -1
  111. package/lib/schedule.js +0 -4
  112. package/lib/schedule.js.map +0 -1
  113. package/lib/shoppingcart.d.ts +0 -279
  114. package/lib/shoppingcart.d.ts.map +0 -1
  115. package/lib/shoppingcart.js +0 -4
  116. package/lib/shoppingcart.js.map +0 -1
  117. package/lib/task.d.ts +0 -171
  118. package/lib/task.d.ts.map +0 -1
  119. package/lib/task.js +0 -4
  120. package/lib/task.js.map +0 -1
  121. package/lib/user.d.ts +0 -359
  122. package/lib/user.d.ts.map +0 -1
  123. package/lib/user.js +0 -4
  124. package/lib/user.js.map +0 -1
  125. package/lib/vote.d.ts +0 -52
  126. package/lib/vote.d.ts.map +0 -1
  127. package/lib/vote.js +0 -4
  128. package/lib/vote.js.map +0 -1
  129. /package/src/{client/base.ts → base.ts} +0 -0
package/lib/location.d.ts DELETED
@@ -1,747 +0,0 @@
1
- export interface POS {
2
- id?: string;
3
- type?: string;
4
- meta?: any;
5
- }
6
- export interface MenuHours {
7
- id?: string;
8
- label?: {
9
- en?: string;
10
- };
11
- hours?: Hours[];
12
- is_pickup?: boolean;
13
- is_delivery?: boolean;
14
- is_frictionless?: boolean;
15
- }
16
- export interface Hours {
17
- id?: string;
18
- date?: {
19
- start?: string;
20
- end?: string;
21
- };
22
- day?: {
23
- start?: number;
24
- end?: number;
25
- };
26
- hours?: string;
27
- }
28
- export interface DeliveryHours {
29
- id?: string;
30
- day?: {
31
- start?: number;
32
- end?: number;
33
- };
34
- hours?: string;
35
- }
36
- export interface Timeslot {
37
- id?: number;
38
- brand_id?: string;
39
- start_time?: string;
40
- duration?: string;
41
- is_available?: boolean;
42
- number_orders?: number;
43
- }
44
- export interface Address {
45
- suite?: string;
46
- address?: string;
47
- city?: string;
48
- state?: string;
49
- country?: string;
50
- zip?: string;
51
- coordinates?: {
52
- latitude?: number;
53
- longitude?: number;
54
- };
55
- }
56
- export interface Brand {
57
- id?: string;
58
- sector?: string;
59
- name?: string;
60
- label?: {
61
- en?: string;
62
- fr?: string;
63
- };
64
- timezone?: string;
65
- description?: string;
66
- latitude?: number;
67
- longitude?: number;
68
- address?: Address;
69
- menus?: MenuHours[];
70
- date?: {
71
- created?: string;
72
- };
73
- hours?: Hours[];
74
- deliveryHours?: DeliveryHours[];
75
- style?: any;
76
- pos?: string;
77
- terminals?: any[];
78
- timeslots?: {
79
- time?: string;
80
- averagePrepTime?: string;
81
- duration_minutes?: number;
82
- customers_per_slot?: number;
83
- menu_items_per_slot?: number;
84
- delivery_time?: string;
85
- delivery_customers_per_slot?: number;
86
- delivery_menu_items_per_slot?: number;
87
- delivery_prep_time?: string;
88
- delivery_is_user_defined?: boolean;
89
- delivery_user_defined?: {
90
- start_time: string;
91
- end_time: string;
92
- delivery_destinations?: string[];
93
- }[];
94
- };
95
- is?: {
96
- pickup_supported?: boolean;
97
- delivery_supported?: boolean;
98
- plu_enabled?: boolean;
99
- promo_exemptions_enabled?: boolean;
100
- local_images_enabled?: boolean;
101
- hidden?: boolean;
102
- item_desc_edit_enabled?: boolean;
103
- scan_and_go_supported?: boolean;
104
- calories_edit_enabled?: boolean;
105
- special_instructions?: boolean;
106
- [index: string]: any;
107
- };
108
- brand?: string;
109
- location?: string;
110
- payment_provider?: string;
111
- location_description?: string;
112
- company?: string;
113
- config?: {
114
- private?: any;
115
- public?: any;
116
- };
117
- tax_rate?: number;
118
- meta?: {
119
- scout?: {
120
- user_id?: string;
121
- name?: {
122
- first?: string;
123
- last?: string;
124
- };
125
- };
126
- partner?: {
127
- user_id?: string;
128
- name?: {
129
- first?: string;
130
- last?: string;
131
- };
132
- };
133
- contact?: {
134
- name?: string;
135
- role?: string;
136
- email?: string;
137
- phone?: string;
138
- };
139
- market_id?: string;
140
- partner_type?: string;
141
- business_number?: number;
142
- website?: string;
143
- cuisine_types?: string[];
144
- status?: PartnerStatus;
145
- active?: boolean;
146
- max_showcase_items?: number;
147
- jde_category?: string;
148
- };
149
- descriptions?: {
150
- location?: {
151
- en?: string;
152
- fr?: string;
153
- };
154
- };
155
- [index: string]: any;
156
- }
157
- export interface BrandDocument {
158
- id?: string;
159
- type?: string;
160
- url?: string;
161
- is_archived?: boolean;
162
- upload_date?: number;
163
- name?: string;
164
- }
165
- export declare type BrandDocuments = BrandDocument[];
166
- export interface BrandDocumentsResponse {
167
- documents?: BrandDocuments;
168
- }
169
- export declare type Brands = Brand[];
170
- export interface Location {
171
- id?: string;
172
- operation_id?: number;
173
- name?: string;
174
- label?: {
175
- en?: string;
176
- fr?: string;
177
- };
178
- search?: string[];
179
- app?: string;
180
- address?: Address;
181
- latitude?: number;
182
- longitude?: number;
183
- brands?: Brand[];
184
- meta?: any;
185
- phone?: string;
186
- location_group?: string;
187
- location_multigroup?: string;
188
- sector?: string;
189
- date?: {
190
- created?: string;
191
- modified?: string;
192
- };
193
- market_place?: {
194
- label?: {
195
- en?: string;
196
- fr?: string;
197
- };
198
- location_description?: {
199
- en?: string;
200
- fr?: string;
201
- };
202
- logo?: string;
203
- is?: {
204
- pickup_supported?: boolean;
205
- };
206
- pickup_instruction?: {
207
- en?: string;
208
- fr?: string;
209
- };
210
- hours?: any;
211
- deliveryHours?: any;
212
- service_fee?: {
213
- type?: string;
214
- value?: number;
215
- };
216
- [index: string]: any;
217
- };
218
- [index: string]: any;
219
- }
220
- export interface Group {
221
- id?: string;
222
- name?: string;
223
- label?: {
224
- en?: string;
225
- fr?: string;
226
- };
227
- distance?: number;
228
- locations?: Location[];
229
- address?: Address;
230
- meta?: any;
231
- style?: any;
232
- [index: string]: any;
233
- }
234
- export interface MultiGroup {
235
- id?: string;
236
- name?: string;
237
- groups?: Group[];
238
- [index: string]: any;
239
- }
240
- export interface Error {
241
- error?: string;
242
- code?: number;
243
- }
244
- export interface Sector {
245
- id?: string;
246
- name?: string;
247
- label?: {
248
- en?: string;
249
- fr?: string;
250
- };
251
- companies?: Company[];
252
- }
253
- export interface Company {
254
- id?: string;
255
- name?: string;
256
- label?: {
257
- en?: string;
258
- fr?: string;
259
- };
260
- sector?: string;
261
- locations?: Location[];
262
- is?: {
263
- global_images_enabled?: boolean;
264
- };
265
- meta?: any;
266
- }
267
- export interface Locations {
268
- locations?: Location[];
269
- }
270
- export interface Multigroups {
271
- groups?: MultiGroup[];
272
- multigroups?: MultiGroup[];
273
- }
274
- export interface Groups {
275
- groups?: Group[];
276
- }
277
- export interface PostOrPatchDeliveryDestination {
278
- name: string;
279
- foodlocker: boolean;
280
- address: Address;
281
- information?: string;
282
- }
283
- export interface DeliveryDestination {
284
- id?: string;
285
- name: string;
286
- foodlocker: boolean;
287
- address: Address;
288
- information?: string;
289
- }
290
- export declare type DeliveryDestinations = DeliveryDestination[];
291
- export interface DeliveryDestinationIDs {
292
- delivery_destinations?: string[];
293
- }
294
- export interface TimeSlots {
295
- timeslots?: Timeslot[];
296
- }
297
- export interface Sectors {
298
- sectors?: Sector[];
299
- }
300
- export interface CompanyUpdateBody {
301
- name?: string;
302
- is?: {
303
- global_images_enabled?: boolean;
304
- };
305
- }
306
- export interface MarketPlace {
307
- stations?: Station[];
308
- [index: string]: any;
309
- }
310
- export interface Station {
311
- brand?: string;
312
- menu?: string;
313
- [index: string]: any;
314
- }
315
- export interface CreateSector {
316
- name?: string;
317
- }
318
- export interface BadRequest {
319
- error?: string;
320
- }
321
- export declare type PartnerStatus = string;
322
- export declare type PostLocationBody = Location;
323
- export declare type PostLocationResponse = Location;
324
- export interface PostLocationRequest {
325
- body: PostLocationBody;
326
- }
327
- export declare type GetLocationsResponse = Locations;
328
- export declare type GetLocationsRequest = {};
329
- export interface GetLocationSearchQuery {
330
- lat?: number;
331
- long?: number;
332
- operation_id?: number;
333
- }
334
- export declare type GetLocationSearchResponse = Locations;
335
- export interface GetLocationSearchRequest extends GetLocationSearchQuery {
336
- }
337
- export interface GetLocationPath {
338
- id: string;
339
- }
340
- export interface GetLocationQuery {
341
- include_brands_config?: boolean;
342
- active_cafes?: any[];
343
- extended?: boolean;
344
- }
345
- export declare type GetLocationResponse = Location;
346
- export interface GetLocationRequest extends GetLocationQuery, GetLocationPath {
347
- }
348
- export interface PutLocationPath {
349
- id: string;
350
- }
351
- export declare type PutLocationBody = Location;
352
- export declare type PutLocationResponse = Location;
353
- export interface PutLocationRequest extends PutLocationPath {
354
- body: PutLocationBody;
355
- }
356
- export interface DeleteLocationPath {
357
- id: string;
358
- }
359
- export interface DeleteLocationBody {
360
- brands?: Brand[];
361
- }
362
- export declare type DeleteLocationResponse = Location;
363
- export interface DeleteLocationRequest extends DeleteLocationPath {
364
- body: DeleteLocationBody;
365
- }
366
- export interface PatchLocationPath {
367
- id: string;
368
- }
369
- export declare type PatchLocationBody = Location;
370
- export declare type PatchLocationResponse = Location;
371
- export interface PatchLocationRequest extends PatchLocationPath {
372
- body: PatchLocationBody;
373
- }
374
- export interface GetLocationPosPath {
375
- id: string;
376
- }
377
- export declare type GetLocationPosResponse = POS;
378
- export interface GetLocationPosRequest extends GetLocationPosPath {
379
- }
380
- export interface PutLocationPosPath {
381
- id: string;
382
- }
383
- export declare type PutLocationPosBody = POS;
384
- export declare type PutLocationPosResponse = POS;
385
- export interface PutLocationPosRequest extends PutLocationPosPath {
386
- body: PutLocationPosBody;
387
- }
388
- export declare type GetLocationMultigroupsResponse = Multigroups;
389
- export declare type GetLocationMultigroupsRequest = {};
390
- export declare type PostLocationMultigroupBody = MultiGroup;
391
- export declare type PostLocationMultigroupResponse = MultiGroup;
392
- export interface PostLocationMultigroupRequest {
393
- body: PostLocationMultigroupBody;
394
- }
395
- export interface GetLocationMultigroupPath {
396
- id: string;
397
- }
398
- export interface GetLocationMultigroupQuery {
399
- latitude?: string;
400
- longitude?: string;
401
- merge?: string;
402
- expanded?: boolean;
403
- extended?: boolean;
404
- hours?: boolean;
405
- }
406
- export declare type GetLocationMultigroupResponse = MultiGroup;
407
- export interface GetLocationMultigroupRequest extends GetLocationMultigroupQuery, GetLocationMultigroupPath {
408
- }
409
- export interface PutLocationMultigroupPath {
410
- id: string;
411
- }
412
- export declare type PutLocationMultigroupBody = MultiGroup;
413
- export declare type PutLocationMultigroupResponse = MultiGroup;
414
- export interface PutLocationMultigroupRequest extends PutLocationMultigroupPath {
415
- body: PutLocationMultigroupBody;
416
- }
417
- export interface DeleteLocationMultigroupPath {
418
- id: string;
419
- }
420
- export interface DeleteLocationMultigroupBody {
421
- groups?: Group[];
422
- }
423
- export declare type DeleteLocationMultigroupResponse = MultiGroup;
424
- export interface DeleteLocationMultigroupRequest extends DeleteLocationMultigroupPath {
425
- body: DeleteLocationMultigroupBody;
426
- }
427
- export interface PatchLocationMultigroupPath {
428
- id: string;
429
- }
430
- export declare type PatchLocationMultigroupBody = MultiGroup;
431
- export declare type PatchLocationMultigroupResponse = MultiGroup;
432
- export interface PatchLocationMultigroupRequest extends PatchLocationMultigroupPath {
433
- body: PatchLocationMultigroupBody;
434
- }
435
- export interface GetLocationUserMultigroupPath {
436
- id: string;
437
- user_id: string;
438
- }
439
- export interface GetLocationUserMultigroupQuery {
440
- expanded?: boolean;
441
- }
442
- export declare type GetLocationUserMultigroupResponse = Groups;
443
- export interface GetLocationUserMultigroupRequest extends GetLocationUserMultigroupQuery, GetLocationUserMultigroupPath {
444
- }
445
- export declare type PostLocationGroupBody = Group;
446
- export declare type PostLocationGroupResponse = Group;
447
- export interface PostLocationGroupRequest {
448
- body: PostLocationGroupBody;
449
- }
450
- export interface GetLocationGroupPath {
451
- id: string;
452
- }
453
- export interface GetLocationGroupQuery {
454
- latitude?: number;
455
- longitude?: number;
456
- include_brands_config?: boolean;
457
- extended?: boolean;
458
- web?: boolean;
459
- }
460
- export declare type GetLocationGroupResponse = Group;
461
- export interface GetLocationGroupRequest extends GetLocationGroupQuery, GetLocationGroupPath {
462
- }
463
- export interface PutLocationGroupPath {
464
- id: string;
465
- }
466
- export declare type PutLocationGroupBody = Group;
467
- export declare type PutLocationGroupResponse = Group;
468
- export interface PutLocationGroupRequest extends PutLocationGroupPath {
469
- body: PutLocationGroupBody;
470
- }
471
- export interface DeleteLocationGroupPath {
472
- id: string;
473
- }
474
- export interface DeleteLocationGroupBody {
475
- locations?: Location[];
476
- }
477
- export declare type DeleteLocationGroupResponse = Group;
478
- export interface DeleteLocationGroupRequest extends DeleteLocationGroupPath {
479
- body: DeleteLocationGroupBody;
480
- }
481
- export interface PatchLocationGroupPath {
482
- id: string;
483
- }
484
- export declare type PatchLocationGroupBody = Group;
485
- export declare type PatchLocationGroupResponse = Group;
486
- export interface PatchLocationGroupRequest extends PatchLocationGroupPath {
487
- body: PatchLocationGroupBody;
488
- }
489
- export interface GetLocationGroupDeliverydestinationPath {
490
- id: string;
491
- }
492
- export interface GetLocationGroupDeliverydestinationQuery {
493
- name?: string;
494
- }
495
- export interface GetLocationGroupDeliverydestinationResponse {
496
- delivery_destinations?: DeliveryDestinations;
497
- }
498
- export interface GetLocationGroupDeliverydestinationRequest extends GetLocationGroupDeliverydestinationQuery, GetLocationGroupDeliverydestinationPath {
499
- }
500
- export interface PostLocationGroupDeliverydestinationPath {
501
- id: string;
502
- }
503
- export declare type PostLocationGroupDeliverydestinationBody = PostOrPatchDeliveryDestination;
504
- export declare type PostLocationGroupDeliverydestinationResponse = DeliveryDestination;
505
- export interface PostLocationGroupDeliverydestinationRequest extends PostLocationGroupDeliverydestinationPath {
506
- body: PostLocationGroupDeliverydestinationBody;
507
- }
508
- export interface GetLocationGroupDeliverydestinationPath {
509
- id: string;
510
- delivery_destination: string;
511
- }
512
- export declare type GetLocationGroupDeliverydestinationResponse = DeliveryDestination;
513
- export interface GetLocationGroupDeliverydestinationRequest extends GetLocationGroupDeliverydestinationPath {
514
- }
515
- export interface PatchLocationGroupDeliverydestinationPath {
516
- id: string;
517
- delivery_destination: string;
518
- }
519
- export declare type PatchLocationGroupDeliverydestinationBody = PostOrPatchDeliveryDestination;
520
- export declare type PatchLocationGroupDeliverydestinationResponse = DeliveryDestination;
521
- export interface PatchLocationGroupDeliverydestinationRequest extends PatchLocationGroupDeliverydestinationPath {
522
- body: PatchLocationGroupDeliverydestinationBody;
523
- }
524
- export interface DeleteLocationGroupDeliverydestinationPath {
525
- id: string;
526
- delivery_destination: string;
527
- }
528
- export interface DeleteLocationGroupDeliverydestinationResponse {
529
- deleted_delivery_destination?: DeliveryDestination;
530
- }
531
- export interface DeleteLocationGroupDeliverydestinationRequest extends DeleteLocationGroupDeliverydestinationPath {
532
- }
533
- export interface GetLocationUserGroupPath {
534
- id: string;
535
- user_id: string;
536
- }
537
- export interface GetLocationUserGroupQuery {
538
- latitude?: number;
539
- longitude?: number;
540
- }
541
- export declare type GetLocationUserGroupResponse = Group;
542
- export interface GetLocationUserGroupRequest extends GetLocationUserGroupQuery, GetLocationUserGroupPath {
543
- }
544
- export interface GetLocationBrandsResponse {
545
- brands?: Brands;
546
- }
547
- export declare type GetLocationBrandsRequest = {};
548
- export interface GetLocationBrandDestinationsPath {
549
- id: string;
550
- }
551
- export declare type GetLocationBrandDestinationsResponse = DeliveryDestinationIDs;
552
- export interface GetLocationBrandDestinationsRequest extends GetLocationBrandDestinationsPath {
553
- }
554
- export interface PostLocationBrandDocumentPath {
555
- id: string;
556
- }
557
- export interface PostLocationBrandDocumentBody {
558
- post_body: {
559
- document_name?: string;
560
- document_type?: string;
561
- document?: string;
562
- };
563
- }
564
- export declare type PostLocationBrandDocumentResponse = BrandDocumentsResponse;
565
- export interface PostLocationBrandDocumentRequest extends PostLocationBrandDocumentPath {
566
- body: PostLocationBrandDocumentBody;
567
- }
568
- export interface PatchLocationBrandDocumentPath {
569
- id: string;
570
- }
571
- export interface PatchLocationBrandDocumentResponse {
572
- document?: BrandDocument;
573
- }
574
- export interface PatchLocationBrandDocumentRequest extends PatchLocationBrandDocumentPath {
575
- }
576
- export interface DeleteLocationBrandDocumentPath {
577
- id: string;
578
- }
579
- export interface DeleteLocationBrandDocumentResponse {
580
- deleted_document?: BrandDocument;
581
- }
582
- export interface DeleteLocationBrandDocumentRequest extends DeleteLocationBrandDocumentPath {
583
- }
584
- export interface GetLocationBrandDocumentsPath {
585
- id: string;
586
- }
587
- export declare type GetLocationBrandDocumentsResponse = BrandDocumentsResponse;
588
- export interface GetLocationBrandDocumentsRequest extends GetLocationBrandDocumentsPath {
589
- }
590
- export interface GetLocationBrandTimeslotsPath {
591
- id: string;
592
- }
593
- export interface GetLocationBrandTimeslotsQuery {
594
- date?: number;
595
- limit?: number;
596
- }
597
- export declare type GetLocationBrandTimeslotsResponse = TimeSlots;
598
- export interface GetLocationBrandTimeslotsRequest extends GetLocationBrandTimeslotsQuery, GetLocationBrandTimeslotsPath {
599
- }
600
- export interface PostLocationMarketplaceTimeslotsQuery {
601
- date?: number;
602
- limit?: number;
603
- }
604
- export declare type PostLocationMarketplaceTimeslotsBody = MarketPlace;
605
- export declare type PostLocationMarketplaceTimeslotsResponse = TimeSlots;
606
- export interface PostLocationMarketplaceTimeslotsRequest extends PostLocationMarketplaceTimeslotsQuery {
607
- body: PostLocationMarketplaceTimeslotsBody;
608
- }
609
- export interface PostLocationMarketplaceTimeslotsDeliveryQuery {
610
- date?: number;
611
- limit?: number;
612
- }
613
- export declare type PostLocationMarketplaceTimeslotsDeliveryBody = MarketPlace;
614
- export declare type PostLocationMarketplaceTimeslotsDeliveryResponse = TimeSlots;
615
- export interface PostLocationMarketplaceTimeslotsDeliveryRequest extends PostLocationMarketplaceTimeslotsDeliveryQuery {
616
- body: PostLocationMarketplaceTimeslotsDeliveryBody;
617
- }
618
- export interface GetLocationBrandMenuTimeslotsPath {
619
- id: string;
620
- menu: string;
621
- }
622
- export interface GetLocationBrandMenuTimeslotsQuery {
623
- date?: number;
624
- limit?: number;
625
- }
626
- export declare type GetLocationBrandMenuTimeslotsResponse = TimeSlots;
627
- export interface GetLocationBrandMenuTimeslotsRequest extends GetLocationBrandMenuTimeslotsQuery, GetLocationBrandMenuTimeslotsPath {
628
- }
629
- export interface GetLocationBrandDeliveryTimeslotsPath {
630
- id: string;
631
- }
632
- export interface GetLocationBrandDeliveryTimeslotsQuery {
633
- date?: number;
634
- limit?: number;
635
- }
636
- export declare type GetLocationBrandDeliveryTimeslotsResponse = TimeSlots;
637
- export interface GetLocationBrandDeliveryTimeslotsRequest extends GetLocationBrandDeliveryTimeslotsQuery, GetLocationBrandDeliveryTimeslotsPath {
638
- }
639
- export interface GetLocationBrandMenuDeliveryTimeslostsPath {
640
- id: string;
641
- menu: string;
642
- }
643
- export interface GetLocationBrandMenuDeliveryTimeslostsQuery {
644
- date?: number;
645
- limit?: number;
646
- }
647
- export declare type GetLocationBrandMenuDeliveryTimeslostsResponse = TimeSlots;
648
- export interface GetLocationBrandMenuDeliveryTimeslostsRequest extends GetLocationBrandMenuDeliveryTimeslostsQuery, GetLocationBrandMenuDeliveryTimeslostsPath {
649
- }
650
- export declare type PostLocationBrandBody = Brand;
651
- export declare type PostLocationBrandResponse = Brand;
652
- export interface PostLocationBrandRequest {
653
- body: PostLocationBrandBody;
654
- }
655
- export interface GetLocationBrandPath {
656
- id: string;
657
- }
658
- export interface GetLocationBrandQuery {
659
- include_config?: boolean;
660
- extended?: boolean;
661
- }
662
- export declare type GetLocationBrandResponse = Brand;
663
- export interface GetLocationBrandRequest extends GetLocationBrandQuery, GetLocationBrandPath {
664
- }
665
- export interface PatchLocationBrandPath {
666
- id: string;
667
- }
668
- export declare type PatchLocationBrandBody = Brand;
669
- export declare type PatchLocationBrandResponse = Brand;
670
- export interface PatchLocationBrandRequest extends PatchLocationBrandPath {
671
- body: PatchLocationBrandBody;
672
- }
673
- export interface DeleteLocationBrandPath {
674
- id: string;
675
- }
676
- export declare type DeleteLocationBrandBody = Brand;
677
- export declare type DeleteLocationBrandResponse = Brand;
678
- export interface DeleteLocationBrandRequest extends DeleteLocationBrandPath {
679
- body: DeleteLocationBrandBody;
680
- }
681
- export interface PutLocationBrandPath {
682
- id: string;
683
- }
684
- export declare type PutLocationBrandBody = Brand;
685
- export declare type PutLocationBrandResponse = Brand;
686
- export interface PutLocationBrandRequest extends PutLocationBrandPath {
687
- body: PutLocationBrandBody;
688
- }
689
- export declare type GetLocationSectorsResponse = Sectors;
690
- export declare type GetLocationSectorsRequest = {};
691
- export declare type PostLocationSectorBody = CreateSector;
692
- export declare type PostLocationSectorResponse = Sector;
693
- export interface PostLocationSectorRequest {
694
- body: PostLocationSectorBody;
695
- }
696
- export interface GetLocationSectorPath {
697
- id: string;
698
- }
699
- export interface GetLocationSectorQuery {
700
- expanded?: boolean;
701
- }
702
- export declare type GetLocationSectorResponse = Sector;
703
- export interface GetLocationSectorRequest extends GetLocationSectorQuery, GetLocationSectorPath {
704
- }
705
- export interface PatchLocationSectorPath {
706
- id: string;
707
- }
708
- export interface PatchLocationSectorQuery {
709
- expanded?: boolean;
710
- }
711
- export declare type PatchLocationSectorBody = CreateSector;
712
- export declare type PatchLocationSectorResponse = Sector;
713
- export interface PatchLocationSectorRequest extends PatchLocationSectorQuery, PatchLocationSectorPath {
714
- body: PatchLocationSectorBody;
715
- }
716
- export interface PostLocationCompanyBody {
717
- name: {
718
- name: string;
719
- sector: string;
720
- label?: any;
721
- is?: {
722
- global_images_enabled?: boolean;
723
- };
724
- };
725
- }
726
- export declare type PostLocationCompanyResponse = Company;
727
- export interface PostLocationCompanyRequest {
728
- body: PostLocationCompanyBody;
729
- }
730
- export interface GetLocationCompanyPath {
731
- id: string;
732
- }
733
- export interface GetLocationCompanyQuery {
734
- expanded?: boolean;
735
- }
736
- export declare type GetLocationCompanyResponse = Company;
737
- export interface GetLocationCompanyRequest extends GetLocationCompanyQuery, GetLocationCompanyPath {
738
- }
739
- export interface PatchLocationCompanyPath {
740
- id: string;
741
- }
742
- export declare type PatchLocationCompanyBody = CompanyUpdateBody;
743
- export declare type PatchLocationCompanyResponse = Company;
744
- export interface PatchLocationCompanyRequest extends PatchLocationCompanyPath {
745
- body: PatchLocationCompanyBody;
746
- }
747
- //# sourceMappingURL=location.d.ts.map