@turnkey/http
Advanced tools
Comparing version 1.0.0 to 1.0.1
# @turnkey/http | ||
## 1.0.1 | ||
### Patch Changes | ||
- 8d1d0e8: Synced protos from mono | ||
## 1.0.0 | ||
@@ -4,0 +10,0 @@ |
"use strict"; | ||
/* @generated by `@turnkey/fetchers`. DO NOT EDIT BY HAND */ | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.signDeleteInvitation = exports.deleteInvitation = exports.signDeleteApiKeys = exports.deleteApiKeys = exports.signCreateUsers = exports.createUsers = exports.signCreateUserTag = exports.createUserTag = exports.signCreateSubOrganization = exports.createSubOrganization = exports.signCreatePrivateKeys = exports.createPrivateKeys = exports.signCreatePrivateKeyTag = exports.createPrivateKeyTag = exports.signCreatePolicy = exports.createPolicy = exports.signCreateInvitations = exports.createInvitations = exports.signCreateAuthenticators = exports.createAuthenticators = exports.signCreateApiOnlyUsers = exports.createApiOnlyUsers = exports.signCreateApiKeys = exports.createApiKeys = exports.signApproveActivity = exports.approveActivity = exports.signGetWhoami = exports.getWhoami = exports.signGetUsers = exports.getUsers = exports.signGetPrivateKeys = exports.getPrivateKeys = exports.signGetPolicies = exports.getPolicies = exports.signGetActivities = exports.getActivities = exports.signGetUser = exports.getUser = exports.signGetPrivateKey = exports.getPrivateKey = exports.signGetPolicy = exports.getPolicy = exports.signGetOrganization = exports.getOrganization = exports.signGetAuthenticators = exports.getAuthenticators = exports.signGetAuthenticator = exports.getAuthenticator = exports.signGetActivity = exports.getActivity = void 0; | ||
exports.signGetPrivateKeyBackwardsCompat = exports.getPrivateKeyBackwardsCompat = exports.signNOOPCodegenAnchor = exports.nOOPCodegenAnchor = exports.signUpdateUserTag = exports.updateUserTag = exports.signUpdateRootQuorum = exports.updateRootQuorum = exports.signUpdatePrivateKeyTag = exports.updatePrivateKeyTag = exports.signUpdateAllowedOrigins = exports.updateAllowedOrigins = exports.signSignTransaction = exports.signTransaction = exports.signSignRawPayload = exports.signRawPayload = exports.signRejectActivity = exports.rejectActivity = exports.signDeletePolicy = exports.deletePolicy = void 0; | ||
exports.signDeleteAuthenticators = exports.deleteAuthenticators = exports.signDeleteApiKeys = exports.deleteApiKeys = exports.signCreateUsers = exports.createUsers = exports.signCreateUserTag = exports.createUserTag = exports.signCreateSubOrganization = exports.createSubOrganization = exports.signCreatePrivateKeys = exports.createPrivateKeys = exports.signCreatePrivateKeyTag = exports.createPrivateKeyTag = exports.signCreatePolicy = exports.createPolicy = exports.signCreateInvitations = exports.createInvitations = exports.signCreateAuthenticators = exports.createAuthenticators = exports.signCreateApiOnlyUsers = exports.createApiOnlyUsers = exports.signCreateApiKeys = exports.createApiKeys = exports.signApproveActivity = exports.approveActivity = exports.signGetWhoami = exports.getWhoami = exports.signGetUsers = exports.getUsers = exports.signGetPrivateKeys = exports.getPrivateKeys = exports.signGetPolicies = exports.getPolicies = exports.signGetActivities = exports.getActivities = exports.signGetUser = exports.getUser = exports.signGetPrivateKey = exports.getPrivateKey = exports.signGetPolicy = exports.getPolicy = exports.signGetOrganization = exports.getOrganization = exports.signGetAuthenticators = exports.getAuthenticators = exports.signGetAuthenticator = exports.getAuthenticator = exports.signGetActivity = exports.getActivity = void 0; | ||
exports.signNOOPCodegenAnchor = exports.nOOPCodegenAnchor = exports.signUpdateUserTag = exports.updateUserTag = exports.signUpdateRootQuorum = exports.updateRootQuorum = exports.signUpdatePrivateKeyTag = exports.updatePrivateKeyTag = exports.signUpdatePolicy = exports.updatePolicy = exports.signUpdateAllowedOrigins = exports.updateAllowedOrigins = exports.signSignTransaction = exports.signTransaction = exports.signSignRawPayload = exports.signRawPayload = exports.signRejectActivity = exports.rejectActivity = exports.signDeletePolicy = exports.deletePolicy = exports.signDeleteInvitation = exports.deleteInvitation = void 0; | ||
const base_1 = require("../../../../../base"); | ||
@@ -588,2 +588,26 @@ /** | ||
/** | ||
* Delete Authenticators | ||
* | ||
* Remove authenticators from a User | ||
* | ||
* `POST /public/v1/submit/delete_authenticators` | ||
*/ | ||
const deleteAuthenticators = (input) => (0, base_1.request)({ | ||
uri: "/public/v1/submit/delete_authenticators", | ||
method: "POST", | ||
body: input.body, | ||
}); | ||
exports.deleteAuthenticators = deleteAuthenticators; | ||
/** | ||
* Request a WebAuthn assertion and return a signed `DeleteAuthenticators` request, ready to be POSTed to Turnkey. | ||
* | ||
* See {@link DeleteAuthenticators} | ||
*/ | ||
const signDeleteAuthenticators = (input, options) => (0, base_1.signedRequest)({ | ||
uri: "/public/v1/submit/delete_authenticators", | ||
body: input.body, | ||
options, | ||
}); | ||
exports.signDeleteAuthenticators = signDeleteAuthenticators; | ||
/** | ||
* Delete Invitation | ||
@@ -733,2 +757,26 @@ * | ||
/** | ||
* Update Policy | ||
* | ||
* Update an existing Policy | ||
* | ||
* `POST /public/v1/submit/update_policy` | ||
*/ | ||
const updatePolicy = (input) => (0, base_1.request)({ | ||
uri: "/public/v1/submit/update_policy", | ||
method: "POST", | ||
body: input.body, | ||
}); | ||
exports.updatePolicy = updatePolicy; | ||
/** | ||
* Request a WebAuthn assertion and return a signed `UpdatePolicy` request, ready to be POSTed to Turnkey. | ||
* | ||
* See {@link UpdatePolicy} | ||
*/ | ||
const signUpdatePolicy = (input, options) => (0, base_1.signedRequest)({ | ||
uri: "/public/v1/submit/update_policy", | ||
body: input.body, | ||
options, | ||
}); | ||
exports.signUpdatePolicy = signUpdatePolicy; | ||
/** | ||
* Update Private Key Tag | ||
@@ -826,30 +874,2 @@ * | ||
exports.signNOOPCodegenAnchor = signNOOPCodegenAnchor; | ||
/** | ||
* Get Private Key | ||
* | ||
* Get details about a Private Key | ||
* | ||
* `POST /tkhq/public/v1/query/get_private_key` | ||
* | ||
* @deprecated | ||
*/ | ||
const getPrivateKeyBackwardsCompat = (input) => (0, base_1.request)({ | ||
uri: "/tkhq/public/v1/query/get_private_key", | ||
method: "POST", | ||
body: input.body, | ||
}); | ||
exports.getPrivateKeyBackwardsCompat = getPrivateKeyBackwardsCompat; | ||
/** | ||
* Request a WebAuthn assertion and return a signed `GetPrivateKeyBackwardsCompat` request, ready to be POSTed to Turnkey. | ||
* | ||
* See {@link GetPrivateKeyBackwardsCompat} | ||
* | ||
* @deprecated | ||
*/ | ||
const signGetPrivateKeyBackwardsCompat = (input, options) => (0, base_1.signedRequest)({ | ||
uri: "/tkhq/public/v1/query/get_private_key", | ||
body: input.body, | ||
options, | ||
}); | ||
exports.signGetPrivateKeyBackwardsCompat = signGetPrivateKeyBackwardsCompat; | ||
//# sourceMappingURL=public_api.fetcher.js.map |
{ | ||
"name": "@turnkey/http", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"main": "./dist/index.js", | ||
@@ -5,0 +5,0 @@ "types": "./dist/index.d.ts", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1221120
26236