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.
- package/dist/client-entry.cjs +18 -0
- package/dist/client-entry.cjs.map +1 -1
- package/dist/client-entry.d.cts +3 -2
- package/dist/client-entry.d.ts +3 -2
- package/dist/client-entry.js +18 -1
- package/dist/client-entry.js.map +1 -1
- package/dist/index.cjs +17 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +17 -0
- package/dist/index.js.map +1 -1
- package/dist/{vocabulary-uZXjYsxn.d.cts → vocabulary--cKHiCky.d.cts} +311 -39
- package/dist/{vocabulary-uZXjYsxn.d.ts → vocabulary--cKHiCky.d.ts} +311 -39
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -190,6 +190,7 @@ var OperationId = {
|
|
|
190
190
|
RequestFileUpload: "requestFileUpload",
|
|
191
191
|
ResetTestClock: "resetTestClock",
|
|
192
192
|
ReturnFloat: "returnFloat",
|
|
193
|
+
RevealShareToken: "revealShareToken",
|
|
193
194
|
RevokeShareToken: "revokeShareToken",
|
|
194
195
|
RunJourneyStep: "runJourneyStep",
|
|
195
196
|
SaveCloseoutHandover: "saveCloseoutHandover",
|
|
@@ -472,6 +473,7 @@ var OPERATION_SECURITY = {
|
|
|
472
473
|
readWebhookEventCatalog: ["consoleAuth"],
|
|
473
474
|
reassignPickupStopTravellers: ["managerAuth", "apiKeyAuth", "agencyAdminAuth"],
|
|
474
475
|
rebuildJourney: ["apiKeyAuth"],
|
|
476
|
+
recheckConsoleCertification: ["consoleAuth"],
|
|
475
477
|
reconcileTrekWalkIn: ["managerAuth", "apiKeyAuth", "agencyAdminAuth"],
|
|
476
478
|
recordCollection: ["managerAuth", "apiKeyAuth", "agencyAdminAuth"],
|
|
477
479
|
redeliverEndpointDelivery: ["consoleAuth"],
|
|
@@ -479,6 +481,7 @@ var OPERATION_SECURITY = {
|
|
|
479
481
|
redeliverWebhookDeliveryConsole: ["consoleAuth"],
|
|
480
482
|
redriveSupportWebhookDelivery: ["platformAdminAuth"],
|
|
481
483
|
refreshAgencyAdminTokens: ["agencyAdminAuth"],
|
|
484
|
+
refreshConsoleSession: ["consoleAuth"],
|
|
482
485
|
refreshManagerTokens: ["managerAuth"],
|
|
483
486
|
regenerateShareToken: ["apiKeyAuth", "agencyAdminAuth"],
|
|
484
487
|
registerWebhookEndpoint: ["consoleAuth"],
|
|
@@ -502,6 +505,7 @@ var OPERATION_SECURITY = {
|
|
|
502
505
|
resetTestClockConsole: ["consoleAuth"],
|
|
503
506
|
resolvePlatformCredential: ["platformAdminAuth"],
|
|
504
507
|
returnFloat: ["managerAuth", "apiKeyAuth", "agencyAdminAuth"],
|
|
508
|
+
revealShareToken: ["apiKeyAuth", "agencyAdminAuth"],
|
|
505
509
|
revokeApiKey: ["consoleAuth"],
|
|
506
510
|
revokeMyConsoleSession: ["consoleAuth"],
|
|
507
511
|
revokePlatformPartnerApiKey: ["platformAdminAuth"],
|
|
@@ -797,6 +801,7 @@ var OPERATION_ACCEPTS_IDEMPOTENCY_KEY = {
|
|
|
797
801
|
readWebhookEventCatalog: false,
|
|
798
802
|
reassignPickupStopTravellers: true,
|
|
799
803
|
rebuildJourney: true,
|
|
804
|
+
recheckConsoleCertification: false,
|
|
800
805
|
reconcileTrekWalkIn: true,
|
|
801
806
|
recordCollection: true,
|
|
802
807
|
redeliverEndpointDelivery: true,
|
|
@@ -804,6 +809,7 @@ var OPERATION_ACCEPTS_IDEMPOTENCY_KEY = {
|
|
|
804
809
|
redeliverWebhookDeliveryConsole: true,
|
|
805
810
|
redriveSupportWebhookDelivery: false,
|
|
806
811
|
refreshAgencyAdminTokens: false,
|
|
812
|
+
refreshConsoleSession: false,
|
|
807
813
|
refreshManagerTokens: false,
|
|
808
814
|
regenerateShareToken: true,
|
|
809
815
|
registerWebhookEndpoint: true,
|
|
@@ -827,6 +833,7 @@ var OPERATION_ACCEPTS_IDEMPOTENCY_KEY = {
|
|
|
827
833
|
resetTestClockConsole: true,
|
|
828
834
|
resolvePlatformCredential: false,
|
|
829
835
|
returnFloat: true,
|
|
836
|
+
revealShareToken: false,
|
|
830
837
|
revokeApiKey: true,
|
|
831
838
|
revokeMyConsoleSession: true,
|
|
832
839
|
revokePlatformPartnerApiKey: false,
|
|
@@ -4171,6 +4178,16 @@ function createShareTokensResource(client) {
|
|
|
4171
4178
|
...signal !== void 0 ? { signal } : {}
|
|
4172
4179
|
});
|
|
4173
4180
|
},
|
|
4181
|
+
async reveal(options) {
|
|
4182
|
+
const { id, signal } = options;
|
|
4183
|
+
return client.execute({
|
|
4184
|
+
method: "GET",
|
|
4185
|
+
operationId: OperationId.RevealShareToken,
|
|
4186
|
+
path: "/api/v1/share-tokens/{id}/reveal",
|
|
4187
|
+
pathParams: { id },
|
|
4188
|
+
...signal !== void 0 ? { signal } : {}
|
|
4189
|
+
});
|
|
4190
|
+
},
|
|
4174
4191
|
async revoke(options) {
|
|
4175
4192
|
const { id, signal } = options;
|
|
4176
4193
|
return client.execute({
|