Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@nexeraid/identity-api-client

Package Overview
Dependencies
Maintainers
0
Versions
52
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nexeraid/identity-api-client - npm Package Compare versions

Comparing version 2.3.0-dev to 2.3.13-dev

dist/declarations/src/generated/services/IdentityService.d.ts

2

dist/declarations/src/generated/ApiClient.d.ts
import type { BaseHttpRequest } from "./core/BaseHttpRequest.js";
import type { OpenAPIConfig } from "./core/OpenAPI.js";
import { AuthService } from "./services/AuthService.js";
import { IdentityService } from "./services/IdentityService.js";
import { PublicService } from "./services/PublicService.js";

@@ -9,2 +10,3 @@ import { StorageService } from "./services/StorageService.js";

readonly auth: AuthService;
readonly identity: IdentityService;
readonly public: PublicService;

@@ -11,0 +13,0 @@ readonly storage: StorageService;

@@ -8,3 +8,4 @@ export { ApiClient } from "./ApiClient.js";

export { AuthService } from "./services/AuthService.js";
export { IdentityService } from "./services/IdentityService.js";
export { PublicService } from "./services/PublicService.js";
export { StorageService } from "./services/StorageService.js";

@@ -52,2 +52,15 @@ import type { CancelablePromise } from "../core/CancelablePromise.js";

/**
* @returns any Generate an api access token for the given workflowId
* @throws ApiError
*/
createSessionFromApiRoute({ requestBody, }: {
requestBody?: {
workflowId: string;
customerId?: string;
externalCustomerId?: string;
};
}): CancelablePromise<{
token: string;
}>;
/**
* @returns any Generate an api access token for the given signed challenge

@@ -54,0 +67,0 @@ * @throws ApiError

@@ -1241,2 +1241,20 @@ 'use strict';

/**
* @returns any Generate an api access token for the given workflowId
* @throws ApiError
*/
}, {
key: "createSessionFromApiRoute",
value: function createSessionFromApiRoute(_ref3) {
var requestBody = _ref3.requestBody;
return this.httpRequest.request({
method: 'POST',
url: '/auth-session/session/nexera-api/create',
body: requestBody,
mediaType: 'application/json',
errors: {
404: "Workflow not found"
}
});
}
/**
* @returns any Generate an api access token for the given signed challenge

@@ -1247,4 +1265,4 @@ * @throws ApiError

key: "verifyWalletChallenge",
value: function verifyWalletChallenge(_ref3) {
var requestBody = _ref3.requestBody;
value: function verifyWalletChallenge(_ref4) {
var requestBody = _ref4.requestBody;
return this.httpRequest.request({

@@ -1269,2 +1287,72 @@ method: 'POST',

var IdentityService = /*#__PURE__*/function () {
function IdentityService(httpRequest) {
_classCallCheck(this, IdentityService);
this.httpRequest = httpRequest;
}
/**
* @returns any Get an auth challenge for a specific wallet address
* @throws ApiError
*/
return _createClass(IdentityService, [{
key: "createWalletChallengeToAddWallet",
value: function createWalletChallengeToAddWallet(_ref) {
var requestBody = _ref.requestBody;
return this.httpRequest.request({
method: 'POST',
url: '/identity/wallet-add/create-challenge',
body: requestBody,
mediaType: 'application/json',
errors: {
404: "App not found for the given workflowId"
}
});
}
/**
* @returns any Add wallet to identity
* @throws ApiError
*/
}, {
key: "addWalletToIdentity",
value: function addWalletToIdentity(_ref2) {
var requestBody = _ref2.requestBody;
return this.httpRequest.request({
method: 'POST',
url: '/identity/wallet-add/verify-challenge',
body: requestBody,
mediaType: 'application/json'
});
}
/**
* @returns any List all wallets attached to the identity
* @throws ApiError
*/
}, {
key: "listWallets",
value: function listWallets() {
return this.httpRequest.request({
method: 'GET',
url: '/identity/wallets'
});
}
/**
* @returns any Get the identity session IDs
* @throws ApiError
*/
}, {
key: "getIdentitySessionIds",
value: function getIdentitySessionIds() {
return this.httpRequest.request({
method: 'GET',
url: '/identity/session-ids'
});
}
}]);
}();
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
var PublicService = /*#__PURE__*/function () {

@@ -1385,2 +1473,3 @@ function PublicService(httpRequest) {

this.auth = new AuthService(this.request);
this.identity = new IdentityService(this.request);
this["public"] = new PublicService(this.request);

@@ -1387,0 +1476,0 @@ this.storage = new StorageService(this.request);

@@ -1241,2 +1241,20 @@ 'use strict';

/**
* @returns any Generate an api access token for the given workflowId
* @throws ApiError
*/
}, {
key: "createSessionFromApiRoute",
value: function createSessionFromApiRoute(_ref3) {
var requestBody = _ref3.requestBody;
return this.httpRequest.request({
method: 'POST',
url: '/auth-session/session/nexera-api/create',
body: requestBody,
mediaType: 'application/json',
errors: {
404: "Workflow not found"
}
});
}
/**
* @returns any Generate an api access token for the given signed challenge

@@ -1247,4 +1265,4 @@ * @throws ApiError

key: "verifyWalletChallenge",
value: function verifyWalletChallenge(_ref3) {
var requestBody = _ref3.requestBody;
value: function verifyWalletChallenge(_ref4) {
var requestBody = _ref4.requestBody;
return this.httpRequest.request({

@@ -1269,2 +1287,72 @@ method: 'POST',

var IdentityService = /*#__PURE__*/function () {
function IdentityService(httpRequest) {
_classCallCheck(this, IdentityService);
this.httpRequest = httpRequest;
}
/**
* @returns any Get an auth challenge for a specific wallet address
* @throws ApiError
*/
return _createClass(IdentityService, [{
key: "createWalletChallengeToAddWallet",
value: function createWalletChallengeToAddWallet(_ref) {
var requestBody = _ref.requestBody;
return this.httpRequest.request({
method: 'POST',
url: '/identity/wallet-add/create-challenge',
body: requestBody,
mediaType: 'application/json',
errors: {
404: "App not found for the given workflowId"
}
});
}
/**
* @returns any Add wallet to identity
* @throws ApiError
*/
}, {
key: "addWalletToIdentity",
value: function addWalletToIdentity(_ref2) {
var requestBody = _ref2.requestBody;
return this.httpRequest.request({
method: 'POST',
url: '/identity/wallet-add/verify-challenge',
body: requestBody,
mediaType: 'application/json'
});
}
/**
* @returns any List all wallets attached to the identity
* @throws ApiError
*/
}, {
key: "listWallets",
value: function listWallets() {
return this.httpRequest.request({
method: 'GET',
url: '/identity/wallets'
});
}
/**
* @returns any Get the identity session IDs
* @throws ApiError
*/
}, {
key: "getIdentitySessionIds",
value: function getIdentitySessionIds() {
return this.httpRequest.request({
method: 'GET',
url: '/identity/session-ids'
});
}
}]);
}();
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
var PublicService = /*#__PURE__*/function () {

@@ -1385,2 +1473,3 @@ function PublicService(httpRequest) {

this.auth = new AuthService(this.request);
this.identity = new IdentityService(this.request);
this["public"] = new PublicService(this.request);

@@ -1387,0 +1476,0 @@ this.storage = new StorageService(this.request);

@@ -1237,2 +1237,20 @@ import { PUBLIC_SERVICES_SCHEMA_MAP } from '@nexeraid/identity-schemas';

/**
* @returns any Generate an api access token for the given workflowId
* @throws ApiError
*/
}, {
key: "createSessionFromApiRoute",
value: function createSessionFromApiRoute(_ref3) {
var requestBody = _ref3.requestBody;
return this.httpRequest.request({
method: 'POST',
url: '/auth-session/session/nexera-api/create',
body: requestBody,
mediaType: 'application/json',
errors: {
404: "Workflow not found"
}
});
}
/**
* @returns any Generate an api access token for the given signed challenge

@@ -1243,4 +1261,4 @@ * @throws ApiError

key: "verifyWalletChallenge",
value: function verifyWalletChallenge(_ref3) {
var requestBody = _ref3.requestBody;
value: function verifyWalletChallenge(_ref4) {
var requestBody = _ref4.requestBody;
return this.httpRequest.request({

@@ -1265,2 +1283,72 @@ method: 'POST',

var IdentityService = /*#__PURE__*/function () {
function IdentityService(httpRequest) {
_classCallCheck(this, IdentityService);
this.httpRequest = httpRequest;
}
/**
* @returns any Get an auth challenge for a specific wallet address
* @throws ApiError
*/
return _createClass(IdentityService, [{
key: "createWalletChallengeToAddWallet",
value: function createWalletChallengeToAddWallet(_ref) {
var requestBody = _ref.requestBody;
return this.httpRequest.request({
method: 'POST',
url: '/identity/wallet-add/create-challenge',
body: requestBody,
mediaType: 'application/json',
errors: {
404: "App not found for the given workflowId"
}
});
}
/**
* @returns any Add wallet to identity
* @throws ApiError
*/
}, {
key: "addWalletToIdentity",
value: function addWalletToIdentity(_ref2) {
var requestBody = _ref2.requestBody;
return this.httpRequest.request({
method: 'POST',
url: '/identity/wallet-add/verify-challenge',
body: requestBody,
mediaType: 'application/json'
});
}
/**
* @returns any List all wallets attached to the identity
* @throws ApiError
*/
}, {
key: "listWallets",
value: function listWallets() {
return this.httpRequest.request({
method: 'GET',
url: '/identity/wallets'
});
}
/**
* @returns any Get the identity session IDs
* @throws ApiError
*/
}, {
key: "getIdentitySessionIds",
value: function getIdentitySessionIds() {
return this.httpRequest.request({
method: 'GET',
url: '/identity/session-ids'
});
}
}]);
}();
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
var PublicService = /*#__PURE__*/function () {

@@ -1381,2 +1469,3 @@ function PublicService(httpRequest) {

this.auth = new AuthService(this.request);
this.identity = new IdentityService(this.request);
this["public"] = new PublicService(this.request);

@@ -1383,0 +1472,0 @@ this.storage = new StorageService(this.request);

5

dist/package.json
{
"name": "@nexeraid/identity-api-client",
"version": "2.3.0",
"version": "2.3.13",
"description": "",

@@ -36,3 +36,4 @@ "keywords": [],

"extends": [
"@unblokttechnology/eslint-config/base"
"@unblokttechnology/eslint-config/base",
"@unblokttechnology/eslint-config/public"
],

@@ -39,0 +40,0 @@ "ignorePatterns": [

{
"name": "@nexeraid/identity-api-client",
"version": "2.3.0-dev",
"version": "2.3.13-dev",
"description": "",

@@ -22,3 +22,4 @@ "keywords": [],

"extends": [
"@unblokttechnology/eslint-config/base"
"@unblokttechnology/eslint-config/base",
"@unblokttechnology/eslint-config/public"
],

@@ -33,3 +34,3 @@ "ignorePatterns": [

"zod-validation-error": "^3.4.0",
"@nexeraid/identity-schemas": "2.3.1-dev"
"@nexeraid/identity-schemas": "2.3.14-dev"
},

@@ -36,0 +37,0 @@ "devDependencies": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc