@cmarket/partner-sdk 1.0.0 → 1.2.0
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 +15 -5
- package/api/oauth-api.ts +1 -1
- package/api/partner-v1-api.ts +46 -28
- package/api/partner-v2-api.ts +1 -1
- package/api.ts +1 -1
- 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 +1 -1
- package/dist/api/partner-v1-api.js +37 -28
- package/dist/api/partner-v2-api.d.ts +1 -1
- package/dist/api/partner-v2-api.js +1 -1
- package/dist/api.d.ts +1 -1
- package/dist/api.js +1 -1
- 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 +1 -1
- package/dist/esm/api/partner-v1-api.js +38 -29
- package/dist/esm/api/partner-v2-api.d.ts +1 -1
- package/dist/esm/api/partner-v2-api.js +1 -1
- package/dist/esm/api.d.ts +1 -1
- package/dist/esm/api.js +1 -1
- 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 +1 -1
- package/dist/esm/models/acceptance-result-response-dto.js +1 -1
- package/dist/esm/models/award-registered-response-dto.d.ts +6 -2
- package/dist/esm/models/award-registered-response-dto.js +4 -2
- 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 +1 -1
- package/dist/esm/models/bid-contract-documents-batch-request-dto.js +1 -1
- package/dist/esm/models/bid-contract-documents-response-dto.d.ts +1 -1
- package/dist/esm/models/bid-contract-documents-response-dto.js +1 -1
- 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 +6 -2
- package/dist/esm/models/bid-failed-response-dto.js +4 -2
- package/dist/esm/models/bid-failure-reason.d.ts +2 -2
- package/dist/esm/models/bid-failure-reason.js +2 -2
- 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 +1 -1
- package/dist/esm/models/bid-manager-dto.js +1 -1
- package/dist/esm/models/bid-result-participant-attachment-dto.d.ts +1 -1
- package/dist/esm/models/bid-result-participant-attachment-dto.js +1 -1
- package/dist/esm/models/bid-result-participant-dto.d.ts +1 -1
- package/dist/esm/models/bid-result-participant-dto.js +1 -1
- package/dist/esm/models/bid-result-product-dto.d.ts +1 -1
- package/dist/esm/models/bid-result-product-dto.js +1 -1
- package/dist/esm/models/bid-result-winner-dto.d.ts +1 -1
- package/dist/esm/models/bid-result-winner-dto.js +1 -1
- package/dist/esm/models/bid-results-batch-request-dto.d.ts +1 -1
- package/dist/esm/models/bid-results-batch-request-dto.js +1 -1
- package/dist/esm/models/bid-results-response-dto.d.ts +6 -4
- package/dist/esm/models/bid-results-response-dto.js +1 -1
- package/dist/esm/models/bid-settlement-line-item-dto.d.ts +1 -1
- package/dist/esm/models/bid-settlement-line-item-dto.js +1 -1
- package/dist/esm/models/bid-settlement-participant-dto.d.ts +1 -1
- package/dist/esm/models/bid-settlement-participant-dto.js +1 -1
- package/dist/esm/models/bid-settlement-response-dto.d.ts +1 -1
- package/dist/esm/models/bid-settlement-response-dto.js +1 -1
- package/dist/esm/models/bid-statement-response-dto.d.ts +1 -1
- package/dist/esm/models/bid-statement-response-dto.js +1 -1
- package/dist/esm/models/bid-status.d.ts +23 -0
- package/dist/esm/models/bid-status.js +24 -0
- package/dist/esm/models/complete-acceptance-request-dto.d.ts +1 -1
- package/dist/esm/models/complete-acceptance-request-dto.js +1 -1
- package/dist/esm/models/contract-document-item-dto.d.ts +2 -2
- package/dist/esm/models/contract-document-item-dto.js +1 -1
- package/dist/esm/models/create-bid-request-dto.d.ts +1 -1
- package/dist/esm/models/create-bid-request-dto.js +1 -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 +6 -2
- package/dist/esm/models/health-response-dto.js +4 -2
- 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 +1 -0
- package/dist/esm/models/index.js +1 -0
- package/dist/esm/models/mark-bid-failed-request-dto.d.ts +1 -1
- package/dist/esm/models/mark-bid-failed-request-dto.js +1 -1
- package/dist/esm/models/negotiation-score-dto.d.ts +1 -1
- package/dist/esm/models/negotiation-score-dto.js +1 -1
- package/dist/esm/models/negotiation-scored-response-dto.d.ts +6 -2
- package/dist/esm/models/negotiation-scored-response-dto.js +4 -2
- package/dist/esm/models/preconditions-dto.d.ts +1 -1
- package/dist/esm/models/preconditions-dto.js +1 -1
- package/dist/esm/models/problem-details-dto.d.ts +1 -1
- package/dist/esm/models/problem-details-dto.js +1 -1
- package/dist/esm/models/register-award-request-dto.d.ts +1 -1
- package/dist/esm/models/register-award-request-dto.js +1 -1
- package/dist/esm/models/request-split-invoice-request-dto.d.ts +1 -1
- package/dist/esm/models/request-split-invoice-request-dto.js +1 -1
- package/dist/esm/models/split-invoice-response-dto.d.ts +1 -1
- package/dist/esm/models/split-invoice-response-dto.js +1 -1
- package/dist/esm/models/statement-document-dto.d.ts +1 -1
- package/dist/esm/models/statement-document-dto.js +1 -1
- package/dist/esm/models/statement-product-dto.d.ts +1 -1
- package/dist/esm/models/statement-product-dto.js +1 -1
- package/dist/esm/models/submit-negotiation-scores-request-dto.d.ts +1 -1
- package/dist/esm/models/submit-negotiation-scores-request-dto.js +1 -1
- 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 +6 -2
- package/dist/esm/models/token-response-dto.js +4 -2
- 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 +1 -1
- package/dist/models/acceptance-result-response-dto.js +1 -1
- package/dist/models/award-registered-response-dto.d.ts +6 -2
- package/dist/models/award-registered-response-dto.js +5 -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 +1 -1
- package/dist/models/bid-contract-documents-batch-request-dto.js +1 -1
- package/dist/models/bid-contract-documents-response-dto.d.ts +1 -1
- package/dist/models/bid-contract-documents-response-dto.js +1 -1
- 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 +6 -2
- package/dist/models/bid-failed-response-dto.js +5 -1
- package/dist/models/bid-failure-reason.d.ts +2 -2
- package/dist/models/bid-failure-reason.js +2 -2
- 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 +1 -1
- package/dist/models/bid-manager-dto.js +1 -1
- package/dist/models/bid-result-participant-attachment-dto.d.ts +1 -1
- package/dist/models/bid-result-participant-attachment-dto.js +1 -1
- package/dist/models/bid-result-participant-dto.d.ts +1 -1
- package/dist/models/bid-result-participant-dto.js +1 -1
- package/dist/models/bid-result-product-dto.d.ts +1 -1
- package/dist/models/bid-result-product-dto.js +1 -1
- package/dist/models/bid-result-winner-dto.d.ts +1 -1
- package/dist/models/bid-result-winner-dto.js +1 -1
- package/dist/models/bid-results-batch-request-dto.d.ts +1 -1
- package/dist/models/bid-results-batch-request-dto.js +1 -1
- package/dist/models/bid-results-response-dto.d.ts +6 -4
- package/dist/models/bid-results-response-dto.js +1 -1
- package/dist/models/bid-settlement-line-item-dto.d.ts +1 -1
- package/dist/models/bid-settlement-line-item-dto.js +1 -1
- package/dist/models/bid-settlement-participant-dto.d.ts +1 -1
- package/dist/models/bid-settlement-participant-dto.js +1 -1
- package/dist/models/bid-settlement-response-dto.d.ts +1 -1
- package/dist/models/bid-settlement-response-dto.js +1 -1
- package/dist/models/bid-statement-response-dto.d.ts +1 -1
- package/dist/models/bid-statement-response-dto.js +1 -1
- package/dist/models/bid-status.d.ts +23 -0
- package/dist/models/bid-status.js +27 -0
- package/dist/models/complete-acceptance-request-dto.d.ts +1 -1
- package/dist/models/complete-acceptance-request-dto.js +1 -1
- package/dist/models/contract-document-item-dto.d.ts +2 -2
- package/dist/models/contract-document-item-dto.js +1 -1
- package/dist/models/create-bid-request-dto.d.ts +1 -1
- package/dist/models/create-bid-request-dto.js +1 -1
- 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 +6 -2
- package/dist/models/health-response-dto.js +5 -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 +1 -0
- package/dist/models/index.js +1 -0
- package/dist/models/mark-bid-failed-request-dto.d.ts +1 -1
- package/dist/models/mark-bid-failed-request-dto.js +1 -1
- package/dist/models/negotiation-score-dto.d.ts +1 -1
- package/dist/models/negotiation-score-dto.js +1 -1
- package/dist/models/negotiation-scored-response-dto.d.ts +6 -2
- package/dist/models/negotiation-scored-response-dto.js +5 -1
- package/dist/models/preconditions-dto.d.ts +1 -1
- package/dist/models/preconditions-dto.js +1 -1
- package/dist/models/problem-details-dto.d.ts +1 -1
- package/dist/models/problem-details-dto.js +1 -1
- package/dist/models/register-award-request-dto.d.ts +1 -1
- package/dist/models/register-award-request-dto.js +1 -1
- package/dist/models/request-split-invoice-request-dto.d.ts +1 -1
- package/dist/models/request-split-invoice-request-dto.js +1 -1
- package/dist/models/split-invoice-response-dto.d.ts +1 -1
- package/dist/models/split-invoice-response-dto.js +1 -1
- package/dist/models/statement-document-dto.d.ts +1 -1
- package/dist/models/statement-document-dto.js +1 -1
- package/dist/models/statement-product-dto.d.ts +1 -1
- package/dist/models/statement-product-dto.js +1 -1
- package/dist/models/submit-negotiation-scores-request-dto.d.ts +1 -1
- package/dist/models/submit-negotiation-scores-request-dto.js +1 -1
- 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 +6 -2
- package/dist/models/token-response-dto.js +5 -1
- package/dist/models/upload-file-request-dto.d.ts +1 -1
- package/dist/models/upload-file-request-dto.js +1 -1
- package/docs/BidFailureReason.md +1 -1
- package/docs/BidResultsResponseDto.md +2 -2
- package/docs/BidStatus.md +19 -0
- package/docs/ContractDocumentItemDto.md +1 -1
- package/docs/PartnerV1Api.md +9 -9
- package/index.ts +1 -1
- package/models/acceptance-result-response-dto.ts +1 -1
- package/models/award-registered-response-dto.ts +9 -2
- package/models/bid-bond-dto.ts +1 -1
- package/models/bid-contract-documents-batch-request-dto.ts +1 -1
- package/models/bid-contract-documents-response-dto.ts +1 -1
- package/models/bid-created-response-dto.ts +1 -1
- package/models/bid-document-dto.ts +1 -1
- package/models/bid-failed-response-dto.ts +9 -2
- package/models/bid-failure-reason.ts +2 -2
- package/models/bid-item-dto.ts +1 -1
- package/models/bid-manager-dto.ts +1 -1
- package/models/bid-result-participant-attachment-dto.ts +1 -1
- package/models/bid-result-participant-dto.ts +1 -1
- package/models/bid-result-product-dto.ts +1 -1
- package/models/bid-result-winner-dto.ts +1 -1
- package/models/bid-results-batch-request-dto.ts +1 -1
- package/models/bid-results-response-dto.ts +12 -4
- package/models/bid-settlement-line-item-dto.ts +1 -1
- package/models/bid-settlement-participant-dto.ts +1 -1
- package/models/bid-settlement-response-dto.ts +1 -1
- package/models/bid-statement-response-dto.ts +1 -1
- package/models/bid-status.ts +33 -0
- package/models/complete-acceptance-request-dto.ts +1 -1
- package/models/contract-document-item-dto.ts +2 -2
- package/models/create-bid-request-dto.ts +1 -1
- package/models/file-uploaded-response-dto.ts +1 -1
- package/models/health-response-dto.ts +9 -2
- package/models/hierarchical-region-dto.ts +1 -1
- package/models/index.ts +1 -0
- package/models/mark-bid-failed-request-dto.ts +1 -1
- package/models/negotiation-score-dto.ts +1 -1
- package/models/negotiation-scored-response-dto.ts +9 -2
- package/models/preconditions-dto.ts +1 -1
- package/models/problem-details-dto.ts +1 -1
- package/models/register-award-request-dto.ts +1 -1
- package/models/request-split-invoice-request-dto.ts +1 -1
- package/models/split-invoice-response-dto.ts +1 -1
- package/models/statement-document-dto.ts +1 -1
- package/models/statement-product-dto.ts +1 -1
- package/models/submit-negotiation-scores-request-dto.ts +1 -1
- package/models/token-request-dto.ts +1 -1
- package/models/token-response-dto.ts +9 -2
- package/models/upload-file-request-dto.ts +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -188,7 +188,7 @@ public class Quickstart {
|
|
|
188
188
|
|
|
189
189
|
---
|
|
190
190
|
|
|
191
|
-
## @cmarket/partner-sdk@1.
|
|
191
|
+
## @cmarket/partner-sdk@1.2.0
|
|
192
192
|
|
|
193
193
|
This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
|
|
194
194
|
|
|
@@ -226,7 +226,7 @@ navigate to the folder of your consuming project and run one of the following co
|
|
|
226
226
|
_published:_
|
|
227
227
|
|
|
228
228
|
```
|
|
229
|
-
npm install @cmarket/partner-sdk@1.
|
|
229
|
+
npm install @cmarket/partner-sdk@1.2.0 --save
|
|
230
230
|
```
|
|
231
231
|
|
|
232
232
|
_unPublished (not recommended):_
|
|
@@ -290,6 +290,7 @@ Class | Method | HTTP request | Description
|
|
|
290
290
|
- [BidSettlementParticipantDto](docs/BidSettlementParticipantDto.md)
|
|
291
291
|
- [BidSettlementResponseDto](docs/BidSettlementResponseDto.md)
|
|
292
292
|
- [BidStatementResponseDto](docs/BidStatementResponseDto.md)
|
|
293
|
+
- [BidStatus](docs/BidStatus.md)
|
|
293
294
|
- [CompleteAcceptanceRequestDto](docs/CompleteAcceptanceRequestDto.md)
|
|
294
295
|
- [ContractDocumentItemDto](docs/ContractDocumentItemDto.md)
|
|
295
296
|
- [CreateBidRequestDto](docs/CreateBidRequestDto.md)
|
|
@@ -322,8 +323,17 @@ Authentication schemes defined for the API:
|
|
|
322
323
|
|
|
323
324
|
- **Type**: Bearer authentication (JWT)
|
|
324
325
|
|
|
325
|
-
<a id="platform-auth"></a>
|
|
326
|
-
### platform-auth
|
|
326
|
+
<a id="platform-auth-id"></a>
|
|
327
|
+
### platform-auth-id
|
|
327
328
|
|
|
328
|
-
- **Type**:
|
|
329
|
+
- **Type**: API key
|
|
330
|
+
- **API key parameter name**: X-Platform-Id
|
|
331
|
+
- **Location**: HTTP header
|
|
332
|
+
|
|
333
|
+
<a id="platform-auth-secret"></a>
|
|
334
|
+
### platform-auth-secret
|
|
335
|
+
|
|
336
|
+
- **Type**: API key
|
|
337
|
+
- **API key parameter name**: X-Platform-Secret
|
|
338
|
+
- **Location**: HTTP header
|
|
329
339
|
|
package/api/oauth-api.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
4
|
* CMARKET V6 Partner API
|
|
5
|
-
* 외부 ERP 연동용 RESTful API. ## 버전별 인증 - **_/v2** — OAuth2 Bearer JWT (`client_credentials` 플로우). `/oauth/token` 에서 토큰 발급 후 `Authorization: Bearer <token>` 헤더. - **_/v1** — V5 충실 platform-auth.
|
|
5
|
+
* 외부 ERP 연동용 RESTful API. ## 버전별 인증 - **_/v2** — OAuth2 Bearer JWT (`client_credentials` 플로우). `/oauth/token` 에서 토큰 발급 후 `Authorization: Bearer <token>` 헤더. - **_/v1** — V5 충실 platform-auth. `X-Platform-Id`(cate_set.api_id) / `X-Platform-Secret`(cate_set.api_secret, MD5-hex) 헤더로 전송.
|
|
6
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: 1.0
|
|
8
8
|
*
|
package/api/partner-v1-api.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
4
|
* CMARKET V6 Partner API
|
|
5
|
-
* 외부 ERP 연동용 RESTful API. ## 버전별 인증 - **_/v2** — OAuth2 Bearer JWT (`client_credentials` 플로우). `/oauth/token` 에서 토큰 발급 후 `Authorization: Bearer <token>` 헤더. - **_/v1** — V5 충실 platform-auth.
|
|
5
|
+
* 외부 ERP 연동용 RESTful API. ## 버전별 인증 - **_/v2** — OAuth2 Bearer JWT (`client_credentials` 플로우). `/oauth/token` 에서 토큰 발급 후 `Authorization: Bearer <token>` 헤더. - **_/v1** — V5 충실 platform-auth. `X-Platform-Id`(cate_set.api_id) / `X-Platform-Secret`(cate_set.api_secret, MD5-hex) 헤더로 전송.
|
|
6
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: 1.0
|
|
8
8
|
*
|
|
@@ -86,9 +86,11 @@ export const PartnerV1ApiAxiosParamCreator = function (configuration?: Configura
|
|
|
86
86
|
const localVarHeaderParameter = {} as any;
|
|
87
87
|
const localVarQueryParameter = {} as any;
|
|
88
88
|
|
|
89
|
-
// authentication platform-auth required
|
|
90
|
-
|
|
91
|
-
|
|
89
|
+
// authentication platform-auth-id required
|
|
90
|
+
await setApiKeyToObject(localVarHeaderParameter, "X-Platform-Id", configuration)
|
|
91
|
+
|
|
92
|
+
// authentication platform-auth-secret required
|
|
93
|
+
await setApiKeyToObject(localVarHeaderParameter, "X-Platform-Secret", configuration)
|
|
92
94
|
|
|
93
95
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
94
96
|
localVarHeaderParameter['Accept'] = 'application/json';
|
|
@@ -125,9 +127,11 @@ export const PartnerV1ApiAxiosParamCreator = function (configuration?: Configura
|
|
|
125
127
|
const localVarHeaderParameter = {} as any;
|
|
126
128
|
const localVarQueryParameter = {} as any;
|
|
127
129
|
|
|
128
|
-
// authentication platform-auth required
|
|
129
|
-
|
|
130
|
-
|
|
130
|
+
// authentication platform-auth-id required
|
|
131
|
+
await setApiKeyToObject(localVarHeaderParameter, "X-Platform-Id", configuration)
|
|
132
|
+
|
|
133
|
+
// authentication platform-auth-secret required
|
|
134
|
+
await setApiKeyToObject(localVarHeaderParameter, "X-Platform-Secret", configuration)
|
|
131
135
|
|
|
132
136
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
133
137
|
localVarHeaderParameter['Accept'] = 'application/json';
|
|
@@ -164,9 +168,11 @@ export const PartnerV1ApiAxiosParamCreator = function (configuration?: Configura
|
|
|
164
168
|
const localVarHeaderParameter = {} as any;
|
|
165
169
|
const localVarQueryParameter = {} as any;
|
|
166
170
|
|
|
167
|
-
// authentication platform-auth required
|
|
168
|
-
|
|
169
|
-
|
|
171
|
+
// authentication platform-auth-id required
|
|
172
|
+
await setApiKeyToObject(localVarHeaderParameter, "X-Platform-Id", configuration)
|
|
173
|
+
|
|
174
|
+
// authentication platform-auth-secret required
|
|
175
|
+
await setApiKeyToObject(localVarHeaderParameter, "X-Platform-Secret", configuration)
|
|
170
176
|
|
|
171
177
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
172
178
|
localVarHeaderParameter['Accept'] = 'application/json';
|
|
@@ -207,9 +213,11 @@ export const PartnerV1ApiAxiosParamCreator = function (configuration?: Configura
|
|
|
207
213
|
const localVarHeaderParameter = {} as any;
|
|
208
214
|
const localVarQueryParameter = {} as any;
|
|
209
215
|
|
|
210
|
-
// authentication platform-auth required
|
|
211
|
-
|
|
212
|
-
|
|
216
|
+
// authentication platform-auth-id required
|
|
217
|
+
await setApiKeyToObject(localVarHeaderParameter, "X-Platform-Id", configuration)
|
|
218
|
+
|
|
219
|
+
// authentication platform-auth-secret required
|
|
220
|
+
await setApiKeyToObject(localVarHeaderParameter, "X-Platform-Secret", configuration)
|
|
213
221
|
|
|
214
222
|
if (paperCode !== undefined) {
|
|
215
223
|
localVarQueryParameter['paperCode'] = paperCode;
|
|
@@ -248,9 +256,11 @@ export const PartnerV1ApiAxiosParamCreator = function (configuration?: Configura
|
|
|
248
256
|
const localVarHeaderParameter = {} as any;
|
|
249
257
|
const localVarQueryParameter = {} as any;
|
|
250
258
|
|
|
251
|
-
// authentication platform-auth required
|
|
252
|
-
|
|
253
|
-
|
|
259
|
+
// authentication platform-auth-id required
|
|
260
|
+
await setApiKeyToObject(localVarHeaderParameter, "X-Platform-Id", configuration)
|
|
261
|
+
|
|
262
|
+
// authentication platform-auth-secret required
|
|
263
|
+
await setApiKeyToObject(localVarHeaderParameter, "X-Platform-Secret", configuration)
|
|
254
264
|
|
|
255
265
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
256
266
|
localVarHeaderParameter['Accept'] = 'application/json';
|
|
@@ -287,9 +297,11 @@ export const PartnerV1ApiAxiosParamCreator = function (configuration?: Configura
|
|
|
287
297
|
const localVarHeaderParameter = {} as any;
|
|
288
298
|
const localVarQueryParameter = {} as any;
|
|
289
299
|
|
|
290
|
-
// authentication platform-auth required
|
|
291
|
-
|
|
292
|
-
|
|
300
|
+
// authentication platform-auth-id required
|
|
301
|
+
await setApiKeyToObject(localVarHeaderParameter, "X-Platform-Id", configuration)
|
|
302
|
+
|
|
303
|
+
// authentication platform-auth-secret required
|
|
304
|
+
await setApiKeyToObject(localVarHeaderParameter, "X-Platform-Secret", configuration)
|
|
293
305
|
|
|
294
306
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
295
307
|
localVarHeaderParameter['Accept'] = 'application/json';
|
|
@@ -326,9 +338,11 @@ export const PartnerV1ApiAxiosParamCreator = function (configuration?: Configura
|
|
|
326
338
|
const localVarHeaderParameter = {} as any;
|
|
327
339
|
const localVarQueryParameter = {} as any;
|
|
328
340
|
|
|
329
|
-
// authentication platform-auth required
|
|
330
|
-
|
|
331
|
-
|
|
341
|
+
// authentication platform-auth-id required
|
|
342
|
+
await setApiKeyToObject(localVarHeaderParameter, "X-Platform-Id", configuration)
|
|
343
|
+
|
|
344
|
+
// authentication platform-auth-secret required
|
|
345
|
+
await setApiKeyToObject(localVarHeaderParameter, "X-Platform-Secret", configuration)
|
|
332
346
|
|
|
333
347
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
334
348
|
localVarHeaderParameter['Accept'] = 'application/json';
|
|
@@ -365,9 +379,11 @@ export const PartnerV1ApiAxiosParamCreator = function (configuration?: Configura
|
|
|
365
379
|
const localVarHeaderParameter = {} as any;
|
|
366
380
|
const localVarQueryParameter = {} as any;
|
|
367
381
|
|
|
368
|
-
// authentication platform-auth required
|
|
369
|
-
|
|
370
|
-
|
|
382
|
+
// authentication platform-auth-id required
|
|
383
|
+
await setApiKeyToObject(localVarHeaderParameter, "X-Platform-Id", configuration)
|
|
384
|
+
|
|
385
|
+
// authentication platform-auth-secret required
|
|
386
|
+
await setApiKeyToObject(localVarHeaderParameter, "X-Platform-Secret", configuration)
|
|
371
387
|
|
|
372
388
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
373
389
|
localVarHeaderParameter['Accept'] = 'application/json';
|
|
@@ -404,9 +420,11 @@ export const PartnerV1ApiAxiosParamCreator = function (configuration?: Configura
|
|
|
404
420
|
const localVarHeaderParameter = {} as any;
|
|
405
421
|
const localVarQueryParameter = {} as any;
|
|
406
422
|
|
|
407
|
-
// authentication platform-auth required
|
|
408
|
-
|
|
409
|
-
|
|
423
|
+
// authentication platform-auth-id required
|
|
424
|
+
await setApiKeyToObject(localVarHeaderParameter, "X-Platform-Id", configuration)
|
|
425
|
+
|
|
426
|
+
// authentication platform-auth-secret required
|
|
427
|
+
await setApiKeyToObject(localVarHeaderParameter, "X-Platform-Secret", configuration)
|
|
410
428
|
|
|
411
429
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
412
430
|
localVarHeaderParameter['Accept'] = 'application/json';
|
package/api/partner-v2-api.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
4
|
* CMARKET V6 Partner API
|
|
5
|
-
* 외부 ERP 연동용 RESTful API. ## 버전별 인증 - **_/v2** — OAuth2 Bearer JWT (`client_credentials` 플로우). `/oauth/token` 에서 토큰 발급 후 `Authorization: Bearer <token>` 헤더. - **_/v1** — V5 충실 platform-auth.
|
|
5
|
+
* 외부 ERP 연동용 RESTful API. ## 버전별 인증 - **_/v2** — OAuth2 Bearer JWT (`client_credentials` 플로우). `/oauth/token` 에서 토큰 발급 후 `Authorization: Bearer <token>` 헤더. - **_/v1** — V5 충실 platform-auth. `X-Platform-Id`(cate_set.api_id) / `X-Platform-Secret`(cate_set.api_secret, MD5-hex) 헤더로 전송.
|
|
6
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: 1.0
|
|
8
8
|
*
|
package/api.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
4
|
* CMARKET V6 Partner API
|
|
5
|
-
* 외부 ERP 연동용 RESTful API. ## 버전별 인증 - **_/v2** — OAuth2 Bearer JWT (`client_credentials` 플로우). `/oauth/token` 에서 토큰 발급 후 `Authorization: Bearer <token>` 헤더. - **_/v1** — V5 충실 platform-auth.
|
|
5
|
+
* 외부 ERP 연동용 RESTful API. ## 버전별 인증 - **_/v2** — OAuth2 Bearer JWT (`client_credentials` 플로우). `/oauth/token` 에서 토큰 발급 후 `Authorization: Bearer <token>` 헤더. - **_/v1** — V5 충실 platform-auth. `X-Platform-Id`(cate_set.api_id) / `X-Platform-Secret`(cate_set.api_secret, MD5-hex) 헤더로 전송.
|
|
6
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: 1.0
|
|
8
8
|
*
|
package/base.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
4
|
* CMARKET V6 Partner API
|
|
5
|
-
* 외부 ERP 연동용 RESTful API. ## 버전별 인증 - **_/v2** — OAuth2 Bearer JWT (`client_credentials` 플로우). `/oauth/token` 에서 토큰 발급 후 `Authorization: Bearer <token>` 헤더. - **_/v1** — V5 충실 platform-auth.
|
|
5
|
+
* 외부 ERP 연동용 RESTful API. ## 버전별 인증 - **_/v2** — OAuth2 Bearer JWT (`client_credentials` 플로우). `/oauth/token` 에서 토큰 발급 후 `Authorization: Bearer <token>` 헤더. - **_/v1** — V5 충실 platform-auth. `X-Platform-Id`(cate_set.api_id) / `X-Platform-Secret`(cate_set.api_secret, MD5-hex) 헤더로 전송.
|
|
6
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: 1.0
|
|
8
8
|
*
|
package/common.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
4
|
* CMARKET V6 Partner API
|
|
5
|
-
* 외부 ERP 연동용 RESTful API. ## 버전별 인증 - **_/v2** — OAuth2 Bearer JWT (`client_credentials` 플로우). `/oauth/token` 에서 토큰 발급 후 `Authorization: Bearer <token>` 헤더. - **_/v1** — V5 충실 platform-auth.
|
|
5
|
+
* 외부 ERP 연동용 RESTful API. ## 버전별 인증 - **_/v2** — OAuth2 Bearer JWT (`client_credentials` 플로우). `/oauth/token` 에서 토큰 발급 후 `Authorization: Bearer <token>` 헤더. - **_/v1** — V5 충실 platform-auth. `X-Platform-Id`(cate_set.api_id) / `X-Platform-Secret`(cate_set.api_secret, MD5-hex) 헤더로 전송.
|
|
6
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: 1.0
|
|
8
8
|
*
|
package/configuration.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/**
|
|
3
3
|
* CMARKET V6 Partner API
|
|
4
|
-
* 외부 ERP 연동용 RESTful API. ## 버전별 인증 - **_/v2** — OAuth2 Bearer JWT (`client_credentials` 플로우). `/oauth/token` 에서 토큰 발급 후 `Authorization: Bearer <token>` 헤더. - **_/v1** — V5 충실 platform-auth.
|
|
4
|
+
* 외부 ERP 연동용 RESTful API. ## 버전별 인증 - **_/v2** — OAuth2 Bearer JWT (`client_credentials` 플로우). `/oauth/token` 에서 토큰 발급 후 `Authorization: Bearer <token>` 헤더. - **_/v1** — V5 충실 platform-auth. `X-Platform-Id`(cate_set.api_id) / `X-Platform-Secret`(cate_set.api_secret, MD5-hex) 헤더로 전송.
|
|
5
5
|
*
|
|
6
6
|
* The version of the OpenAPI document: 1.0
|
|
7
7
|
*
|
package/dist/api/oauth-api.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* CMARKET V6 Partner API
|
|
3
|
-
* 외부 ERP 연동용 RESTful API. ## 버전별 인증 - **_/v2** — OAuth2 Bearer JWT (`client_credentials` 플로우). `/oauth/token` 에서 토큰 발급 후 `Authorization: Bearer <token>` 헤더. - **_/v1** — V5 충실 platform-auth.
|
|
3
|
+
* 외부 ERP 연동용 RESTful API. ## 버전별 인증 - **_/v2** — OAuth2 Bearer JWT (`client_credentials` 플로우). `/oauth/token` 에서 토큰 발급 후 `Authorization: Bearer <token>` 헤더. - **_/v1** — V5 충실 platform-auth. `X-Platform-Id`(cate_set.api_id) / `X-Platform-Secret`(cate_set.api_secret, MD5-hex) 헤더로 전송.
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: 1.0
|
|
6
6
|
*
|
package/dist/api/oauth-api.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* CMARKET V6 Partner API
|
|
6
|
-
* 외부 ERP 연동용 RESTful API. ## 버전별 인증 - **_/v2** — OAuth2 Bearer JWT (`client_credentials` 플로우). `/oauth/token` 에서 토큰 발급 후 `Authorization: Bearer <token>` 헤더. - **_/v1** — V5 충실 platform-auth.
|
|
6
|
+
* 외부 ERP 연동용 RESTful API. ## 버전별 인증 - **_/v2** — OAuth2 Bearer JWT (`client_credentials` 플로우). `/oauth/token` 에서 토큰 발급 후 `Authorization: Bearer <token>` 헤더. - **_/v1** — V5 충실 platform-auth. `X-Platform-Id`(cate_set.api_id) / `X-Platform-Secret`(cate_set.api_secret, MD5-hex) 헤더로 전송.
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: 1.0
|
|
9
9
|
*
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* CMARKET V6 Partner API
|
|
3
|
-
* 외부 ERP 연동용 RESTful API. ## 버전별 인증 - **_/v2** — OAuth2 Bearer JWT (`client_credentials` 플로우). `/oauth/token` 에서 토큰 발급 후 `Authorization: Bearer <token>` 헤더. - **_/v1** — V5 충실 platform-auth.
|
|
3
|
+
* 외부 ERP 연동용 RESTful API. ## 버전별 인증 - **_/v2** — OAuth2 Bearer JWT (`client_credentials` 플로우). `/oauth/token` 에서 토큰 발급 후 `Authorization: Bearer <token>` 헤더. - **_/v1** — V5 충실 platform-auth. `X-Platform-Id`(cate_set.api_id) / `X-Platform-Secret`(cate_set.api_secret, MD5-hex) 헤더로 전송.
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: 1.0
|
|
6
6
|
*
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* CMARKET V6 Partner API
|
|
6
|
-
* 외부 ERP 연동용 RESTful API. ## 버전별 인증 - **_/v2** — OAuth2 Bearer JWT (`client_credentials` 플로우). `/oauth/token` 에서 토큰 발급 후 `Authorization: Bearer <token>` 헤더. - **_/v1** — V5 충실 platform-auth.
|
|
6
|
+
* 외부 ERP 연동용 RESTful API. ## 버전별 인증 - **_/v2** — OAuth2 Bearer JWT (`client_credentials` 플로우). `/oauth/token` 에서 토큰 발급 후 `Authorization: Bearer <token>` 헤더. - **_/v1** — V5 충실 platform-auth. `X-Platform-Id`(cate_set.api_id) / `X-Platform-Secret`(cate_set.api_secret, MD5-hex) 헤더로 전송.
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: 1.0
|
|
9
9
|
*
|
|
@@ -58,9 +58,10 @@ const PartnerV1ApiAxiosParamCreator = function (configuration) {
|
|
|
58
58
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
59
59
|
const localVarHeaderParameter = {};
|
|
60
60
|
const localVarQueryParameter = {};
|
|
61
|
-
// authentication platform-auth required
|
|
62
|
-
|
|
63
|
-
|
|
61
|
+
// authentication platform-auth-id required
|
|
62
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Platform-Id", configuration);
|
|
63
|
+
// authentication platform-auth-secret required
|
|
64
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Platform-Secret", configuration);
|
|
64
65
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
65
66
|
localVarHeaderParameter['Accept'] = 'application/json';
|
|
66
67
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
@@ -92,9 +93,10 @@ const PartnerV1ApiAxiosParamCreator = function (configuration) {
|
|
|
92
93
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
93
94
|
const localVarHeaderParameter = {};
|
|
94
95
|
const localVarQueryParameter = {};
|
|
95
|
-
// authentication platform-auth required
|
|
96
|
-
|
|
97
|
-
|
|
96
|
+
// authentication platform-auth-id required
|
|
97
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Platform-Id", configuration);
|
|
98
|
+
// authentication platform-auth-secret required
|
|
99
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Platform-Secret", configuration);
|
|
98
100
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
99
101
|
localVarHeaderParameter['Accept'] = 'application/json';
|
|
100
102
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
@@ -126,9 +128,10 @@ const PartnerV1ApiAxiosParamCreator = function (configuration) {
|
|
|
126
128
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
127
129
|
const localVarHeaderParameter = {};
|
|
128
130
|
const localVarQueryParameter = {};
|
|
129
|
-
// authentication platform-auth required
|
|
130
|
-
|
|
131
|
-
|
|
131
|
+
// authentication platform-auth-id required
|
|
132
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Platform-Id", configuration);
|
|
133
|
+
// authentication platform-auth-secret required
|
|
134
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Platform-Secret", configuration);
|
|
132
135
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
133
136
|
localVarHeaderParameter['Accept'] = 'application/json';
|
|
134
137
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
@@ -164,9 +167,10 @@ const PartnerV1ApiAxiosParamCreator = function (configuration) {
|
|
|
164
167
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
165
168
|
const localVarHeaderParameter = {};
|
|
166
169
|
const localVarQueryParameter = {};
|
|
167
|
-
// authentication platform-auth required
|
|
168
|
-
|
|
169
|
-
|
|
170
|
+
// authentication platform-auth-id required
|
|
171
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Platform-Id", configuration);
|
|
172
|
+
// authentication platform-auth-secret required
|
|
173
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Platform-Secret", configuration);
|
|
170
174
|
if (paperCode !== undefined) {
|
|
171
175
|
localVarQueryParameter['paperCode'] = paperCode;
|
|
172
176
|
}
|
|
@@ -199,9 +203,10 @@ const PartnerV1ApiAxiosParamCreator = function (configuration) {
|
|
|
199
203
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
200
204
|
const localVarHeaderParameter = {};
|
|
201
205
|
const localVarQueryParameter = {};
|
|
202
|
-
// authentication platform-auth required
|
|
203
|
-
|
|
204
|
-
|
|
206
|
+
// authentication platform-auth-id required
|
|
207
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Platform-Id", configuration);
|
|
208
|
+
// authentication platform-auth-secret required
|
|
209
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Platform-Secret", configuration);
|
|
205
210
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
206
211
|
localVarHeaderParameter['Accept'] = 'application/json';
|
|
207
212
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
@@ -233,9 +238,10 @@ const PartnerV1ApiAxiosParamCreator = function (configuration) {
|
|
|
233
238
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
234
239
|
const localVarHeaderParameter = {};
|
|
235
240
|
const localVarQueryParameter = {};
|
|
236
|
-
// authentication platform-auth required
|
|
237
|
-
|
|
238
|
-
|
|
241
|
+
// authentication platform-auth-id required
|
|
242
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Platform-Id", configuration);
|
|
243
|
+
// authentication platform-auth-secret required
|
|
244
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Platform-Secret", configuration);
|
|
239
245
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
240
246
|
localVarHeaderParameter['Accept'] = 'application/json';
|
|
241
247
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
@@ -267,9 +273,10 @@ const PartnerV1ApiAxiosParamCreator = function (configuration) {
|
|
|
267
273
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
268
274
|
const localVarHeaderParameter = {};
|
|
269
275
|
const localVarQueryParameter = {};
|
|
270
|
-
// authentication platform-auth required
|
|
271
|
-
|
|
272
|
-
|
|
276
|
+
// authentication platform-auth-id required
|
|
277
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Platform-Id", configuration);
|
|
278
|
+
// authentication platform-auth-secret required
|
|
279
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Platform-Secret", configuration);
|
|
273
280
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
274
281
|
localVarHeaderParameter['Accept'] = 'application/json';
|
|
275
282
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
@@ -301,9 +308,10 @@ const PartnerV1ApiAxiosParamCreator = function (configuration) {
|
|
|
301
308
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
302
309
|
const localVarHeaderParameter = {};
|
|
303
310
|
const localVarQueryParameter = {};
|
|
304
|
-
// authentication platform-auth required
|
|
305
|
-
|
|
306
|
-
|
|
311
|
+
// authentication platform-auth-id required
|
|
312
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Platform-Id", configuration);
|
|
313
|
+
// authentication platform-auth-secret required
|
|
314
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Platform-Secret", configuration);
|
|
307
315
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
308
316
|
localVarHeaderParameter['Accept'] = 'application/json';
|
|
309
317
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
@@ -335,9 +343,10 @@ const PartnerV1ApiAxiosParamCreator = function (configuration) {
|
|
|
335
343
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
336
344
|
const localVarHeaderParameter = {};
|
|
337
345
|
const localVarQueryParameter = {};
|
|
338
|
-
// authentication platform-auth required
|
|
339
|
-
|
|
340
|
-
|
|
346
|
+
// authentication platform-auth-id required
|
|
347
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Platform-Id", configuration);
|
|
348
|
+
// authentication platform-auth-secret required
|
|
349
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Platform-Secret", configuration);
|
|
341
350
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
342
351
|
localVarHeaderParameter['Accept'] = 'application/json';
|
|
343
352
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* CMARKET V6 Partner API
|
|
3
|
-
* 외부 ERP 연동용 RESTful API. ## 버전별 인증 - **_/v2** — OAuth2 Bearer JWT (`client_credentials` 플로우). `/oauth/token` 에서 토큰 발급 후 `Authorization: Bearer <token>` 헤더. - **_/v1** — V5 충실 platform-auth.
|
|
3
|
+
* 외부 ERP 연동용 RESTful API. ## 버전별 인증 - **_/v2** — OAuth2 Bearer JWT (`client_credentials` 플로우). `/oauth/token` 에서 토큰 발급 후 `Authorization: Bearer <token>` 헤더. - **_/v1** — V5 충실 platform-auth. `X-Platform-Id`(cate_set.api_id) / `X-Platform-Secret`(cate_set.api_secret, MD5-hex) 헤더로 전송.
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: 1.0
|
|
6
6
|
*
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* CMARKET V6 Partner API
|
|
6
|
-
* 외부 ERP 연동용 RESTful API. ## 버전별 인증 - **_/v2** — OAuth2 Bearer JWT (`client_credentials` 플로우). `/oauth/token` 에서 토큰 발급 후 `Authorization: Bearer <token>` 헤더. - **_/v1** — V5 충실 platform-auth.
|
|
6
|
+
* 외부 ERP 연동용 RESTful API. ## 버전별 인증 - **_/v2** — OAuth2 Bearer JWT (`client_credentials` 플로우). `/oauth/token` 에서 토큰 발급 후 `Authorization: Bearer <token>` 헤더. - **_/v1** — V5 충실 platform-auth. `X-Platform-Id`(cate_set.api_id) / `X-Platform-Secret`(cate_set.api_secret, MD5-hex) 헤더로 전송.
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: 1.0
|
|
9
9
|
*
|
package/dist/api.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* CMARKET V6 Partner API
|
|
3
|
-
* 외부 ERP 연동용 RESTful API. ## 버전별 인증 - **_/v2** — OAuth2 Bearer JWT (`client_credentials` 플로우). `/oauth/token` 에서 토큰 발급 후 `Authorization: Bearer <token>` 헤더. - **_/v1** — V5 충실 platform-auth.
|
|
3
|
+
* 외부 ERP 연동용 RESTful API. ## 버전별 인증 - **_/v2** — OAuth2 Bearer JWT (`client_credentials` 플로우). `/oauth/token` 에서 토큰 발급 후 `Authorization: Bearer <token>` 헤더. - **_/v1** — V5 충실 platform-auth. `X-Platform-Id`(cate_set.api_id) / `X-Platform-Secret`(cate_set.api_secret, MD5-hex) 헤더로 전송.
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: 1.0
|
|
6
6
|
*
|
package/dist/api.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* CMARKET V6 Partner API
|
|
6
|
-
* 외부 ERP 연동용 RESTful API. ## 버전별 인증 - **_/v2** — OAuth2 Bearer JWT (`client_credentials` 플로우). `/oauth/token` 에서 토큰 발급 후 `Authorization: Bearer <token>` 헤더. - **_/v1** — V5 충실 platform-auth.
|
|
6
|
+
* 외부 ERP 연동용 RESTful API. ## 버전별 인증 - **_/v2** — OAuth2 Bearer JWT (`client_credentials` 플로우). `/oauth/token` 에서 토큰 발급 후 `Authorization: Bearer <token>` 헤더. - **_/v1** — V5 충실 platform-auth. `X-Platform-Id`(cate_set.api_id) / `X-Platform-Secret`(cate_set.api_secret, MD5-hex) 헤더로 전송.
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: 1.0
|
|
9
9
|
*
|
package/dist/base.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* CMARKET V6 Partner API
|
|
3
|
-
* 외부 ERP 연동용 RESTful API. ## 버전별 인증 - **_/v2** — OAuth2 Bearer JWT (`client_credentials` 플로우). `/oauth/token` 에서 토큰 발급 후 `Authorization: Bearer <token>` 헤더. - **_/v1** — V5 충실 platform-auth.
|
|
3
|
+
* 외부 ERP 연동용 RESTful API. ## 버전별 인증 - **_/v2** — OAuth2 Bearer JWT (`client_credentials` 플로우). `/oauth/token` 에서 토큰 발급 후 `Authorization: Bearer <token>` 헤더. - **_/v1** — V5 충실 platform-auth. `X-Platform-Id`(cate_set.api_id) / `X-Platform-Secret`(cate_set.api_secret, MD5-hex) 헤더로 전송.
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: 1.0
|
|
6
6
|
*
|
package/dist/base.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* CMARKET V6 Partner API
|
|
6
|
-
* 외부 ERP 연동용 RESTful API. ## 버전별 인증 - **_/v2** — OAuth2 Bearer JWT (`client_credentials` 플로우). `/oauth/token` 에서 토큰 발급 후 `Authorization: Bearer <token>` 헤더. - **_/v1** — V5 충실 platform-auth.
|
|
6
|
+
* 외부 ERP 연동용 RESTful API. ## 버전별 인증 - **_/v2** — OAuth2 Bearer JWT (`client_credentials` 플로우). `/oauth/token` 에서 토큰 발급 후 `Authorization: Bearer <token>` 헤더. - **_/v1** — V5 충실 platform-auth. `X-Platform-Id`(cate_set.api_id) / `X-Platform-Secret`(cate_set.api_secret, MD5-hex) 헤더로 전송.
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: 1.0
|
|
9
9
|
*
|
package/dist/common.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* CMARKET V6 Partner API
|
|
3
|
-
* 외부 ERP 연동용 RESTful API. ## 버전별 인증 - **_/v2** — OAuth2 Bearer JWT (`client_credentials` 플로우). `/oauth/token` 에서 토큰 발급 후 `Authorization: Bearer <token>` 헤더. - **_/v1** — V5 충실 platform-auth.
|
|
3
|
+
* 외부 ERP 연동용 RESTful API. ## 버전별 인증 - **_/v2** — OAuth2 Bearer JWT (`client_credentials` 플로우). `/oauth/token` 에서 토큰 발급 후 `Authorization: Bearer <token>` 헤더. - **_/v1** — V5 충실 platform-auth. `X-Platform-Id`(cate_set.api_id) / `X-Platform-Secret`(cate_set.api_secret, MD5-hex) 헤더로 전송.
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: 1.0
|
|
6
6
|
*
|
package/dist/common.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* CMARKET V6 Partner API
|
|
6
|
-
* 외부 ERP 연동용 RESTful API. ## 버전별 인증 - **_/v2** — OAuth2 Bearer JWT (`client_credentials` 플로우). `/oauth/token` 에서 토큰 발급 후 `Authorization: Bearer <token>` 헤더. - **_/v1** — V5 충실 platform-auth.
|
|
6
|
+
* 외부 ERP 연동용 RESTful API. ## 버전별 인증 - **_/v2** — OAuth2 Bearer JWT (`client_credentials` 플로우). `/oauth/token` 에서 토큰 발급 후 `Authorization: Bearer <token>` 헤더. - **_/v1** — V5 충실 platform-auth. `X-Platform-Id`(cate_set.api_id) / `X-Platform-Secret`(cate_set.api_secret, MD5-hex) 헤더로 전송.
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: 1.0
|
|
9
9
|
*
|
package/dist/configuration.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* CMARKET V6 Partner API
|
|
3
|
-
* 외부 ERP 연동용 RESTful API. ## 버전별 인증 - **_/v2** — OAuth2 Bearer JWT (`client_credentials` 플로우). `/oauth/token` 에서 토큰 발급 후 `Authorization: Bearer <token>` 헤더. - **_/v1** — V5 충실 platform-auth.
|
|
3
|
+
* 외부 ERP 연동용 RESTful API. ## 버전별 인증 - **_/v2** — OAuth2 Bearer JWT (`client_credentials` 플로우). `/oauth/token` 에서 토큰 발급 후 `Authorization: Bearer <token>` 헤더. - **_/v1** — V5 충실 platform-auth. `X-Platform-Id`(cate_set.api_id) / `X-Platform-Secret`(cate_set.api_secret, MD5-hex) 헤더로 전송.
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: 1.0
|
|
6
6
|
*
|
package/dist/configuration.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* tslint:disable */
|
|
3
3
|
/**
|
|
4
4
|
* CMARKET V6 Partner API
|
|
5
|
-
* 외부 ERP 연동용 RESTful API. ## 버전별 인증 - **_/v2** — OAuth2 Bearer JWT (`client_credentials` 플로우). `/oauth/token` 에서 토큰 발급 후 `Authorization: Bearer <token>` 헤더. - **_/v1** — V5 충실 platform-auth.
|
|
5
|
+
* 외부 ERP 연동용 RESTful API. ## 버전별 인증 - **_/v2** — OAuth2 Bearer JWT (`client_credentials` 플로우). `/oauth/token` 에서 토큰 발급 후 `Authorization: Bearer <token>` 헤더. - **_/v1** — V5 충실 platform-auth. `X-Platform-Id`(cate_set.api_id) / `X-Platform-Secret`(cate_set.api_secret, MD5-hex) 헤더로 전송.
|
|
6
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: 1.0
|
|
8
8
|
*
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* CMARKET V6 Partner API
|
|
3
|
-
* 외부 ERP 연동용 RESTful API. ## 버전별 인증 - **_/v2** — OAuth2 Bearer JWT (`client_credentials` 플로우). `/oauth/token` 에서 토큰 발급 후 `Authorization: Bearer <token>` 헤더. - **_/v1** — V5 충실 platform-auth.
|
|
3
|
+
* 외부 ERP 연동용 RESTful API. ## 버전별 인증 - **_/v2** — OAuth2 Bearer JWT (`client_credentials` 플로우). `/oauth/token` 에서 토큰 발급 후 `Authorization: Bearer <token>` 헤더. - **_/v1** — V5 충실 platform-auth. `X-Platform-Id`(cate_set.api_id) / `X-Platform-Secret`(cate_set.api_secret, MD5-hex) 헤더로 전송.
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: 1.0
|
|
6
6
|
*
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
4
|
* CMARKET V6 Partner API
|
|
5
|
-
* 외부 ERP 연동용 RESTful API. ## 버전별 인증 - **_/v2** — OAuth2 Bearer JWT (`client_credentials` 플로우). `/oauth/token` 에서 토큰 발급 후 `Authorization: Bearer <token>` 헤더. - **_/v1** — V5 충실 platform-auth.
|
|
5
|
+
* 외부 ERP 연동용 RESTful API. ## 버전별 인증 - **_/v2** — OAuth2 Bearer JWT (`client_credentials` 플로우). `/oauth/token` 에서 토큰 발급 후 `Authorization: Bearer <token>` 헤더. - **_/v1** — V5 충실 platform-auth. `X-Platform-Id`(cate_set.api_id) / `X-Platform-Secret`(cate_set.api_secret, MD5-hex) 헤더로 전송.
|
|
6
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: 1.0
|
|
8
8
|
*
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* CMARKET V6 Partner API
|
|
3
|
-
* 외부 ERP 연동용 RESTful API. ## 버전별 인증 - **_/v2** — OAuth2 Bearer JWT (`client_credentials` 플로우). `/oauth/token` 에서 토큰 발급 후 `Authorization: Bearer <token>` 헤더. - **_/v1** — V5 충실 platform-auth.
|
|
3
|
+
* 외부 ERP 연동용 RESTful API. ## 버전별 인증 - **_/v2** — OAuth2 Bearer JWT (`client_credentials` 플로우). `/oauth/token` 에서 토큰 발급 후 `Authorization: Bearer <token>` 헤더. - **_/v1** — V5 충실 platform-auth. `X-Platform-Id`(cate_set.api_id) / `X-Platform-Secret`(cate_set.api_secret, MD5-hex) 헤더로 전송.
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: 1.0
|
|
6
6
|
*
|