@basis-theory/basis-theory-js 1.32.1 → 1.33.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/package.json
CHANGED
|
@@ -11,5 +11,5 @@ export declare const BasisTheoryTokens: {
|
|
|
11
11
|
search(searchRequest: SearchTokensRequest, options?: RequestOptions | undefined): Promise<PaginatedList<Token>>;
|
|
12
12
|
readonly client: import("axios").AxiosInstance;
|
|
13
13
|
};
|
|
14
|
-
} & (new (...args: any[]) => import("../types/sdk/services/shared").Create<Token<import("../types/models/shared").Primitive>, Pick<Token<import("../types/models/shared").Primitive>, "type" | "data" | "privacy" | "metadata" | "encryption" | "searchIndexes">>) & (new (...args: any[]) => import("../types/sdk/services/shared").Delete) & (new (...args: any[]) => import("../types/sdk/services/shared").List<Token<import("../types/models/shared").Primitive>, ListTokensQuery>);
|
|
14
|
+
} & (new (...args: any[]) => import("../types/sdk/services/shared").Create<Token<import("../types/models/shared").Primitive>, Pick<Token<import("../types/models/shared").Primitive>, "type" | "data" | "privacy" | "metadata" | "encryption" | "searchIndexes" | "fingerprintExpression">>) & (new (...args: any[]) => import("../types/sdk/services/shared").Delete) & (new (...args: any[]) => import("../types/sdk/services/shared").List<Token<import("../types/models/shared").Primitive>, ListTokensQuery>);
|
|
15
15
|
export declare type BasisTheoryTokens = InstanceType<typeof BasisTheoryTokens>;
|
package/types/models/tokens.d.ts
CHANGED
|
@@ -28,7 +28,8 @@ interface Token<DataType = Primitive> extends TokenBase {
|
|
|
28
28
|
privacy?: TokenPrivacy;
|
|
29
29
|
encryption?: TokenEncryption;
|
|
30
30
|
searchIndexes?: string[];
|
|
31
|
+
fingerprintExpression?: string;
|
|
31
32
|
}
|
|
32
|
-
declare type CreateToken<DataType = Primitive> = Pick<Token<DataType>, 'type' | 'data' | 'privacy' | 'metadata' | 'encryption' | 'searchIndexes'>;
|
|
33
|
+
declare type CreateToken<DataType = Primitive> = Pick<Token<DataType>, 'type' | 'data' | 'privacy' | 'metadata' | 'encryption' | 'searchIndexes' | 'fingerprintExpression'>;
|
|
33
34
|
export type { Token, CreateToken, DataArray, DataObject, TokenData, DataClassification, DataImpactLevel, DataRestrictionPolicy, };
|
|
34
35
|
export { DATA_CLASSIFICATIONS, DATA_IMPACT_LEVELS, DATA_RESTRICTION_POLICIES };
|