wallee
Version:
TypeScript/JavaScript client for wallee
53 lines (52 loc) • 1.89 kB
TypeScript
import type { CreationEntityState } from './CreationEntityState';
/**
* The webhook identity represents a set of keys that will be used to sign the webhook messages.
* @export
* @interface WebhookIdentity
*/
export interface WebhookIdentity {
/**
* The ID of the space this object belongs to.
* @type {number}
* @memberof WebhookIdentity
*/
readonly linkedSpaceId?: number;
/**
* The name used to identify the webhook identity.
* @type {string}
* @memberof WebhookIdentity
*/
readonly name?: string;
/**
* The date and time when the object is planned to be permanently removed. If the value is empty, the object will not be removed.
* @type {Date}
* @memberof WebhookIdentity
*/
readonly plannedPurgeDate?: Date;
/**
* A unique identifier for the object.
* @type {number}
* @memberof WebhookIdentity
*/
readonly id?: number;
/**
*
* @type {CreationEntityState}
* @memberof WebhookIdentity
*/
state?: CreationEntityState;
/**
* The version is used for optimistic locking and incremented whenever the object is updated.
* @type {number}
* @memberof WebhookIdentity
*/
readonly version?: number;
}
/**
* Check if a given object implements the WebhookIdentity interface.
*/
export declare function instanceOfWebhookIdentity(value: object): value is WebhookIdentity;
export declare function WebhookIdentityFromJSON(json: any): WebhookIdentity;
export declare function WebhookIdentityFromJSONTyped(json: any, ignoreDiscriminator: boolean): WebhookIdentity;
export declare function WebhookIdentityToJSON(json: any): WebhookIdentity;
export declare function WebhookIdentityToJSONTyped(value?: Omit<WebhookIdentity, 'linkedSpaceId' | 'name' | 'plannedPurgeDate' | 'id' | 'version'> | null, ignoreDiscriminator?: boolean): any;