UNPKG

fake-iamport-server

Version:
71 lines (70 loc) 2.3 kB
/** * @packageDocumentation * @module api.functional.vbanks * @nestia Generated by Nestia - https://github.com/samchon/nestia */ import type { IConnection } from "@nestia/fetcher"; import type { IIamportResponse } from "../../structures/IIamportResponse"; import type { IIamportVBankPayment } from "../../structures/IIamportVBankPayment"; /** * 가상 계좌 발급하기. * * @param input 가상 계좌 입력 정보 * @returns 가상 계좌 결제 정보 * @security bearer * @author Samchon * * @controller FakeIamportVbanksController.create * @path POST /vbanks * @nestia Generated by Nestia - https://github.com/samchon/nestia */ export declare function create(connection: IConnection, input: IIamportVBankPayment.ICreate): Promise<create.Output>; export declare namespace create { type Input = IIamportVBankPayment.ICreate; type Output = IIamportResponse<IIamportVBankPayment>; const METADATA: { readonly method: "POST"; readonly path: "/vbanks"; readonly request: { readonly type: "application/json"; readonly encrypted: false; }; readonly response: { readonly type: "application/json"; readonly encrypted: false; }; readonly status: 201; }; const path: () => string; } /** * 가상 계좌 편집하기. * * @param input 가상 계좌 편집 입력 정보 * @returns 편집된 가상 계좌 결제 정보 * @security bearer * @author Samchon * * @controller FakeIamportVbanksController.update * @path PUT /vbanks * @nestia Generated by Nestia - https://github.com/samchon/nestia */ export declare function update(connection: IConnection, input: IIamportVBankPayment.IUpdate): Promise<update.Output>; export declare namespace update { type Input = IIamportVBankPayment.IUpdate; type Output = IIamportResponse<IIamportVBankPayment>; const METADATA: { readonly method: "PUT"; readonly path: "/vbanks"; readonly request: { readonly type: "application/json"; readonly encrypted: false; }; readonly response: { readonly type: "application/json"; readonly encrypted: false; }; readonly status: 200; }; const path: () => string; }