@cmarket/partner-sdk 0.1.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 (170) hide show
  1. package/.openapi-generator/FILES +57 -0
  2. package/.openapi-generator/VERSION +1 -0
  3. package/.openapi-generator-ignore +23 -0
  4. package/README.md +95 -0
  5. package/api/oauth-api.ts +127 -0
  6. package/api/partner-v1-api.ts +191 -0
  7. package/api/partner-v1-legacy-api.ts +178 -0
  8. package/api/partner-v2-api.ts +285 -0
  9. package/api.ts +21 -0
  10. package/base.ts +62 -0
  11. package/common.ts +127 -0
  12. package/configuration.ts +121 -0
  13. package/dist/api/oauth-api.d.ts +68 -0
  14. package/dist/api/oauth-api.js +130 -0
  15. package/dist/api/partner-v1-api.d.ts +96 -0
  16. package/dist/api/partner-v1-api.js +191 -0
  17. package/dist/api/partner-v1-legacy-api.d.ts +91 -0
  18. package/dist/api/partner-v1-legacy-api.js +181 -0
  19. package/dist/api/partner-v2-api.d.ts +136 -0
  20. package/dist/api/partner-v2-api.js +273 -0
  21. package/dist/api.d.ts +15 -0
  22. package/dist/api.js +33 -0
  23. package/dist/base.d.ts +42 -0
  24. package/dist/base.js +46 -0
  25. package/dist/common.d.ts +34 -0
  26. package/dist/common.js +139 -0
  27. package/dist/configuration.d.ts +98 -0
  28. package/dist/configuration.js +44 -0
  29. package/dist/esm/api/oauth-api.d.ts +68 -0
  30. package/dist/esm/api/oauth-api.js +123 -0
  31. package/dist/esm/api/partner-v1-api.d.ts +96 -0
  32. package/dist/esm/api/partner-v1-api.js +184 -0
  33. package/dist/esm/api/partner-v1-legacy-api.d.ts +91 -0
  34. package/dist/esm/api/partner-v1-legacy-api.js +174 -0
  35. package/dist/esm/api/partner-v2-api.d.ts +136 -0
  36. package/dist/esm/api/partner-v2-api.js +266 -0
  37. package/dist/esm/api.d.ts +15 -0
  38. package/dist/esm/api.js +17 -0
  39. package/dist/esm/base.d.ts +42 -0
  40. package/dist/esm/base.js +41 -0
  41. package/dist/esm/common.d.ts +34 -0
  42. package/dist/esm/common.js +126 -0
  43. package/dist/esm/configuration.d.ts +98 -0
  44. package/dist/esm/configuration.js +40 -0
  45. package/dist/esm/index.d.ts +14 -0
  46. package/dist/esm/index.js +16 -0
  47. package/dist/esm/models/award-registered-response-dto.d.ts +25 -0
  48. package/dist/esm/models/award-registered-response-dto.js +14 -0
  49. package/dist/esm/models/bid-bond-dto.d.ts +27 -0
  50. package/dist/esm/models/bid-bond-dto.js +18 -0
  51. package/dist/esm/models/bid-created-response-dto.d.ts +17 -0
  52. package/dist/esm/models/bid-created-response-dto.js +14 -0
  53. package/dist/esm/models/bid-document-dto.d.ts +25 -0
  54. package/dist/esm/models/bid-document-dto.js +14 -0
  55. package/dist/esm/models/bid-item-dto.d.ts +41 -0
  56. package/dist/esm/models/bid-item-dto.js +14 -0
  57. package/dist/esm/models/bid-manager-dto.d.ts +25 -0
  58. package/dist/esm/models/bid-manager-dto.js +14 -0
  59. package/dist/esm/models/bid-status.d.ts +23 -0
  60. package/dist/esm/models/bid-status.js +24 -0
  61. package/dist/esm/models/bid-summary-response-dto.d.ts +30 -0
  62. package/dist/esm/models/bid-summary-response-dto.js +14 -0
  63. package/dist/esm/models/create-bid-request-dto.d.ts +278 -0
  64. package/dist/esm/models/create-bid-request-dto.js +101 -0
  65. package/dist/esm/models/file-uploaded-response-dto.d.ts +17 -0
  66. package/dist/esm/models/file-uploaded-response-dto.js +14 -0
  67. package/dist/esm/models/health-response-dto.d.ts +21 -0
  68. package/dist/esm/models/health-response-dto.js +14 -0
  69. package/dist/esm/models/hierarchical-region-dto.d.ts +21 -0
  70. package/dist/esm/models/hierarchical-region-dto.js +14 -0
  71. package/dist/esm/models/index.d.ts +18 -0
  72. package/dist/esm/models/index.js +18 -0
  73. package/dist/esm/models/legacy-envelope-dto.d.ts +25 -0
  74. package/dist/esm/models/legacy-envelope-dto.js +14 -0
  75. package/dist/esm/models/preconditions-dto.d.ts +88 -0
  76. package/dist/esm/models/preconditions-dto.js +44 -0
  77. package/dist/esm/models/register-award-request-dto.d.ts +25 -0
  78. package/dist/esm/models/register-award-request-dto.js +14 -0
  79. package/dist/esm/models/token-request-dto.d.ts +33 -0
  80. package/dist/esm/models/token-request-dto.js +16 -0
  81. package/dist/esm/models/token-response-dto.d.ts +29 -0
  82. package/dist/esm/models/token-response-dto.js +14 -0
  83. package/dist/esm/models/upload-file-request-dto.d.ts +25 -0
  84. package/dist/esm/models/upload-file-request-dto.js +14 -0
  85. package/dist/index.d.ts +14 -0
  86. package/dist/index.js +32 -0
  87. package/dist/models/award-registered-response-dto.d.ts +25 -0
  88. package/dist/models/award-registered-response-dto.js +15 -0
  89. package/dist/models/bid-bond-dto.d.ts +27 -0
  90. package/dist/models/bid-bond-dto.js +21 -0
  91. package/dist/models/bid-created-response-dto.d.ts +17 -0
  92. package/dist/models/bid-created-response-dto.js +15 -0
  93. package/dist/models/bid-document-dto.d.ts +25 -0
  94. package/dist/models/bid-document-dto.js +15 -0
  95. package/dist/models/bid-item-dto.d.ts +41 -0
  96. package/dist/models/bid-item-dto.js +15 -0
  97. package/dist/models/bid-manager-dto.d.ts +25 -0
  98. package/dist/models/bid-manager-dto.js +15 -0
  99. package/dist/models/bid-status.d.ts +23 -0
  100. package/dist/models/bid-status.js +27 -0
  101. package/dist/models/bid-summary-response-dto.d.ts +30 -0
  102. package/dist/models/bid-summary-response-dto.js +15 -0
  103. package/dist/models/create-bid-request-dto.d.ts +278 -0
  104. package/dist/models/create-bid-request-dto.js +104 -0
  105. package/dist/models/file-uploaded-response-dto.d.ts +17 -0
  106. package/dist/models/file-uploaded-response-dto.js +15 -0
  107. package/dist/models/health-response-dto.d.ts +21 -0
  108. package/dist/models/health-response-dto.js +15 -0
  109. package/dist/models/hierarchical-region-dto.d.ts +21 -0
  110. package/dist/models/hierarchical-region-dto.js +15 -0
  111. package/dist/models/index.d.ts +18 -0
  112. package/dist/models/index.js +34 -0
  113. package/dist/models/legacy-envelope-dto.d.ts +25 -0
  114. package/dist/models/legacy-envelope-dto.js +15 -0
  115. package/dist/models/preconditions-dto.d.ts +88 -0
  116. package/dist/models/preconditions-dto.js +47 -0
  117. package/dist/models/register-award-request-dto.d.ts +25 -0
  118. package/dist/models/register-award-request-dto.js +15 -0
  119. package/dist/models/token-request-dto.d.ts +33 -0
  120. package/dist/models/token-request-dto.js +19 -0
  121. package/dist/models/token-response-dto.d.ts +29 -0
  122. package/dist/models/token-response-dto.js +15 -0
  123. package/dist/models/upload-file-request-dto.d.ts +25 -0
  124. package/dist/models/upload-file-request-dto.js +15 -0
  125. package/docs/AwardRegisteredResponseDto.md +24 -0
  126. package/docs/BidBondDto.md +22 -0
  127. package/docs/BidCreatedResponseDto.md +20 -0
  128. package/docs/BidDocumentDto.md +24 -0
  129. package/docs/BidItemDto.md +32 -0
  130. package/docs/BidManagerDto.md +24 -0
  131. package/docs/BidStatus.md +19 -0
  132. package/docs/BidSummaryResponseDto.md +26 -0
  133. package/docs/CreateBidRequestDto.md +96 -0
  134. package/docs/FileUploadedResponseDto.md +20 -0
  135. package/docs/HealthResponseDto.md +22 -0
  136. package/docs/HierarchicalRegionDto.md +22 -0
  137. package/docs/LegacyEnvelopeDto.md +24 -0
  138. package/docs/OauthApi.md +61 -0
  139. package/docs/PartnerV1Api.md +105 -0
  140. package/docs/PartnerV1LegacyApi.md +97 -0
  141. package/docs/PartnerV2Api.md +166 -0
  142. package/docs/PreconditionsDto.md +38 -0
  143. package/docs/RegisterAwardRequestDto.md +24 -0
  144. package/docs/TokenRequestDto.md +26 -0
  145. package/docs/TokenResponseDto.md +26 -0
  146. package/docs/UploadFileRequestDto.md +24 -0
  147. package/git_push.sh +57 -0
  148. package/index.ts +18 -0
  149. package/models/award-registered-response-dto.ts +31 -0
  150. package/models/bid-bond-dto.ts +36 -0
  151. package/models/bid-created-response-dto.ts +23 -0
  152. package/models/bid-document-dto.ts +31 -0
  153. package/models/bid-item-dto.ts +47 -0
  154. package/models/bid-manager-dto.ts +31 -0
  155. package/models/bid-status.ts +33 -0
  156. package/models/bid-summary-response-dto.ts +40 -0
  157. package/models/create-bid-request-dto.ts +312 -0
  158. package/models/file-uploaded-response-dto.ts +23 -0
  159. package/models/health-response-dto.ts +27 -0
  160. package/models/hierarchical-region-dto.ts +27 -0
  161. package/models/index.ts +18 -0
  162. package/models/legacy-envelope-dto.ts +31 -0
  163. package/models/preconditions-dto.ts +101 -0
  164. package/models/register-award-request-dto.ts +31 -0
  165. package/models/token-request-dto.ts +42 -0
  166. package/models/token-response-dto.ts +35 -0
  167. package/models/upload-file-request-dto.ts +31 -0
  168. package/package.json +33 -0
  169. package/tsconfig.esm.json +7 -0
  170. package/tsconfig.json +18 -0
@@ -0,0 +1,278 @@
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 { BidDocumentDto } from './bid-document-dto';
13
+ import type { BidItemDto } from './bid-item-dto';
14
+ import type { BidManagerDto } from './bid-manager-dto';
15
+ import type { HierarchicalRegionDto } from './hierarchical-region-dto';
16
+ import type { PreconditionsDto } from './preconditions-dto';
17
+ export interface CreateBidRequestDto {
18
+ /**
19
+ * 공고 명의 회원 ID(b2b_member.member_id). 한 파트너 키가 그룹 내 여러 회원 명의로 등록(멀티테넌트).
20
+ */
21
+ 'buyerId': string;
22
+ /**
23
+ * 공고 카테고리 (PRODUCT: 물품, CONSTRUCTION: 공사, SERVICE: 용역, SALES: 매각). backend BidCategoryType mirror.
24
+ */
25
+ 'categoryType'?: CreateBidRequestDtoCategoryTypeEnum;
26
+ /**
27
+ * 공고명.
28
+ */
29
+ 'projectName': string;
30
+ /**
31
+ * 공고 상세 내용.
32
+ */
33
+ 'noticeContent': string;
34
+ /**
35
+ * 예정금액(예산) 공개 여부.
36
+ */
37
+ 'disclosePlannedAmount': boolean;
38
+ /**
39
+ * 첨부파일 fileKey 배열 (POST /v2/files 응답에서 받은 32자 키). backend b2b_file_info 참조.
40
+ */
41
+ 'attachments'?: Array<string>;
42
+ /**
43
+ * 품목 목록(1개 이상).
44
+ */
45
+ 'items': Array<BidItemDto>;
46
+ /**
47
+ * 총 예산금액(원). items 합계 대신 별도 totalBudget 으로 override 할 때 사용.
48
+ */
49
+ 'totalBudget'?: number;
50
+ /**
51
+ * 낙찰 방법. A=최저가, B=적정가, C=최고가, D=최다수량, E=협상(임의), F=제한적최저가, H=협상(자동계산). backend AwardMethod mirror.
52
+ */
53
+ 'awardMethod'?: CreateBidRequestDtoAwardMethodEnum;
54
+ /**
55
+ * 견적서 제출 조건. UNIT_AUTO=자동생성(단가), TOTAL_AUTO=자동생성(총액), FILE=직접첨부, NONE=미제출. backend BidQuoteCondition mirror.
56
+ */
57
+ 'quoteCondition'?: CreateBidRequestDtoQuoteConditionEnum;
58
+ /**
59
+ * 예비가격 범위 (awardMethod=F 필수). A=±2%, B=±3%, C=±4%. backend BidPreliminaryPriceRegion mirror.
60
+ */
61
+ 'preliminaryPriceRegion'?: CreateBidRequestDtoPreliminaryPriceRegionEnum;
62
+ /**
63
+ * 예비가격 선택수 (awardMethod=F 필수). 2/3/4 중 하나.
64
+ */
65
+ 'preliminaryPriceCount'?: CreateBidRequestDtoPreliminaryPriceCountEnum;
66
+ /**
67
+ * 낙찰하한율(%) (awardMethod=F 필수). 0-100 범위.
68
+ */
69
+ 'lowestBidPercent'?: number;
70
+ /**
71
+ * 배정비율(가격:기술 배점) (awardMethod=H 필수). 0=100:0 / 10=90:10 / 20=80:20 / 30=70:30 / 40=60:40 / 50=50:50.
72
+ */
73
+ 'negotiationBidRatio'?: CreateBidRequestDtoNegotiationBidRatioEnum;
74
+ /**
75
+ * 협상 기준 (awardMethod=H 필수). A=없음, B=차등점수제, C=원가절감적정성(→ negotiationStandardRatio 추가 필수), D=기타.
76
+ */
77
+ 'negotiationStandard'?: CreateBidRequestDtoNegotiationStandardEnum;
78
+ /**
79
+ * 기준금액비율 (negotiationStandard=C 필수). 60/70/80 중 하나.
80
+ */
81
+ 'negotiationStandardRatio'?: CreateBidRequestDtoNegotiationStandardRatioEnum;
82
+ /**
83
+ * 참가자격 유형. A=전국경쟁, C1=광역시도 지역제한, C2=시군구 지역제한. B(지명경쟁)는 nominee 목록 필드 추가 전까지 미지원. backend BidQualificationStyle mirror.
84
+ */
85
+ 'qualificationStyle'?: CreateBidRequestDtoQualificationStyleEnum;
86
+ /**
87
+ * 지역제한 지역 목록 (qualificationStyle=C1/C2 시 사용).
88
+ */
89
+ 'selectedRegions'?: Array<HierarchicalRegionDto>;
90
+ /**
91
+ * 면허 코드 목록.
92
+ */
93
+ 'licenses'?: Array<string>;
94
+ /**
95
+ * 필수 면허 코드 목록.
96
+ */
97
+ 'requiredLicenses'?: Array<string>;
98
+ /**
99
+ * 자격조건 추가 기입 (최대 1000자).
100
+ */
101
+ 'preconditionDesc'?: string;
102
+ /**
103
+ * precondition 구조체. V5 precondition 토큰 트리를 modern 명으로 표현. ACL이 backend conditions bag 으로 변환.
104
+ */
105
+ 'preconditions'?: PreconditionsDto;
106
+ /**
107
+ * 납품기한 유형. A=직접설정(deliveryDate 필요), B=계약후지정(deliveryPeriodDays 필요), C=계약후협의. backend BidDeliveryDateType mirror.
108
+ */
109
+ 'deliveryDateType'?: CreateBidRequestDtoDeliveryDateTypeEnum;
110
+ /**
111
+ * 납품기한 일자 (deliveryDateType=A 시 사용). 형식: YYYY-MM-DD.
112
+ */
113
+ 'deliveryDate'?: string;
114
+ /**
115
+ * 납품소요일(일) (deliveryDateType=B 시 사용). 최대 999일(backend deliveryDays 3자리 제한).
116
+ */
117
+ 'deliveryPeriodDays'?: number;
118
+ /**
119
+ * 납품 방법. A=택배(직납가능), B=직접납품, C=납품및설치, D=픽업. backend BidDeliveryMethod mirror.
120
+ */
121
+ 'deliveryMethod'?: CreateBidRequestDtoDeliveryMethodEnum;
122
+ /**
123
+ * 납품지 주소.
124
+ */
125
+ 'deliveryAddress': string;
126
+ /**
127
+ * 결제 방법. A=현금, B=카드. backend BidPaymentMethod mirror.
128
+ */
129
+ 'paymentMethod'?: CreateBidRequestDtoPaymentMethodEnum;
130
+ /**
131
+ * 대금지급 기한(일).
132
+ */
133
+ 'paymentDays': string;
134
+ /**
135
+ * 제출 서류 목록(1개 이상).
136
+ */
137
+ 'documents': Array<BidDocumentDto>;
138
+ /**
139
+ * 과세 유형. A=과세, B=면세, C=면세(의제매입). backend BidTaxationType mirror.
140
+ */
141
+ 'taxationType'?: CreateBidRequestDtoTaxationTypeEnum;
142
+ /**
143
+ * 수의계약 여부. Y=수의계약, N=일반.
144
+ */
145
+ 'isOptionalContract'?: CreateBidRequestDtoIsOptionalContractEnum;
146
+ /**
147
+ * 연간계약 여부. Y=연간계약, N=일반. (backend 갭1: annual_contract)
148
+ */
149
+ 'isAnnualContract'?: CreateBidRequestDtoIsAnnualContractEnum;
150
+ /**
151
+ * 결과 공개 여부. Y=공개, N=비공개.
152
+ */
153
+ 'isResultPublished'?: CreateBidRequestDtoIsResultPublishedEnum;
154
+ /**
155
+ * 계약 담당자.
156
+ */
157
+ 'contractManager': BidManagerDto;
158
+ /**
159
+ * 기술 담당자.
160
+ */
161
+ 'techManager': BidManagerDto;
162
+ /**
163
+ * 입찰 시작 일시(ISO-8601 UTC).
164
+ */
165
+ 'bidStartAt': string;
166
+ /**
167
+ * 입찰 마감 일시(ISO-8601 UTC).
168
+ */
169
+ 'bidEndAt': string;
170
+ /**
171
+ * 임시저장 여부. true=임시저장(b2b_buy_imsi), false/undefined=공식등록(b2b_buy).
172
+ */
173
+ 'isTemp'?: boolean;
174
+ }
175
+ export declare const CreateBidRequestDtoCategoryTypeEnum: {
176
+ readonly Product: "PRODUCT";
177
+ readonly Construction: "CONSTRUCTION";
178
+ readonly Service: "SERVICE";
179
+ readonly Sales: "SALES";
180
+ };
181
+ export type CreateBidRequestDtoCategoryTypeEnum = typeof CreateBidRequestDtoCategoryTypeEnum[keyof typeof CreateBidRequestDtoCategoryTypeEnum];
182
+ export declare const CreateBidRequestDtoAwardMethodEnum: {
183
+ readonly A: "A";
184
+ readonly B: "B";
185
+ readonly C: "C";
186
+ readonly D: "D";
187
+ readonly E: "E";
188
+ readonly F: "F";
189
+ readonly H: "H";
190
+ };
191
+ export type CreateBidRequestDtoAwardMethodEnum = typeof CreateBidRequestDtoAwardMethodEnum[keyof typeof CreateBidRequestDtoAwardMethodEnum];
192
+ export declare const CreateBidRequestDtoQuoteConditionEnum: {
193
+ readonly UnitAuto: "UNIT_AUTO";
194
+ readonly TotalAuto: "TOTAL_AUTO";
195
+ readonly File: "FILE";
196
+ readonly None: "NONE";
197
+ };
198
+ export type CreateBidRequestDtoQuoteConditionEnum = typeof CreateBidRequestDtoQuoteConditionEnum[keyof typeof CreateBidRequestDtoQuoteConditionEnum];
199
+ export declare const CreateBidRequestDtoPreliminaryPriceRegionEnum: {
200
+ readonly A: "A";
201
+ readonly B: "B";
202
+ readonly C: "C";
203
+ };
204
+ export type CreateBidRequestDtoPreliminaryPriceRegionEnum = typeof CreateBidRequestDtoPreliminaryPriceRegionEnum[keyof typeof CreateBidRequestDtoPreliminaryPriceRegionEnum];
205
+ export declare const CreateBidRequestDtoPreliminaryPriceCountEnum: {
206
+ readonly NUMBER_2: 2;
207
+ readonly NUMBER_3: 3;
208
+ readonly NUMBER_4: 4;
209
+ };
210
+ export type CreateBidRequestDtoPreliminaryPriceCountEnum = typeof CreateBidRequestDtoPreliminaryPriceCountEnum[keyof typeof CreateBidRequestDtoPreliminaryPriceCountEnum];
211
+ export declare const CreateBidRequestDtoNegotiationBidRatioEnum: {
212
+ readonly NUMBER_0: 0;
213
+ readonly NUMBER_10: 10;
214
+ readonly NUMBER_20: 20;
215
+ readonly NUMBER_30: 30;
216
+ readonly NUMBER_40: 40;
217
+ readonly NUMBER_50: 50;
218
+ };
219
+ export type CreateBidRequestDtoNegotiationBidRatioEnum = typeof CreateBidRequestDtoNegotiationBidRatioEnum[keyof typeof CreateBidRequestDtoNegotiationBidRatioEnum];
220
+ export declare const CreateBidRequestDtoNegotiationStandardEnum: {
221
+ readonly A: "A";
222
+ readonly B: "B";
223
+ readonly C: "C";
224
+ readonly D: "D";
225
+ };
226
+ export type CreateBidRequestDtoNegotiationStandardEnum = typeof CreateBidRequestDtoNegotiationStandardEnum[keyof typeof CreateBidRequestDtoNegotiationStandardEnum];
227
+ export declare const CreateBidRequestDtoNegotiationStandardRatioEnum: {
228
+ readonly NUMBER_60: 60;
229
+ readonly NUMBER_70: 70;
230
+ readonly NUMBER_80: 80;
231
+ };
232
+ export type CreateBidRequestDtoNegotiationStandardRatioEnum = typeof CreateBidRequestDtoNegotiationStandardRatioEnum[keyof typeof CreateBidRequestDtoNegotiationStandardRatioEnum];
233
+ export declare const CreateBidRequestDtoQualificationStyleEnum: {
234
+ readonly A: "A";
235
+ readonly B: "B";
236
+ readonly C1: "C1";
237
+ readonly C2: "C2";
238
+ };
239
+ export type CreateBidRequestDtoQualificationStyleEnum = typeof CreateBidRequestDtoQualificationStyleEnum[keyof typeof CreateBidRequestDtoQualificationStyleEnum];
240
+ export declare const CreateBidRequestDtoDeliveryDateTypeEnum: {
241
+ readonly A: "A";
242
+ readonly B: "B";
243
+ readonly C: "C";
244
+ };
245
+ export type CreateBidRequestDtoDeliveryDateTypeEnum = typeof CreateBidRequestDtoDeliveryDateTypeEnum[keyof typeof CreateBidRequestDtoDeliveryDateTypeEnum];
246
+ export declare const CreateBidRequestDtoDeliveryMethodEnum: {
247
+ readonly A: "A";
248
+ readonly B: "B";
249
+ readonly C: "C";
250
+ readonly D: "D";
251
+ };
252
+ export type CreateBidRequestDtoDeliveryMethodEnum = typeof CreateBidRequestDtoDeliveryMethodEnum[keyof typeof CreateBidRequestDtoDeliveryMethodEnum];
253
+ export declare const CreateBidRequestDtoPaymentMethodEnum: {
254
+ readonly A: "A";
255
+ readonly B: "B";
256
+ };
257
+ export type CreateBidRequestDtoPaymentMethodEnum = typeof CreateBidRequestDtoPaymentMethodEnum[keyof typeof CreateBidRequestDtoPaymentMethodEnum];
258
+ export declare const CreateBidRequestDtoTaxationTypeEnum: {
259
+ readonly A: "A";
260
+ readonly B: "B";
261
+ readonly C: "C";
262
+ };
263
+ export type CreateBidRequestDtoTaxationTypeEnum = typeof CreateBidRequestDtoTaxationTypeEnum[keyof typeof CreateBidRequestDtoTaxationTypeEnum];
264
+ export declare const CreateBidRequestDtoIsOptionalContractEnum: {
265
+ readonly Y: "Y";
266
+ readonly N: "N";
267
+ };
268
+ export type CreateBidRequestDtoIsOptionalContractEnum = typeof CreateBidRequestDtoIsOptionalContractEnum[keyof typeof CreateBidRequestDtoIsOptionalContractEnum];
269
+ export declare const CreateBidRequestDtoIsAnnualContractEnum: {
270
+ readonly Y: "Y";
271
+ readonly N: "N";
272
+ };
273
+ export type CreateBidRequestDtoIsAnnualContractEnum = typeof CreateBidRequestDtoIsAnnualContractEnum[keyof typeof CreateBidRequestDtoIsAnnualContractEnum];
274
+ export declare const CreateBidRequestDtoIsResultPublishedEnum: {
275
+ readonly Y: "Y";
276
+ readonly N: "N";
277
+ };
278
+ export type CreateBidRequestDtoIsResultPublishedEnum = typeof CreateBidRequestDtoIsResultPublishedEnum[keyof typeof CreateBidRequestDtoIsResultPublishedEnum];
@@ -0,0 +1,101 @@
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
+ export const CreateBidRequestDtoCategoryTypeEnum = {
15
+ Product: 'PRODUCT',
16
+ Construction: 'CONSTRUCTION',
17
+ Service: 'SERVICE',
18
+ Sales: 'SALES',
19
+ };
20
+ export const CreateBidRequestDtoAwardMethodEnum = {
21
+ A: 'A',
22
+ B: 'B',
23
+ C: 'C',
24
+ D: 'D',
25
+ E: 'E',
26
+ F: 'F',
27
+ H: 'H',
28
+ };
29
+ export const CreateBidRequestDtoQuoteConditionEnum = {
30
+ UnitAuto: 'UNIT_AUTO',
31
+ TotalAuto: 'TOTAL_AUTO',
32
+ File: 'FILE',
33
+ None: 'NONE',
34
+ };
35
+ export const CreateBidRequestDtoPreliminaryPriceRegionEnum = {
36
+ A: 'A',
37
+ B: 'B',
38
+ C: 'C',
39
+ };
40
+ export const CreateBidRequestDtoPreliminaryPriceCountEnum = {
41
+ NUMBER_2: 2,
42
+ NUMBER_3: 3,
43
+ NUMBER_4: 4,
44
+ };
45
+ export const CreateBidRequestDtoNegotiationBidRatioEnum = {
46
+ NUMBER_0: 0,
47
+ NUMBER_10: 10,
48
+ NUMBER_20: 20,
49
+ NUMBER_30: 30,
50
+ NUMBER_40: 40,
51
+ NUMBER_50: 50,
52
+ };
53
+ export const CreateBidRequestDtoNegotiationStandardEnum = {
54
+ A: 'A',
55
+ B: 'B',
56
+ C: 'C',
57
+ D: 'D',
58
+ };
59
+ export const CreateBidRequestDtoNegotiationStandardRatioEnum = {
60
+ NUMBER_60: 60,
61
+ NUMBER_70: 70,
62
+ NUMBER_80: 80,
63
+ };
64
+ export const CreateBidRequestDtoQualificationStyleEnum = {
65
+ A: 'A',
66
+ B: 'B',
67
+ C1: 'C1',
68
+ C2: 'C2',
69
+ };
70
+ export const CreateBidRequestDtoDeliveryDateTypeEnum = {
71
+ A: 'A',
72
+ B: 'B',
73
+ C: 'C',
74
+ };
75
+ export const CreateBidRequestDtoDeliveryMethodEnum = {
76
+ A: 'A',
77
+ B: 'B',
78
+ C: 'C',
79
+ D: 'D',
80
+ };
81
+ export const CreateBidRequestDtoPaymentMethodEnum = {
82
+ A: 'A',
83
+ B: 'B',
84
+ };
85
+ export const CreateBidRequestDtoTaxationTypeEnum = {
86
+ A: 'A',
87
+ B: 'B',
88
+ C: 'C',
89
+ };
90
+ export const CreateBidRequestDtoIsOptionalContractEnum = {
91
+ Y: 'Y',
92
+ N: 'N',
93
+ };
94
+ export const CreateBidRequestDtoIsAnnualContractEnum = {
95
+ Y: 'Y',
96
+ N: 'N',
97
+ };
98
+ export const CreateBidRequestDtoIsResultPublishedEnum = {
99
+ Y: 'Y',
100
+ N: 'N',
101
+ };
@@ -0,0 +1,17 @@
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
+ export interface FileUploadedResponseDto {
13
+ /**
14
+ * 업로드된 파일의 저장소 키. 이후 입찰 등록 등에 사용.
15
+ */
16
+ 'fileKey': string;
17
+ }
@@ -0,0 +1,14 @@
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
+ export {};
@@ -0,0 +1,21 @@
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
+ export interface HealthResponseDto {
13
+ /**
14
+ * 상태 코드. ok 면 정상.
15
+ */
16
+ 'status': string;
17
+ /**
18
+ * 서버 현재 시각 (ISO 8601). 클라이언트가 시계 드리프트 점검에 사용.
19
+ */
20
+ 'timestamp': string;
21
+ }
@@ -0,0 +1,14 @@
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
+ export {};
@@ -0,0 +1,21 @@
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
+ export interface HierarchicalRegionDto {
13
+ /**
14
+ * 광역시도명.
15
+ */
16
+ 'province': string;
17
+ /**
18
+ * 시군구 목록 (빈 배열 = 광역시도 전체).
19
+ */
20
+ 'districts': Array<string>;
21
+ }
@@ -0,0 +1,14 @@
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
+ export {};
@@ -0,0 +1,18 @@
1
+ export * from './award-registered-response-dto';
2
+ export * from './bid-bond-dto';
3
+ export * from './bid-created-response-dto';
4
+ export * from './bid-document-dto';
5
+ export * from './bid-item-dto';
6
+ export * from './bid-manager-dto';
7
+ export * from './bid-status';
8
+ export * from './bid-summary-response-dto';
9
+ export * from './create-bid-request-dto';
10
+ export * from './file-uploaded-response-dto';
11
+ export * from './health-response-dto';
12
+ export * from './hierarchical-region-dto';
13
+ export * from './legacy-envelope-dto';
14
+ export * from './preconditions-dto';
15
+ export * from './register-award-request-dto';
16
+ export * from './token-request-dto';
17
+ export * from './token-response-dto';
18
+ export * from './upload-file-request-dto';
@@ -0,0 +1,18 @@
1
+ export * from './award-registered-response-dto';
2
+ export * from './bid-bond-dto';
3
+ export * from './bid-created-response-dto';
4
+ export * from './bid-document-dto';
5
+ export * from './bid-item-dto';
6
+ export * from './bid-manager-dto';
7
+ export * from './bid-status';
8
+ export * from './bid-summary-response-dto';
9
+ export * from './create-bid-request-dto';
10
+ export * from './file-uploaded-response-dto';
11
+ export * from './health-response-dto';
12
+ export * from './hierarchical-region-dto';
13
+ export * from './legacy-envelope-dto';
14
+ export * from './preconditions-dto';
15
+ export * from './register-award-request-dto';
16
+ export * from './token-request-dto';
17
+ export * from './token-response-dto';
18
+ export * from './upload-file-request-dto';
@@ -0,0 +1,25 @@
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
+ export interface LegacyEnvelopeDto {
13
+ /**
14
+ * V5 응답 상태 (success / failure_secret / failure)
15
+ */
16
+ 'status': string;
17
+ /**
18
+ * V5 결과 코드 (정상 = 0000)
19
+ */
20
+ 'resultCode': string;
21
+ /**
22
+ * V5 응답 본문 (엔드포인트마다 형태가 다름)
23
+ */
24
+ 'data': object;
25
+ }
@@ -0,0 +1,14 @@
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
+ export {};
@@ -0,0 +1,88 @@
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 { BidBondDto } from './bid-bond-dto';
13
+ export interface PreconditionsDto {
14
+ /**
15
+ * 입찰보증금 설정 (A 토큰 계열).
16
+ */
17
+ 'bidBond'?: BidBondDto;
18
+ /**
19
+ * B: 사업자등록증 납부 관련업체.
20
+ */
21
+ 'businessRegistered'?: boolean;
22
+ /**
23
+ * C: 총판/대리점.
24
+ */
25
+ 'distributor'?: boolean;
26
+ /**
27
+ * D: 제조사.
28
+ */
29
+ 'manufacturer'?: boolean;
30
+ /**
31
+ * E: 직접생산확인증명.
32
+ */
33
+ 'directProduction'?: boolean;
34
+ /**
35
+ * 법적의무구매(XX 우산). I/J/K/L/O1/O2/O3
36
+ */
37
+ 'legalMandatory'?: Array<PreconditionsDtoLegalMandatoryEnum>;
38
+ /**
39
+ * 기술개발제품(XX 우산). P0/P101-P113
40
+ */
41
+ 'excellentProcurement'?: Array<PreconditionsDtoExcellentProcurementEnum>;
42
+ /**
43
+ * 녹색제품(XX 우산). Q0/Q101/Q102/Q103
44
+ */
45
+ 'greenProduct'?: Array<PreconditionsDtoGreenProductEnum>;
46
+ /**
47
+ * R: 창업기업 (XX 우산).
48
+ */
49
+ 'startup'?: boolean;
50
+ /**
51
+ * S: 사회적기업 (XX 우산).
52
+ */
53
+ 'social'?: boolean;
54
+ }
55
+ export declare const PreconditionsDtoLegalMandatoryEnum: {
56
+ readonly I: "I";
57
+ readonly J: "J";
58
+ readonly K: "K";
59
+ readonly L: "L";
60
+ readonly O1: "O1";
61
+ readonly O2: "O2";
62
+ readonly O3: "O3";
63
+ };
64
+ export type PreconditionsDtoLegalMandatoryEnum = typeof PreconditionsDtoLegalMandatoryEnum[keyof typeof PreconditionsDtoLegalMandatoryEnum];
65
+ export declare const PreconditionsDtoExcellentProcurementEnum: {
66
+ readonly P0: "P0";
67
+ readonly P101: "P101";
68
+ readonly P102: "P102";
69
+ readonly P103: "P103";
70
+ readonly P104: "P104";
71
+ readonly P105: "P105";
72
+ readonly P106: "P106";
73
+ readonly P107: "P107";
74
+ readonly P108: "P108";
75
+ readonly P109: "P109";
76
+ readonly P110: "P110";
77
+ readonly P111: "P111";
78
+ readonly P112: "P112";
79
+ readonly P113: "P113";
80
+ };
81
+ export type PreconditionsDtoExcellentProcurementEnum = typeof PreconditionsDtoExcellentProcurementEnum[keyof typeof PreconditionsDtoExcellentProcurementEnum];
82
+ export declare const PreconditionsDtoGreenProductEnum: {
83
+ readonly Q0: "Q0";
84
+ readonly Q101: "Q101";
85
+ readonly Q102: "Q102";
86
+ readonly Q103: "Q103";
87
+ };
88
+ export type PreconditionsDtoGreenProductEnum = typeof PreconditionsDtoGreenProductEnum[keyof typeof PreconditionsDtoGreenProductEnum];