@voyantjs/distribution-ui 0.30.7 → 0.31.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 (53) hide show
  1. package/README.md +9 -1
  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 +242 -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-page.d.ts +26 -0
  21. package/dist/components/distribution-page.d.ts.map +1 -0
  22. package/dist/components/distribution-page.js +190 -0
  23. package/dist/components/distribution-tabs-primary.d.ts +57 -0
  24. package/dist/components/distribution-tabs-primary.d.ts.map +1 -0
  25. package/dist/components/distribution-tabs-primary.js +89 -0
  26. package/dist/components/distribution-tabs-secondary.d.ts +58 -0
  27. package/dist/components/distribution-tabs-secondary.d.ts.map +1 -0
  28. package/dist/components/distribution-tabs-secondary.js +89 -0
  29. package/dist/components/mapping-detail-page.d.ts +10 -0
  30. package/dist/components/mapping-detail-page.d.ts.map +1 -0
  31. package/dist/components/mapping-detail-page.js +51 -0
  32. package/dist/components/webhook-event-detail-page.d.ts +9 -0
  33. package/dist/components/webhook-event-detail-page.d.ts.map +1 -0
  34. package/dist/components/webhook-event-detail-page.js +46 -0
  35. package/dist/i18n/en.d.ts +381 -0
  36. package/dist/i18n/en.d.ts.map +1 -1
  37. package/dist/i18n/en.js +363 -0
  38. package/dist/i18n/index.d.ts +1 -1
  39. package/dist/i18n/index.d.ts.map +1 -1
  40. package/dist/i18n/messages.d.ts +244 -0
  41. package/dist/i18n/messages.d.ts.map +1 -1
  42. package/dist/i18n/provider.d.ts +762 -0
  43. package/dist/i18n/provider.d.ts.map +1 -1
  44. package/dist/i18n/ro.d.ts +381 -0
  45. package/dist/i18n/ro.d.ts.map +1 -1
  46. package/dist/i18n/ro.js +363 -0
  47. package/dist/i18n/utils.d.ts +4 -0
  48. package/dist/i18n/utils.d.ts.map +1 -0
  49. package/dist/i18n/utils.js +8 -0
  50. package/dist/index.d.ts +12 -1
  51. package/dist/index.d.ts.map +1 -1
  52. package/dist/index.js +11 -0
  53. package/package.json +7 -7
@@ -6,15 +6,68 @@ export declare const distributionUiMessageDefinitions: {
6
6
  common: {
7
7
  open: string;
8
8
  view: string;
9
+ cancel: string;
10
+ create: string;
11
+ save: string;
12
+ delete: string;
9
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;
10
22
  searchPlaceholder: string;
11
23
  allChannels: string;
12
24
  received: string;
13
25
  supplier: string;
26
+ channelLabel: string;
27
+ contractLabel: string;
28
+ productLabel: string;
29
+ bookingLabel: string;
30
+ supplierLabel: string;
31
+ createdLabel: string;
32
+ updatedLabel: string;
14
33
  emptyValue: string;
15
34
  dateTimeFallback: string;
16
35
  active: string;
17
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
+ };
18
71
  channelKindLabels: {
19
72
  direct: string;
20
73
  affiliate: string;
@@ -58,6 +111,27 @@ export declare const distributionUiMessageDefinitions: {
58
111
  ignored: string;
59
112
  };
60
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
+ };
61
135
  overview: {
62
136
  metrics: {
63
137
  activeChannels: {
@@ -131,20 +205,380 @@ export declare const distributionUiMessageDefinitions: {
131
205
  processed: string;
132
206
  };
133
207
  };
208
+ tabs: {
209
+ channels: {
210
+ title: string;
211
+ description: string;
212
+ actionLabel: string;
213
+ empty: string;
214
+ actions: {
215
+ activate: {
216
+ button: string;
217
+ confirm: string;
218
+ title: string;
219
+ description: string;
220
+ };
221
+ archive: {
222
+ button: string;
223
+ confirm: string;
224
+ title: string;
225
+ description: string;
226
+ };
227
+ delete: {
228
+ button: string;
229
+ confirm: string;
230
+ title: string;
231
+ description: string;
232
+ };
233
+ };
234
+ };
235
+ contracts: {
236
+ title: string;
237
+ description: string;
238
+ actionLabel: string;
239
+ empty: string;
240
+ actions: {
241
+ activate: {
242
+ button: string;
243
+ confirm: string;
244
+ title: string;
245
+ description: string;
246
+ };
247
+ expire: {
248
+ button: string;
249
+ confirm: string;
250
+ title: string;
251
+ description: string;
252
+ };
253
+ delete: {
254
+ button: string;
255
+ confirm: string;
256
+ title: string;
257
+ description: string;
258
+ };
259
+ };
260
+ };
261
+ commissions: {
262
+ title: string;
263
+ description: string;
264
+ actionLabel: string;
265
+ empty: string;
266
+ actions: {
267
+ delete: {
268
+ button: string;
269
+ confirm: string;
270
+ title: string;
271
+ description: string;
272
+ };
273
+ };
274
+ };
275
+ mappings: {
276
+ title: string;
277
+ description: string;
278
+ actionLabel: string;
279
+ empty: string;
280
+ actions: {
281
+ activate: {
282
+ button: string;
283
+ confirm: string;
284
+ title: string;
285
+ description: string;
286
+ };
287
+ deactivate: {
288
+ button: string;
289
+ confirm: string;
290
+ title: string;
291
+ description: string;
292
+ };
293
+ delete: {
294
+ button: string;
295
+ confirm: string;
296
+ title: string;
297
+ description: string;
298
+ };
299
+ };
300
+ };
301
+ bookingLinks: {
302
+ title: string;
303
+ description: string;
304
+ actionLabel: string;
305
+ empty: string;
306
+ actions: {
307
+ delete: {
308
+ button: string;
309
+ confirm: string;
310
+ title: string;
311
+ description: string;
312
+ };
313
+ };
314
+ };
315
+ webhooks: {
316
+ title: string;
317
+ description: string;
318
+ actionLabel: string;
319
+ empty: string;
320
+ actions: {
321
+ markProcessed: {
322
+ button: string;
323
+ confirm: string;
324
+ title: string;
325
+ description: string;
326
+ };
327
+ ignore: {
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
+ };
342
+ settings: {
343
+ channelsPage: {
344
+ title: string;
345
+ description: string;
346
+ addChannel: string;
347
+ empty: string;
348
+ edit: string;
349
+ delete: string;
350
+ deleteConfirm: string;
351
+ deleteDescription: string;
352
+ editSheetTitle: string;
353
+ newSheetTitle: string;
354
+ nameLabel: string;
355
+ namePlaceholder: string;
356
+ kindLabel: string;
357
+ statusLabel: string;
358
+ websiteLabel: string;
359
+ websitePlaceholder: string;
360
+ primaryContactLabel: string;
361
+ primaryContactPlaceholder: string;
362
+ contactEmailLabel: string;
363
+ contactEmailPlaceholder: string;
364
+ saveChanges: string;
365
+ createChannel: string;
366
+ validationNameRequired: string;
367
+ validationInvalidUrl: string;
368
+ validationInvalidEmail: string;
369
+ paginationShowing: string;
370
+ paginationPage: string;
371
+ paginationPrevious: string;
372
+ paginationNext: string;
373
+ };
374
+ };
375
+ details: {
376
+ channel: {
377
+ notFound: string;
378
+ title: string;
379
+ deleteConfirm: string;
380
+ deleteDescription: string;
381
+ deleteButton: string;
382
+ sections: {
383
+ details: string;
384
+ metadata: string;
385
+ contracts: string;
386
+ mappings: string;
387
+ bookingLinks: string;
388
+ webhooks: string;
389
+ };
390
+ labels: {
391
+ website: string;
392
+ contactName: string;
393
+ contactEmail: string;
394
+ supplier: string;
395
+ payment: string;
396
+ cancellation: string;
397
+ externalProduct: string;
398
+ externalBooking: string;
399
+ reference: string;
400
+ lastSynced: string;
401
+ rate: string;
402
+ category: string;
403
+ booking: string;
404
+ };
405
+ empty: {
406
+ metadata: string;
407
+ contracts: string;
408
+ mappings: string;
409
+ bookingLinks: string;
410
+ webhooks: string;
411
+ };
412
+ };
413
+ contract: {
414
+ notFound: string;
415
+ title: string;
416
+ deleteConfirm: string;
417
+ deleteDescription: string;
418
+ deleteButton: string;
419
+ openChannel: string;
420
+ sections: {
421
+ details: string;
422
+ notes: string;
423
+ commissionRules: string;
424
+ };
425
+ labels: {
426
+ supplier: string;
427
+ endsAt: string;
428
+ paymentOwner: string;
429
+ cancellationOwner: string;
430
+ settlementTerms: string;
431
+ notes: string;
432
+ amount: string;
433
+ basisPoints: string;
434
+ rate: string;
435
+ category: string;
436
+ valid: string;
437
+ };
438
+ empty: {
439
+ commissionRules: string;
440
+ };
441
+ };
442
+ commissionRule: {
443
+ notFound: string;
444
+ title: string;
445
+ deleteConfirm: string;
446
+ deleteDescription: string;
447
+ deleteButton: string;
448
+ openContract: string;
449
+ openProduct: string;
450
+ sections: {
451
+ details: string;
452
+ };
453
+ labels: {
454
+ amount: string;
455
+ basisPoints: string;
456
+ externalRate: string;
457
+ externalCategory: string;
458
+ valid: string;
459
+ };
460
+ };
461
+ bookingLink: {
462
+ notFound: string;
463
+ title: string;
464
+ deleteConfirm: string;
465
+ deleteDescription: string;
466
+ deleteButton: string;
467
+ openChannel: string;
468
+ openBooking: string;
469
+ sections: {
470
+ details: string;
471
+ };
472
+ labels: {
473
+ externalBooking: string;
474
+ reference: string;
475
+ bookedAtExternal: string;
476
+ lastSynced: string;
477
+ };
478
+ };
479
+ webhookEvent: {
480
+ notFound: string;
481
+ title: string;
482
+ deleteConfirm: string;
483
+ deleteDescription: string;
484
+ deleteButton: string;
485
+ openChannel: string;
486
+ sections: {
487
+ details: string;
488
+ payload: string;
489
+ };
490
+ labels: {
491
+ externalEvent: string;
492
+ received: string;
493
+ processed: string;
494
+ error: string;
495
+ };
496
+ };
497
+ mapping: {
498
+ notFound: string;
499
+ title: string;
500
+ deleteConfirm: string;
501
+ deleteDescription: string;
502
+ deleteButton: string;
503
+ openChannel: string;
504
+ openProduct: string;
505
+ sections: {
506
+ details: string;
507
+ };
508
+ labels: {
509
+ externalProduct: string;
510
+ externalRate: string;
511
+ externalCategory: string;
512
+ };
513
+ };
514
+ };
134
515
  };
135
516
  ro: {
136
517
  common: {
137
518
  open: string;
138
519
  view: string;
520
+ cancel: string;
521
+ create: string;
522
+ save: string;
523
+ delete: string;
139
524
  clearFilters: string;
525
+ clearSelection: string;
526
+ backToDistribution: string;
527
+ loading: string;
528
+ none: string;
529
+ openEnded: string;
530
+ noReference: string;
531
+ unmappedStatus: string;
532
+ yes: string;
140
533
  searchPlaceholder: string;
141
534
  allChannels: string;
142
535
  received: string;
143
536
  supplier: string;
537
+ channelLabel: string;
538
+ contractLabel: string;
539
+ productLabel: string;
540
+ bookingLabel: string;
541
+ supplierLabel: string;
542
+ createdLabel: string;
543
+ updatedLabel: string;
144
544
  emptyValue: string;
145
545
  dateTimeFallback: string;
146
546
  active: string;
147
547
  inactive: string;
548
+ selectionSummary: string;
549
+ resultSummary: string;
550
+ deleteSummary: string;
551
+ entities: {
552
+ channel: {
553
+ one: string;
554
+ other: string;
555
+ };
556
+ contract: {
557
+ one: string;
558
+ other: string;
559
+ };
560
+ commissionRule: {
561
+ one: string;
562
+ other: string;
563
+ };
564
+ mapping: {
565
+ one: string;
566
+ other: string;
567
+ };
568
+ bookingLink: {
569
+ one: string;
570
+ other: string;
571
+ };
572
+ webhookEvent: {
573
+ one: string;
574
+ other: string;
575
+ };
576
+ };
577
+ cancellationOwnerLabels: {
578
+ operator: string;
579
+ channel: string;
580
+ mixed: string;
581
+ };
148
582
  channelKindLabels: {
149
583
  direct: string;
150
584
  affiliate: string;
@@ -188,6 +622,27 @@ export declare const distributionUiMessageDefinitions: {
188
622
  ignored: string;
189
623
  };
190
624
  };
625
+ page: {
626
+ title: string;
627
+ description: string;
628
+ tabs: {
629
+ channels: string;
630
+ contracts: string;
631
+ commissions: string;
632
+ mappings: string;
633
+ bookingLinks: string;
634
+ webhooks: string;
635
+ };
636
+ bulkVerbs: {
637
+ activated: string;
638
+ archived: string;
639
+ deleted: string;
640
+ expired: string;
641
+ deactivated: string;
642
+ processed: string;
643
+ ignored: string;
644
+ };
645
+ };
191
646
  overview: {
192
647
  metrics: {
193
648
  activeChannels: {
@@ -261,6 +716,313 @@ export declare const distributionUiMessageDefinitions: {
261
716
  processed: string;
262
717
  };
263
718
  };
719
+ tabs: {
720
+ channels: {
721
+ title: string;
722
+ description: string;
723
+ actionLabel: string;
724
+ empty: string;
725
+ actions: {
726
+ activate: {
727
+ button: string;
728
+ confirm: string;
729
+ title: string;
730
+ description: string;
731
+ };
732
+ archive: {
733
+ button: string;
734
+ confirm: string;
735
+ title: string;
736
+ description: string;
737
+ };
738
+ delete: {
739
+ button: string;
740
+ confirm: string;
741
+ title: string;
742
+ description: string;
743
+ };
744
+ };
745
+ };
746
+ contracts: {
747
+ title: string;
748
+ description: string;
749
+ actionLabel: string;
750
+ empty: string;
751
+ actions: {
752
+ activate: {
753
+ button: string;
754
+ confirm: string;
755
+ title: string;
756
+ description: string;
757
+ };
758
+ expire: {
759
+ button: string;
760
+ confirm: string;
761
+ title: string;
762
+ description: string;
763
+ };
764
+ delete: {
765
+ button: string;
766
+ confirm: string;
767
+ title: string;
768
+ description: string;
769
+ };
770
+ };
771
+ };
772
+ commissions: {
773
+ title: string;
774
+ description: string;
775
+ actionLabel: string;
776
+ empty: string;
777
+ actions: {
778
+ delete: {
779
+ button: string;
780
+ confirm: string;
781
+ title: string;
782
+ description: string;
783
+ };
784
+ };
785
+ };
786
+ mappings: {
787
+ title: string;
788
+ description: string;
789
+ actionLabel: string;
790
+ empty: string;
791
+ actions: {
792
+ activate: {
793
+ button: string;
794
+ confirm: string;
795
+ title: string;
796
+ description: string;
797
+ };
798
+ deactivate: {
799
+ button: string;
800
+ confirm: string;
801
+ title: string;
802
+ description: string;
803
+ };
804
+ delete: {
805
+ button: string;
806
+ confirm: string;
807
+ title: string;
808
+ description: string;
809
+ };
810
+ };
811
+ };
812
+ bookingLinks: {
813
+ title: string;
814
+ description: string;
815
+ actionLabel: string;
816
+ empty: string;
817
+ actions: {
818
+ delete: {
819
+ button: string;
820
+ confirm: string;
821
+ title: string;
822
+ description: string;
823
+ };
824
+ };
825
+ };
826
+ webhooks: {
827
+ title: string;
828
+ description: string;
829
+ actionLabel: string;
830
+ empty: string;
831
+ actions: {
832
+ markProcessed: {
833
+ button: string;
834
+ confirm: string;
835
+ title: string;
836
+ description: string;
837
+ };
838
+ ignore: {
839
+ button: string;
840
+ confirm: string;
841
+ title: string;
842
+ description: string;
843
+ };
844
+ delete: {
845
+ button: string;
846
+ confirm: string;
847
+ title: string;
848
+ description: string;
849
+ };
850
+ };
851
+ };
852
+ };
853
+ settings: {
854
+ channelsPage: {
855
+ title: string;
856
+ description: string;
857
+ addChannel: string;
858
+ empty: string;
859
+ edit: string;
860
+ delete: string;
861
+ deleteConfirm: string;
862
+ deleteDescription: string;
863
+ editSheetTitle: string;
864
+ newSheetTitle: string;
865
+ nameLabel: string;
866
+ namePlaceholder: string;
867
+ kindLabel: string;
868
+ statusLabel: string;
869
+ websiteLabel: string;
870
+ websitePlaceholder: string;
871
+ primaryContactLabel: string;
872
+ primaryContactPlaceholder: string;
873
+ contactEmailLabel: string;
874
+ contactEmailPlaceholder: string;
875
+ saveChanges: string;
876
+ createChannel: string;
877
+ validationNameRequired: string;
878
+ validationInvalidUrl: string;
879
+ validationInvalidEmail: string;
880
+ paginationShowing: string;
881
+ paginationPage: string;
882
+ paginationPrevious: string;
883
+ paginationNext: string;
884
+ };
885
+ };
886
+ details: {
887
+ channel: {
888
+ notFound: string;
889
+ title: string;
890
+ deleteConfirm: string;
891
+ deleteDescription: string;
892
+ deleteButton: string;
893
+ sections: {
894
+ details: string;
895
+ metadata: string;
896
+ contracts: string;
897
+ mappings: string;
898
+ bookingLinks: string;
899
+ webhooks: string;
900
+ };
901
+ labels: {
902
+ website: string;
903
+ contactName: string;
904
+ contactEmail: string;
905
+ supplier: string;
906
+ payment: string;
907
+ cancellation: string;
908
+ externalProduct: string;
909
+ externalBooking: string;
910
+ reference: string;
911
+ lastSynced: string;
912
+ rate: string;
913
+ category: string;
914
+ booking: string;
915
+ };
916
+ empty: {
917
+ metadata: string;
918
+ contracts: string;
919
+ mappings: string;
920
+ bookingLinks: string;
921
+ webhooks: string;
922
+ };
923
+ };
924
+ contract: {
925
+ notFound: string;
926
+ title: string;
927
+ deleteConfirm: string;
928
+ deleteDescription: string;
929
+ deleteButton: string;
930
+ openChannel: string;
931
+ sections: {
932
+ details: string;
933
+ notes: string;
934
+ commissionRules: string;
935
+ };
936
+ labels: {
937
+ supplier: string;
938
+ endsAt: string;
939
+ paymentOwner: string;
940
+ cancellationOwner: string;
941
+ settlementTerms: string;
942
+ notes: string;
943
+ amount: string;
944
+ basisPoints: string;
945
+ rate: string;
946
+ category: string;
947
+ valid: string;
948
+ };
949
+ empty: {
950
+ commissionRules: string;
951
+ };
952
+ };
953
+ commissionRule: {
954
+ notFound: string;
955
+ title: string;
956
+ deleteConfirm: string;
957
+ deleteDescription: string;
958
+ deleteButton: string;
959
+ openContract: string;
960
+ openProduct: string;
961
+ sections: {
962
+ details: string;
963
+ };
964
+ labels: {
965
+ amount: string;
966
+ basisPoints: string;
967
+ externalRate: string;
968
+ externalCategory: string;
969
+ valid: string;
970
+ };
971
+ };
972
+ bookingLink: {
973
+ notFound: string;
974
+ title: string;
975
+ deleteConfirm: string;
976
+ deleteDescription: string;
977
+ deleteButton: string;
978
+ openChannel: string;
979
+ openBooking: string;
980
+ sections: {
981
+ details: string;
982
+ };
983
+ labels: {
984
+ externalBooking: string;
985
+ reference: string;
986
+ bookedAtExternal: string;
987
+ lastSynced: string;
988
+ };
989
+ };
990
+ webhookEvent: {
991
+ notFound: string;
992
+ title: string;
993
+ deleteConfirm: string;
994
+ deleteDescription: string;
995
+ deleteButton: string;
996
+ openChannel: string;
997
+ sections: {
998
+ details: string;
999
+ payload: string;
1000
+ };
1001
+ labels: {
1002
+ externalEvent: string;
1003
+ received: string;
1004
+ processed: string;
1005
+ error: string;
1006
+ };
1007
+ };
1008
+ mapping: {
1009
+ notFound: string;
1010
+ title: string;
1011
+ deleteConfirm: string;
1012
+ deleteDescription: string;
1013
+ deleteButton: string;
1014
+ openChannel: string;
1015
+ openProduct: string;
1016
+ sections: {
1017
+ details: string;
1018
+ };
1019
+ labels: {
1020
+ externalProduct: string;
1021
+ externalRate: string;
1022
+ externalCategory: string;
1023
+ };
1024
+ };
1025
+ };
264
1026
  };
265
1027
  };
266
1028
  export type DistributionUiMessageOverrides = LocaleMessageOverrides<DistributionUiMessages>;