@basis-theory/basis-theory-js 1.49.0 → 1.50.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 +3 -3
- package/applications/BasisTheoryApplications.d.ts +2 -2
- package/common/BasisTheoryValidationError.d.ts +1 -1
- package/common/constants.d.ts +1 -1
- package/common/utils.d.ts +1 -1
- package/elements/load.d.ts +1 -1
- package/elements/services/tokenize.d.ts +3 -3
- package/elements/services/tokens.d.ts +3 -3
- package/index.d.ts +1 -1
- package/logs/BasisTheoryLogs.d.ts +2 -2
- package/package.json +1 -1
- package/permissions/BasisTheoryPermissions.d.ts +3 -3
- package/proxies/BasisTheoryProxies.d.ts +2 -2
- package/reactor-formulas/BasisTheoryReactorFormulas.d.ts +2 -2
- package/reactors/BasisTheoryReactors.d.ts +3 -3
- package/service/CrudBuilder.d.ts +1 -1
- package/service/types.d.ts +1 -1
- package/tenants/BasisTheoryTenants.d.ts +4 -4
- package/tokenize/BasisTheoryTokenize.d.ts +3 -3
- package/tokens/BasisTheoryTokens.d.ts +3 -3
- package/types/elements/options.d.ts +19 -5
- package/types/elements/services/tokenize.d.ts +3 -3
- package/types/elements/services/tokens.d.ts +3 -3
- package/types/elements/shared.d.ts +1 -1
- package/types/sdk/sdk.d.ts +1 -1
- package/types/sdk/services/applications.d.ts +1 -1
- package/types/sdk/services/logs.d.ts +1 -1
- package/types/sdk/services/permissions.d.ts +1 -1
- package/types/sdk/services/proxies.d.ts +2 -2
- package/types/sdk/services/reactor-formulas.d.ts +1 -1
- package/types/sdk/services/reactors.d.ts +1 -1
- package/types/sdk/services/tenants.d.ts +1 -1
- package/types/sdk/services/tokenize.d.ts +1 -1
- package/types/sdk/services/tokens.d.ts +1 -1
package/BasisTheory.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { BasisTheoryElements, CardElement, CardNumberElement, CardExpirationDateElement, CardVerificationCodeElement, CreateCardElementOptions, CreateCardNumberElementOptions, CreateCardExpirationDateElementOptions, CreateCardVerificationCodeElementOptions, CreateTextElementOptions, TextElement, TokenizeData as ElementsTokenizeData, Tokens as ElementsTokens } from '
|
|
2
|
-
import type { TokenizeData } from '
|
|
3
|
-
import type { Applications, BasisTheory as IBasisTheory, BasisTheoryInit, Logs, Permissions, ReactorFormulas, Reactors, RequestOptions, Tenants, Tokens, BasisTheoryInitOptions, BasisTheoryInitOptionsWithElements, BasisTheoryInitOptionsWithoutElements, Proxies } from '
|
|
1
|
+
import type { BasisTheoryElements, CardElement, CardNumberElement, CardExpirationDateElement, CardVerificationCodeElement, CreateCardElementOptions, CreateCardNumberElementOptions, CreateCardExpirationDateElementOptions, CreateCardVerificationCodeElementOptions, CreateTextElementOptions, TextElement, TokenizeData as ElementsTokenizeData, Tokens as ElementsTokens } from './types/elements';
|
|
2
|
+
import type { TokenizeData } from './types/models';
|
|
3
|
+
import type { Applications, BasisTheory as IBasisTheory, BasisTheoryInit, Logs, Permissions, ReactorFormulas, Reactors, RequestOptions, Tenants, Tokens, BasisTheoryInitOptions, BasisTheoryInitOptionsWithElements, BasisTheoryInitOptionsWithoutElements, Proxies } from './types/sdk';
|
|
4
4
|
export declare class BasisTheory implements BasisTheoryInit, IBasisTheory, BasisTheoryElements {
|
|
5
5
|
private _initStatus;
|
|
6
6
|
private _initOptions?;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { Application, CreateApplication } from '
|
|
2
|
-
import type { ListApplicationsQuery, RequestOptions } from '
|
|
1
|
+
import type { Application, CreateApplication } from '../types/models';
|
|
2
|
+
import type { ListApplicationsQuery, RequestOptions } from '../types/sdk';
|
|
3
3
|
export declare const BasisTheoryApplications: {
|
|
4
4
|
new (options: import("../service/types").BasisTheoryServiceOptions): {
|
|
5
5
|
/**
|
package/common/constants.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { BasisTheoryServicesBasePathMap } from '
|
|
1
|
+
import type { BasisTheoryServicesBasePathMap } from '../types/sdk';
|
|
2
2
|
declare const API_KEY_HEADER = "BT-API-KEY";
|
|
3
3
|
declare const BT_TRACE_ID_HEADER = "bt-trace-id";
|
|
4
4
|
declare const CONTENT_TYPE_HEADER = "Content-Type";
|
package/common/utils.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { AxiosRequestConfig, AxiosResponse, AxiosTransformer } from 'axios';
|
|
2
|
-
import type { ApplicationInfo, RequestOptions } from '
|
|
2
|
+
import type { ApplicationInfo, RequestOptions } from '../types/sdk';
|
|
3
3
|
declare const assertInit: <T>(prop: T) => NonNullable<T>;
|
|
4
4
|
declare const transformRequestSnakeCase: AxiosTransformer;
|
|
5
5
|
declare const proxyRaw: AxiosTransformer;
|
package/elements/load.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { BasisTheoryTokenize } from '
|
|
2
|
-
import type { Tokenize as ElementsTokenize, BasisTheoryElementsInternal } from '
|
|
3
|
-
import type { Tokenize } from '
|
|
1
|
+
import { BasisTheoryTokenize } from '../../tokenize';
|
|
2
|
+
import type { Tokenize as ElementsTokenize, BasisTheoryElementsInternal } from '../../types/elements';
|
|
3
|
+
import type { Tokenize } from '../../types/sdk';
|
|
4
4
|
declare const delegateTokenize: (elements?: BasisTheoryElementsInternal | undefined) => new (options: import("../../service/types").BasisTheoryServiceOptions) => ElementsTokenize & Tokenize;
|
|
5
5
|
export { delegateTokenize };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { BasisTheoryTokens } from '
|
|
2
|
-
import type { Tokens as ElementsTokens, BasisTheoryElementsInternal } from '
|
|
3
|
-
import type { Tokens } from '
|
|
1
|
+
import { BasisTheoryTokens } from '../../tokens';
|
|
2
|
+
import type { Tokens as ElementsTokens, BasisTheoryElementsInternal } from '../../types/elements';
|
|
3
|
+
import type { Tokens } from '../../types/sdk';
|
|
4
4
|
declare const delegateTokens: (elements?: BasisTheoryElementsInternal | undefined) => new (options: import("../../service/types").BasisTheoryServiceOptions) => ElementsTokens & Tokens;
|
|
5
5
|
export { delegateTokens };
|
package/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { Log } from '
|
|
2
|
-
import type { ListLogQuery } from '
|
|
1
|
+
import type { Log } from '../types/models';
|
|
2
|
+
import type { ListLogQuery } from '../types/sdk';
|
|
3
3
|
export declare const BasisTheoryLogs: {
|
|
4
4
|
new (options: import("../service/types").BasisTheoryServiceOptions): {
|
|
5
5
|
readonly client: import("axios").AxiosInstance;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { BasisTheoryService } from '
|
|
2
|
-
import type { Permission } from '
|
|
3
|
-
import type { RequestOptions } from '
|
|
1
|
+
import { BasisTheoryService } from '../service';
|
|
2
|
+
import type { Permission } from '../types/models';
|
|
3
|
+
import type { RequestOptions } from '../types/sdk';
|
|
4
4
|
export declare class BasisTheoryPermissions extends BasisTheoryService {
|
|
5
5
|
list(options?: RequestOptions): Promise<Permission[]>;
|
|
6
6
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { Proxy } from '
|
|
2
|
-
import type { ListProxyQuery } from '
|
|
1
|
+
import type { Proxy } from '../types/models';
|
|
2
|
+
import type { ListProxyQuery } from '../types/sdk';
|
|
3
3
|
export declare const BasisTheoryProxies: {
|
|
4
4
|
new (options: import("../service/types").BasisTheoryServiceOptions): {
|
|
5
5
|
readonly client: import("axios").AxiosInstance;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { ReactorFormula } from '
|
|
2
|
-
import type { ListReactorFormulaQuery } from '
|
|
1
|
+
import type { ReactorFormula } from '../types/models';
|
|
2
|
+
import type { ListReactorFormulaQuery } from '../types/sdk';
|
|
3
3
|
export declare const BasisTheoryReactorFormulas: {
|
|
4
4
|
new (options: import("../service/types").BasisTheoryServiceOptions): {
|
|
5
5
|
readonly client: import("axios").AxiosInstance;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { BasisTheoryServiceOptions } from '
|
|
2
|
-
import type { Reactor, CreateReactor, UpdateReactor, ReactResponse } from '
|
|
3
|
-
import type { ListReactorQuery, ReactRequest, RequestOptions } from '
|
|
1
|
+
import type { BasisTheoryServiceOptions } from '../service';
|
|
2
|
+
import type { Reactor, CreateReactor, UpdateReactor, ReactResponse } from '../types/models';
|
|
3
|
+
import type { ListReactorQuery, ReactRequest, RequestOptions } from '../types/sdk';
|
|
4
4
|
export declare const BasisTheoryReactors: {
|
|
5
5
|
new (options: BasisTheoryServiceOptions): {
|
|
6
6
|
react(reactorId: string, request: ReactRequest, options?: RequestOptions | undefined): Promise<ReactResponse>;
|
package/service/CrudBuilder.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { PaginatedQuery, Create as ICreate, Retrieve as IRetrieve, Update as IUpdate, Delete as IDelete, List as IList } from '
|
|
1
|
+
import type { PaginatedQuery, Create as ICreate, Retrieve as IRetrieve, Update as IUpdate, Delete as IDelete, List as IList } from '../types/sdk';
|
|
2
2
|
import { BasisTheoryService } from './BasisTheoryService';
|
|
3
3
|
declare type BasisTheoryServiceConstructor<T extends BasisTheoryService = BasisTheoryService> = new (...params: any[]) => T;
|
|
4
4
|
declare type ICreateConstructor<T, C> = new (...args: any[]) => ICreate<T, C>;
|
package/service/types.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { AxiosRequestConfig } from 'axios';
|
|
2
|
-
import type { ApplicationInfo } from '
|
|
2
|
+
import type { ApplicationInfo } from '../types/sdk';
|
|
3
3
|
interface BasisTheoryServiceOptions extends Pick<AxiosRequestConfig, 'transformRequest' | 'transformResponse'> {
|
|
4
4
|
apiKey: string;
|
|
5
5
|
baseURL: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type { Tenant, TenantUsageReport, UpdateTenant, CreateTenantInvitation, TenantInvitation, TenantMember } from '
|
|
2
|
-
import type { RequestOptions } from '
|
|
3
|
-
import type { PaginatedList } from '
|
|
4
|
-
import type { ListTenantInvitationsQuery, ListTenantMembersQuery } from '
|
|
1
|
+
import type { Tenant, TenantUsageReport, UpdateTenant, CreateTenantInvitation, TenantInvitation, TenantMember } from '../types/models';
|
|
2
|
+
import type { RequestOptions } from '../types/sdk/services';
|
|
3
|
+
import type { PaginatedList } from '../types/sdk/services/shared';
|
|
4
|
+
import type { ListTenantInvitationsQuery, ListTenantMembersQuery } from '../types/sdk/services/tenants';
|
|
5
5
|
export declare const BasisTheoryTenants: {
|
|
6
6
|
new (options: import("../service/types").BasisTheoryServiceOptions): {
|
|
7
7
|
retrieve(options?: RequestOptions | undefined): Promise<Tenant>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { BasisTheoryService } from '
|
|
2
|
-
import type { TokenizeData } from '
|
|
3
|
-
import type { RequestOptions } from '
|
|
1
|
+
import { BasisTheoryService } from '../service';
|
|
2
|
+
import type { TokenizeData } from '../types/models';
|
|
3
|
+
import type { RequestOptions } from '../types/sdk';
|
|
4
4
|
export declare class BasisTheoryTokenize extends BasisTheoryService {
|
|
5
5
|
tokenize(tokens: TokenizeData, options?: RequestOptions): Promise<TokenizeData>;
|
|
6
6
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { BasisTheoryServiceOptions } from '
|
|
2
|
-
import type { Token, CreateToken, UpdateToken } from '
|
|
3
|
-
import type { PaginatedList, RequestOptions, ListTokensQuery, SearchTokensRequest } from '
|
|
1
|
+
import { BasisTheoryServiceOptions } from '../service';
|
|
2
|
+
import type { Token, CreateToken, UpdateToken } from '../types/models';
|
|
3
|
+
import type { PaginatedList, RequestOptions, ListTokensQuery, SearchTokensRequest } from '../types/sdk';
|
|
4
4
|
export declare const BasisTheoryTokens: {
|
|
5
5
|
new (options: BasisTheoryServiceOptions): {
|
|
6
6
|
retrieve(id: string, options?: RequestOptions): Promise<Token>;
|
|
@@ -20,6 +20,7 @@ interface SanitizedElementOptions {
|
|
|
20
20
|
iconPosition?: string;
|
|
21
21
|
cardBrand?: string;
|
|
22
22
|
autoComplete?: string;
|
|
23
|
+
value?: string;
|
|
23
24
|
}
|
|
24
25
|
declare type ElementOptions = ElementInternalOptions & SanitizedElementOptions;
|
|
25
26
|
declare type Transform = RegExp | [RegExp, string?] | null;
|
|
@@ -30,23 +31,36 @@ interface AutoCompleteOption {
|
|
|
30
31
|
autoComplete?: AutoCompleteValue;
|
|
31
32
|
}
|
|
32
33
|
declare type CustomizableElementOptions = Pick<ElementOptions, 'style' | 'disabled'> & AutoCompleteOption;
|
|
33
|
-
|
|
34
|
+
interface CardElementValue {
|
|
35
|
+
number?: string;
|
|
36
|
+
expiration_month?: number;
|
|
37
|
+
expiration_year?: number;
|
|
38
|
+
cvc?: string;
|
|
39
|
+
}
|
|
40
|
+
interface CardExpirationDateValue {
|
|
41
|
+
month: number;
|
|
42
|
+
year: number;
|
|
43
|
+
}
|
|
44
|
+
declare type CreateCardElementOptions = CustomizableElementOptions & {
|
|
45
|
+
value?: CardElementValue;
|
|
46
|
+
};
|
|
34
47
|
declare type UpdateCardElementOptions = CreateCardElementOptions;
|
|
35
|
-
declare type CreateTextElementOptions = CustomizableElementOptions & Pick<ElementOptions, 'placeholder' | 'mask' | 'password'> & TransformOption & Required<Pick<ElementOptions, 'targetId'>> & {
|
|
48
|
+
declare type CreateTextElementOptions = CustomizableElementOptions & Pick<ElementOptions, 'placeholder' | 'mask' | 'password' | 'value'> & TransformOption & Required<Pick<ElementOptions, 'targetId'>> & {
|
|
36
49
|
'aria-label'?: string;
|
|
37
50
|
};
|
|
38
51
|
declare type UpdateTextElementOptions = Omit<CreateTextElementOptions, 'targetId' | 'mask'>;
|
|
39
|
-
declare type CreateCardNumberElementOptions = CustomizableElementOptions & Pick<ElementOptions, 'placeholder' | 'iconPosition'> & Required<Pick<ElementOptions, 'targetId'>> & {
|
|
52
|
+
declare type CreateCardNumberElementOptions = CustomizableElementOptions & Pick<ElementOptions, 'placeholder' | 'iconPosition' | 'value'> & Required<Pick<ElementOptions, 'targetId'>> & {
|
|
40
53
|
'aria-label'?: string;
|
|
41
54
|
};
|
|
42
55
|
declare type UpdateCardNumberElementOptions = Omit<CreateCardNumberElementOptions, 'targetId'>;
|
|
43
56
|
declare type CreateCardExpirationDateElementOptions = CustomizableElementOptions & Pick<ElementOptions, 'placeholder'> & Required<Pick<ElementOptions, 'targetId'>> & {
|
|
44
57
|
'aria-label'?: string;
|
|
58
|
+
value?: CardExpirationDateValue;
|
|
45
59
|
};
|
|
46
60
|
declare type UpdateCardExpirationDateElementOptions = Omit<CreateCardExpirationDateElementOptions, 'targetId'>;
|
|
47
|
-
declare type CreateCardVerificationCodeElementOptions = CustomizableElementOptions & Pick<ElementOptions, 'placeholder' | 'cardBrand'> & Required<Pick<ElementOptions, 'targetId'>> & {
|
|
61
|
+
declare type CreateCardVerificationCodeElementOptions = CustomizableElementOptions & Pick<ElementOptions, 'placeholder' | 'cardBrand' | 'value'> & Required<Pick<ElementOptions, 'targetId'>> & {
|
|
48
62
|
'aria-label'?: string;
|
|
49
63
|
};
|
|
50
64
|
declare type UpdateCardVerificationCodeElementOptions = Omit<CreateCardVerificationCodeElementOptions, 'targetId'>;
|
|
51
|
-
export type { ElementInternalOptions, ElementType, ElementOptions, SanitizedElementOptions, Transform, CustomizableElementOptions, CreateCardElementOptions, UpdateCardElementOptions, CreateTextElementOptions, UpdateTextElementOptions, CreateCardNumberElementOptions, UpdateCardNumberElementOptions, CreateCardExpirationDateElementOptions, UpdateCardExpirationDateElementOptions, CreateCardVerificationCodeElementOptions, UpdateCardVerificationCodeElementOptions, };
|
|
65
|
+
export type { ElementInternalOptions, ElementType, ElementOptions, SanitizedElementOptions, Transform, CustomizableElementOptions, CreateCardElementOptions, UpdateCardElementOptions, CreateTextElementOptions, UpdateTextElementOptions, CreateCardNumberElementOptions, UpdateCardNumberElementOptions, CreateCardExpirationDateElementOptions, UpdateCardExpirationDateElementOptions, CreateCardVerificationCodeElementOptions, UpdateCardVerificationCodeElementOptions, CardElementValue, CardExpirationDateValue, };
|
|
52
66
|
export { ELEMENTS_TYPES };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { ElementValue } from '
|
|
2
|
-
import type { TokenizeData as TokenizeDataModel } from '
|
|
3
|
-
import type { RequestOptions } from '
|
|
1
|
+
import type { ElementValue } from '../../../types/elements';
|
|
2
|
+
import type { TokenizeData as TokenizeDataModel } from '../../../types/models';
|
|
3
|
+
import type { RequestOptions } from '../../../types/sdk';
|
|
4
4
|
declare type TokenizeData = TokenizeDataModel<ElementValue>;
|
|
5
5
|
interface Tokenize {
|
|
6
6
|
tokenize(tokens: TokenizeData, options?: RequestOptions): Promise<TokenizeDataModel>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { ElementValue } from '
|
|
2
|
-
import type { CreateToken as CreateTokenModel, UpdateToken as UpdateTokenModel, Token } from '
|
|
3
|
-
import type { Create, Update } from '
|
|
1
|
+
import type { ElementValue } from '../../../types/elements';
|
|
2
|
+
import type { CreateToken as CreateTokenModel, UpdateToken as UpdateTokenModel, Token } from '../../../types/models';
|
|
3
|
+
import type { Create, Update } from '../../../types/sdk';
|
|
4
4
|
declare type CreateToken = CreateTokenModel<ElementValue>;
|
|
5
5
|
declare type UpdateToken = UpdateTokenModel<ElementValue>;
|
|
6
6
|
declare type Tokens = Create<Token, CreateToken> & Update<Token, UpdateToken>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AUTOCOMPLETE_VALUES, CARD_BRANDS, CARD_ICON_POSITIONS } from '
|
|
1
|
+
import { AUTOCOMPLETE_VALUES, CARD_BRANDS, CARD_ICON_POSITIONS } from '../../elements/constants';
|
|
2
2
|
declare type FieldErrorType = 'incomplete' | 'invalid';
|
|
3
3
|
declare type ConfigErrorType = 'missing-configuration' | 'missing-permission' | 'invalid-configuration';
|
|
4
4
|
interface ConfigError {
|
package/types/sdk/sdk.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { BasisTheoryElements } from '
|
|
1
|
+
import type { BasisTheoryElements } from '../../types/elements';
|
|
2
2
|
import type { Tokens, Tokenize, Applications, Tenants, Logs, ReactorFormulas, Reactors, Permissions, Proxies } from './services';
|
|
3
3
|
interface ApplicationInfo {
|
|
4
4
|
name?: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { Application, CreateApplication, UpdateApplication } from '
|
|
1
|
+
import type { Application, CreateApplication, UpdateApplication } from '../../../types/models';
|
|
2
2
|
import type { Create, Delete, List, PaginatedQuery, RequestOptions, Retrieve, Update } from './shared';
|
|
3
3
|
interface ListApplicationsQuery extends PaginatedQuery {
|
|
4
4
|
id?: string | string[];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { CreateProxy, Proxy, UpdateProxy } from '
|
|
2
|
-
import type { Create, Delete, List, PaginatedQuery, Retrieve, Update } from '
|
|
1
|
+
import type { CreateProxy, Proxy, UpdateProxy } from '../../../types/models/proxies';
|
|
2
|
+
import type { Create, Delete, List, PaginatedQuery, Retrieve, Update } from '../../../types/sdk';
|
|
3
3
|
interface ListProxyQuery extends PaginatedQuery {
|
|
4
4
|
id?: string | string[];
|
|
5
5
|
name?: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { CreateReactorFormula, ReactorFormula } from '
|
|
1
|
+
import type { CreateReactorFormula, ReactorFormula } from '../../../types/models';
|
|
2
2
|
import type { Create, Delete, List, PaginatedQuery, Retrieve, Update } from './shared';
|
|
3
3
|
interface ListReactorFormulaQuery extends PaginatedQuery {
|
|
4
4
|
name?: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { CreateReactor, UpdateReactor, Reactor, DataObject, ReactResponse } from '
|
|
1
|
+
import type { CreateReactor, UpdateReactor, Reactor, DataObject, ReactResponse } from '../../../types/models';
|
|
2
2
|
import type { Create, Delete, List, PaginatedQuery, Retrieve, Update, RequestOptions } from './shared';
|
|
3
3
|
interface ListReactorQuery extends PaginatedQuery {
|
|
4
4
|
id?: string | string[];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { CreateTenantInvitation, Tenant, TenantInvitation, TenantMember, TenantUsageReport, UpdateTenant } from '
|
|
1
|
+
import type { CreateTenantInvitation, Tenant, TenantInvitation, TenantMember, TenantUsageReport, UpdateTenant } from '../../../types/models';
|
|
2
2
|
import type { PaginatedList, RequestOptions } from './shared';
|
|
3
3
|
import { PaginatedQuery } from './shared';
|
|
4
4
|
interface ListTenantInvitationsQuery extends PaginatedQuery {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { Token, CreateToken, TokenType, UpdateToken } from '
|
|
1
|
+
import type { Token, CreateToken, TokenType, UpdateToken } from '../../../types/models';
|
|
2
2
|
import type { Create, Retrieve, Delete, List, RequestOptions, PaginatedQuery, PaginatedList, Update } from './shared';
|
|
3
3
|
interface ListTokensQuery extends PaginatedQuery {
|
|
4
4
|
id?: string | string[];
|