@chotot/ct-logic-uni-rev-order-v1 1.197.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 (62) hide show
  1. package/cart_service-LogicUniRevOrderCartService_connectquery.d.ts +88 -0
  2. package/cart_service-LogicUniRevOrderCartService_connectquery.js +131 -0
  3. package/cart_service.proto +108 -0
  4. package/cart_service_connect.d.ts +80 -0
  5. package/cart_service_connect.js +80 -0
  6. package/cart_service_pb.d.ts +525 -0
  7. package/cart_service_pb.js +194 -0
  8. package/change_order_status.proto +110 -0
  9. package/change_order_status_pb.d.ts +494 -0
  10. package/change_order_status_pb.js +163 -0
  11. package/invoice.proto +565 -0
  12. package/invoice_entities.proto +205 -0
  13. package/invoice_entities_pb.d.ts +414 -0
  14. package/invoice_entities_pb.js +113 -0
  15. package/invoice_pb.d.ts +2875 -0
  16. package/invoice_pb.js +917 -0
  17. package/invoice_service-LogicUniRevOrderInvoiceService_connectquery.d.ts +238 -0
  18. package/invoice_service-LogicUniRevOrderInvoiceService_connectquery.js +371 -0
  19. package/invoice_service.proto +240 -0
  20. package/invoice_service_connect.d.ts +215 -0
  21. package/invoice_service_connect.js +215 -0
  22. package/onbehalf_service-LogicUniRevOrderOnBehalfService_connectquery.d.ts +108 -0
  23. package/onbehalf_service-LogicUniRevOrderOnBehalfService_connectquery.js +163 -0
  24. package/onbehalf_service.proto +355 -0
  25. package/onbehalf_service_connect.d.ts +98 -0
  26. package/onbehalf_service_connect.js +98 -0
  27. package/onbehalf_service_pb.d.ts +1789 -0
  28. package/onbehalf_service_pb.js +568 -0
  29. package/order_entities.proto +75 -0
  30. package/order_entities_pb.d.ts +366 -0
  31. package/order_entities_pb.js +111 -0
  32. package/order_history_order_service_detail.proto +485 -0
  33. package/order_history_order_service_detail_pb.d.ts +2599 -0
  34. package/order_history_order_service_detail_pb.js +768 -0
  35. package/order_history_paid_order.proto +224 -0
  36. package/order_history_paid_order_pb.d.ts +1139 -0
  37. package/order_history_paid_order_pb.js +343 -0
  38. package/order_history_revamp.proto +107 -0
  39. package/order_history_revamp_pb.d.ts +577 -0
  40. package/order_history_revamp_pb.js +164 -0
  41. package/order_info.proto +74 -0
  42. package/order_info_pb.d.ts +381 -0
  43. package/order_info_pb.js +138 -0
  44. package/package.json +10 -0
  45. package/paid_product.proto +94 -0
  46. package/paid_product_order.proto +430 -0
  47. package/paid_product_order_pb.d.ts +2120 -0
  48. package/paid_product_order_pb.js +698 -0
  49. package/paid_product_pb.d.ts +287 -0
  50. package/paid_product_pb.js +105 -0
  51. package/rabbit_mq.proto +69 -0
  52. package/rabbit_mq_pb.d.ts +251 -0
  53. package/rabbit_mq_pb.js +94 -0
  54. package/refund_order.proto +195 -0
  55. package/refund_order_pb.d.ts +1030 -0
  56. package/refund_order_pb.js +359 -0
  57. package/scripts/modify_package_json.js +50 -0
  58. package/service-LogicUniRevOrderService_connectquery.d.ts +638 -0
  59. package/service-LogicUniRevOrderService_connectquery.js +1014 -0
  60. package/service.proto +179 -0
  61. package/service_connect.d.ts +578 -0
  62. package/service_connect.js +578 -0
package/invoice_pb.js ADDED
@@ -0,0 +1,917 @@
1
+ // @generated by protoc-gen-es v1.3.1 with parameter "target=js+dts"
2
+ // @generated from file ct-logic-uni-rev-order/v1/invoice.proto (package ct_logic_uni_rev_order.v1, syntax proto3)
3
+ /* eslint-disable */
4
+ // @ts-nocheck
5
+
6
+ import { proto3, Timestamp } from "@bufbuild/protobuf";
7
+ import { Invoice, Invoicee, InvoiceType, Order } from "./invoice_entities_pb.js";
8
+
9
+ /**
10
+ * @generated from message ct_logic_uni_rev_order.v1.FullInvoice
11
+ */
12
+ export const FullInvoice = proto3.makeMessageType(
13
+ "ct_logic_uni_rev_order.v1.FullInvoice",
14
+ () => [
15
+ { no: 1, name: "invoice", kind: "message", T: Invoice },
16
+ { no: 2, name: "invoice_type", kind: "message", T: InvoiceType },
17
+ { no: 3, name: "invoicee", kind: "message", T: Invoicee },
18
+ { no: 4, name: "orders", kind: "message", T: Order, repeated: true },
19
+ ],
20
+ );
21
+
22
+ /**
23
+ * @generated from message ct_logic_uni_rev_order.v1.GetFullInvoiceResponse
24
+ */
25
+ export const GetFullInvoiceResponse = proto3.makeMessageType(
26
+ "ct_logic_uni_rev_order.v1.GetFullInvoiceResponse",
27
+ () => [
28
+ { no: 1, name: "full_invoices", kind: "message", T: FullInvoice, repeated: true },
29
+ ],
30
+ );
31
+
32
+ /**
33
+ * @generated from message ct_logic_uni_rev_order.v1.InvoiceAndOrderReq
34
+ */
35
+ export const InvoiceAndOrderReq = proto3.makeMessageType(
36
+ "ct_logic_uni_rev_order.v1.InvoiceAndOrderReq",
37
+ () => [
38
+ { no: 1, name: "order_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
39
+ { no: 2, name: "invoicee", kind: "message", T: Invoicee },
40
+ { no: 3, name: "requester", kind: "scalar", T: 9 /* ScalarType.STRING */ },
41
+ ],
42
+ );
43
+
44
+ /**
45
+ * @generated from message ct_logic_uni_rev_order.v1.IssuableOrder
46
+ */
47
+ export const IssuableOrder = proto3.makeMessageType(
48
+ "ct_logic_uni_rev_order.v1.IssuableOrder",
49
+ () => [
50
+ { no: 1, name: "order_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
51
+ { no: 2, name: "invoicee", kind: "message", T: Invoicee },
52
+ ],
53
+ );
54
+
55
+ /**
56
+ * @generated from message ct_logic_uni_rev_order.v1.EInvoiceSettingConfig
57
+ */
58
+ export const EInvoiceSettingConfig = proto3.makeMessageType(
59
+ "ct_logic_uni_rev_order.v1.EInvoiceSettingConfig",
60
+ () => [
61
+ { no: 1, name: "pattern_number", kind: "scalar", T: 9 /* ScalarType.STRING */ },
62
+ { no: 2, name: "pattern_sign", kind: "scalar", T: 9 /* ScalarType.STRING */ },
63
+ { no: 3, name: "invoice_type_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
64
+ { no: 4, name: "invoice_type_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
65
+ { no: 5, name: "modify_date", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
66
+ ],
67
+ );
68
+
69
+ /**
70
+ * @generated from message ct_logic_uni_rev_order.v1.EInvoiceSetting
71
+ */
72
+ export const EInvoiceSetting = proto3.makeMessageType(
73
+ "ct_logic_uni_rev_order.v1.EInvoiceSetting",
74
+ () => [
75
+ { no: 1, name: "payment_method", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
76
+ { no: 2, name: "key", kind: "scalar", T: 9 /* ScalarType.STRING */ },
77
+ { no: 3, name: "status", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
78
+ { no: 4, name: "config", kind: "message", T: EInvoiceSettingConfig },
79
+ ],
80
+ );
81
+
82
+ /**
83
+ * @generated from message ct_logic_uni_rev_order.v1.EInvoiceOrderDB
84
+ */
85
+ export const EInvoiceOrderDB = proto3.makeMessageType(
86
+ "ct_logic_uni_rev_order.v1.EInvoiceOrderDB",
87
+ () => [
88
+ { no: 1, name: "id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
89
+ { no: 2, name: "invoice_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
90
+ { no: 3, name: "account_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
91
+ { no: 4, name: "tax_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
92
+ { no: 5, name: "bank_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
93
+ { no: 6, name: "company_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
94
+ { no: 7, name: "invoice_address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
95
+ { no: 8, name: "invoice_email", kind: "scalar", T: 9 /* ScalarType.STRING */ },
96
+ { no: 9, name: "invoice_phone", kind: "scalar", T: 9 /* ScalarType.STRING */ },
97
+ { no: 10, name: "invoice_amount", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
98
+ { no: 11, name: "payment_method", kind: "scalar", T: 9 /* ScalarType.STRING */ },
99
+ { no: 12, name: "payment_code", kind: "scalar", T: 9 /* ScalarType.STRING */ },
100
+ { no: 13, name: "paid_date", kind: "scalar", T: 9 /* ScalarType.STRING */ },
101
+ { no: 14, name: "addition_params", kind: "scalar", T: 9 /* ScalarType.STRING */ },
102
+ { no: 15, name: "is_require_invoice", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
103
+ { no: 16, name: "created_date", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
104
+ { no: 17, name: "error_text", kind: "scalar", T: 9 /* ScalarType.STRING */ },
105
+ { no: 18, name: "invoice_setting_key", kind: "scalar", T: 9 /* ScalarType.STRING */ },
106
+ { no: 19, name: "invoice_sign", kind: "scalar", T: 9 /* ScalarType.STRING */ },
107
+ { no: 20, name: "shard_paid_date", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
108
+ { no: 21, name: "failed_order_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
109
+ { no: 22, name: "is_cs_request", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
110
+ ],
111
+ );
112
+
113
+ /**
114
+ * @generated from message ct_logic_uni_rev_order.v1.GetFullInvoicesForCSRequest
115
+ */
116
+ export const GetFullInvoicesForCSRequest = proto3.makeMessageType(
117
+ "ct_logic_uni_rev_order.v1.GetFullInvoicesForCSRequest",
118
+ () => [
119
+ { no: 1, name: "start_date", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
120
+ { no: 2, name: "end_date", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
121
+ { no: 3, name: "key", kind: "scalar", T: 9 /* ScalarType.STRING */ },
122
+ { no: 4, name: "page", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
123
+ { no: 5, name: "limit", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
124
+ { no: 6, name: "load_issued_invoice_only", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
125
+ ],
126
+ );
127
+
128
+ /**
129
+ * @generated from message ct_logic_uni_rev_order.v1.ResponseInvoiceForCS
130
+ */
131
+ export const ResponseInvoiceForCS = proto3.makeMessageType(
132
+ "ct_logic_uni_rev_order.v1.ResponseInvoiceForCS",
133
+ () => [
134
+ { no: 1, name: "order_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
135
+ { no: 2, name: "invoice_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
136
+ { no: 3, name: "account_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
137
+ { no: 4, name: "tax_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
138
+ { no: 5, name: "company_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
139
+ { no: 6, name: "invoice_address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
140
+ { no: 7, name: "invoice_email", kind: "scalar", T: 9 /* ScalarType.STRING */ },
141
+ { no: 8, name: "invoice_phone", kind: "scalar", T: 9 /* ScalarType.STRING */ },
142
+ { no: 9, name: "invoice_amount", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
143
+ { no: 10, name: "payment_method", kind: "scalar", T: 9 /* ScalarType.STRING */ },
144
+ { no: 11, name: "payment_code", kind: "scalar", T: 9 /* ScalarType.STRING */ },
145
+ { no: 12, name: "paid_date", kind: "scalar", T: 9 /* ScalarType.STRING */ },
146
+ { no: 13, name: "sign", kind: "scalar", T: 9 /* ScalarType.STRING */ },
147
+ { no: 14, name: "invoice_settings_key", kind: "scalar", T: 9 /* ScalarType.STRING */ },
148
+ { no: 15, name: "created_at", kind: "scalar", T: 9 /* ScalarType.STRING */ },
149
+ { no: 16, name: "tax_amount", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
150
+ { no: 17, name: "net_amount", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
151
+ ],
152
+ );
153
+
154
+ /**
155
+ * @generated from message ct_logic_uni_rev_order.v1.GetFullInvoicesForCSResponse
156
+ */
157
+ export const GetFullInvoicesForCSResponse = proto3.makeMessageType(
158
+ "ct_logic_uni_rev_order.v1.GetFullInvoicesForCSResponse",
159
+ () => [
160
+ { no: 1, name: "data", kind: "message", T: ResponseInvoiceForCS, repeated: true },
161
+ { no: 2, name: "invoice_settings", kind: "message", T: GetAllInvoiceTypeResponse },
162
+ { no: 3, name: "offset", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
163
+ { no: 4, name: "limit", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
164
+ { no: 5, name: "total", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
165
+ ],
166
+ );
167
+
168
+ /**
169
+ * @generated from message ct_logic_uni_rev_order.v1.GetOrdersByDateRequest
170
+ */
171
+ export const GetOrdersByDateRequest = proto3.makeMessageType(
172
+ "ct_logic_uni_rev_order.v1.GetOrdersByDateRequest",
173
+ () => [
174
+ { no: 1, name: "start_date", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
175
+ { no: 2, name: "end_date", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
176
+ { no: 3, name: "page", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
177
+ { no: 4, name: "limit", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
178
+ { no: 5, name: "payment_method", kind: "scalar", T: 9 /* ScalarType.STRING */ },
179
+ { no: 6, name: "load_issued_invoice_only", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
180
+ ],
181
+ );
182
+
183
+ /**
184
+ * @generated from message ct_logic_uni_rev_order.v1.RespInvoice
185
+ */
186
+ export const RespInvoice = proto3.makeMessageType(
187
+ "ct_logic_uni_rev_order.v1.RespInvoice",
188
+ () => [
189
+ { no: 1, name: "invoice_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
190
+ { no: 2, name: "invoice_date", kind: "scalar", T: 9 /* ScalarType.STRING */ },
191
+ { no: 3, name: "invoice_amount", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
192
+ { no: 4, name: "number_of_order", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
193
+ { no: 5, name: "issue_date", kind: "scalar", T: 9 /* ScalarType.STRING */ },
194
+ { no: 6, name: "tax_amount", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
195
+ { no: 7, name: "net_amount", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
196
+ ],
197
+ );
198
+
199
+ /**
200
+ * @generated from message ct_logic_uni_rev_order.v1.GetOrdersByDateResponse
201
+ */
202
+ export const GetOrdersByDateResponse = proto3.makeMessageType(
203
+ "ct_logic_uni_rev_order.v1.GetOrdersByDateResponse",
204
+ () => [
205
+ { no: 1, name: "data", kind: "message", T: RespInvoice, repeated: true },
206
+ { no: 2, name: "offset", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
207
+ { no: 3, name: "limit", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
208
+ { no: 4, name: "total", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
209
+ ],
210
+ );
211
+
212
+ /**
213
+ * @generated from message ct_logic_uni_rev_order.v1.IssueCombinedInvoiceByDateRequest
214
+ */
215
+ export const IssueCombinedInvoiceByDateRequest = proto3.makeMessageType(
216
+ "ct_logic_uni_rev_order.v1.IssueCombinedInvoiceByDateRequest",
217
+ () => [
218
+ { no: 1, name: "publish_date", kind: "scalar", T: 9 /* ScalarType.STRING */ },
219
+ { no: 2, name: "invoice_key", kind: "scalar", T: 9 /* ScalarType.STRING */ },
220
+ { no: 3, name: "logged_user", kind: "scalar", T: 9 /* ScalarType.STRING */ },
221
+ { no: 4, name: "require_from", kind: "scalar", T: 9 /* ScalarType.STRING */ },
222
+ ],
223
+ );
224
+
225
+ /**
226
+ * @generated from message ct_logic_uni_rev_order.v1.IssueCombinedInvoiceByDateResponse
227
+ */
228
+ export const IssueCombinedInvoiceByDateResponse = proto3.makeMessageType(
229
+ "ct_logic_uni_rev_order.v1.IssueCombinedInvoiceByDateResponse",
230
+ () => [
231
+ { no: 1, name: "invoice_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
232
+ ],
233
+ );
234
+
235
+ /**
236
+ * @generated from message ct_logic_uni_rev_order.v1.GetAllInvoiceTypeRequest
237
+ */
238
+ export const GetAllInvoiceTypeRequest = proto3.makeMessageType(
239
+ "ct_logic_uni_rev_order.v1.GetAllInvoiceTypeRequest",
240
+ [],
241
+ );
242
+
243
+ /**
244
+ * @generated from message ct_logic_uni_rev_order.v1.GetAllInvoiceTypeResponse
245
+ */
246
+ export const GetAllInvoiceTypeResponse = proto3.makeMessageType(
247
+ "ct_logic_uni_rev_order.v1.GetAllInvoiceTypeResponse",
248
+ () => [
249
+ { no: 1, name: "group_invoice", kind: "message", T: EInvoiceSetting },
250
+ { no: 2, name: "require_invoice", kind: "message", T: EInvoiceSetting },
251
+ { no: 3, name: "manual_invoice", kind: "message", T: EInvoiceSetting },
252
+ { no: 4, name: "econtract_invoice", kind: "message", T: EInvoiceSetting },
253
+ { no: 5, name: "internal_invoice", kind: "message", T: EInvoiceSetting },
254
+ ],
255
+ );
256
+
257
+ /**
258
+ * @generated from message ct_logic_uni_rev_order.v1.InputSubInvoiceSetting
259
+ */
260
+ export const InputSubInvoiceSetting = proto3.makeMessageType(
261
+ "ct_logic_uni_rev_order.v1.InputSubInvoiceSetting",
262
+ () => [
263
+ { no: 1, name: "pattern_number", kind: "scalar", T: 9 /* ScalarType.STRING */ },
264
+ { no: 2, name: "pattern_sign", kind: "scalar", T: 9 /* ScalarType.STRING */ },
265
+ { no: 3, name: "modify_user_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
266
+ { no: 4, name: "invoicestype_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
267
+ { no: 5, name: "invoice_type_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
268
+ { no: 6, name: "activity_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
269
+ ],
270
+ );
271
+
272
+ /**
273
+ * @generated from message ct_logic_uni_rev_order.v1.UpdateInvoiceTypeRequest
274
+ */
275
+ export const UpdateInvoiceTypeRequest = proto3.makeMessageType(
276
+ "ct_logic_uni_rev_order.v1.UpdateInvoiceTypeRequest",
277
+ () => [
278
+ { no: 1, name: "config", kind: "message", T: InputSubInvoiceSetting },
279
+ { no: 2, name: "status", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
280
+ { no: 3, name: "key", kind: "scalar", T: 9 /* ScalarType.STRING */ },
281
+ ],
282
+ );
283
+
284
+ /**
285
+ * @generated from message ct_logic_uni_rev_order.v1.UpdateInvoiceTypeResponse
286
+ */
287
+ export const UpdateInvoiceTypeResponse = proto3.makeMessageType(
288
+ "ct_logic_uni_rev_order.v1.UpdateInvoiceTypeResponse",
289
+ () => [
290
+ { no: 1, name: "success", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
291
+ { no: 2, name: "error", kind: "scalar", T: 9 /* ScalarType.STRING */ },
292
+ ],
293
+ );
294
+
295
+ /**
296
+ * @generated from message ct_logic_uni_rev_order.v1.GetInvoiceRequest
297
+ */
298
+ export const GetInvoiceRequest = proto3.makeMessageType(
299
+ "ct_logic_uni_rev_order.v1.GetInvoiceRequest",
300
+ () => [
301
+ { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
302
+ ],
303
+ );
304
+
305
+ /**
306
+ * @generated from message ct_logic_uni_rev_order.v1.GetInvoiceResponse
307
+ */
308
+ export const GetInvoiceResponse = proto3.makeMessageType(
309
+ "ct_logic_uni_rev_order.v1.GetInvoiceResponse",
310
+ () => [
311
+ { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
312
+ { no: 2, name: "number_of_orders", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
313
+ { no: 3, name: "account_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
314
+ { no: 4, name: "tax_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
315
+ { no: 5, name: "company_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
316
+ { no: 6, name: "invoice_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
317
+ { no: 7, name: "invoice_address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
318
+ { no: 8, name: "invoice_email", kind: "scalar", T: 9 /* ScalarType.STRING */ },
319
+ { no: 9, name: "invoice_phone", kind: "scalar", T: 9 /* ScalarType.STRING */ },
320
+ { no: 10, name: "invoice_amount", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
321
+ { no: 11, name: "paid_date", kind: "scalar", T: 9 /* ScalarType.STRING */ },
322
+ { no: 12, name: "addition_params", kind: "scalar", T: 9 /* ScalarType.STRING */ },
323
+ { no: 13, name: "invoice_settings_key", kind: "scalar", T: 9 /* ScalarType.STRING */ },
324
+ { no: 14, name: "created_date", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
325
+ { no: 15, name: "invoice_sign", kind: "scalar", T: 9 /* ScalarType.STRING */ },
326
+ { no: 16, name: "shard_create_date", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
327
+ { no: 17, name: "tax_amount", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
328
+ { no: 18, name: "net_amount", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
329
+ ],
330
+ );
331
+
332
+ /**
333
+ * @generated from message ct_logic_uni_rev_order.v1.IssueInvoiceForOrderRequest
334
+ */
335
+ export const IssueInvoiceForOrderRequest = proto3.makeMessageType(
336
+ "ct_logic_uni_rev_order.v1.IssueInvoiceForOrderRequest",
337
+ () => [
338
+ { no: 1, name: "order_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
339
+ { no: 2, name: "company_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
340
+ { no: 3, name: "tax", kind: "scalar", T: 9 /* ScalarType.STRING */ },
341
+ { no: 4, name: "tax_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
342
+ { no: 5, name: "company_address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
343
+ { no: 6, name: "email", kind: "scalar", T: 9 /* ScalarType.STRING */ },
344
+ { no: 7, name: "activity_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
345
+ { no: 8, name: "logged_user", kind: "scalar", T: 9 /* ScalarType.STRING */ },
346
+ { no: 9, name: "require_from", kind: "scalar", T: 9 /* ScalarType.STRING */ },
347
+ { no: 10, name: "is_cs_request", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
348
+ { no: 11, name: "account_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
349
+ { no: 12, name: "buyer_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
350
+ ],
351
+ );
352
+
353
+ /**
354
+ * @generated from message ct_logic_uni_rev_order.v1.IssueInvoiceForOrderResponse
355
+ */
356
+ export const IssueInvoiceForOrderResponse = proto3.makeMessageType(
357
+ "ct_logic_uni_rev_order.v1.IssueInvoiceForOrderResponse",
358
+ () => [
359
+ { no: 1, name: "invoice_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
360
+ { no: 2, name: "invoice_code", kind: "scalar", T: 9 /* ScalarType.STRING */ },
361
+ { no: 3, name: "error", kind: "scalar", T: 9 /* ScalarType.STRING */ },
362
+ ],
363
+ );
364
+
365
+ /**
366
+ * @generated from message ct_logic_uni_rev_order.v1.AddInvoiceRequest
367
+ */
368
+ export const AddInvoiceRequest = proto3.makeMessageType(
369
+ "ct_logic_uni_rev_order.v1.AddInvoiceRequest",
370
+ () => [
371
+ { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
372
+ { no: 2, name: "order_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
373
+ { no: 3, name: "company_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
374
+ { no: 4, name: "tax_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
375
+ { no: 5, name: "company_address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
376
+ { no: 6, name: "email", kind: "scalar", T: 9 /* ScalarType.STRING */ },
377
+ { no: 7, name: "invoice_settings_key", kind: "scalar", T: 9 /* ScalarType.STRING */ },
378
+ { no: 8, name: "activity_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
379
+ { no: 9, name: "logged_user", kind: "scalar", T: 9 /* ScalarType.STRING */ },
380
+ { no: 10, name: "require_from", kind: "scalar", T: 9 /* ScalarType.STRING */ },
381
+ ],
382
+ );
383
+
384
+ /**
385
+ * @generated from message ct_logic_uni_rev_order.v1.AddInvoiceResponse
386
+ */
387
+ export const AddInvoiceResponse = proto3.makeMessageType(
388
+ "ct_logic_uni_rev_order.v1.AddInvoiceResponse",
389
+ () => [
390
+ { no: 1, name: "status", kind: "scalar", T: 9 /* ScalarType.STRING */ },
391
+ ],
392
+ );
393
+
394
+ /**
395
+ * @generated from message ct_logic_uni_rev_order.v1.GetInvoiceHistoriesRequest
396
+ */
397
+ export const GetInvoiceHistoriesRequest = proto3.makeMessageType(
398
+ "ct_logic_uni_rev_order.v1.GetInvoiceHistoriesRequest",
399
+ () => [
400
+ { no: 1, name: "page", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
401
+ { no: 2, name: "limit", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
402
+ ],
403
+ );
404
+
405
+ /**
406
+ * @generated from message ct_logic_uni_rev_order.v1.EInvoiceLogStruct
407
+ */
408
+ export const EInvoiceLogStruct = proto3.makeMessageType(
409
+ "ct_logic_uni_rev_order.v1.EInvoiceLogStruct",
410
+ () => [
411
+ { no: 1, name: "activity_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
412
+ { no: 2, name: "status", kind: "scalar", T: 9 /* ScalarType.STRING */ },
413
+ { no: 3, name: "old_info", kind: "scalar", T: 9 /* ScalarType.STRING */ },
414
+ { no: 4, name: "new_info", kind: "scalar", T: 9 /* ScalarType.STRING */ },
415
+ { no: 5, name: "created_date", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
416
+ ],
417
+ );
418
+
419
+ /**
420
+ * @generated from message ct_logic_uni_rev_order.v1.GetInvoiceHistoriesResponse
421
+ */
422
+ export const GetInvoiceHistoriesResponse = proto3.makeMessageType(
423
+ "ct_logic_uni_rev_order.v1.GetInvoiceHistoriesResponse",
424
+ () => [
425
+ { no: 1, name: "data", kind: "message", T: EInvoiceLogStruct, repeated: true },
426
+ { no: 2, name: "offset", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
427
+ { no: 3, name: "limit", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
428
+ { no: 4, name: "total", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
429
+ ],
430
+ );
431
+
432
+ /**
433
+ * @generated from message ct_logic_uni_rev_order.v1.ValidateIssuableOrdersRequest
434
+ */
435
+ export const ValidateIssuableOrdersRequest = proto3.makeMessageType(
436
+ "ct_logic_uni_rev_order.v1.ValidateIssuableOrdersRequest",
437
+ () => [
438
+ { no: 1, name: "invoices", kind: "message", T: ImportInvoicesReq, repeated: true },
439
+ ],
440
+ );
441
+
442
+ /**
443
+ * @generated from message ct_logic_uni_rev_order.v1.ImportInvoicesReq
444
+ */
445
+ export const ImportInvoicesReq = proto3.makeMessageType(
446
+ "ct_logic_uni_rev_order.v1.ImportInvoicesReq",
447
+ () => [
448
+ { no: 1, name: "order_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
449
+ { no: 2, name: "company_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
450
+ { no: 3, name: "tax", kind: "scalar", T: 9 /* ScalarType.STRING */ },
451
+ { no: 4, name: "company_address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
452
+ { no: 5, name: "email", kind: "scalar", T: 9 /* ScalarType.STRING */ },
453
+ { no: 6, name: "phone", kind: "scalar", T: 9 /* ScalarType.STRING */ },
454
+ { no: 7, name: "status", kind: "scalar", T: 9 /* ScalarType.STRING */ },
455
+ { no: 8, name: "message", kind: "scalar", T: 9 /* ScalarType.STRING */ },
456
+ { no: 9, name: "sign", kind: "scalar", T: 9 /* ScalarType.STRING */ },
457
+ ],
458
+ );
459
+
460
+ /**
461
+ * @generated from message ct_logic_uni_rev_order.v1.ValidateIssuableOrdersResponse
462
+ */
463
+ export const ValidateIssuableOrdersResponse = proto3.makeMessageType(
464
+ "ct_logic_uni_rev_order.v1.ValidateIssuableOrdersResponse",
465
+ () => [
466
+ { no: 1, name: "data", kind: "message", T: ImportInvoicesReq, repeated: true },
467
+ ],
468
+ );
469
+
470
+ /**
471
+ * @generated from message ct_logic_uni_rev_order.v1.GetFullInvoicesRequest
472
+ */
473
+ export const GetFullInvoicesRequest = proto3.makeMessageType(
474
+ "ct_logic_uni_rev_order.v1.GetFullInvoicesRequest",
475
+ () => [
476
+ { no: 1, name: "start_date", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
477
+ { no: 2, name: "end_date", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
478
+ { no: 3, name: "paid_date", kind: "scalar", T: 9 /* ScalarType.STRING */ },
479
+ { no: 4, name: "invoice_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
480
+ { no: 5, name: "order_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
481
+ { no: 6, name: "is_require_invoice", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
482
+ { no: 7, name: "key", kind: "scalar", T: 9 /* ScalarType.STRING */ },
483
+ { no: 8, name: "payment_method", kind: "scalar", T: 9 /* ScalarType.STRING */ },
484
+ { no: 9, name: "page", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
485
+ { no: 10, name: "limit", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
486
+ { no: 11, name: "load_issued_invoice_only", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
487
+ ],
488
+ );
489
+
490
+ /**
491
+ * @generated from message ct_logic_uni_rev_order.v1.ResponseEInvoiceOrder
492
+ */
493
+ export const ResponseEInvoiceOrder = proto3.makeMessageType(
494
+ "ct_logic_uni_rev_order.v1.ResponseEInvoiceOrder",
495
+ () => [
496
+ { no: 1, name: "id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
497
+ { no: 2, name: "invoice_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
498
+ { no: 3, name: "account_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
499
+ { no: 4, name: "tax_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
500
+ { no: 5, name: "bank_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
501
+ { no: 6, name: "company_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
502
+ { no: 7, name: "invoice_address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
503
+ { no: 8, name: "invoice_email", kind: "scalar", T: 9 /* ScalarType.STRING */ },
504
+ { no: 9, name: "invoice_phone", kind: "scalar", T: 9 /* ScalarType.STRING */ },
505
+ { no: 10, name: "invoice_amount", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
506
+ { no: 11, name: "payment_method", kind: "scalar", T: 9 /* ScalarType.STRING */ },
507
+ { no: 12, name: "payment_code", kind: "scalar", T: 9 /* ScalarType.STRING */ },
508
+ { no: 13, name: "paid_date", kind: "scalar", T: 9 /* ScalarType.STRING */ },
509
+ { no: 14, name: "addition_params", kind: "scalar", T: 9 /* ScalarType.STRING */ },
510
+ { no: 15, name: "is_require_invoice", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
511
+ { no: 16, name: "created_date", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
512
+ { no: 17, name: "error_text", kind: "scalar", T: 9 /* ScalarType.STRING */ },
513
+ { no: 18, name: "invoice_setting_key", kind: "scalar", T: 9 /* ScalarType.STRING */ },
514
+ { no: 19, name: "invoice_sign", kind: "scalar", T: 9 /* ScalarType.STRING */ },
515
+ { no: 20, name: "shard_paid_date", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
516
+ { no: 21, name: "failed_order_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
517
+ { no: 22, name: "is_cs_request", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
518
+ { no: 23, name: "order_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
519
+ { no: 24, name: "tax_amount", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
520
+ { no: 25, name: "net_amount", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
521
+ { no: 26, name: "invoice_status", kind: "scalar", T: 9 /* ScalarType.STRING */ },
522
+ { no: 27, name: "buyer_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
523
+ { no: 28, name: "invoice_status_desc", kind: "scalar", T: 9 /* ScalarType.STRING */ },
524
+ { no: 29, name: "invoice_prefix", kind: "scalar", T: 9 /* ScalarType.STRING */ },
525
+ ],
526
+ );
527
+
528
+ /**
529
+ * @generated from message ct_logic_uni_rev_order.v1.GetFullInvoicesResponse
530
+ */
531
+ export const GetFullInvoicesResponse = proto3.makeMessageType(
532
+ "ct_logic_uni_rev_order.v1.GetFullInvoicesResponse",
533
+ () => [
534
+ { no: 1, name: "data", kind: "message", T: ResponseEInvoiceOrder, repeated: true },
535
+ { no: 2, name: "invoice_settings", kind: "message", T: GetAllInvoiceTypeResponse },
536
+ { no: 3, name: "offset", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
537
+ { no: 4, name: "limit", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
538
+ { no: 5, name: "total", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
539
+ ],
540
+ );
541
+
542
+ /**
543
+ * @generated from message ct_logic_uni_rev_order.v1.GetInvoiceeRequest
544
+ */
545
+ export const GetInvoiceeRequest = proto3.makeMessageType(
546
+ "ct_logic_uni_rev_order.v1.GetInvoiceeRequest",
547
+ () => [
548
+ { no: 1, name: "account_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
549
+ ],
550
+ );
551
+
552
+ /**
553
+ * @generated from message ct_logic_uni_rev_order.v1.OpapiInvoiceByAccount
554
+ */
555
+ export const OpapiInvoiceByAccount = proto3.makeMessageType(
556
+ "ct_logic_uni_rev_order.v1.OpapiInvoiceByAccount",
557
+ () => [
558
+ { no: 1, name: "company_address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
559
+ { no: 2, name: "company_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
560
+ { no: 3, name: "company_phone", kind: "scalar", T: 9 /* ScalarType.STRING */ },
561
+ { no: 4, name: "company_taxcode", kind: "scalar", T: 9 /* ScalarType.STRING */ },
562
+ { no: 5, name: "company_email", kind: "scalar", T: 9 /* ScalarType.STRING */ },
563
+ { no: 6, name: "account_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
564
+ { no: 7, name: "buyer_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
565
+ ],
566
+ );
567
+
568
+ /**
569
+ * @generated from message ct_logic_uni_rev_order.v1.GetInvoiceeResponse
570
+ */
571
+ export const GetInvoiceeResponse = proto3.makeMessageType(
572
+ "ct_logic_uni_rev_order.v1.GetInvoiceeResponse",
573
+ () => [
574
+ { no: 1, name: "invoicee", kind: "message", T: OpapiInvoiceByAccount },
575
+ ],
576
+ );
577
+
578
+ /**
579
+ * @generated from message ct_logic_uni_rev_order.v1.InsertInvoiceForOrderRequest
580
+ */
581
+ export const InsertInvoiceForOrderRequest = proto3.makeMessageType(
582
+ "ct_logic_uni_rev_order.v1.InsertInvoiceForOrderRequest",
583
+ () => [
584
+ { no: 1, name: "account_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
585
+ { no: 2, name: "order_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
586
+ { no: 3, name: "params", kind: "message", T: OpapiInvoiceByAccount },
587
+ ],
588
+ );
589
+
590
+ /**
591
+ * @generated from message ct_logic_uni_rev_order.v1.InsertInvoiceForOrderResponse
592
+ */
593
+ export const InsertInvoiceForOrderResponse = proto3.makeMessageType(
594
+ "ct_logic_uni_rev_order.v1.InsertInvoiceForOrderResponse",
595
+ () => [
596
+ { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
597
+ { no: 2, name: "error", kind: "scalar", T: 9 /* ScalarType.STRING */ },
598
+ ],
599
+ );
600
+
601
+ /**
602
+ * @generated from message ct_logic_uni_rev_order.v1.GetInvoiceeByOrderRequest
603
+ */
604
+ export const GetInvoiceeByOrderRequest = proto3.makeMessageType(
605
+ "ct_logic_uni_rev_order.v1.GetInvoiceeByOrderRequest",
606
+ () => [
607
+ { no: 1, name: "order_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
608
+ ],
609
+ );
610
+
611
+ /**
612
+ * @generated from message ct_logic_uni_rev_order.v1.OxOrderExtendInfo
613
+ */
614
+ export const OxOrderExtendInfo = proto3.makeMessageType(
615
+ "ct_logic_uni_rev_order.v1.OxOrderExtendInfo",
616
+ () => [
617
+ { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
618
+ { no: 2, name: "account_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
619
+ { no: 3, name: "order_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
620
+ { no: 4, name: "params", kind: "scalar", T: 9 /* ScalarType.STRING */ },
621
+ { no: 5, name: "invoice_account_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
622
+ { no: 6, name: "created_date", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
623
+ { no: 7, name: "updated_date", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
624
+ ],
625
+ );
626
+
627
+ /**
628
+ * @generated from message ct_logic_uni_rev_order.v1.GetInvoiceeByOrderResponse
629
+ */
630
+ export const GetInvoiceeByOrderResponse = proto3.makeMessageType(
631
+ "ct_logic_uni_rev_order.v1.GetInvoiceeByOrderResponse",
632
+ () => [
633
+ { no: 1, name: "invoicee", kind: "message", T: OxOrderExtendInfo },
634
+ ],
635
+ );
636
+
637
+ /**
638
+ * @generated from message ct_logic_uni_rev_order.v1.GetInvoiceesAndOrdersRequest
639
+ */
640
+ export const GetInvoiceesAndOrdersRequest = proto3.makeMessageType(
641
+ "ct_logic_uni_rev_order.v1.GetInvoiceesAndOrdersRequest",
642
+ () => [
643
+ { no: 1, name: "order_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
644
+ { no: 2, name: "offset", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
645
+ { no: 3, name: "limit", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
646
+ { no: 4, name: "start_at", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
647
+ { no: 5, name: "end_at", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
648
+ ],
649
+ );
650
+
651
+ /**
652
+ * @generated from message ct_logic_uni_rev_order.v1.OxOrderExtendInfoExtended
653
+ */
654
+ export const OxOrderExtendInfoExtended = proto3.makeMessageType(
655
+ "ct_logic_uni_rev_order.v1.OxOrderExtendInfoExtended",
656
+ () => [
657
+ { no: 1, name: "account_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
658
+ { no: 2, name: "order_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
659
+ { no: 3, name: "invoice_account_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
660
+ { no: 4, name: "company_address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
661
+ { no: 5, name: "company_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
662
+ { no: 6, name: "company_phone", kind: "scalar", T: 9 /* ScalarType.STRING */ },
663
+ { no: 7, name: "company_taxcode", kind: "scalar", T: 9 /* ScalarType.STRING */ },
664
+ { no: 8, name: "company_email", kind: "scalar", T: 9 /* ScalarType.STRING */ },
665
+ { no: 9, name: "buyer_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
666
+ ],
667
+ );
668
+
669
+ /**
670
+ * @generated from message ct_logic_uni_rev_order.v1.GetInvoiceesAndOrdersResponse
671
+ */
672
+ export const GetInvoiceesAndOrdersResponse = proto3.makeMessageType(
673
+ "ct_logic_uni_rev_order.v1.GetInvoiceesAndOrdersResponse",
674
+ () => [
675
+ { no: 1, name: "invoicees", kind: "message", T: OxOrderExtendInfoExtended, repeated: true },
676
+ ],
677
+ );
678
+
679
+ /**
680
+ * @generated from message ct_logic_uni_rev_order.v1.IssueInvoiceForOrdersRequest
681
+ */
682
+ export const IssueInvoiceForOrdersRequest = proto3.makeMessageType(
683
+ "ct_logic_uni_rev_order.v1.IssueInvoiceForOrdersRequest",
684
+ () => [
685
+ { no: 1, name: "invoices", kind: "message", T: ImportInvoicesReq, repeated: true },
686
+ { no: 2, name: "required_from", kind: "scalar", T: 9 /* ScalarType.STRING */ },
687
+ { no: 3, name: "logged_user", kind: "scalar", T: 9 /* ScalarType.STRING */ },
688
+ { no: 4, name: "is_cs_request", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
689
+ ],
690
+ );
691
+
692
+ /**
693
+ * @generated from message ct_logic_uni_rev_order.v1.IssueInvoiceForOrdersResponse
694
+ */
695
+ export const IssueInvoiceForOrdersResponse = proto3.makeMessageType(
696
+ "ct_logic_uni_rev_order.v1.IssueInvoiceForOrdersResponse",
697
+ () => [
698
+ { no: 1, name: "last_order_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
699
+ { no: 2, name: "status", kind: "scalar", T: 9 /* ScalarType.STRING */ },
700
+ { no: 3, name: "message", kind: "scalar", T: 9 /* ScalarType.STRING */ },
701
+ ],
702
+ );
703
+
704
+ /**
705
+ * @generated from message ct_logic_uni_rev_order.v1.SaveInvoiceeRequest
706
+ */
707
+ export const SaveInvoiceeRequest = proto3.makeMessageType(
708
+ "ct_logic_uni_rev_order.v1.SaveInvoiceeRequest",
709
+ () => [
710
+ { no: 1, name: "company_address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
711
+ { no: 2, name: "company_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
712
+ { no: 3, name: "company_phone", kind: "scalar", T: 9 /* ScalarType.STRING */ },
713
+ { no: 4, name: "company_taxcode", kind: "scalar", T: 9 /* ScalarType.STRING */ },
714
+ { no: 5, name: "company_email", kind: "scalar", T: 9 /* ScalarType.STRING */ },
715
+ { no: 6, name: "account_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
716
+ { no: 7, name: "buyer_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
717
+ ],
718
+ );
719
+
720
+ /**
721
+ * @generated from message ct_logic_uni_rev_order.v1.SaveInvoiceeResponse
722
+ */
723
+ export const SaveInvoiceeResponse = proto3.makeMessageType(
724
+ "ct_logic_uni_rev_order.v1.SaveInvoiceeResponse",
725
+ () => [
726
+ { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
727
+ { no: 2, name: "status", kind: "scalar", T: 9 /* ScalarType.STRING */ },
728
+ { no: 3, name: "error", kind: "scalar", T: 9 /* ScalarType.STRING */ },
729
+ ],
730
+ );
731
+
732
+ /**
733
+ * @generated from message ct_logic_uni_rev_order.v1.InvoiceCheckIssuanceRequest
734
+ */
735
+ export const InvoiceCheckIssuanceRequest = proto3.makeMessageType(
736
+ "ct_logic_uni_rev_order.v1.InvoiceCheckIssuanceRequest",
737
+ () => [
738
+ { no: 1, name: "order_ids", kind: "scalar", T: 3 /* ScalarType.INT64 */, repeated: true },
739
+ { no: 2, name: "account_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
740
+ ],
741
+ );
742
+
743
+ /**
744
+ * @generated from message ct_logic_uni_rev_order.v1.InvoiceCheckIssuance
745
+ */
746
+ export const InvoiceCheckIssuance = proto3.makeMessageType(
747
+ "ct_logic_uni_rev_order.v1.InvoiceCheckIssuance",
748
+ () => [
749
+ { no: 1, name: "order_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
750
+ { no: 2, name: "status", kind: "scalar", T: 9 /* ScalarType.STRING */ },
751
+ ],
752
+ );
753
+
754
+ /**
755
+ * @generated from message ct_logic_uni_rev_order.v1.InvoiceCheckIssuanceResponse
756
+ */
757
+ export const InvoiceCheckIssuanceResponse = proto3.makeMessageType(
758
+ "ct_logic_uni_rev_order.v1.InvoiceCheckIssuanceResponse",
759
+ () => [
760
+ { no: 1, name: "data", kind: "message", T: InvoiceCheckIssuance, repeated: true },
761
+ ],
762
+ );
763
+
764
+ /**
765
+ * @generated from message ct_logic_uni_rev_order.v1.FindFullInvoicesByCondsRequest
766
+ */
767
+ export const FindFullInvoicesByCondsRequest = proto3.makeMessageType(
768
+ "ct_logic_uni_rev_order.v1.FindFullInvoicesByCondsRequest",
769
+ () => [
770
+ { no: 1, name: "invoice_type_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
771
+ { no: 2, name: "payment_method", kind: "scalar", T: 9 /* ScalarType.STRING */ },
772
+ { no: 3, name: "page", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
773
+ { no: 4, name: "page_size", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
774
+ { no: 5, name: "from_date", kind: "message", T: Timestamp },
775
+ { no: 6, name: "to_date", kind: "message", T: Timestamp },
776
+ { no: 7, name: "paid_date", kind: "message", T: Timestamp },
777
+ { no: 8, name: "requesters", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
778
+ { no: 9, name: "load_issued_invoice_only", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
779
+ { no: 10, name: "account_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
780
+ ],
781
+ );
782
+
783
+ /**
784
+ * @generated from message ct_logic_uni_rev_order.v1.FindFullInvoicesByCondsResponse
785
+ */
786
+ export const FindFullInvoicesByCondsResponse = proto3.makeMessageType(
787
+ "ct_logic_uni_rev_order.v1.FindFullInvoicesByCondsResponse",
788
+ () => [
789
+ { no: 1, name: "full_invoices", kind: "message", T: FullInvoice, repeated: true },
790
+ { no: 2, name: "count_total", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
791
+ ],
792
+ );
793
+
794
+ /**
795
+ * @generated from message ct_logic_uni_rev_order.v1.GetInvoiceValidationRulesRequest
796
+ */
797
+ export const GetInvoiceValidationRulesRequest = proto3.makeMessageType(
798
+ "ct_logic_uni_rev_order.v1.GetInvoiceValidationRulesRequest",
799
+ () => [
800
+ { no: 1, name: "account_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
801
+ ],
802
+ );
803
+
804
+ /**
805
+ * @generated from message ct_logic_uni_rev_order.v1.InvoiceValidationBasicRule
806
+ */
807
+ export const InvoiceValidationBasicRule = proto3.makeMessageType(
808
+ "ct_logic_uni_rev_order.v1.InvoiceValidationBasicRule",
809
+ () => [
810
+ { no: 1, name: "field", kind: "scalar", T: 9 /* ScalarType.STRING */ },
811
+ { no: 2, name: "is_required", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
812
+ { no: 3, name: "min_length", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
813
+ { no: 4, name: "max_length", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
814
+ ],
815
+ );
816
+
817
+ /**
818
+ * @generated from message ct_logic_uni_rev_order.v1.GetInvoiceValidationRulesResponse
819
+ */
820
+ export const GetInvoiceValidationRulesResponse = proto3.makeMessageType(
821
+ "ct_logic_uni_rev_order.v1.GetInvoiceValidationRulesResponse",
822
+ () => [
823
+ { no: 1, name: "basic_rules", kind: "message", T: InvoiceValidationBasicRule, repeated: true },
824
+ ],
825
+ );
826
+
827
+ /**
828
+ * @generated from message ct_logic_uni_rev_order.v1.InvoiceFormItem
829
+ */
830
+ export const InvoiceFormItem = proto3.makeMessageType(
831
+ "ct_logic_uni_rev_order.v1.InvoiceFormItem",
832
+ () => [
833
+ { no: 1, name: "field", kind: "scalar", T: 9 /* ScalarType.STRING */ },
834
+ { no: 2, name: "value", kind: "scalar", T: 9 /* ScalarType.STRING */ },
835
+ ],
836
+ );
837
+
838
+ /**
839
+ * @generated from message ct_logic_uni_rev_order.v1.PreValidateInvoiceRequest
840
+ */
841
+ export const PreValidateInvoiceRequest = proto3.makeMessageType(
842
+ "ct_logic_uni_rev_order.v1.PreValidateInvoiceRequest",
843
+ () => [
844
+ { no: 1, name: "payload", kind: "message", T: InvoiceFormItem, repeated: true },
845
+ { no: 2, name: "account_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
846
+ { no: 3, name: "order_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
847
+ ],
848
+ );
849
+
850
+ /**
851
+ * @generated from message ct_logic_uni_rev_order.v1.InvoiceFormItemValidationResponse
852
+ */
853
+ export const InvoiceFormItemValidationResponse = proto3.makeMessageType(
854
+ "ct_logic_uni_rev_order.v1.InvoiceFormItemValidationResponse",
855
+ () => [
856
+ { no: 1, name: "field", kind: "scalar", T: 9 /* ScalarType.STRING */ },
857
+ { no: 2, name: "is_valid", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
858
+ { no: 3, name: "message", kind: "scalar", T: 9 /* ScalarType.STRING */ },
859
+ ],
860
+ );
861
+
862
+ /**
863
+ * @generated from message ct_logic_uni_rev_order.v1.PreValidateInvoiceResponse
864
+ */
865
+ export const PreValidateInvoiceResponse = proto3.makeMessageType(
866
+ "ct_logic_uni_rev_order.v1.PreValidateInvoiceResponse",
867
+ () => [
868
+ { no: 1, name: "data", kind: "message", T: InvoiceFormItemValidationResponse, repeated: true },
869
+ ],
870
+ );
871
+
872
+ /**
873
+ * @generated from message ct_logic_uni_rev_order.v1.ExportInvoicesByDateRequest
874
+ */
875
+ export const ExportInvoicesByDateRequest = proto3.makeMessageType(
876
+ "ct_logic_uni_rev_order.v1.ExportInvoicesByDateRequest",
877
+ () => [
878
+ { no: 1, name: "next_token", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
879
+ { no: 2, name: "from_date", kind: "message", T: Timestamp },
880
+ { no: 3, name: "to_date", kind: "message", T: Timestamp },
881
+ ],
882
+ );
883
+
884
+ /**
885
+ * @generated from message ct_logic_uni_rev_order.v1.ExportInvoicesByDateResponse
886
+ */
887
+ export const ExportInvoicesByDateResponse = proto3.makeMessageType(
888
+ "ct_logic_uni_rev_order.v1.ExportInvoicesByDateResponse",
889
+ () => [
890
+ { no: 1, name: "full_invoices", kind: "message", T: OrderWithInvoiceExport, repeated: true },
891
+ { no: 2, name: "count_total", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
892
+ { no: 3, name: "next_token", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
893
+ ],
894
+ );
895
+
896
+ /**
897
+ * @generated from message ct_logic_uni_rev_order.v1.OrderWithInvoiceExport
898
+ */
899
+ export const OrderWithInvoiceExport = proto3.makeMessageType(
900
+ "ct_logic_uni_rev_order.v1.OrderWithInvoiceExport",
901
+ () => [
902
+ { no: 1, name: "account_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
903
+ { no: 2, name: "order_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
904
+ { no: 3, name: "amount", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
905
+ { no: 4, name: "tax_amount", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
906
+ { no: 5, name: "net_amount", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
907
+ { no: 6, name: "paid_date", kind: "message", T: Timestamp },
908
+ { no: 7, name: "created_at", kind: "message", T: Timestamp },
909
+ { no: 8, name: "payment_method", kind: "scalar", T: 9 /* ScalarType.STRING */ },
910
+ { no: 9, name: "bank_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
911
+ { no: 10, name: "transaction_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
912
+ { no: 11, name: "invoice_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
913
+ { no: 12, name: "invoice_sign", kind: "scalar", T: 9 /* ScalarType.STRING */ },
914
+ { no: 13, name: "invoice_prefix", kind: "scalar", T: 9 /* ScalarType.STRING */ },
915
+ ],
916
+ );
917
+