diff --git a/packages/fake-iamport-server/package.json b/packages/fake-iamport-server/package.json index b4cded5..06331c5 100644 --- a/packages/fake-iamport-server/package.json +++ b/packages/fake-iamport-server/package.json @@ -1,6 +1,6 @@ { "name": "fake-iamport-server", - "version": "4.0.1", + "version": "4.0.2", "description": "Fake iamport server for testing", "main": "lib/index.js", "typings": "lib/index.d.ts", @@ -39,7 +39,7 @@ }, "homepage": "https://github.com/samchon/fake-iamport-server", "devDependencies": { - "@nestia/sdk": "^2.0.3", + "@nestia/sdk": "^2.1.5", "@trivago/prettier-plugin-sort-imports": "^4.0.0", "@types/atob": "^2.1.2", "@types/btoa": "^1.2.3", @@ -60,13 +60,13 @@ "typescript": "^5.2.2" }, "dependencies": { - "@nestia/core": "^2.0.3", + "@nestia/core": "^2.1.5", "@nestia/e2e": "^0.3.6", - "@nestia/fetcher": "^2.0.3", + "@nestia/fetcher": "^2.1.5", "source-map-support": "^0.5.19", "tstl": "^2.5.13", "typescript-transform-paths": "^3.4.6", - "typia": "^5.0.5", + "typia": "^5.1.5", "uuid": "^9.0.0" }, "keywords": [ diff --git a/packages/fake-toss-payments-server/package.json b/packages/fake-toss-payments-server/package.json index 4b7dc4d..b3abb49 100644 --- a/packages/fake-toss-payments-server/package.json +++ b/packages/fake-toss-payments-server/package.json @@ -1,6 +1,6 @@ { "name": "fake-toss-payments-server", - "version": "4.0.1", + "version": "4.0.2", "description": "Fake toss-payments server for testing", "main": "lib/index.js", "typings": "lib/index.d.ts", @@ -40,7 +40,7 @@ "homepage": "https://github.com/samchon/fake-toss-payments-server", "devDependencies": { "@nestia/e2e": "^0.3.6", - "@nestia/sdk": "^2.0.5", + "@nestia/sdk": "^2.1.5", "@trivago/prettier-plugin-sort-imports": "^4.0.0", "@types/atob": "^2.1.2", "@types/btoa": "^1.2.3", @@ -62,13 +62,13 @@ "typescript-transform-paths": "^3.4.6" }, "dependencies": { - "@nestia/core": "^2.0.5", + "@nestia/core": "^2.1.5", "atob": "^2.1.2", "btoa": "^1.2.1", "serialize-error": "^4.1.0", "source-map-support": "^0.5.19", "tstl": "^2.5.13", - "typia": "^5.0.5", + "typia": "^5.1.5", "uuid": "^9.0.0" }, "keywords": [ diff --git a/packages/iamport-server-api/package.json b/packages/iamport-server-api/package.json index 91327d5..0abd261 100644 --- a/packages/iamport-server-api/package.json +++ b/packages/iamport-server-api/package.json @@ -1,6 +1,6 @@ { "name": "iamport-server-api", - "version": "4.0.1", + "version": "4.0.2", "description": "API for Iamport Server", "main": "lib/index.js", "typings": "lib/index.d.ts", @@ -34,7 +34,7 @@ "typescript": "^5.2.2" }, "dependencies": { - "@nestia/fetcher": "^2.0.5", - "typia": "^5.0.5" + "@nestia/fetcher": "^2.1.5", + "typia": "^5.1.5" } } \ No newline at end of file diff --git a/packages/iamport-server-api/swagger.json b/packages/iamport-server-api/swagger.json index 6eab17f..a1727c6 100644 --- a/packages/iamport-server-api/swagger.json +++ b/packages/iamport-server-api/swagger.json @@ -13,7 +13,7 @@ "info": { "title": "Iamport API", "description": "Built by [fake-iamport-server](https://github.com/samchon/payments/tree/master/packages/fake-iamport-server) with [nestia](https://github.com/samchon/nestia)", - "version": "4.0.1", + "version": "4.0.2", "license": { "name": "MIT" } @@ -39,7 +39,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/IIamportResponse_lt_IIamportCertification_gt_" + "$ref": "#/components/schemas/IIamportResponseIIamportCertification" } } }, @@ -140,7 +140,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/IIamportResponse_lt_IIamportCertification_gt_" + "$ref": "#/components/schemas/IIamportResponseIIamportCertification" } } }, @@ -245,7 +245,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/IIamportResponse_lt_IIamportCertification.IAccessor_gt_" + "$ref": "#/components/schemas/IIamportResponseIIamportCertification.IAccessor" } } }, @@ -341,7 +341,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/IIamportResponse_lt_IIamportCertification_gt_" + "$ref": "#/components/schemas/IIamportResponseIIamportCertification" } } }, @@ -606,7 +606,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/IIamportResponse_lt_IIamportPayment_gt_" + "$ref": "#/components/schemas/IIamportResponseIIamportPayment" } } }, @@ -728,7 +728,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/IIamportResponse_lt_IIamportPayment_gt_" + "$ref": "#/components/schemas/IIamportResponseIIamportPayment" } } }, @@ -812,7 +812,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/IIamportResponse_lt_IIamportReceipt_gt_" + "$ref": "#/components/schemas/IIamportResponseIIamportReceipt" } } }, @@ -925,7 +925,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/IIamportResponse_lt_IIamportReceipt_gt_" + "$ref": "#/components/schemas/IIamportResponseIIamportReceipt" } } }, @@ -1043,7 +1043,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/IIamportResponse_lt_IIamportReceipt_gt_" + "$ref": "#/components/schemas/IIamportResponseIIamportReceipt" } } }, @@ -1148,7 +1148,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/IIamportResponse_lt_IIamportUser_gt_" + "$ref": "#/components/schemas/IIamportResponseIIamportUser" } } }, @@ -1220,7 +1220,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/IIamportResponse_lt_IIamportVBankPayment_gt_" + "$ref": "#/components/schemas/IIamportResponseIIamportVBankPayment" } } }, @@ -1304,7 +1304,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/IIamportResponse_lt_IIamportVBankPayment_gt_" + "$ref": "#/components/schemas/IIamportResponseIIamportVBankPayment" } } }, @@ -1388,7 +1388,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/IIamportResponse_lt_IIamportSubscription_gt_" + "$ref": "#/components/schemas/IIamportResponseIIamportSubscription" } } }, @@ -1482,7 +1482,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/IIamportResponse_lt_IIamportSubscription_gt_" + "$ref": "#/components/schemas/IIamportResponseIIamportSubscription" } } }, @@ -1581,7 +1581,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/IIamportResponse_lt_IIamportSubscription_gt_" + "$ref": "#/components/schemas/IIamportResponseIIamportSubscription" } } }, @@ -1667,7 +1667,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/IIamportResponse_lt_IIamportCardPayment_gt_" + "$ref": "#/components/schemas/IIamportResponseIIamportCardPayment" } } }, @@ -1753,7 +1753,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/IIamportResponse_lt_IIamportCardPayment_gt_" + "$ref": "#/components/schemas/IIamportResponseIIamportCardPayment" } } }, @@ -1820,7 +1820,7 @@ }, "components": { "schemas": { - "IIamportResponse_lt_IIamportCertification_gt_": { + "IIamportResponseIIamportCertification": { "type": "object", "properties": { "code": { @@ -1905,7 +1905,10 @@ "kind": "pattern", "value": "^([0-9]{4})(0[1-9]|1[012])(0[1-9]|[12][0-9]|3[01])$", "validate": "/^([0-9]{4})(0[1-9]|1[012])(0[1-9]|[12][0-9]|3[01])$/.test($input)", - "exclusive": false + "exclusive": [ + "format", + "pattern" + ] } ] }, @@ -2041,7 +2044,10 @@ "kind": "pattern", "value": "^([0-9]{4})(0[1-9]|1[012])(0[1-9]|[12][0-9]|3[01])$", "validate": "/^([0-9]{4})(0[1-9]|1[012])(0[1-9]|[12][0-9]|3[01])$/.test($input)", - "exclusive": false + "exclusive": [ + "format", + "pattern" + ] } ] }, @@ -2098,7 +2104,7 @@ "description": "본인 인증 입력 정보.", "x-typia-jsDocTags": [] }, - "IIamportResponse_lt_IIamportCertification.IAccessor_gt_": { + "IIamportResponseIIamportCertification.IAccessor": { "type": "object", "properties": { "code": { @@ -2240,7 +2246,7 @@ } ] }, - "IIamportResponse_lt_IIamportPayment_gt_": { + "IIamportResponseIIamportPayment": { "type": "object", "properties": { "code": { @@ -2290,7 +2296,7 @@ "$ref": "#/components/schemas/IIamportVBankPayment" }, { - "$ref": "#/components/schemas/IIamportPayment.IBase_lt__doublequote_phone_doublequote__space__or__space__doublequote_kpay_doublequote__space__or__space__doublequote_kakaopay_doublequote__space__or__space__doublequote_payco_doublequote__space__or__space__doublequote_lpay_doublequote__space__or__space__doublequote_ssgpay_doublequote__space__or__space__doublequote_tosspay_doublequote__space__or__space__doublequote_cultureland_doublequote__space__or__space__doublequote_smartculture_doublequote__space__or__space__doublequote_happymoney_doublequote__space__or__space__doublequote_booknlife_doublequote__space__or__space__doublequote_point_doublequote__gt_" + "$ref": "#/components/schemas/IIamportPayment.IBasephonekpaykakaopaypaycolpayssgpaytosspayculturelandsmartculturehappymoneybooknlifepoint" } ], "description": "결제 정보.\n\n`IIamportPayment` 는 아임포트의 결제 정보를 형상화한 자료구조이자 유니언 타입의\n인터페이스로써, if condition 을 통하여 method 값을 특정하면, 파생 타입이 자동으로\n지정된다.\n\n```typescript\nif (payment.pay_method === \"card\")\n payment.card_number; // payment be IIamportCardPayment\n```", @@ -2334,7 +2340,10 @@ "kind": "pattern", "value": "\\d{4}-\\d{4}-\\d{4}-\\d{4}", "validate": "/\\d{4}-\\d{4}-\\d{4}-\\d{4}/.test($input)", - "exclusive": false + "exclusive": [ + "format", + "pattern" + ] } ] }, @@ -2417,6 +2426,7 @@ "value": "url", "validate": "/^[a-zA-Z0-9]+:\\/\\/(?:www.)?[-a-zA-Z0-9@:%._+~#=]{1,256}.[a-zA-Z0-9()]{1,6}\\b(?:[-a-zA-Z0-9()@:%_+.~#?&/=]*)$/.test($input)", "exclusive": [ + "format", "pattern" ] } @@ -2478,6 +2488,7 @@ "value": "email", "validate": "/^(([^<>()[\\]\\.,;:\\s@\\\"]+(\\.[^<>()[\\]\\.,;:\\s@\\\"]+)*)|(\\\".+\\\"))@(([^<>()[\\]\\.,;:\\s@\\\"]+\\.)+[^<>()[\\]\\.,;:\\s@\\\"]{2,})$/i.test($input)", "exclusive": [ + "format", "pattern" ] } @@ -2686,6 +2697,7 @@ "value": "url", "validate": "/^[a-zA-Z0-9]+:\\/\\/(?:www.)?[-a-zA-Z0-9@:%._+~#=]{1,256}.[a-zA-Z0-9()]{1,6}\\b(?:[-a-zA-Z0-9()@:%_+.~#?&/=]*)$/.test($input)", "exclusive": [ + "format", "pattern" ] } @@ -2785,6 +2797,7 @@ "value": "url", "validate": "/^[a-zA-Z0-9]+:\\/\\/(?:www.)?[-a-zA-Z0-9@:%._+~#=]{1,256}.[a-zA-Z0-9()]{1,6}\\b(?:[-a-zA-Z0-9()@:%_+.~#?&/=]*)$/.test($input)", "exclusive": [ + "format", "pattern" ] } @@ -2846,6 +2859,7 @@ "value": "email", "validate": "/^(([^<>()[\\]\\.,;:\\s@\\\"]+(\\.[^<>()[\\]\\.,;:\\s@\\\"]+)*)|(\\\".+\\\"))@(([^<>()[\\]\\.,;:\\s@\\\"]+\\.)+[^<>()[\\]\\.,;:\\s@\\\"]{2,})$/i.test($input)", "exclusive": [ + "format", "pattern" ] } @@ -3087,6 +3101,7 @@ "value": "url", "validate": "/^[a-zA-Z0-9]+:\\/\\/(?:www.)?[-a-zA-Z0-9@:%._+~#=]{1,256}.[a-zA-Z0-9()]{1,6}\\b(?:[-a-zA-Z0-9()@:%_+.~#?&/=]*)$/.test($input)", "exclusive": [ + "format", "pattern" ] } @@ -3148,6 +3163,7 @@ "value": "email", "validate": "/^(([^<>()[\\]\\.,;:\\s@\\\"]+(\\.[^<>()[\\]\\.,;:\\s@\\\"]+)*)|(\\\".+\\\"))@(([^<>()[\\]\\.,;:\\s@\\\"]+\\.)+[^<>()[\\]\\.,;:\\s@\\\"]{2,})$/i.test($input)", "exclusive": [ + "format", "pattern" ] } @@ -3298,7 +3314,7 @@ } ] }, - "IIamportPayment.IBase_lt__doublequote_phone_doublequote__space__or__space__doublequote_kpay_doublequote__space__or__space__doublequote_kakaopay_doublequote__space__or__space__doublequote_payco_doublequote__space__or__space__doublequote_lpay_doublequote__space__or__space__doublequote_ssgpay_doublequote__space__or__space__doublequote_tosspay_doublequote__space__or__space__doublequote_cultureland_doublequote__space__or__space__doublequote_smartculture_doublequote__space__or__space__doublequote_happymoney_doublequote__space__or__space__doublequote_booknlife_doublequote__space__or__space__doublequote_point_doublequote__gt_": { + "IIamportPayment.IBasephonekpaykakaopaypaycolpayssgpaytosspayculturelandsmartculturehappymoneybooknlifepoint": { "type": "object", "properties": { "pay_method": { @@ -3368,6 +3384,7 @@ "value": "url", "validate": "/^[a-zA-Z0-9]+:\\/\\/(?:www.)?[-a-zA-Z0-9@:%._+~#=]{1,256}.[a-zA-Z0-9()]{1,6}\\b(?:[-a-zA-Z0-9()@:%_+.~#?&/=]*)$/.test($input)", "exclusive": [ + "format", "pattern" ] } @@ -3429,6 +3446,7 @@ "value": "email", "validate": "/^(([^<>()[\\]\\.,;:\\s@\\\"]+(\\.[^<>()[\\]\\.,;:\\s@\\\"]+)*)|(\\\".+\\\"))@(([^<>()[\\]\\.,;:\\s@\\\"]+\\.)+[^<>()[\\]\\.,;:\\s@\\\"]{2,})$/i.test($input)", "exclusive": [ + "format", "pattern" ] } @@ -3664,7 +3682,7 @@ "description": "결제 취소 입력 정보.", "x-typia-jsDocTags": [] }, - "IIamportResponse_lt_IIamportReceipt_gt_": { + "IIamportResponseIIamportReceipt": { "type": "object", "properties": { "code": { @@ -3752,6 +3770,7 @@ "value": "url", "validate": "/^[a-zA-Z0-9]+:\\/\\/(?:www.)?[-a-zA-Z0-9@:%._+~#=]{1,256}.[a-zA-Z0-9()]{1,6}\\b(?:[-a-zA-Z0-9()@:%_+.~#?&/=]*)$/.test($input)", "exclusive": [ + "format", "pattern" ] } @@ -3897,7 +3916,7 @@ "description": "아임포트에서 부여해 준 API 및 secret 키.", "x-typia-jsDocTags": [] }, - "IIamportResponse_lt_IIamportUser_gt_": { + "IIamportResponseIIamportUser": { "type": "object", "properties": { "code": { @@ -4074,7 +4093,7 @@ "description": "가상 계좌 결제 입력 정보.\n\n가상 계좌를 임의 생성할 수 있다.\n\n단, 일부 PG 사 혹은 `fake-iamport-server` 만 가능.\n\n - 세틀뱅크\n - 나이스페이먼츠\n - KG이니시스", "x-typia-jsDocTags": [] }, - "IIamportResponse_lt_IIamportVBankPayment_gt_": { + "IIamportResponseIIamportVBankPayment": { "type": "object", "properties": { "code": { @@ -4141,7 +4160,7 @@ "description": "가상 계좌 결제의 수정 입력 정보.\n\n아직 입금되지 않은 가상계좌의 입금기한 또는 입금금액을 수정할 수 있다.\n\n다만, 세틀뱅크 혹은 `fake-iamport-server` 만 가능.", "x-typia-jsDocTags": [] }, - "IIamportResponse_lt_IIamportSubscription_gt_": { + "IIamportResponseIIamportSubscription": { "type": "object", "properties": { "code": { @@ -4305,7 +4324,10 @@ "kind": "pattern", "value": "\\d{4}-\\d{4}-\\d{4}-\\d{4}", "validate": "/\\d{4}-\\d{4}-\\d{4}-\\d{4}/.test($input)", - "exclusive": false + "exclusive": [ + "format", + "pattern" + ] } ] }, @@ -4322,7 +4344,10 @@ "kind": "pattern", "value": "^([0-9]{4})-(0[1-9]|1[012])$", "validate": "/^([0-9]{4})-(0[1-9]|1[012])$/.test($input)", - "exclusive": false + "exclusive": [ + "format", + "pattern" + ] } ] }, @@ -4339,7 +4364,10 @@ "kind": "pattern", "value": "^(([0-9]{2})(0[1-9]|1[012])(0[1-9]|[12][0-9]|3[01]))|(\\d{10})$", "validate": "/^(([0-9]{2})(0[1-9]|1[012])(0[1-9]|[12][0-9]|3[01]))|(\\d{10})$/.test($input)", - "exclusive": false + "exclusive": [ + "format", + "pattern" + ] } ] }, @@ -4356,7 +4384,10 @@ "kind": "pattern", "value": "\\d{2}", "validate": "/\\d{2}/.test($input)", - "exclusive": false + "exclusive": [ + "format", + "pattern" + ] } ] }, @@ -4373,7 +4404,10 @@ "kind": "pattern", "value": "\\d{2}", "validate": "/\\d{2}/.test($input)", - "exclusive": false + "exclusive": [ + "format", + "pattern" + ] } ] }, @@ -4400,6 +4434,7 @@ "value": "email", "validate": "/^(([^<>()[\\]\\.,;:\\s@\\\"]+(\\.[^<>()[\\]\\.,;:\\s@\\\"]+)*)|(\\\".+\\\"))@(([^<>()[\\]\\.,;:\\s@\\\"]+\\.)+[^<>()[\\]\\.,;:\\s@\\\"]{2,})$/i.test($input)", "exclusive": [ + "format", "pattern" ] } @@ -4454,7 +4489,10 @@ "kind": "pattern", "value": "\\d{4}-\\d{4}-\\d{4}-\\d{4}", "validate": "/\\d{4}-\\d{4}-\\d{4}-\\d{4}/.test($input)", - "exclusive": false + "exclusive": [ + "format", + "pattern" + ] } ] }, @@ -4471,7 +4509,10 @@ "kind": "pattern", "value": "^([0-9]{4})-(0[1-9]|1[012])$", "validate": "/^([0-9]{4})-(0[1-9]|1[012])$/.test($input)", - "exclusive": false + "exclusive": [ + "format", + "pattern" + ] } ] }, @@ -4488,7 +4529,10 @@ "kind": "pattern", "value": "^(([0-9]{2})(0[1-9]|1[012])(0[1-9]|[12][0-9]|3[01]))|(\\d{10})$", "validate": "/^(([0-9]{2})(0[1-9]|1[012])(0[1-9]|[12][0-9]|3[01]))|(\\d{10})$/.test($input)", - "exclusive": false + "exclusive": [ + "format", + "pattern" + ] } ] }, @@ -4505,7 +4549,10 @@ "kind": "pattern", "value": "\\d{2}", "validate": "/\\d{2}/.test($input)", - "exclusive": false + "exclusive": [ + "format", + "pattern" + ] } ] }, @@ -4522,7 +4569,10 @@ "kind": "pattern", "value": "\\d{2}", "validate": "/\\d{2}/.test($input)", - "exclusive": false + "exclusive": [ + "format", + "pattern" + ] } ] }, @@ -4549,6 +4599,7 @@ "value": "email", "validate": "/^(([^<>()[\\]\\.,;:\\s@\\\"]+(\\.[^<>()[\\]\\.,;:\\s@\\\"]+)*)|(\\\".+\\\"))@(([^<>()[\\]\\.,;:\\s@\\\"]+\\.)+[^<>()[\\]\\.,;:\\s@\\\"]{2,})$/i.test($input)", "exclusive": [ + "format", "pattern" ] } @@ -4624,6 +4675,7 @@ "value": "email", "validate": "/^(([^<>()[\\]\\.,;:\\s@\\\"]+(\\.[^<>()[\\]\\.,;:\\s@\\\"]+)*)|(\\\".+\\\"))@(([^<>()[\\]\\.,;:\\s@\\\"]+\\.)+[^<>()[\\]\\.,;:\\s@\\\"]{2,})$/i.test($input)", "exclusive": [ + "format", "pattern" ] } @@ -4676,6 +4728,7 @@ "value": "url", "validate": "/^[a-zA-Z0-9]+:\\/\\/(?:www.)?[-a-zA-Z0-9@:%._+~#=]{1,256}.[a-zA-Z0-9()]{1,6}\\b(?:[-a-zA-Z0-9()@:%_+.~#?&/=]*)$/.test($input)", "exclusive": [ + "format", "pattern" ] } @@ -4694,7 +4747,7 @@ "description": "결제 신청 입력 정보.", "x-typia-jsDocTags": [] }, - "IIamportResponse_lt_IIamportCardPayment_gt_": { + "IIamportResponseIIamportCardPayment": { "type": "object", "properties": { "code": { @@ -4795,6 +4848,7 @@ "value": "email", "validate": "/^(([^<>()[\\]\\.,;:\\s@\\\"]+(\\.[^<>()[\\]\\.,;:\\s@\\\"]+)*)|(\\\".+\\\"))@(([^<>()[\\]\\.,;:\\s@\\\"]+\\.)+[^<>()[\\]\\.,;:\\s@\\\"]{2,})$/i.test($input)", "exclusive": [ + "format", "pattern" ] } @@ -4847,6 +4901,7 @@ "value": "url", "validate": "/^[a-zA-Z0-9]+:\\/\\/(?:www.)?[-a-zA-Z0-9@:%._+~#=]{1,256}.[a-zA-Z0-9()]{1,6}\\b(?:[-a-zA-Z0-9()@:%_+.~#?&/=]*)$/.test($input)", "exclusive": [ + "format", "pattern" ] } diff --git a/packages/payment-api/package.json b/packages/payment-api/package.json index d5c1133..d6c445c 100644 --- a/packages/payment-api/package.json +++ b/packages/payment-api/package.json @@ -1,6 +1,6 @@ { "name": "@samchon/payment-api", - "version": "4.0.1", + "version": "4.0.2", "description": "API for Payment Backend", "main": "lib/index.js", "typings": "lib/index.d.ts", @@ -34,9 +34,9 @@ "typescript": "^5.2.2" }, "dependencies": { - "@nestia/fetcher": "^2.0.5", - "iamport-server-api": "^4.0.1", - "toss-payments-server-api": "^4.0.1", - "typia": "^5.0.5" + "@nestia/fetcher": "^2.1.5", + "iamport-server-api": "^4.0.2", + "toss-payments-server-api": "^4.0.2", + "typia": "^5.1.5" } } \ No newline at end of file diff --git a/packages/payment-api/swagger.json b/packages/payment-api/swagger.json index e9638a4..191e7aa 100644 --- a/packages/payment-api/swagger.json +++ b/packages/payment-api/swagger.json @@ -7,7 +7,7 @@ } ], "info": { - "version": "4.0.1", + "version": "4.0.2", "title": "@samchon/payment-backend", "description": "Payment Backend Server", "license": { @@ -164,6 +164,7 @@ "value": "uuid", "validate": "/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i.test($input)", "exclusive": [ + "format", "pattern" ] } @@ -474,6 +475,7 @@ "value": "uuid", "validate": "/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i.test($input)", "exclusive": [ + "format", "pattern" ] } @@ -659,13 +661,13 @@ "type": "object", "properties": { "cpu": { - "$ref": "#/components/schemas/_singlequote_process_singlequote_.global.NodeJS.CpuUsage" + "$ref": "#/components/schemas/process.global.NodeJS.CpuUsage" }, "memory": { - "$ref": "#/components/schemas/_singlequote_process_singlequote_.global.NodeJS.MemoryUsage" + "$ref": "#/components/schemas/process.global.NodeJS.MemoryUsage" }, "resource": { - "$ref": "#/components/schemas/_singlequote_process_singlequote_.global.NodeJS.ResourceUsage" + "$ref": "#/components/schemas/process.global.NodeJS.ResourceUsage" } }, "nullable": false, @@ -676,7 +678,7 @@ ], "x-typia-jsDocTags": [] }, - "_singlequote_process_singlequote_.global.NodeJS.CpuUsage": { + "process.global.NodeJS.CpuUsage": { "type": "object", "properties": { "user": { @@ -697,7 +699,7 @@ ], "x-typia-jsDocTags": [] }, - "_singlequote_process_singlequote_.global.NodeJS.MemoryUsage": { + "process.global.NodeJS.MemoryUsage": { "type": "object", "properties": { "rss": { @@ -736,7 +738,7 @@ ], "x-typia-jsDocTags": [] }, - "_singlequote_process_singlequote_.global.NodeJS.ResourceUsage": { + "process.global.NodeJS.ResourceUsage": { "type": "object", "properties": { "fsRead": { @@ -1008,7 +1010,7 @@ "type": "string" }, "scripts": { - "$ref": "#/components/schemas/Record_lt_string_comma__space_string_gt_" + "$ref": "#/components/schemas/Recordstringstring" }, "repository": { "$ref": "#/components/schemas/__type" @@ -1032,10 +1034,10 @@ "type": "string" }, "devDependencies": { - "$ref": "#/components/schemas/Record_lt_string_comma__space_string_gt_" + "$ref": "#/components/schemas/Recordstringstring" }, "dependencies": { - "$ref": "#/components/schemas/Record_lt_string_comma__space_string_gt_" + "$ref": "#/components/schemas/Recordstringstring" }, "publishConfig": { "$ref": "#/components/schemas/__type.o2" @@ -1078,7 +1080,7 @@ "description": "NPM package information.", "x-typia-jsDocTags": [] }, - "Record_lt_string_comma__space_string_gt_": { + "Recordstringstring": { "type": "object", "properties": {}, "nullable": false, @@ -1177,6 +1179,7 @@ "value": "uuid", "validate": "/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i.test($input)", "exclusive": [ + "format", "pattern" ] } @@ -1238,6 +1241,7 @@ "value": "uuid", "validate": "/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i.test($input)", "exclusive": [ + "format", "pattern" ] } @@ -1253,7 +1257,7 @@ ] }, "vendor": { - "$ref": "#/components/schemas/IPaymentVendor_lt__doublequote_iamport_doublequote__gt_" + "$ref": "#/components/schemas/IPaymentVendoriamport" }, "source": { "$ref": "#/components/schemas/IPaymentSource" @@ -1322,6 +1326,7 @@ "value": "url", "validate": "/^[a-zA-Z0-9]+:\\/\\/(?:www.)?[-a-zA-Z0-9@:%._+~#=]{1,256}.[a-zA-Z0-9()]{1,6}\\b(?:[-a-zA-Z0-9()@:%_+.~#?&/=]*)$/.test($input)", "exclusive": [ + "format", "pattern" ] } @@ -1342,6 +1347,7 @@ "value": "date-time", "validate": "!isNaN(new Date($input).getTime())", "exclusive": [ + "format", "pattern" ] } @@ -1361,6 +1367,7 @@ "value": "date-time", "validate": "!isNaN(new Date($input).getTime())", "exclusive": [ + "format", "pattern" ] } @@ -1381,6 +1388,7 @@ "value": "date-time", "validate": "!isNaN(new Date($input).getTime())", "exclusive": [ + "format", "pattern" ] } @@ -1416,7 +1424,7 @@ "description": "결제 내역의 기본 정보.", "x-typia-jsDocTags": [] }, - "IPaymentVendor_lt__doublequote_iamport_doublequote__gt_": { + "IPaymentVendoriamport": { "type": "object", "properties": { "code": { @@ -1489,6 +1497,7 @@ "value": "uuid", "validate": "/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i.test($input)", "exclusive": [ + "format", "pattern" ] } @@ -1526,7 +1535,7 @@ "$ref": "#/components/schemas/IIamportVBankPayment" }, { - "$ref": "#/components/schemas/IIamportPayment.IBase_lt__doublequote_phone_doublequote__space__or__space__doublequote_kpay_doublequote__space__or__space__doublequote_kakaopay_doublequote__space__or__space__doublequote_payco_doublequote__space__or__space__doublequote_lpay_doublequote__space__or__space__doublequote_ssgpay_doublequote__space__or__space__doublequote_tosspay_doublequote__space__or__space__doublequote_cultureland_doublequote__space__or__space__doublequote_smartculture_doublequote__space__or__space__doublequote_happymoney_doublequote__space__or__space__doublequote_booknlife_doublequote__space__or__space__doublequote_point_doublequote__gt_" + "$ref": "#/components/schemas/IIamportPayment.IBasephonekpaykakaopaypaycolpayssgpaytosspayculturelandsmartculturehappymoneybooknlifepoint" } ], "description": "결제 정보.\n\n`IIamportPayment` 는 아임포트의 결제 정보를 형상화한 자료구조이자 유니언 타입의\n인터페이스로써, if condition 을 통하여 method 값을 특정하면, 파생 타입이 자동으로\n지정된다.\n\n```typescript\nif (payment.pay_method === \"card\")\n payment.card_number; // payment be IIamportCardPayment\n```", @@ -1570,7 +1579,10 @@ "kind": "pattern", "value": "\\d{4}-\\d{4}-\\d{4}-\\d{4}", "validate": "/\\d{4}-\\d{4}-\\d{4}-\\d{4}/.test($input)", - "exclusive": false + "exclusive": [ + "format", + "pattern" + ] } ] }, @@ -1653,6 +1665,7 @@ "value": "url", "validate": "/^[a-zA-Z0-9]+:\\/\\/(?:www.)?[-a-zA-Z0-9@:%._+~#=]{1,256}.[a-zA-Z0-9()]{1,6}\\b(?:[-a-zA-Z0-9()@:%_+.~#?&/=]*)$/.test($input)", "exclusive": [ + "format", "pattern" ] } @@ -1714,6 +1727,7 @@ "value": "email", "validate": "/^(([^<>()[\\]\\.,;:\\s@\\\"]+(\\.[^<>()[\\]\\.,;:\\s@\\\"]+)*)|(\\\".+\\\"))@(([^<>()[\\]\\.,;:\\s@\\\"]+\\.)+[^<>()[\\]\\.,;:\\s@\\\"]{2,})$/i.test($input)", "exclusive": [ + "format", "pattern" ] } @@ -1922,6 +1936,7 @@ "value": "url", "validate": "/^[a-zA-Z0-9]+:\\/\\/(?:www.)?[-a-zA-Z0-9@:%._+~#=]{1,256}.[a-zA-Z0-9()]{1,6}\\b(?:[-a-zA-Z0-9()@:%_+.~#?&/=]*)$/.test($input)", "exclusive": [ + "format", "pattern" ] } @@ -2021,6 +2036,7 @@ "value": "url", "validate": "/^[a-zA-Z0-9]+:\\/\\/(?:www.)?[-a-zA-Z0-9@:%._+~#=]{1,256}.[a-zA-Z0-9()]{1,6}\\b(?:[-a-zA-Z0-9()@:%_+.~#?&/=]*)$/.test($input)", "exclusive": [ + "format", "pattern" ] } @@ -2082,6 +2098,7 @@ "value": "email", "validate": "/^(([^<>()[\\]\\.,;:\\s@\\\"]+(\\.[^<>()[\\]\\.,;:\\s@\\\"]+)*)|(\\\".+\\\"))@(([^<>()[\\]\\.,;:\\s@\\\"]+\\.)+[^<>()[\\]\\.,;:\\s@\\\"]{2,})$/i.test($input)", "exclusive": [ + "format", "pattern" ] } @@ -2323,6 +2340,7 @@ "value": "url", "validate": "/^[a-zA-Z0-9]+:\\/\\/(?:www.)?[-a-zA-Z0-9@:%._+~#=]{1,256}.[a-zA-Z0-9()]{1,6}\\b(?:[-a-zA-Z0-9()@:%_+.~#?&/=]*)$/.test($input)", "exclusive": [ + "format", "pattern" ] } @@ -2384,6 +2402,7 @@ "value": "email", "validate": "/^(([^<>()[\\]\\.,;:\\s@\\\"]+(\\.[^<>()[\\]\\.,;:\\s@\\\"]+)*)|(\\\".+\\\"))@(([^<>()[\\]\\.,;:\\s@\\\"]+\\.)+[^<>()[\\]\\.,;:\\s@\\\"]{2,})$/i.test($input)", "exclusive": [ + "format", "pattern" ] } @@ -2534,7 +2553,7 @@ } ] }, - "IIamportPayment.IBase_lt__doublequote_phone_doublequote__space__or__space__doublequote_kpay_doublequote__space__or__space__doublequote_kakaopay_doublequote__space__or__space__doublequote_payco_doublequote__space__or__space__doublequote_lpay_doublequote__space__or__space__doublequote_ssgpay_doublequote__space__or__space__doublequote_tosspay_doublequote__space__or__space__doublequote_cultureland_doublequote__space__or__space__doublequote_smartculture_doublequote__space__or__space__doublequote_happymoney_doublequote__space__or__space__doublequote_booknlife_doublequote__space__or__space__doublequote_point_doublequote__gt_": { + "IIamportPayment.IBasephonekpaykakaopaypaycolpayssgpaytosspayculturelandsmartculturehappymoneybooknlifepoint": { "type": "object", "properties": { "pay_method": { @@ -2604,6 +2623,7 @@ "value": "url", "validate": "/^[a-zA-Z0-9]+:\\/\\/(?:www.)?[-a-zA-Z0-9@:%._+~#=]{1,256}.[a-zA-Z0-9()]{1,6}\\b(?:[-a-zA-Z0-9()@:%_+.~#?&/=]*)$/.test($input)", "exclusive": [ + "format", "pattern" ] } @@ -2665,6 +2685,7 @@ "value": "email", "validate": "/^(([^<>()[\\]\\.,;:\\s@\\\"]+(\\.[^<>()[\\]\\.,;:\\s@\\\"]+)*)|(\\\".+\\\"))@(([^<>()[\\]\\.,;:\\s@\\\"]+\\.)+[^<>()[\\]\\.,;:\\s@\\\"]{2,})$/i.test($input)", "exclusive": [ + "format", "pattern" ] } @@ -2842,6 +2863,7 @@ "value": "date-time", "validate": "!isNaN(new Date($input).getTime())", "exclusive": [ + "format", "pattern" ] } @@ -2884,6 +2906,7 @@ "value": "uuid", "validate": "/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i.test($input)", "exclusive": [ + "format", "pattern" ] } @@ -2899,7 +2922,7 @@ ] }, "vendor": { - "$ref": "#/components/schemas/IPaymentVendor_lt__doublequote_toss.payments_doublequote__gt_" + "$ref": "#/components/schemas/IPaymentVendortoss.payments" }, "source": { "$ref": "#/components/schemas/IPaymentSource" @@ -2968,6 +2991,7 @@ "value": "url", "validate": "/^[a-zA-Z0-9]+:\\/\\/(?:www.)?[-a-zA-Z0-9@:%._+~#=]{1,256}.[a-zA-Z0-9()]{1,6}\\b(?:[-a-zA-Z0-9()@:%_+.~#?&/=]*)$/.test($input)", "exclusive": [ + "format", "pattern" ] } @@ -2988,6 +3012,7 @@ "value": "date-time", "validate": "!isNaN(new Date($input).getTime())", "exclusive": [ + "format", "pattern" ] } @@ -3007,6 +3032,7 @@ "value": "date-time", "validate": "!isNaN(new Date($input).getTime())", "exclusive": [ + "format", "pattern" ] } @@ -3027,6 +3053,7 @@ "value": "date-time", "validate": "!isNaN(new Date($input).getTime())", "exclusive": [ + "format", "pattern" ] } @@ -3062,7 +3089,7 @@ "description": "결제 내역의 기본 정보.", "x-typia-jsDocTags": [] }, - "IPaymentVendor_lt__doublequote_toss.payments_doublequote__gt_": { + "IPaymentVendortoss.payments": { "type": "object", "properties": { "code": { @@ -3291,6 +3318,7 @@ "value": "date-time", "validate": "!isNaN(new Date($input).getTime())", "exclusive": [ + "format", "pattern" ] } @@ -3310,6 +3338,7 @@ "value": "date-time", "validate": "!isNaN(new Date($input).getTime())", "exclusive": [ + "format", "pattern" ] } @@ -3392,7 +3421,10 @@ "kind": "pattern", "value": "[0-9]{16}", "validate": "/[0-9]{16}/.test($input)", - "exclusive": false + "exclusive": [ + "format", + "pattern" + ] } ] }, @@ -3471,6 +3503,7 @@ "value": "url", "validate": "/^[a-zA-Z0-9]+:\\/\\/(?:www.)?[-a-zA-Z0-9@:%._+~#=]{1,256}.[a-zA-Z0-9()]{1,6}\\b(?:[-a-zA-Z0-9()@:%_+.~#?&/=]*)$/.test($input)", "exclusive": [ + "format", "pattern" ] } @@ -3557,6 +3590,7 @@ "value": "date-time", "validate": "!isNaN(new Date($input).getTime())", "exclusive": [ + "format", "pattern" ] } @@ -3773,6 +3807,7 @@ "value": "date-time", "validate": "!isNaN(new Date($input).getTime())", "exclusive": [ + "format", "pattern" ] } @@ -3792,6 +3827,7 @@ "value": "date-time", "validate": "!isNaN(new Date($input).getTime())", "exclusive": [ + "format", "pattern" ] } @@ -4016,6 +4052,7 @@ "value": "date-time", "validate": "!isNaN(new Date($input).getTime())", "exclusive": [ + "format", "pattern" ] } @@ -4035,6 +4072,7 @@ "value": "date-time", "validate": "!isNaN(new Date($input).getTime())", "exclusive": [ + "format", "pattern" ] } @@ -4266,6 +4304,7 @@ "value": "date-time", "validate": "!isNaN(new Date($input).getTime())", "exclusive": [ + "format", "pattern" ] } @@ -4285,6 +4324,7 @@ "value": "date-time", "validate": "!isNaN(new Date($input).getTime())", "exclusive": [ + "format", "pattern" ] } @@ -4515,6 +4555,7 @@ "value": "date-time", "validate": "!isNaN(new Date($input).getTime())", "exclusive": [ + "format", "pattern" ] } @@ -4534,6 +4575,7 @@ "value": "date-time", "validate": "!isNaN(new Date($input).getTime())", "exclusive": [ + "format", "pattern" ] } @@ -4638,6 +4680,7 @@ "value": "date", "validate": "/^(\\d{4})-(\\d{2})-(\\d{2})$/.test($input)", "exclusive": [ + "format", "pattern" ] } @@ -4708,7 +4751,7 @@ "type": "object", "properties": { "vendor": { - "$ref": "#/components/schemas/IPaymentVendor_lt__doublequote_iamport_doublequote__space__or__space__doublequote_toss.payments_doublequote__gt_" + "$ref": "#/components/schemas/IPaymentVendoriamporttoss.payments" }, "source": { "$ref": "#/components/schemas/IPaymentSource" @@ -4753,6 +4796,7 @@ "value": "url", "validate": "/^[a-zA-Z0-9]+:\\/\\/(?:www.)?[-a-zA-Z0-9@:%._+~#=]{1,256}.[a-zA-Z0-9()]{1,6}\\b(?:[-a-zA-Z0-9()@:%_+.~#?&/=]*)$/.test($input)", "exclusive": [ + "format", "pattern" ] } @@ -4770,7 +4814,7 @@ "description": "결제 입력 정보.\n\nSDK 에서 받은 데이터를 취합하여 결제 진행 상황을 서버에 알려준다.", "x-typia-jsDocTags": [] }, - "IPaymentVendor_lt__doublequote_iamport_doublequote__space__or__space__doublequote_toss.payments_doublequote__gt_": { + "IPaymentVendoriamporttoss.payments": { "type": "object", "properties": { "code": { @@ -4945,6 +4989,7 @@ "value": "uuid", "validate": "/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i.test($input)", "exclusive": [ + "format", "pattern" ] } @@ -4960,7 +5005,7 @@ ] }, "vendor": { - "$ref": "#/components/schemas/IPaymentVendor_lt__doublequote_iamport_doublequote__gt_" + "$ref": "#/components/schemas/IPaymentVendoriamport" }, "source": { "$ref": "#/components/schemas/IPaymentSource" @@ -4988,6 +5033,7 @@ "value": "date-time", "validate": "!isNaN(new Date($input).getTime())", "exclusive": [ + "format", "pattern" ] } @@ -5134,6 +5180,7 @@ "value": "uuid", "validate": "/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i.test($input)", "exclusive": [ + "format", "pattern" ] } @@ -5149,7 +5196,7 @@ ] }, "vendor": { - "$ref": "#/components/schemas/IPaymentVendor_lt__doublequote_toss.payments_doublequote__gt_" + "$ref": "#/components/schemas/IPaymentVendortoss.payments" }, "source": { "$ref": "#/components/schemas/IPaymentSource" @@ -5177,6 +5224,7 @@ "value": "date-time", "validate": "!isNaN(new Date($input).getTime())", "exclusive": [ + "format", "pattern" ] } @@ -5239,7 +5287,10 @@ "kind": "pattern", "value": "[0-9]{16}", "validate": "/[0-9]{16}/.test($input)", - "exclusive": false + "exclusive": [ + "format", + "pattern" + ] } ] }, @@ -5257,6 +5308,7 @@ "value": "date-time", "validate": "!isNaN(new Date($input).getTime())", "exclusive": [ + "format", "pattern" ] } @@ -5296,7 +5348,7 @@ "type": "object", "properties": { "vendor": { - "$ref": "#/components/schemas/IPaymentVendor_lt_IPaymentVendor.Code_gt_" + "$ref": "#/components/schemas/IPaymentVendorIPaymentVendor.Code" }, "source": { "$ref": "#/components/schemas/IPaymentSource" @@ -5324,7 +5376,7 @@ "description": "간편 결제 수단 등록 정보.\n\n결제사의 팝업 창로부터 전달받은 식별자 정보를 취합하여 전달한다.\n\n참고로 아임포트의 경우 간편 결제로 등록한 카드에 자체 식별자 번호를 부여하지 않는다.\n따라서 귀하의 서비스가 발행한 식별자 ID 가 곧, 해당 간편 결제 수단의 유일무이한\n식별자ㅏ 되니, 이를 {@link IPaymentVendor.uid } 와 {@link IPaymentSource.id } 에\n모두 동일하게 할당해주면 된다.", "x-typia-jsDocTags": [] }, - "IPaymentVendor_lt_IPaymentVendor.Code_gt_": { + "IPaymentVendorIPaymentVendor.Code": { "type": "object", "properties": { "code": { diff --git a/packages/payment-backend/package.json b/packages/payment-backend/package.json index 3b0680f..9f24e9c 100644 --- a/packages/payment-backend/package.json +++ b/packages/payment-backend/package.json @@ -1,6 +1,6 @@ { "name": "@samchon/payment-backend", - "version": "4.0.1", + "version": "4.0.2", "description": "Payment Backend Server", "main": "lib/index.js", "typings": "lib/index.d.ts", @@ -52,7 +52,7 @@ }, "homepage": "https://github.com/samchon/payments", "devDependencies": { - "@nestia/sdk": "^2.0.5", + "@nestia/sdk": "^2.1.5", "@trivago/prettier-plugin-sort-imports": "^4.0.0", "@types/atob": "^2.1.2", "@types/bcryptjs": "^2.4.4", @@ -67,34 +67,34 @@ "@typescript-eslint/parser": "^5.26.0", "cli": "^1.0.1", "copyfiles": "^2.4.1", - "iamport-server-api": "^4.0.1", + "iamport-server-api": "^4.0.2", "nestia": "^4.5.0", "pm2": "^4.5.6", "prettier": "^2.6.2", "prisma-markdown": "^1.0.0", "rimraf": "^3.0.2", "sloc": "^0.2.1", - "toss-payments-server-api": "^4.0.1", + "toss-payments-server-api": "^4.0.2", "ts-node": "^10.9.1", "ts-patch": "^3.0.2", "typescript": "^5.2.2", "typescript-transform-paths": "^3.4.6" }, "dependencies": { - "@nestia/core": "^2.0.5", + "@nestia/core": "^2.1.5", "@prisma/client": "^5.3.1", "bcryptjs": "^2.4.3", "dotenv": "^16.3.1", "dotenv-expand": "^10.0.0", - "fake-iamport-server": "^4.0.1", - "fake-toss-payments-server": "^4.0.1", + "fake-iamport-server": "^4.0.2", + "fake-toss-payments-server": "^4.0.2", "git-last-commit": "^1.0.0", "inquirer": "^8.2.5", "mutex-server": "^0.3.1", "prisma": "^5.3.1", "source-map-support": "^0.5.19", "tstl": "^2.5.13", - "typia": "^5.0.5" + "typia": "^5.1.5" }, "files": [ "lib", diff --git a/packages/toss-payments-server-api/package.json b/packages/toss-payments-server-api/package.json index 0687dc3..210e9b7 100644 --- a/packages/toss-payments-server-api/package.json +++ b/packages/toss-payments-server-api/package.json @@ -1,6 +1,6 @@ { "name": "toss-payments-server-api", - "version": "4.0.1", + "version": "4.0.2", "description": "API for Toss Payments Server", "main": "lib/index.js", "typings": "lib/index.d.ts", @@ -34,7 +34,7 @@ "typescript": "^5.2.2" }, "dependencies": { - "@nestia/fetcher": "^2.0.5", - "typia": "^5.0.5" + "@nestia/fetcher": "^2.1.5", + "typia": "^5.1.5" } } \ No newline at end of file diff --git a/packages/toss-payments-server-api/swagger.json b/packages/toss-payments-server-api/swagger.json index e3d7e1e..6e33fd9 100644 --- a/packages/toss-payments-server-api/swagger.json +++ b/packages/toss-payments-server-api/swagger.json @@ -13,7 +13,7 @@ "info": { "title": "Toss Payments API", "description": "Built by [fake-toss-payments-server](https://github.com/samchon/payments/tree/master/packages/toss-payments-server-api) with [nestia](https://github.com/samchon/nestia)", - "version": "4.0.1", + "version": "4.0.2", "license": { "name": "MIT" } @@ -1288,7 +1288,10 @@ "kind": "pattern", "value": "[0-9]{16}", "validate": "/[0-9]{16}/.test($input)", - "exclusive": false + "exclusive": [ + "format", + "pattern" + ] } ] }, @@ -1305,7 +1308,10 @@ "kind": "pattern", "value": "\\d{2}", "validate": "/\\d{2}/.test($input)", - "exclusive": false + "exclusive": [ + "format", + "pattern" + ] } ] }, @@ -1322,7 +1328,10 @@ "kind": "pattern", "value": "^(0[1-9]|1[012])$", "validate": "/^(0[1-9]|1[012])$/.test($input)", - "exclusive": false + "exclusive": [ + "format", + "pattern" + ] } ] }, @@ -1345,7 +1354,10 @@ "kind": "pattern", "value": "^([0-9]{2})(0[1-9]|1[012])(0[1-9]|[12][0-9]|3[01])$", "validate": "/^([0-9]{2})(0[1-9]|1[012])(0[1-9]|[12][0-9]|3[01])$/.test($input)", - "exclusive": false + "exclusive": [ + "format", + "pattern" + ] } ] }, @@ -1369,6 +1381,7 @@ "value": "email", "validate": "/^(([^<>()[\\]\\.,;:\\s@\\\"]+(\\.[^<>()[\\]\\.,;:\\s@\\\"]+)*)|(\\\".+\\\"))@(([^<>()[\\]\\.,;:\\s@\\\"]+\\.)+[^<>()[\\]\\.,;:\\s@\\\"]{2,})$/i.test($input)", "exclusive": [ + "format", "pattern" ] } @@ -1469,7 +1482,10 @@ "kind": "pattern", "value": "[0-9]{16}", "validate": "/[0-9]{16}/.test($input)", - "exclusive": false + "exclusive": [ + "format", + "pattern" + ] } ] }, @@ -1487,6 +1503,7 @@ "value": "date-time", "validate": "!isNaN(new Date($input).getTime())", "exclusive": [ + "format", "pattern" ] } @@ -1772,6 +1789,7 @@ "value": "date-time", "validate": "!isNaN(new Date($input).getTime())", "exclusive": [ + "format", "pattern" ] } @@ -1791,6 +1809,7 @@ "value": "date-time", "validate": "!isNaN(new Date($input).getTime())", "exclusive": [ + "format", "pattern" ] } @@ -1873,7 +1892,10 @@ "kind": "pattern", "value": "[0-9]{16}", "validate": "/[0-9]{16}/.test($input)", - "exclusive": false + "exclusive": [ + "format", + "pattern" + ] } ] }, @@ -1952,6 +1974,7 @@ "value": "url", "validate": "/^[a-zA-Z0-9]+:\\/\\/(?:www.)?[-a-zA-Z0-9@:%._+~#=]{1,256}.[a-zA-Z0-9()]{1,6}\\b(?:[-a-zA-Z0-9()@:%_+.~#?&/=]*)$/.test($input)", "exclusive": [ + "format", "pattern" ] } @@ -2038,6 +2061,7 @@ "value": "date-time", "validate": "!isNaN(new Date($input).getTime())", "exclusive": [ + "format", "pattern" ] } @@ -2254,6 +2278,7 @@ "value": "date-time", "validate": "!isNaN(new Date($input).getTime())", "exclusive": [ + "format", "pattern" ] } @@ -2273,6 +2298,7 @@ "value": "date-time", "validate": "!isNaN(new Date($input).getTime())", "exclusive": [ + "format", "pattern" ] } @@ -2497,6 +2523,7 @@ "value": "date-time", "validate": "!isNaN(new Date($input).getTime())", "exclusive": [ + "format", "pattern" ] } @@ -2516,6 +2543,7 @@ "value": "date-time", "validate": "!isNaN(new Date($input).getTime())", "exclusive": [ + "format", "pattern" ] } @@ -2747,6 +2775,7 @@ "value": "date-time", "validate": "!isNaN(new Date($input).getTime())", "exclusive": [ + "format", "pattern" ] } @@ -2766,6 +2795,7 @@ "value": "date-time", "validate": "!isNaN(new Date($input).getTime())", "exclusive": [ + "format", "pattern" ] } @@ -2996,6 +3026,7 @@ "value": "date-time", "validate": "!isNaN(new Date($input).getTime())", "exclusive": [ + "format", "pattern" ] } @@ -3015,6 +3046,7 @@ "value": "date-time", "validate": "!isNaN(new Date($input).getTime())", "exclusive": [ + "format", "pattern" ] } @@ -3119,6 +3151,7 @@ "value": "date", "validate": "/^(\\d{4})-(\\d{2})-(\\d{2})$/.test($input)", "exclusive": [ + "format", "pattern" ] } @@ -3280,6 +3313,7 @@ "value": "date-time", "validate": "!isNaN(new Date($input).getTime())", "exclusive": [ + "format", "pattern" ] } @@ -3299,6 +3333,7 @@ "value": "date-time", "validate": "!isNaN(new Date($input).getTime())", "exclusive": [ + "format", "pattern" ] } @@ -3446,7 +3481,10 @@ "kind": "pattern", "value": "[0-9]{16}", "validate": "/[0-9]{16}/.test($input)", - "exclusive": false + "exclusive": [ + "format", + "pattern" + ] } ] }, @@ -3463,7 +3501,10 @@ "kind": "pattern", "value": "\\d{2}", "validate": "/\\d{2}/.test($input)", - "exclusive": false + "exclusive": [ + "format", + "pattern" + ] } ] }, @@ -3480,7 +3521,10 @@ "kind": "pattern", "value": "^(0[1-9]|1[012])$", "validate": "/^(0[1-9]|1[012])$/.test($input)", - "exclusive": false + "exclusive": [ + "format", + "pattern" + ] } ] }, @@ -3533,7 +3577,10 @@ "kind": "pattern", "value": "^([0-9]{2})(0[1-9]|1[012])(0[1-9]|[12][0-9]|3[01])$", "validate": "/^([0-9]{2})(0[1-9]|1[012])(0[1-9]|[12][0-9]|3[01])$/.test($input)", - "exclusive": false + "exclusive": [ + "format", + "pattern" + ] } ] }, @@ -3551,6 +3598,7 @@ "value": "email", "validate": "/^(([^<>()[\\]\\.,;:\\s@\\\"]+(\\.[^<>()[\\]\\.,;:\\s@\\\"]+)*)|(\\\".+\\\"))@(([^<>()[\\]\\.,;:\\s@\\\"]+\\.)+[^<>()[\\]\\.,;:\\s@\\\"]{2,})$/i.test($input)", "exclusive": [ + "format", "pattern" ] } @@ -3705,7 +3753,10 @@ "kind": "pattern", "value": "^[0-9]{0,20}$", "validate": "/^[0-9]{0,20}$/.test($input)", - "exclusive": false + "exclusive": [ + "format", + "pattern" + ] } ] },