wallee
Version:
TypeScript/JavaScript client for wallee
79 lines (78 loc) • 2.81 kB
TypeScript
import type { CreationEntityState } from './CreationEntityState';
/**
*
* @export
* @interface SubscriptionAffiliate
*/
export interface SubscriptionAffiliate {
/**
* The reference used to identify the affiliate.
* @type {string}
* @memberof SubscriptionAffiliate
*/
readonly reference?: string;
/**
* The ID of the space this object belongs to.
* @type {number}
* @memberof SubscriptionAffiliate
*/
readonly linkedSpaceId?: number;
/**
* Allow to store additional information about the object.
* @type {{ [key: string]: string; }}
* @memberof SubscriptionAffiliate
*/
readonly metaData?: {
[key: string]: string;
};
/**
* The name used to identify the affiliate.
* @type {string}
* @memberof SubscriptionAffiliate
*/
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 SubscriptionAffiliate
*/
readonly plannedPurgeDate?: Date;
/**
* A client-generated nonce which uniquely identifies some action to be executed. Subsequent requests with the same external ID do not execute the action again, but return the original result.
* @type {string}
* @memberof SubscriptionAffiliate
*/
readonly externalId?: string;
/**
* The language that is linked to the object.
* @type {string}
* @memberof SubscriptionAffiliate
*/
readonly language?: string;
/**
* A unique identifier for the object.
* @type {number}
* @memberof SubscriptionAffiliate
*/
readonly id?: number;
/**
*
* @type {CreationEntityState}
* @memberof SubscriptionAffiliate
*/
state?: CreationEntityState;
/**
* The version is used for optimistic locking and incremented whenever the object is updated.
* @type {number}
* @memberof SubscriptionAffiliate
*/
readonly version?: number;
}
/**
* Check if a given object implements the SubscriptionAffiliate interface.
*/
export declare function instanceOfSubscriptionAffiliate(value: object): value is SubscriptionAffiliate;
export declare function SubscriptionAffiliateFromJSON(json: any): SubscriptionAffiliate;
export declare function SubscriptionAffiliateFromJSONTyped(json: any, ignoreDiscriminator: boolean): SubscriptionAffiliate;
export declare function SubscriptionAffiliateToJSON(json: any): SubscriptionAffiliate;
export declare function SubscriptionAffiliateToJSONTyped(value?: Omit<SubscriptionAffiliate, 'reference' | 'linkedSpaceId' | 'metaData' | 'name' | 'plannedPurgeDate' | 'externalId' | 'language' | 'id' | 'version'> | null, ignoreDiscriminator?: boolean): any;