kaafil-js 0.3.0 → 0.4.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.
@@ -180,6 +180,7 @@ var OperationId = {
180
180
  ReplaceBookingVouchers: "replaceBookingVouchers",
181
181
  RequestFileUpload: "requestFileUpload",
182
182
  ReturnFloat: "returnFloat",
183
+ RevealShareToken: "revealShareToken",
183
184
  RevokeShareToken: "revokeShareToken",
184
185
  RunJourneyStep: "runJourneyStep",
185
186
  SaveCloseoutHandover: "saveCloseoutHandover",
@@ -461,6 +462,7 @@ var OPERATION_SECURITY = {
461
462
  readWebhookEventCatalog: ["consoleAuth"],
462
463
  reassignPickupStopTravellers: ["managerAuth", "apiKeyAuth", "agencyAdminAuth"],
463
464
  rebuildJourney: ["apiKeyAuth"],
465
+ recheckConsoleCertification: ["consoleAuth"],
464
466
  reconcileTrekWalkIn: ["managerAuth", "apiKeyAuth", "agencyAdminAuth"],
465
467
  recordCollection: ["managerAuth", "apiKeyAuth", "agencyAdminAuth"],
466
468
  redeliverEndpointDelivery: ["consoleAuth"],
@@ -468,6 +470,7 @@ var OPERATION_SECURITY = {
468
470
  redeliverWebhookDeliveryConsole: ["consoleAuth"],
469
471
  redriveSupportWebhookDelivery: ["platformAdminAuth"],
470
472
  refreshAgencyAdminTokens: ["agencyAdminAuth"],
473
+ refreshConsoleSession: ["consoleAuth"],
471
474
  refreshManagerTokens: ["managerAuth"],
472
475
  regenerateShareToken: ["apiKeyAuth", "agencyAdminAuth"],
473
476
  registerWebhookEndpoint: ["consoleAuth"],
@@ -491,6 +494,7 @@ var OPERATION_SECURITY = {
491
494
  resetTestClockConsole: ["consoleAuth"],
492
495
  resolvePlatformCredential: ["platformAdminAuth"],
493
496
  returnFloat: ["managerAuth", "apiKeyAuth", "agencyAdminAuth"],
497
+ revealShareToken: ["apiKeyAuth", "agencyAdminAuth"],
494
498
  revokeApiKey: ["consoleAuth"],
495
499
  revokeMyConsoleSession: ["consoleAuth"],
496
500
  revokePlatformPartnerApiKey: ["platformAdminAuth"],
@@ -786,6 +790,7 @@ var OPERATION_ACCEPTS_IDEMPOTENCY_KEY = {
786
790
  readWebhookEventCatalog: false,
787
791
  reassignPickupStopTravellers: true,
788
792
  rebuildJourney: true,
793
+ recheckConsoleCertification: false,
789
794
  reconcileTrekWalkIn: true,
790
795
  recordCollection: true,
791
796
  redeliverEndpointDelivery: true,
@@ -793,6 +798,7 @@ var OPERATION_ACCEPTS_IDEMPOTENCY_KEY = {
793
798
  redeliverWebhookDeliveryConsole: true,
794
799
  redriveSupportWebhookDelivery: false,
795
800
  refreshAgencyAdminTokens: false,
801
+ refreshConsoleSession: false,
796
802
  refreshManagerTokens: false,
797
803
  regenerateShareToken: true,
798
804
  registerWebhookEndpoint: true,
@@ -816,6 +822,7 @@ var OPERATION_ACCEPTS_IDEMPOTENCY_KEY = {
816
822
  resetTestClockConsole: true,
817
823
  resolvePlatformCredential: false,
818
824
  returnFloat: true,
825
+ revealShareToken: false,
819
826
  revokeApiKey: true,
820
827
  revokeMyConsoleSession: true,
821
828
  revokePlatformPartnerApiKey: false,
@@ -5946,6 +5953,16 @@ function createShareTokensResource(client) {
5946
5953
  ...signal !== void 0 ? { signal } : {}
5947
5954
  });
5948
5955
  },
5956
+ async reveal(options) {
5957
+ const { id, signal } = options;
5958
+ return client.execute({
5959
+ method: "GET",
5960
+ operationId: OperationId.RevealShareToken,
5961
+ path: "/api/v1/share-tokens/{id}/reveal",
5962
+ pathParams: { id },
5963
+ ...signal !== void 0 ? { signal } : {}
5964
+ });
5965
+ },
5949
5966
  async revoke(options) {
5950
5967
  const { id, signal } = options;
5951
5968
  return client.execute({
@@ -7650,6 +7667,7 @@ exports.isRoomingHeuristicKey = isRoomingHeuristicKey;
7650
7667
  exports.isShareBatchPushAvailable = isShareBatchPushAvailable;
7651
7668
  exports.isTombstone = isTombstone;
7652
7669
  exports.mergeDeltaRows = mergeDeltaRows;
7670
+ exports.normalizeDateTimeInput = normalizeDateTimeInput;
7653
7671
  exports.parseRoomingTone = parseRoomingTone;
7654
7672
  exports.readCurrentVersion = readCurrentVersion;
7655
7673
  exports.reconcileConflict = reconcileConflict;