Skip to content

Commit

Permalink
feat: add tokenization api (#35)
Browse files Browse the repository at this point in the history
  • Loading branch information
asafs932 authored May 8, 2024
1 parent 822f825 commit 129dcc6
Show file tree
Hide file tree
Showing 265 changed files with 8,831 additions and 690 deletions.
122 changes: 109 additions & 13 deletions README.md

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,11 @@ export * from './api/blockchains-assets-api';
export * from './api/compliance-api';
export * from './api/compliance-screening-configuration-api';
export * from './api/console-user-api';
export * from './api/contract-interactions-api';
export * from './api/contract-templates-api';
export * from './api/contracts-api';
export * from './api/cosigners-beta-api';
export * from './api/deployed-contracts-api';
export * from './api/exchange-accounts-api';
export * from './api/external-wallets-api';
export * from './api/fiat-accounts-api';
Expand All @@ -38,6 +41,7 @@ export * from './api/policy-editor-beta-api';
export * from './api/reset-device-api';
export * from './api/smart-transfer-api';
export * from './api/staking-beta-api';
export * from './api/tokenization-api';
export * from './api/transactions-api';
export * from './api/travel-rule-beta-api';
export * from './api/user-groups-beta-api';
Expand Down
32 changes: 16 additions & 16 deletions api/api-user-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ import { GetAPIUsersResponse } from '../models';
export const ApiUserApiAxiosParamCreator = function (configuration?: Configuration) {
return {
/**
* creates api user
* @summary create api user
* Creates Api user in your tenant
* @summary Create Api user
* @param {CreateAPIUser} [createAPIUser]
* @param {string} [idempotencyKey] A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours.
* @param {*} [options] Override http request option.
Expand Down Expand Up @@ -79,8 +79,8 @@ export const ApiUserApiAxiosParamCreator = function (configuration?: Configurati
};
},
/**
* get api users from the current tenant
* @summary get api users
* Get Api users of your tenant
* @summary Get Api users
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
Expand Down Expand Up @@ -119,8 +119,8 @@ export const ApiUserApiFp = function(configuration?: Configuration) {
const localVarAxiosParamCreator = ApiUserApiAxiosParamCreator(configuration)
return {
/**
* creates api user
* @summary create api user
* Creates Api user in your tenant
* @summary Create Api user
* @param {CreateAPIUser} [createAPIUser]
* @param {string} [idempotencyKey] A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours.
* @param {*} [options] Override http request option.
Expand All @@ -133,8 +133,8 @@ export const ApiUserApiFp = function(configuration?: Configuration) {
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
},
/**
* get api users from the current tenant
* @summary get api users
* Get Api users of your tenant
* @summary Get Api users
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
Expand All @@ -155,8 +155,8 @@ export const ApiUserApiFactory = function (configuration?: Configuration, basePa
const localVarFp = ApiUserApiFp(configuration)
return {
/**
* creates api user
* @summary create api user
* Creates Api user in your tenant
* @summary Create Api user
* @param {ApiUserApiCreateApiUserRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
Expand All @@ -165,8 +165,8 @@ export const ApiUserApiFactory = function (configuration?: Configuration, basePa
return localVarFp.createApiUser(requestParameters.createAPIUser, requestParameters.idempotencyKey, options).then((request) => request(axios, basePath));
},
/**
* get api users from the current tenant
* @summary get api users
* Get Api users of your tenant
* @summary Get Api users
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
Expand Down Expand Up @@ -205,8 +205,8 @@ export interface ApiUserApiCreateApiUserRequest {
*/
export class ApiUserApi extends BaseAPI {
/**
* creates api user
* @summary create api user
* Creates Api user in your tenant
* @summary Create Api user
* @param {ApiUserApiCreateApiUserRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
Expand All @@ -217,8 +217,8 @@ export class ApiUserApi extends BaseAPI {
}

/**
* get api users from the current tenant
* @summary get api users
* Get Api users of your tenant
* @summary Get Api users
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof ApiUserApi
Expand Down
10 changes: 6 additions & 4 deletions api/blockchains-assets-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,16 +30,18 @@ import { AssetBadRequestErrorResponse } from '../models';
// @ts-ignore
import { AssetConflictErrorResponse } from '../models';
// @ts-ignore
import { AssetForbiddenErrorResponse } from '../models';
// @ts-ignore
import { AssetInternalServerErrorResponse } from '../models';
// @ts-ignore
import { AssetNotFoundErrorResponse } from '../models';
// @ts-ignore
import { AssetResponse } from '../models';
// @ts-ignore
import { AssetTypeResponse } from '../models';
// @ts-ignore
import { ErrorSchema } from '../models';
// @ts-ignore
import { GetSupportedAssetsResponse } from '../models';
// @ts-ignore
import { RegisterNewAssetRequest } from '../models';
/**
* BlockchainsAssetsApi - axios parameter creator
Expand Down Expand Up @@ -132,7 +134,7 @@ export const BlockchainsAssetsApiFp = function(configuration?: Configuration) {
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
async getSupportedAssets(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<AssetTypeResponse>>> {
async getSupportedAssets(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetSupportedAssetsResponse>> {
const localVarAxiosArgs = await localVarAxiosParamCreator.getSupportedAssets(options);
const index = configuration?.serverIndex ?? 0;
const operationBasePath = operationServerMap['BlockchainsAssetsApi.getSupportedAssets']?.[index]?.url;
Expand Down Expand Up @@ -168,7 +170,7 @@ export const BlockchainsAssetsApiFactory = function (configuration?: Configurati
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
getSupportedAssets(options?: RawAxiosRequestConfig): AxiosPromise<Array<AssetTypeResponse>> {
getSupportedAssets(options?: RawAxiosRequestConfig): AxiosPromise<GetSupportedAssetsResponse> {
return localVarFp.getSupportedAssets(options).then((request) => request(axios, basePath));
},
/**
Expand Down
32 changes: 16 additions & 16 deletions api/console-user-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ import { GetConsoleUsersResponse } from '../models';
export const ConsoleUserApiAxiosParamCreator = function (configuration?: Configuration) {
return {
/**
* creates fireblocks console user
* @summary create console user
* Creates console user in your tenant
* @summary Create console user
* @param {CreateConsoleUser} [createConsoleUser]
* @param {string} [idempotencyKey] A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours.
* @param {*} [options] Override http request option.
Expand Down Expand Up @@ -79,8 +79,8 @@ export const ConsoleUserApiAxiosParamCreator = function (configuration?: Configu
};
},
/**
* get console users from the current tenant
* @summary get console users
* Get console users for your tenant
* @summary Get console users
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
Expand Down Expand Up @@ -119,8 +119,8 @@ export const ConsoleUserApiFp = function(configuration?: Configuration) {
const localVarAxiosParamCreator = ConsoleUserApiAxiosParamCreator(configuration)
return {
/**
* creates fireblocks console user
* @summary create console user
* Creates console user in your tenant
* @summary Create console user
* @param {CreateConsoleUser} [createConsoleUser]
* @param {string} [idempotencyKey] A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours.
* @param {*} [options] Override http request option.
Expand All @@ -133,8 +133,8 @@ export const ConsoleUserApiFp = function(configuration?: Configuration) {
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
},
/**
* get console users from the current tenant
* @summary get console users
* Get console users for your tenant
* @summary Get console users
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
Expand All @@ -155,8 +155,8 @@ export const ConsoleUserApiFactory = function (configuration?: Configuration, ba
const localVarFp = ConsoleUserApiFp(configuration)
return {
/**
* creates fireblocks console user
* @summary create console user
* Creates console user in your tenant
* @summary Create console user
* @param {ConsoleUserApiCreateConsoleUserRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
Expand All @@ -165,8 +165,8 @@ export const ConsoleUserApiFactory = function (configuration?: Configuration, ba
return localVarFp.createConsoleUser(requestParameters.createConsoleUser, requestParameters.idempotencyKey, options).then((request) => request(axios, basePath));
},
/**
* get console users from the current tenant
* @summary get console users
* Get console users for your tenant
* @summary Get console users
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
Expand Down Expand Up @@ -205,8 +205,8 @@ export interface ConsoleUserApiCreateConsoleUserRequest {
*/
export class ConsoleUserApi extends BaseAPI {
/**
* creates fireblocks console user
* @summary create console user
* Creates console user in your tenant
* @summary Create console user
* @param {ConsoleUserApiCreateConsoleUserRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
Expand All @@ -217,8 +217,8 @@ export class ConsoleUserApi extends BaseAPI {
}

/**
* get console users from the current tenant
* @summary get console users
* Get console users for your tenant
* @summary Get console users
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof ConsoleUserApi
Expand Down
Loading

0 comments on commit 129dcc6

Please sign in to comment.