@compassdigital/sdk.typescript 4.319.0 → 4.321.0

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.
@@ -4,918 +4,6 @@ export interface Error {
4
4
  code?: number;
5
5
  data?: Record<string, any>;
6
6
  }
7
- export interface ShoppingCartResponse {
8
- id?: string;
9
- location?: string;
10
- menu?: string;
11
- brand?: string;
12
- date?: Record<string, any>;
13
- items?: ItemResponse[];
14
- sub_total?: {
15
- amount?: MonetaryValue;
16
- };
17
- promo?: {
18
- code?: string;
19
- provider?: 'fp' | 'voucherify';
20
- amount_off?: MonetaryValue;
21
- percent_off?: MonetaryValue;
22
- amount?: MonetaryValue;
23
- app?: string;
24
- discount?: Record<string, any>;
25
- provider_data?: FPValidationData;
26
- order?: {
27
- items_applied_discount_amount?: number;
28
- amount?: number;
29
- items_discount_amount?: number;
30
- total_amount?: number;
31
- total_applied_discount_amount?: number;
32
- total_discount_amount?: number;
33
- items?: {
34
- applied_discount_amount?: number;
35
- amount?: number;
36
- discount_amount?: number;
37
- price?: number;
38
- quantity?: number;
39
- source_id?: string;
40
- subtotal_amount?: number;
41
- }[];
42
- };
43
- };
44
- loyalty?: {
45
- coupon?: {
46
- code?: string;
47
- amount_off?: MonetaryValue;
48
- amount?: MonetaryValue;
49
- name?: string;
50
- };
51
- order_loyalty_points?: boolean;
52
- };
53
- discount?: ShoppingCartResponse['promo'];
54
- discounts?: {
55
- id: string;
56
- createdAt: string;
57
- updatedAt: string;
58
- createdBy: string;
59
- updatedBy: string;
60
- name: string;
61
- is?: {
62
- badgepayPromo?: boolean;
63
- mealplanPromo?: boolean;
64
- decliningBalancePromo?: boolean;
65
- voucherPromo?: boolean;
66
- };
67
- status?: {
68
- live?: boolean;
69
- publishedTo3rdParty?: boolean;
70
- readyToPublish?: boolean;
71
- };
72
- meta?: {
73
- provider: {
74
- voucherify?: {
75
- id?: string;
76
- code?: string;
77
- discount?: {
78
- type: string;
79
- amountOff?: number;
80
- percentOff?: number;
81
- };
82
- };
83
- };
84
- };
85
- }[];
86
- payment_method?: {
87
- mealplan?: {
88
- id?: string;
89
- tender?: string;
90
- total?: MonetaryValue;
91
- type?: PaymentType;
92
- };
93
- credit_card?: {
94
- card_type?: string;
95
- last4?: string;
96
- total?: MonetaryValue;
97
- type?: PaymentType;
98
- };
99
- digital_wallet_pay?: {
100
- wallet_type?: string;
101
- total?: MonetaryValue;
102
- type?: PaymentType;
103
- };
104
- meal_swipes?: {
105
- id?: string;
106
- tender?: string;
107
- tender_type?: string;
108
- tender_name?: string;
109
- swipes?: MonetaryValue;
110
- rate?: MonetaryValue;
111
- total?: MonetaryValue;
112
- type?: PaymentType;
113
- };
114
- meal_exchange?: {
115
- id?: string;
116
- tender?: string;
117
- type?: PaymentType;
118
- };
119
- badge_pay?: CashlessTender;
120
- stipend?: CashlessTender;
121
- voucher?: CashlessTender;
122
- coupon_voucher?: CashlessTender;
123
- };
124
- taxes?: Taxes;
125
- total?: {
126
- amount?: MonetaryValue;
127
- meals?: MonetaryValue;
128
- };
129
- exemptions?: {
130
- tax?: boolean;
131
- };
132
- order?: {
133
- id?: string;
134
- };
135
- service_fee?: {
136
- amount?: MonetaryValue;
137
- };
138
- delivery_fee?: {
139
- amount?: MonetaryValue;
140
- };
141
- is?: {
142
- type?: 'delivery' | 'pickup' | 'scan_and_go' | 'frictionless';
143
- mx_cart?: boolean;
144
- email_tax_exempt?: boolean;
145
- tax_calculation_required?: boolean;
146
- system365?: boolean;
147
- };
148
- meta?: {
149
- vendor?: Record<string, any>;
150
- drain_order_type?: {
151
- taxable?: boolean;
152
- tax_exempt?: boolean;
153
- };
154
- [index: string]: any;
155
- };
156
- }
157
- export interface ItemResponse {
158
- id: string;
159
- description?: Label;
160
- _index?: string;
161
- quantity: Quantity;
162
- quantity_by_weight?: {
163
- unit?: string;
164
- value?: number;
165
- };
166
- unit?: number;
167
- price?: Price;
168
- sale_price?: {
169
- active?: boolean;
170
- amount?: MonetaryValue;
171
- };
172
- weighed_price?: Price;
173
- _subtotal?: {
174
- amount?: MonetaryValue;
175
- };
176
- _promo?: {
177
- amount?: MonetaryValue;
178
- };
179
- _discount?: {
180
- amount?: MonetaryValue;
181
- };
182
- meta?: {
183
- menu?: string;
184
- brand?: string;
185
- brand_label?: Label;
186
- taxes?: string[];
187
- tax?: {
188
- tax_tag_code?: string;
189
- tax_rate?: number;
190
- tax_amount?: number;
191
- };
192
- menu_tax_tags?: string[];
193
- orderable?: boolean;
194
- volante_id?: string;
195
- barcodes?: string[];
196
- plu?: string;
197
- [index: string]: any;
198
- };
199
- options?: {
200
- id?: string;
201
- label?: Label;
202
- meta?: {
203
- taxes?: string[];
204
- original_label?: Label;
205
- order_type?: 'selection' | 'option' | 'quantity';
206
- surchage_limit_value?: number;
207
- };
208
- items?: {
209
- id?: string;
210
- price?: Price;
211
- quantity?: Quantity;
212
- label?: Label;
213
- _index?: string;
214
- meta?: {
215
- sort_number?: number;
216
- original_label?: Label;
217
- taxes?: string[];
218
- sizing?: {
219
- name?: string;
220
- price?: MonetaryValue;
221
- posid?: string;
222
- }[];
223
- };
224
- amount_off_exclusions?: AmountOffExclusion[];
225
- is?: {
226
- disabled?: boolean;
227
- };
228
- }[];
229
- is?: {
230
- disabled?: boolean;
231
- incremental?: boolean;
232
- surchage_limit?: boolean;
233
- };
234
- }[];
235
- item_discount?: Record<string, any>;
236
- special_instructions?: string;
237
- amount_off_exclusions?: AmountOffExclusion[];
238
- added_on?: string;
239
- meal_value?: IntegerValue;
240
- category?: Label;
241
- menu_label?: Label;
242
- tax_rate?: MonetaryValue;
243
- label?: Label;
244
- reporting?: {
245
- category?: {
246
- primary?: string;
247
- secondary?: string;
248
- };
249
- };
250
- }
251
- export type MonetaryValue = number;
252
- export type PaymentType = string;
253
- export interface FPValidationData {
254
- discountIncentives?: {
255
- id?: string;
256
- program?: {
257
- code?: string;
258
- };
259
- [index: string]: any;
260
- }[];
261
- [index: string]: any;
262
- }
263
- export type AmountOffExclusion = 'discount' | 'promo';
264
- export interface Label {
265
- en?: string;
266
- fr?: string;
267
- }
268
- export type IntegerValue = number;
269
- export interface Price {
270
- amount?: MonetaryValue;
271
- }
272
- export type Quantity = number;
273
- export interface CashlessTender {
274
- id?: string;
275
- total?: MonetaryValue;
276
- tender?: string;
277
- name?: string;
278
- type?: PaymentType;
279
- }
280
- export interface Taxes {
281
- amount?: MonetaryValue;
282
- rate?: MonetaryValue;
283
- breakdown?: {
284
- taxable_amount?: MonetaryValue;
285
- tax_collectable?: MonetaryValue;
286
- combined_tax_rate?: MonetaryValue;
287
- gst?: MonetaryValue;
288
- pst?: MonetaryValue;
289
- provider?: string;
290
- [index: string]: any;
291
- };
292
- provider?: string;
293
- quote_payload?: {
294
- id: string;
295
- appName: string;
296
- transactionType: 'pickup' | 'delivery';
297
- serviceFee?: number;
298
- deliveryFee?: number;
299
- locationData: {
300
- id: string;
301
- country: string;
302
- stateOrProvince: string;
303
- city: string;
304
- postalCode: string;
305
- streetAddress: string;
306
- };
307
- items: {
308
- id: string;
309
- taxTagCode: string;
310
- quantity: number;
311
- price: number;
312
- taxedAmount?: number;
313
- }[];
314
- transactionDate?: string;
315
- refunds?: {
316
- refundItemId: string;
317
- refundItemQuantity: number;
318
- }[];
319
- };
320
- }
321
- export interface LocationGroup {
322
- id?: string;
323
- name?: string;
324
- label?: {
325
- en?: string;
326
- fr?: string;
327
- };
328
- distance?: number;
329
- locations?: Location[];
330
- address?: Address;
331
- meta?: Record<string, any>;
332
- style?: {
333
- logo?: string | null;
334
- main_logo?: string | null;
335
- alt_logo?: string | null;
336
- };
337
- timezone?: string;
338
- device_mapping?: Record<string, {
339
- device_type?: string;
340
- site_device_id?: string;
341
- name?: string;
342
- }[]>;
343
- [index: string]: any;
344
- }
345
- export interface Location {
346
- id?: string;
347
- operation_id?: number;
348
- name?: string;
349
- label?: {
350
- en?: string;
351
- fr?: string;
352
- };
353
- search?: string[];
354
- app?: string;
355
- address?: Address;
356
- latitude?: number;
357
- longitude?: number;
358
- brands?: Brand[];
359
- meta?: Record<string, any>;
360
- phone?: string;
361
- location_group?: string;
362
- location_multigroup?: string;
363
- sector?: string;
364
- date?: {
365
- deleted?: string;
366
- created?: string;
367
- modified?: string;
368
- };
369
- market_place?: {
370
- label?: {
371
- en?: string;
372
- fr?: string;
373
- };
374
- location_description?: {
375
- en?: string;
376
- fr?: string;
377
- };
378
- logo?: string;
379
- is?: {
380
- enabled?: boolean;
381
- pickup_supported?: boolean;
382
- delivery_supported?: boolean;
383
- };
384
- delivery_details?: {
385
- show_single_timeslot?: boolean;
386
- show_instructions?: boolean;
387
- runner_app_enabled?: boolean;
388
- };
389
- delivery_destinations?: string[];
390
- pickup_instruction?: {
391
- en?: string;
392
- fr?: string;
393
- };
394
- hours?: Hours[];
395
- deliveryHours?: DeliveryHours[];
396
- service_fee?: {
397
- type?: string;
398
- value?: number;
399
- };
400
- [index: string]: any;
401
- };
402
- [index: string]: any;
403
- }
404
- export interface Brand {
405
- id?: string;
406
- sector?: string;
407
- name?: string;
408
- label?: {
409
- en?: string;
410
- fr?: string;
411
- };
412
- timezone?: string;
413
- description?: string;
414
- latitude?: number;
415
- longitude?: number;
416
- address?: Address;
417
- menus?: MenuHours[];
418
- date?: {
419
- deleted?: string;
420
- created?: string;
421
- };
422
- hours?: Hours[];
423
- deliveryHours?: DeliveryHours[];
424
- style?: {
425
- logo?: string | null;
426
- main_logo?: string | null;
427
- alt_logo?: string | null;
428
- };
429
- pos?: string;
430
- terminals?: Record<string, any>[];
431
- device_mapping?: Record<string, {
432
- device_type: string;
433
- site_device_id: string;
434
- business_units?: string[];
435
- }[]>;
436
- timeslots?: {
437
- time?: string;
438
- averagePrepTime?: string;
439
- duration_minutes?: number;
440
- customers_per_slot?: number;
441
- menu_items_per_slot?: number;
442
- delivery_time?: string;
443
- delivery_customers_per_slot?: number;
444
- delivery_menu_items_per_slot?: number;
445
- delivery_prep_time?: string;
446
- delivery_is_user_defined?: boolean;
447
- delivery_user_defined?: {
448
- start_time: string;
449
- end_time: string;
450
- delivery_destinations?: string[];
451
- }[];
452
- };
453
- is?: {
454
- pickup_supported?: boolean;
455
- delivery_supported?: boolean;
456
- frictionless_supported?: boolean;
457
- plu_enabled?: boolean;
458
- promo_exemptions_enabled?: boolean;
459
- local_images_enabled?: boolean;
460
- hidden?: boolean;
461
- show_in_kiosk?: boolean;
462
- show_in_pos?: boolean;
463
- item_desc_edit_enabled?: boolean;
464
- scan_and_go_supported?: boolean;
465
- calories_edit_enabled?: boolean;
466
- special_instructions_enabled?: boolean;
467
- dining_hall?: boolean;
468
- [index: string]: any;
469
- };
470
- brand?: string;
471
- location?: string;
472
- group?: string;
473
- payment_provider?: string;
474
- location_description?: string;
475
- company?: string;
476
- config?: {
477
- private?: Record<string, any>;
478
- public?: Record<string, any>;
479
- };
480
- tax_rate?: number;
481
- meta?: {
482
- scout?: {
483
- user_id?: string;
484
- name?: {
485
- first?: string;
486
- last?: string;
487
- };
488
- };
489
- partner?: {
490
- user_id?: string;
491
- name?: {
492
- first?: string;
493
- last?: string;
494
- };
495
- };
496
- contact?: {
497
- name?: string;
498
- role?: string;
499
- email?: string;
500
- phone?: string;
501
- };
502
- market_id?: string;
503
- partner_type?: string;
504
- business_number?: number;
505
- website?: string;
506
- cuisine_types?: string[];
507
- status?: 'await_partner' | 'await_scout' | 'completed';
508
- active?: boolean;
509
- max_showcase_items?: number;
510
- jde_category?: string;
511
- software_integrations?: {
512
- system365?: string;
513
- jwo?: string;
514
- time2eat?: {
515
- enabled?: boolean;
516
- use_timeslots?: boolean;
517
- ignore_station_hours?: boolean;
518
- };
519
- nextep?: {
520
- mobile_app?: boolean;
521
- web?: boolean;
522
- };
523
- mashgin?: {
524
- enabled?: boolean;
525
- };
526
- };
527
- type_of_kds?: {
528
- cdl?: boolean;
529
- nextep?: boolean;
530
- volante?: boolean;
531
- agilysys?: boolean;
532
- [index: string]: any;
533
- };
534
- [index: string]: any;
535
- };
536
- descriptions?: {
537
- location?: {
538
- en?: string;
539
- fr?: string;
540
- };
541
- };
542
- estimated_wait_time?: {
543
- delivery?: WaitTime;
544
- pickup?: WaitTime;
545
- };
546
- state?: {
547
- pickup?: MenuHours['state'];
548
- delivery?: MenuHours['state'];
549
- };
550
- [index: string]: any;
551
- }
552
- export interface Address {
553
- suite?: string;
554
- address?: string;
555
- city?: string;
556
- state?: string;
557
- country?: string;
558
- zip?: string;
559
- coordinates?: {
560
- latitude?: number;
561
- longitude?: number;
562
- };
563
- }
564
- export interface MenuHours {
565
- id?: string;
566
- label?: {
567
- en?: string;
568
- };
569
- hours?: Hours[];
570
- is_pickup?: boolean;
571
- is_delivery?: boolean;
572
- is_frictionless?: boolean;
573
- state?: 'open' | 'closed' | 'preorder';
574
- is_disabled?: boolean;
575
- }
576
- export interface Hours {
577
- id?: string;
578
- date?: {
579
- deleted?: string;
580
- start?: string;
581
- end?: string;
582
- };
583
- day?: {
584
- start?: number;
585
- end?: number;
586
- };
587
- hours?: string;
588
- }
589
- export interface DeliveryHours {
590
- id?: string;
591
- day?: {
592
- start?: number;
593
- end?: number;
594
- };
595
- hours?: string;
596
- }
597
- export interface WaitTime {
598
- max: number;
599
- min: number;
600
- ready_time: number;
601
- }
602
- export interface Menu {
603
- id?: string;
604
- date?: {
605
- created?: string;
606
- modified?: string;
607
- published?: string;
608
- };
609
- label?: {
610
- en?: string;
611
- };
612
- groups?: Group[];
613
- parent_id?: string;
614
- location_brand?: string;
615
- company?: string;
616
- sector?: string;
617
- is?: {
618
- disabled?: boolean;
619
- hidden?: boolean;
620
- linked?: boolean;
621
- promo_exemptions_enabled?: boolean;
622
- plu_enabled?: boolean;
623
- item_images_enabled?: boolean;
624
- item_showcase_enabled?: boolean;
625
- item_desc_edit_enabled?: boolean;
626
- calories_edit_enabled?: boolean;
627
- item_label_edit_enabled?: boolean;
628
- frictionless?: boolean;
629
- category_images_enabled?: boolean;
630
- };
631
- meta?: {
632
- locked_by_user?: string;
633
- last_modified_user?: string;
634
- centricos?: boolean;
635
- version?: number;
636
- brand?: {
637
- id?: string;
638
- name?: string;
639
- };
640
- local_menu_group?: {
641
- id?: string;
642
- name?: string;
643
- };
644
- [index: string]: any;
645
- };
646
- }
647
- export interface Group {
648
- id?: string;
649
- name?: string;
650
- label?: {
651
- en?: string;
652
- fr?: string;
653
- };
654
- items?: {
655
- id?: string;
656
- label?: {
657
- en?: string;
658
- };
659
- name?: string;
660
- description?: {
661
- en?: string;
662
- };
663
- price?: {
664
- amount?: number;
665
- currency?: string;
666
- total_price?: number;
667
- discount?: number;
668
- };
669
- meal_value?: number;
670
- sale_price?: {
671
- amount?: number;
672
- currency?: string;
673
- };
674
- unit?: number;
675
- ingredients?: Record<string, any>[];
676
- amount_off_exclusions?: AmountOffExclusionTypes[];
677
- nutrition?: {
678
- kcal?: number;
679
- calories?: Nutrition;
680
- serving_size?: Nutrition;
681
- total_fat?: Nutrition;
682
- saturated_fat?: Nutrition;
683
- trans_fat?: Nutrition;
684
- cholesterol?: Nutrition;
685
- sodium?: Nutrition;
686
- total_carbohydrate?: Nutrition;
687
- dietary_fiber?: Nutrition;
688
- sugars?: Nutrition;
689
- protein?: Nutrition;
690
- well_being?: Nutrition;
691
- [index: string]: any;
692
- };
693
- certified?: {
694
- vegan?: boolean;
695
- vegetarian?: boolean;
696
- seafood_watch?: boolean;
697
- wellbeing?: boolean;
698
- farm_to_fork?: boolean;
699
- in_balance?: boolean;
700
- organic?: boolean;
701
- no_gluten_ingredients?: boolean;
702
- halal?: boolean;
703
- kosher?: boolean;
704
- humane?: boolean;
705
- locally_crafted?: boolean;
706
- nuts?: boolean;
707
- oracle_garden_grown?: boolean;
708
- oracle_oyes?: boolean;
709
- peanut_free?: boolean;
710
- tree_nut_free?: boolean;
711
- wheat_free?: boolean;
712
- non_gmo?: boolean;
713
- milk_free?: boolean;
714
- egg_free?: boolean;
715
- soy_free?: boolean;
716
- fair_trade?: boolean;
717
- rainforest_alliance?: boolean;
718
- salt_free?: boolean;
719
- };
720
- options?: {
721
- id?: string;
722
- label?: {
723
- en?: string;
724
- };
725
- unique_name?: string;
726
- name?: string;
727
- items?: {
728
- id?: string;
729
- label?: {
730
- en?: string;
731
- };
732
- name?: string;
733
- description?: {
734
- en?: string;
735
- };
736
- price?: {
737
- amount?: number;
738
- currency?: string;
739
- };
740
- reporting?: {
741
- category?: {
742
- primary?: string;
743
- secondary?: string;
744
- };
745
- };
746
- weight?: {
747
- unit?: string;
748
- amount?: number;
749
- };
750
- image?: {
751
- src?: string;
752
- sizes?: {
753
- original?: string;
754
- thumbnail_80_80?: string;
755
- };
756
- };
757
- sku?: number;
758
- nutrition?: {
759
- kcal?: number;
760
- calories?: Nutrition;
761
- };
762
- certified?: {
763
- vegan?: boolean;
764
- };
765
- modifier_sets?: {
766
- category?: string;
767
- list?: string[];
768
- }[];
769
- meta?: {
770
- sort_number?: number;
771
- menu_sort_number?: number;
772
- sizing?: {
773
- name?: string;
774
- posid?: string;
775
- price?: number;
776
- }[];
777
- tax?: {
778
- tax_tag_code?: string;
779
- };
780
- recipe?: {
781
- mrn?: string;
782
- unit_id?: string;
783
- portion_quantity?: number;
784
- portion_unit_name?: string;
785
- grams?: number;
786
- cost?: number;
787
- ingredients?: string[];
788
- smart_tags?: string[];
789
- allergen_tags?: string[];
790
- };
791
- unique_id?: number;
792
- [index: string]: any;
793
- };
794
- is?: {
795
- disabled?: boolean;
796
- hidden?: boolean;
797
- out_of_stock?: boolean;
798
- };
799
- amount_off_exclusions?: AmountOffExclusionTypes[];
800
- line_route?: string;
801
- }[];
802
- min?: number;
803
- max?: number;
804
- is?: {
805
- disabled?: boolean;
806
- hidden?: boolean;
807
- out_of_stock?: boolean;
808
- incremental?: boolean;
809
- surcharge_limit?: boolean;
810
- };
811
- meta?: {
812
- sort_number?: number;
813
- order_type?: 'selection' | 'option' | 'quantity';
814
- surcharge_limit_value?: number;
815
- menu_sort_number?: number;
816
- [index: string]: any;
817
- };
818
- limit?: number;
819
- [index: string]: any;
820
- }[];
821
- required?: boolean;
822
- special?: boolean;
823
- meta?: {
824
- superplate?: {
825
- type_id?: number;
826
- type?: string;
827
- };
828
- sort_number?: number;
829
- menu_sort_number?: number;
830
- barcodes?: string[];
831
- tax?: {
832
- tax_tag_code?: string;
833
- tax_jwo_code?: string;
834
- tax_rate?: number;
835
- tax_amount?: number;
836
- };
837
- recipe?: {
838
- mrn?: string;
839
- unit_id?: string;
840
- portion_quantity?: number;
841
- portion_unit_name?: string;
842
- grams?: number;
843
- cost?: number;
844
- ingredients?: string[];
845
- smart_tags?: string[];
846
- allergen_tags?: string[];
847
- };
848
- unique_id?: number;
849
- };
850
- category?: {
851
- en?: string;
852
- };
853
- location?: string;
854
- sku?: number;
855
- item_number?: number;
856
- image?: {
857
- src?: string;
858
- sizes?: {
859
- original?: string;
860
- thumbnail_80_80?: string;
861
- };
862
- };
863
- weight?: {
864
- unit?: string;
865
- amount?: number;
866
- };
867
- line_route?: string;
868
- reporting?: {
869
- category?: {
870
- primary?: string;
871
- secondary?: string;
872
- };
873
- };
874
- is_deleted?: boolean;
875
- is?: {
876
- disabled?: boolean;
877
- hidden?: boolean;
878
- meq_eligible?: boolean;
879
- out_of_stock?: boolean;
880
- deleted?: boolean;
881
- featured?: boolean;
882
- };
883
- }[];
884
- is_disabled?: boolean;
885
- is?: {
886
- disabled?: boolean;
887
- hidden?: boolean;
888
- item_images_enabled?: boolean;
889
- };
890
- meta?: {
891
- sort_number?: number;
892
- menu_sort_number?: number;
893
- [index: string]: any;
894
- };
895
- image?: {
896
- src?: string;
897
- sizes?: {
898
- original?: string;
899
- thumbnail_80_80?: string;
900
- };
901
- };
902
- }
903
- export interface Nutrition {
904
- amount?: number;
905
- unit?: string;
906
- }
907
- export type AmountOffExclusionTypes = 'loyalty' | 'discount' | 'promo';
908
- export interface CognitionStore {
909
- uuid?: string;
910
- name?: string;
911
- address?: string;
912
- city?: string;
913
- state?: string;
914
- street_address?: string;
915
- currency_code?: string;
916
- latitude?: number;
917
- longitude?: number;
918
- }
919
7
  export interface Success {
920
8
  success?: boolean;
921
9
  }