svix
Version:
Svix webhooks API client and webhook verification library
27 lines (23 loc) • 619 B
text/typescript
// this file is @generated
/* eslint @typescript-eslint/no-explicit-any: 0 */
export interface IngestEndpointSecretOut {
/**
* 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;
}
export const IngestEndpointSecretOutSerializer = {
_fromJsonObject(object: any): IngestEndpointSecretOut {
return {
key: object["key"],
};
},
_toJsonObject(self: IngestEndpointSecretOut): any {
return {
key: self.key,
};
},
};