/** * NOTE: This class is auto generated by DANA Indonesia. * Do not edit the class manually. */ import type { ValidationErrorContext } from '../../../runtime'; import type { AddressInfo } from './AddressInfo'; /** * * @export * @interface DivisionResourceInfo */ export interface DivisionResourceInfo { /** * Division identifier * @type {string} * @memberof DivisionResourceInfo */ divisionId?: string; /** * Merchant identifier * @type {string} * @memberof DivisionResourceInfo */ merchantId?: string; /** * Parent role type * @type {string} * @memberof DivisionResourceInfo */ parentRoleType?: DivisionResourceInfoParentRoleTypeEnum; /** * * @type {AddressInfo} * @memberof DivisionResourceInfo */ contactAddress?: AddressInfo; /** * Division description * @type {string} * @memberof DivisionResourceInfo */ divisionDescription?: string; /** * Division type * @type {string} * @memberof DivisionResourceInfo */ divisionType?: DivisionResourceInfoDivisionTypeEnum; /** * Division name * @type {string} * @memberof DivisionResourceInfo */ divisionName?: string; /** * External division identifier * @type {string} * @memberof DivisionResourceInfo */ externalDivisionId?: string; /** * Flag if division is type PG * @type {string} * @memberof DivisionResourceInfo */ pgDivisionFlag?: DivisionResourceInfoPgDivisionFlagEnum; } /** * @export */ export declare const DivisionResourceInfoParentRoleTypeEnum: { readonly Merchant: "MERCHANT"; readonly Division: "DIVISION"; readonly ExternalDivision: "EXTERNAL_DIVISION"; }; export type DivisionResourceInfoParentRoleTypeEnum = typeof DivisionResourceInfoParentRoleTypeEnum[keyof typeof DivisionResourceInfoParentRoleTypeEnum] | ''; /** * @export */ export declare const DivisionResourceInfoDivisionTypeEnum: { readonly Region: "REGION"; readonly Area: "AREA"; readonly Branch: "BRANCH"; readonly Outlet: "OUTLET"; readonly Store: "STORE"; readonly Kiosk: "KIOSK"; readonly Stall: "STALL"; readonly Counter: "COUNTER"; readonly Booth: "BOOTH"; readonly PointOfSale: "POINT_OF_SALE"; readonly VendingMachine: "VENDING_MACHINE"; }; export type DivisionResourceInfoDivisionTypeEnum = typeof DivisionResourceInfoDivisionTypeEnum[keyof typeof DivisionResourceInfoDivisionTypeEnum] | ''; /** * @export */ export declare const DivisionResourceInfoPgDivisionFlagEnum: { readonly True: "true"; readonly False: "false"; }; export type DivisionResourceInfoPgDivisionFlagEnum = typeof DivisionResourceInfoPgDivisionFlagEnum[keyof typeof DivisionResourceInfoPgDivisionFlagEnum] | ''; /** * Check if a given object implements the DivisionResourceInfo interface. */ export declare function instanceOfDivisionResourceInfo(value: object): value is DivisionResourceInfo; export declare function DivisionResourceInfoFromJSON(json: any): DivisionResourceInfo; export declare function DivisionResourceInfoFromJSONTyped(json: any, ignoreDiscriminator: boolean): DivisionResourceInfo; export declare function DivisionResourceInfoToJSON(json: any): DivisionResourceInfo; export declare function DivisionResourceInfoToJSONTyped(value?: DivisionResourceInfo | null, ignoreDiscriminator?: boolean): any; export declare function validateDivisionResourceInfo(value: DivisionResourceInfo): ValidationErrorContext[];