UNPKG

ggez-banking-sdk

Version:

A Node.js package to handle GGEZ Banking API endpoints, Simplify the process of managing CRUD operations with this efficient and easy-to-use package.

29 lines (28 loc) 816 B
import { Attachment } from "../../banking"; interface IOrganizationData { name: string; localName: string; businessType: number; establishedDate: string; registrationNumber: string; tradeLicenseNumber: string; isBilling: number; addressLine1: string; addressLine2?: string; postalZipCode: string; countryCode: string; stateRegion: string; cityTown: string; } interface ICreateOrganizationData extends IOrganizationData { } interface IUpdateOrganizationData extends Omit<IOrganizationData, "establishedDate"> { id: number; addressId: number; } interface IUploadOrganizationDocumentData { id: number; subject: string; attachment: Attachment[]; } export type { ICreateOrganizationData, IUpdateOrganizationData, IUploadOrganizationDocumentData, };