Skip to content

Commit

Permalink
Exact date-time format string generation
Browse files Browse the repository at this point in the history
  • Loading branch information
samchon committed Jun 18, 2024
1 parent 939a62e commit f5e24df
Show file tree
Hide file tree
Showing 37 changed files with 126 additions and 77 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"private": true,
"name": "@samchon/payments",
"version": "8.0.0",
"version": "8.0.1",
"description": "Collection of Payment system of Samchon",
"scripts": {
"package:latest": "node deploy latest",
Expand Down
12 changes: 6 additions & 6 deletions packages/fake-iamport-server/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "fake-iamport-server",
"version": "8.0.0",
"version": "8.0.1",
"description": "Fake iamport server for testing",
"main": "lib/index.js",
"typings": "lib/index.d.ts",
Expand Down Expand Up @@ -38,7 +38,7 @@
},
"homepage": "https://github.com/samchon/fake-iamport-server",
"devDependencies": {
"@nestia/sdk": "^3.0.1",
"@nestia/sdk": "^3.2.2",
"@types/atob": "^2.1.2",
"@types/btoa": "^1.2.3",
"@types/cli": "^0.11.19",
Expand All @@ -57,9 +57,9 @@
"typescript": "^5.3.2"
},
"dependencies": {
"@nestia/core": "^3.0.1",
"@nestia/e2e": "^0.4.1",
"@nestia/fetcher": "^3.0.1",
"@nestia/core": "^3.2.2",
"@nestia/e2e": "^0.5.4",
"@nestia/fetcher": "^3.2.2",
"@nestjs/common": "^10.2.8",
"@nestjs/core": "^10.2.8",
"@nestjs/platform-fastify": "^10.2.8",
Expand All @@ -70,7 +70,7 @@
"source-map-support": "^0.5.19",
"tstl": "^3.0.0",
"typescript-transform-paths": "^3.4.6",
"typia": "^6.0.1",
"typia": "^6.1.0",
"uuid": "^9.0.0"
},
"keywords": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export * as otp from "./otp";
* @security bearer
* @author Samchon
*
* @controller FakeIamportCertificationsController.
* @controller FakeIamportCertificationsController.at
* @path GET /certifications/:imp_uid
* @nestia Generated by Nestia - https://github.com/samchon/nestia
*/
Expand All @@ -37,6 +37,7 @@ export async function at(
): Promise<at.Output> {
return PlainFetcher.fetch(connection, {
...at.METADATA,
template: at.METADATA.path,
path: at.path(imp_uid),
});
}
Expand Down Expand Up @@ -66,7 +67,7 @@ export namespace at {
* @security bearer
* @author Samchon
*
* @controller FakeIamportCertificationsController.
* @controller FakeIamportCertificationsController.erase
* @path DELETE /certifications/:imp_uid
* @nestia Generated by Nestia - https://github.com/samchon/nestia
*/
Expand All @@ -76,6 +77,7 @@ export async function erase(
): Promise<erase.Output> {
return PlainFetcher.fetch(connection, {
...erase.METADATA,
template: erase.METADATA.path,
path: erase.path(imp_uid),
});
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import type { IIamportResponse } from "../../../structures/IIamportResponse";
* @security bearer
* @author Samchon
*
* @controller FakeIamportCertificationsController.
* @controller FakeIamportCertificationsController.request
* @path POST /certifications/otp/request
* @nestia Generated by Nestia - https://github.com/samchon/nestia
*/
Expand All @@ -46,6 +46,7 @@ export async function request(
},
{
...request.METADATA,
template: request.METADATA.path,
path: request.path(),
},
input,
Expand Down Expand Up @@ -90,7 +91,7 @@ export namespace request {
* @security bearer
* @author Samchon
*
* @controller FakeIamportCertificationsController.
* @controller FakeIamportCertificationsController.confirm
* @path POST /certifications/otp/confirm/:imp_uid
* @nestia Generated by Nestia - https://github.com/samchon/nestia
*/
Expand All @@ -109,6 +110,7 @@ export async function confirm(
},
{
...confirm.METADATA,
template: confirm.METADATA.path,
path: confirm.path(imp_uid),
},
input,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import type { IIamportPayment } from "../../structures/IIamportPayment";
* @param input 웹훅 이벤트 정보
* @author Samchon
*
* @controller FakeIamportInternalController.
* @controller FakeIamportInternalController.webhook
* @path POST /internal/webhook
* @nestia Generated by Nestia - https://github.com/samchon/nestia
*/
Expand All @@ -42,6 +42,7 @@ export async function webhook(
},
{
...webhook.METADATA,
template: webhook.METADATA.path,
path: webhook.path(),
},
input,
Expand Down Expand Up @@ -82,7 +83,7 @@ export namespace webhook {
* @security bearer
* @author Samchon
*
* @controller FakeIamportInternalController.
* @controller FakeIamportInternalController.deposit
* @path PUT /internal/deposit/:imp_uid
* @nestia Generated by Nestia - https://github.com/samchon/nestia
*/
Expand All @@ -92,6 +93,7 @@ export async function deposit(
): Promise<void> {
return PlainFetcher.fetch(connection, {
...deposit.METADATA,
template: deposit.METADATA.path,
path: deposit.path(imp_uid),
});
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import type { IIamportResponse } from "../../structures/IIamportResponse";
* @security bearer
* @author Samchon
*
* @controller FakeIamportPaymentsController.
* @controller FakeIamportPaymentsController.at
* @path GET /payments/:imp_uid
* @nestia Generated by Nestia - https://github.com/samchon/nestia
*/
Expand All @@ -33,6 +33,7 @@ export async function at(
): Promise<at.Output> {
return PlainFetcher.fetch(connection, {
...at.METADATA,
template: at.METADATA.path,
path: at.path(imp_uid, query),
});
}
Expand Down Expand Up @@ -75,7 +76,7 @@ export namespace at {
* @security bearer
* @author Samchon
*
* @controller FakeIamportPaymentsController.
* @controller FakeIamportPaymentsController.cancel
* @path POST /payments/cancel
* @nestia Generated by Nestia - https://github.com/samchon/nestia
*/
Expand All @@ -93,6 +94,7 @@ export async function cancel(
},
{
...cancel.METADATA,
template: cancel.METADATA.path,
path: cancel.path(),
},
input,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import type { IIamportResponse } from "../../structures/IIamportResponse";
* @security bearer
* @author Samchon
*
* @controller FakeIamportReceiptsController.
* @controller FakeIamportReceiptsController.at
* @path GET /receipts/:imp_uid
* @nestia Generated by Nestia - https://github.com/samchon/nestia
*/
Expand All @@ -28,6 +28,7 @@ export async function at(
): Promise<at.Output> {
return PlainFetcher.fetch(connection, {
...at.METADATA,
template: at.METADATA.path,
path: at.path(imp_uid),
});
}
Expand Down Expand Up @@ -58,7 +59,7 @@ export namespace at {
* @security bearer
* @author Samchon
*
* @controller FakeIamportReceiptsController.
* @controller FakeIamportReceiptsController.create
* @path POST /receipts/:imp_uid
* @nestia Generated by Nestia - https://github.com/samchon/nestia
*/
Expand All @@ -77,6 +78,7 @@ export async function create(
},
{
...create.METADATA,
template: create.METADATA.path,
path: create.path(imp_uid),
},
input,
Expand Down Expand Up @@ -112,7 +114,7 @@ export namespace create {
* @security bearer
* @author Samchon
*
* @controller FakeIamportReceiptsController.
* @controller FakeIamportReceiptsController.erase
* @path DELETE /receipts/:imp_uid
* @nestia Generated by Nestia - https://github.com/samchon/nestia
*/
Expand All @@ -122,6 +124,7 @@ export async function erase(
): Promise<erase.Output> {
return PlainFetcher.fetch(connection, {
...erase.METADATA,
template: erase.METADATA.path,
path: erase.path(imp_uid),
});
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import type { IIamportSubscription } from "../../../structures/IIamportSubscript
* @security bearer
* @author Samchon
*
* @controller FakeIamportSubscribeCustomersController.
* @controller FakeIamportSubscribeCustomersController.at
* @path GET /subscribe/customers/:customer_uid
* @nestia Generated by Nestia - https://github.com/samchon/nestia
*/
Expand All @@ -32,6 +32,7 @@ export async function at(
): Promise<at.Output> {
return PlainFetcher.fetch(connection, {
...at.METADATA,
template: at.METADATA.path,
path: at.path(customer_uid),
});
}
Expand Down Expand Up @@ -71,7 +72,7 @@ export namespace at {
* @security bearer
* @author Samchon
*
* @controller FakeIamportSubscribeCustomersController.
* @controller FakeIamportSubscribeCustomersController.create
* @path POST /subscribe/customers/:customer_uid
* @nestia Generated by Nestia - https://github.com/samchon/nestia
*/
Expand All @@ -90,6 +91,7 @@ export async function create(
},
{
...create.METADATA,
template: create.METADATA.path,
path: create.path(customer_uid),
},
input,
Expand Down Expand Up @@ -127,7 +129,7 @@ export namespace create {
* @security bearer
* @author Samchon
*
* @controller FakeIamportSubscribeCustomersController.
* @controller FakeIamportSubscribeCustomersController.erase
* @path DELETE /subscribe/customers/:customer_uid
* @nestia Generated by Nestia - https://github.com/samchon/nestia
*/
Expand All @@ -137,6 +139,7 @@ export async function erase(
): Promise<erase.Output> {
return PlainFetcher.fetch(connection, {
...erase.METADATA,
template: erase.METADATA.path,
path: erase.path(customer_uid),
});
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ import type { IIamportSubscription } from "../../../structures/IIamportSubscript
* @security bearer
* @author Samchon
*
* @controller FakeIampotSubscribePaymentsController.
* @controller FakeIampotSubscribePaymentsController.onetime
* @path POST /subscribe/payments/onetime
* @nestia Generated by Nestia - https://github.com/samchon/nestia
*/
Expand All @@ -53,6 +53,7 @@ export async function onetime(
},
{
...onetime.METADATA,
template: onetime.METADATA.path,
path: onetime.path(),
},
input,
Expand Down Expand Up @@ -97,7 +98,7 @@ export namespace onetime {
* @security bearer
* @author Samchon
*
* @controller FakeIampotSubscribePaymentsController.
* @controller FakeIampotSubscribePaymentsController.again
* @path POST /subscribe/payments/again
* @nestia Generated by Nestia - https://github.com/samchon/nestia
*/
Expand All @@ -115,6 +116,7 @@ export async function again(
},
{
...again.METADATA,
template: again.METADATA.path,
path: again.path(),
},
input,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import type { IIamportUser } from "../../structures/IIamportUser";
* @returns 유저 인증 토큰 정보
* @author Samchon
*
* @controller FakeIamportUsersController.
* @controller FakeIamportUsersController.getToken
* @path POST /users/getToken
* @nestia Generated by Nestia - https://github.com/samchon/nestia
*/
Expand All @@ -42,6 +42,7 @@ export async function getToken(
},
{
...getToken.METADATA,
template: getToken.METADATA.path,
path: getToken.path(),
},
input,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import type { IIamportVBankPayment } from "../../structures/IIamportVBankPayment
* @security bearer
* @author Samchon
*
* @controller FakeIamportVbanksController.
* @controller FakeIamportVbanksController.create
* @path POST /vbanks
* @nestia Generated by Nestia - https://github.com/samchon/nestia
*/
Expand All @@ -36,6 +36,7 @@ export async function create(
},
{
...create.METADATA,
template: create.METADATA.path,
path: create.path(),
},
input,
Expand Down Expand Up @@ -70,7 +71,7 @@ export namespace create {
* @security bearer
* @author Samchon
*
* @controller FakeIamportVbanksController.
* @controller FakeIamportVbanksController.update
* @path PUT /vbanks
* @nestia Generated by Nestia - https://github.com/samchon/nestia
*/
Expand All @@ -88,6 +89,7 @@ export async function update(
},
{
...update.METADATA,
template: update.METADATA.path,
path: update.path(),
},
input,
Expand Down
Loading

0 comments on commit f5e24df

Please sign in to comment.