kaafil-js 0.7.0 → 0.9.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.
package/dist/index.cjs CHANGED
@@ -298,6 +298,7 @@ var OPERATION_SECURITY = {
298
298
  exportCloseoutPack: ["managerAuth", "apiKeyAuth", "agencyAdminAuth"],
299
299
  exportFormResponses: ["apiKeyAuth", "managerAuth", "agencyAdminAuth"],
300
300
  exportTraveller: ["apiKeyAuth"],
301
+ generatePlatformPartnerBill: ["platformAdminAuth"],
301
302
  getAgencyAdminMe: ["agencyAdminAuth"],
302
303
  getAgencySettings: ["consoleAuth"],
303
304
  getAgencySettingsSelf: ["apiKeyAuth", "agencyAdminAuth"],
@@ -322,6 +323,7 @@ var OPERATION_SECURITY = {
322
323
  inspectConsoleInvite: [],
323
324
  inspectPlatformAdminInvite: [],
324
325
  issueFloat: ["managerAuth", "apiKeyAuth", "agencyAdminAuth"],
326
+ issuePlatformPartnerBill: ["platformAdminAuth"],
325
327
  linkExpenseReceipt: ["managerAuth", "apiKeyAuth", "agencyAdminAuth"],
326
328
  linkSeatingManager: ["managerAuth", "apiKeyAuth", "agencyAdminAuth"],
327
329
  listAgencies: ["consoleAuth"],
@@ -347,6 +349,7 @@ var OPERATION_SECURITY = {
347
349
  listMessagesConsole: ["consoleAuth"],
348
350
  listMessageTemplates: ["apiKeyAuth"],
349
351
  listMyConsoleSessions: ["consoleAuth"],
352
+ listOwnBills: ["consoleAuth"],
350
353
  listOwnManagerTrips: ["managerAuth"],
351
354
  listParties: ["managerAuth", "agencyAdminAuth", "apiKeyAuth"],
352
355
  listPickupStops: ["managerAuth", "agencyAdminAuth", "apiKeyAuth"],
@@ -354,6 +357,7 @@ var OPERATION_SECURITY = {
354
357
  listPlatformAudit: ["platformAdminAuth"],
355
358
  listPlatformIncidents: ["platformAdminAuth"],
356
359
  listPlatformPartnerApiKeys: ["platformAdminAuth"],
360
+ listPlatformPartnerBills: ["platformAdminAuth"],
357
361
  listPlatformPartnerConsoleUsers: ["platformAdminAuth"],
358
362
  listPlatformPartners: ["platformAdminAuth"],
359
363
  listPlatformPlanTiers: ["platformAdminAuth"],
@@ -417,6 +421,7 @@ var OPERATION_SECURITY = {
417
421
  pushTripBalances: ["managerAuth", "apiKeyAuth", "agencyAdminAuth"],
418
422
  putCommsConfig: ["apiKeyAuth"],
419
423
  putCommsConfigConsole: ["consoleAuth"],
424
+ putPlatformPartnerBillingConfig: ["platformAdminAuth"],
420
425
  putPlatformPartnerPlan: ["platformAdminAuth"],
421
426
  readAgencyEntitlement: ["consoleAuth"],
422
427
  readAgencyFeedbackSummary: ["agencyAdminAuth", "apiKeyAuth"],
@@ -449,8 +454,14 @@ var OPERATION_SECURITY = {
449
454
  readManagerFileView: ["managerAuth", "apiKeyAuth", "agencyAdminAuth"],
450
455
  readManagerToday: ["apiKeyAuth", "managerAuth", "agencyAdminAuth"],
451
456
  readManifestByPickup: ["managerAuth", "agencyAdminAuth", "apiKeyAuth"],
457
+ readOwnBill: ["consoleAuth"],
458
+ readOwnBillEstimate: ["consoleAuth"],
459
+ readOwnBillPdf: ["consoleAuth"],
452
460
  readPlan: ["consoleAuth"],
453
461
  readPlatformPartner: ["platformAdminAuth"],
462
+ readPlatformPartnerBill: ["platformAdminAuth"],
463
+ readPlatformPartnerBillingConfig: ["platformAdminAuth"],
464
+ readPlatformPartnerBillPdf: ["platformAdminAuth"],
454
465
  readRoomingBoard: ["managerAuth", "agencyAdminAuth", "apiKeyAuth"],
455
466
  readRoomingRoom: ["managerAuth", "agencyAdminAuth", "apiKeyAuth"],
456
467
  readSeatingBoard: ["managerAuth", "agencyAdminAuth", "apiKeyAuth"],
@@ -520,7 +531,9 @@ var OPERATION_SECURITY = {
520
531
  sendCommsTestMessage: ["apiKeyAuth"],
521
532
  sendCommsTestMessageConsole: ["consoleAuth"],
522
533
  sendMessage: ["apiKeyAuth"],
534
+ setPlatformPartnerBillDiscount: ["platformAdminAuth"],
523
535
  setPlatformPartnerStatus: ["platformAdminAuth"],
536
+ settlePlatformPartnerBill: ["platformAdminAuth"],
524
537
  shareListForms: ["shareAuth"],
525
538
  shareRenderForm: ["shareAuth"],
526
539
  shareSaveForm: ["shareAuth"],
@@ -547,6 +560,7 @@ var OPERATION_SECURITY = {
547
560
  upsertVendor: ["apiKeyAuth", "agencyAdminAuth"],
548
561
  voidCollection: ["managerAuth", "apiKeyAuth", "agencyAdminAuth"],
549
562
  voidExpense: ["managerAuth", "apiKeyAuth", "agencyAdminAuth"],
563
+ voidPlatformPartnerBill: ["platformAdminAuth"],
550
564
  withdrawExpenseClaim: ["managerAuth", "apiKeyAuth"]
551
565
  };
552
566
  var OPERATION_ACCEPTS_IDEMPOTENCY_KEY = {
@@ -627,6 +641,7 @@ var OPERATION_ACCEPTS_IDEMPOTENCY_KEY = {
627
641
  exportCloseoutPack: false,
628
642
  exportFormResponses: false,
629
643
  exportTraveller: false,
644
+ generatePlatformPartnerBill: true,
630
645
  getAgencyAdminMe: false,
631
646
  getAgencySettings: false,
632
647
  getAgencySettingsSelf: false,
@@ -651,6 +666,7 @@ var OPERATION_ACCEPTS_IDEMPOTENCY_KEY = {
651
666
  inspectConsoleInvite: false,
652
667
  inspectPlatformAdminInvite: false,
653
668
  issueFloat: true,
669
+ issuePlatformPartnerBill: true,
654
670
  linkExpenseReceipt: true,
655
671
  linkSeatingManager: true,
656
672
  listAgencies: false,
@@ -676,6 +692,7 @@ var OPERATION_ACCEPTS_IDEMPOTENCY_KEY = {
676
692
  listMessagesConsole: false,
677
693
  listMessageTemplates: false,
678
694
  listMyConsoleSessions: false,
695
+ listOwnBills: false,
679
696
  listOwnManagerTrips: false,
680
697
  listParties: false,
681
698
  listPickupStops: false,
@@ -683,6 +700,7 @@ var OPERATION_ACCEPTS_IDEMPOTENCY_KEY = {
683
700
  listPlatformAudit: false,
684
701
  listPlatformIncidents: false,
685
702
  listPlatformPartnerApiKeys: false,
703
+ listPlatformPartnerBills: false,
686
704
  listPlatformPartnerConsoleUsers: false,
687
705
  listPlatformPartners: false,
688
706
  listPlatformPlanTiers: false,
@@ -746,6 +764,7 @@ var OPERATION_ACCEPTS_IDEMPOTENCY_KEY = {
746
764
  pushTripBalances: true,
747
765
  putCommsConfig: false,
748
766
  putCommsConfigConsole: false,
767
+ putPlatformPartnerBillingConfig: true,
749
768
  putPlatformPartnerPlan: false,
750
769
  readAgencyEntitlement: false,
751
770
  readAgencyFeedbackSummary: false,
@@ -778,8 +797,14 @@ var OPERATION_ACCEPTS_IDEMPOTENCY_KEY = {
778
797
  readManagerFileView: false,
779
798
  readManagerToday: false,
780
799
  readManifestByPickup: false,
800
+ readOwnBill: false,
801
+ readOwnBillEstimate: false,
802
+ readOwnBillPdf: false,
781
803
  readPlan: false,
782
804
  readPlatformPartner: false,
805
+ readPlatformPartnerBill: false,
806
+ readPlatformPartnerBillingConfig: false,
807
+ readPlatformPartnerBillPdf: false,
783
808
  readRoomingBoard: false,
784
809
  readRoomingRoom: false,
785
810
  readSeatingBoard: false,
@@ -849,7 +874,9 @@ var OPERATION_ACCEPTS_IDEMPOTENCY_KEY = {
849
874
  sendCommsTestMessage: true,
850
875
  sendCommsTestMessageConsole: true,
851
876
  sendMessage: true,
877
+ setPlatformPartnerBillDiscount: true,
852
878
  setPlatformPartnerStatus: false,
879
+ settlePlatformPartnerBill: true,
853
880
  shareListForms: false,
854
881
  shareRenderForm: false,
855
882
  shareSaveForm: true,
@@ -876,6 +903,7 @@ var OPERATION_ACCEPTS_IDEMPOTENCY_KEY = {
876
903
  upsertVendor: true,
877
904
  voidCollection: false,
878
905
  voidExpense: false,
906
+ voidPlatformPartnerBill: true,
879
907
  withdrawExpenseClaim: false
880
908
  };
881
909
 
@@ -5584,7 +5612,6 @@ var RoomingHeuristicKey = {
5584
5612
  Couples: "couples",
5585
5613
  Parties: "parties",
5586
5614
  Gender: "gender",
5587
- Diet: "diet",
5588
5615
  SpreadSolos: "spreadSolos",
5589
5616
  PartyGenderPolicy: "partyGenderPolicy",
5590
5617
  SameBus: "sameBus"
@@ -5653,7 +5680,6 @@ var HEURISTIC_SEVERITY = Object.freeze({
5653
5680
  couples: "warn",
5654
5681
  parties: "split",
5655
5682
  gender: "never",
5656
- diet: "info",
5657
5683
  spreadSolos: "info",
5658
5684
  partyGenderPolicy: "info",
5659
5685
  sameBus: "info"