@basis-theory/basis-theory-js 1.12.0 → 1.15.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/BasisTheory.d.ts +24 -25
- package/BasisTheory.js +37 -24
- package/README.md +4 -0
- package/applications/BasisTheoryApplications.d.ts +3 -3
- package/applications/index.d.ts +0 -1
- package/applications/index.js +0 -17
- package/atomic/banks/BasisTheoryAtomicBanks.d.ts +5 -5
- package/atomic/banks/BasisTheoryAtomicBanks.js +1 -1
- package/atomic/banks/index.d.ts +0 -1
- package/atomic/banks/index.js +0 -17
- package/atomic/cards/BasisTheoryAtomicCards.d.ts +5 -5
- package/atomic/cards/BasisTheoryAtomicCards.js +1 -1
- package/atomic/cards/index.d.ts +0 -1
- package/atomic/cards/index.js +0 -17
- package/atomic/index.d.ts +2 -2
- package/atomic/index.js +8 -8
- package/common/constants.js +1 -1
- package/common/index.d.ts +0 -1
- package/common/index.js +0 -13
- package/common/utils.d.ts +3 -3
- package/common/utils.js +3 -3
- package/elements/constants.d.ts +5 -0
- package/elements/constants.js +14 -0
- package/elements/index.d.ts +3 -6
- package/elements/index.js +44 -1
- package/elements/load.d.ts +3 -0
- package/{common/elements.js → elements/load.js} +5 -3
- package/{common → elements}/script.d.ts +0 -0
- package/{common → elements}/script.js +0 -0
- package/elements/services/banks.d.ts +5 -0
- package/elements/services/banks.js +21 -0
- package/elements/services/cards.d.ts +5 -0
- package/elements/services/cards.js +21 -0
- package/elements/services/index.d.ts +4 -0
- package/elements/services/index.js +57 -0
- package/elements/services/tokenize.d.ts +5 -0
- package/elements/services/tokenize.js +21 -0
- package/elements/services/tokens.d.ts +5 -0
- package/elements/services/tokens.js +21 -0
- package/index.d.ts +2 -2
- package/logs/BasisTheoryLogs.d.ts +3 -2
- package/logs/index.d.ts +0 -1
- package/logs/index.js +0 -17
- package/package.json +2 -1
- package/permissions/BasisTheoryPermissions.d.ts +3 -2
- package/permissions/index.d.ts +0 -1
- package/permissions/index.js +1 -18
- package/reactor-formulas/BasisTheoryReactorFormulas.d.ts +3 -2
- package/reactor-formulas/index.d.ts +0 -1
- package/reactor-formulas/index.js +0 -17
- package/reactors/BasisTheoryReactors.d.ts +3 -2
- package/reactors/index.d.ts +0 -1
- package/reactors/index.js +0 -17
- package/service/CrudBuilder.d.ts +2 -17
- package/service/types.d.ts +1 -21
- package/tenants/BasisTheoryTenants.d.ts +3 -3
- package/tenants/index.d.ts +0 -1
- package/tenants/index.js +0 -17
- package/tokenize/BasisTheoryTokenize.d.ts +6 -0
- package/tokenize/BasisTheoryTokenize.js +24 -0
- package/tokenize/index.d.ts +1 -0
- package/tokenize/index.js +13 -0
- package/tokens/BasisTheoryTokens.d.ts +8 -7
- package/tokens/BasisTheoryTokens.js +4 -4
- package/tokens/index.d.ts +0 -1
- package/tokens/index.js +1 -18
- package/types.d.ts +10 -11
- package/applications/types.d.ts +0 -18
- package/applications/types.js +0 -8
- package/atomic/BasisTheoryAtomic.d.ts +0 -16
- package/atomic/BasisTheoryAtomic.js +0 -33
- package/atomic/banks/types.d.ts +0 -13
- package/atomic/banks/types.js +0 -1
- package/atomic/cards/types.d.ts +0 -31
- package/atomic/cards/types.js +0 -1
- package/atomic/types.d.ts +0 -18
- package/atomic/types.js +0 -1
- package/common/elements.d.ts +0 -2
- package/logs/types.d.ts +0 -18
- package/logs/types.js +0 -1
- package/permissions/types.d.ts +0 -10
- package/permissions/types.js +0 -8
- package/reactor-formulas/types.d.ts +0 -33
- package/reactor-formulas/types.js +0 -1
- package/reactors/types.d.ts +0 -21
- package/reactors/types.js +0 -1
- package/tenants/types.d.ts +0 -20
- package/tenants/types.js +0 -1
- package/tokens/types.d.ts +0 -42
- package/tokens/types.js +0 -1
package/types.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { BasisTheoryElementsInternal } from '@basis-theory/basis-theory-elements-interfaces/elements';
|
|
2
2
|
declare type InitStatus = 'not-started' | 'in-progress' | 'done' | 'error';
|
|
3
|
-
declare type Clients = 'tokens' | '
|
|
3
|
+
declare type Clients = 'tokens' | 'tokenize' | 'applications' | 'reactorFormulas' | 'reactors' | 'atomicBanks' | 'atomicCards' | 'permissions' | 'logs' | 'tenants';
|
|
4
4
|
declare type ClientsBasePathMap = {
|
|
5
5
|
[key in Clients]: string;
|
|
6
6
|
};
|
|
@@ -17,19 +17,18 @@ interface EncryptionOptions {
|
|
|
17
17
|
}
|
|
18
18
|
interface BasisTheoryInitOptions {
|
|
19
19
|
apiBaseUrl?: string;
|
|
20
|
-
elements?: boolean;
|
|
21
|
-
elementsBaseUrl?: string;
|
|
22
20
|
}
|
|
23
|
-
interface
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
21
|
+
interface BasisTheoryInitOptionsWithoutElements extends BasisTheoryInitOptions {
|
|
22
|
+
elements?: false;
|
|
23
|
+
}
|
|
24
|
+
interface BasisTheoryInitOptionsWithElements extends BasisTheoryInitOptions {
|
|
25
|
+
elements: true;
|
|
26
|
+
elementsBaseUrl?: string;
|
|
28
27
|
}
|
|
29
28
|
declare global {
|
|
30
29
|
interface Window {
|
|
31
|
-
BasisTheoryElements?:
|
|
30
|
+
BasisTheoryElements?: BasisTheoryElementsInternal;
|
|
32
31
|
}
|
|
33
32
|
}
|
|
34
33
|
export { algorithm };
|
|
35
|
-
export type { InitStatus, Clients, ClientsBasePathMap, Providers, Algorithm, EncryptionProviderOptions, EncryptionOptions, BasisTheoryInitOptions,
|
|
34
|
+
export type { InitStatus, Clients, ClientsBasePathMap, Providers, Algorithm, EncryptionProviderOptions, EncryptionOptions, BasisTheoryInitOptions, BasisTheoryInitOptionsWithoutElements, BasisTheoryInitOptionsWithElements, };
|
package/applications/types.d.ts
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import type { PaginatedQuery } from '../service';
|
|
2
|
-
import type { Auditable } from '../types';
|
|
3
|
-
declare const APPLICATION_TYPES: readonly ["server_to_server", "public", "elements", "management"];
|
|
4
|
-
declare type ApplicationType = typeof APPLICATION_TYPES[number];
|
|
5
|
-
interface Application extends Auditable {
|
|
6
|
-
id: string;
|
|
7
|
-
tenantId: string;
|
|
8
|
-
name: string;
|
|
9
|
-
key?: string;
|
|
10
|
-
type: ApplicationType;
|
|
11
|
-
permissions: string[];
|
|
12
|
-
}
|
|
13
|
-
declare type CreateApplicationModel = Pick<Application, 'name' | 'type'> & Partial<Pick<Application, 'permissions'>>;
|
|
14
|
-
declare type UpdateApplicationModel = Partial<Pick<Application, 'name' | 'permissions'>>;
|
|
15
|
-
interface ApplicationQuery extends PaginatedQuery {
|
|
16
|
-
id?: string | string[];
|
|
17
|
-
}
|
|
18
|
-
export { APPLICATION_TYPES, ApplicationType, Application, CreateApplicationModel, UpdateApplicationModel, ApplicationQuery, };
|
package/applications/types.js
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { BasisTheoryService } from '../service';
|
|
2
|
-
import type { AtomicBank, CreateAtomicBankModel } from './banks/types';
|
|
3
|
-
import type { AtomicCard, CreateAtomicCardModel } from './cards/types';
|
|
4
|
-
/**
|
|
5
|
-
* @deprecated use {@link BasisTheoryAtomicBanks} and {@link BasisTheoryAtomicCards} instead
|
|
6
|
-
*/
|
|
7
|
-
export declare class BasisTheoryAtomic extends BasisTheoryService {
|
|
8
|
-
/**
|
|
9
|
-
* @deprecated use {@link BasisTheoryAtomicCards.create} instead
|
|
10
|
-
*/
|
|
11
|
-
storeCreditCard(model: CreateAtomicCardModel): Promise<AtomicCard>;
|
|
12
|
-
/**
|
|
13
|
-
* @deprecated use {@link BasisTheoryAtomicBanks.create} instead
|
|
14
|
-
*/
|
|
15
|
-
storeBank(model: CreateAtomicBankModel): Promise<AtomicBank>;
|
|
16
|
-
}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.BasisTheoryAtomic = void 0;
|
|
7
|
-
|
|
8
|
-
var _common = require("../common");
|
|
9
|
-
|
|
10
|
-
var _service = require("../service");
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* @deprecated use {@link BasisTheoryAtomicBanks} and {@link BasisTheoryAtomicCards} instead
|
|
14
|
-
*/
|
|
15
|
-
class BasisTheoryAtomic extends _service.BasisTheoryService {
|
|
16
|
-
/**
|
|
17
|
-
* @deprecated use {@link BasisTheoryAtomicCards.create} instead
|
|
18
|
-
*/
|
|
19
|
-
storeCreditCard(model) {
|
|
20
|
-
return this.client.post('/cards', model).then(_common.dataExtractor);
|
|
21
|
-
}
|
|
22
|
-
/**
|
|
23
|
-
* @deprecated use {@link BasisTheoryAtomicBanks.create} instead
|
|
24
|
-
*/
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
storeBank(model) {
|
|
28
|
-
return this.client.post('/banks', model).then(_common.dataExtractor);
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
exports.BasisTheoryAtomic = BasisTheoryAtomic;
|
package/atomic/banks/types.d.ts
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import type { Atomic } from '../types';
|
|
2
|
-
interface Bank {
|
|
3
|
-
routingNumber: string;
|
|
4
|
-
accountNumber: string;
|
|
5
|
-
}
|
|
6
|
-
interface AtomicBank extends Atomic {
|
|
7
|
-
bank: Bank;
|
|
8
|
-
}
|
|
9
|
-
declare type CreateAtomicBankModel = Pick<AtomicBank, 'bank' | 'metadata'>;
|
|
10
|
-
interface UpdateAtomicBankModel {
|
|
11
|
-
bank: Partial<Bank>;
|
|
12
|
-
}
|
|
13
|
-
export type { Bank, AtomicBank, CreateAtomicBankModel, UpdateAtomicBankModel };
|
package/atomic/banks/types.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";
|
package/atomic/cards/types.d.ts
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import type { Atomic } from '../types';
|
|
2
|
-
interface AtomicCard extends Atomic {
|
|
3
|
-
card: Card;
|
|
4
|
-
billingDetails?: BillingDetails;
|
|
5
|
-
}
|
|
6
|
-
interface Card {
|
|
7
|
-
number: string;
|
|
8
|
-
expirationMonth?: number;
|
|
9
|
-
expirationYear?: number;
|
|
10
|
-
cvc?: string;
|
|
11
|
-
}
|
|
12
|
-
interface BillingDetails {
|
|
13
|
-
name?: string;
|
|
14
|
-
email?: string;
|
|
15
|
-
phone?: string;
|
|
16
|
-
address?: Address;
|
|
17
|
-
}
|
|
18
|
-
interface Address {
|
|
19
|
-
line1?: string;
|
|
20
|
-
line2?: string;
|
|
21
|
-
city?: string;
|
|
22
|
-
state?: string;
|
|
23
|
-
postalCode?: string;
|
|
24
|
-
country?: string;
|
|
25
|
-
}
|
|
26
|
-
declare type CreateAtomicCardModel = Pick<AtomicCard, 'card' | 'billingDetails' | 'metadata'>;
|
|
27
|
-
interface UpdateAtomicCardModel {
|
|
28
|
-
billingDetails?: BillingDetails;
|
|
29
|
-
card?: Partial<Card>;
|
|
30
|
-
}
|
|
31
|
-
export type { AtomicCard, Card, BillingDetails, Address, CreateAtomicCardModel, UpdateAtomicCardModel, };
|
package/atomic/cards/types.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";
|
package/atomic/types.d.ts
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import type { DataObject, TokenType } from '../tokens';
|
|
2
|
-
import type { Auditable } from '../types';
|
|
3
|
-
interface Atomic extends Auditable {
|
|
4
|
-
id: string;
|
|
5
|
-
tenantId: string;
|
|
6
|
-
type: TokenType;
|
|
7
|
-
fingerprint: string;
|
|
8
|
-
metadata?: Record<string, string>;
|
|
9
|
-
}
|
|
10
|
-
interface ReactRequest {
|
|
11
|
-
reactorId: string;
|
|
12
|
-
requestParameters?: Record<string, unknown>;
|
|
13
|
-
}
|
|
14
|
-
interface ReactResponse {
|
|
15
|
-
tokens: DataObject;
|
|
16
|
-
raw: DataObject;
|
|
17
|
-
}
|
|
18
|
-
export type { Atomic, ReactRequest, ReactResponse };
|
package/atomic/types.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";
|
package/common/elements.d.ts
DELETED
package/logs/types.d.ts
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import type { PaginatedQuery } from '../service';
|
|
2
|
-
interface Log {
|
|
3
|
-
tenantId: string;
|
|
4
|
-
actorId?: string;
|
|
5
|
-
actorType?: string;
|
|
6
|
-
entityType: string;
|
|
7
|
-
entityId: string;
|
|
8
|
-
operation: string;
|
|
9
|
-
message: string;
|
|
10
|
-
createdAt: string;
|
|
11
|
-
}
|
|
12
|
-
interface LogQuery extends PaginatedQuery {
|
|
13
|
-
entityType?: string;
|
|
14
|
-
entityId?: string;
|
|
15
|
-
startDate?: string;
|
|
16
|
-
endDate?: string;
|
|
17
|
-
}
|
|
18
|
-
export type { Log, LogQuery };
|
package/logs/types.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";
|
package/permissions/types.d.ts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { ApplicationType } from '../applications';
|
|
2
|
-
declare const PERMISSION_TYPES: readonly ["tenant:read", "tenant:update", "tenant:delete", "application:read", "application:create", "application:update", "application:create", "reactor:read", "reactor:create", "reactor:update", "reactor:delete", "log:read", "token:read", "token:create", "token:delete", "token:decrypt", "card:read", "card:create", "card:update", "card:delete", "bank:read", "bank:create", "bank:update", "bank:delete", "bank:decrypt"];
|
|
3
|
-
declare type PermissionType = typeof PERMISSION_TYPES[number];
|
|
4
|
-
interface Permission {
|
|
5
|
-
type: PermissionType;
|
|
6
|
-
description: string;
|
|
7
|
-
applicationTypes: ApplicationType[];
|
|
8
|
-
}
|
|
9
|
-
export { PERMISSION_TYPES };
|
|
10
|
-
export type { PermissionType, Permission };
|
package/permissions/types.js
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.PERMISSION_TYPES = void 0;
|
|
7
|
-
const PERMISSION_TYPES = ['tenant:read', 'tenant:update', 'tenant:delete', 'application:read', 'application:create', 'application:update', 'application:create', 'reactor:read', 'reactor:create', 'reactor:update', 'reactor:delete', 'log:read', 'token:read', 'token:create', 'token:delete', 'token:decrypt', 'card:read', 'card:create', 'card:update', 'card:delete', 'bank:read', 'bank:create', 'bank:update', 'bank:delete', 'bank:decrypt'];
|
|
8
|
-
exports.PERMISSION_TYPES = PERMISSION_TYPES;
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import type { PaginatedQuery } from '../service';
|
|
2
|
-
import type { TokenType } from '../tokens';
|
|
3
|
-
import type { Auditable } from '../types';
|
|
4
|
-
declare type FormulaType = 'official' | 'private';
|
|
5
|
-
declare type DataType = 'string' | 'boolean' | 'number';
|
|
6
|
-
interface ReactorFormula extends Auditable {
|
|
7
|
-
id: string;
|
|
8
|
-
name: string;
|
|
9
|
-
description?: string;
|
|
10
|
-
type: FormulaType;
|
|
11
|
-
sourceTokenType: TokenType;
|
|
12
|
-
icon?: string;
|
|
13
|
-
code: string;
|
|
14
|
-
configuration: ReactorFormulaConfig[];
|
|
15
|
-
requestParameters: ReactorFormulaRequestParam[];
|
|
16
|
-
}
|
|
17
|
-
interface ReactorFormulaConfig {
|
|
18
|
-
name: string;
|
|
19
|
-
description?: string;
|
|
20
|
-
type: DataType;
|
|
21
|
-
}
|
|
22
|
-
interface ReactorFormulaRequestParam {
|
|
23
|
-
name: string;
|
|
24
|
-
description?: string;
|
|
25
|
-
type: DataType;
|
|
26
|
-
optional?: boolean;
|
|
27
|
-
}
|
|
28
|
-
declare type CreateReactorFormulaModel = Omit<ReactorFormula, 'id' | 'createdAt' | 'createdBy' | 'modifiedAt' | 'modifiedBy'>;
|
|
29
|
-
interface ReactorFormulaQuery extends PaginatedQuery {
|
|
30
|
-
name?: string;
|
|
31
|
-
sourceTokenType?: TokenType;
|
|
32
|
-
}
|
|
33
|
-
export type { FormulaType, DataType, ReactorFormula, ReactorFormulaConfig, ReactorFormulaRequestParam, CreateReactorFormulaModel, ReactorFormulaQuery, };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";
|
package/reactors/types.d.ts
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import type { ReactorFormula } from '../reactor-formulas/types';
|
|
2
|
-
import type { PaginatedQuery } from '../service';
|
|
3
|
-
import type { TokenType } from '../tokens/types';
|
|
4
|
-
import type { Auditable } from '../types';
|
|
5
|
-
interface Reactor extends Auditable {
|
|
6
|
-
id: string;
|
|
7
|
-
tenantId: string;
|
|
8
|
-
name: string;
|
|
9
|
-
formula: ReactorFormula;
|
|
10
|
-
configuration: Record<string, string>;
|
|
11
|
-
}
|
|
12
|
-
declare type CreateReactorModel = Pick<Reactor, 'name' | 'configuration'> & {
|
|
13
|
-
formula: Pick<ReactorFormula, 'id'>;
|
|
14
|
-
};
|
|
15
|
-
declare type UpdateReactorModel = Pick<Reactor, 'name' | 'configuration'>;
|
|
16
|
-
interface ReactorQuery extends PaginatedQuery {
|
|
17
|
-
id?: string | string[];
|
|
18
|
-
name?: string;
|
|
19
|
-
sourceTokenType?: TokenType;
|
|
20
|
-
}
|
|
21
|
-
export type { Reactor, CreateReactorModel, UpdateReactorModel, ReactorQuery };
|
package/reactors/types.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";
|
package/tenants/types.d.ts
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import type { Auditable } from '../types';
|
|
2
|
-
interface Tenant extends Auditable {
|
|
3
|
-
id: string;
|
|
4
|
-
ownerId: string;
|
|
5
|
-
name: string;
|
|
6
|
-
}
|
|
7
|
-
declare type UpdateTenantModel = Pick<Tenant, 'name'>;
|
|
8
|
-
interface TenantUsageReport {
|
|
9
|
-
tokenReport: TokenReport;
|
|
10
|
-
}
|
|
11
|
-
interface TokenReport {
|
|
12
|
-
metricsByType: Record<string, TokenTypeMetrics>;
|
|
13
|
-
includedMonthlyActiveTokens: number;
|
|
14
|
-
monthlyActiveTokens: number;
|
|
15
|
-
}
|
|
16
|
-
interface TokenTypeMetrics {
|
|
17
|
-
count: number;
|
|
18
|
-
lastCreatedAt?: string;
|
|
19
|
-
}
|
|
20
|
-
export type { Tenant, UpdateTenantModel, TenantUsageReport, TokenReport, TokenTypeMetrics, };
|
package/tenants/types.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";
|
package/tokens/types.d.ts
DELETED
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import type { PaginatedQuery } from '../service';
|
|
2
|
-
import type { Auditable } from '../types';
|
|
3
|
-
declare type Primitive = string | number | boolean | null;
|
|
4
|
-
declare type DataObject = {
|
|
5
|
-
[member: string]: TokenData;
|
|
6
|
-
};
|
|
7
|
-
declare type DataArray = Array<TokenData>;
|
|
8
|
-
declare type TokenData = Primitive | DataObject | DataArray;
|
|
9
|
-
declare type TokenType = 'token' | 'card' | 'bank';
|
|
10
|
-
interface TokenEncryptionKey {
|
|
11
|
-
key: string;
|
|
12
|
-
alg: string;
|
|
13
|
-
}
|
|
14
|
-
interface TokenEncryption {
|
|
15
|
-
cek: TokenEncryptionKey;
|
|
16
|
-
kek: TokenEncryptionKey;
|
|
17
|
-
}
|
|
18
|
-
interface Token extends Auditable {
|
|
19
|
-
id: string;
|
|
20
|
-
tenantId: string;
|
|
21
|
-
type: TokenType;
|
|
22
|
-
data: TokenData;
|
|
23
|
-
fingerprint?: string;
|
|
24
|
-
metadata?: Record<string, string>;
|
|
25
|
-
encryption?: TokenEncryption;
|
|
26
|
-
children?: Token[];
|
|
27
|
-
}
|
|
28
|
-
declare type CreateTokenModel = Pick<Token, 'type' | 'data' | 'metadata' | 'encryption' | 'children'>;
|
|
29
|
-
interface RetrieveTokenQuery {
|
|
30
|
-
children?: boolean;
|
|
31
|
-
childrenType?: TokenType | TokenType[];
|
|
32
|
-
}
|
|
33
|
-
interface ListTokensQuery extends PaginatedQuery {
|
|
34
|
-
id?: string | string[];
|
|
35
|
-
type?: TokenType | TokenType[];
|
|
36
|
-
children?: boolean;
|
|
37
|
-
childrenType?: TokenType | TokenType[];
|
|
38
|
-
}
|
|
39
|
-
interface ListTokensQueryDecrypted extends ListTokensQuery {
|
|
40
|
-
decryptType?: TokenType | TokenType[];
|
|
41
|
-
}
|
|
42
|
-
export type { Primitive, DataObject, DataArray, TokenData, TokenType, TokenEncryptionKey, TokenEncryption, Token, CreateTokenModel, RetrieveTokenQuery, ListTokensQuery, ListTokensQueryDecrypted, };
|
package/tokens/types.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";
|