@kernelminds/scailo-sdk 0.1.15 → 0.1.17

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 (49) hide show
  1. package/lib/cjs/src/base.scailo_pb.js +35 -2
  2. package/lib/cjs/src/equations_families.scailo_connect.js +11 -0
  3. package/lib/cjs/src/inventory.scailo_connect.js +12 -1
  4. package/lib/cjs/src/inventory.scailo_pb.js +34 -1
  5. package/lib/cjs/src/purchases_payments.scailo_connect.js +32 -1
  6. package/lib/cjs/src/purchases_payments.scailo_pb.js +68 -28
  7. package/lib/cjs/src/sales_receipts.scailo_connect.js +37 -6
  8. package/lib/cjs/src/sales_receipts.scailo_pb.js +137 -97
  9. package/lib/cjs/types/src/base.scailo_pb.d.ts +26 -0
  10. package/lib/cjs/types/src/base.scailo_pb.d.ts.map +1 -1
  11. package/lib/cjs/types/src/equations_families.scailo_connect.d.ts +11 -0
  12. package/lib/cjs/types/src/equations_families.scailo_connect.d.ts.map +1 -1
  13. package/lib/cjs/types/src/inventory.scailo_connect.d.ts +14 -3
  14. package/lib/cjs/types/src/inventory.scailo_connect.d.ts.map +1 -1
  15. package/lib/cjs/types/src/inventory.scailo_pb.d.ts +19 -0
  16. package/lib/cjs/types/src/inventory.scailo_pb.d.ts.map +1 -1
  17. package/lib/cjs/types/src/purchases_payments.scailo_connect.d.ts +33 -2
  18. package/lib/cjs/types/src/purchases_payments.scailo_connect.d.ts.map +1 -1
  19. package/lib/cjs/types/src/purchases_payments.scailo_pb.d.ts +51 -19
  20. package/lib/cjs/types/src/purchases_payments.scailo_pb.d.ts.map +1 -1
  21. package/lib/cjs/types/src/sales_receipts.scailo_connect.d.ts +39 -8
  22. package/lib/cjs/types/src/sales_receipts.scailo_connect.d.ts.map +1 -1
  23. package/lib/cjs/types/src/sales_receipts.scailo_pb.d.ts +99 -67
  24. package/lib/cjs/types/src/sales_receipts.scailo_pb.d.ts.map +1 -1
  25. package/lib/esm/src/base.scailo_pb.js +35 -2
  26. package/lib/esm/src/equations_families.scailo_connect.js +11 -0
  27. package/lib/esm/src/inventory.scailo_connect.js +12 -1
  28. package/lib/esm/src/inventory.scailo_pb.js +34 -1
  29. package/lib/esm/src/purchases_payments.scailo_connect.js +32 -1
  30. package/lib/esm/src/purchases_payments.scailo_pb.js +68 -28
  31. package/lib/esm/src/sales_receipts.scailo_connect.js +37 -6
  32. package/lib/esm/src/sales_receipts.scailo_pb.js +134 -94
  33. package/lib/esm/types/src/base.scailo_pb.d.ts +26 -0
  34. package/lib/esm/types/src/base.scailo_pb.d.ts.map +1 -1
  35. package/lib/esm/types/src/equations_families.scailo_connect.d.ts +11 -0
  36. package/lib/esm/types/src/equations_families.scailo_connect.d.ts.map +1 -1
  37. package/lib/esm/types/src/inventory.scailo_connect.d.ts +14 -3
  38. package/lib/esm/types/src/inventory.scailo_connect.d.ts.map +1 -1
  39. package/lib/esm/types/src/inventory.scailo_pb.d.ts +19 -0
  40. package/lib/esm/types/src/inventory.scailo_pb.d.ts.map +1 -1
  41. package/lib/esm/types/src/purchases_payments.scailo_connect.d.ts +33 -2
  42. package/lib/esm/types/src/purchases_payments.scailo_connect.d.ts.map +1 -1
  43. package/lib/esm/types/src/purchases_payments.scailo_pb.d.ts +51 -19
  44. package/lib/esm/types/src/purchases_payments.scailo_pb.d.ts.map +1 -1
  45. package/lib/esm/types/src/sales_receipts.scailo_connect.d.ts +39 -8
  46. package/lib/esm/types/src/sales_receipts.scailo_connect.d.ts.map +1 -1
  47. package/lib/esm/types/src/sales_receipts.scailo_pb.d.ts +99 -67
  48. package/lib/esm/types/src/sales_receipts.scailo_pb.d.ts.map +1 -1
  49. package/package.json +1 -1
@@ -4,90 +4,130 @@
4
4
  /* eslint-disable */
5
5
  // @ts-nocheck
6
6
  Object.defineProperty(exports, "__esModule", { value: true });
7
- exports.SalesReceiptsServiceSearchAllReq = exports.SalesReceiptsServiceCountReq = exports.SalesReceiptsServiceFilterReq = exports.SalesReceiptsServicePaginationResponse = exports.SalesReceiptsServicePaginationReq = exports.SalesReceiptsList = exports.SaleReceipt = exports.SaleReceiptAncillaryParameters = exports.SalesReceiptsServiceUpdateRequest = exports.SalesReceiptsServiceCreateRequest = exports.SALE_RECEIPT_SORT_KEY = void 0;
7
+ exports.SalesReceiptsServiceSearchAllReq = exports.SalesReceiptsServiceCountReq = exports.SalesReceiptsServiceFilterReq = exports.SalesReceiptsServicePaginationResponse = exports.SalesReceiptsServicePaginationReq = exports.SalesReceiptsList = exports.SalesReceipt = exports.SalesReceiptAncillaryParameters = exports.SalesReceiptsServiceUpdateRequest = exports.SalesReceiptsServiceCreateRequest = exports.SALES_RECEIPT_SORT_KEY = exports.SALES_RECEIPT_REF_FROM = void 0;
8
8
  const protobuf_1 = require("@bufbuild/protobuf");
9
9
  const base_scailo_pb_js_1 = require("./base.scailo_pb.js");
10
+ /**
11
+ *
12
+ * Stores all the possible references from which a sales receipt can be added
13
+ *
14
+ * @generated from enum Scailo.SALES_RECEIPT_REF_FROM
15
+ */
16
+ var SALES_RECEIPT_REF_FROM;
17
+ (function (SALES_RECEIPT_REF_FROM) {
18
+ /**
19
+ * Used only in filters
20
+ *
21
+ * @generated from enum value: SALES_RECEIPT_REF_FROM_ANY_UNSPECIFIED = 0;
22
+ */
23
+ SALES_RECEIPT_REF_FROM[SALES_RECEIPT_REF_FROM["SALES_RECEIPT_REF_FROM_ANY_UNSPECIFIED"] = 0] = "SALES_RECEIPT_REF_FROM_ANY_UNSPECIFIED";
24
+ /**
25
+ * Denotes that the sales receipt originated from a sales order
26
+ *
27
+ * @generated from enum value: SALES_RECEIPT_REF_FROM_SALES_ORDER = 1;
28
+ */
29
+ SALES_RECEIPT_REF_FROM[SALES_RECEIPT_REF_FROM["SALES_RECEIPT_REF_FROM_SALES_ORDER"] = 1] = "SALES_RECEIPT_REF_FROM_SALES_ORDER";
30
+ /**
31
+ * Denotes that the sales receipt originated from a sales invoice
32
+ *
33
+ * @generated from enum value: SALES_RECEIPT_REF_FROM_SALES_INVOICE = 2;
34
+ */
35
+ SALES_RECEIPT_REF_FROM[SALES_RECEIPT_REF_FROM["SALES_RECEIPT_REF_FROM_SALES_INVOICE"] = 2] = "SALES_RECEIPT_REF_FROM_SALES_INVOICE";
36
+ /**
37
+ * Denotes that the sales receipt originated from a credit note
38
+ *
39
+ * @generated from enum value: SALES_RECEIPT_REF_FROM_CREDIT_NOTE = 3;
40
+ */
41
+ SALES_RECEIPT_REF_FROM[SALES_RECEIPT_REF_FROM["SALES_RECEIPT_REF_FROM_CREDIT_NOTE"] = 3] = "SALES_RECEIPT_REF_FROM_CREDIT_NOTE";
42
+ })(SALES_RECEIPT_REF_FROM || (exports.SALES_RECEIPT_REF_FROM = SALES_RECEIPT_REF_FROM = {}));
43
+ // Retrieve enum metadata with: proto3.getEnumType(SALES_RECEIPT_REF_FROM)
44
+ protobuf_1.proto3.util.setEnumType(SALES_RECEIPT_REF_FROM, "Scailo.SALES_RECEIPT_REF_FROM", [
45
+ { no: 0, name: "SALES_RECEIPT_REF_FROM_ANY_UNSPECIFIED" },
46
+ { no: 1, name: "SALES_RECEIPT_REF_FROM_SALES_ORDER" },
47
+ { no: 2, name: "SALES_RECEIPT_REF_FROM_SALES_INVOICE" },
48
+ { no: 3, name: "SALES_RECEIPT_REF_FROM_CREDIT_NOTE" },
49
+ ]);
10
50
  /**
11
51
  *
12
52
  * Describes the available sort keys
13
53
  *
14
- * @generated from enum Scailo.SALE_RECEIPT_SORT_KEY
54
+ * @generated from enum Scailo.SALES_RECEIPT_SORT_KEY
15
55
  */
16
- var SALE_RECEIPT_SORT_KEY;
17
- (function (SALE_RECEIPT_SORT_KEY) {
56
+ var SALES_RECEIPT_SORT_KEY;
57
+ (function (SALES_RECEIPT_SORT_KEY) {
18
58
  /**
19
59
  * Fetch ordered results by id
20
60
  *
21
- * @generated from enum value: SALE_RECEIPT_SORT_KEY_ID_UNSPECIFIED = 0;
61
+ * @generated from enum value: SALES_RECEIPT_SORT_KEY_ID_UNSPECIFIED = 0;
22
62
  */
23
- SALE_RECEIPT_SORT_KEY[SALE_RECEIPT_SORT_KEY["SALE_RECEIPT_SORT_KEY_ID_UNSPECIFIED"] = 0] = "SALE_RECEIPT_SORT_KEY_ID_UNSPECIFIED";
63
+ SALES_RECEIPT_SORT_KEY[SALES_RECEIPT_SORT_KEY["SALES_RECEIPT_SORT_KEY_ID_UNSPECIFIED"] = 0] = "SALES_RECEIPT_SORT_KEY_ID_UNSPECIFIED";
24
64
  /**
25
65
  * Fetch ordered results by the creation timestamp
26
66
  *
27
- * @generated from enum value: SALE_RECEIPT_SORT_KEY_CREATED_AT = 1;
67
+ * @generated from enum value: SALES_RECEIPT_SORT_KEY_CREATED_AT = 1;
28
68
  */
29
- SALE_RECEIPT_SORT_KEY[SALE_RECEIPT_SORT_KEY["SALE_RECEIPT_SORT_KEY_CREATED_AT"] = 1] = "SALE_RECEIPT_SORT_KEY_CREATED_AT";
69
+ SALES_RECEIPT_SORT_KEY[SALES_RECEIPT_SORT_KEY["SALES_RECEIPT_SORT_KEY_CREATED_AT"] = 1] = "SALES_RECEIPT_SORT_KEY_CREATED_AT";
30
70
  /**
31
71
  * Fetch ordered results by the modified timestamp
32
72
  *
33
- * @generated from enum value: SALE_RECEIPT_SORT_KEY_MODIFIED_AT = 2;
73
+ * @generated from enum value: SALES_RECEIPT_SORT_KEY_MODIFIED_AT = 2;
34
74
  */
35
- SALE_RECEIPT_SORT_KEY[SALE_RECEIPT_SORT_KEY["SALE_RECEIPT_SORT_KEY_MODIFIED_AT"] = 2] = "SALE_RECEIPT_SORT_KEY_MODIFIED_AT";
75
+ SALES_RECEIPT_SORT_KEY[SALES_RECEIPT_SORT_KEY["SALES_RECEIPT_SORT_KEY_MODIFIED_AT"] = 2] = "SALES_RECEIPT_SORT_KEY_MODIFIED_AT";
36
76
  /**
37
77
  * Fetch ordered results by the approved on timestamp
38
78
  *
39
- * @generated from enum value: SALE_RECEIPT_SORT_KEY_APPROVED_ON = 3;
79
+ * @generated from enum value: SALES_RECEIPT_SORT_KEY_APPROVED_ON = 3;
40
80
  */
41
- SALE_RECEIPT_SORT_KEY[SALE_RECEIPT_SORT_KEY["SALE_RECEIPT_SORT_KEY_APPROVED_ON"] = 3] = "SALE_RECEIPT_SORT_KEY_APPROVED_ON";
81
+ SALES_RECEIPT_SORT_KEY[SALES_RECEIPT_SORT_KEY["SALES_RECEIPT_SORT_KEY_APPROVED_ON"] = 3] = "SALES_RECEIPT_SORT_KEY_APPROVED_ON";
42
82
  /**
43
83
  * Fetch ordered results by the approved by field
44
84
  *
45
- * @generated from enum value: SALE_RECEIPT_SORT_KEY_APPROVED_BY = 4;
85
+ * @generated from enum value: SALES_RECEIPT_SORT_KEY_APPROVED_BY = 4;
46
86
  */
47
- SALE_RECEIPT_SORT_KEY[SALE_RECEIPT_SORT_KEY["SALE_RECEIPT_SORT_KEY_APPROVED_BY"] = 4] = "SALE_RECEIPT_SORT_KEY_APPROVED_BY";
87
+ SALES_RECEIPT_SORT_KEY[SALES_RECEIPT_SORT_KEY["SALES_RECEIPT_SORT_KEY_APPROVED_BY"] = 4] = "SALES_RECEIPT_SORT_KEY_APPROVED_BY";
48
88
  /**
49
89
  * Fetch ordered results by the approver's role ID
50
90
  *
51
- * @generated from enum value: SALE_RECEIPT_SORT_KEY_APPROVER_ROLE_ID = 5;
91
+ * @generated from enum value: SALES_RECEIPT_SORT_KEY_APPROVER_ROLE_ID = 5;
52
92
  */
53
- SALE_RECEIPT_SORT_KEY[SALE_RECEIPT_SORT_KEY["SALE_RECEIPT_SORT_KEY_APPROVER_ROLE_ID"] = 5] = "SALE_RECEIPT_SORT_KEY_APPROVER_ROLE_ID";
93
+ SALES_RECEIPT_SORT_KEY[SALES_RECEIPT_SORT_KEY["SALES_RECEIPT_SORT_KEY_APPROVER_ROLE_ID"] = 5] = "SALES_RECEIPT_SORT_KEY_APPROVER_ROLE_ID";
54
94
  /**
55
95
  * Fetch ordered results by the approver's completed on timestamp
56
96
  *
57
- * @generated from enum value: SALE_RECEIPT_SORT_KEY_COMPLETED_ON = 6;
97
+ * @generated from enum value: SALES_RECEIPT_SORT_KEY_COMPLETED_ON = 6;
58
98
  */
59
- SALE_RECEIPT_SORT_KEY[SALE_RECEIPT_SORT_KEY["SALE_RECEIPT_SORT_KEY_COMPLETED_ON"] = 6] = "SALE_RECEIPT_SORT_KEY_COMPLETED_ON";
99
+ SALES_RECEIPT_SORT_KEY[SALES_RECEIPT_SORT_KEY["SALES_RECEIPT_SORT_KEY_COMPLETED_ON"] = 6] = "SALES_RECEIPT_SORT_KEY_COMPLETED_ON";
60
100
  /**
61
101
  * Fetch ordered results by the reference ID
62
102
  *
63
- * @generated from enum value: SALE_RECEIPT_SORT_KEY_REFERENCE_ID = 10;
103
+ * @generated from enum value: SALES_RECEIPT_SORT_KEY_REFERENCE_ID = 10;
64
104
  */
65
- SALE_RECEIPT_SORT_KEY[SALE_RECEIPT_SORT_KEY["SALE_RECEIPT_SORT_KEY_REFERENCE_ID"] = 10] = "SALE_RECEIPT_SORT_KEY_REFERENCE_ID";
105
+ SALES_RECEIPT_SORT_KEY[SALES_RECEIPT_SORT_KEY["SALES_RECEIPT_SORT_KEY_REFERENCE_ID"] = 10] = "SALES_RECEIPT_SORT_KEY_REFERENCE_ID";
66
106
  /**
67
107
  * Fetch ordered results by the final ref number
68
108
  *
69
- * @generated from enum value: SALE_RECEIPT_SORT_KEY_FINAL_REF_NUMBER = 11;
109
+ * @generated from enum value: SALES_RECEIPT_SORT_KEY_FINAL_REF_NUMBER = 11;
70
110
  */
71
- SALE_RECEIPT_SORT_KEY[SALE_RECEIPT_SORT_KEY["SALE_RECEIPT_SORT_KEY_FINAL_REF_NUMBER"] = 11] = "SALE_RECEIPT_SORT_KEY_FINAL_REF_NUMBER";
111
+ SALES_RECEIPT_SORT_KEY[SALES_RECEIPT_SORT_KEY["SALES_RECEIPT_SORT_KEY_FINAL_REF_NUMBER"] = 11] = "SALES_RECEIPT_SORT_KEY_FINAL_REF_NUMBER";
72
112
  /**
73
113
  * Fetch ordered results by the payment timestamp
74
114
  *
75
- * @generated from enum value: SALE_RECEIPT_SORT_KEY_PAYMENT_TIMESTAMP = 12;
115
+ * @generated from enum value: SALES_RECEIPT_SORT_KEY_PAYMENT_TIMESTAMP = 12;
76
116
  */
77
- SALE_RECEIPT_SORT_KEY[SALE_RECEIPT_SORT_KEY["SALE_RECEIPT_SORT_KEY_PAYMENT_TIMESTAMP"] = 12] = "SALE_RECEIPT_SORT_KEY_PAYMENT_TIMESTAMP";
78
- })(SALE_RECEIPT_SORT_KEY || (exports.SALE_RECEIPT_SORT_KEY = SALE_RECEIPT_SORT_KEY = {}));
79
- // Retrieve enum metadata with: proto3.getEnumType(SALE_RECEIPT_SORT_KEY)
80
- protobuf_1.proto3.util.setEnumType(SALE_RECEIPT_SORT_KEY, "Scailo.SALE_RECEIPT_SORT_KEY", [
81
- { no: 0, name: "SALE_RECEIPT_SORT_KEY_ID_UNSPECIFIED" },
82
- { no: 1, name: "SALE_RECEIPT_SORT_KEY_CREATED_AT" },
83
- { no: 2, name: "SALE_RECEIPT_SORT_KEY_MODIFIED_AT" },
84
- { no: 3, name: "SALE_RECEIPT_SORT_KEY_APPROVED_ON" },
85
- { no: 4, name: "SALE_RECEIPT_SORT_KEY_APPROVED_BY" },
86
- { no: 5, name: "SALE_RECEIPT_SORT_KEY_APPROVER_ROLE_ID" },
87
- { no: 6, name: "SALE_RECEIPT_SORT_KEY_COMPLETED_ON" },
88
- { no: 10, name: "SALE_RECEIPT_SORT_KEY_REFERENCE_ID" },
89
- { no: 11, name: "SALE_RECEIPT_SORT_KEY_FINAL_REF_NUMBER" },
90
- { no: 12, name: "SALE_RECEIPT_SORT_KEY_PAYMENT_TIMESTAMP" },
117
+ SALES_RECEIPT_SORT_KEY[SALES_RECEIPT_SORT_KEY["SALES_RECEIPT_SORT_KEY_PAYMENT_TIMESTAMP"] = 12] = "SALES_RECEIPT_SORT_KEY_PAYMENT_TIMESTAMP";
118
+ })(SALES_RECEIPT_SORT_KEY || (exports.SALES_RECEIPT_SORT_KEY = SALES_RECEIPT_SORT_KEY = {}));
119
+ // Retrieve enum metadata with: proto3.getEnumType(SALES_RECEIPT_SORT_KEY)
120
+ protobuf_1.proto3.util.setEnumType(SALES_RECEIPT_SORT_KEY, "Scailo.SALES_RECEIPT_SORT_KEY", [
121
+ { no: 0, name: "SALES_RECEIPT_SORT_KEY_ID_UNSPECIFIED" },
122
+ { no: 1, name: "SALES_RECEIPT_SORT_KEY_CREATED_AT" },
123
+ { no: 2, name: "SALES_RECEIPT_SORT_KEY_MODIFIED_AT" },
124
+ { no: 3, name: "SALES_RECEIPT_SORT_KEY_APPROVED_ON" },
125
+ { no: 4, name: "SALES_RECEIPT_SORT_KEY_APPROVED_BY" },
126
+ { no: 5, name: "SALES_RECEIPT_SORT_KEY_APPROVER_ROLE_ID" },
127
+ { no: 6, name: "SALES_RECEIPT_SORT_KEY_COMPLETED_ON" },
128
+ { no: 10, name: "SALES_RECEIPT_SORT_KEY_REFERENCE_ID" },
129
+ { no: 11, name: "SALES_RECEIPT_SORT_KEY_FINAL_REF_NUMBER" },
130
+ { no: 12, name: "SALES_RECEIPT_SORT_KEY_PAYMENT_TIMESTAMP" },
91
131
  ]);
92
132
  /**
93
133
  *
@@ -125,9 +165,9 @@ class SalesReceiptsServiceCreateRequest extends protobuf_1.Message {
125
165
  /**
126
166
  * The reference on which the sales receipt has been created
127
167
  *
128
- * @generated from field: string ref_from = 12;
168
+ * @generated from field: Scailo.SALES_RECEIPT_REF_FROM ref_from = 12;
129
169
  */
130
- this.refFrom = "";
170
+ this.refFrom = SALES_RECEIPT_REF_FROM.SALES_RECEIPT_REF_FROM_ANY_UNSPECIFIED;
131
171
  /**
132
172
  * The ID of the associated reference
133
173
  *
@@ -149,9 +189,9 @@ class SalesReceiptsServiceCreateRequest extends protobuf_1.Message {
149
189
  /**
150
190
  * The type of the transaction
151
191
  *
152
- * @generated from field: string transaction_type = 17;
192
+ * @generated from field: Scailo.TRANSACTION_TYPE transaction_type = 17;
153
193
  */
154
- this.transactionType = "";
194
+ this.transactionType = base_scailo_pb_js_1.TRANSACTION_TYPE.TRANSACTION_TYPE_ANY_UNSPECIFIED;
155
195
  /**
156
196
  * The initial amount in cents, without any deductions
157
197
  *
@@ -199,11 +239,11 @@ SalesReceiptsServiceCreateRequest.fields = protobuf_1.proto3.util.newFieldList((
199
239
  { no: 2, name: "user_comment", kind: "scalar", T: 9 /* ScalarType.STRING */ },
200
240
  { no: 9, name: "vault_folder_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
201
241
  { no: 10, name: "reference_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
202
- { no: 12, name: "ref_from", kind: "scalar", T: 9 /* ScalarType.STRING */ },
242
+ { no: 12, name: "ref_from", kind: "enum", T: protobuf_1.proto3.getEnumType(SALES_RECEIPT_REF_FROM) },
203
243
  { no: 13, name: "ref_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
204
244
  { no: 15, name: "bank_account_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
205
245
  { no: 16, name: "currency_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
206
- { no: 17, name: "transaction_type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
246
+ { no: 17, name: "transaction_type", kind: "enum", T: protobuf_1.proto3.getEnumType(base_scailo_pb_js_1.TRANSACTION_TYPE) },
207
247
  { no: 18, name: "amount_base", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
208
248
  { no: 19, name: "amount_net", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
209
249
  { no: 20, name: "payment_timestamp", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
@@ -263,9 +303,9 @@ class SalesReceiptsServiceUpdateRequest extends protobuf_1.Message {
263
303
  /**
264
304
  * The type of the transaction
265
305
  *
266
- * @generated from field: string transaction_type = 17;
306
+ * @generated from field: Scailo.TRANSACTION_TYPE transaction_type = 17;
267
307
  */
268
- this.transactionType = "";
308
+ this.transactionType = base_scailo_pb_js_1.TRANSACTION_TYPE.TRANSACTION_TYPE_ANY_UNSPECIFIED;
269
309
  /**
270
310
  * The initial amount in cents, without any deductions
271
311
  *
@@ -316,7 +356,7 @@ SalesReceiptsServiceUpdateRequest.fields = protobuf_1.proto3.util.newFieldList((
316
356
  { no: 10, name: "reference_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
317
357
  { no: 15, name: "bank_account_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
318
358
  { no: 16, name: "currency_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
319
- { no: 17, name: "transaction_type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
359
+ { no: 17, name: "transaction_type", kind: "enum", T: protobuf_1.proto3.getEnumType(base_scailo_pb_js_1.TRANSACTION_TYPE) },
320
360
  { no: 18, name: "amount_base", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
321
361
  { no: 19, name: "amount_net", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
322
362
  { no: 20, name: "payment_timestamp", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
@@ -326,9 +366,9 @@ SalesReceiptsServiceUpdateRequest.fields = protobuf_1.proto3.util.newFieldList((
326
366
  *
327
367
  * Stores the UUID references of the record
328
368
  *
329
- * @generated from message Scailo.SaleReceiptAncillaryParameters
369
+ * @generated from message Scailo.SalesReceiptAncillaryParameters
330
370
  */
331
- class SaleReceiptAncillaryParameters extends protobuf_1.Message {
371
+ class SalesReceiptAncillaryParameters extends protobuf_1.Message {
332
372
  constructor(data) {
333
373
  super();
334
374
  /**
@@ -358,22 +398,22 @@ class SaleReceiptAncillaryParameters extends protobuf_1.Message {
358
398
  protobuf_1.proto3.util.initPartial(data, this);
359
399
  }
360
400
  static fromBinary(bytes, options) {
361
- return new SaleReceiptAncillaryParameters().fromBinary(bytes, options);
401
+ return new SalesReceiptAncillaryParameters().fromBinary(bytes, options);
362
402
  }
363
403
  static fromJson(jsonValue, options) {
364
- return new SaleReceiptAncillaryParameters().fromJson(jsonValue, options);
404
+ return new SalesReceiptAncillaryParameters().fromJson(jsonValue, options);
365
405
  }
366
406
  static fromJsonString(jsonString, options) {
367
- return new SaleReceiptAncillaryParameters().fromJsonString(jsonString, options);
407
+ return new SalesReceiptAncillaryParameters().fromJsonString(jsonString, options);
368
408
  }
369
409
  static equals(a, b) {
370
- return protobuf_1.proto3.util.equals(SaleReceiptAncillaryParameters, a, b);
410
+ return protobuf_1.proto3.util.equals(SalesReceiptAncillaryParameters, a, b);
371
411
  }
372
412
  }
373
- exports.SaleReceiptAncillaryParameters = SaleReceiptAncillaryParameters;
374
- SaleReceiptAncillaryParameters.runtime = protobuf_1.proto3;
375
- SaleReceiptAncillaryParameters.typeName = "Scailo.SaleReceiptAncillaryParameters";
376
- SaleReceiptAncillaryParameters.fields = protobuf_1.proto3.util.newFieldList(() => [
413
+ exports.SalesReceiptAncillaryParameters = SalesReceiptAncillaryParameters;
414
+ SalesReceiptAncillaryParameters.runtime = protobuf_1.proto3;
415
+ SalesReceiptAncillaryParameters.typeName = "Scailo.SalesReceiptAncillaryParameters";
416
+ SalesReceiptAncillaryParameters.fields = protobuf_1.proto3.util.newFieldList(() => [
377
417
  { no: 213, name: "ref_uuid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
378
418
  { no: 214, name: "client_uuid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
379
419
  { no: 215, name: "bank_account_uuid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
@@ -383,9 +423,9 @@ SaleReceiptAncillaryParameters.fields = protobuf_1.proto3.util.newFieldList(() =
383
423
  *
384
424
  * Describes the parameters that are part of a standard response
385
425
  *
386
- * @generated from message Scailo.SaleReceipt
426
+ * @generated from message Scailo.SalesReceipt
387
427
  */
388
- class SaleReceipt extends protobuf_1.Message {
428
+ class SalesReceipt extends protobuf_1.Message {
389
429
  constructor(data) {
390
430
  super();
391
431
  /**
@@ -433,9 +473,9 @@ class SaleReceipt extends protobuf_1.Message {
433
473
  /**
434
474
  * The reference on which the sales receipt has been created
435
475
  *
436
- * @generated from field: string ref_from = 12;
476
+ * @generated from field: Scailo.SALES_RECEIPT_REF_FROM ref_from = 12;
437
477
  */
438
- this.refFrom = "";
478
+ this.refFrom = SALES_RECEIPT_REF_FROM.SALES_RECEIPT_REF_FROM_ANY_UNSPECIFIED;
439
479
  /**
440
480
  * The ID of the associated reference
441
481
  *
@@ -463,9 +503,9 @@ class SaleReceipt extends protobuf_1.Message {
463
503
  /**
464
504
  * The type of the transaction
465
505
  *
466
- * @generated from field: string transaction_type = 17;
506
+ * @generated from field: Scailo.TRANSACTION_TYPE transaction_type = 17;
467
507
  */
468
- this.transactionType = "";
508
+ this.transactionType = base_scailo_pb_js_1.TRANSACTION_TYPE.TRANSACTION_TYPE_ANY_UNSPECIFIED;
469
509
  /**
470
510
  * The initial amount in cents, without any deductions
471
511
  *
@@ -493,22 +533,22 @@ class SaleReceipt extends protobuf_1.Message {
493
533
  protobuf_1.proto3.util.initPartial(data, this);
494
534
  }
495
535
  static fromBinary(bytes, options) {
496
- return new SaleReceipt().fromBinary(bytes, options);
536
+ return new SalesReceipt().fromBinary(bytes, options);
497
537
  }
498
538
  static fromJson(jsonValue, options) {
499
- return new SaleReceipt().fromJson(jsonValue, options);
539
+ return new SalesReceipt().fromJson(jsonValue, options);
500
540
  }
501
541
  static fromJsonString(jsonString, options) {
502
- return new SaleReceipt().fromJsonString(jsonString, options);
542
+ return new SalesReceipt().fromJsonString(jsonString, options);
503
543
  }
504
544
  static equals(a, b) {
505
- return protobuf_1.proto3.util.equals(SaleReceipt, a, b);
545
+ return protobuf_1.proto3.util.equals(SalesReceipt, a, b);
506
546
  }
507
547
  }
508
- exports.SaleReceipt = SaleReceipt;
509
- SaleReceipt.runtime = protobuf_1.proto3;
510
- SaleReceipt.typeName = "Scailo.SaleReceipt";
511
- SaleReceipt.fields = protobuf_1.proto3.util.newFieldList(() => [
548
+ exports.SalesReceipt = SalesReceipt;
549
+ SalesReceipt.runtime = protobuf_1.proto3;
550
+ SalesReceipt.typeName = "Scailo.SalesReceipt";
551
+ SalesReceipt.fields = protobuf_1.proto3.util.newFieldList(() => [
512
552
  { no: 1, name: "entity_uuid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
513
553
  { no: 2, name: "metadata", kind: "message", T: base_scailo_pb_js_1.EmployeeMetadata },
514
554
  { no: 3, name: "approval_metadata", kind: "message", T: base_scailo_pb_js_1.ApprovalMetadata },
@@ -518,12 +558,12 @@ SaleReceipt.fields = protobuf_1.proto3.util.newFieldList(() => [
518
558
  { no: 9, name: "vault_folder_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
519
559
  { no: 10, name: "reference_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
520
560
  { no: 11, name: "final_ref_number", kind: "scalar", T: 9 /* ScalarType.STRING */ },
521
- { no: 12, name: "ref_from", kind: "scalar", T: 9 /* ScalarType.STRING */ },
561
+ { no: 12, name: "ref_from", kind: "enum", T: protobuf_1.proto3.getEnumType(SALES_RECEIPT_REF_FROM) },
522
562
  { no: 13, name: "ref_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
523
563
  { no: 14, name: "client_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
524
564
  { no: 15, name: "bank_account_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
525
565
  { no: 16, name: "currency_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
526
- { no: 17, name: "transaction_type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
566
+ { no: 17, name: "transaction_type", kind: "enum", T: protobuf_1.proto3.getEnumType(base_scailo_pb_js_1.TRANSACTION_TYPE) },
527
567
  { no: 18, name: "amount_base", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
528
568
  { no: 19, name: "amount_net", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
529
569
  { no: 20, name: "payment_timestamp", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
@@ -541,7 +581,7 @@ class SalesReceiptsList extends protobuf_1.Message {
541
581
  /**
542
582
  * List of records
543
583
  *
544
- * @generated from field: repeated Scailo.SaleReceipt list = 1;
584
+ * @generated from field: repeated Scailo.SalesReceipt list = 1;
545
585
  */
546
586
  this.list = [];
547
587
  protobuf_1.proto3.util.initPartial(data, this);
@@ -563,7 +603,7 @@ exports.SalesReceiptsList = SalesReceiptsList;
563
603
  SalesReceiptsList.runtime = protobuf_1.proto3;
564
604
  SalesReceiptsList.typeName = "Scailo.SalesReceiptsList";
565
605
  SalesReceiptsList.fields = protobuf_1.proto3.util.newFieldList(() => [
566
- { no: 1, name: "list", kind: "message", T: SaleReceipt, repeated: true },
606
+ { no: 1, name: "list", kind: "message", T: SalesReceipt, repeated: true },
567
607
  ]);
568
608
  /**
569
609
  *
@@ -601,9 +641,9 @@ class SalesReceiptsServicePaginationReq extends protobuf_1.Message {
601
641
  /**
602
642
  * The sort key that is to be used to fetch the pagination response
603
643
  *
604
- * @generated from field: Scailo.SALE_RECEIPT_SORT_KEY sort_key = 5;
644
+ * @generated from field: Scailo.SALES_RECEIPT_SORT_KEY sort_key = 5;
605
645
  */
606
- this.sortKey = SALE_RECEIPT_SORT_KEY.SALE_RECEIPT_SORT_KEY_ID_UNSPECIFIED;
646
+ this.sortKey = SALES_RECEIPT_SORT_KEY.SALES_RECEIPT_SORT_KEY_ID_UNSPECIFIED;
607
647
  /**
608
648
  * The status of this sales receipt
609
649
  *
@@ -633,7 +673,7 @@ SalesReceiptsServicePaginationReq.fields = protobuf_1.proto3.util.newFieldList((
633
673
  { no: 2, name: "count", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
634
674
  { no: 3, name: "offset", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
635
675
  { no: 4, name: "sort_order", kind: "enum", T: protobuf_1.proto3.getEnumType(base_scailo_pb_js_1.SORT_ORDER) },
636
- { no: 5, name: "sort_key", kind: "enum", T: protobuf_1.proto3.getEnumType(SALE_RECEIPT_SORT_KEY) },
676
+ { no: 5, name: "sort_key", kind: "enum", T: protobuf_1.proto3.getEnumType(SALES_RECEIPT_SORT_KEY) },
637
677
  { no: 6, name: "status", kind: "enum", T: protobuf_1.proto3.getEnumType(base_scailo_pb_js_1.STANDARD_LIFECYCLE_STATUS) },
638
678
  ]);
639
679
  /**
@@ -666,7 +706,7 @@ class SalesReceiptsServicePaginationResponse extends protobuf_1.Message {
666
706
  /**
667
707
  * The list of records
668
708
  *
669
- * @generated from field: repeated Scailo.SaleReceipt payload = 4;
709
+ * @generated from field: repeated Scailo.SalesReceipt payload = 4;
670
710
  */
671
711
  this.payload = [];
672
712
  protobuf_1.proto3.util.initPartial(data, this);
@@ -691,7 +731,7 @@ SalesReceiptsServicePaginationResponse.fields = protobuf_1.proto3.util.newFieldL
691
731
  { no: 1, name: "count", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
692
732
  { no: 2, name: "offset", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
693
733
  { no: 3, name: "total", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
694
- { no: 4, name: "payload", kind: "message", T: SaleReceipt, repeated: true },
734
+ { no: 4, name: "payload", kind: "message", T: SalesReceipt, repeated: true },
695
735
  ]);
696
736
  /**
697
737
  *
@@ -729,9 +769,9 @@ class SalesReceiptsServiceFilterReq extends protobuf_1.Message {
729
769
  /**
730
770
  * The sort key that is to be used to fetch the pagination response
731
771
  *
732
- * @generated from field: Scailo.SALE_RECEIPT_SORT_KEY sort_key = 5;
772
+ * @generated from field: Scailo.SALES_RECEIPT_SORT_KEY sort_key = 5;
733
773
  */
734
- this.sortKey = SALE_RECEIPT_SORT_KEY.SALE_RECEIPT_SORT_KEY_ID_UNSPECIFIED;
774
+ this.sortKey = SALES_RECEIPT_SORT_KEY.SALES_RECEIPT_SORT_KEY_ID_UNSPECIFIED;
735
775
  /**
736
776
  * The minimum timestamp that needs to be considered to filter by creation
737
777
  *
@@ -819,9 +859,9 @@ class SalesReceiptsServiceFilterReq extends protobuf_1.Message {
819
859
  /**
820
860
  * The reference on which the sales receipt has been created
821
861
  *
822
- * @generated from field: string ref_from = 22;
862
+ * @generated from field: Scailo.SALES_RECEIPT_REF_FROM ref_from = 22;
823
863
  */
824
- this.refFrom = "";
864
+ this.refFrom = SALES_RECEIPT_REF_FROM.SALES_RECEIPT_REF_FROM_ANY_UNSPECIFIED;
825
865
  /**
826
866
  * The ID of the associated reference
827
867
  *
@@ -849,9 +889,9 @@ class SalesReceiptsServiceFilterReq extends protobuf_1.Message {
849
889
  /**
850
890
  * The type of the transaction
851
891
  *
852
- * @generated from field: string transaction_type = 27;
892
+ * @generated from field: Scailo.TRANSACTION_TYPE transaction_type = 27;
853
893
  */
854
- this.transactionType = "";
894
+ this.transactionType = base_scailo_pb_js_1.TRANSACTION_TYPE.TRANSACTION_TYPE_ANY_UNSPECIFIED;
855
895
  /**
856
896
  * The start range of the payment timestamp
857
897
  *
@@ -887,7 +927,7 @@ SalesReceiptsServiceFilterReq.fields = protobuf_1.proto3.util.newFieldList(() =>
887
927
  { no: 2, name: "count", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
888
928
  { no: 3, name: "offset", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
889
929
  { no: 4, name: "sort_order", kind: "enum", T: protobuf_1.proto3.getEnumType(base_scailo_pb_js_1.SORT_ORDER) },
890
- { no: 5, name: "sort_key", kind: "enum", T: protobuf_1.proto3.getEnumType(SALE_RECEIPT_SORT_KEY) },
930
+ { no: 5, name: "sort_key", kind: "enum", T: protobuf_1.proto3.getEnumType(SALES_RECEIPT_SORT_KEY) },
891
931
  { no: 101, name: "creation_timestamp_start", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
892
932
  { no: 102, name: "creation_timestamp_end", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
893
933
  { no: 103, name: "modification_timestamp_start", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
@@ -902,12 +942,12 @@ SalesReceiptsServiceFilterReq.fields = protobuf_1.proto3.util.newFieldList(() =>
902
942
  { no: 16, name: "completed_on_end", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
903
943
  { no: 20, name: "reference_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
904
944
  { no: 21, name: "final_ref_number", kind: "scalar", T: 9 /* ScalarType.STRING */ },
905
- { no: 22, name: "ref_from", kind: "scalar", T: 9 /* ScalarType.STRING */ },
945
+ { no: 22, name: "ref_from", kind: "enum", T: protobuf_1.proto3.getEnumType(SALES_RECEIPT_REF_FROM) },
906
946
  { no: 23, name: "ref_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
907
947
  { no: 24, name: "client_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
908
948
  { no: 25, name: "bank_account_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
909
949
  { no: 26, name: "currency_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
910
- { no: 27, name: "transaction_type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
950
+ { no: 27, name: "transaction_type", kind: "enum", T: protobuf_1.proto3.getEnumType(base_scailo_pb_js_1.TRANSACTION_TYPE) },
911
951
  { no: 28, name: "payment_timestamp_start", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
912
952
  { no: 29, name: "payment_timestamp_end", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
913
953
  ]);
@@ -1013,9 +1053,9 @@ class SalesReceiptsServiceCountReq extends protobuf_1.Message {
1013
1053
  /**
1014
1054
  * The reference on which the sales receipt has been created
1015
1055
  *
1016
- * @generated from field: string ref_from = 22;
1056
+ * @generated from field: Scailo.SALES_RECEIPT_REF_FROM ref_from = 22;
1017
1057
  */
1018
- this.refFrom = "";
1058
+ this.refFrom = SALES_RECEIPT_REF_FROM.SALES_RECEIPT_REF_FROM_ANY_UNSPECIFIED;
1019
1059
  /**
1020
1060
  * The ID of the associated reference
1021
1061
  *
@@ -1043,9 +1083,9 @@ class SalesReceiptsServiceCountReq extends protobuf_1.Message {
1043
1083
  /**
1044
1084
  * The type of the transaction
1045
1085
  *
1046
- * @generated from field: string transaction_type = 27;
1086
+ * @generated from field: Scailo.TRANSACTION_TYPE transaction_type = 27;
1047
1087
  */
1048
- this.transactionType = "";
1088
+ this.transactionType = base_scailo_pb_js_1.TRANSACTION_TYPE.TRANSACTION_TYPE_ANY_UNSPECIFIED;
1049
1089
  /**
1050
1090
  * The start range of the payment timestamp
1051
1091
  *
@@ -1092,12 +1132,12 @@ SalesReceiptsServiceCountReq.fields = protobuf_1.proto3.util.newFieldList(() =>
1092
1132
  { no: 16, name: "completed_on_end", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
1093
1133
  { no: 20, name: "reference_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1094
1134
  { no: 21, name: "final_ref_number", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1095
- { no: 22, name: "ref_from", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1135
+ { no: 22, name: "ref_from", kind: "enum", T: protobuf_1.proto3.getEnumType(SALES_RECEIPT_REF_FROM) },
1096
1136
  { no: 23, name: "ref_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
1097
1137
  { no: 24, name: "client_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
1098
1138
  { no: 25, name: "bank_account_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
1099
1139
  { no: 26, name: "currency_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
1100
- { no: 27, name: "transaction_type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1140
+ { no: 27, name: "transaction_type", kind: "enum", T: protobuf_1.proto3.getEnumType(base_scailo_pb_js_1.TRANSACTION_TYPE) },
1101
1141
  { no: 28, name: "payment_timestamp_start", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
1102
1142
  { no: 29, name: "payment_timestamp_end", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
1103
1143
  ]);
@@ -1137,9 +1177,9 @@ class SalesReceiptsServiceSearchAllReq extends protobuf_1.Message {
1137
1177
  /**
1138
1178
  * The sort key that is to be used to fetch the pagination response
1139
1179
  *
1140
- * @generated from field: Scailo.SALE_RECEIPT_SORT_KEY sort_key = 5;
1180
+ * @generated from field: Scailo.SALES_RECEIPT_SORT_KEY sort_key = 5;
1141
1181
  */
1142
- this.sortKey = SALE_RECEIPT_SORT_KEY.SALE_RECEIPT_SORT_KEY_ID_UNSPECIFIED;
1182
+ this.sortKey = SALES_RECEIPT_SORT_KEY.SALES_RECEIPT_SORT_KEY_ID_UNSPECIFIED;
1143
1183
  /**
1144
1184
  * The entity UUID that is to be used to filter records
1145
1185
  *
@@ -1194,7 +1234,7 @@ SalesReceiptsServiceSearchAllReq.fields = protobuf_1.proto3.util.newFieldList(()
1194
1234
  { no: 2, name: "count", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
1195
1235
  { no: 3, name: "offset", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
1196
1236
  { no: 4, name: "sort_order", kind: "enum", T: protobuf_1.proto3.getEnumType(base_scailo_pb_js_1.SORT_ORDER) },
1197
- { no: 5, name: "sort_key", kind: "enum", T: protobuf_1.proto3.getEnumType(SALE_RECEIPT_SORT_KEY) },
1237
+ { no: 5, name: "sort_key", kind: "enum", T: protobuf_1.proto3.getEnumType(SALES_RECEIPT_SORT_KEY) },
1198
1238
  { no: 6, name: "entity_uuid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1199
1239
  { no: 10, name: "status", kind: "enum", T: protobuf_1.proto3.getEnumType(base_scailo_pb_js_1.STANDARD_LIFECYCLE_STATUS) },
1200
1240
  { no: 11, name: "search_key", kind: "scalar", T: 9 /* ScalarType.STRING */ },
@@ -940,6 +940,32 @@ export declare enum AMENDMENT_LOG_REF_FOR {
940
940
  */
941
941
  AMENDMENT_LOG_REF_FOR_EQUATION_WORK_ORDER = 100
942
942
  }
943
+ /**
944
+ *
945
+ * Stores all the possible references of a transaction type
946
+ *
947
+ * @generated from enum Scailo.TRANSACTION_TYPE
948
+ */
949
+ export declare enum TRANSACTION_TYPE {
950
+ /**
951
+ * Only used for filter operations
952
+ *
953
+ * @generated from enum value: TRANSACTION_TYPE_ANY_UNSPECIFIED = 0;
954
+ */
955
+ TRANSACTION_TYPE_ANY_UNSPECIFIED = 0,
956
+ /**
957
+ * Denotes a credit
958
+ *
959
+ * @generated from enum value: TRANSACTION_TYPE_CREDIT = 1;
960
+ */
961
+ TRANSACTION_TYPE_CREDIT = 1,
962
+ /**
963
+ * Denotes a debit
964
+ *
965
+ * @generated from enum value: TRANSACTION_TYPE_DEBIT = 2;
966
+ */
967
+ TRANSACTION_TYPE_DEBIT = 2
968
+ }
943
969
  /**
944
970
  *
945
971
  * Describes an empty object