@things-factory/tax-invoice 6.2.84

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 (151) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/assets/images/hatiolab-logo.png +0 -0
  3. package/client/bootstrap.ts +0 -0
  4. package/client/index.ts +0 -0
  5. package/client/pages/main.ts +25 -0
  6. package/client/pages/tax-audit-result/tax-audit-result-importer.ts +97 -0
  7. package/client/pages/tax-audit-result/tax-audit-result-list-page.ts +355 -0
  8. package/client/pages/tax-invoice/tax-invoice-detail-popup.ts +424 -0
  9. package/client/pages/tax-invoice/tax-invoice-list-page.ts +517 -0
  10. package/client/pages/tax-invoice-api/tax-invoice-api-page.ts +428 -0
  11. package/client/pages/tax-invoice-company/tax-invoice-company-importer.ts +175 -0
  12. package/client/pages/tax-invoice-company/tax-invoice-company-list-page.ts +496 -0
  13. package/client/route.ts +23 -0
  14. package/client/tsconfig.json +11 -0
  15. package/dist-client/bootstrap.d.ts +0 -0
  16. package/dist-client/bootstrap.js +2 -0
  17. package/dist-client/bootstrap.js.map +1 -0
  18. package/dist-client/index.d.ts +0 -0
  19. package/dist-client/index.js +2 -0
  20. package/dist-client/index.js.map +1 -0
  21. package/dist-client/pages/main.d.ts +1 -0
  22. package/dist-client/pages/main.js +27 -0
  23. package/dist-client/pages/main.js.map +1 -0
  24. package/dist-client/pages/tax-audit-result/tax-audit-result-importer.d.ts +22 -0
  25. package/dist-client/pages/tax-audit-result/tax-audit-result-importer.js +100 -0
  26. package/dist-client/pages/tax-audit-result/tax-audit-result-importer.js.map +1 -0
  27. package/dist-client/pages/tax-audit-result/tax-audit-result-list-page.d.ts +62 -0
  28. package/dist-client/pages/tax-audit-result/tax-audit-result-list-page.js +331 -0
  29. package/dist-client/pages/tax-audit-result/tax-audit-result-list-page.js.map +1 -0
  30. package/dist-client/pages/tax-invoice/tax-invoice-detail-popup.d.ts +14 -0
  31. package/dist-client/pages/tax-invoice/tax-invoice-detail-popup.js +430 -0
  32. package/dist-client/pages/tax-invoice/tax-invoice-detail-popup.js.map +1 -0
  33. package/dist-client/pages/tax-invoice/tax-invoice-list-page.d.ts +70 -0
  34. package/dist-client/pages/tax-invoice/tax-invoice-list-page.js +500 -0
  35. package/dist-client/pages/tax-invoice/tax-invoice-list-page.js.map +1 -0
  36. package/dist-client/pages/tax-invoice-api/tax-invoice-api-page.d.ts +36 -0
  37. package/dist-client/pages/tax-invoice-api/tax-invoice-api-page.js +419 -0
  38. package/dist-client/pages/tax-invoice-api/tax-invoice-api-page.js.map +1 -0
  39. package/dist-client/pages/tax-invoice-company/tax-invoice-company-importer.d.ts +31 -0
  40. package/dist-client/pages/tax-invoice-company/tax-invoice-company-importer.js +182 -0
  41. package/dist-client/pages/tax-invoice-company/tax-invoice-company-importer.js.map +1 -0
  42. package/dist-client/pages/tax-invoice-company/tax-invoice-company-list-page.d.ts +57 -0
  43. package/dist-client/pages/tax-invoice-company/tax-invoice-company-list-page.js +477 -0
  44. package/dist-client/pages/tax-invoice-company/tax-invoice-company-list-page.js.map +1 -0
  45. package/dist-client/route.d.ts +1 -0
  46. package/dist-client/route.js +20 -0
  47. package/dist-client/route.js.map +1 -0
  48. package/dist-client/tsconfig.tsbuildinfo +1 -0
  49. package/dist-server/index.js +6 -0
  50. package/dist-server/index.js.map +1 -0
  51. package/dist-server/routes.js +25 -0
  52. package/dist-server/routes.js.map +1 -0
  53. package/dist-server/service/index.js +37 -0
  54. package/dist-server/service/index.js.map +1 -0
  55. package/dist-server/service/tax-audit-result/event-subscriber.js +21 -0
  56. package/dist-server/service/tax-audit-result/event-subscriber.js.map +1 -0
  57. package/dist-server/service/tax-audit-result/index.js +12 -0
  58. package/dist-server/service/tax-audit-result/index.js.map +1 -0
  59. package/dist-server/service/tax-audit-result/tax-audit-result-history.js +123 -0
  60. package/dist-server/service/tax-audit-result/tax-audit-result-history.js.map +1 -0
  61. package/dist-server/service/tax-audit-result/tax-audit-result-mutation.js +168 -0
  62. package/dist-server/service/tax-audit-result/tax-audit-result-mutation.js.map +1 -0
  63. package/dist-server/service/tax-audit-result/tax-audit-result-query.js +97 -0
  64. package/dist-server/service/tax-audit-result/tax-audit-result-query.js.map +1 -0
  65. package/dist-server/service/tax-audit-result/tax-audit-result-type.js +86 -0
  66. package/dist-server/service/tax-audit-result/tax-audit-result-type.js.map +1 -0
  67. package/dist-server/service/tax-audit-result/tax-audit-result.js +110 -0
  68. package/dist-server/service/tax-audit-result/tax-audit-result.js.map +1 -0
  69. package/dist-server/service/tax-invoice/index.js +9 -0
  70. package/dist-server/service/tax-invoice/index.js.map +1 -0
  71. package/dist-server/service/tax-invoice/tax-invoice-mutation.js +127 -0
  72. package/dist-server/service/tax-invoice/tax-invoice-mutation.js.map +1 -0
  73. package/dist-server/service/tax-invoice/tax-invoice-query.js +90 -0
  74. package/dist-server/service/tax-invoice/tax-invoice-query.js.map +1 -0
  75. package/dist-server/service/tax-invoice/tax-invoice-type.js +553 -0
  76. package/dist-server/service/tax-invoice/tax-invoice-type.js.map +1 -0
  77. package/dist-server/service/tax-invoice/tax-invoice.js +465 -0
  78. package/dist-server/service/tax-invoice/tax-invoice.js.map +1 -0
  79. package/dist-server/service/tax-invoice-api/index.js +9 -0
  80. package/dist-server/service/tax-invoice-api/index.js.map +1 -0
  81. package/dist-server/service/tax-invoice-api/tax-invoice-api-mutation.js +64 -0
  82. package/dist-server/service/tax-invoice-api/tax-invoice-api-mutation.js.map +1 -0
  83. package/dist-server/service/tax-invoice-api/tax-invoice-api-query.js +79 -0
  84. package/dist-server/service/tax-invoice-api/tax-invoice-api-query.js.map +1 -0
  85. package/dist-server/service/tax-invoice-api/tax-invoice-api-type.js +103 -0
  86. package/dist-server/service/tax-invoice-api/tax-invoice-api-type.js.map +1 -0
  87. package/dist-server/service/tax-invoice-api/tax-invoice-api.js +163 -0
  88. package/dist-server/service/tax-invoice-api/tax-invoice-api.js.map +1 -0
  89. package/dist-server/service/tax-invoice-company/index.js +9 -0
  90. package/dist-server/service/tax-invoice-company/index.js.map +1 -0
  91. package/dist-server/service/tax-invoice-company/tax-invoice-company-mutation.js +80 -0
  92. package/dist-server/service/tax-invoice-company/tax-invoice-company-mutation.js.map +1 -0
  93. package/dist-server/service/tax-invoice-company/tax-invoice-company-query.js +89 -0
  94. package/dist-server/service/tax-invoice-company/tax-invoice-company-query.js.map +1 -0
  95. package/dist-server/service/tax-invoice-company/tax-invoice-company-type.js +100 -0
  96. package/dist-server/service/tax-invoice-company/tax-invoice-company-type.js.map +1 -0
  97. package/dist-server/service/tax-invoice-company/tax-invoice-company.js +166 -0
  98. package/dist-server/service/tax-invoice-company/tax-invoice-company.js.map +1 -0
  99. package/dist-server/service/tax-invoice-item/index.js +9 -0
  100. package/dist-server/service/tax-invoice-item/index.js.map +1 -0
  101. package/dist-server/service/tax-invoice-item/tax-invoice-item-mutation.js +127 -0
  102. package/dist-server/service/tax-invoice-item/tax-invoice-item-mutation.js.map +1 -0
  103. package/dist-server/service/tax-invoice-item/tax-invoice-item-query.js +87 -0
  104. package/dist-server/service/tax-invoice-item/tax-invoice-item-query.js.map +1 -0
  105. package/dist-server/service/tax-invoice-item/tax-invoice-item-type.js +121 -0
  106. package/dist-server/service/tax-invoice-item/tax-invoice-item-type.js.map +1 -0
  107. package/dist-server/service/tax-invoice-item/tax-invoice-item.js +115 -0
  108. package/dist-server/service/tax-invoice-item/tax-invoice-item.js.map +1 -0
  109. package/dist-server/tsconfig.tsbuildinfo +1 -0
  110. package/helps/tax-invoice/tax-audit-result.md +160 -0
  111. package/helps/tax-invoice/tax-invoice-api.md +160 -0
  112. package/helps/tax-invoice/tax-invoice-send.md +160 -0
  113. package/helps/tax-invoice/tax-invoice.md +160 -0
  114. package/package.json +37 -0
  115. package/server/index.ts +2 -0
  116. package/server/routes.ts +28 -0
  117. package/server/service/index.ts +36 -0
  118. package/server/service/tax-audit-result/event-subscriber.ts +17 -0
  119. package/server/service/tax-audit-result/index.ts +9 -0
  120. package/server/service/tax-audit-result/tax-audit-result-history.ts +110 -0
  121. package/server/service/tax-audit-result/tax-audit-result-mutation.ts +198 -0
  122. package/server/service/tax-audit-result/tax-audit-result-query.ts +62 -0
  123. package/server/service/tax-audit-result/tax-audit-result-type.ts +61 -0
  124. package/server/service/tax-audit-result/tax-audit-result.ts +95 -0
  125. package/server/service/tax-invoice/index.ts +6 -0
  126. package/server/service/tax-invoice/tax-invoice-mutation.ts +122 -0
  127. package/server/service/tax-invoice/tax-invoice-query.ts +54 -0
  128. package/server/service/tax-invoice/tax-invoice-type.ts +411 -0
  129. package/server/service/tax-invoice/tax-invoice.ts +389 -0
  130. package/server/service/tax-invoice-api/index.ts +6 -0
  131. package/server/service/tax-invoice-api/tax-invoice-api-mutation.ts +67 -0
  132. package/server/service/tax-invoice-api/tax-invoice-api-query.ts +48 -0
  133. package/server/service/tax-invoice-api/tax-invoice-api-type.ts +71 -0
  134. package/server/service/tax-invoice-api/tax-invoice-api.ts +137 -0
  135. package/server/service/tax-invoice-company/index.ts +6 -0
  136. package/server/service/tax-invoice-company/tax-invoice-company-mutation.ts +84 -0
  137. package/server/service/tax-invoice-company/tax-invoice-company-query.ts +53 -0
  138. package/server/service/tax-invoice-company/tax-invoice-company-type.ts +69 -0
  139. package/server/service/tax-invoice-company/tax-invoice-company.ts +142 -0
  140. package/server/service/tax-invoice-item/index.ts +6 -0
  141. package/server/service/tax-invoice-item/tax-invoice-item-mutation.ts +128 -0
  142. package/server/service/tax-invoice-item/tax-invoice-item-query.ts +57 -0
  143. package/server/service/tax-invoice-item/tax-invoice-item-type.ts +86 -0
  144. package/server/service/tax-invoice-item/tax-invoice-item.ts +85 -0
  145. package/server/tsconfig.json +10 -0
  146. package/things-factory.config.js +23 -0
  147. package/translations/en.json +1 -0
  148. package/translations/ja.json +1 -0
  149. package/translations/ko.json +71 -0
  150. package/translations/ms.json +1 -0
  151. package/translations/zh.json +1 -0
@@ -0,0 +1,553 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.TaxInvoiceList = exports.TaxInvoicePatch = exports.NewTaxInvoice = void 0;
4
+ const tslib_1 = require("tslib");
5
+ const type_graphql_1 = require("type-graphql");
6
+ const tax_invoice_1 = require("./tax-invoice");
7
+ let NewTaxInvoice = class NewTaxInvoice {
8
+ };
9
+ tslib_1.__decorate([
10
+ (0, type_graphql_1.Field)({ nullable: true }),
11
+ tslib_1.__metadata("design:type", String)
12
+ ], NewTaxInvoice.prototype, "name", void 0);
13
+ tslib_1.__decorate([
14
+ (0, type_graphql_1.Field)({ nullable: true }),
15
+ tslib_1.__metadata("design:type", String)
16
+ ], NewTaxInvoice.prototype, "apiRefId", void 0);
17
+ tslib_1.__decorate([
18
+ (0, type_graphql_1.Field)({ nullable: false }),
19
+ tslib_1.__metadata("design:type", String)
20
+ ], NewTaxInvoice.prototype, "category", void 0);
21
+ tslib_1.__decorate([
22
+ (0, type_graphql_1.Field)({ nullable: true }),
23
+ tslib_1.__metadata("design:type", String)
24
+ ], NewTaxInvoice.prototype, "approvalNo", void 0);
25
+ tslib_1.__decorate([
26
+ (0, type_graphql_1.Field)({ nullable: true }),
27
+ tslib_1.__metadata("design:type", String)
28
+ ], NewTaxInvoice.prototype, "originalApprovalNo", void 0);
29
+ tslib_1.__decorate([
30
+ (0, type_graphql_1.Field)({ nullable: false }),
31
+ tslib_1.__metadata("design:type", String)
32
+ ], NewTaxInvoice.prototype, "issueDate", void 0);
33
+ tslib_1.__decorate([
34
+ (0, type_graphql_1.Field)({ nullable: true }),
35
+ tslib_1.__metadata("design:type", String)
36
+ ], NewTaxInvoice.prototype, "signatureDate", void 0);
37
+ tslib_1.__decorate([
38
+ (0, type_graphql_1.Field)({ nullable: false }),
39
+ tslib_1.__metadata("design:type", String)
40
+ ], NewTaxInvoice.prototype, "invoiceType", void 0);
41
+ tslib_1.__decorate([
42
+ (0, type_graphql_1.Field)({ nullable: false }),
43
+ tslib_1.__metadata("design:type", String)
44
+ ], NewTaxInvoice.prototype, "purpose", void 0);
45
+ tslib_1.__decorate([
46
+ (0, type_graphql_1.Field)({ nullable: true }),
47
+ tslib_1.__metadata("design:type", String)
48
+ ], NewTaxInvoice.prototype, "revisedReason", void 0);
49
+ tslib_1.__decorate([
50
+ (0, type_graphql_1.Field)({ nullable: true }),
51
+ tslib_1.__metadata("design:type", String)
52
+ ], NewTaxInvoice.prototype, "remark0", void 0);
53
+ tslib_1.__decorate([
54
+ (0, type_graphql_1.Field)({ nullable: true }),
55
+ tslib_1.__metadata("design:type", String)
56
+ ], NewTaxInvoice.prototype, "remark1", void 0);
57
+ tslib_1.__decorate([
58
+ (0, type_graphql_1.Field)({ nullable: true }),
59
+ tslib_1.__metadata("design:type", String)
60
+ ], NewTaxInvoice.prototype, "remark2", void 0);
61
+ tslib_1.__decorate([
62
+ (0, type_graphql_1.Field)({ nullable: false }),
63
+ tslib_1.__metadata("design:type", String)
64
+ ], NewTaxInvoice.prototype, "supplierBusinessRegistrationCategory", void 0);
65
+ tslib_1.__decorate([
66
+ (0, type_graphql_1.Field)({ nullable: false }),
67
+ tslib_1.__metadata("design:type", String)
68
+ ], NewTaxInvoice.prototype, "supplierBusinessRegistrationNumber", void 0);
69
+ tslib_1.__decorate([
70
+ (0, type_graphql_1.Field)({ nullable: true }),
71
+ tslib_1.__metadata("design:type", String)
72
+ ], NewTaxInvoice.prototype, "supplierBranchIdentification", void 0);
73
+ tslib_1.__decorate([
74
+ (0, type_graphql_1.Field)({ nullable: false }),
75
+ tslib_1.__metadata("design:type", String)
76
+ ], NewTaxInvoice.prototype, "supplierBusinessName", void 0);
77
+ tslib_1.__decorate([
78
+ (0, type_graphql_1.Field)({ nullable: false }),
79
+ tslib_1.__metadata("design:type", String)
80
+ ], NewTaxInvoice.prototype, "supplierRepresentativeName", void 0);
81
+ tslib_1.__decorate([
82
+ (0, type_graphql_1.Field)({ nullable: true }),
83
+ tslib_1.__metadata("design:type", String)
84
+ ], NewTaxInvoice.prototype, "supplierAddress", void 0);
85
+ tslib_1.__decorate([
86
+ (0, type_graphql_1.Field)({ nullable: true }),
87
+ tslib_1.__metadata("design:type", String)
88
+ ], NewTaxInvoice.prototype, "supplierBusinessType", void 0);
89
+ tslib_1.__decorate([
90
+ (0, type_graphql_1.Field)({ nullable: true }),
91
+ tslib_1.__metadata("design:type", String)
92
+ ], NewTaxInvoice.prototype, "supplierIndustryType", void 0);
93
+ tslib_1.__decorate([
94
+ (0, type_graphql_1.Field)({ nullable: true }),
95
+ tslib_1.__metadata("design:type", String)
96
+ ], NewTaxInvoice.prototype, "supplierDepartment", void 0);
97
+ tslib_1.__decorate([
98
+ (0, type_graphql_1.Field)({ nullable: true }),
99
+ tslib_1.__metadata("design:type", String)
100
+ ], NewTaxInvoice.prototype, "supplierContactName", void 0);
101
+ tslib_1.__decorate([
102
+ (0, type_graphql_1.Field)({ nullable: true }),
103
+ tslib_1.__metadata("design:type", String)
104
+ ], NewTaxInvoice.prototype, "supplierContactPhone", void 0);
105
+ tslib_1.__decorate([
106
+ (0, type_graphql_1.Field)({ nullable: true }),
107
+ tslib_1.__metadata("design:type", String)
108
+ ], NewTaxInvoice.prototype, "supplierContactEmail", void 0);
109
+ tslib_1.__decorate([
110
+ (0, type_graphql_1.Field)({ nullable: true }),
111
+ tslib_1.__metadata("design:type", String)
112
+ ], NewTaxInvoice.prototype, "supplierContactCellPhone", void 0);
113
+ tslib_1.__decorate([
114
+ (0, type_graphql_1.Field)({ nullable: false }),
115
+ tslib_1.__metadata("design:type", String)
116
+ ], NewTaxInvoice.prototype, "buyerBusinessRegistrationCategory", void 0);
117
+ tslib_1.__decorate([
118
+ (0, type_graphql_1.Field)({ nullable: false }),
119
+ tslib_1.__metadata("design:type", String)
120
+ ], NewTaxInvoice.prototype, "buyerBusinessRegistrationNumber", void 0);
121
+ tslib_1.__decorate([
122
+ (0, type_graphql_1.Field)({ nullable: true }),
123
+ tslib_1.__metadata("design:type", String)
124
+ ], NewTaxInvoice.prototype, "buyerBranchIdentification", void 0);
125
+ tslib_1.__decorate([
126
+ (0, type_graphql_1.Field)({ nullable: false }),
127
+ tslib_1.__metadata("design:type", String)
128
+ ], NewTaxInvoice.prototype, "buyerBusinessName", void 0);
129
+ tslib_1.__decorate([
130
+ (0, type_graphql_1.Field)({ nullable: false }),
131
+ tslib_1.__metadata("design:type", String)
132
+ ], NewTaxInvoice.prototype, "buyerRepresentativeName", void 0);
133
+ tslib_1.__decorate([
134
+ (0, type_graphql_1.Field)({ nullable: true }),
135
+ tslib_1.__metadata("design:type", String)
136
+ ], NewTaxInvoice.prototype, "buyerAddress", void 0);
137
+ tslib_1.__decorate([
138
+ (0, type_graphql_1.Field)({ nullable: true }),
139
+ tslib_1.__metadata("design:type", String)
140
+ ], NewTaxInvoice.prototype, "buyerBusinessType", void 0);
141
+ tslib_1.__decorate([
142
+ (0, type_graphql_1.Field)({ nullable: true }),
143
+ tslib_1.__metadata("design:type", String)
144
+ ], NewTaxInvoice.prototype, "buyerIndustryType", void 0);
145
+ tslib_1.__decorate([
146
+ (0, type_graphql_1.Field)({ nullable: true }),
147
+ tslib_1.__metadata("design:type", String)
148
+ ], NewTaxInvoice.prototype, "buyer1stDepartment", void 0);
149
+ tslib_1.__decorate([
150
+ (0, type_graphql_1.Field)({ nullable: true }),
151
+ tslib_1.__metadata("design:type", String)
152
+ ], NewTaxInvoice.prototype, "buyer1stContactName", void 0);
153
+ tslib_1.__decorate([
154
+ (0, type_graphql_1.Field)({ nullable: true }),
155
+ tslib_1.__metadata("design:type", String)
156
+ ], NewTaxInvoice.prototype, "buyer1stContactPhone", void 0);
157
+ tslib_1.__decorate([
158
+ (0, type_graphql_1.Field)({ nullable: true }),
159
+ tslib_1.__metadata("design:type", String)
160
+ ], NewTaxInvoice.prototype, "buyer1stContactEmail", void 0);
161
+ tslib_1.__decorate([
162
+ (0, type_graphql_1.Field)({ nullable: true }),
163
+ tslib_1.__metadata("design:type", String)
164
+ ], NewTaxInvoice.prototype, "buyer1stContactCellPhone", void 0);
165
+ tslib_1.__decorate([
166
+ (0, type_graphql_1.Field)({ nullable: true }),
167
+ tslib_1.__metadata("design:type", String)
168
+ ], NewTaxInvoice.prototype, "buyer2ndDepartment", void 0);
169
+ tslib_1.__decorate([
170
+ (0, type_graphql_1.Field)({ nullable: true }),
171
+ tslib_1.__metadata("design:type", String)
172
+ ], NewTaxInvoice.prototype, "buyer2ndContactName", void 0);
173
+ tslib_1.__decorate([
174
+ (0, type_graphql_1.Field)({ nullable: true }),
175
+ tslib_1.__metadata("design:type", String)
176
+ ], NewTaxInvoice.prototype, "buyer2ndContactPhone", void 0);
177
+ tslib_1.__decorate([
178
+ (0, type_graphql_1.Field)({ nullable: true }),
179
+ tslib_1.__metadata("design:type", String)
180
+ ], NewTaxInvoice.prototype, "buyer2ndContactEmail", void 0);
181
+ tslib_1.__decorate([
182
+ (0, type_graphql_1.Field)({ nullable: true }),
183
+ tslib_1.__metadata("design:type", String)
184
+ ], NewTaxInvoice.prototype, "buyer2ndContactCellPhone", void 0);
185
+ tslib_1.__decorate([
186
+ (0, type_graphql_1.Field)({ nullable: true }),
187
+ tslib_1.__metadata("design:type", String)
188
+ ], NewTaxInvoice.prototype, "agentBusinessRegistrationCategory", void 0);
189
+ tslib_1.__decorate([
190
+ (0, type_graphql_1.Field)({ nullable: true }),
191
+ tslib_1.__metadata("design:type", String)
192
+ ], NewTaxInvoice.prototype, "agentBusinessRegistrationNumber", void 0);
193
+ tslib_1.__decorate([
194
+ (0, type_graphql_1.Field)({ nullable: true }),
195
+ tslib_1.__metadata("design:type", String)
196
+ ], NewTaxInvoice.prototype, "agentBranchIdentification", void 0);
197
+ tslib_1.__decorate([
198
+ (0, type_graphql_1.Field)({ nullable: true }),
199
+ tslib_1.__metadata("design:type", String)
200
+ ], NewTaxInvoice.prototype, "agentBusinessName", void 0);
201
+ tslib_1.__decorate([
202
+ (0, type_graphql_1.Field)({ nullable: true }),
203
+ tslib_1.__metadata("design:type", String)
204
+ ], NewTaxInvoice.prototype, "agentRepresentativeName", void 0);
205
+ tslib_1.__decorate([
206
+ (0, type_graphql_1.Field)({ nullable: true }),
207
+ tslib_1.__metadata("design:type", String)
208
+ ], NewTaxInvoice.prototype, "agentAddress", void 0);
209
+ tslib_1.__decorate([
210
+ (0, type_graphql_1.Field)({ nullable: true }),
211
+ tslib_1.__metadata("design:type", String)
212
+ ], NewTaxInvoice.prototype, "agentBusinessType", void 0);
213
+ tslib_1.__decorate([
214
+ (0, type_graphql_1.Field)({ nullable: true }),
215
+ tslib_1.__metadata("design:type", String)
216
+ ], NewTaxInvoice.prototype, "agentIndustryType", void 0);
217
+ tslib_1.__decorate([
218
+ (0, type_graphql_1.Field)({ nullable: true }),
219
+ tslib_1.__metadata("design:type", String)
220
+ ], NewTaxInvoice.prototype, "agentDepartment", void 0);
221
+ tslib_1.__decorate([
222
+ (0, type_graphql_1.Field)({ nullable: true }),
223
+ tslib_1.__metadata("design:type", String)
224
+ ], NewTaxInvoice.prototype, "agentContactName", void 0);
225
+ tslib_1.__decorate([
226
+ (0, type_graphql_1.Field)({ nullable: true }),
227
+ tslib_1.__metadata("design:type", String)
228
+ ], NewTaxInvoice.prototype, "agentContactPhone", void 0);
229
+ tslib_1.__decorate([
230
+ (0, type_graphql_1.Field)({ nullable: true }),
231
+ tslib_1.__metadata("design:type", String)
232
+ ], NewTaxInvoice.prototype, "agentContactEmail", void 0);
233
+ tslib_1.__decorate([
234
+ (0, type_graphql_1.Field)({ nullable: true }),
235
+ tslib_1.__metadata("design:type", String)
236
+ ], NewTaxInvoice.prototype, "agentContactCellPhone", void 0);
237
+ tslib_1.__decorate([
238
+ (0, type_graphql_1.Field)(type => type_graphql_1.Int, { nullable: true }),
239
+ tslib_1.__metadata("design:type", Number)
240
+ ], NewTaxInvoice.prototype, "paymentAmountCash", void 0);
241
+ tslib_1.__decorate([
242
+ (0, type_graphql_1.Field)(type => type_graphql_1.Int, { nullable: true }),
243
+ tslib_1.__metadata("design:type", Number)
244
+ ], NewTaxInvoice.prototype, "paymentAmountCheck", void 0);
245
+ tslib_1.__decorate([
246
+ (0, type_graphql_1.Field)(type => type_graphql_1.Int, { nullable: true }),
247
+ tslib_1.__metadata("design:type", Number)
248
+ ], NewTaxInvoice.prototype, "paymentAmountPromissoryNote", void 0);
249
+ tslib_1.__decorate([
250
+ (0, type_graphql_1.Field)(type => type_graphql_1.Int, { nullable: true }),
251
+ tslib_1.__metadata("design:type", Number)
252
+ ], NewTaxInvoice.prototype, "paymentAmountAccountsReceivable", void 0);
253
+ tslib_1.__decorate([
254
+ (0, type_graphql_1.Field)(type => type_graphql_1.Int, { nullable: false }),
255
+ tslib_1.__metadata("design:type", Number)
256
+ ], NewTaxInvoice.prototype, "supplyAmount", void 0);
257
+ tslib_1.__decorate([
258
+ (0, type_graphql_1.Field)(type => type_graphql_1.Int, { nullable: true }),
259
+ tslib_1.__metadata("design:type", Number)
260
+ ], NewTaxInvoice.prototype, "taxAmount", void 0);
261
+ tslib_1.__decorate([
262
+ (0, type_graphql_1.Field)(type => type_graphql_1.Int, { nullable: false }),
263
+ tslib_1.__metadata("design:type", Number)
264
+ ], NewTaxInvoice.prototype, "totalAmount", void 0);
265
+ NewTaxInvoice = tslib_1.__decorate([
266
+ (0, type_graphql_1.InputType)()
267
+ ], NewTaxInvoice);
268
+ exports.NewTaxInvoice = NewTaxInvoice;
269
+ let TaxInvoicePatch = class TaxInvoicePatch {
270
+ };
271
+ tslib_1.__decorate([
272
+ (0, type_graphql_1.Field)(type => type_graphql_1.ID, { nullable: false }),
273
+ tslib_1.__metadata("design:type", String)
274
+ ], TaxInvoicePatch.prototype, "id", void 0);
275
+ tslib_1.__decorate([
276
+ (0, type_graphql_1.Field)({ nullable: true }),
277
+ tslib_1.__metadata("design:type", String)
278
+ ], TaxInvoicePatch.prototype, "name", void 0);
279
+ tslib_1.__decorate([
280
+ (0, type_graphql_1.Field)({ nullable: true }),
281
+ tslib_1.__metadata("design:type", String)
282
+ ], TaxInvoicePatch.prototype, "apiRefId", void 0);
283
+ tslib_1.__decorate([
284
+ (0, type_graphql_1.Field)({ nullable: false }),
285
+ tslib_1.__metadata("design:type", String)
286
+ ], TaxInvoicePatch.prototype, "category", void 0);
287
+ tslib_1.__decorate([
288
+ (0, type_graphql_1.Field)({ nullable: true }),
289
+ tslib_1.__metadata("design:type", String)
290
+ ], TaxInvoicePatch.prototype, "approvalNo", void 0);
291
+ tslib_1.__decorate([
292
+ (0, type_graphql_1.Field)({ nullable: true }),
293
+ tslib_1.__metadata("design:type", String)
294
+ ], TaxInvoicePatch.prototype, "originalApprovalNo", void 0);
295
+ tslib_1.__decorate([
296
+ (0, type_graphql_1.Field)({ nullable: false }),
297
+ tslib_1.__metadata("design:type", String)
298
+ ], TaxInvoicePatch.prototype, "issueDate", void 0);
299
+ tslib_1.__decorate([
300
+ (0, type_graphql_1.Field)({ nullable: true }),
301
+ tslib_1.__metadata("design:type", String)
302
+ ], TaxInvoicePatch.prototype, "signatureDate", void 0);
303
+ tslib_1.__decorate([
304
+ (0, type_graphql_1.Field)({ nullable: false }),
305
+ tslib_1.__metadata("design:type", String)
306
+ ], TaxInvoicePatch.prototype, "invoiceType", void 0);
307
+ tslib_1.__decorate([
308
+ (0, type_graphql_1.Field)({ nullable: false }),
309
+ tslib_1.__metadata("design:type", String)
310
+ ], TaxInvoicePatch.prototype, "purpose", void 0);
311
+ tslib_1.__decorate([
312
+ (0, type_graphql_1.Field)({ nullable: true }),
313
+ tslib_1.__metadata("design:type", String)
314
+ ], TaxInvoicePatch.prototype, "revisedReason", void 0);
315
+ tslib_1.__decorate([
316
+ (0, type_graphql_1.Field)({ nullable: true }),
317
+ tslib_1.__metadata("design:type", String)
318
+ ], TaxInvoicePatch.prototype, "remark0", void 0);
319
+ tslib_1.__decorate([
320
+ (0, type_graphql_1.Field)({ nullable: true }),
321
+ tslib_1.__metadata("design:type", String)
322
+ ], TaxInvoicePatch.prototype, "remark1", void 0);
323
+ tslib_1.__decorate([
324
+ (0, type_graphql_1.Field)({ nullable: true }),
325
+ tslib_1.__metadata("design:type", String)
326
+ ], TaxInvoicePatch.prototype, "remark2", void 0);
327
+ tslib_1.__decorate([
328
+ (0, type_graphql_1.Field)({ nullable: false }),
329
+ tslib_1.__metadata("design:type", String)
330
+ ], TaxInvoicePatch.prototype, "supplierBusinessRegistrationCategory", void 0);
331
+ tslib_1.__decorate([
332
+ (0, type_graphql_1.Field)({ nullable: false }),
333
+ tslib_1.__metadata("design:type", String)
334
+ ], TaxInvoicePatch.prototype, "supplierBusinessRegistrationNumber", void 0);
335
+ tslib_1.__decorate([
336
+ (0, type_graphql_1.Field)({ nullable: true }),
337
+ tslib_1.__metadata("design:type", String)
338
+ ], TaxInvoicePatch.prototype, "supplierBranchIdentification", void 0);
339
+ tslib_1.__decorate([
340
+ (0, type_graphql_1.Field)({ nullable: false }),
341
+ tslib_1.__metadata("design:type", String)
342
+ ], TaxInvoicePatch.prototype, "supplierBusinessName", void 0);
343
+ tslib_1.__decorate([
344
+ (0, type_graphql_1.Field)({ nullable: false }),
345
+ tslib_1.__metadata("design:type", String)
346
+ ], TaxInvoicePatch.prototype, "supplierRepresentativeName", void 0);
347
+ tslib_1.__decorate([
348
+ (0, type_graphql_1.Field)({ nullable: true }),
349
+ tslib_1.__metadata("design:type", String)
350
+ ], TaxInvoicePatch.prototype, "supplierAddress", void 0);
351
+ tslib_1.__decorate([
352
+ (0, type_graphql_1.Field)({ nullable: true }),
353
+ tslib_1.__metadata("design:type", String)
354
+ ], TaxInvoicePatch.prototype, "supplierBusinessType", void 0);
355
+ tslib_1.__decorate([
356
+ (0, type_graphql_1.Field)({ nullable: true }),
357
+ tslib_1.__metadata("design:type", String)
358
+ ], TaxInvoicePatch.prototype, "supplierIndustryType", void 0);
359
+ tslib_1.__decorate([
360
+ (0, type_graphql_1.Field)({ nullable: true }),
361
+ tslib_1.__metadata("design:type", String)
362
+ ], TaxInvoicePatch.prototype, "supplierDepartment", void 0);
363
+ tslib_1.__decorate([
364
+ (0, type_graphql_1.Field)({ nullable: true }),
365
+ tslib_1.__metadata("design:type", String)
366
+ ], TaxInvoicePatch.prototype, "supplierContactName", void 0);
367
+ tslib_1.__decorate([
368
+ (0, type_graphql_1.Field)({ nullable: true }),
369
+ tslib_1.__metadata("design:type", String)
370
+ ], TaxInvoicePatch.prototype, "supplierContactPhone", void 0);
371
+ tslib_1.__decorate([
372
+ (0, type_graphql_1.Field)({ nullable: true }),
373
+ tslib_1.__metadata("design:type", String)
374
+ ], TaxInvoicePatch.prototype, "supplierContactEmail", void 0);
375
+ tslib_1.__decorate([
376
+ (0, type_graphql_1.Field)({ nullable: true }),
377
+ tslib_1.__metadata("design:type", String)
378
+ ], TaxInvoicePatch.prototype, "supplierContactCellPhone", void 0);
379
+ tslib_1.__decorate([
380
+ (0, type_graphql_1.Field)({ nullable: false }),
381
+ tslib_1.__metadata("design:type", String)
382
+ ], TaxInvoicePatch.prototype, "buyerBusinessRegistrationCategory", void 0);
383
+ tslib_1.__decorate([
384
+ (0, type_graphql_1.Field)({ nullable: false }),
385
+ tslib_1.__metadata("design:type", String)
386
+ ], TaxInvoicePatch.prototype, "buyerBusinessRegistrationNumber", void 0);
387
+ tslib_1.__decorate([
388
+ (0, type_graphql_1.Field)({ nullable: true }),
389
+ tslib_1.__metadata("design:type", String)
390
+ ], TaxInvoicePatch.prototype, "buyerBranchIdentification", void 0);
391
+ tslib_1.__decorate([
392
+ (0, type_graphql_1.Field)({ nullable: false }),
393
+ tslib_1.__metadata("design:type", String)
394
+ ], TaxInvoicePatch.prototype, "buyerBusinessName", void 0);
395
+ tslib_1.__decorate([
396
+ (0, type_graphql_1.Field)({ nullable: false }),
397
+ tslib_1.__metadata("design:type", String)
398
+ ], TaxInvoicePatch.prototype, "buyerRepresentativeName", void 0);
399
+ tslib_1.__decorate([
400
+ (0, type_graphql_1.Field)({ nullable: true }),
401
+ tslib_1.__metadata("design:type", String)
402
+ ], TaxInvoicePatch.prototype, "buyerAddress", void 0);
403
+ tslib_1.__decorate([
404
+ (0, type_graphql_1.Field)({ nullable: true }),
405
+ tslib_1.__metadata("design:type", String)
406
+ ], TaxInvoicePatch.prototype, "buyerBusinessType", void 0);
407
+ tslib_1.__decorate([
408
+ (0, type_graphql_1.Field)({ nullable: true }),
409
+ tslib_1.__metadata("design:type", String)
410
+ ], TaxInvoicePatch.prototype, "buyerIndustryType", void 0);
411
+ tslib_1.__decorate([
412
+ (0, type_graphql_1.Field)({ nullable: true }),
413
+ tslib_1.__metadata("design:type", String)
414
+ ], TaxInvoicePatch.prototype, "buyer1stDepartment", void 0);
415
+ tslib_1.__decorate([
416
+ (0, type_graphql_1.Field)({ nullable: true }),
417
+ tslib_1.__metadata("design:type", String)
418
+ ], TaxInvoicePatch.prototype, "buyer1stContactName", void 0);
419
+ tslib_1.__decorate([
420
+ (0, type_graphql_1.Field)({ nullable: true }),
421
+ tslib_1.__metadata("design:type", String)
422
+ ], TaxInvoicePatch.prototype, "buyer1stContactPhone", void 0);
423
+ tslib_1.__decorate([
424
+ (0, type_graphql_1.Field)({ nullable: true }),
425
+ tslib_1.__metadata("design:type", String)
426
+ ], TaxInvoicePatch.prototype, "buyer1stContactEmail", void 0);
427
+ tslib_1.__decorate([
428
+ (0, type_graphql_1.Field)({ nullable: true }),
429
+ tslib_1.__metadata("design:type", String)
430
+ ], TaxInvoicePatch.prototype, "buyer1stContactCellPhone", void 0);
431
+ tslib_1.__decorate([
432
+ (0, type_graphql_1.Field)({ nullable: true }),
433
+ tslib_1.__metadata("design:type", String)
434
+ ], TaxInvoicePatch.prototype, "buyer2ndDepartment", void 0);
435
+ tslib_1.__decorate([
436
+ (0, type_graphql_1.Field)({ nullable: true }),
437
+ tslib_1.__metadata("design:type", String)
438
+ ], TaxInvoicePatch.prototype, "buyer2ndContactName", void 0);
439
+ tslib_1.__decorate([
440
+ (0, type_graphql_1.Field)({ nullable: true }),
441
+ tslib_1.__metadata("design:type", String)
442
+ ], TaxInvoicePatch.prototype, "buyer2ndContactPhone", void 0);
443
+ tslib_1.__decorate([
444
+ (0, type_graphql_1.Field)({ nullable: true }),
445
+ tslib_1.__metadata("design:type", String)
446
+ ], TaxInvoicePatch.prototype, "buyer2ndContactEmail", void 0);
447
+ tslib_1.__decorate([
448
+ (0, type_graphql_1.Field)({ nullable: true }),
449
+ tslib_1.__metadata("design:type", String)
450
+ ], TaxInvoicePatch.prototype, "buyer2ndContactCellPhone", void 0);
451
+ tslib_1.__decorate([
452
+ (0, type_graphql_1.Field)({ nullable: true }),
453
+ tslib_1.__metadata("design:type", String)
454
+ ], TaxInvoicePatch.prototype, "agentBusinessRegistrationCategory", void 0);
455
+ tslib_1.__decorate([
456
+ (0, type_graphql_1.Field)({ nullable: true }),
457
+ tslib_1.__metadata("design:type", String)
458
+ ], TaxInvoicePatch.prototype, "agentBusinessRegistrationNumber", void 0);
459
+ tslib_1.__decorate([
460
+ (0, type_graphql_1.Field)({ nullable: true }),
461
+ tslib_1.__metadata("design:type", String)
462
+ ], TaxInvoicePatch.prototype, "agentBranchIdentification", void 0);
463
+ tslib_1.__decorate([
464
+ (0, type_graphql_1.Field)({ nullable: true }),
465
+ tslib_1.__metadata("design:type", String)
466
+ ], TaxInvoicePatch.prototype, "agentBusinessName", void 0);
467
+ tslib_1.__decorate([
468
+ (0, type_graphql_1.Field)({ nullable: true }),
469
+ tslib_1.__metadata("design:type", String)
470
+ ], TaxInvoicePatch.prototype, "agentRepresentativeName", void 0);
471
+ tslib_1.__decorate([
472
+ (0, type_graphql_1.Field)({ nullable: true }),
473
+ tslib_1.__metadata("design:type", String)
474
+ ], TaxInvoicePatch.prototype, "agentAddress", void 0);
475
+ tslib_1.__decorate([
476
+ (0, type_graphql_1.Field)({ nullable: true }),
477
+ tslib_1.__metadata("design:type", String)
478
+ ], TaxInvoicePatch.prototype, "agentBusinessType", void 0);
479
+ tslib_1.__decorate([
480
+ (0, type_graphql_1.Field)({ nullable: true }),
481
+ tslib_1.__metadata("design:type", String)
482
+ ], TaxInvoicePatch.prototype, "agentIndustryType", void 0);
483
+ tslib_1.__decorate([
484
+ (0, type_graphql_1.Field)({ nullable: true }),
485
+ tslib_1.__metadata("design:type", String)
486
+ ], TaxInvoicePatch.prototype, "agentDepartment", void 0);
487
+ tslib_1.__decorate([
488
+ (0, type_graphql_1.Field)({ nullable: true }),
489
+ tslib_1.__metadata("design:type", String)
490
+ ], TaxInvoicePatch.prototype, "agentContactName", void 0);
491
+ tslib_1.__decorate([
492
+ (0, type_graphql_1.Field)({ nullable: true }),
493
+ tslib_1.__metadata("design:type", String)
494
+ ], TaxInvoicePatch.prototype, "agentContactPhone", void 0);
495
+ tslib_1.__decorate([
496
+ (0, type_graphql_1.Field)({ nullable: true }),
497
+ tslib_1.__metadata("design:type", String)
498
+ ], TaxInvoicePatch.prototype, "agentContactEmail", void 0);
499
+ tslib_1.__decorate([
500
+ (0, type_graphql_1.Field)({ nullable: true }),
501
+ tslib_1.__metadata("design:type", String)
502
+ ], TaxInvoicePatch.prototype, "agentContactCellPhone", void 0);
503
+ tslib_1.__decorate([
504
+ (0, type_graphql_1.Field)(type => type_graphql_1.Int, { nullable: true }),
505
+ tslib_1.__metadata("design:type", Number)
506
+ ], TaxInvoicePatch.prototype, "paymentAmountCash", void 0);
507
+ tslib_1.__decorate([
508
+ (0, type_graphql_1.Field)(type => type_graphql_1.Int, { nullable: true }),
509
+ tslib_1.__metadata("design:type", Number)
510
+ ], TaxInvoicePatch.prototype, "paymentAmountCheck", void 0);
511
+ tslib_1.__decorate([
512
+ (0, type_graphql_1.Field)(type => type_graphql_1.Int, { nullable: true }),
513
+ tslib_1.__metadata("design:type", Number)
514
+ ], TaxInvoicePatch.prototype, "paymentAmountPromissoryNote", void 0);
515
+ tslib_1.__decorate([
516
+ (0, type_graphql_1.Field)(type => type_graphql_1.Int, { nullable: true }),
517
+ tslib_1.__metadata("design:type", Number)
518
+ ], TaxInvoicePatch.prototype, "paymentAmountAccountsReceivable", void 0);
519
+ tslib_1.__decorate([
520
+ (0, type_graphql_1.Field)(type => type_graphql_1.Int, { nullable: false }),
521
+ tslib_1.__metadata("design:type", Number)
522
+ ], TaxInvoicePatch.prototype, "supplyAmount", void 0);
523
+ tslib_1.__decorate([
524
+ (0, type_graphql_1.Field)(type => type_graphql_1.Int, { nullable: true }),
525
+ tslib_1.__metadata("design:type", Number)
526
+ ], TaxInvoicePatch.prototype, "taxAmount", void 0);
527
+ tslib_1.__decorate([
528
+ (0, type_graphql_1.Field)(type => type_graphql_1.Int, { nullable: false }),
529
+ tslib_1.__metadata("design:type", Number)
530
+ ], TaxInvoicePatch.prototype, "totalAmount", void 0);
531
+ tslib_1.__decorate([
532
+ (0, type_graphql_1.Field)({ nullable: true }),
533
+ tslib_1.__metadata("design:type", String)
534
+ ], TaxInvoicePatch.prototype, "cuFlag", void 0);
535
+ TaxInvoicePatch = tslib_1.__decorate([
536
+ (0, type_graphql_1.InputType)()
537
+ ], TaxInvoicePatch);
538
+ exports.TaxInvoicePatch = TaxInvoicePatch;
539
+ let TaxInvoiceList = class TaxInvoiceList {
540
+ };
541
+ tslib_1.__decorate([
542
+ (0, type_graphql_1.Field)(type => [tax_invoice_1.TaxInvoice]),
543
+ tslib_1.__metadata("design:type", Array)
544
+ ], TaxInvoiceList.prototype, "items", void 0);
545
+ tslib_1.__decorate([
546
+ (0, type_graphql_1.Field)(type => type_graphql_1.Int),
547
+ tslib_1.__metadata("design:type", Number)
548
+ ], TaxInvoiceList.prototype, "total", void 0);
549
+ TaxInvoiceList = tslib_1.__decorate([
550
+ (0, type_graphql_1.ObjectType)()
551
+ ], TaxInvoiceList);
552
+ exports.TaxInvoiceList = TaxInvoiceList;
553
+ //# sourceMappingURL=tax-invoice-type.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tax-invoice-type.js","sourceRoot":"","sources":["../../../server/service/tax-invoice/tax-invoice-type.ts"],"names":[],"mappings":";;;;AAEA,+CAAoE;AAEpE,+CAAuH;AAIhH,IAAM,aAAa,GAAnB,MAAM,aAAa;CAgMzB,CAAA;AA/LC;IAAC,IAAA,oBAA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QLUpload.js'\nimport { ObjectType, Field, InputType, Int, ID } from 'type-graphql'\n\nimport { BusinessRegistrationCategory, Category, InvoiceType, Purpose, RevisedReason, TaxInvoice } from './tax-invoice'\nimport { TaxInvoiceItem } from '../tax-invoice-item/tax-invoice-item'\n\n@InputType()\nexport class NewTaxInvoice {\n @Field({ nullable: true })\n name?: string\n\n @Field({ nullable: true })\n apiRefId?: string\n\n @Field({ nullable: false })\n category: Category\n\n @Field({ nullable: true })\n approvalNo?: string\n\n @Field({ nullable: true })\n originalApprovalNo?: string\n\n @Field({ nullable: false })\n issueDate: string\n\n @Field({ nullable: true })\n signatureDate: string\n\n @Field({ nullable: false })\n invoiceType: InvoiceType\n\n @Field({ nullable: false })\n purpose: Purpose\n\n @Field({ nullable: true })\n revisedReason?: RevisedReason\n\n @Field({ nullable: true })\n remark0?: string\n\n @Field({ nullable: true })\n remark1?: string\n\n @Field({ nullable: true })\n remark2?: string\n\n @Field({ nullable: false })\n supplierBusinessRegistrationCategory: BusinessRegistrationCategory\n\n @Field({ nullable: false })\n supplierBusinessRegistrationNumber: string\n\n @Field({ nullable: true })\n supplierBranchIdentification?: string\n\n @Field({ nullable: false })\n supplierBusinessName: string\n\n @Field({ nullable: false })\n supplierRepresentativeName: string\n\n @Field({ nullable: true })\n supplierAddress?: string\n\n @Field({ nullable: true })\n supplierBusinessType?: string\n\n @Field({ nullable: true })\n supplierIndustryType?: string\n\n @Field({ nullable: true })\n supplierDepartment?: string\n\n @Field({ nullable: true })\n supplierContactName?: string\n\n @Field({ nullable: true })\n supplierContactPhone?: string\n\n @Field({ nullable: true })\n supplierContactEmail?: string\n\n @Field({ nullable: true })\n supplierContactCellPhone?: string\n\n @Field({ nullable: false })\n buyerBusinessRegistrationCategory: BusinessRegistrationCategory\n\n @Field({ nullable: false })\n buyerBusinessRegistrationNumber: string\n\n @Field({ nullable: true })\n buyerBranchIdentification?: string\n\n @Field({ nullable: false })\n buyerBusinessName: string\n\n @Field({ nullable: false })\n buyerRepresentativeName: string\n\n @Field({ nullable: true })\n buyerAddress?: string\n\n @Field({ nullable: true })\n buyerBusinessType?: string\n\n @Field({ nullable: true })\n buyerIndustryType?: string\n\n @Field({ nullable: true })\n buyer1stDepartment?: string\n\n @Field({ nullable: true })\n buyer1stContactName?: string\n\n @Field({ nullable: true })\n buyer1stContactPhone?: string\n\n @Field({ nullable: true })\n buyer1stContactEmail?: string\n\n @Field({ nullable: true })\n buyer1stContactCellPhone?: string\n\n @Field({ nullable: true })\n buyer2ndDepartment?: string\n\n @Field({ nullable: true })\n buyer2ndContactName?: string\n\n @Field({ nullable: true })\n buyer2ndContactPhone?: string\n\n @Field({ nullable: true })\n buyer2ndContactEmail?: string\n\n @Field({ nullable: true })\n buyer2ndContactCellPhone?: string\n\n @Field({ nullable: true })\n agentBusinessRegistrationCategory?: BusinessRegistrationCategory\n\n @Field({ nullable: true })\n agentBusinessRegistrationNumber?: string\n\n @Field({ nullable: true })\n agentBranchIdentification?: string\n\n @Field({ nullable: true })\n agentBusinessName?: string\n\n @Field({ nullable: true })\n agentRepresentativeName?: string\n\n @Field({ nullable: true })\n agentAddress?: string\n\n @Field({ nullable: true })\n agentBusinessType?: string\n\n @Field({ nullable: true })\n agentIndustryType?: string\n\n @Field({ nullable: true })\n agentDepartment?: string\n\n @Field({ nullable: true })\n agentContactName?: string\n\n @Field({ nullable: true })\n agentContactPhone?: string\n\n @Field({ nullable: true })\n agentContactEmail?: string\n\n @Field({ nullable: true })\n agentContactCellPhone?: string\n\n @Field(type => Int, { nullable: true })\n paymentAmountCash?: number\n\n @Field(type => Int, { nullable: true })\n paymentAmountCheck?: number\n\n @Field(type => Int, { nullable: true })\n paymentAmountPromissoryNote?: number\n\n @Field(type => Int, { nullable: true })\n paymentAmountAccountsReceivable?: number\n\n @Field(type => Int, { nullable: false })\n supplyAmount: number\n\n @Field(type => Int, { nullable: true })\n taxAmount: number\n\n @Field(type => Int, { nullable: false })\n totalAmount: number\n}\n\n@InputType()\nexport class TaxInvoicePatch {\n @Field(type => ID, { nullable: false })\n id?: string\n\n @Field({ nullable: true })\n name?: string\n\n @Field({ nullable: true })\n apiRefId?: string\n\n @Field({ nullable: false })\n category: Category\n\n @Field({ nullable: true })\n approvalNo?: string\n\n @Field({ nullable: true })\n originalApprovalNo?: string\n\n @Field({ nullable: false })\n issueDate: string\n\n @Field({ nullable: true })\n signatureDate: string\n\n @Field({ nullable: false })\n invoiceType: InvoiceType\n\n @Field({ nullable: false })\n purpose: Purpose\n\n @Field({ nullable: true })\n revisedReason?: RevisedReason\n\n @Field({ nullable: true })\n remark0?: string\n\n @Field({ nullable: true })\n remark1?: string\n\n @Field({ nullable: true })\n remark2?: string\n\n @Field({ nullable: false })\n supplierBusinessRegistrationCategory: BusinessRegistrationCategory\n\n @Field({ nullable: false })\n supplierBusinessRegistrationNumber: string\n\n @Field({ nullable: true })\n supplierBranchIdentification?: string\n\n @Field({ nullable: false })\n supplierBusinessName: string\n\n @Field({ nullable: false })\n supplierRepresentativeName: string\n\n @Field({ nullable: true })\n supplierAddress?: string\n\n @Field({ nullable: true })\n supplierBusinessType?: string\n\n @Field({ nullable: true })\n supplierIndustryType?: string\n\n @Field({ nullable: true })\n supplierDepartment?: string\n\n @Field({ nullable: true })\n supplierContactName?: string\n\n @Field({ nullable: true })\n supplierContactPhone?: string\n\n @Field({ nullable: true })\n supplierContactEmail?: string\n\n @Field({ nullable: true })\n supplierContactCellPhone?: string\n\n @Field({ nullable: false })\n buyerBusinessRegistrationCategory: BusinessRegistrationCategory\n\n @Field({ nullable: false })\n buyerBusinessRegistrationNumber: string\n\n @Field({ nullable: true })\n buyerBranchIdentification?: string\n\n @Field({ nullable: false })\n buyerBusinessName: string\n\n @Field({ nullable: false })\n buyerRepresentativeName: string\n\n @Field({ nullable: true })\n buyerAddress?: string\n\n @Field({ nullable: true })\n buyerBusinessType?: string\n\n @Field({ nullable: true })\n buyerIndustryType?: string\n\n @Field({ nullable: true })\n buyer1stDepartment?: string\n\n @Field({ nullable: true })\n buyer1stContactName?: string\n\n @Field({ nullable: true })\n buyer1stContactPhone?: string\n\n @Field({ nullable: true })\n buyer1stContactEmail?: string\n\n @Field({ nullable: true })\n buyer1stContactCellPhone?: string\n\n @Field({ nullable: true })\n buyer2ndDepartment?: string\n\n @Field({ nullable: true })\n buyer2ndContactName?: string\n\n @Field({ nullable: true })\n buyer2ndContactPhone?: string\n\n @Field({ nullable: true })\n buyer2ndContactEmail?: string\n\n @Field({ nullable: true })\n buyer2ndContactCellPhone?: string\n\n @Field({ nullable: true })\n agentBusinessRegistrationCategory: BusinessRegistrationCategory\n\n @Field({ nullable: true })\n agentBusinessRegistrationNumber?: string\n\n @Field({ nullable: true })\n agentBranchIdentification?: string\n\n @Field({ nullable: true })\n agentBusinessName?: string\n\n @Field({ nullable: true })\n agentRepresentativeName?: string\n\n @Field({ nullable: true })\n agentAddress?: string\n\n @Field({ nullable: true })\n agentBusinessType?: string\n\n @Field({ nullable: true })\n agentIndustryType?: string\n\n @Field({ nullable: true })\n agentDepartment?: string\n\n @Field({ nullable: true })\n agentContactName?: string\n\n @Field({ nullable: true })\n agentContactPhone?: string\n\n @Field({ nullable: true })\n agentContactEmail?: string\n\n @Field({ nullable: true })\n agentContactCellPhone?: string\n\n @Field(type => Int, { nullable: true })\n paymentAmountCash?: number\n\n @Field(type => Int, { nullable: true })\n paymentAmountCheck?: number\n\n @Field(type => Int, { nullable: true })\n paymentAmountPromissoryNote?: number\n\n @Field(type => Int, { nullable: true })\n paymentAmountAccountsReceivable?: number\n\n @Field(type => Int, { nullable: false })\n supplyAmount: number\n\n @Field(type => Int, { nullable: true })\n taxAmount: number\n\n @Field(type => Int, { nullable: false })\n totalAmount: number\n\n @Field({ nullable: true })\n cuFlag?: string\n}\n\n@ObjectType()\nexport class TaxInvoiceList {\n @Field(type => [TaxInvoice])\n items: TaxInvoice[]\n\n @Field(type => Int)\n total: number\n}\n"]}