Files
FrenoCorp/node_modules/svix/src/models/endpointSecretRotateIn.ts

26 lines
572 B
TypeScript

// this file is @generated
export interface EndpointSecretRotateIn {
/**
* The endpoint's verification secret.
*
* Format: `base64` encoded random bytes optionally prefixed with `whsec_`.
* It is recommended to not set this and let the server generate the secret.
*/
key?: string | null;
}
export const EndpointSecretRotateInSerializer = {
_fromJsonObject(object: any): EndpointSecretRotateIn {
return {
key: object["key"],
};
},
_toJsonObject(self: EndpointSecretRotateIn): any {
return {
key: self.key,
};
},
};