@cmarket/partner-sdk 0.3.0 → 0.5.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.
Files changed (43) hide show
  1. package/README.md +3 -5
  2. package/api/partner-v1-api.ts +0 -74
  3. package/dist/api/partner-v1-api.d.ts +0 -33
  4. package/dist/api/partner-v1-api.js +0 -69
  5. package/dist/esm/api/partner-v1-api.d.ts +0 -33
  6. package/dist/esm/api/partner-v1-api.js +0 -69
  7. package/dist/esm/models/bid-result-participant-attachment-dto.d.ts +33 -0
  8. package/dist/esm/models/bid-result-participant-dto.d.ts +9 -0
  9. package/dist/esm/models/bid-results-response-dto.d.ts +4 -0
  10. package/dist/esm/models/create-bid-request-dto.d.ts +1 -2
  11. package/dist/esm/models/create-bid-request-dto.js +0 -1
  12. package/dist/esm/models/index.d.ts +1 -2
  13. package/dist/esm/models/index.js +1 -2
  14. package/dist/models/bid-result-participant-attachment-dto.d.ts +33 -0
  15. package/dist/models/bid-result-participant-dto.d.ts +9 -0
  16. package/dist/models/bid-results-response-dto.d.ts +4 -0
  17. package/dist/models/create-bid-request-dto.d.ts +1 -2
  18. package/dist/models/create-bid-request-dto.js +0 -1
  19. package/dist/models/index.d.ts +1 -2
  20. package/dist/models/index.js +1 -2
  21. package/docs/BidResultParticipantAttachmentDto.md +28 -0
  22. package/docs/BidResultParticipantDto.md +4 -0
  23. package/docs/BidResultsResponseDto.md +2 -0
  24. package/docs/CreateBidRequestDto.md +1 -1
  25. package/docs/PartnerV1Api.md +0 -53
  26. package/models/bid-result-participant-attachment-dto.ts +39 -0
  27. package/models/bid-result-participant-dto.ts +11 -0
  28. package/models/bid-results-response-dto.ts +4 -0
  29. package/models/create-bid-request-dto.ts +1 -2
  30. package/models/index.ts +1 -2
  31. package/package.json +1 -1
  32. package/dist/esm/models/bid-status.d.ts +0 -23
  33. package/dist/esm/models/bid-status.js +0 -24
  34. package/dist/esm/models/bid-summary-response-dto.d.ts +0 -30
  35. package/dist/models/bid-status.d.ts +0 -23
  36. package/dist/models/bid-status.js +0 -27
  37. package/dist/models/bid-summary-response-dto.d.ts +0 -30
  38. package/docs/BidStatus.md +0 -19
  39. package/docs/BidSummaryResponseDto.md +0 -26
  40. package/models/bid-status.ts +0 -33
  41. package/models/bid-summary-response-dto.ts +0 -40
  42. /package/dist/esm/models/{bid-summary-response-dto.js → bid-result-participant-attachment-dto.js} +0 -0
  43. /package/dist/models/{bid-summary-response-dto.js → bid-result-participant-attachment-dto.js} +0 -0
package/README.md CHANGED
@@ -188,7 +188,7 @@ public class Quickstart {
188
188
 
189
189
  ---
190
190
 
191
- ## @cmarket/partner-sdk@0.3.0
191
+ ## @cmarket/partner-sdk@0.5.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@0.3.0 --save
229
+ npm install @cmarket/partner-sdk@0.5.0 --save
230
230
  ```
231
231
 
232
232
  _unPublished (not recommended):_
@@ -242,7 +242,6 @@ All URIs are relative to *http://localhost*
242
242
  Class | Method | HTTP request | Description
243
243
  ------------ | ------------- | ------------- | -------------
244
244
  *OauthApi* | [**token**](docs/OauthApi.md#token) | **POST** /v1/oauth/token | OAuth 2.0 access token 발급 (client_credentials)
245
- *PartnerV1Api* | [**bidsControllerFindOne**](docs/PartnerV1Api.md#bidscontrollerfindone) | **GET** /v1/bids/{bidId} | 공고 단건 조회
246
245
  *PartnerV1Api* | [**completeAcceptance**](docs/PartnerV1Api.md#completeacceptance) | **POST** /v1/bids/{bidId}/acceptance | 검수완료 전송
247
246
  *PartnerV1Api* | [**getBidContractDocuments**](docs/PartnerV1Api.md#getbidcontractdocuments) | **GET** /v1/bids/{bidId}/contract-documents | 계약서류 수신 조회
248
247
  *PartnerV1Api* | [**getBidContractDocumentsBatch**](docs/PartnerV1Api.md#getbidcontractdocumentsbatch) | **POST** /v1/bids/contract-documents/batch | 계약서류 수신 배치 조회
@@ -272,6 +271,7 @@ Class | Method | HTTP request | Description
272
271
  - [BidFailureReason](docs/BidFailureReason.md)
273
272
  - [BidItemDto](docs/BidItemDto.md)
274
273
  - [BidManagerDto](docs/BidManagerDto.md)
274
+ - [BidResultParticipantAttachmentDto](docs/BidResultParticipantAttachmentDto.md)
275
275
  - [BidResultParticipantDto](docs/BidResultParticipantDto.md)
276
276
  - [BidResultProductDto](docs/BidResultProductDto.md)
277
277
  - [BidResultWinnerDto](docs/BidResultWinnerDto.md)
@@ -281,8 +281,6 @@ Class | Method | HTTP request | Description
281
281
  - [BidSettlementParticipantDto](docs/BidSettlementParticipantDto.md)
282
282
  - [BidSettlementResponseDto](docs/BidSettlementResponseDto.md)
283
283
  - [BidStatementResponseDto](docs/BidStatementResponseDto.md)
284
- - [BidStatus](docs/BidStatus.md)
285
- - [BidSummaryResponseDto](docs/BidSummaryResponseDto.md)
286
284
  - [CompleteAcceptanceRequestDto](docs/CompleteAcceptanceRequestDto.md)
287
285
  - [ContractDocumentItemDto](docs/ContractDocumentItemDto.md)
288
286
  - [CreateBidRequestDto](docs/CreateBidRequestDto.md)
@@ -42,8 +42,6 @@ import type { BidSettlementResponseDto } from '../models';
42
42
  // @ts-ignore
43
43
  import type { BidStatementResponseDto } from '../models';
44
44
  // @ts-ignore
45
- import type { BidSummaryResponseDto } from '../models';
46
- // @ts-ignore
47
45
  import type { CompleteAcceptanceRequestDto } from '../models';
48
46
  // @ts-ignore
49
47
  import type { CreateBidRequestDto } from '../models';
@@ -70,44 +68,6 @@ import type { UploadFileRequestDto } from '../models';
70
68
  */
71
69
  export const PartnerV1ApiAxiosParamCreator = function (configuration?: Configuration) {
72
70
  return {
73
- /**
74
- * ERP 가 공고 정보를 조회합니다. 인증 필요 (스코프 `bids:read`).
75
- * @summary 공고 단건 조회
76
- * @param {string} bidId
77
- * @param {*} [options] Override http request option.
78
- * @throws {RequiredError}
79
- */
80
- bidsControllerFindOne: async (bidId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
81
- // verify required parameter 'bidId' is not null or undefined
82
- assertParamExists('bidsControllerFindOne', 'bidId', bidId)
83
- const localVarPath = `/v1/bids/{bidId}`
84
- .replace('{bidId}', encodeURIComponent(String(bidId)));
85
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
86
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
87
- let baseOptions;
88
- if (configuration) {
89
- baseOptions = configuration.baseOptions;
90
- }
91
-
92
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
93
- const localVarHeaderParameter = {} as any;
94
- const localVarQueryParameter = {} as any;
95
-
96
- // authentication partner-oauth2 required
97
- // http bearer authentication required
98
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
99
-
100
- localVarHeaderParameter['Accept'] = 'application/json';
101
-
102
- setSearchParams(localVarUrlObj, localVarQueryParameter);
103
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
104
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
105
-
106
- return {
107
- url: toPathString(localVarUrlObj),
108
- options: localVarRequestOptions,
109
- };
110
- },
111
71
  /**
112
72
  * V5 /acceptanceCompleteSend 후속. scope contracts:write + Idempotency-Key.
113
73
  * @summary 검수완료 전송
@@ -675,19 +635,6 @@ export const PartnerV1ApiAxiosParamCreator = function (configuration?: Configura
675
635
  export const PartnerV1ApiFp = function(configuration?: Configuration) {
676
636
  const localVarAxiosParamCreator = PartnerV1ApiAxiosParamCreator(configuration)
677
637
  return {
678
- /**
679
- * ERP 가 공고 정보를 조회합니다. 인증 필요 (스코프 `bids:read`).
680
- * @summary 공고 단건 조회
681
- * @param {string} bidId
682
- * @param {*} [options] Override http request option.
683
- * @throws {RequiredError}
684
- */
685
- async bidsControllerFindOne(bidId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BidSummaryResponseDto>> {
686
- const localVarAxiosArgs = await localVarAxiosParamCreator.bidsControllerFindOne(bidId, options);
687
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
688
- const localVarOperationServerBasePath = operationServerMap['PartnerV1Api.bidsControllerFindOne']?.[localVarOperationServerIndex]?.url;
689
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
690
- },
691
638
  /**
692
639
  * V5 /acceptanceCompleteSend 후속. scope contracts:write + Idempotency-Key.
693
640
  * @summary 검수완료 전송
@@ -882,16 +829,6 @@ export const PartnerV1ApiFp = function(configuration?: Configuration) {
882
829
  export const PartnerV1ApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
883
830
  const localVarFp = PartnerV1ApiFp(configuration)
884
831
  return {
885
- /**
886
- * ERP 가 공고 정보를 조회합니다. 인증 필요 (스코프 `bids:read`).
887
- * @summary 공고 단건 조회
888
- * @param {string} bidId
889
- * @param {*} [options] Override http request option.
890
- * @throws {RequiredError}
891
- */
892
- bidsControllerFindOne(bidId: string, options?: RawAxiosRequestConfig): AxiosPromise<BidSummaryResponseDto> {
893
- return localVarFp.bidsControllerFindOne(bidId, options).then((request) => request(axios, basePath));
894
- },
895
832
  /**
896
833
  * V5 /acceptanceCompleteSend 후속. scope contracts:write + Idempotency-Key.
897
834
  * @summary 검수완료 전송
@@ -1042,17 +979,6 @@ export const PartnerV1ApiFactory = function (configuration?: Configuration, base
1042
979
  * PartnerV1Api - object-oriented interface
1043
980
  */
1044
981
  export class PartnerV1Api extends BaseAPI {
1045
- /**
1046
- * ERP 가 공고 정보를 조회합니다. 인증 필요 (스코프 `bids:read`).
1047
- * @summary 공고 단건 조회
1048
- * @param {string} bidId
1049
- * @param {*} [options] Override http request option.
1050
- * @throws {RequiredError}
1051
- */
1052
- public bidsControllerFindOne(bidId: string, options?: RawAxiosRequestConfig) {
1053
- return PartnerV1ApiFp(this.configuration).bidsControllerFindOne(bidId, options).then((request) => request(this.axios, this.basePath));
1054
- }
1055
-
1056
982
  /**
1057
983
  * V5 /acceptanceCompleteSend 후속. scope contracts:write + Idempotency-Key.
1058
984
  * @summary 검수완료 전송
@@ -22,7 +22,6 @@ import type { BidResultsBatchRequestDto } from '../models';
22
22
  import type { BidResultsResponseDto } from '../models';
23
23
  import type { BidSettlementResponseDto } from '../models';
24
24
  import type { BidStatementResponseDto } from '../models';
25
- import type { BidSummaryResponseDto } from '../models';
26
25
  import type { CompleteAcceptanceRequestDto } from '../models';
27
26
  import type { CreateBidRequestDto } from '../models';
28
27
  import type { FileUploadedResponseDto } from '../models';
@@ -38,14 +37,6 @@ import type { UploadFileRequestDto } from '../models';
38
37
  * PartnerV1Api - axios parameter creator
39
38
  */
40
39
  export declare const PartnerV1ApiAxiosParamCreator: (configuration?: Configuration) => {
41
- /**
42
- * ERP 가 공고 정보를 조회합니다. 인증 필요 (스코프 `bids:read`).
43
- * @summary 공고 단건 조회
44
- * @param {string} bidId
45
- * @param {*} [options] Override http request option.
46
- * @throws {RequiredError}
47
- */
48
- bidsControllerFindOne: (bidId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
49
40
  /**
50
41
  * V5 /acceptanceCompleteSend 후속. scope contracts:write + Idempotency-Key.
51
42
  * @summary 검수완료 전송
@@ -166,14 +157,6 @@ export declare const PartnerV1ApiAxiosParamCreator: (configuration?: Configurati
166
157
  * PartnerV1Api - functional programming interface
167
158
  */
168
159
  export declare const PartnerV1ApiFp: (configuration?: Configuration) => {
169
- /**
170
- * ERP 가 공고 정보를 조회합니다. 인증 필요 (스코프 `bids:read`).
171
- * @summary 공고 단건 조회
172
- * @param {string} bidId
173
- * @param {*} [options] Override http request option.
174
- * @throws {RequiredError}
175
- */
176
- bidsControllerFindOne(bidId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BidSummaryResponseDto>>;
177
160
  /**
178
161
  * V5 /acceptanceCompleteSend 후속. scope contracts:write + Idempotency-Key.
179
162
  * @summary 검수완료 전송
@@ -294,14 +277,6 @@ export declare const PartnerV1ApiFp: (configuration?: Configuration) => {
294
277
  * PartnerV1Api - factory interface
295
278
  */
296
279
  export declare const PartnerV1ApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
297
- /**
298
- * ERP 가 공고 정보를 조회합니다. 인증 필요 (스코프 `bids:read`).
299
- * @summary 공고 단건 조회
300
- * @param {string} bidId
301
- * @param {*} [options] Override http request option.
302
- * @throws {RequiredError}
303
- */
304
- bidsControllerFindOne(bidId: string, options?: RawAxiosRequestConfig): AxiosPromise<BidSummaryResponseDto>;
305
280
  /**
306
281
  * V5 /acceptanceCompleteSend 후속. scope contracts:write + Idempotency-Key.
307
282
  * @summary 검수완료 전송
@@ -422,14 +397,6 @@ export declare const PartnerV1ApiFactory: (configuration?: Configuration, basePa
422
397
  * PartnerV1Api - object-oriented interface
423
398
  */
424
399
  export declare class PartnerV1Api extends BaseAPI {
425
- /**
426
- * ERP 가 공고 정보를 조회합니다. 인증 필요 (스코프 `bids:read`).
427
- * @summary 공고 단건 조회
428
- * @param {string} bidId
429
- * @param {*} [options] Override http request option.
430
- * @throws {RequiredError}
431
- */
432
- bidsControllerFindOne(bidId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BidSummaryResponseDto, any, {}>>;
433
400
  /**
434
401
  * V5 /acceptanceCompleteSend 후속. scope contracts:write + Idempotency-Key.
435
402
  * @summary 검수완료 전송
@@ -34,39 +34,6 @@ const base_1 = require("../base");
34
34
  */
35
35
  const PartnerV1ApiAxiosParamCreator = function (configuration) {
36
36
  return {
37
- /**
38
- * ERP 가 공고 정보를 조회합니다. 인증 필요 (스코프 `bids:read`).
39
- * @summary 공고 단건 조회
40
- * @param {string} bidId
41
- * @param {*} [options] Override http request option.
42
- * @throws {RequiredError}
43
- */
44
- bidsControllerFindOne: (bidId_1, ...args_1) => __awaiter(this, [bidId_1, ...args_1], void 0, function* (bidId, options = {}) {
45
- // verify required parameter 'bidId' is not null or undefined
46
- (0, common_1.assertParamExists)('bidsControllerFindOne', 'bidId', bidId);
47
- const localVarPath = `/v1/bids/{bidId}`
48
- .replace('{bidId}', encodeURIComponent(String(bidId)));
49
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
50
- const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
51
- let baseOptions;
52
- if (configuration) {
53
- baseOptions = configuration.baseOptions;
54
- }
55
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
56
- const localVarHeaderParameter = {};
57
- const localVarQueryParameter = {};
58
- // authentication partner-oauth2 required
59
- // http bearer authentication required
60
- yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
61
- localVarHeaderParameter['Accept'] = 'application/json';
62
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
63
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
64
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
65
- return {
66
- url: (0, common_1.toPathString)(localVarUrlObj),
67
- options: localVarRequestOptions,
68
- };
69
- }),
70
37
  /**
71
38
  * V5 /acceptanceCompleteSend 후속. scope contracts:write + Idempotency-Key.
72
39
  * @summary 검수완료 전송
@@ -562,22 +529,6 @@ exports.PartnerV1ApiAxiosParamCreator = PartnerV1ApiAxiosParamCreator;
562
529
  const PartnerV1ApiFp = function (configuration) {
563
530
  const localVarAxiosParamCreator = (0, exports.PartnerV1ApiAxiosParamCreator)(configuration);
564
531
  return {
565
- /**
566
- * ERP 가 공고 정보를 조회합니다. 인증 필요 (스코프 `bids:read`).
567
- * @summary 공고 단건 조회
568
- * @param {string} bidId
569
- * @param {*} [options] Override http request option.
570
- * @throws {RequiredError}
571
- */
572
- bidsControllerFindOne(bidId, options) {
573
- return __awaiter(this, void 0, void 0, function* () {
574
- var _a, _b, _c;
575
- const localVarAxiosArgs = yield localVarAxiosParamCreator.bidsControllerFindOne(bidId, options);
576
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
577
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['PartnerV1Api.bidsControllerFindOne']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
578
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
579
- });
580
- },
581
532
  /**
582
533
  * V5 /acceptanceCompleteSend 후속. scope contracts:write + Idempotency-Key.
583
534
  * @summary 검수완료 전송
@@ -814,16 +765,6 @@ exports.PartnerV1ApiFp = PartnerV1ApiFp;
814
765
  const PartnerV1ApiFactory = function (configuration, basePath, axios) {
815
766
  const localVarFp = (0, exports.PartnerV1ApiFp)(configuration);
816
767
  return {
817
- /**
818
- * ERP 가 공고 정보를 조회합니다. 인증 필요 (스코프 `bids:read`).
819
- * @summary 공고 단건 조회
820
- * @param {string} bidId
821
- * @param {*} [options] Override http request option.
822
- * @throws {RequiredError}
823
- */
824
- bidsControllerFindOne(bidId, options) {
825
- return localVarFp.bidsControllerFindOne(bidId, options).then((request) => request(axios, basePath));
826
- },
827
768
  /**
828
769
  * V5 /acceptanceCompleteSend 후속. scope contracts:write + Idempotency-Key.
829
770
  * @summary 검수완료 전송
@@ -974,16 +915,6 @@ exports.PartnerV1ApiFactory = PartnerV1ApiFactory;
974
915
  * PartnerV1Api - object-oriented interface
975
916
  */
976
917
  class PartnerV1Api extends base_1.BaseAPI {
977
- /**
978
- * ERP 가 공고 정보를 조회합니다. 인증 필요 (스코프 `bids:read`).
979
- * @summary 공고 단건 조회
980
- * @param {string} bidId
981
- * @param {*} [options] Override http request option.
982
- * @throws {RequiredError}
983
- */
984
- bidsControllerFindOne(bidId, options) {
985
- return (0, exports.PartnerV1ApiFp)(this.configuration).bidsControllerFindOne(bidId, options).then((request) => request(this.axios, this.basePath));
986
- }
987
918
  /**
988
919
  * V5 /acceptanceCompleteSend 후속. scope contracts:write + Idempotency-Key.
989
920
  * @summary 검수완료 전송
@@ -22,7 +22,6 @@ import type { BidResultsBatchRequestDto } from '../models';
22
22
  import type { BidResultsResponseDto } from '../models';
23
23
  import type { BidSettlementResponseDto } from '../models';
24
24
  import type { BidStatementResponseDto } from '../models';
25
- import type { BidSummaryResponseDto } from '../models';
26
25
  import type { CompleteAcceptanceRequestDto } from '../models';
27
26
  import type { CreateBidRequestDto } from '../models';
28
27
  import type { FileUploadedResponseDto } from '../models';
@@ -38,14 +37,6 @@ import type { UploadFileRequestDto } from '../models';
38
37
  * PartnerV1Api - axios parameter creator
39
38
  */
40
39
  export declare const PartnerV1ApiAxiosParamCreator: (configuration?: Configuration) => {
41
- /**
42
- * ERP 가 공고 정보를 조회합니다. 인증 필요 (스코프 `bids:read`).
43
- * @summary 공고 단건 조회
44
- * @param {string} bidId
45
- * @param {*} [options] Override http request option.
46
- * @throws {RequiredError}
47
- */
48
- bidsControllerFindOne: (bidId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
49
40
  /**
50
41
  * V5 /acceptanceCompleteSend 후속. scope contracts:write + Idempotency-Key.
51
42
  * @summary 검수완료 전송
@@ -166,14 +157,6 @@ export declare const PartnerV1ApiAxiosParamCreator: (configuration?: Configurati
166
157
  * PartnerV1Api - functional programming interface
167
158
  */
168
159
  export declare const PartnerV1ApiFp: (configuration?: Configuration) => {
169
- /**
170
- * ERP 가 공고 정보를 조회합니다. 인증 필요 (스코프 `bids:read`).
171
- * @summary 공고 단건 조회
172
- * @param {string} bidId
173
- * @param {*} [options] Override http request option.
174
- * @throws {RequiredError}
175
- */
176
- bidsControllerFindOne(bidId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BidSummaryResponseDto>>;
177
160
  /**
178
161
  * V5 /acceptanceCompleteSend 후속. scope contracts:write + Idempotency-Key.
179
162
  * @summary 검수완료 전송
@@ -294,14 +277,6 @@ export declare const PartnerV1ApiFp: (configuration?: Configuration) => {
294
277
  * PartnerV1Api - factory interface
295
278
  */
296
279
  export declare const PartnerV1ApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
297
- /**
298
- * ERP 가 공고 정보를 조회합니다. 인증 필요 (스코프 `bids:read`).
299
- * @summary 공고 단건 조회
300
- * @param {string} bidId
301
- * @param {*} [options] Override http request option.
302
- * @throws {RequiredError}
303
- */
304
- bidsControllerFindOne(bidId: string, options?: RawAxiosRequestConfig): AxiosPromise<BidSummaryResponseDto>;
305
280
  /**
306
281
  * V5 /acceptanceCompleteSend 후속. scope contracts:write + Idempotency-Key.
307
282
  * @summary 검수완료 전송
@@ -422,14 +397,6 @@ export declare const PartnerV1ApiFactory: (configuration?: Configuration, basePa
422
397
  * PartnerV1Api - object-oriented interface
423
398
  */
424
399
  export declare class PartnerV1Api extends BaseAPI {
425
- /**
426
- * ERP 가 공고 정보를 조회합니다. 인증 필요 (스코프 `bids:read`).
427
- * @summary 공고 단건 조회
428
- * @param {string} bidId
429
- * @param {*} [options] Override http request option.
430
- * @throws {RequiredError}
431
- */
432
- bidsControllerFindOne(bidId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BidSummaryResponseDto, any, {}>>;
433
400
  /**
434
401
  * V5 /acceptanceCompleteSend 후속. scope contracts:write + Idempotency-Key.
435
402
  * @summary 검수완료 전송
@@ -31,39 +31,6 @@ import { BASE_PATH, BaseAPI, operationServerMap } from '../base';
31
31
  */
32
32
  export const PartnerV1ApiAxiosParamCreator = function (configuration) {
33
33
  return {
34
- /**
35
- * ERP 가 공고 정보를 조회합니다. 인증 필요 (스코프 `bids:read`).
36
- * @summary 공고 단건 조회
37
- * @param {string} bidId
38
- * @param {*} [options] Override http request option.
39
- * @throws {RequiredError}
40
- */
41
- bidsControllerFindOne: (bidId_1, ...args_1) => __awaiter(this, [bidId_1, ...args_1], void 0, function* (bidId, options = {}) {
42
- // verify required parameter 'bidId' is not null or undefined
43
- assertParamExists('bidsControllerFindOne', 'bidId', bidId);
44
- const localVarPath = `/v1/bids/{bidId}`
45
- .replace('{bidId}', encodeURIComponent(String(bidId)));
46
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
47
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
48
- let baseOptions;
49
- if (configuration) {
50
- baseOptions = configuration.baseOptions;
51
- }
52
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
53
- const localVarHeaderParameter = {};
54
- const localVarQueryParameter = {};
55
- // authentication partner-oauth2 required
56
- // http bearer authentication required
57
- yield setBearerAuthToObject(localVarHeaderParameter, configuration);
58
- localVarHeaderParameter['Accept'] = 'application/json';
59
- setSearchParams(localVarUrlObj, localVarQueryParameter);
60
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
61
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
62
- return {
63
- url: toPathString(localVarUrlObj),
64
- options: localVarRequestOptions,
65
- };
66
- }),
67
34
  /**
68
35
  * V5 /acceptanceCompleteSend 후속. scope contracts:write + Idempotency-Key.
69
36
  * @summary 검수완료 전송
@@ -558,22 +525,6 @@ export const PartnerV1ApiAxiosParamCreator = function (configuration) {
558
525
  export const PartnerV1ApiFp = function (configuration) {
559
526
  const localVarAxiosParamCreator = PartnerV1ApiAxiosParamCreator(configuration);
560
527
  return {
561
- /**
562
- * ERP 가 공고 정보를 조회합니다. 인증 필요 (스코프 `bids:read`).
563
- * @summary 공고 단건 조회
564
- * @param {string} bidId
565
- * @param {*} [options] Override http request option.
566
- * @throws {RequiredError}
567
- */
568
- bidsControllerFindOne(bidId, options) {
569
- return __awaiter(this, void 0, void 0, function* () {
570
- var _a, _b, _c;
571
- const localVarAxiosArgs = yield localVarAxiosParamCreator.bidsControllerFindOne(bidId, options);
572
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
573
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PartnerV1Api.bidsControllerFindOne']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
574
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
575
- });
576
- },
577
528
  /**
578
529
  * V5 /acceptanceCompleteSend 후속. scope contracts:write + Idempotency-Key.
579
530
  * @summary 검수완료 전송
@@ -809,16 +760,6 @@ export const PartnerV1ApiFp = function (configuration) {
809
760
  export const PartnerV1ApiFactory = function (configuration, basePath, axios) {
810
761
  const localVarFp = PartnerV1ApiFp(configuration);
811
762
  return {
812
- /**
813
- * ERP 가 공고 정보를 조회합니다. 인증 필요 (스코프 `bids:read`).
814
- * @summary 공고 단건 조회
815
- * @param {string} bidId
816
- * @param {*} [options] Override http request option.
817
- * @throws {RequiredError}
818
- */
819
- bidsControllerFindOne(bidId, options) {
820
- return localVarFp.bidsControllerFindOne(bidId, options).then((request) => request(axios, basePath));
821
- },
822
763
  /**
823
764
  * V5 /acceptanceCompleteSend 후속. scope contracts:write + Idempotency-Key.
824
765
  * @summary 검수완료 전송
@@ -968,16 +909,6 @@ export const PartnerV1ApiFactory = function (configuration, basePath, axios) {
968
909
  * PartnerV1Api - object-oriented interface
969
910
  */
970
911
  export class PartnerV1Api extends BaseAPI {
971
- /**
972
- * ERP 가 공고 정보를 조회합니다. 인증 필요 (스코프 `bids:read`).
973
- * @summary 공고 단건 조회
974
- * @param {string} bidId
975
- * @param {*} [options] Override http request option.
976
- * @throws {RequiredError}
977
- */
978
- bidsControllerFindOne(bidId, options) {
979
- return PartnerV1ApiFp(this.configuration).bidsControllerFindOne(bidId, options).then((request) => request(this.axios, this.basePath));
980
- }
981
912
  /**
982
913
  * V5 /acceptanceCompleteSend 후속. scope contracts:write + Idempotency-Key.
983
914
  * @summary 검수완료 전송
@@ -0,0 +1,33 @@
1
+ /**
2
+ * CMARKET V6 Partner API
3
+ * 외부 ERP 연동용 RESTful API.
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
+ export interface BidResultParticipantAttachmentDto {
13
+ /**
14
+ * 파일 일련번호 (V5 f_seq).
15
+ */
16
+ 'fSeq': number;
17
+ /**
18
+ * 파일명 (V5 f_name).
19
+ */
20
+ 'fileName': string;
21
+ /**
22
+ * 파일키 (32자 nanoid) — storage 다운로드 엔드포인트에 전달. 마스킹/비매핑 legacy 시 미발급.
23
+ */
24
+ 'fileKey'?: string;
25
+ /**
26
+ * 미리보기 URL (V5 f_url). 미발급 시 null.
27
+ */
28
+ 'previewUrl'?: string;
29
+ /**
30
+ * 다운로드 URL (V5 f_full_url). 미발급 시 null.
31
+ */
32
+ 'downloadUrl'?: string;
33
+ }
@@ -9,6 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import type { BidResultParticipantAttachmentDto } from './bid-result-participant-attachment-dto';
12
13
  export interface BidResultParticipantDto {
13
14
  /**
14
15
  * 참여 순번.
@@ -62,4 +63,12 @@ export interface BidResultParticipantDto {
62
63
  * 담당자 이메일 (V5 mem_email). 마스킹 시 null.
63
64
  */
64
65
  'managerEmail'?: string;
66
+ /**
67
+ * 응찰 알림글 (V5 join_alim). 마스킹 시 null.
68
+ */
69
+ 'joinAlim'?: string;
70
+ /**
71
+ * 응찰 제출 첨부파일 목록 (V5 entend_file_info). 신원 마스킹 시 빈 배열.
72
+ */
73
+ 'attachments'?: Array<BidResultParticipantAttachmentDto>;
65
74
  }
@@ -17,6 +17,10 @@ export interface BidResultsResponseDto {
17
17
  * 공고 식별자.
18
18
  */
19
19
  'bidId': string;
20
+ /**
21
+ * 발주처 지정 조달번호 (V5 bid_puchase_no). 외부 ERP 가 등록 시 보낸 PO 번호. 미설정 시 null.
22
+ */
23
+ 'bidPuchaseNo'?: string;
20
24
  /**
21
25
  * 공고 상태 코드 (BidStatus enum).
22
26
  */
@@ -116,7 +116,7 @@ export interface CreateBidRequestDto {
116
116
  */
117
117
  'deliveryPeriodDays'?: number;
118
118
  /**
119
- * 납품 방법. A=택배(직납가능), B=직접납품, C=납품및설치, D=픽업. backend BidDeliveryMethod mirror.
119
+ * 납품 방법. A=택배(직납가능), B=직접납품, C=납품및설치. backend BidDeliveryMethod mirror.
120
120
  */
121
121
  'deliveryMethod'?: CreateBidRequestDtoDeliveryMethodEnum;
122
122
  /**
@@ -259,7 +259,6 @@ export declare const CreateBidRequestDtoDeliveryMethodEnum: {
259
259
  readonly A: "A";
260
260
  readonly B: "B";
261
261
  readonly C: "C";
262
- readonly D: "D";
263
262
  };
264
263
  export type CreateBidRequestDtoDeliveryMethodEnum = typeof CreateBidRequestDtoDeliveryMethodEnum[keyof typeof CreateBidRequestDtoDeliveryMethodEnum];
265
264
  export declare const CreateBidRequestDtoPaymentMethodEnum: {
@@ -76,7 +76,6 @@ export const CreateBidRequestDtoDeliveryMethodEnum = {
76
76
  A: 'A',
77
77
  B: 'B',
78
78
  C: 'C',
79
- D: 'D',
80
79
  };
81
80
  export const CreateBidRequestDtoPaymentMethodEnum = {
82
81
  A: 'A',
@@ -9,6 +9,7 @@ export * from './bid-failed-response-dto';
9
9
  export * from './bid-failure-reason';
10
10
  export * from './bid-item-dto';
11
11
  export * from './bid-manager-dto';
12
+ export * from './bid-result-participant-attachment-dto';
12
13
  export * from './bid-result-participant-dto';
13
14
  export * from './bid-result-product-dto';
14
15
  export * from './bid-result-winner-dto';
@@ -18,8 +19,6 @@ export * from './bid-settlement-line-item-dto';
18
19
  export * from './bid-settlement-participant-dto';
19
20
  export * from './bid-settlement-response-dto';
20
21
  export * from './bid-statement-response-dto';
21
- export * from './bid-status';
22
- export * from './bid-summary-response-dto';
23
22
  export * from './complete-acceptance-request-dto';
24
23
  export * from './contract-document-item-dto';
25
24
  export * from './create-bid-request-dto';
@@ -9,6 +9,7 @@ export * from './bid-failed-response-dto';
9
9
  export * from './bid-failure-reason';
10
10
  export * from './bid-item-dto';
11
11
  export * from './bid-manager-dto';
12
+ export * from './bid-result-participant-attachment-dto';
12
13
  export * from './bid-result-participant-dto';
13
14
  export * from './bid-result-product-dto';
14
15
  export * from './bid-result-winner-dto';
@@ -18,8 +19,6 @@ export * from './bid-settlement-line-item-dto';
18
19
  export * from './bid-settlement-participant-dto';
19
20
  export * from './bid-settlement-response-dto';
20
21
  export * from './bid-statement-response-dto';
21
- export * from './bid-status';
22
- export * from './bid-summary-response-dto';
23
22
  export * from './complete-acceptance-request-dto';
24
23
  export * from './contract-document-item-dto';
25
24
  export * from './create-bid-request-dto';
@@ -0,0 +1,33 @@
1
+ /**
2
+ * CMARKET V6 Partner API
3
+ * 외부 ERP 연동용 RESTful API.
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
+ export interface BidResultParticipantAttachmentDto {
13
+ /**
14
+ * 파일 일련번호 (V5 f_seq).
15
+ */
16
+ 'fSeq': number;
17
+ /**
18
+ * 파일명 (V5 f_name).
19
+ */
20
+ 'fileName': string;
21
+ /**
22
+ * 파일키 (32자 nanoid) — storage 다운로드 엔드포인트에 전달. 마스킹/비매핑 legacy 시 미발급.
23
+ */
24
+ 'fileKey'?: string;
25
+ /**
26
+ * 미리보기 URL (V5 f_url). 미발급 시 null.
27
+ */
28
+ 'previewUrl'?: string;
29
+ /**
30
+ * 다운로드 URL (V5 f_full_url). 미발급 시 null.
31
+ */
32
+ 'downloadUrl'?: string;
33
+ }
@@ -9,6 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import type { BidResultParticipantAttachmentDto } from './bid-result-participant-attachment-dto';
12
13
  export interface BidResultParticipantDto {
13
14
  /**
14
15
  * 참여 순번.
@@ -62,4 +63,12 @@ export interface BidResultParticipantDto {
62
63
  * 담당자 이메일 (V5 mem_email). 마스킹 시 null.
63
64
  */
64
65
  'managerEmail'?: string;
66
+ /**
67
+ * 응찰 알림글 (V5 join_alim). 마스킹 시 null.
68
+ */
69
+ 'joinAlim'?: string;
70
+ /**
71
+ * 응찰 제출 첨부파일 목록 (V5 entend_file_info). 신원 마스킹 시 빈 배열.
72
+ */
73
+ 'attachments'?: Array<BidResultParticipantAttachmentDto>;
65
74
  }