@voyantjs/distribution-react 0.105.2 → 0.107.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.
Files changed (66) hide show
  1. package/README.md +56 -10
  2. package/dist/components/booking-link-detail-page.d.ts +10 -0
  3. package/dist/components/booking-link-detail-page.d.ts.map +1 -0
  4. package/dist/components/booking-link-detail-page.js +51 -0
  5. package/dist/components/channel-detail-page.d.ts +12 -0
  6. package/dist/components/channel-detail-page.d.ts.map +1 -0
  7. package/dist/components/channel-detail-page.js +41 -0
  8. package/dist/components/channel-sync-page.d.ts +8 -0
  9. package/dist/components/channel-sync-page.d.ts.map +1 -0
  10. package/dist/components/channel-sync-page.js +257 -0
  11. package/dist/components/channels-page.d.ts +6 -0
  12. package/dist/components/channels-page.d.ts.map +1 -0
  13. package/dist/components/channels-page.js +132 -0
  14. package/dist/components/commission-rule-detail-page.d.ts +10 -0
  15. package/dist/components/commission-rule-detail-page.d.ts.map +1 -0
  16. package/dist/components/commission-rule-detail-page.js +57 -0
  17. package/dist/components/contract-detail-page.d.ts +10 -0
  18. package/dist/components/contract-detail-page.d.ts.map +1 -0
  19. package/dist/components/contract-detail-page.js +64 -0
  20. package/dist/components/distribution-overview.d.ts +19 -0
  21. package/dist/components/distribution-overview.d.ts.map +1 -0
  22. package/dist/components/distribution-overview.js +13 -0
  23. package/dist/components/distribution-page.d.ts +26 -0
  24. package/dist/components/distribution-page.d.ts.map +1 -0
  25. package/dist/components/distribution-page.js +190 -0
  26. package/dist/components/distribution-section-header.d.ts +7 -0
  27. package/dist/components/distribution-section-header.d.ts.map +1 -0
  28. package/dist/components/distribution-section-header.js +6 -0
  29. package/dist/components/distribution-shared.d.ts +32 -0
  30. package/dist/components/distribution-shared.d.ts.map +1 -0
  31. package/dist/components/distribution-shared.js +246 -0
  32. package/dist/components/distribution-tabs-primary.d.ts +57 -0
  33. package/dist/components/distribution-tabs-primary.d.ts.map +1 -0
  34. package/dist/components/distribution-tabs-primary.js +89 -0
  35. package/dist/components/distribution-tabs-secondary.d.ts +58 -0
  36. package/dist/components/distribution-tabs-secondary.d.ts.map +1 -0
  37. package/dist/components/distribution-tabs-secondary.js +89 -0
  38. package/dist/components/mapping-detail-page.d.ts +10 -0
  39. package/dist/components/mapping-detail-page.d.ts.map +1 -0
  40. package/dist/components/mapping-detail-page.js +51 -0
  41. package/dist/components/webhook-event-detail-page.d.ts +9 -0
  42. package/dist/components/webhook-event-detail-page.d.ts.map +1 -0
  43. package/dist/components/webhook-event-detail-page.js +46 -0
  44. package/dist/i18n/en.d.ts +592 -0
  45. package/dist/i18n/en.d.ts.map +1 -0
  46. package/dist/i18n/en.js +561 -0
  47. package/dist/i18n/index.d.ts +5 -0
  48. package/dist/i18n/index.d.ts.map +1 -0
  49. package/dist/i18n/index.js +3 -0
  50. package/dist/i18n/messages.d.ts +409 -0
  51. package/dist/i18n/messages.d.ts.map +1 -0
  52. package/dist/i18n/messages.js +1 -0
  53. package/dist/i18n/provider.d.ts +1207 -0
  54. package/dist/i18n/provider.d.ts.map +1 -0
  55. package/dist/i18n/provider.js +44 -0
  56. package/dist/i18n/ro.d.ts +592 -0
  57. package/dist/i18n/ro.d.ts.map +1 -0
  58. package/dist/i18n/ro.js +561 -0
  59. package/dist/i18n/utils.d.ts +4 -0
  60. package/dist/i18n/utils.d.ts.map +1 -0
  61. package/dist/i18n/utils.js +8 -0
  62. package/dist/ui.d.ts +16 -0
  63. package/dist/ui.d.ts.map +1 -0
  64. package/dist/ui.js +14 -0
  65. package/package.json +53 -9
  66. package/src/styles.css +11 -0
@@ -0,0 +1,1207 @@
1
+ import { type LocaleMessageOverrides, type PackageI18nValue } from "@voyantjs/i18n";
2
+ import type { ReactNode } from "react";
3
+ import type { DistributionUiMessages } from "./messages.js";
4
+ export declare const distributionUiMessageDefinitions: {
5
+ en: {
6
+ common: {
7
+ open: string;
8
+ view: string;
9
+ cancel: string;
10
+ create: string;
11
+ save: string;
12
+ delete: string;
13
+ clearFilters: string;
14
+ clearSelection: string;
15
+ backToDistribution: string;
16
+ loading: string;
17
+ none: string;
18
+ openEnded: string;
19
+ noReference: string;
20
+ unmappedStatus: string;
21
+ yes: string;
22
+ searchPlaceholder: string;
23
+ allChannels: string;
24
+ received: string;
25
+ supplier: string;
26
+ channelLabel: string;
27
+ contractLabel: string;
28
+ productLabel: string;
29
+ bookingLabel: string;
30
+ supplierLabel: string;
31
+ createdLabel: string;
32
+ updatedLabel: string;
33
+ emptyValue: string;
34
+ dateTimeFallback: string;
35
+ active: string;
36
+ inactive: string;
37
+ selectionSummary: string;
38
+ resultSummary: string;
39
+ deleteSummary: string;
40
+ entities: {
41
+ channel: {
42
+ one: string;
43
+ other: string;
44
+ };
45
+ contract: {
46
+ one: string;
47
+ other: string;
48
+ };
49
+ commissionRule: {
50
+ one: string;
51
+ other: string;
52
+ };
53
+ mapping: {
54
+ one: string;
55
+ other: string;
56
+ };
57
+ bookingLink: {
58
+ one: string;
59
+ other: string;
60
+ };
61
+ webhookEvent: {
62
+ one: string;
63
+ other: string;
64
+ };
65
+ };
66
+ cancellationOwnerLabels: {
67
+ operator: string;
68
+ channel: string;
69
+ mixed: string;
70
+ };
71
+ channelKindLabels: {
72
+ direct: string;
73
+ affiliate: string;
74
+ ota: string;
75
+ reseller: string;
76
+ marketplace: string;
77
+ api_partner: string;
78
+ connect: string;
79
+ };
80
+ channelStatusLabels: {
81
+ active: string;
82
+ inactive: string;
83
+ pending: string;
84
+ archived: string;
85
+ };
86
+ contractStatusLabels: {
87
+ draft: string;
88
+ active: string;
89
+ expired: string;
90
+ terminated: string;
91
+ };
92
+ paymentOwnerLabels: {
93
+ operator: string;
94
+ channel: string;
95
+ split: string;
96
+ };
97
+ commissionScopeLabels: {
98
+ booking: string;
99
+ product: string;
100
+ rate: string;
101
+ category: string;
102
+ };
103
+ commissionTypeLabels: {
104
+ fixed: string;
105
+ percentage: string;
106
+ };
107
+ webhookStatusLabels: {
108
+ pending: string;
109
+ processed: string;
110
+ failed: string;
111
+ ignored: string;
112
+ };
113
+ };
114
+ page: {
115
+ title: string;
116
+ description: string;
117
+ tabs: {
118
+ channels: string;
119
+ contracts: string;
120
+ commissions: string;
121
+ mappings: string;
122
+ bookingLinks: string;
123
+ webhooks: string;
124
+ };
125
+ bulkVerbs: {
126
+ activated: string;
127
+ archived: string;
128
+ deleted: string;
129
+ expired: string;
130
+ deactivated: string;
131
+ processed: string;
132
+ ignored: string;
133
+ };
134
+ };
135
+ overview: {
136
+ metrics: {
137
+ activeChannels: {
138
+ title: string;
139
+ description: string;
140
+ };
141
+ activeContracts: {
142
+ title: string;
143
+ description: string;
144
+ };
145
+ activeMappings: {
146
+ title: string;
147
+ description: string;
148
+ };
149
+ syncQueue: {
150
+ title: string;
151
+ description: string;
152
+ };
153
+ };
154
+ webhookQueue: {
155
+ title: string;
156
+ empty: string;
157
+ };
158
+ contractsToReview: {
159
+ title: string;
160
+ empty: string;
161
+ };
162
+ filters: {
163
+ allChannelsPlaceholder: string;
164
+ };
165
+ };
166
+ channelSync: {
167
+ title: string;
168
+ description: string;
169
+ throttledTitle: string;
170
+ throttledBody: string;
171
+ statusLabels: {
172
+ pending: string;
173
+ ok: string;
174
+ failed: string;
175
+ compensated: string;
176
+ };
177
+ statusTiles: {
178
+ pending: {
179
+ label: string;
180
+ description: string;
181
+ };
182
+ ok: {
183
+ label: string;
184
+ description: string;
185
+ };
186
+ failed: {
187
+ label: string;
188
+ description: string;
189
+ };
190
+ compensated: {
191
+ label: string;
192
+ description: string;
193
+ };
194
+ };
195
+ filters: {
196
+ booking: string;
197
+ bookingPlaceholder: string;
198
+ bookingSearching: string;
199
+ bookingEmpty: string;
200
+ channel: string;
201
+ channelPlaceholder: string;
202
+ channelEmpty: string;
203
+ };
204
+ table: {
205
+ title: string;
206
+ filteredDescription: string;
207
+ defaultDescription: string;
208
+ noMatchesTitle: string;
209
+ noLinksTitle: string;
210
+ noMatchesDescription: string;
211
+ noLinksDescription: string;
212
+ booking: string;
213
+ channel: string;
214
+ status: string;
215
+ attempts: string;
216
+ lastPush: string;
217
+ externalRef: string;
218
+ actions: string;
219
+ itemPrefix: string;
220
+ deliveries: string;
221
+ retry: string;
222
+ };
223
+ reconcile: {
224
+ trigger: string;
225
+ menuLabel: string;
226
+ bookings: string;
227
+ priority: string;
228
+ availability: string;
229
+ content: string;
230
+ lastRun: string;
231
+ };
232
+ refresh: {
233
+ loading: string;
234
+ title: string;
235
+ refreshing: string;
236
+ updatedAgo: string;
237
+ };
238
+ drawer: {
239
+ title: string;
240
+ emptyTitle: string;
241
+ emptyDescription: string;
242
+ attempt: string;
243
+ httpStatus: string;
244
+ };
245
+ };
246
+ tables: {
247
+ channel: {
248
+ channel: string;
249
+ kind: string;
250
+ status: string;
251
+ website: string;
252
+ };
253
+ contract: {
254
+ channel: string;
255
+ supplier: string;
256
+ status: string;
257
+ payment: string;
258
+ start: string;
259
+ };
260
+ commission: {
261
+ contract: string;
262
+ scope: string;
263
+ product: string;
264
+ type: string;
265
+ amount: string;
266
+ };
267
+ mapping: {
268
+ channel: string;
269
+ product: string;
270
+ externalProduct: string;
271
+ status: string;
272
+ };
273
+ bookingLink: {
274
+ channel: string;
275
+ booking: string;
276
+ externalBooking: string;
277
+ externalStatus: string;
278
+ synced: string;
279
+ };
280
+ webhook: {
281
+ channel: string;
282
+ eventType: string;
283
+ status: string;
284
+ received: string;
285
+ processed: string;
286
+ };
287
+ };
288
+ tabs: {
289
+ channels: {
290
+ title: string;
291
+ description: string;
292
+ actionLabel: string;
293
+ empty: string;
294
+ actions: {
295
+ activate: {
296
+ button: string;
297
+ confirm: string;
298
+ title: string;
299
+ description: string;
300
+ };
301
+ archive: {
302
+ button: string;
303
+ confirm: string;
304
+ title: string;
305
+ description: string;
306
+ };
307
+ delete: {
308
+ button: string;
309
+ confirm: string;
310
+ title: string;
311
+ description: string;
312
+ };
313
+ };
314
+ };
315
+ contracts: {
316
+ title: string;
317
+ description: string;
318
+ actionLabel: string;
319
+ empty: string;
320
+ actions: {
321
+ activate: {
322
+ button: string;
323
+ confirm: string;
324
+ title: string;
325
+ description: string;
326
+ };
327
+ expire: {
328
+ button: string;
329
+ confirm: string;
330
+ title: string;
331
+ description: string;
332
+ };
333
+ delete: {
334
+ button: string;
335
+ confirm: string;
336
+ title: string;
337
+ description: string;
338
+ };
339
+ };
340
+ };
341
+ commissions: {
342
+ title: string;
343
+ description: string;
344
+ actionLabel: string;
345
+ empty: string;
346
+ actions: {
347
+ delete: {
348
+ button: string;
349
+ confirm: string;
350
+ title: string;
351
+ description: string;
352
+ };
353
+ };
354
+ };
355
+ mappings: {
356
+ title: string;
357
+ description: string;
358
+ actionLabel: string;
359
+ empty: string;
360
+ actions: {
361
+ activate: {
362
+ button: string;
363
+ confirm: string;
364
+ title: string;
365
+ description: string;
366
+ };
367
+ deactivate: {
368
+ button: string;
369
+ confirm: string;
370
+ title: string;
371
+ description: string;
372
+ };
373
+ delete: {
374
+ button: string;
375
+ confirm: string;
376
+ title: string;
377
+ description: string;
378
+ };
379
+ };
380
+ };
381
+ bookingLinks: {
382
+ title: string;
383
+ description: string;
384
+ actionLabel: string;
385
+ empty: string;
386
+ actions: {
387
+ delete: {
388
+ button: string;
389
+ confirm: string;
390
+ title: string;
391
+ description: string;
392
+ };
393
+ };
394
+ };
395
+ webhooks: {
396
+ title: string;
397
+ description: string;
398
+ actionLabel: string;
399
+ empty: string;
400
+ actions: {
401
+ markProcessed: {
402
+ button: string;
403
+ confirm: string;
404
+ title: string;
405
+ description: string;
406
+ };
407
+ ignore: {
408
+ button: string;
409
+ confirm: string;
410
+ title: string;
411
+ description: string;
412
+ };
413
+ delete: {
414
+ button: string;
415
+ confirm: string;
416
+ title: string;
417
+ description: string;
418
+ };
419
+ };
420
+ };
421
+ };
422
+ settings: {
423
+ channelsPage: {
424
+ title: string;
425
+ description: string;
426
+ addChannel: string;
427
+ empty: string;
428
+ edit: string;
429
+ delete: string;
430
+ deleteConfirm: string;
431
+ deleteDescription: string;
432
+ editSheetTitle: string;
433
+ newSheetTitle: string;
434
+ nameLabel: string;
435
+ namePlaceholder: string;
436
+ kindLabel: string;
437
+ statusLabel: string;
438
+ websiteLabel: string;
439
+ websitePlaceholder: string;
440
+ primaryContactLabel: string;
441
+ primaryContactPlaceholder: string;
442
+ contactEmailLabel: string;
443
+ contactEmailPlaceholder: string;
444
+ saveChanges: string;
445
+ createChannel: string;
446
+ validationNameRequired: string;
447
+ validationInvalidUrl: string;
448
+ validationInvalidEmail: string;
449
+ paginationShowing: string;
450
+ paginationPage: string;
451
+ paginationPrevious: string;
452
+ paginationNext: string;
453
+ };
454
+ };
455
+ details: {
456
+ channel: {
457
+ notFound: string;
458
+ title: string;
459
+ deleteConfirm: string;
460
+ deleteDescription: string;
461
+ deleteButton: string;
462
+ sections: {
463
+ details: string;
464
+ metadata: string;
465
+ contracts: string;
466
+ mappings: string;
467
+ bookingLinks: string;
468
+ webhooks: string;
469
+ };
470
+ labels: {
471
+ website: string;
472
+ contactName: string;
473
+ contactEmail: string;
474
+ supplier: string;
475
+ payment: string;
476
+ cancellation: string;
477
+ externalProduct: string;
478
+ externalBooking: string;
479
+ reference: string;
480
+ lastSynced: string;
481
+ rate: string;
482
+ category: string;
483
+ booking: string;
484
+ };
485
+ empty: {
486
+ metadata: string;
487
+ contracts: string;
488
+ mappings: string;
489
+ bookingLinks: string;
490
+ webhooks: string;
491
+ };
492
+ };
493
+ contract: {
494
+ notFound: string;
495
+ title: string;
496
+ deleteConfirm: string;
497
+ deleteDescription: string;
498
+ deleteButton: string;
499
+ openChannel: string;
500
+ sections: {
501
+ details: string;
502
+ notes: string;
503
+ commissionRules: string;
504
+ };
505
+ labels: {
506
+ supplier: string;
507
+ endsAt: string;
508
+ paymentOwner: string;
509
+ cancellationOwner: string;
510
+ settlementTerms: string;
511
+ notes: string;
512
+ amount: string;
513
+ basisPoints: string;
514
+ rate: string;
515
+ category: string;
516
+ valid: string;
517
+ };
518
+ empty: {
519
+ commissionRules: string;
520
+ };
521
+ };
522
+ commissionRule: {
523
+ notFound: string;
524
+ title: string;
525
+ deleteConfirm: string;
526
+ deleteDescription: string;
527
+ deleteButton: string;
528
+ openContract: string;
529
+ openProduct: string;
530
+ sections: {
531
+ details: string;
532
+ };
533
+ labels: {
534
+ amount: string;
535
+ basisPoints: string;
536
+ externalRate: string;
537
+ externalCategory: string;
538
+ valid: string;
539
+ };
540
+ };
541
+ bookingLink: {
542
+ notFound: string;
543
+ title: string;
544
+ deleteConfirm: string;
545
+ deleteDescription: string;
546
+ deleteButton: string;
547
+ openChannel: string;
548
+ openBooking: string;
549
+ sections: {
550
+ details: string;
551
+ };
552
+ labels: {
553
+ externalBooking: string;
554
+ reference: string;
555
+ bookedAtExternal: string;
556
+ lastSynced: string;
557
+ };
558
+ };
559
+ webhookEvent: {
560
+ notFound: string;
561
+ title: string;
562
+ deleteConfirm: string;
563
+ deleteDescription: string;
564
+ deleteButton: string;
565
+ openChannel: string;
566
+ sections: {
567
+ details: string;
568
+ payload: string;
569
+ };
570
+ labels: {
571
+ externalEvent: string;
572
+ received: string;
573
+ processed: string;
574
+ error: string;
575
+ };
576
+ };
577
+ mapping: {
578
+ notFound: string;
579
+ title: string;
580
+ deleteConfirm: string;
581
+ deleteDescription: string;
582
+ deleteButton: string;
583
+ openChannel: string;
584
+ openProduct: string;
585
+ sections: {
586
+ details: string;
587
+ };
588
+ labels: {
589
+ externalProduct: string;
590
+ externalRate: string;
591
+ externalCategory: string;
592
+ };
593
+ };
594
+ };
595
+ };
596
+ ro: {
597
+ common: {
598
+ open: string;
599
+ view: string;
600
+ cancel: string;
601
+ create: string;
602
+ save: string;
603
+ delete: string;
604
+ clearFilters: string;
605
+ clearSelection: string;
606
+ backToDistribution: string;
607
+ loading: string;
608
+ none: string;
609
+ openEnded: string;
610
+ noReference: string;
611
+ unmappedStatus: string;
612
+ yes: string;
613
+ searchPlaceholder: string;
614
+ allChannels: string;
615
+ received: string;
616
+ supplier: string;
617
+ channelLabel: string;
618
+ contractLabel: string;
619
+ productLabel: string;
620
+ bookingLabel: string;
621
+ supplierLabel: string;
622
+ createdLabel: string;
623
+ updatedLabel: string;
624
+ emptyValue: string;
625
+ dateTimeFallback: string;
626
+ active: string;
627
+ inactive: string;
628
+ selectionSummary: string;
629
+ resultSummary: string;
630
+ deleteSummary: string;
631
+ entities: {
632
+ channel: {
633
+ one: string;
634
+ other: string;
635
+ };
636
+ contract: {
637
+ one: string;
638
+ other: string;
639
+ };
640
+ commissionRule: {
641
+ one: string;
642
+ other: string;
643
+ };
644
+ mapping: {
645
+ one: string;
646
+ other: string;
647
+ };
648
+ bookingLink: {
649
+ one: string;
650
+ other: string;
651
+ };
652
+ webhookEvent: {
653
+ one: string;
654
+ other: string;
655
+ };
656
+ };
657
+ cancellationOwnerLabels: {
658
+ operator: string;
659
+ channel: string;
660
+ mixed: string;
661
+ };
662
+ channelKindLabels: {
663
+ direct: string;
664
+ affiliate: string;
665
+ ota: string;
666
+ reseller: string;
667
+ marketplace: string;
668
+ api_partner: string;
669
+ connect: string;
670
+ };
671
+ channelStatusLabels: {
672
+ active: string;
673
+ inactive: string;
674
+ pending: string;
675
+ archived: string;
676
+ };
677
+ contractStatusLabels: {
678
+ draft: string;
679
+ active: string;
680
+ expired: string;
681
+ terminated: string;
682
+ };
683
+ paymentOwnerLabels: {
684
+ operator: string;
685
+ channel: string;
686
+ split: string;
687
+ };
688
+ commissionScopeLabels: {
689
+ booking: string;
690
+ product: string;
691
+ rate: string;
692
+ category: string;
693
+ };
694
+ commissionTypeLabels: {
695
+ fixed: string;
696
+ percentage: string;
697
+ };
698
+ webhookStatusLabels: {
699
+ pending: string;
700
+ processed: string;
701
+ failed: string;
702
+ ignored: string;
703
+ };
704
+ };
705
+ page: {
706
+ title: string;
707
+ description: string;
708
+ tabs: {
709
+ channels: string;
710
+ contracts: string;
711
+ commissions: string;
712
+ mappings: string;
713
+ bookingLinks: string;
714
+ webhooks: string;
715
+ };
716
+ bulkVerbs: {
717
+ activated: string;
718
+ archived: string;
719
+ deleted: string;
720
+ expired: string;
721
+ deactivated: string;
722
+ processed: string;
723
+ ignored: string;
724
+ };
725
+ };
726
+ overview: {
727
+ metrics: {
728
+ activeChannels: {
729
+ title: string;
730
+ description: string;
731
+ };
732
+ activeContracts: {
733
+ title: string;
734
+ description: string;
735
+ };
736
+ activeMappings: {
737
+ title: string;
738
+ description: string;
739
+ };
740
+ syncQueue: {
741
+ title: string;
742
+ description: string;
743
+ };
744
+ };
745
+ webhookQueue: {
746
+ title: string;
747
+ empty: string;
748
+ };
749
+ contractsToReview: {
750
+ title: string;
751
+ empty: string;
752
+ };
753
+ filters: {
754
+ allChannelsPlaceholder: string;
755
+ };
756
+ };
757
+ channelSync: {
758
+ title: string;
759
+ description: string;
760
+ throttledTitle: string;
761
+ throttledBody: string;
762
+ statusLabels: {
763
+ pending: string;
764
+ ok: string;
765
+ failed: string;
766
+ compensated: string;
767
+ };
768
+ statusTiles: {
769
+ pending: {
770
+ label: string;
771
+ description: string;
772
+ };
773
+ ok: {
774
+ label: string;
775
+ description: string;
776
+ };
777
+ failed: {
778
+ label: string;
779
+ description: string;
780
+ };
781
+ compensated: {
782
+ label: string;
783
+ description: string;
784
+ };
785
+ };
786
+ filters: {
787
+ booking: string;
788
+ bookingPlaceholder: string;
789
+ bookingSearching: string;
790
+ bookingEmpty: string;
791
+ channel: string;
792
+ channelPlaceholder: string;
793
+ channelEmpty: string;
794
+ };
795
+ table: {
796
+ title: string;
797
+ filteredDescription: string;
798
+ defaultDescription: string;
799
+ noMatchesTitle: string;
800
+ noLinksTitle: string;
801
+ noMatchesDescription: string;
802
+ noLinksDescription: string;
803
+ booking: string;
804
+ channel: string;
805
+ status: string;
806
+ attempts: string;
807
+ lastPush: string;
808
+ externalRef: string;
809
+ actions: string;
810
+ itemPrefix: string;
811
+ deliveries: string;
812
+ retry: string;
813
+ };
814
+ reconcile: {
815
+ trigger: string;
816
+ menuLabel: string;
817
+ bookings: string;
818
+ priority: string;
819
+ availability: string;
820
+ content: string;
821
+ lastRun: string;
822
+ };
823
+ refresh: {
824
+ loading: string;
825
+ title: string;
826
+ refreshing: string;
827
+ updatedAgo: string;
828
+ };
829
+ drawer: {
830
+ title: string;
831
+ emptyTitle: string;
832
+ emptyDescription: string;
833
+ attempt: string;
834
+ httpStatus: string;
835
+ };
836
+ };
837
+ tables: {
838
+ channel: {
839
+ channel: string;
840
+ kind: string;
841
+ status: string;
842
+ website: string;
843
+ };
844
+ contract: {
845
+ channel: string;
846
+ supplier: string;
847
+ status: string;
848
+ payment: string;
849
+ start: string;
850
+ };
851
+ commission: {
852
+ contract: string;
853
+ scope: string;
854
+ product: string;
855
+ type: string;
856
+ amount: string;
857
+ };
858
+ mapping: {
859
+ channel: string;
860
+ product: string;
861
+ externalProduct: string;
862
+ status: string;
863
+ };
864
+ bookingLink: {
865
+ channel: string;
866
+ booking: string;
867
+ externalBooking: string;
868
+ externalStatus: string;
869
+ synced: string;
870
+ };
871
+ webhook: {
872
+ channel: string;
873
+ eventType: string;
874
+ status: string;
875
+ received: string;
876
+ processed: string;
877
+ };
878
+ };
879
+ tabs: {
880
+ channels: {
881
+ title: string;
882
+ description: string;
883
+ actionLabel: string;
884
+ empty: string;
885
+ actions: {
886
+ activate: {
887
+ button: string;
888
+ confirm: string;
889
+ title: string;
890
+ description: string;
891
+ };
892
+ archive: {
893
+ button: string;
894
+ confirm: string;
895
+ title: string;
896
+ description: string;
897
+ };
898
+ delete: {
899
+ button: string;
900
+ confirm: string;
901
+ title: string;
902
+ description: string;
903
+ };
904
+ };
905
+ };
906
+ contracts: {
907
+ title: string;
908
+ description: string;
909
+ actionLabel: string;
910
+ empty: string;
911
+ actions: {
912
+ activate: {
913
+ button: string;
914
+ confirm: string;
915
+ title: string;
916
+ description: string;
917
+ };
918
+ expire: {
919
+ button: string;
920
+ confirm: string;
921
+ title: string;
922
+ description: string;
923
+ };
924
+ delete: {
925
+ button: string;
926
+ confirm: string;
927
+ title: string;
928
+ description: string;
929
+ };
930
+ };
931
+ };
932
+ commissions: {
933
+ title: string;
934
+ description: string;
935
+ actionLabel: string;
936
+ empty: string;
937
+ actions: {
938
+ delete: {
939
+ button: string;
940
+ confirm: string;
941
+ title: string;
942
+ description: string;
943
+ };
944
+ };
945
+ };
946
+ mappings: {
947
+ title: string;
948
+ description: string;
949
+ actionLabel: string;
950
+ empty: string;
951
+ actions: {
952
+ activate: {
953
+ button: string;
954
+ confirm: string;
955
+ title: string;
956
+ description: string;
957
+ };
958
+ deactivate: {
959
+ button: string;
960
+ confirm: string;
961
+ title: string;
962
+ description: string;
963
+ };
964
+ delete: {
965
+ button: string;
966
+ confirm: string;
967
+ title: string;
968
+ description: string;
969
+ };
970
+ };
971
+ };
972
+ bookingLinks: {
973
+ title: string;
974
+ description: string;
975
+ actionLabel: string;
976
+ empty: string;
977
+ actions: {
978
+ delete: {
979
+ button: string;
980
+ confirm: string;
981
+ title: string;
982
+ description: string;
983
+ };
984
+ };
985
+ };
986
+ webhooks: {
987
+ title: string;
988
+ description: string;
989
+ actionLabel: string;
990
+ empty: string;
991
+ actions: {
992
+ markProcessed: {
993
+ button: string;
994
+ confirm: string;
995
+ title: string;
996
+ description: string;
997
+ };
998
+ ignore: {
999
+ button: string;
1000
+ confirm: string;
1001
+ title: string;
1002
+ description: string;
1003
+ };
1004
+ delete: {
1005
+ button: string;
1006
+ confirm: string;
1007
+ title: string;
1008
+ description: string;
1009
+ };
1010
+ };
1011
+ };
1012
+ };
1013
+ settings: {
1014
+ channelsPage: {
1015
+ title: string;
1016
+ description: string;
1017
+ addChannel: string;
1018
+ empty: string;
1019
+ edit: string;
1020
+ delete: string;
1021
+ deleteConfirm: string;
1022
+ deleteDescription: string;
1023
+ editSheetTitle: string;
1024
+ newSheetTitle: string;
1025
+ nameLabel: string;
1026
+ namePlaceholder: string;
1027
+ kindLabel: string;
1028
+ statusLabel: string;
1029
+ websiteLabel: string;
1030
+ websitePlaceholder: string;
1031
+ primaryContactLabel: string;
1032
+ primaryContactPlaceholder: string;
1033
+ contactEmailLabel: string;
1034
+ contactEmailPlaceholder: string;
1035
+ saveChanges: string;
1036
+ createChannel: string;
1037
+ validationNameRequired: string;
1038
+ validationInvalidUrl: string;
1039
+ validationInvalidEmail: string;
1040
+ paginationShowing: string;
1041
+ paginationPage: string;
1042
+ paginationPrevious: string;
1043
+ paginationNext: string;
1044
+ };
1045
+ };
1046
+ details: {
1047
+ channel: {
1048
+ notFound: string;
1049
+ title: string;
1050
+ deleteConfirm: string;
1051
+ deleteDescription: string;
1052
+ deleteButton: string;
1053
+ sections: {
1054
+ details: string;
1055
+ metadata: string;
1056
+ contracts: string;
1057
+ mappings: string;
1058
+ bookingLinks: string;
1059
+ webhooks: string;
1060
+ };
1061
+ labels: {
1062
+ website: string;
1063
+ contactName: string;
1064
+ contactEmail: string;
1065
+ supplier: string;
1066
+ payment: string;
1067
+ cancellation: string;
1068
+ externalProduct: string;
1069
+ externalBooking: string;
1070
+ reference: string;
1071
+ lastSynced: string;
1072
+ rate: string;
1073
+ category: string;
1074
+ booking: string;
1075
+ };
1076
+ empty: {
1077
+ metadata: string;
1078
+ contracts: string;
1079
+ mappings: string;
1080
+ bookingLinks: string;
1081
+ webhooks: string;
1082
+ };
1083
+ };
1084
+ contract: {
1085
+ notFound: string;
1086
+ title: string;
1087
+ deleteConfirm: string;
1088
+ deleteDescription: string;
1089
+ deleteButton: string;
1090
+ openChannel: string;
1091
+ sections: {
1092
+ details: string;
1093
+ notes: string;
1094
+ commissionRules: string;
1095
+ };
1096
+ labels: {
1097
+ supplier: string;
1098
+ endsAt: string;
1099
+ paymentOwner: string;
1100
+ cancellationOwner: string;
1101
+ settlementTerms: string;
1102
+ notes: string;
1103
+ amount: string;
1104
+ basisPoints: string;
1105
+ rate: string;
1106
+ category: string;
1107
+ valid: string;
1108
+ };
1109
+ empty: {
1110
+ commissionRules: string;
1111
+ };
1112
+ };
1113
+ commissionRule: {
1114
+ notFound: string;
1115
+ title: string;
1116
+ deleteConfirm: string;
1117
+ deleteDescription: string;
1118
+ deleteButton: string;
1119
+ openContract: string;
1120
+ openProduct: string;
1121
+ sections: {
1122
+ details: string;
1123
+ };
1124
+ labels: {
1125
+ amount: string;
1126
+ basisPoints: string;
1127
+ externalRate: string;
1128
+ externalCategory: string;
1129
+ valid: string;
1130
+ };
1131
+ };
1132
+ bookingLink: {
1133
+ notFound: string;
1134
+ title: string;
1135
+ deleteConfirm: string;
1136
+ deleteDescription: string;
1137
+ deleteButton: string;
1138
+ openChannel: string;
1139
+ openBooking: string;
1140
+ sections: {
1141
+ details: string;
1142
+ };
1143
+ labels: {
1144
+ externalBooking: string;
1145
+ reference: string;
1146
+ bookedAtExternal: string;
1147
+ lastSynced: string;
1148
+ };
1149
+ };
1150
+ webhookEvent: {
1151
+ notFound: string;
1152
+ title: string;
1153
+ deleteConfirm: string;
1154
+ deleteDescription: string;
1155
+ deleteButton: string;
1156
+ openChannel: string;
1157
+ sections: {
1158
+ details: string;
1159
+ payload: string;
1160
+ };
1161
+ labels: {
1162
+ externalEvent: string;
1163
+ received: string;
1164
+ processed: string;
1165
+ error: string;
1166
+ };
1167
+ };
1168
+ mapping: {
1169
+ notFound: string;
1170
+ title: string;
1171
+ deleteConfirm: string;
1172
+ deleteDescription: string;
1173
+ deleteButton: string;
1174
+ openChannel: string;
1175
+ openProduct: string;
1176
+ sections: {
1177
+ details: string;
1178
+ };
1179
+ labels: {
1180
+ externalProduct: string;
1181
+ externalRate: string;
1182
+ externalCategory: string;
1183
+ };
1184
+ };
1185
+ };
1186
+ };
1187
+ };
1188
+ export type DistributionUiMessageOverrides = LocaleMessageOverrides<DistributionUiMessages>;
1189
+ export type DistributionUiI18n = PackageI18nValue<DistributionUiMessages>;
1190
+ export declare function resolveDistributionUiMessages({ locale, overrides, }: {
1191
+ locale: string | null | undefined;
1192
+ overrides?: DistributionUiMessageOverrides | null;
1193
+ }): DistributionUiMessages;
1194
+ export declare function getDistributionUiI18n({ locale, overrides, }: {
1195
+ locale?: string | null | undefined;
1196
+ overrides?: DistributionUiMessageOverrides | null;
1197
+ }): DistributionUiI18n;
1198
+ export declare function DistributionUiMessagesProvider({ children, locale, overrides, }: {
1199
+ children: ReactNode;
1200
+ locale: string | null | undefined;
1201
+ overrides?: DistributionUiMessageOverrides | null;
1202
+ }): import("react/jsx-runtime").JSX.Element;
1203
+ export declare const useDistributionUiI18n: () => PackageI18nValue<DistributionUiMessages>;
1204
+ export declare const useDistributionUiMessages: () => DistributionUiMessages;
1205
+ export declare function useDistributionUiI18nOrDefault(): DistributionUiI18n;
1206
+ export declare function useDistributionUiMessagesOrDefault(): DistributionUiMessages;
1207
+ //# sourceMappingURL=provider.d.ts.map