@piiano/vault-client
Version:
Piiano Vault generated typescript client
28 lines • 802 B
TypeScript
import type { EncryptedObjectInput } from './EncryptedObjectInput';
import type { ObjectFields } from './ObjectFields';
/**
* The input object, defined as one and only one of the following properties.
* - `id`: the ID of an object.
* - `fields`: property values of an object.
* - `encrypted`: an encrypted object.
* - `request_index`: the index of the object in the request array.
*
* In stateless mode, `id` is not supported and either `fields` or `encrypted` must be supplied.
*
*/
export type InputObject = {
/**
* The ID of an object.
*/
id: string;
} | {
fields: ObjectFields;
} | {
encrypted: EncryptedObjectInput;
} | {
/**
* The index of the object in the request array.
*/
request_index: number;
};
//# sourceMappingURL=InputObject.d.ts.map