@cmarket/partner-sdk 0.1.0 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +37 -6
- package/api/oauth-api.ts +1 -1
- package/api/partner-v1-api.ts +13 -13
- package/api/partner-v2-api.ts +800 -9
- package/api.ts +1 -2
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api/oauth-api.d.ts +1 -1
- package/dist/api/oauth-api.js +1 -1
- package/dist/api/partner-v1-api.d.ts +13 -13
- package/dist/api/partner-v1-api.js +13 -13
- package/dist/api/partner-v2-api.d.ts +359 -9
- package/dist/api/partner-v2-api.js +739 -9
- package/dist/api.d.ts +1 -2
- package/dist/api.js +1 -2
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/esm/api/oauth-api.d.ts +1 -1
- package/dist/esm/api/oauth-api.js +1 -1
- package/dist/esm/api/partner-v1-api.d.ts +13 -13
- package/dist/esm/api/partner-v1-api.js +13 -13
- package/dist/esm/api/partner-v2-api.d.ts +359 -9
- package/dist/esm/api/partner-v2-api.js +739 -9
- package/dist/esm/api.d.ts +1 -2
- package/dist/esm/api.js +1 -2
- package/dist/esm/base.d.ts +1 -1
- package/dist/esm/base.js +1 -1
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/common.js +1 -1
- package/dist/esm/configuration.d.ts +1 -1
- package/dist/esm/configuration.js +1 -1
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/models/acceptance-result-response-dto.d.ts +21 -0
- package/dist/esm/models/{legacy-envelope-dto.js → acceptance-result-response-dto.js} +1 -1
- package/dist/esm/models/award-registered-response-dto.d.ts +1 -1
- package/dist/esm/models/award-registered-response-dto.js +1 -1
- package/dist/esm/models/bid-bond-dto.d.ts +1 -1
- package/dist/esm/models/bid-bond-dto.js +1 -1
- package/dist/esm/models/bid-contract-documents-batch-request-dto.d.ts +21 -0
- package/dist/esm/models/bid-contract-documents-batch-request-dto.js +14 -0
- package/dist/esm/models/bid-contract-documents-response-dto.d.ts +26 -0
- package/dist/esm/models/bid-contract-documents-response-dto.js +14 -0
- package/dist/esm/models/bid-created-response-dto.d.ts +1 -1
- package/dist/esm/models/bid-created-response-dto.js +1 -1
- package/dist/esm/models/bid-document-dto.d.ts +1 -1
- package/dist/esm/models/bid-document-dto.js +1 -1
- package/dist/esm/models/bid-failed-response-dto.d.ts +21 -0
- package/dist/esm/models/bid-failed-response-dto.js +14 -0
- package/dist/esm/models/bid-failure-reason.d.ts +25 -0
- package/dist/esm/models/bid-failure-reason.js +26 -0
- package/dist/esm/models/bid-item-dto.d.ts +1 -1
- package/dist/esm/models/bid-item-dto.js +1 -1
- package/dist/esm/models/bid-manager-dto.d.ts +9 -1
- package/dist/esm/models/bid-manager-dto.js +1 -1
- package/dist/esm/models/bid-result-participant-dto.d.ts +65 -0
- package/dist/esm/models/bid-result-participant-dto.js +14 -0
- package/dist/esm/models/bid-result-product-dto.d.ts +25 -0
- package/dist/esm/models/bid-result-product-dto.js +14 -0
- package/dist/esm/models/bid-result-winner-dto.d.ts +25 -0
- package/dist/esm/models/bid-result-winner-dto.js +14 -0
- package/dist/esm/models/bid-results-batch-request-dto.d.ts +21 -0
- package/dist/esm/models/bid-results-batch-request-dto.js +14 -0
- package/dist/esm/models/bid-results-response-dto.d.ts +56 -0
- package/dist/esm/models/bid-results-response-dto.js +14 -0
- package/dist/esm/models/bid-settlement-line-item-dto.d.ts +49 -0
- package/dist/esm/models/bid-settlement-line-item-dto.js +14 -0
- package/dist/esm/models/bid-settlement-participant-dto.d.ts +95 -0
- package/dist/esm/models/bid-settlement-participant-dto.js +17 -0
- package/dist/esm/models/bid-settlement-response-dto.d.ts +22 -0
- package/dist/esm/models/bid-settlement-response-dto.js +14 -0
- package/dist/esm/models/bid-statement-response-dto.d.ts +31 -0
- package/dist/esm/models/bid-statement-response-dto.js +14 -0
- package/dist/esm/models/bid-status.d.ts +2 -2
- package/dist/esm/models/bid-status.js +2 -2
- package/dist/esm/models/bid-summary-response-dto.d.ts +5 -5
- package/dist/esm/models/bid-summary-response-dto.js +1 -1
- package/dist/esm/models/complete-acceptance-request-dto.d.ts +65 -0
- package/dist/esm/models/complete-acceptance-request-dto.js +14 -0
- package/dist/esm/models/contract-document-item-dto.d.ts +29 -0
- package/dist/esm/models/contract-document-item-dto.js +14 -0
- package/dist/esm/models/create-bid-request-dto.d.ts +19 -2
- package/dist/esm/models/create-bid-request-dto.js +5 -1
- package/dist/esm/models/file-uploaded-response-dto.d.ts +1 -1
- package/dist/esm/models/file-uploaded-response-dto.js +1 -1
- package/dist/esm/models/health-response-dto.d.ts +1 -1
- package/dist/esm/models/health-response-dto.js +1 -1
- package/dist/esm/models/hierarchical-region-dto.d.ts +1 -1
- package/dist/esm/models/hierarchical-region-dto.js +1 -1
- package/dist/esm/models/index.d.ts +24 -1
- package/dist/esm/models/index.js +24 -1
- package/dist/esm/models/mark-bid-failed-request-dto.d.ts +30 -0
- package/dist/esm/models/mark-bid-failed-request-dto.js +14 -0
- package/dist/esm/models/negotiation-score-dto.d.ts +25 -0
- package/dist/esm/models/negotiation-score-dto.js +14 -0
- package/dist/esm/models/negotiation-scored-response-dto.d.ts +25 -0
- package/dist/esm/models/negotiation-scored-response-dto.js +14 -0
- package/dist/esm/models/preconditions-dto.d.ts +1 -1
- package/dist/esm/models/preconditions-dto.js +1 -1
- package/dist/esm/models/register-award-request-dto.d.ts +10 -2
- package/dist/esm/models/register-award-request-dto.js +1 -1
- package/dist/esm/models/request-split-invoice-request-dto.d.ts +33 -0
- package/dist/esm/models/request-split-invoice-request-dto.js +14 -0
- package/dist/esm/models/split-invoice-response-dto.d.ts +21 -0
- package/dist/esm/models/split-invoice-response-dto.js +14 -0
- package/dist/esm/models/statement-document-dto.d.ts +25 -0
- package/dist/esm/models/statement-document-dto.js +14 -0
- package/dist/esm/models/statement-product-dto.d.ts +49 -0
- package/dist/esm/models/statement-product-dto.js +14 -0
- package/dist/esm/models/submit-negotiation-scores-request-dto.d.ts +30 -0
- package/dist/esm/models/submit-negotiation-scores-request-dto.js +14 -0
- package/dist/esm/models/token-request-dto.d.ts +1 -1
- package/dist/esm/models/token-request-dto.js +1 -1
- package/dist/esm/models/token-response-dto.d.ts +1 -1
- package/dist/esm/models/token-response-dto.js +1 -1
- package/dist/esm/models/upload-file-request-dto.d.ts +1 -1
- package/dist/esm/models/upload-file-request-dto.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/models/acceptance-result-response-dto.d.ts +21 -0
- package/dist/models/{legacy-envelope-dto.js → acceptance-result-response-dto.js} +1 -1
- package/dist/models/award-registered-response-dto.d.ts +1 -1
- package/dist/models/award-registered-response-dto.js +1 -1
- package/dist/models/bid-bond-dto.d.ts +1 -1
- package/dist/models/bid-bond-dto.js +1 -1
- package/dist/models/bid-contract-documents-batch-request-dto.d.ts +21 -0
- package/dist/models/bid-contract-documents-batch-request-dto.js +15 -0
- package/dist/models/bid-contract-documents-response-dto.d.ts +26 -0
- package/dist/models/bid-contract-documents-response-dto.js +15 -0
- package/dist/models/bid-created-response-dto.d.ts +1 -1
- package/dist/models/bid-created-response-dto.js +1 -1
- package/dist/models/bid-document-dto.d.ts +1 -1
- package/dist/models/bid-document-dto.js +1 -1
- package/dist/models/bid-failed-response-dto.d.ts +21 -0
- package/dist/models/bid-failed-response-dto.js +15 -0
- package/dist/models/bid-failure-reason.d.ts +25 -0
- package/dist/models/bid-failure-reason.js +29 -0
- package/dist/models/bid-item-dto.d.ts +1 -1
- package/dist/models/bid-item-dto.js +1 -1
- package/dist/models/bid-manager-dto.d.ts +9 -1
- package/dist/models/bid-manager-dto.js +1 -1
- package/dist/models/bid-result-participant-dto.d.ts +65 -0
- package/dist/models/bid-result-participant-dto.js +15 -0
- package/dist/models/bid-result-product-dto.d.ts +25 -0
- package/dist/models/bid-result-product-dto.js +15 -0
- package/dist/models/bid-result-winner-dto.d.ts +25 -0
- package/dist/models/bid-result-winner-dto.js +15 -0
- package/dist/models/bid-results-batch-request-dto.d.ts +21 -0
- package/dist/models/bid-results-batch-request-dto.js +15 -0
- package/dist/models/bid-results-response-dto.d.ts +56 -0
- package/dist/models/bid-results-response-dto.js +15 -0
- package/dist/models/bid-settlement-line-item-dto.d.ts +49 -0
- package/dist/models/bid-settlement-line-item-dto.js +15 -0
- package/dist/models/bid-settlement-participant-dto.d.ts +95 -0
- package/dist/models/bid-settlement-participant-dto.js +20 -0
- package/dist/models/bid-settlement-response-dto.d.ts +22 -0
- package/dist/models/bid-settlement-response-dto.js +15 -0
- package/dist/models/bid-statement-response-dto.d.ts +31 -0
- package/dist/models/bid-statement-response-dto.js +15 -0
- package/dist/models/bid-status.d.ts +2 -2
- package/dist/models/bid-status.js +2 -2
- package/dist/models/bid-summary-response-dto.d.ts +5 -5
- package/dist/models/bid-summary-response-dto.js +1 -1
- package/dist/models/complete-acceptance-request-dto.d.ts +65 -0
- package/dist/models/complete-acceptance-request-dto.js +15 -0
- package/dist/models/contract-document-item-dto.d.ts +29 -0
- package/dist/models/contract-document-item-dto.js +15 -0
- package/dist/models/create-bid-request-dto.d.ts +19 -2
- package/dist/models/create-bid-request-dto.js +6 -2
- package/dist/models/file-uploaded-response-dto.d.ts +1 -1
- package/dist/models/file-uploaded-response-dto.js +1 -1
- package/dist/models/health-response-dto.d.ts +1 -1
- package/dist/models/health-response-dto.js +1 -1
- package/dist/models/hierarchical-region-dto.d.ts +1 -1
- package/dist/models/hierarchical-region-dto.js +1 -1
- package/dist/models/index.d.ts +24 -1
- package/dist/models/index.js +24 -1
- package/dist/models/mark-bid-failed-request-dto.d.ts +30 -0
- package/dist/models/mark-bid-failed-request-dto.js +15 -0
- package/dist/models/negotiation-score-dto.d.ts +25 -0
- package/dist/models/negotiation-score-dto.js +15 -0
- package/dist/models/negotiation-scored-response-dto.d.ts +25 -0
- package/dist/models/negotiation-scored-response-dto.js +15 -0
- package/dist/models/preconditions-dto.d.ts +1 -1
- package/dist/models/preconditions-dto.js +1 -1
- package/dist/models/register-award-request-dto.d.ts +10 -2
- package/dist/models/register-award-request-dto.js +1 -1
- package/dist/models/request-split-invoice-request-dto.d.ts +33 -0
- package/dist/models/request-split-invoice-request-dto.js +15 -0
- package/dist/models/split-invoice-response-dto.d.ts +21 -0
- package/dist/models/split-invoice-response-dto.js +15 -0
- package/dist/models/statement-document-dto.d.ts +25 -0
- package/dist/models/statement-document-dto.js +15 -0
- package/dist/models/statement-product-dto.d.ts +49 -0
- package/dist/models/statement-product-dto.js +15 -0
- package/dist/models/submit-negotiation-scores-request-dto.d.ts +30 -0
- package/dist/models/submit-negotiation-scores-request-dto.js +15 -0
- package/dist/models/token-request-dto.d.ts +1 -1
- package/dist/models/token-request-dto.js +1 -1
- package/dist/models/token-response-dto.d.ts +1 -1
- package/dist/models/token-response-dto.js +1 -1
- package/dist/models/upload-file-request-dto.d.ts +1 -1
- package/dist/models/upload-file-request-dto.js +1 -1
- package/docs/AcceptanceResultResponseDto.md +22 -0
- package/docs/BidContractDocumentsBatchRequestDto.md +22 -0
- package/docs/BidContractDocumentsResponseDto.md +24 -0
- package/docs/BidFailedResponseDto.md +22 -0
- package/docs/BidFailureReason.md +23 -0
- package/docs/BidManagerDto.md +4 -0
- package/docs/BidResultParticipantDto.md +44 -0
- package/docs/BidResultProductDto.md +24 -0
- package/docs/BidResultWinnerDto.md +24 -0
- package/docs/BidResultsBatchRequestDto.md +22 -0
- package/docs/BidResultsResponseDto.md +38 -0
- package/docs/BidSettlementLineItemDto.md +36 -0
- package/docs/BidSettlementParticipantDto.md +56 -0
- package/docs/BidSettlementResponseDto.md +22 -0
- package/docs/BidStatementResponseDto.md +26 -0
- package/docs/BidStatus.md +1 -1
- package/docs/BidSummaryResponseDto.md +4 -4
- package/docs/CompleteAcceptanceRequestDto.md +44 -0
- package/docs/ContractDocumentItemDto.md +26 -0
- package/docs/CreateBidRequestDto.md +7 -1
- package/docs/MarkBidFailedRequestDto.md +26 -0
- package/docs/NegotiationScoreDto.md +24 -0
- package/docs/NegotiationScoredResponseDto.md +24 -0
- package/docs/PartnerV1Api.md +3 -3
- package/docs/PartnerV2Api.md +540 -2
- package/docs/RegisterAwardRequestDto.md +5 -1
- package/docs/RequestSplitInvoiceRequestDto.md +28 -0
- package/docs/SplitInvoiceResponseDto.md +22 -0
- package/docs/StatementDocumentDto.md +24 -0
- package/docs/StatementProductDto.md +36 -0
- package/docs/SubmitNegotiationScoresRequestDto.md +26 -0
- package/index.ts +1 -1
- package/models/acceptance-result-response-dto.ts +27 -0
- package/models/award-registered-response-dto.ts +1 -1
- package/models/bid-bond-dto.ts +1 -1
- package/models/bid-contract-documents-batch-request-dto.ts +27 -0
- package/models/bid-contract-documents-response-dto.ts +34 -0
- package/models/bid-created-response-dto.ts +1 -1
- package/models/bid-document-dto.ts +1 -1
- package/models/bid-failed-response-dto.ts +27 -0
- package/models/bid-failure-reason.ts +35 -0
- package/models/bid-item-dto.ts +1 -1
- package/models/bid-manager-dto.ts +9 -1
- package/models/bid-result-participant-dto.ts +71 -0
- package/models/bid-result-product-dto.ts +31 -0
- package/models/bid-result-winner-dto.ts +31 -0
- package/models/bid-results-batch-request-dto.ts +27 -0
- package/models/bid-results-response-dto.ts +68 -0
- package/models/bid-settlement-line-item-dto.ts +55 -0
- package/models/bid-settlement-participant-dto.ts +106 -0
- package/models/bid-settlement-response-dto.ts +30 -0
- package/models/bid-statement-response-dto.ts +41 -0
- package/models/bid-status.ts +2 -2
- package/models/bid-summary-response-dto.ts +5 -5
- package/models/complete-acceptance-request-dto.ts +71 -0
- package/models/contract-document-item-dto.ts +35 -0
- package/models/create-bid-request-dto.ts +20 -2
- package/models/file-uploaded-response-dto.ts +1 -1
- package/models/health-response-dto.ts +1 -1
- package/models/hierarchical-region-dto.ts +1 -1
- package/models/index.ts +24 -1
- package/models/mark-bid-failed-request-dto.ts +40 -0
- package/models/negotiation-score-dto.ts +31 -0
- package/models/{legacy-envelope-dto.ts → negotiation-scored-response-dto.ts} +8 -8
- package/models/preconditions-dto.ts +1 -1
- package/models/register-award-request-dto.ts +10 -2
- package/models/request-split-invoice-request-dto.ts +39 -0
- package/models/split-invoice-response-dto.ts +27 -0
- package/models/statement-document-dto.ts +31 -0
- package/models/statement-product-dto.ts +55 -0
- package/models/submit-negotiation-scores-request-dto.ts +38 -0
- package/models/token-request-dto.ts +1 -1
- package/models/token-response-dto.ts +1 -1
- package/models/upload-file-request-dto.ts +1 -1
- package/package.json +1 -1
- package/.openapi-generator/FILES +0 -57
- package/.openapi-generator/VERSION +0 -1
- package/.openapi-generator-ignore +0 -23
- package/api/partner-v1-legacy-api.ts +0 -178
- package/dist/api/partner-v1-legacy-api.d.ts +0 -91
- package/dist/api/partner-v1-legacy-api.js +0 -181
- package/dist/esm/api/partner-v1-legacy-api.d.ts +0 -91
- package/dist/esm/api/partner-v1-legacy-api.js +0 -174
- package/dist/esm/models/legacy-envelope-dto.d.ts +0 -25
- package/dist/models/legacy-envelope-dto.d.ts +0 -25
- package/docs/LegacyEnvelopeDto.md +0 -24
- package/docs/PartnerV1LegacyApi.md +0 -97
package/package.json
CHANGED
package/.openapi-generator/FILES
DELETED
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
.gitignore
|
|
2
|
-
.npmignore
|
|
3
|
-
README.md
|
|
4
|
-
api.ts
|
|
5
|
-
api/oauth-api.ts
|
|
6
|
-
api/partner-v1-api.ts
|
|
7
|
-
api/partner-v1-legacy-api.ts
|
|
8
|
-
api/partner-v2-api.ts
|
|
9
|
-
base.ts
|
|
10
|
-
common.ts
|
|
11
|
-
configuration.ts
|
|
12
|
-
docs/AwardRegisteredResponseDto.md
|
|
13
|
-
docs/BidBondDto.md
|
|
14
|
-
docs/BidCreatedResponseDto.md
|
|
15
|
-
docs/BidDocumentDto.md
|
|
16
|
-
docs/BidItemDto.md
|
|
17
|
-
docs/BidManagerDto.md
|
|
18
|
-
docs/BidStatus.md
|
|
19
|
-
docs/BidSummaryResponseDto.md
|
|
20
|
-
docs/CreateBidRequestDto.md
|
|
21
|
-
docs/FileUploadedResponseDto.md
|
|
22
|
-
docs/HealthResponseDto.md
|
|
23
|
-
docs/HierarchicalRegionDto.md
|
|
24
|
-
docs/LegacyEnvelopeDto.md
|
|
25
|
-
docs/OauthApi.md
|
|
26
|
-
docs/PartnerV1Api.md
|
|
27
|
-
docs/PartnerV1LegacyApi.md
|
|
28
|
-
docs/PartnerV2Api.md
|
|
29
|
-
docs/PreconditionsDto.md
|
|
30
|
-
docs/RegisterAwardRequestDto.md
|
|
31
|
-
docs/TokenRequestDto.md
|
|
32
|
-
docs/TokenResponseDto.md
|
|
33
|
-
docs/UploadFileRequestDto.md
|
|
34
|
-
git_push.sh
|
|
35
|
-
index.ts
|
|
36
|
-
models/award-registered-response-dto.ts
|
|
37
|
-
models/bid-bond-dto.ts
|
|
38
|
-
models/bid-created-response-dto.ts
|
|
39
|
-
models/bid-document-dto.ts
|
|
40
|
-
models/bid-item-dto.ts
|
|
41
|
-
models/bid-manager-dto.ts
|
|
42
|
-
models/bid-status.ts
|
|
43
|
-
models/bid-summary-response-dto.ts
|
|
44
|
-
models/create-bid-request-dto.ts
|
|
45
|
-
models/file-uploaded-response-dto.ts
|
|
46
|
-
models/health-response-dto.ts
|
|
47
|
-
models/hierarchical-region-dto.ts
|
|
48
|
-
models/index.ts
|
|
49
|
-
models/legacy-envelope-dto.ts
|
|
50
|
-
models/preconditions-dto.ts
|
|
51
|
-
models/register-award-request-dto.ts
|
|
52
|
-
models/token-request-dto.ts
|
|
53
|
-
models/token-response-dto.ts
|
|
54
|
-
models/upload-file-request-dto.ts
|
|
55
|
-
package.json
|
|
56
|
-
tsconfig.esm.json
|
|
57
|
-
tsconfig.json
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
7.23.0
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
# OpenAPI Generator Ignore
|
|
2
|
-
# Generated by openapi-generator https://github.com/openapitools/openapi-generator
|
|
3
|
-
|
|
4
|
-
# Use this file to prevent files from being overwritten by the generator.
|
|
5
|
-
# The patterns follow closely to .gitignore or .dockerignore.
|
|
6
|
-
|
|
7
|
-
# As an example, the C# client generator defines ApiClient.cs.
|
|
8
|
-
# You can make changes and tell OpenAPI Generator to ignore just this file by uncommenting the following line:
|
|
9
|
-
#ApiClient.cs
|
|
10
|
-
|
|
11
|
-
# You can match any string of characters against a directory, file or extension with a single asterisk (*):
|
|
12
|
-
#foo/*/qux
|
|
13
|
-
# The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux
|
|
14
|
-
|
|
15
|
-
# You can recursively match patterns against a directory, file or extension with a double asterisk (**):
|
|
16
|
-
#foo/**/qux
|
|
17
|
-
# This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux
|
|
18
|
-
|
|
19
|
-
# You can also negate patterns with an exclamation (!).
|
|
20
|
-
# For example, you can ignore all files in a docs folder with the file extension .md:
|
|
21
|
-
#docs/*.md
|
|
22
|
-
# Then explicitly reverse the ignore rule for a single file:
|
|
23
|
-
#!docs/README.md
|
|
@@ -1,178 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* CMARKET V6 Partner API
|
|
5
|
-
* 외부 ERP 연동용 RESTful API. V5 17개 엔드포인트의 V6 후속.
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
import type { Configuration } from '../configuration';
|
|
17
|
-
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
18
|
-
import globalAxios from 'axios';
|
|
19
|
-
// Some imports not used depending on template conditions
|
|
20
|
-
// @ts-ignore
|
|
21
|
-
import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction, replaceWithSerializableTypeIfNeeded } from '../common';
|
|
22
|
-
// @ts-ignore
|
|
23
|
-
import { BASE_PATH, COLLECTION_FORMATS, type RequestArgs, BaseAPI, RequiredError, operationServerMap } from '../base';
|
|
24
|
-
// @ts-ignore
|
|
25
|
-
import type { LegacyEnvelopeDto } from '../models';
|
|
26
|
-
/**
|
|
27
|
-
* PartnerV1LegacyApi - axios parameter creator
|
|
28
|
-
*/
|
|
29
|
-
export const PartnerV1LegacyApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
30
|
-
return {
|
|
31
|
-
/**
|
|
32
|
-
* V5 ApiController#check 응답 envelope 그대로. Sunset 헤더 부착.
|
|
33
|
-
* @summary V5 /check 호환 헬스체크 (deprecated)
|
|
34
|
-
* @param {*} [options] Override http request option.
|
|
35
|
-
* @throws {RequiredError}
|
|
36
|
-
*/
|
|
37
|
-
legacyControllerCheckGet: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
38
|
-
const localVarPath = `/v1-legacy/check`;
|
|
39
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
40
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
41
|
-
let baseOptions;
|
|
42
|
-
if (configuration) {
|
|
43
|
-
baseOptions = configuration.baseOptions;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
47
|
-
const localVarHeaderParameter = {} as any;
|
|
48
|
-
const localVarQueryParameter = {} as any;
|
|
49
|
-
|
|
50
|
-
localVarHeaderParameter['Accept'] = 'application/json';
|
|
51
|
-
|
|
52
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
53
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
54
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
55
|
-
|
|
56
|
-
return {
|
|
57
|
-
url: toPathString(localVarUrlObj),
|
|
58
|
-
options: localVarRequestOptions,
|
|
59
|
-
};
|
|
60
|
-
},
|
|
61
|
-
/**
|
|
62
|
-
* V5 는 GET·POST 모두 받음. 동일 응답.
|
|
63
|
-
* @summary V5 /check 호환 헬스체크 — POST (deprecated)
|
|
64
|
-
* @param {*} [options] Override http request option.
|
|
65
|
-
* @throws {RequiredError}
|
|
66
|
-
*/
|
|
67
|
-
legacyControllerCheckPost: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
68
|
-
const localVarPath = `/v1-legacy/check`;
|
|
69
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
70
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
71
|
-
let baseOptions;
|
|
72
|
-
if (configuration) {
|
|
73
|
-
baseOptions = configuration.baseOptions;
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
77
|
-
const localVarHeaderParameter = {} as any;
|
|
78
|
-
const localVarQueryParameter = {} as any;
|
|
79
|
-
|
|
80
|
-
localVarHeaderParameter['Accept'] = 'application/json';
|
|
81
|
-
|
|
82
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
83
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
84
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
85
|
-
|
|
86
|
-
return {
|
|
87
|
-
url: toPathString(localVarUrlObj),
|
|
88
|
-
options: localVarRequestOptions,
|
|
89
|
-
};
|
|
90
|
-
},
|
|
91
|
-
}
|
|
92
|
-
};
|
|
93
|
-
|
|
94
|
-
/**
|
|
95
|
-
* PartnerV1LegacyApi - functional programming interface
|
|
96
|
-
*/
|
|
97
|
-
export const PartnerV1LegacyApiFp = function(configuration?: Configuration) {
|
|
98
|
-
const localVarAxiosParamCreator = PartnerV1LegacyApiAxiosParamCreator(configuration)
|
|
99
|
-
return {
|
|
100
|
-
/**
|
|
101
|
-
* V5 ApiController#check 응답 envelope 그대로. Sunset 헤더 부착.
|
|
102
|
-
* @summary V5 /check 호환 헬스체크 (deprecated)
|
|
103
|
-
* @param {*} [options] Override http request option.
|
|
104
|
-
* @throws {RequiredError}
|
|
105
|
-
*/
|
|
106
|
-
async legacyControllerCheckGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LegacyEnvelopeDto>> {
|
|
107
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.legacyControllerCheckGet(options);
|
|
108
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
109
|
-
const localVarOperationServerBasePath = operationServerMap['PartnerV1LegacyApi.legacyControllerCheckGet']?.[localVarOperationServerIndex]?.url;
|
|
110
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
111
|
-
},
|
|
112
|
-
/**
|
|
113
|
-
* V5 는 GET·POST 모두 받음. 동일 응답.
|
|
114
|
-
* @summary V5 /check 호환 헬스체크 — POST (deprecated)
|
|
115
|
-
* @param {*} [options] Override http request option.
|
|
116
|
-
* @throws {RequiredError}
|
|
117
|
-
*/
|
|
118
|
-
async legacyControllerCheckPost(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LegacyEnvelopeDto>> {
|
|
119
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.legacyControllerCheckPost(options);
|
|
120
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
121
|
-
const localVarOperationServerBasePath = operationServerMap['PartnerV1LegacyApi.legacyControllerCheckPost']?.[localVarOperationServerIndex]?.url;
|
|
122
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
123
|
-
},
|
|
124
|
-
}
|
|
125
|
-
};
|
|
126
|
-
|
|
127
|
-
/**
|
|
128
|
-
* PartnerV1LegacyApi - factory interface
|
|
129
|
-
*/
|
|
130
|
-
export const PartnerV1LegacyApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
131
|
-
const localVarFp = PartnerV1LegacyApiFp(configuration)
|
|
132
|
-
return {
|
|
133
|
-
/**
|
|
134
|
-
* V5 ApiController#check 응답 envelope 그대로. Sunset 헤더 부착.
|
|
135
|
-
* @summary V5 /check 호환 헬스체크 (deprecated)
|
|
136
|
-
* @param {*} [options] Override http request option.
|
|
137
|
-
* @throws {RequiredError}
|
|
138
|
-
*/
|
|
139
|
-
legacyControllerCheckGet(options?: RawAxiosRequestConfig): AxiosPromise<LegacyEnvelopeDto> {
|
|
140
|
-
return localVarFp.legacyControllerCheckGet(options).then((request) => request(axios, basePath));
|
|
141
|
-
},
|
|
142
|
-
/**
|
|
143
|
-
* V5 는 GET·POST 모두 받음. 동일 응답.
|
|
144
|
-
* @summary V5 /check 호환 헬스체크 — POST (deprecated)
|
|
145
|
-
* @param {*} [options] Override http request option.
|
|
146
|
-
* @throws {RequiredError}
|
|
147
|
-
*/
|
|
148
|
-
legacyControllerCheckPost(options?: RawAxiosRequestConfig): AxiosPromise<LegacyEnvelopeDto> {
|
|
149
|
-
return localVarFp.legacyControllerCheckPost(options).then((request) => request(axios, basePath));
|
|
150
|
-
},
|
|
151
|
-
};
|
|
152
|
-
};
|
|
153
|
-
|
|
154
|
-
/**
|
|
155
|
-
* PartnerV1LegacyApi - object-oriented interface
|
|
156
|
-
*/
|
|
157
|
-
export class PartnerV1LegacyApi extends BaseAPI {
|
|
158
|
-
/**
|
|
159
|
-
* V5 ApiController#check 응답 envelope 그대로. Sunset 헤더 부착.
|
|
160
|
-
* @summary V5 /check 호환 헬스체크 (deprecated)
|
|
161
|
-
* @param {*} [options] Override http request option.
|
|
162
|
-
* @throws {RequiredError}
|
|
163
|
-
*/
|
|
164
|
-
public legacyControllerCheckGet(options?: RawAxiosRequestConfig) {
|
|
165
|
-
return PartnerV1LegacyApiFp(this.configuration).legacyControllerCheckGet(options).then((request) => request(this.axios, this.basePath));
|
|
166
|
-
}
|
|
167
|
-
|
|
168
|
-
/**
|
|
169
|
-
* V5 는 GET·POST 모두 받음. 동일 응답.
|
|
170
|
-
* @summary V5 /check 호환 헬스체크 — POST (deprecated)
|
|
171
|
-
* @param {*} [options] Override http request option.
|
|
172
|
-
* @throws {RequiredError}
|
|
173
|
-
*/
|
|
174
|
-
public legacyControllerCheckPost(options?: RawAxiosRequestConfig) {
|
|
175
|
-
return PartnerV1LegacyApiFp(this.configuration).legacyControllerCheckPost(options).then((request) => request(this.axios, this.basePath));
|
|
176
|
-
}
|
|
177
|
-
}
|
|
178
|
-
|
|
@@ -1,91 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* CMARKET V6 Partner API
|
|
3
|
-
* 외부 ERP 연동용 RESTful API. V5 17개 엔드포인트의 V6 후속.
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
import type { Configuration } from '../configuration';
|
|
13
|
-
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
14
|
-
import { type RequestArgs, BaseAPI } from '../base';
|
|
15
|
-
import type { LegacyEnvelopeDto } from '../models';
|
|
16
|
-
/**
|
|
17
|
-
* PartnerV1LegacyApi - axios parameter creator
|
|
18
|
-
*/
|
|
19
|
-
export declare const PartnerV1LegacyApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
20
|
-
/**
|
|
21
|
-
* V5 ApiController#check 응답 envelope 그대로. Sunset 헤더 부착.
|
|
22
|
-
* @summary V5 /check 호환 헬스체크 (deprecated)
|
|
23
|
-
* @param {*} [options] Override http request option.
|
|
24
|
-
* @throws {RequiredError}
|
|
25
|
-
*/
|
|
26
|
-
legacyControllerCheckGet: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
27
|
-
/**
|
|
28
|
-
* V5 는 GET·POST 모두 받음. 동일 응답.
|
|
29
|
-
* @summary V5 /check 호환 헬스체크 — POST (deprecated)
|
|
30
|
-
* @param {*} [options] Override http request option.
|
|
31
|
-
* @throws {RequiredError}
|
|
32
|
-
*/
|
|
33
|
-
legacyControllerCheckPost: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
34
|
-
};
|
|
35
|
-
/**
|
|
36
|
-
* PartnerV1LegacyApi - functional programming interface
|
|
37
|
-
*/
|
|
38
|
-
export declare const PartnerV1LegacyApiFp: (configuration?: Configuration) => {
|
|
39
|
-
/**
|
|
40
|
-
* V5 ApiController#check 응답 envelope 그대로. Sunset 헤더 부착.
|
|
41
|
-
* @summary V5 /check 호환 헬스체크 (deprecated)
|
|
42
|
-
* @param {*} [options] Override http request option.
|
|
43
|
-
* @throws {RequiredError}
|
|
44
|
-
*/
|
|
45
|
-
legacyControllerCheckGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LegacyEnvelopeDto>>;
|
|
46
|
-
/**
|
|
47
|
-
* V5 는 GET·POST 모두 받음. 동일 응답.
|
|
48
|
-
* @summary V5 /check 호환 헬스체크 — POST (deprecated)
|
|
49
|
-
* @param {*} [options] Override http request option.
|
|
50
|
-
* @throws {RequiredError}
|
|
51
|
-
*/
|
|
52
|
-
legacyControllerCheckPost(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LegacyEnvelopeDto>>;
|
|
53
|
-
};
|
|
54
|
-
/**
|
|
55
|
-
* PartnerV1LegacyApi - factory interface
|
|
56
|
-
*/
|
|
57
|
-
export declare const PartnerV1LegacyApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
58
|
-
/**
|
|
59
|
-
* V5 ApiController#check 응답 envelope 그대로. Sunset 헤더 부착.
|
|
60
|
-
* @summary V5 /check 호환 헬스체크 (deprecated)
|
|
61
|
-
* @param {*} [options] Override http request option.
|
|
62
|
-
* @throws {RequiredError}
|
|
63
|
-
*/
|
|
64
|
-
legacyControllerCheckGet(options?: RawAxiosRequestConfig): AxiosPromise<LegacyEnvelopeDto>;
|
|
65
|
-
/**
|
|
66
|
-
* V5 는 GET·POST 모두 받음. 동일 응답.
|
|
67
|
-
* @summary V5 /check 호환 헬스체크 — POST (deprecated)
|
|
68
|
-
* @param {*} [options] Override http request option.
|
|
69
|
-
* @throws {RequiredError}
|
|
70
|
-
*/
|
|
71
|
-
legacyControllerCheckPost(options?: RawAxiosRequestConfig): AxiosPromise<LegacyEnvelopeDto>;
|
|
72
|
-
};
|
|
73
|
-
/**
|
|
74
|
-
* PartnerV1LegacyApi - object-oriented interface
|
|
75
|
-
*/
|
|
76
|
-
export declare class PartnerV1LegacyApi extends BaseAPI {
|
|
77
|
-
/**
|
|
78
|
-
* V5 ApiController#check 응답 envelope 그대로. Sunset 헤더 부착.
|
|
79
|
-
* @summary V5 /check 호환 헬스체크 (deprecated)
|
|
80
|
-
* @param {*} [options] Override http request option.
|
|
81
|
-
* @throws {RequiredError}
|
|
82
|
-
*/
|
|
83
|
-
legacyControllerCheckGet(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<LegacyEnvelopeDto, any, {}>>;
|
|
84
|
-
/**
|
|
85
|
-
* V5 는 GET·POST 모두 받음. 동일 응답.
|
|
86
|
-
* @summary V5 /check 호환 헬스체크 — POST (deprecated)
|
|
87
|
-
* @param {*} [options] Override http request option.
|
|
88
|
-
* @throws {RequiredError}
|
|
89
|
-
*/
|
|
90
|
-
legacyControllerCheckPost(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<LegacyEnvelopeDto, any, {}>>;
|
|
91
|
-
}
|
|
@@ -1,181 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* CMARKET V6 Partner API
|
|
6
|
-
* 외부 ERP 연동용 RESTful API. V5 17개 엔드포인트의 V6 후속.
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: 1.0
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
-
* https://openapi-generator.tech
|
|
13
|
-
* Do not edit the class manually.
|
|
14
|
-
*/
|
|
15
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
16
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
17
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
18
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
19
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
20
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
21
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
22
|
-
});
|
|
23
|
-
};
|
|
24
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
-
exports.PartnerV1LegacyApi = exports.PartnerV1LegacyApiFactory = exports.PartnerV1LegacyApiFp = exports.PartnerV1LegacyApiAxiosParamCreator = void 0;
|
|
26
|
-
const axios_1 = require("axios");
|
|
27
|
-
// Some imports not used depending on template conditions
|
|
28
|
-
// @ts-ignore
|
|
29
|
-
const common_1 = require("../common");
|
|
30
|
-
// @ts-ignore
|
|
31
|
-
const base_1 = require("../base");
|
|
32
|
-
/**
|
|
33
|
-
* PartnerV1LegacyApi - axios parameter creator
|
|
34
|
-
*/
|
|
35
|
-
const PartnerV1LegacyApiAxiosParamCreator = function (configuration) {
|
|
36
|
-
return {
|
|
37
|
-
/**
|
|
38
|
-
* V5 ApiController#check 응답 envelope 그대로. Sunset 헤더 부착.
|
|
39
|
-
* @summary V5 /check 호환 헬스체크 (deprecated)
|
|
40
|
-
* @param {*} [options] Override http request option.
|
|
41
|
-
* @throws {RequiredError}
|
|
42
|
-
*/
|
|
43
|
-
legacyControllerCheckGet: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
44
|
-
const localVarPath = `/v1-legacy/check`;
|
|
45
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
46
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
47
|
-
let baseOptions;
|
|
48
|
-
if (configuration) {
|
|
49
|
-
baseOptions = configuration.baseOptions;
|
|
50
|
-
}
|
|
51
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
52
|
-
const localVarHeaderParameter = {};
|
|
53
|
-
const localVarQueryParameter = {};
|
|
54
|
-
localVarHeaderParameter['Accept'] = 'application/json';
|
|
55
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
56
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
57
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
58
|
-
return {
|
|
59
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
60
|
-
options: localVarRequestOptions,
|
|
61
|
-
};
|
|
62
|
-
}),
|
|
63
|
-
/**
|
|
64
|
-
* V5 는 GET·POST 모두 받음. 동일 응답.
|
|
65
|
-
* @summary V5 /check 호환 헬스체크 — POST (deprecated)
|
|
66
|
-
* @param {*} [options] Override http request option.
|
|
67
|
-
* @throws {RequiredError}
|
|
68
|
-
*/
|
|
69
|
-
legacyControllerCheckPost: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
70
|
-
const localVarPath = `/v1-legacy/check`;
|
|
71
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
72
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
73
|
-
let baseOptions;
|
|
74
|
-
if (configuration) {
|
|
75
|
-
baseOptions = configuration.baseOptions;
|
|
76
|
-
}
|
|
77
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
78
|
-
const localVarHeaderParameter = {};
|
|
79
|
-
const localVarQueryParameter = {};
|
|
80
|
-
localVarHeaderParameter['Accept'] = 'application/json';
|
|
81
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
82
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
83
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
84
|
-
return {
|
|
85
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
86
|
-
options: localVarRequestOptions,
|
|
87
|
-
};
|
|
88
|
-
}),
|
|
89
|
-
};
|
|
90
|
-
};
|
|
91
|
-
exports.PartnerV1LegacyApiAxiosParamCreator = PartnerV1LegacyApiAxiosParamCreator;
|
|
92
|
-
/**
|
|
93
|
-
* PartnerV1LegacyApi - functional programming interface
|
|
94
|
-
*/
|
|
95
|
-
const PartnerV1LegacyApiFp = function (configuration) {
|
|
96
|
-
const localVarAxiosParamCreator = (0, exports.PartnerV1LegacyApiAxiosParamCreator)(configuration);
|
|
97
|
-
return {
|
|
98
|
-
/**
|
|
99
|
-
* V5 ApiController#check 응답 envelope 그대로. Sunset 헤더 부착.
|
|
100
|
-
* @summary V5 /check 호환 헬스체크 (deprecated)
|
|
101
|
-
* @param {*} [options] Override http request option.
|
|
102
|
-
* @throws {RequiredError}
|
|
103
|
-
*/
|
|
104
|
-
legacyControllerCheckGet(options) {
|
|
105
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
106
|
-
var _a, _b, _c;
|
|
107
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.legacyControllerCheckGet(options);
|
|
108
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
109
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['PartnerV1LegacyApi.legacyControllerCheckGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
110
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
111
|
-
});
|
|
112
|
-
},
|
|
113
|
-
/**
|
|
114
|
-
* V5 는 GET·POST 모두 받음. 동일 응답.
|
|
115
|
-
* @summary V5 /check 호환 헬스체크 — POST (deprecated)
|
|
116
|
-
* @param {*} [options] Override http request option.
|
|
117
|
-
* @throws {RequiredError}
|
|
118
|
-
*/
|
|
119
|
-
legacyControllerCheckPost(options) {
|
|
120
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
121
|
-
var _a, _b, _c;
|
|
122
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.legacyControllerCheckPost(options);
|
|
123
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
124
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['PartnerV1LegacyApi.legacyControllerCheckPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
125
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
126
|
-
});
|
|
127
|
-
},
|
|
128
|
-
};
|
|
129
|
-
};
|
|
130
|
-
exports.PartnerV1LegacyApiFp = PartnerV1LegacyApiFp;
|
|
131
|
-
/**
|
|
132
|
-
* PartnerV1LegacyApi - factory interface
|
|
133
|
-
*/
|
|
134
|
-
const PartnerV1LegacyApiFactory = function (configuration, basePath, axios) {
|
|
135
|
-
const localVarFp = (0, exports.PartnerV1LegacyApiFp)(configuration);
|
|
136
|
-
return {
|
|
137
|
-
/**
|
|
138
|
-
* V5 ApiController#check 응답 envelope 그대로. Sunset 헤더 부착.
|
|
139
|
-
* @summary V5 /check 호환 헬스체크 (deprecated)
|
|
140
|
-
* @param {*} [options] Override http request option.
|
|
141
|
-
* @throws {RequiredError}
|
|
142
|
-
*/
|
|
143
|
-
legacyControllerCheckGet(options) {
|
|
144
|
-
return localVarFp.legacyControllerCheckGet(options).then((request) => request(axios, basePath));
|
|
145
|
-
},
|
|
146
|
-
/**
|
|
147
|
-
* V5 는 GET·POST 모두 받음. 동일 응답.
|
|
148
|
-
* @summary V5 /check 호환 헬스체크 — POST (deprecated)
|
|
149
|
-
* @param {*} [options] Override http request option.
|
|
150
|
-
* @throws {RequiredError}
|
|
151
|
-
*/
|
|
152
|
-
legacyControllerCheckPost(options) {
|
|
153
|
-
return localVarFp.legacyControllerCheckPost(options).then((request) => request(axios, basePath));
|
|
154
|
-
},
|
|
155
|
-
};
|
|
156
|
-
};
|
|
157
|
-
exports.PartnerV1LegacyApiFactory = PartnerV1LegacyApiFactory;
|
|
158
|
-
/**
|
|
159
|
-
* PartnerV1LegacyApi - object-oriented interface
|
|
160
|
-
*/
|
|
161
|
-
class PartnerV1LegacyApi extends base_1.BaseAPI {
|
|
162
|
-
/**
|
|
163
|
-
* V5 ApiController#check 응답 envelope 그대로. Sunset 헤더 부착.
|
|
164
|
-
* @summary V5 /check 호환 헬스체크 (deprecated)
|
|
165
|
-
* @param {*} [options] Override http request option.
|
|
166
|
-
* @throws {RequiredError}
|
|
167
|
-
*/
|
|
168
|
-
legacyControllerCheckGet(options) {
|
|
169
|
-
return (0, exports.PartnerV1LegacyApiFp)(this.configuration).legacyControllerCheckGet(options).then((request) => request(this.axios, this.basePath));
|
|
170
|
-
}
|
|
171
|
-
/**
|
|
172
|
-
* V5 는 GET·POST 모두 받음. 동일 응답.
|
|
173
|
-
* @summary V5 /check 호환 헬스체크 — POST (deprecated)
|
|
174
|
-
* @param {*} [options] Override http request option.
|
|
175
|
-
* @throws {RequiredError}
|
|
176
|
-
*/
|
|
177
|
-
legacyControllerCheckPost(options) {
|
|
178
|
-
return (0, exports.PartnerV1LegacyApiFp)(this.configuration).legacyControllerCheckPost(options).then((request) => request(this.axios, this.basePath));
|
|
179
|
-
}
|
|
180
|
-
}
|
|
181
|
-
exports.PartnerV1LegacyApi = PartnerV1LegacyApi;
|
|
@@ -1,91 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* CMARKET V6 Partner API
|
|
3
|
-
* 외부 ERP 연동용 RESTful API. V5 17개 엔드포인트의 V6 후속.
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
import type { Configuration } from '../configuration';
|
|
13
|
-
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
14
|
-
import { type RequestArgs, BaseAPI } from '../base';
|
|
15
|
-
import type { LegacyEnvelopeDto } from '../models';
|
|
16
|
-
/**
|
|
17
|
-
* PartnerV1LegacyApi - axios parameter creator
|
|
18
|
-
*/
|
|
19
|
-
export declare const PartnerV1LegacyApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
20
|
-
/**
|
|
21
|
-
* V5 ApiController#check 응답 envelope 그대로. Sunset 헤더 부착.
|
|
22
|
-
* @summary V5 /check 호환 헬스체크 (deprecated)
|
|
23
|
-
* @param {*} [options] Override http request option.
|
|
24
|
-
* @throws {RequiredError}
|
|
25
|
-
*/
|
|
26
|
-
legacyControllerCheckGet: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
27
|
-
/**
|
|
28
|
-
* V5 는 GET·POST 모두 받음. 동일 응답.
|
|
29
|
-
* @summary V5 /check 호환 헬스체크 — POST (deprecated)
|
|
30
|
-
* @param {*} [options] Override http request option.
|
|
31
|
-
* @throws {RequiredError}
|
|
32
|
-
*/
|
|
33
|
-
legacyControllerCheckPost: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
34
|
-
};
|
|
35
|
-
/**
|
|
36
|
-
* PartnerV1LegacyApi - functional programming interface
|
|
37
|
-
*/
|
|
38
|
-
export declare const PartnerV1LegacyApiFp: (configuration?: Configuration) => {
|
|
39
|
-
/**
|
|
40
|
-
* V5 ApiController#check 응답 envelope 그대로. Sunset 헤더 부착.
|
|
41
|
-
* @summary V5 /check 호환 헬스체크 (deprecated)
|
|
42
|
-
* @param {*} [options] Override http request option.
|
|
43
|
-
* @throws {RequiredError}
|
|
44
|
-
*/
|
|
45
|
-
legacyControllerCheckGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LegacyEnvelopeDto>>;
|
|
46
|
-
/**
|
|
47
|
-
* V5 는 GET·POST 모두 받음. 동일 응답.
|
|
48
|
-
* @summary V5 /check 호환 헬스체크 — POST (deprecated)
|
|
49
|
-
* @param {*} [options] Override http request option.
|
|
50
|
-
* @throws {RequiredError}
|
|
51
|
-
*/
|
|
52
|
-
legacyControllerCheckPost(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LegacyEnvelopeDto>>;
|
|
53
|
-
};
|
|
54
|
-
/**
|
|
55
|
-
* PartnerV1LegacyApi - factory interface
|
|
56
|
-
*/
|
|
57
|
-
export declare const PartnerV1LegacyApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
58
|
-
/**
|
|
59
|
-
* V5 ApiController#check 응답 envelope 그대로. Sunset 헤더 부착.
|
|
60
|
-
* @summary V5 /check 호환 헬스체크 (deprecated)
|
|
61
|
-
* @param {*} [options] Override http request option.
|
|
62
|
-
* @throws {RequiredError}
|
|
63
|
-
*/
|
|
64
|
-
legacyControllerCheckGet(options?: RawAxiosRequestConfig): AxiosPromise<LegacyEnvelopeDto>;
|
|
65
|
-
/**
|
|
66
|
-
* V5 는 GET·POST 모두 받음. 동일 응답.
|
|
67
|
-
* @summary V5 /check 호환 헬스체크 — POST (deprecated)
|
|
68
|
-
* @param {*} [options] Override http request option.
|
|
69
|
-
* @throws {RequiredError}
|
|
70
|
-
*/
|
|
71
|
-
legacyControllerCheckPost(options?: RawAxiosRequestConfig): AxiosPromise<LegacyEnvelopeDto>;
|
|
72
|
-
};
|
|
73
|
-
/**
|
|
74
|
-
* PartnerV1LegacyApi - object-oriented interface
|
|
75
|
-
*/
|
|
76
|
-
export declare class PartnerV1LegacyApi extends BaseAPI {
|
|
77
|
-
/**
|
|
78
|
-
* V5 ApiController#check 응답 envelope 그대로. Sunset 헤더 부착.
|
|
79
|
-
* @summary V5 /check 호환 헬스체크 (deprecated)
|
|
80
|
-
* @param {*} [options] Override http request option.
|
|
81
|
-
* @throws {RequiredError}
|
|
82
|
-
*/
|
|
83
|
-
legacyControllerCheckGet(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<LegacyEnvelopeDto, any, {}>>;
|
|
84
|
-
/**
|
|
85
|
-
* V5 는 GET·POST 모두 받음. 동일 응답.
|
|
86
|
-
* @summary V5 /check 호환 헬스체크 — POST (deprecated)
|
|
87
|
-
* @param {*} [options] Override http request option.
|
|
88
|
-
* @throws {RequiredError}
|
|
89
|
-
*/
|
|
90
|
-
legacyControllerCheckPost(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<LegacyEnvelopeDto, any, {}>>;
|
|
91
|
-
}
|