@basis-theory/basis-theory-js 1.46.0 → 1.47.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 +1 -1
- package/types/models/tokens.d.ts +3 -2
package/package.json
CHANGED
package/types/models/tokens.d.ts
CHANGED
|
@@ -31,17 +31,18 @@ interface TokenPrivacy {
|
|
|
31
31
|
interface Token<DataType = Primitive> extends TokenBase {
|
|
32
32
|
data: TokenData<DataType>;
|
|
33
33
|
privacy?: TokenPrivacy;
|
|
34
|
+
container?: string;
|
|
34
35
|
encryption?: TokenEncryption;
|
|
35
36
|
searchIndexes?: string[];
|
|
36
37
|
fingerprintExpression?: string;
|
|
37
38
|
mask?: TokenMask;
|
|
38
39
|
expiresAt?: string;
|
|
39
40
|
}
|
|
40
|
-
declare type CreateToken<DataType = Primitive> = Pick<Token<DataType>, 'type' | 'data' | 'privacy' | 'metadata' | 'encryption' | 'searchIndexes' | 'fingerprintExpression' | 'mask' | 'expiresAt'> & {
|
|
41
|
+
declare type CreateToken<DataType = Primitive> = Pick<Token<DataType>, 'type' | 'data' | 'privacy' | 'container' | 'metadata' | 'encryption' | 'searchIndexes' | 'fingerprintExpression' | 'mask' | 'expiresAt'> & {
|
|
41
42
|
deduplicateToken?: boolean;
|
|
42
43
|
id?: string;
|
|
43
44
|
};
|
|
44
|
-
declare type UpdateToken<DataType = Primitive> = Partial<Pick<Token<DataType>, 'data' | 'metadata' | 'encryption' | 'searchIndexes' | 'fingerprintExpression' | 'mask'> & {
|
|
45
|
+
declare type UpdateToken<DataType = Primitive> = Partial<Pick<Token<DataType>, 'data' | 'container' | 'metadata' | 'encryption' | 'searchIndexes' | 'fingerprintExpression' | 'mask'> & {
|
|
45
46
|
privacy: Omit<TokenPrivacy, 'classification'>;
|
|
46
47
|
deduplicateToken: boolean;
|
|
47
48
|
}>;
|