@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
@@ -0,0 +1,240 @@
1
+ syntax = "proto3";
2
+
3
+ package ct_logic_uni_rev_order.v1;
4
+
5
+ // import third party protos
6
+ import "google/api/annotations.proto";
7
+ import "ct-logic-uni-rev-order/v1/invoice.proto";
8
+
9
+ // language specs
10
+ option go_package = "github.com/carousell/ct-grpc-go/pkg/ct-logic-uni-rev-order;pb";
11
+
12
+ service LogicUniRevOrderInvoiceService {
13
+ rpc GetFullInvoices(GetFullInvoicesRequest) returns (GetFullInvoicesResponse) {
14
+ option (google.api.http) = {
15
+ get: "/v1/invoice/invoices/search"
16
+ additional_bindings: [
17
+ {
18
+ get: "/api/v1/internal/e-invoice/list-order"
19
+ },
20
+ {
21
+ get: "/api/v1/internal/e-invoice/search"
22
+ }
23
+ ]
24
+ };
25
+ }
26
+
27
+ rpc GetFullInvoicesForCS(GetFullInvoicesForCSRequest) returns (GetFullInvoicesForCSResponse) {
28
+ option (google.api.http) = {
29
+ get: "/v1/invoice/invoices/full/cs"
30
+ additional_bindings: [
31
+ {
32
+ get: "/api/v1/internal/e-invoice/list-order-cs"
33
+ }
34
+ ]
35
+ };
36
+ }
37
+
38
+ rpc GetOrdersByDate(GetOrdersByDateRequest) returns (GetOrdersByDateResponse) {
39
+ option (google.api.http) = {
40
+ get: "/v1/invoice/orders/by-date"
41
+ additional_bindings: [
42
+ {
43
+ get: "/api/v1/internal/e-invoice/orders/group-by-date"
44
+ }
45
+ ]
46
+ };
47
+ }
48
+
49
+ rpc IssueCombinedInvoiceByDate(IssueCombinedInvoiceByDateRequest) returns (IssueCombinedInvoiceByDateResponse) {
50
+ option (google.api.http) = {
51
+ post: "/v1/invoice/combined/issue-by-date"
52
+ body: "*"
53
+ additional_bindings: [
54
+ {
55
+ post: "/api/v1/internal/e-invoice/orders/publish-invoice-by-date"
56
+ body: "*"
57
+ }
58
+ ]
59
+ };
60
+ }
61
+
62
+ rpc GetAllInvoiceType(GetAllInvoiceTypeRequest) returns (GetAllInvoiceTypeResponse) {
63
+ option (google.api.http) = {
64
+ get: "/v1/invoice/invoice-types/all"
65
+ additional_bindings: [
66
+ {
67
+ get: "/api/v1/internal/e-invoice/get-setting"
68
+ }
69
+ ]
70
+ };
71
+ }
72
+
73
+ rpc UpdateInvoiceType(UpdateInvoiceTypeRequest) returns (UpdateInvoiceTypeResponse) {
74
+ option (google.api.http) = {
75
+ put: "/v1/invoice/invoice-type"
76
+ body: "*"
77
+ additional_bindings: [
78
+ {
79
+ put: "/api/v1/internal/e-invoice/update-setting"
80
+ body: "*"
81
+ }
82
+ ]
83
+ };
84
+ }
85
+
86
+ rpc GetInvoice(GetInvoiceRequest) returns (GetInvoiceResponse) {
87
+ option (google.api.http) = {
88
+ get: "/v1/invoice/{id}"
89
+ additional_bindings: [
90
+ {
91
+ get: "/api/v1/internal/e-invoice/invoice/{id}"
92
+ }
93
+ ]
94
+ };
95
+ }
96
+
97
+ rpc AddInvoice(AddInvoiceRequest) returns (AddInvoiceResponse) {
98
+ option (google.api.http) = {
99
+ post: "/v1/invoice/{id}"
100
+ body: "*"
101
+ additional_bindings: [
102
+ {
103
+ post: "/api/v1/internal/e-invoice/invoice/add/{id}"
104
+ body: "*"
105
+ }
106
+ ]
107
+ };
108
+ }
109
+
110
+ rpc GetInvoiceHistories(GetInvoiceHistoriesRequest) returns (GetInvoiceHistoriesResponse) {
111
+ option (google.api.http) = {
112
+ get: "/v1/invoice/history"
113
+ additional_bindings: [
114
+ {
115
+ get: "/api/v1/internal/e-invoice/history/list"
116
+ }
117
+ ]
118
+ };
119
+ }
120
+
121
+ rpc ValidateIssuableOrders(ValidateIssuableOrdersRequest) returns (ValidateIssuableOrdersResponse) {
122
+ option (google.api.http) = {
123
+ post: "/v1/invoice/validate-issuable-orders"
124
+ body: "*"
125
+ additional_bindings: [
126
+ {
127
+ post: "/api/v1/internal/e-invoice/validate-multi-invoice"
128
+ body: "*"
129
+ response_body: "data"
130
+ }
131
+ ]
132
+ };
133
+ }
134
+
135
+ rpc IssueInvoiceForOrders(IssueInvoiceForOrdersRequest) returns (IssueInvoiceForOrdersResponse) {
136
+ option (google.api.http) = {
137
+ post: "/v1/invoice/issue-for-orders"
138
+ body: "*"
139
+ additional_bindings: [
140
+ {
141
+ post: "/api/v1/internal/e-invoice/import-multi-invoice"
142
+ body: "*"
143
+ }
144
+ ]
145
+ };
146
+ }
147
+
148
+ rpc GetInvoiceeByOrder(GetInvoiceeByOrderRequest) returns (GetInvoiceeByOrderResponse) {
149
+ option (google.api.http) = {
150
+ get: "/v1/invoice/invoicee/order"
151
+ additional_bindings: [
152
+ {
153
+ get: "/api/extend-order"
154
+ response_body: "invoicee"
155
+ }
156
+ ]
157
+ };
158
+ }
159
+
160
+ rpc GetInvoiceesAndOrders(GetInvoiceesAndOrdersRequest) returns (GetInvoiceesAndOrdersResponse) {
161
+ option (google.api.http) = {
162
+ get: "/v1/invoice/invoicees"
163
+ additional_bindings: [
164
+ {
165
+ get: "/api/list-extend-order"
166
+ response_body: "invoicees"
167
+ }
168
+ ]
169
+ };
170
+ }
171
+
172
+ rpc InsertInvoiceForOrder(InsertInvoiceForOrderRequest) returns (InsertInvoiceForOrderResponse) {
173
+ option (google.api.http) = {
174
+ post: "/v1/invoice/invoices/full"
175
+ body: "*"
176
+ additional_bindings: [
177
+ {
178
+ post: "/api/save-and-update-extend-order"
179
+ body: "*"
180
+ }
181
+ ]
182
+ };
183
+ }
184
+
185
+ rpc IssueInvoiceForOrder(IssueInvoiceForOrderRequest) returns (IssueInvoiceForOrderResponse) {
186
+ option (google.api.http) = {
187
+ post: "/v1/invoice/issue-for-order"
188
+ body: "*"
189
+ additional_bindings: [
190
+ {
191
+ post: "/api/v1/internal/e-invoice/invoice/publish"
192
+ body: "*"
193
+ }
194
+ ]
195
+ };
196
+ }
197
+
198
+ rpc InvoiceCheckIssuance(InvoiceCheckIssuanceRequest) returns (InvoiceCheckIssuanceResponse) {
199
+ option (google.api.http) = {
200
+ post: "/v1/invoice/order/check-issuance"
201
+ body: "*"
202
+ };
203
+ }
204
+
205
+ rpc GetInvoicee(GetInvoiceeRequest) returns (GetInvoiceeResponse) {
206
+ option (google.api.http) = {
207
+ get: "/v1/invoice/invoicee/account"
208
+ additional_bindings: [
209
+ {
210
+ get: "/api/get-invoice"
211
+ response_body: "invoicee"
212
+ }
213
+ ]
214
+ };
215
+ }
216
+
217
+ rpc SaveInvoicee(SaveInvoiceeRequest) returns (SaveInvoiceeResponse) {
218
+ option (google.api.http) = {
219
+ post: "/v1/invoice/invoicee"
220
+ body: "*"
221
+ additional_bindings: [
222
+ {
223
+ post: "/api/save-invoice"
224
+ body: "*"
225
+ }
226
+ ]
227
+ };
228
+ }
229
+
230
+ rpc FindFullInvoicesByConds(FindFullInvoicesByCondsRequest) returns (FindFullInvoicesByCondsResponse) {
231
+ option (google.api.http) = {
232
+ get: "/v1/invoice/full/search"
233
+ };
234
+ }
235
+
236
+ rpc GetInvoiceValidationRules(GetInvoiceValidationRulesRequest) returns (GetInvoiceValidationRulesResponse) {}
237
+
238
+ rpc PreValidateInvoice(PreValidateInvoiceRequest) returns (PreValidateInvoiceResponse) {}
239
+ rpc ExportInvoicesByDate(ExportInvoicesByDateRequest) returns (ExportInvoicesByDateResponse) {}
240
+ }
@@ -0,0 +1,215 @@
1
+ // @generated by protoc-gen-connect-es v1.0.0 with parameter "target=js+dts"
2
+ // @generated from file ct-logic-uni-rev-order/v1/invoice_service.proto (package ct_logic_uni_rev_order.v1, syntax proto3)
3
+ /* eslint-disable */
4
+ // @ts-nocheck
5
+
6
+ import { AddInvoiceRequest, AddInvoiceResponse, ExportInvoicesByDateRequest, ExportInvoicesByDateResponse, FindFullInvoicesByCondsRequest, FindFullInvoicesByCondsResponse, GetAllInvoiceTypeRequest, GetAllInvoiceTypeResponse, GetFullInvoicesForCSRequest, GetFullInvoicesForCSResponse, GetFullInvoicesRequest, GetFullInvoicesResponse, GetInvoiceeByOrderRequest, GetInvoiceeByOrderResponse, GetInvoiceeRequest, GetInvoiceeResponse, GetInvoiceesAndOrdersRequest, GetInvoiceesAndOrdersResponse, GetInvoiceHistoriesRequest, GetInvoiceHistoriesResponse, GetInvoiceRequest, GetInvoiceResponse, GetInvoiceValidationRulesRequest, GetInvoiceValidationRulesResponse, GetOrdersByDateRequest, GetOrdersByDateResponse, InsertInvoiceForOrderRequest, InsertInvoiceForOrderResponse, InvoiceCheckIssuanceRequest, InvoiceCheckIssuanceResponse, IssueCombinedInvoiceByDateRequest, IssueCombinedInvoiceByDateResponse, IssueInvoiceForOrderRequest, IssueInvoiceForOrderResponse, IssueInvoiceForOrdersRequest, IssueInvoiceForOrdersResponse, PreValidateInvoiceRequest, PreValidateInvoiceResponse, SaveInvoiceeRequest, SaveInvoiceeResponse, UpdateInvoiceTypeRequest, UpdateInvoiceTypeResponse, ValidateIssuableOrdersRequest, ValidateIssuableOrdersResponse } from "./invoice_pb.js";
7
+ import { MethodKind } from "@bufbuild/protobuf";
8
+
9
+ /**
10
+ * @generated from service ct_logic_uni_rev_order.v1.LogicUniRevOrderInvoiceService
11
+ */
12
+ export declare const LogicUniRevOrderInvoiceService: {
13
+ readonly typeName: "ct_logic_uni_rev_order.v1.LogicUniRevOrderInvoiceService",
14
+ readonly methods: {
15
+ /**
16
+ * @generated from rpc ct_logic_uni_rev_order.v1.LogicUniRevOrderInvoiceService.GetFullInvoices
17
+ */
18
+ readonly getFullInvoices: {
19
+ readonly name: "GetFullInvoices",
20
+ readonly I: typeof GetFullInvoicesRequest,
21
+ readonly O: typeof GetFullInvoicesResponse,
22
+ readonly kind: MethodKind.Unary,
23
+ },
24
+ /**
25
+ * @generated from rpc ct_logic_uni_rev_order.v1.LogicUniRevOrderInvoiceService.GetFullInvoicesForCS
26
+ */
27
+ readonly getFullInvoicesForCS: {
28
+ readonly name: "GetFullInvoicesForCS",
29
+ readonly I: typeof GetFullInvoicesForCSRequest,
30
+ readonly O: typeof GetFullInvoicesForCSResponse,
31
+ readonly kind: MethodKind.Unary,
32
+ },
33
+ /**
34
+ * @generated from rpc ct_logic_uni_rev_order.v1.LogicUniRevOrderInvoiceService.GetOrdersByDate
35
+ */
36
+ readonly getOrdersByDate: {
37
+ readonly name: "GetOrdersByDate",
38
+ readonly I: typeof GetOrdersByDateRequest,
39
+ readonly O: typeof GetOrdersByDateResponse,
40
+ readonly kind: MethodKind.Unary,
41
+ },
42
+ /**
43
+ * @generated from rpc ct_logic_uni_rev_order.v1.LogicUniRevOrderInvoiceService.IssueCombinedInvoiceByDate
44
+ */
45
+ readonly issueCombinedInvoiceByDate: {
46
+ readonly name: "IssueCombinedInvoiceByDate",
47
+ readonly I: typeof IssueCombinedInvoiceByDateRequest,
48
+ readonly O: typeof IssueCombinedInvoiceByDateResponse,
49
+ readonly kind: MethodKind.Unary,
50
+ },
51
+ /**
52
+ * @generated from rpc ct_logic_uni_rev_order.v1.LogicUniRevOrderInvoiceService.GetAllInvoiceType
53
+ */
54
+ readonly getAllInvoiceType: {
55
+ readonly name: "GetAllInvoiceType",
56
+ readonly I: typeof GetAllInvoiceTypeRequest,
57
+ readonly O: typeof GetAllInvoiceTypeResponse,
58
+ readonly kind: MethodKind.Unary,
59
+ },
60
+ /**
61
+ * @generated from rpc ct_logic_uni_rev_order.v1.LogicUniRevOrderInvoiceService.UpdateInvoiceType
62
+ */
63
+ readonly updateInvoiceType: {
64
+ readonly name: "UpdateInvoiceType",
65
+ readonly I: typeof UpdateInvoiceTypeRequest,
66
+ readonly O: typeof UpdateInvoiceTypeResponse,
67
+ readonly kind: MethodKind.Unary,
68
+ },
69
+ /**
70
+ * @generated from rpc ct_logic_uni_rev_order.v1.LogicUniRevOrderInvoiceService.GetInvoice
71
+ */
72
+ readonly getInvoice: {
73
+ readonly name: "GetInvoice",
74
+ readonly I: typeof GetInvoiceRequest,
75
+ readonly O: typeof GetInvoiceResponse,
76
+ readonly kind: MethodKind.Unary,
77
+ },
78
+ /**
79
+ * @generated from rpc ct_logic_uni_rev_order.v1.LogicUniRevOrderInvoiceService.AddInvoice
80
+ */
81
+ readonly addInvoice: {
82
+ readonly name: "AddInvoice",
83
+ readonly I: typeof AddInvoiceRequest,
84
+ readonly O: typeof AddInvoiceResponse,
85
+ readonly kind: MethodKind.Unary,
86
+ },
87
+ /**
88
+ * @generated from rpc ct_logic_uni_rev_order.v1.LogicUniRevOrderInvoiceService.GetInvoiceHistories
89
+ */
90
+ readonly getInvoiceHistories: {
91
+ readonly name: "GetInvoiceHistories",
92
+ readonly I: typeof GetInvoiceHistoriesRequest,
93
+ readonly O: typeof GetInvoiceHistoriesResponse,
94
+ readonly kind: MethodKind.Unary,
95
+ },
96
+ /**
97
+ * @generated from rpc ct_logic_uni_rev_order.v1.LogicUniRevOrderInvoiceService.ValidateIssuableOrders
98
+ */
99
+ readonly validateIssuableOrders: {
100
+ readonly name: "ValidateIssuableOrders",
101
+ readonly I: typeof ValidateIssuableOrdersRequest,
102
+ readonly O: typeof ValidateIssuableOrdersResponse,
103
+ readonly kind: MethodKind.Unary,
104
+ },
105
+ /**
106
+ * @generated from rpc ct_logic_uni_rev_order.v1.LogicUniRevOrderInvoiceService.IssueInvoiceForOrders
107
+ */
108
+ readonly issueInvoiceForOrders: {
109
+ readonly name: "IssueInvoiceForOrders",
110
+ readonly I: typeof IssueInvoiceForOrdersRequest,
111
+ readonly O: typeof IssueInvoiceForOrdersResponse,
112
+ readonly kind: MethodKind.Unary,
113
+ },
114
+ /**
115
+ * @generated from rpc ct_logic_uni_rev_order.v1.LogicUniRevOrderInvoiceService.GetInvoiceeByOrder
116
+ */
117
+ readonly getInvoiceeByOrder: {
118
+ readonly name: "GetInvoiceeByOrder",
119
+ readonly I: typeof GetInvoiceeByOrderRequest,
120
+ readonly O: typeof GetInvoiceeByOrderResponse,
121
+ readonly kind: MethodKind.Unary,
122
+ },
123
+ /**
124
+ * @generated from rpc ct_logic_uni_rev_order.v1.LogicUniRevOrderInvoiceService.GetInvoiceesAndOrders
125
+ */
126
+ readonly getInvoiceesAndOrders: {
127
+ readonly name: "GetInvoiceesAndOrders",
128
+ readonly I: typeof GetInvoiceesAndOrdersRequest,
129
+ readonly O: typeof GetInvoiceesAndOrdersResponse,
130
+ readonly kind: MethodKind.Unary,
131
+ },
132
+ /**
133
+ * @generated from rpc ct_logic_uni_rev_order.v1.LogicUniRevOrderInvoiceService.InsertInvoiceForOrder
134
+ */
135
+ readonly insertInvoiceForOrder: {
136
+ readonly name: "InsertInvoiceForOrder",
137
+ readonly I: typeof InsertInvoiceForOrderRequest,
138
+ readonly O: typeof InsertInvoiceForOrderResponse,
139
+ readonly kind: MethodKind.Unary,
140
+ },
141
+ /**
142
+ * @generated from rpc ct_logic_uni_rev_order.v1.LogicUniRevOrderInvoiceService.IssueInvoiceForOrder
143
+ */
144
+ readonly issueInvoiceForOrder: {
145
+ readonly name: "IssueInvoiceForOrder",
146
+ readonly I: typeof IssueInvoiceForOrderRequest,
147
+ readonly O: typeof IssueInvoiceForOrderResponse,
148
+ readonly kind: MethodKind.Unary,
149
+ },
150
+ /**
151
+ * @generated from rpc ct_logic_uni_rev_order.v1.LogicUniRevOrderInvoiceService.InvoiceCheckIssuance
152
+ */
153
+ readonly invoiceCheckIssuance: {
154
+ readonly name: "InvoiceCheckIssuance",
155
+ readonly I: typeof InvoiceCheckIssuanceRequest,
156
+ readonly O: typeof InvoiceCheckIssuanceResponse,
157
+ readonly kind: MethodKind.Unary,
158
+ },
159
+ /**
160
+ * @generated from rpc ct_logic_uni_rev_order.v1.LogicUniRevOrderInvoiceService.GetInvoicee
161
+ */
162
+ readonly getInvoicee: {
163
+ readonly name: "GetInvoicee",
164
+ readonly I: typeof GetInvoiceeRequest,
165
+ readonly O: typeof GetInvoiceeResponse,
166
+ readonly kind: MethodKind.Unary,
167
+ },
168
+ /**
169
+ * @generated from rpc ct_logic_uni_rev_order.v1.LogicUniRevOrderInvoiceService.SaveInvoicee
170
+ */
171
+ readonly saveInvoicee: {
172
+ readonly name: "SaveInvoicee",
173
+ readonly I: typeof SaveInvoiceeRequest,
174
+ readonly O: typeof SaveInvoiceeResponse,
175
+ readonly kind: MethodKind.Unary,
176
+ },
177
+ /**
178
+ * @generated from rpc ct_logic_uni_rev_order.v1.LogicUniRevOrderInvoiceService.FindFullInvoicesByConds
179
+ */
180
+ readonly findFullInvoicesByConds: {
181
+ readonly name: "FindFullInvoicesByConds",
182
+ readonly I: typeof FindFullInvoicesByCondsRequest,
183
+ readonly O: typeof FindFullInvoicesByCondsResponse,
184
+ readonly kind: MethodKind.Unary,
185
+ },
186
+ /**
187
+ * @generated from rpc ct_logic_uni_rev_order.v1.LogicUniRevOrderInvoiceService.GetInvoiceValidationRules
188
+ */
189
+ readonly getInvoiceValidationRules: {
190
+ readonly name: "GetInvoiceValidationRules",
191
+ readonly I: typeof GetInvoiceValidationRulesRequest,
192
+ readonly O: typeof GetInvoiceValidationRulesResponse,
193
+ readonly kind: MethodKind.Unary,
194
+ },
195
+ /**
196
+ * @generated from rpc ct_logic_uni_rev_order.v1.LogicUniRevOrderInvoiceService.PreValidateInvoice
197
+ */
198
+ readonly preValidateInvoice: {
199
+ readonly name: "PreValidateInvoice",
200
+ readonly I: typeof PreValidateInvoiceRequest,
201
+ readonly O: typeof PreValidateInvoiceResponse,
202
+ readonly kind: MethodKind.Unary,
203
+ },
204
+ /**
205
+ * @generated from rpc ct_logic_uni_rev_order.v1.LogicUniRevOrderInvoiceService.ExportInvoicesByDate
206
+ */
207
+ readonly exportInvoicesByDate: {
208
+ readonly name: "ExportInvoicesByDate",
209
+ readonly I: typeof ExportInvoicesByDateRequest,
210
+ readonly O: typeof ExportInvoicesByDateResponse,
211
+ readonly kind: MethodKind.Unary,
212
+ },
213
+ }
214
+ };
215
+
@@ -0,0 +1,215 @@
1
+ // @generated by protoc-gen-connect-es v1.0.0 with parameter "target=js+dts"
2
+ // @generated from file ct-logic-uni-rev-order/v1/invoice_service.proto (package ct_logic_uni_rev_order.v1, syntax proto3)
3
+ /* eslint-disable */
4
+ // @ts-nocheck
5
+
6
+ import { AddInvoiceRequest, AddInvoiceResponse, ExportInvoicesByDateRequest, ExportInvoicesByDateResponse, FindFullInvoicesByCondsRequest, FindFullInvoicesByCondsResponse, GetAllInvoiceTypeRequest, GetAllInvoiceTypeResponse, GetFullInvoicesForCSRequest, GetFullInvoicesForCSResponse, GetFullInvoicesRequest, GetFullInvoicesResponse, GetInvoiceeByOrderRequest, GetInvoiceeByOrderResponse, GetInvoiceeRequest, GetInvoiceeResponse, GetInvoiceesAndOrdersRequest, GetInvoiceesAndOrdersResponse, GetInvoiceHistoriesRequest, GetInvoiceHistoriesResponse, GetInvoiceRequest, GetInvoiceResponse, GetInvoiceValidationRulesRequest, GetInvoiceValidationRulesResponse, GetOrdersByDateRequest, GetOrdersByDateResponse, InsertInvoiceForOrderRequest, InsertInvoiceForOrderResponse, InvoiceCheckIssuanceRequest, InvoiceCheckIssuanceResponse, IssueCombinedInvoiceByDateRequest, IssueCombinedInvoiceByDateResponse, IssueInvoiceForOrderRequest, IssueInvoiceForOrderResponse, IssueInvoiceForOrdersRequest, IssueInvoiceForOrdersResponse, PreValidateInvoiceRequest, PreValidateInvoiceResponse, SaveInvoiceeRequest, SaveInvoiceeResponse, UpdateInvoiceTypeRequest, UpdateInvoiceTypeResponse, ValidateIssuableOrdersRequest, ValidateIssuableOrdersResponse } from "./invoice_pb.js";
7
+ import { MethodKind } from "@bufbuild/protobuf";
8
+
9
+ /**
10
+ * @generated from service ct_logic_uni_rev_order.v1.LogicUniRevOrderInvoiceService
11
+ */
12
+ export const LogicUniRevOrderInvoiceService = {
13
+ typeName: "ct_logic_uni_rev_order.v1.LogicUniRevOrderInvoiceService",
14
+ methods: {
15
+ /**
16
+ * @generated from rpc ct_logic_uni_rev_order.v1.LogicUniRevOrderInvoiceService.GetFullInvoices
17
+ */
18
+ getFullInvoices: {
19
+ name: "GetFullInvoices",
20
+ I: GetFullInvoicesRequest,
21
+ O: GetFullInvoicesResponse,
22
+ kind: MethodKind.Unary,
23
+ },
24
+ /**
25
+ * @generated from rpc ct_logic_uni_rev_order.v1.LogicUniRevOrderInvoiceService.GetFullInvoicesForCS
26
+ */
27
+ getFullInvoicesForCS: {
28
+ name: "GetFullInvoicesForCS",
29
+ I: GetFullInvoicesForCSRequest,
30
+ O: GetFullInvoicesForCSResponse,
31
+ kind: MethodKind.Unary,
32
+ },
33
+ /**
34
+ * @generated from rpc ct_logic_uni_rev_order.v1.LogicUniRevOrderInvoiceService.GetOrdersByDate
35
+ */
36
+ getOrdersByDate: {
37
+ name: "GetOrdersByDate",
38
+ I: GetOrdersByDateRequest,
39
+ O: GetOrdersByDateResponse,
40
+ kind: MethodKind.Unary,
41
+ },
42
+ /**
43
+ * @generated from rpc ct_logic_uni_rev_order.v1.LogicUniRevOrderInvoiceService.IssueCombinedInvoiceByDate
44
+ */
45
+ issueCombinedInvoiceByDate: {
46
+ name: "IssueCombinedInvoiceByDate",
47
+ I: IssueCombinedInvoiceByDateRequest,
48
+ O: IssueCombinedInvoiceByDateResponse,
49
+ kind: MethodKind.Unary,
50
+ },
51
+ /**
52
+ * @generated from rpc ct_logic_uni_rev_order.v1.LogicUniRevOrderInvoiceService.GetAllInvoiceType
53
+ */
54
+ getAllInvoiceType: {
55
+ name: "GetAllInvoiceType",
56
+ I: GetAllInvoiceTypeRequest,
57
+ O: GetAllInvoiceTypeResponse,
58
+ kind: MethodKind.Unary,
59
+ },
60
+ /**
61
+ * @generated from rpc ct_logic_uni_rev_order.v1.LogicUniRevOrderInvoiceService.UpdateInvoiceType
62
+ */
63
+ updateInvoiceType: {
64
+ name: "UpdateInvoiceType",
65
+ I: UpdateInvoiceTypeRequest,
66
+ O: UpdateInvoiceTypeResponse,
67
+ kind: MethodKind.Unary,
68
+ },
69
+ /**
70
+ * @generated from rpc ct_logic_uni_rev_order.v1.LogicUniRevOrderInvoiceService.GetInvoice
71
+ */
72
+ getInvoice: {
73
+ name: "GetInvoice",
74
+ I: GetInvoiceRequest,
75
+ O: GetInvoiceResponse,
76
+ kind: MethodKind.Unary,
77
+ },
78
+ /**
79
+ * @generated from rpc ct_logic_uni_rev_order.v1.LogicUniRevOrderInvoiceService.AddInvoice
80
+ */
81
+ addInvoice: {
82
+ name: "AddInvoice",
83
+ I: AddInvoiceRequest,
84
+ O: AddInvoiceResponse,
85
+ kind: MethodKind.Unary,
86
+ },
87
+ /**
88
+ * @generated from rpc ct_logic_uni_rev_order.v1.LogicUniRevOrderInvoiceService.GetInvoiceHistories
89
+ */
90
+ getInvoiceHistories: {
91
+ name: "GetInvoiceHistories",
92
+ I: GetInvoiceHistoriesRequest,
93
+ O: GetInvoiceHistoriesResponse,
94
+ kind: MethodKind.Unary,
95
+ },
96
+ /**
97
+ * @generated from rpc ct_logic_uni_rev_order.v1.LogicUniRevOrderInvoiceService.ValidateIssuableOrders
98
+ */
99
+ validateIssuableOrders: {
100
+ name: "ValidateIssuableOrders",
101
+ I: ValidateIssuableOrdersRequest,
102
+ O: ValidateIssuableOrdersResponse,
103
+ kind: MethodKind.Unary,
104
+ },
105
+ /**
106
+ * @generated from rpc ct_logic_uni_rev_order.v1.LogicUniRevOrderInvoiceService.IssueInvoiceForOrders
107
+ */
108
+ issueInvoiceForOrders: {
109
+ name: "IssueInvoiceForOrders",
110
+ I: IssueInvoiceForOrdersRequest,
111
+ O: IssueInvoiceForOrdersResponse,
112
+ kind: MethodKind.Unary,
113
+ },
114
+ /**
115
+ * @generated from rpc ct_logic_uni_rev_order.v1.LogicUniRevOrderInvoiceService.GetInvoiceeByOrder
116
+ */
117
+ getInvoiceeByOrder: {
118
+ name: "GetInvoiceeByOrder",
119
+ I: GetInvoiceeByOrderRequest,
120
+ O: GetInvoiceeByOrderResponse,
121
+ kind: MethodKind.Unary,
122
+ },
123
+ /**
124
+ * @generated from rpc ct_logic_uni_rev_order.v1.LogicUniRevOrderInvoiceService.GetInvoiceesAndOrders
125
+ */
126
+ getInvoiceesAndOrders: {
127
+ name: "GetInvoiceesAndOrders",
128
+ I: GetInvoiceesAndOrdersRequest,
129
+ O: GetInvoiceesAndOrdersResponse,
130
+ kind: MethodKind.Unary,
131
+ },
132
+ /**
133
+ * @generated from rpc ct_logic_uni_rev_order.v1.LogicUniRevOrderInvoiceService.InsertInvoiceForOrder
134
+ */
135
+ insertInvoiceForOrder: {
136
+ name: "InsertInvoiceForOrder",
137
+ I: InsertInvoiceForOrderRequest,
138
+ O: InsertInvoiceForOrderResponse,
139
+ kind: MethodKind.Unary,
140
+ },
141
+ /**
142
+ * @generated from rpc ct_logic_uni_rev_order.v1.LogicUniRevOrderInvoiceService.IssueInvoiceForOrder
143
+ */
144
+ issueInvoiceForOrder: {
145
+ name: "IssueInvoiceForOrder",
146
+ I: IssueInvoiceForOrderRequest,
147
+ O: IssueInvoiceForOrderResponse,
148
+ kind: MethodKind.Unary,
149
+ },
150
+ /**
151
+ * @generated from rpc ct_logic_uni_rev_order.v1.LogicUniRevOrderInvoiceService.InvoiceCheckIssuance
152
+ */
153
+ invoiceCheckIssuance: {
154
+ name: "InvoiceCheckIssuance",
155
+ I: InvoiceCheckIssuanceRequest,
156
+ O: InvoiceCheckIssuanceResponse,
157
+ kind: MethodKind.Unary,
158
+ },
159
+ /**
160
+ * @generated from rpc ct_logic_uni_rev_order.v1.LogicUniRevOrderInvoiceService.GetInvoicee
161
+ */
162
+ getInvoicee: {
163
+ name: "GetInvoicee",
164
+ I: GetInvoiceeRequest,
165
+ O: GetInvoiceeResponse,
166
+ kind: MethodKind.Unary,
167
+ },
168
+ /**
169
+ * @generated from rpc ct_logic_uni_rev_order.v1.LogicUniRevOrderInvoiceService.SaveInvoicee
170
+ */
171
+ saveInvoicee: {
172
+ name: "SaveInvoicee",
173
+ I: SaveInvoiceeRequest,
174
+ O: SaveInvoiceeResponse,
175
+ kind: MethodKind.Unary,
176
+ },
177
+ /**
178
+ * @generated from rpc ct_logic_uni_rev_order.v1.LogicUniRevOrderInvoiceService.FindFullInvoicesByConds
179
+ */
180
+ findFullInvoicesByConds: {
181
+ name: "FindFullInvoicesByConds",
182
+ I: FindFullInvoicesByCondsRequest,
183
+ O: FindFullInvoicesByCondsResponse,
184
+ kind: MethodKind.Unary,
185
+ },
186
+ /**
187
+ * @generated from rpc ct_logic_uni_rev_order.v1.LogicUniRevOrderInvoiceService.GetInvoiceValidationRules
188
+ */
189
+ getInvoiceValidationRules: {
190
+ name: "GetInvoiceValidationRules",
191
+ I: GetInvoiceValidationRulesRequest,
192
+ O: GetInvoiceValidationRulesResponse,
193
+ kind: MethodKind.Unary,
194
+ },
195
+ /**
196
+ * @generated from rpc ct_logic_uni_rev_order.v1.LogicUniRevOrderInvoiceService.PreValidateInvoice
197
+ */
198
+ preValidateInvoice: {
199
+ name: "PreValidateInvoice",
200
+ I: PreValidateInvoiceRequest,
201
+ O: PreValidateInvoiceResponse,
202
+ kind: MethodKind.Unary,
203
+ },
204
+ /**
205
+ * @generated from rpc ct_logic_uni_rev_order.v1.LogicUniRevOrderInvoiceService.ExportInvoicesByDate
206
+ */
207
+ exportInvoicesByDate: {
208
+ name: "ExportInvoicesByDate",
209
+ I: ExportInvoicesByDateRequest,
210
+ O: ExportInvoicesByDateResponse,
211
+ kind: MethodKind.Unary,
212
+ },
213
+ }
214
+ };
215
+