@kernelminds/scailo-sdk 0.0.72 → 0.0.74

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/credit_notes.scailo_connect.js +12 -1
  2. package/lib/cjs/src/credit_notes.scailo_pb.js +80 -19
  3. package/lib/cjs/src/debit_notes.scailo_connect.js +12 -1
  4. package/lib/cjs/src/debit_notes.scailo_pb.js +80 -19
  5. package/lib/cjs/src/inward_jobs_free_issue_materials.scailo_connect.js +12 -0
  6. package/lib/cjs/src/inward_jobs_free_issue_materials.scailo_pb.js +45 -19
  7. package/lib/cjs/src/outward_jobs_free_issue_materials.scailo_connect.js +12 -0
  8. package/lib/cjs/src/outward_jobs_free_issue_materials.scailo_pb.js +45 -19
  9. package/lib/cjs/types/src/credit_notes.scailo_connect.d.ts +13 -2
  10. package/lib/cjs/types/src/credit_notes.scailo_connect.d.ts.map +1 -1
  11. package/lib/cjs/types/src/credit_notes.scailo_pb.d.ts +63 -13
  12. package/lib/cjs/types/src/credit_notes.scailo_pb.d.ts.map +1 -1
  13. package/lib/cjs/types/src/debit_notes.scailo_connect.d.ts +13 -2
  14. package/lib/cjs/types/src/debit_notes.scailo_connect.d.ts.map +1 -1
  15. package/lib/cjs/types/src/debit_notes.scailo_pb.d.ts +63 -13
  16. package/lib/cjs/types/src/debit_notes.scailo_pb.d.ts.map +1 -1
  17. package/lib/cjs/types/src/inward_jobs_free_issue_materials.scailo_connect.d.ts +12 -0
  18. package/lib/cjs/types/src/inward_jobs_free_issue_materials.scailo_connect.d.ts.map +1 -1
  19. package/lib/cjs/types/src/inward_jobs_free_issue_materials.scailo_pb.d.ts +32 -12
  20. package/lib/cjs/types/src/inward_jobs_free_issue_materials.scailo_pb.d.ts.map +1 -1
  21. package/lib/cjs/types/src/outward_jobs_free_issue_materials.scailo_connect.d.ts +12 -0
  22. package/lib/cjs/types/src/outward_jobs_free_issue_materials.scailo_connect.d.ts.map +1 -1
  23. package/lib/cjs/types/src/outward_jobs_free_issue_materials.scailo_pb.d.ts +32 -12
  24. package/lib/cjs/types/src/outward_jobs_free_issue_materials.scailo_pb.d.ts.map +1 -1
  25. package/lib/esm/src/credit_notes.scailo_connect.js +12 -1
  26. package/lib/esm/src/credit_notes.scailo_pb.js +80 -19
  27. package/lib/esm/src/debit_notes.scailo_connect.js +12 -1
  28. package/lib/esm/src/debit_notes.scailo_pb.js +80 -19
  29. package/lib/esm/src/inward_jobs_free_issue_materials.scailo_connect.js +12 -0
  30. package/lib/esm/src/inward_jobs_free_issue_materials.scailo_pb.js +45 -19
  31. package/lib/esm/src/outward_jobs_free_issue_materials.scailo_connect.js +12 -0
  32. package/lib/esm/src/outward_jobs_free_issue_materials.scailo_pb.js +45 -19
  33. package/lib/esm/types/src/credit_notes.scailo_connect.d.ts +13 -2
  34. package/lib/esm/types/src/credit_notes.scailo_connect.d.ts.map +1 -1
  35. package/lib/esm/types/src/credit_notes.scailo_pb.d.ts +63 -13
  36. package/lib/esm/types/src/credit_notes.scailo_pb.d.ts.map +1 -1
  37. package/lib/esm/types/src/debit_notes.scailo_connect.d.ts +13 -2
  38. package/lib/esm/types/src/debit_notes.scailo_connect.d.ts.map +1 -1
  39. package/lib/esm/types/src/debit_notes.scailo_pb.d.ts +63 -13
  40. package/lib/esm/types/src/debit_notes.scailo_pb.d.ts.map +1 -1
  41. package/lib/esm/types/src/inward_jobs_free_issue_materials.scailo_connect.d.ts +12 -0
  42. package/lib/esm/types/src/inward_jobs_free_issue_materials.scailo_connect.d.ts.map +1 -1
  43. package/lib/esm/types/src/inward_jobs_free_issue_materials.scailo_pb.d.ts +32 -12
  44. package/lib/esm/types/src/inward_jobs_free_issue_materials.scailo_pb.d.ts.map +1 -1
  45. package/lib/esm/types/src/outward_jobs_free_issue_materials.scailo_connect.d.ts +12 -0
  46. package/lib/esm/types/src/outward_jobs_free_issue_materials.scailo_connect.d.ts.map +1 -1
  47. package/lib/esm/types/src/outward_jobs_free_issue_materials.scailo_pb.d.ts +32 -12
  48. package/lib/esm/types/src/outward_jobs_free_issue_materials.scailo_pb.d.ts.map +1 -1
  49. package/package.json +1 -1
@@ -4,10 +4,36 @@
4
4
  /* eslint-disable */
5
5
  // @ts-nocheck
6
6
  Object.defineProperty(exports, "__esModule", { value: true });
7
- exports.InwardJobsFreeIssueMaterialsServiceSearchAllReq = exports.InwardJobsFreeIssueMaterialsServiceCountReq = exports.InwardJobsFreeIssueMaterialsServiceFilterReq = exports.InwardJobsFreeIssueMaterialsServicePaginationResponse = exports.InwardJobsFreeIssueMaterialsServicePaginationReq = exports.InwardJobsFreeIssueMaterialsServiceAlreadyAddedQuantityForSourceRequest = exports.InwardJobsFreeIssueMaterialsServicePaginatedItemsResponse = exports.InwardJobFreeIssueMaterialItemsSearchRequest = exports.InwardJobFreeIssueMaterialItemProspectiveInfoRequest = exports.InwardJobFreeIssueMaterialItemHistoryRequest = exports.InwardJobsFreeIssueMaterialsItemsList = exports.InwardJobsFreeIssueMaterialsList = exports.InwardJobFreeIssueMaterialItem = exports.InwardJobsFreeIssueMaterialsServiceItemUpdateRequest = exports.InwardJobsFreeIssueMaterialsServiceItemCreateRequest = exports.InwardJobFreeIssueMaterial = exports.InwardJobFreeIssueMaterialAncillaryParameters = exports.InwardJobsFreeIssueMaterialsServiceAutofillRequest = exports.InwardJobsFreeIssueMaterialsServiceUpdateRequest = exports.InwardJobsFreeIssueMaterialsServiceCreateRequest = exports.INWARD_JOB_FREE_ISSUE_MATERIAL_SORT_KEY = exports.INWARD_JOB_FREE_ISSUE_MATERIAL_ITEM_STATUS = exports.INWARD_JOB_FREE_ISSUE_MATERIAL_ITEM_SORT_KEY = void 0;
7
+ exports.InwardJobsFreeIssueMaterialsServiceSearchAllReq = exports.InwardJobsFreeIssueMaterialsServiceCountReq = exports.InwardJobsFreeIssueMaterialsServiceFilterReq = exports.InwardJobsFreeIssueMaterialsServicePaginationResponse = exports.InwardJobsFreeIssueMaterialsServicePaginationReq = exports.InwardJobsFreeIssueMaterialsServiceAlreadyAddedQuantityForSourceRequest = exports.InwardJobsFreeIssueMaterialsServicePaginatedItemsResponse = exports.InwardJobFreeIssueMaterialItemsSearchRequest = exports.InwardJobFreeIssueMaterialItemProspectiveInfoRequest = exports.InwardJobFreeIssueMaterialItemHistoryRequest = exports.InwardJobsFreeIssueMaterialsItemsList = exports.InwardJobsFreeIssueMaterialsList = exports.InwardJobFreeIssueMaterialItem = exports.InwardJobsFreeIssueMaterialsServiceItemUpdateRequest = exports.InwardJobsFreeIssueMaterialsServiceItemCreateRequest = exports.InwardJobFreeIssueMaterial = exports.InwardJobFreeIssueMaterialAncillaryParameters = exports.InwardJobsFreeIssueMaterialsServiceAutofillRequest = exports.InwardJobsFreeIssueMaterialsServiceUpdateRequest = exports.InwardJobsFreeIssueMaterialsServiceCreateRequest = exports.INWARD_JOB_FREE_ISSUE_MATERIAL_SORT_KEY = exports.INWARD_JOB_FREE_ISSUE_MATERIAL_ITEM_STATUS = exports.INWARD_JOB_FREE_ISSUE_MATERIAL_ITEM_SORT_KEY = exports.INWARD_JOB_FREE_ISSUE_MATERIAL_REF_FROM = void 0;
8
8
  const protobuf_1 = require("@bufbuild/protobuf");
9
9
  const forms_fields_data_scailo_pb_js_1 = require("./forms_fields_data.scailo_pb.js");
10
10
  const base_scailo_pb_js_1 = require("./base.scailo_pb.js");
11
+ /**
12
+ *
13
+ * Stores all the possible references from which an inward job free issue material can be added
14
+ *
15
+ * @generated from enum Scailo.INWARD_JOB_FREE_ISSUE_MATERIAL_REF_FROM
16
+ */
17
+ var INWARD_JOB_FREE_ISSUE_MATERIAL_REF_FROM;
18
+ (function (INWARD_JOB_FREE_ISSUE_MATERIAL_REF_FROM) {
19
+ /**
20
+ * Used only in filters
21
+ *
22
+ * @generated from enum value: INWARD_JOB_FREE_ISSUE_MATERIAL_REF_FROM_ANY_UNSPECIFIED = 0;
23
+ */
24
+ INWARD_JOB_FREE_ISSUE_MATERIAL_REF_FROM[INWARD_JOB_FREE_ISSUE_MATERIAL_REF_FROM["INWARD_JOB_FREE_ISSUE_MATERIAL_REF_FROM_ANY_UNSPECIFIED"] = 0] = "INWARD_JOB_FREE_ISSUE_MATERIAL_REF_FROM_ANY_UNSPECIFIED";
25
+ /**
26
+ * Denotes that the inward job free issue material originated from an inward job
27
+ *
28
+ * @generated from enum value: INWARD_JOB_FREE_ISSUE_MATERIAL_REF_FROM_INWARD_JOB = 1;
29
+ */
30
+ INWARD_JOB_FREE_ISSUE_MATERIAL_REF_FROM[INWARD_JOB_FREE_ISSUE_MATERIAL_REF_FROM["INWARD_JOB_FREE_ISSUE_MATERIAL_REF_FROM_INWARD_JOB"] = 1] = "INWARD_JOB_FREE_ISSUE_MATERIAL_REF_FROM_INWARD_JOB";
31
+ })(INWARD_JOB_FREE_ISSUE_MATERIAL_REF_FROM || (exports.INWARD_JOB_FREE_ISSUE_MATERIAL_REF_FROM = INWARD_JOB_FREE_ISSUE_MATERIAL_REF_FROM = {}));
32
+ // Retrieve enum metadata with: proto3.getEnumType(INWARD_JOB_FREE_ISSUE_MATERIAL_REF_FROM)
33
+ protobuf_1.proto3.util.setEnumType(INWARD_JOB_FREE_ISSUE_MATERIAL_REF_FROM, "Scailo.INWARD_JOB_FREE_ISSUE_MATERIAL_REF_FROM", [
34
+ { no: 0, name: "INWARD_JOB_FREE_ISSUE_MATERIAL_REF_FROM_ANY_UNSPECIFIED" },
35
+ { no: 1, name: "INWARD_JOB_FREE_ISSUE_MATERIAL_REF_FROM_INWARD_JOB" },
36
+ ]);
11
37
  /**
12
38
  *
13
39
  * Describes the available sort keys
@@ -241,9 +267,9 @@ class InwardJobsFreeIssueMaterialsServiceCreateRequest extends protobuf_1.Messag
241
267
  /**
242
268
  * The associated reference
243
269
  *
244
- * @generated from field: string ref_from = 12;
270
+ * @generated from field: Scailo.INWARD_JOB_FREE_ISSUE_MATERIAL_REF_FROM ref_from = 12;
245
271
  */
246
- this.refFrom = "";
272
+ this.refFrom = INWARD_JOB_FREE_ISSUE_MATERIAL_REF_FROM.INWARD_JOB_FREE_ISSUE_MATERIAL_REF_FROM_ANY_UNSPECIFIED;
247
273
  /**
248
274
  * The associated ID of the reference
249
275
  *
@@ -279,7 +305,7 @@ InwardJobsFreeIssueMaterialsServiceCreateRequest.fields = protobuf_1.proto3.util
279
305
  { no: 2, name: "user_comment", kind: "scalar", T: 9 /* ScalarType.STRING */ },
280
306
  { no: 9, name: "vault_folder_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
281
307
  { no: 10, name: "reference_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
282
- { no: 12, name: "ref_from", kind: "scalar", T: 9 /* ScalarType.STRING */ },
308
+ { no: 12, name: "ref_from", kind: "enum", T: protobuf_1.proto3.getEnumType(INWARD_JOB_FREE_ISSUE_MATERIAL_REF_FROM) },
283
309
  { no: 13, name: "ref_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
284
310
  { no: 30, name: "form_data", kind: "message", T: forms_fields_data_scailo_pb_js_1.FormFieldDatumCreateRequest, repeated: true },
285
311
  ]);
@@ -487,9 +513,9 @@ class InwardJobFreeIssueMaterial extends protobuf_1.Message {
487
513
  /**
488
514
  * The associated reference
489
515
  *
490
- * @generated from field: string ref_from = 12;
516
+ * @generated from field: Scailo.INWARD_JOB_FREE_ISSUE_MATERIAL_REF_FROM ref_from = 12;
491
517
  */
492
- this.refFrom = "";
518
+ this.refFrom = INWARD_JOB_FREE_ISSUE_MATERIAL_REF_FROM.INWARD_JOB_FREE_ISSUE_MATERIAL_REF_FROM_ANY_UNSPECIFIED;
493
519
  /**
494
520
  * The associated ID of the reference
495
521
  *
@@ -536,7 +562,7 @@ InwardJobFreeIssueMaterial.fields = protobuf_1.proto3.util.newFieldList(() => [
536
562
  { no: 9, name: "vault_folder_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
537
563
  { no: 10, name: "reference_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
538
564
  { no: 11, name: "final_ref_number", kind: "scalar", T: 9 /* ScalarType.STRING */ },
539
- { no: 12, name: "ref_from", kind: "scalar", T: 9 /* ScalarType.STRING */ },
565
+ { no: 12, name: "ref_from", kind: "enum", T: protobuf_1.proto3.getEnumType(INWARD_JOB_FREE_ISSUE_MATERIAL_REF_FROM) },
540
566
  { no: 13, name: "ref_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
541
567
  { no: 20, name: "list", kind: "message", T: InwardJobFreeIssueMaterialItem, repeated: true },
542
568
  { no: 30, name: "form_data", kind: "message", T: forms_fields_data_scailo_pb_js_1.FormFieldDatum, repeated: true },
@@ -1152,9 +1178,9 @@ class InwardJobsFreeIssueMaterialsServiceAlreadyAddedQuantityForSourceRequest ex
1152
1178
  /**
1153
1179
  * The associated reference
1154
1180
  *
1155
- * @generated from field: string ref_from = 1;
1181
+ * @generated from field: Scailo.INWARD_JOB_FREE_ISSUE_MATERIAL_REF_FROM ref_from = 1;
1156
1182
  */
1157
- this.refFrom = "";
1183
+ this.refFrom = INWARD_JOB_FREE_ISSUE_MATERIAL_REF_FROM.INWARD_JOB_FREE_ISSUE_MATERIAL_REF_FROM_ANY_UNSPECIFIED;
1158
1184
  /**
1159
1185
  * The associated ID of the reference
1160
1186
  *
@@ -1186,7 +1212,7 @@ exports.InwardJobsFreeIssueMaterialsServiceAlreadyAddedQuantityForSourceRequest
1186
1212
  InwardJobsFreeIssueMaterialsServiceAlreadyAddedQuantityForSourceRequest.runtime = protobuf_1.proto3;
1187
1213
  InwardJobsFreeIssueMaterialsServiceAlreadyAddedQuantityForSourceRequest.typeName = "Scailo.InwardJobsFreeIssueMaterialsServiceAlreadyAddedQuantityForSourceRequest";
1188
1214
  InwardJobsFreeIssueMaterialsServiceAlreadyAddedQuantityForSourceRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
1189
- { no: 1, name: "ref_from", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1215
+ { no: 1, name: "ref_from", kind: "enum", T: protobuf_1.proto3.getEnumType(INWARD_JOB_FREE_ISSUE_MATERIAL_REF_FROM) },
1190
1216
  { no: 2, name: "ref_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
1191
1217
  { no: 3, name: "family_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
1192
1218
  ]);
@@ -1444,9 +1470,9 @@ class InwardJobsFreeIssueMaterialsServiceFilterReq extends protobuf_1.Message {
1444
1470
  /**
1445
1471
  * The associated reference
1446
1472
  *
1447
- * @generated from field: string ref_from = 22;
1473
+ * @generated from field: Scailo.INWARD_JOB_FREE_ISSUE_MATERIAL_REF_FROM ref_from = 22;
1448
1474
  */
1449
- this.refFrom = "";
1475
+ this.refFrom = INWARD_JOB_FREE_ISSUE_MATERIAL_REF_FROM.INWARD_JOB_FREE_ISSUE_MATERIAL_REF_FROM_ANY_UNSPECIFIED;
1450
1476
  /**
1451
1477
  * The associated ID of the reference
1452
1478
  *
@@ -1516,7 +1542,7 @@ InwardJobsFreeIssueMaterialsServiceFilterReq.fields = protobuf_1.proto3.util.new
1516
1542
  { no: 16, name: "completed_on_end", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
1517
1543
  { no: 20, name: "reference_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1518
1544
  { no: 21, name: "final_ref_number", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1519
- { no: 22, name: "ref_from", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1545
+ { no: 22, name: "ref_from", kind: "enum", T: protobuf_1.proto3.getEnumType(INWARD_JOB_FREE_ISSUE_MATERIAL_REF_FROM) },
1520
1546
  { no: 23, name: "ref_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
1521
1547
  { no: 30, name: "family_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
1522
1548
  { no: 50, name: "consignee_client_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
@@ -1625,9 +1651,9 @@ class InwardJobsFreeIssueMaterialsServiceCountReq extends protobuf_1.Message {
1625
1651
  /**
1626
1652
  * The associated reference
1627
1653
  *
1628
- * @generated from field: string ref_from = 22;
1654
+ * @generated from field: Scailo.INWARD_JOB_FREE_ISSUE_MATERIAL_REF_FROM ref_from = 22;
1629
1655
  */
1630
- this.refFrom = "";
1656
+ this.refFrom = INWARD_JOB_FREE_ISSUE_MATERIAL_REF_FROM.INWARD_JOB_FREE_ISSUE_MATERIAL_REF_FROM_ANY_UNSPECIFIED;
1631
1657
  /**
1632
1658
  * The associated ID of the reference
1633
1659
  *
@@ -1693,7 +1719,7 @@ InwardJobsFreeIssueMaterialsServiceCountReq.fields = protobuf_1.proto3.util.newF
1693
1719
  { no: 16, name: "completed_on_end", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
1694
1720
  { no: 20, name: "reference_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1695
1721
  { no: 21, name: "final_ref_number", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1696
- { no: 22, name: "ref_from", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1722
+ { no: 22, name: "ref_from", kind: "enum", T: protobuf_1.proto3.getEnumType(INWARD_JOB_FREE_ISSUE_MATERIAL_REF_FROM) },
1697
1723
  { no: 23, name: "ref_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
1698
1724
  { no: 30, name: "family_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
1699
1725
  { no: 50, name: "consignee_client_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
@@ -1760,9 +1786,9 @@ class InwardJobsFreeIssueMaterialsServiceSearchAllReq extends protobuf_1.Message
1760
1786
  /**
1761
1787
  * The associated reference
1762
1788
  *
1763
- * @generated from field: string ref_from = 22;
1789
+ * @generated from field: Scailo.INWARD_JOB_FREE_ISSUE_MATERIAL_REF_FROM ref_from = 22;
1764
1790
  */
1765
- this.refFrom = "";
1791
+ this.refFrom = INWARD_JOB_FREE_ISSUE_MATERIAL_REF_FROM.INWARD_JOB_FREE_ISSUE_MATERIAL_REF_FROM_ANY_UNSPECIFIED;
1766
1792
  /**
1767
1793
  * The associated ID of the reference
1768
1794
  *
@@ -1796,6 +1822,6 @@ InwardJobsFreeIssueMaterialsServiceSearchAllReq.fields = protobuf_1.proto3.util.
1796
1822
  { no: 6, name: "entity_uuid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1797
1823
  { no: 10, name: "status", kind: "enum", T: protobuf_1.proto3.getEnumType(base_scailo_pb_js_1.STANDARD_LIFECYCLE_STATUS) },
1798
1824
  { no: 11, name: "search_key", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1799
- { no: 22, name: "ref_from", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1825
+ { no: 22, name: "ref_from", kind: "enum", T: protobuf_1.proto3.getEnumType(INWARD_JOB_FREE_ISSUE_MATERIAL_REF_FROM) },
1800
1826
  { no: 23, name: "ref_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
1801
1827
  ]);
@@ -359,6 +359,18 @@ exports.OutwardJobsFreeIssueMaterialsService = {
359
359
  O: outward_jobs_free_issue_materials_scailo_pb_js_1.OutwardJobsFreeIssueMaterialsServicePaginatedItemsResponse,
360
360
  kind: protobuf_1.MethodKind.Unary,
361
361
  },
362
+ /**
363
+ * CSV operations
364
+ * Download the CSV file that could be used to upload items from the filled CSV file. The same file can also be used as a template when there are no existing records
365
+ *
366
+ * @generated from rpc Scailo.OutwardJobsFreeIssueMaterialsService.DownloadItemsAsCSV
367
+ */
368
+ downloadItemsAsCSV: {
369
+ name: "DownloadItemsAsCSV",
370
+ I: base_scailo_pb_js_1.IdentifierUUID,
371
+ O: base_scailo_pb_js_1.StandardFile,
372
+ kind: protobuf_1.MethodKind.Unary,
373
+ },
362
374
  /**
363
375
  * View by ID
364
376
  *
@@ -4,10 +4,36 @@
4
4
  /* eslint-disable */
5
5
  // @ts-nocheck
6
6
  Object.defineProperty(exports, "__esModule", { value: true });
7
- exports.OutwardJobsFreeIssueMaterialsServiceSearchAllReq = exports.OutwardJobsFreeIssueMaterialsServiceCountReq = exports.OutwardJobsFreeIssueMaterialsServiceFilterReq = exports.OutwardJobsFreeIssueMaterialsServicePaginationResponse = exports.OutwardJobsFreeIssueMaterialsServicePaginationReq = exports.OutwardJobsFreeIssueMaterialsServiceAlreadyAddedQuantityForSourceRequest = exports.OutwardJobsFreeIssueMaterialsServicePaginatedItemsResponse = exports.OutwardJobFreeIssueMaterialItemsSearchRequest = exports.OutwardJobFreeIssueMaterialItemProspectiveInfoRequest = exports.OutwardJobFreeIssueMaterialItemHistoryRequest = exports.OutwardJobsFreeIssueMaterialsItemsList = exports.OutwardJobsFreeIssueMaterialsList = exports.OutwardJobFreeIssueMaterialItem = exports.OutwardJobsFreeIssueMaterialsServiceItemUpdateRequest = exports.OutwardJobsFreeIssueMaterialsServiceItemCreateRequest = exports.OutwardJobFreeIssueMaterial = exports.OutwardJobFreeIssueMaterialAncillaryParameters = exports.OutwardJobsFreeIssueMaterialsServiceAutofillRequest = exports.OutwardJobsFreeIssueMaterialsServiceUpdateRequest = exports.OutwardJobsFreeIssueMaterialsServiceCreateRequest = exports.OUTWARD_JOB_FREE_ISSUE_MATERIAL_SORT_KEY = exports.OUTWARD_JOB_FREE_ISSUE_MATERIAL_ITEM_STATUS = exports.OUTWARD_JOB_FREE_ISSUE_MATERIAL_ITEM_SORT_KEY = void 0;
7
+ exports.OutwardJobsFreeIssueMaterialsServiceSearchAllReq = exports.OutwardJobsFreeIssueMaterialsServiceCountReq = exports.OutwardJobsFreeIssueMaterialsServiceFilterReq = exports.OutwardJobsFreeIssueMaterialsServicePaginationResponse = exports.OutwardJobsFreeIssueMaterialsServicePaginationReq = exports.OutwardJobsFreeIssueMaterialsServiceAlreadyAddedQuantityForSourceRequest = exports.OutwardJobsFreeIssueMaterialsServicePaginatedItemsResponse = exports.OutwardJobFreeIssueMaterialItemsSearchRequest = exports.OutwardJobFreeIssueMaterialItemProspectiveInfoRequest = exports.OutwardJobFreeIssueMaterialItemHistoryRequest = exports.OutwardJobsFreeIssueMaterialsItemsList = exports.OutwardJobsFreeIssueMaterialsList = exports.OutwardJobFreeIssueMaterialItem = exports.OutwardJobsFreeIssueMaterialsServiceItemUpdateRequest = exports.OutwardJobsFreeIssueMaterialsServiceItemCreateRequest = exports.OutwardJobFreeIssueMaterial = exports.OutwardJobFreeIssueMaterialAncillaryParameters = exports.OutwardJobsFreeIssueMaterialsServiceAutofillRequest = exports.OutwardJobsFreeIssueMaterialsServiceUpdateRequest = exports.OutwardJobsFreeIssueMaterialsServiceCreateRequest = exports.OUTWARD_JOB_FREE_ISSUE_MATERIAL_SORT_KEY = exports.OUTWARD_JOB_FREE_ISSUE_MATERIAL_ITEM_STATUS = exports.OUTWARD_JOB_FREE_ISSUE_MATERIAL_ITEM_SORT_KEY = exports.OUTWARD_JOB_FREE_ISSUE_MATERIAL_REF_FROM = void 0;
8
8
  const protobuf_1 = require("@bufbuild/protobuf");
9
9
  const forms_fields_data_scailo_pb_js_1 = require("./forms_fields_data.scailo_pb.js");
10
10
  const base_scailo_pb_js_1 = require("./base.scailo_pb.js");
11
+ /**
12
+ *
13
+ * Stores all the possible references from which an outward job free issue material can be added
14
+ *
15
+ * @generated from enum Scailo.OUTWARD_JOB_FREE_ISSUE_MATERIAL_REF_FROM
16
+ */
17
+ var OUTWARD_JOB_FREE_ISSUE_MATERIAL_REF_FROM;
18
+ (function (OUTWARD_JOB_FREE_ISSUE_MATERIAL_REF_FROM) {
19
+ /**
20
+ * Used only in filters
21
+ *
22
+ * @generated from enum value: OUTWARD_JOB_FREE_ISSUE_MATERIAL_REF_FROM_ANY_UNSPECIFIED = 0;
23
+ */
24
+ OUTWARD_JOB_FREE_ISSUE_MATERIAL_REF_FROM[OUTWARD_JOB_FREE_ISSUE_MATERIAL_REF_FROM["OUTWARD_JOB_FREE_ISSUE_MATERIAL_REF_FROM_ANY_UNSPECIFIED"] = 0] = "OUTWARD_JOB_FREE_ISSUE_MATERIAL_REF_FROM_ANY_UNSPECIFIED";
25
+ /**
26
+ * Denotes that the outward job free issue material originated from an outward job
27
+ *
28
+ * @generated from enum value: OUTWARD_JOB_FREE_ISSUE_MATERIAL_REF_FROM_OUTWARD_JOB = 1;
29
+ */
30
+ OUTWARD_JOB_FREE_ISSUE_MATERIAL_REF_FROM[OUTWARD_JOB_FREE_ISSUE_MATERIAL_REF_FROM["OUTWARD_JOB_FREE_ISSUE_MATERIAL_REF_FROM_OUTWARD_JOB"] = 1] = "OUTWARD_JOB_FREE_ISSUE_MATERIAL_REF_FROM_OUTWARD_JOB";
31
+ })(OUTWARD_JOB_FREE_ISSUE_MATERIAL_REF_FROM || (exports.OUTWARD_JOB_FREE_ISSUE_MATERIAL_REF_FROM = OUTWARD_JOB_FREE_ISSUE_MATERIAL_REF_FROM = {}));
32
+ // Retrieve enum metadata with: proto3.getEnumType(OUTWARD_JOB_FREE_ISSUE_MATERIAL_REF_FROM)
33
+ protobuf_1.proto3.util.setEnumType(OUTWARD_JOB_FREE_ISSUE_MATERIAL_REF_FROM, "Scailo.OUTWARD_JOB_FREE_ISSUE_MATERIAL_REF_FROM", [
34
+ { no: 0, name: "OUTWARD_JOB_FREE_ISSUE_MATERIAL_REF_FROM_ANY_UNSPECIFIED" },
35
+ { no: 1, name: "OUTWARD_JOB_FREE_ISSUE_MATERIAL_REF_FROM_OUTWARD_JOB" },
36
+ ]);
11
37
  /**
12
38
  *
13
39
  * Describes the available sort keys
@@ -241,9 +267,9 @@ class OutwardJobsFreeIssueMaterialsServiceCreateRequest extends protobuf_1.Messa
241
267
  /**
242
268
  * The associated reference
243
269
  *
244
- * @generated from field: string ref_from = 12;
270
+ * @generated from field: Scailo.OUTWARD_JOB_FREE_ISSUE_MATERIAL_REF_FROM ref_from = 12;
245
271
  */
246
- this.refFrom = "";
272
+ this.refFrom = OUTWARD_JOB_FREE_ISSUE_MATERIAL_REF_FROM.OUTWARD_JOB_FREE_ISSUE_MATERIAL_REF_FROM_ANY_UNSPECIFIED;
247
273
  /**
248
274
  * The associated ID of the reference
249
275
  *
@@ -285,7 +311,7 @@ OutwardJobsFreeIssueMaterialsServiceCreateRequest.fields = protobuf_1.proto3.uti
285
311
  { no: 2, name: "user_comment", kind: "scalar", T: 9 /* ScalarType.STRING */ },
286
312
  { no: 9, name: "vault_folder_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
287
313
  { no: 10, name: "reference_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
288
- { no: 12, name: "ref_from", kind: "scalar", T: 9 /* ScalarType.STRING */ },
314
+ { no: 12, name: "ref_from", kind: "enum", T: protobuf_1.proto3.getEnumType(OUTWARD_JOB_FREE_ISSUE_MATERIAL_REF_FROM) },
289
315
  { no: 13, name: "ref_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
290
316
  { no: 15, name: "location_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
291
317
  { no: 30, name: "form_data", kind: "message", T: forms_fields_data_scailo_pb_js_1.FormFieldDatumCreateRequest, repeated: true },
@@ -508,9 +534,9 @@ class OutwardJobFreeIssueMaterial extends protobuf_1.Message {
508
534
  /**
509
535
  * The associated reference
510
536
  *
511
- * @generated from field: string ref_from = 12;
537
+ * @generated from field: Scailo.OUTWARD_JOB_FREE_ISSUE_MATERIAL_REF_FROM ref_from = 12;
512
538
  */
513
- this.refFrom = "";
539
+ this.refFrom = OUTWARD_JOB_FREE_ISSUE_MATERIAL_REF_FROM.OUTWARD_JOB_FREE_ISSUE_MATERIAL_REF_FROM_ANY_UNSPECIFIED;
514
540
  /**
515
541
  * The associated ID of the reference
516
542
  *
@@ -563,7 +589,7 @@ OutwardJobFreeIssueMaterial.fields = protobuf_1.proto3.util.newFieldList(() => [
563
589
  { no: 9, name: "vault_folder_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
564
590
  { no: 10, name: "reference_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
565
591
  { no: 11, name: "final_ref_number", kind: "scalar", T: 9 /* ScalarType.STRING */ },
566
- { no: 12, name: "ref_from", kind: "scalar", T: 9 /* ScalarType.STRING */ },
592
+ { no: 12, name: "ref_from", kind: "enum", T: protobuf_1.proto3.getEnumType(OUTWARD_JOB_FREE_ISSUE_MATERIAL_REF_FROM) },
567
593
  { no: 13, name: "ref_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
568
594
  { no: 15, name: "location_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
569
595
  { no: 20, name: "list", kind: "message", T: OutwardJobFreeIssueMaterialItem, repeated: true },
@@ -1208,9 +1234,9 @@ class OutwardJobsFreeIssueMaterialsServiceAlreadyAddedQuantityForSourceRequest e
1208
1234
  /**
1209
1235
  * The associated reference
1210
1236
  *
1211
- * @generated from field: string ref_from = 1;
1237
+ * @generated from field: Scailo.OUTWARD_JOB_FREE_ISSUE_MATERIAL_REF_FROM ref_from = 1;
1212
1238
  */
1213
- this.refFrom = "";
1239
+ this.refFrom = OUTWARD_JOB_FREE_ISSUE_MATERIAL_REF_FROM.OUTWARD_JOB_FREE_ISSUE_MATERIAL_REF_FROM_ANY_UNSPECIFIED;
1214
1240
  /**
1215
1241
  * The associated ID of the reference
1216
1242
  *
@@ -1242,7 +1268,7 @@ exports.OutwardJobsFreeIssueMaterialsServiceAlreadyAddedQuantityForSourceRequest
1242
1268
  OutwardJobsFreeIssueMaterialsServiceAlreadyAddedQuantityForSourceRequest.runtime = protobuf_1.proto3;
1243
1269
  OutwardJobsFreeIssueMaterialsServiceAlreadyAddedQuantityForSourceRequest.typeName = "Scailo.OutwardJobsFreeIssueMaterialsServiceAlreadyAddedQuantityForSourceRequest";
1244
1270
  OutwardJobsFreeIssueMaterialsServiceAlreadyAddedQuantityForSourceRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
1245
- { no: 1, name: "ref_from", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1271
+ { no: 1, name: "ref_from", kind: "enum", T: protobuf_1.proto3.getEnumType(OUTWARD_JOB_FREE_ISSUE_MATERIAL_REF_FROM) },
1246
1272
  { no: 2, name: "ref_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
1247
1273
  { no: 3, name: "family_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
1248
1274
  ]);
@@ -1500,9 +1526,9 @@ class OutwardJobsFreeIssueMaterialsServiceFilterReq extends protobuf_1.Message {
1500
1526
  /**
1501
1527
  * The associated reference
1502
1528
  *
1503
- * @generated from field: string ref_from = 22;
1529
+ * @generated from field: Scailo.OUTWARD_JOB_FREE_ISSUE_MATERIAL_REF_FROM ref_from = 22;
1504
1530
  */
1505
- this.refFrom = "";
1531
+ this.refFrom = OUTWARD_JOB_FREE_ISSUE_MATERIAL_REF_FROM.OUTWARD_JOB_FREE_ISSUE_MATERIAL_REF_FROM_ANY_UNSPECIFIED;
1506
1532
  /**
1507
1533
  * The associated ID of the reference
1508
1534
  *
@@ -1572,7 +1598,7 @@ OutwardJobsFreeIssueMaterialsServiceFilterReq.fields = protobuf_1.proto3.util.ne
1572
1598
  { no: 16, name: "completed_on_end", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
1573
1599
  { no: 20, name: "reference_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1574
1600
  { no: 21, name: "final_ref_number", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1575
- { no: 22, name: "ref_from", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1601
+ { no: 22, name: "ref_from", kind: "enum", T: protobuf_1.proto3.getEnumType(OUTWARD_JOB_FREE_ISSUE_MATERIAL_REF_FROM) },
1576
1602
  { no: 23, name: "ref_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
1577
1603
  { no: 25, name: "location_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
1578
1604
  { no: 30, name: "family_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
@@ -1681,9 +1707,9 @@ class OutwardJobsFreeIssueMaterialsServiceCountReq extends protobuf_1.Message {
1681
1707
  /**
1682
1708
  * The associated reference
1683
1709
  *
1684
- * @generated from field: string ref_from = 22;
1710
+ * @generated from field: Scailo.OUTWARD_JOB_FREE_ISSUE_MATERIAL_REF_FROM ref_from = 22;
1685
1711
  */
1686
- this.refFrom = "";
1712
+ this.refFrom = OUTWARD_JOB_FREE_ISSUE_MATERIAL_REF_FROM.OUTWARD_JOB_FREE_ISSUE_MATERIAL_REF_FROM_ANY_UNSPECIFIED;
1687
1713
  /**
1688
1714
  * The associated ID of the reference
1689
1715
  *
@@ -1749,7 +1775,7 @@ OutwardJobsFreeIssueMaterialsServiceCountReq.fields = protobuf_1.proto3.util.new
1749
1775
  { no: 16, name: "completed_on_end", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
1750
1776
  { no: 20, name: "reference_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1751
1777
  { no: 21, name: "final_ref_number", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1752
- { no: 22, name: "ref_from", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1778
+ { no: 22, name: "ref_from", kind: "enum", T: protobuf_1.proto3.getEnumType(OUTWARD_JOB_FREE_ISSUE_MATERIAL_REF_FROM) },
1753
1779
  { no: 23, name: "ref_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
1754
1780
  { no: 25, name: "location_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
1755
1781
  { no: 30, name: "family_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
@@ -1816,9 +1842,9 @@ class OutwardJobsFreeIssueMaterialsServiceSearchAllReq extends protobuf_1.Messag
1816
1842
  /**
1817
1843
  * The associated reference
1818
1844
  *
1819
- * @generated from field: string ref_from = 22;
1845
+ * @generated from field: Scailo.OUTWARD_JOB_FREE_ISSUE_MATERIAL_REF_FROM ref_from = 22;
1820
1846
  */
1821
- this.refFrom = "";
1847
+ this.refFrom = OUTWARD_JOB_FREE_ISSUE_MATERIAL_REF_FROM.OUTWARD_JOB_FREE_ISSUE_MATERIAL_REF_FROM_ANY_UNSPECIFIED;
1822
1848
  /**
1823
1849
  * The associated ID of the reference
1824
1850
  *
@@ -1852,6 +1878,6 @@ OutwardJobsFreeIssueMaterialsServiceSearchAllReq.fields = protobuf_1.proto3.util
1852
1878
  { no: 6, name: "entity_uuid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1853
1879
  { no: 10, name: "status", kind: "enum", T: protobuf_1.proto3.getEnumType(base_scailo_pb_js_1.STANDARD_LIFECYCLE_STATUS) },
1854
1880
  { no: 11, name: "search_key", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1855
- { no: 22, name: "ref_from", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1881
+ { no: 22, name: "ref_from", kind: "enum", T: protobuf_1.proto3.getEnumType(OUTWARD_JOB_FREE_ISSUE_MATERIAL_REF_FROM) },
1856
1882
  { no: 23, name: "ref_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
1857
1883
  ]);
@@ -1,5 +1,5 @@
1
1
  import { CreditNote, CreditNoteAncillaryParameters, CreditNoteItem, CreditNoteItemHistoryRequest, CreditNoteItemProspectiveInfoRequest, CreditNoteItemsList, CreditNoteItemsSearchRequest, CreditNoteReference, CreditNoteReferencesList, CreditNotesList, CreditNotesServiceAlreadyAddedQuantityForSourceRequest, CreditNotesServiceAutofillRequest, CreditNotesServiceCountReq, CreditNotesServiceCreateRequest, CreditNotesServiceFilterReq, CreditNotesServiceItemCreateRequest, CreditNotesServiceItemUpdateRequest, CreditNotesServicePaginatedItemsResponse, CreditNotesServicePaginationReq, CreditNotesServicePaginationResponse, CreditNotesServiceReferenceCreateRequest, CreditNotesServiceSearchAllReq, CreditNotesServiceUpdateRequest } from "./credit_notes.scailo_pb.js";
2
- import { ActiveStatus, CountInSLCStatusRequest, CountResponse, DualQuantitiesResponse, Identifier, IdentifierResponse, IdentifiersList, IdentifierUUID, IdentifierUUIDWithFile, IdentifierUUIDWithUserComment, IdentifierWithEmailAttributes, IdentifierWithSearchKey, IdentifierWithUserComment, ReorderItemsRequest, StandardFile } from "./base.scailo_pb.js";
2
+ import { ActiveStatus, CountInSLCStatusRequest, CountResponse, DualQuantitiesResponse, Identifier, IdentifierResponse, IdentifiersList, IdentifierUUID, IdentifierUUIDWithFile, IdentifierUUIDWithUserComment, IdentifierWithEmailAttributes, IdentifierWithSearchKey, IdentifierWithUserComment, ReorderItemsRequest, StandardFile, SumResponse } from "./base.scailo_pb.js";
3
3
  import { MethodKind } from "@bufbuild/protobuf";
4
4
  import { FamiliesList, FilterFamiliesReqForIdentifier } from "./families.scailo_pb.js";
5
5
  /**
@@ -597,7 +597,7 @@ export declare const CreditNotesService: {
597
597
  readonly kind: MethodKind.Unary;
598
598
  };
599
599
  /**
600
- * View all that match the given count criteria
600
+ * Count all that match the given criteria
601
601
  *
602
602
  * @generated from rpc Scailo.CreditNotesService.Count
603
603
  */
@@ -607,6 +607,17 @@ export declare const CreditNotesService: {
607
607
  readonly O: typeof CountResponse;
608
608
  readonly kind: MethodKind.Unary;
609
609
  };
610
+ /**
611
+ * Returns the sum of the total value of all the records that match the given criteria
612
+ *
613
+ * @generated from rpc Scailo.CreditNotesService.AccruedValue
614
+ */
615
+ readonly accruedValue: {
616
+ readonly name: "AccruedValue";
617
+ readonly I: typeof CreditNotesServiceCountReq;
618
+ readonly O: typeof SumResponse;
619
+ readonly kind: MethodKind.Unary;
620
+ };
610
621
  /**
611
622
  * CSV operations
612
623
  * Download the CSV file that consists of the list of records according to the given filter request. The same file could also be used as a template for uploading records
@@ -1 +1 @@
1
- {"version":3,"file":"credit_notes.scailo_connect.d.ts","sourceRoot":"","sources":["../../../../src/credit_notes.scailo_connect.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,UAAU,EAAE,6BAA6B,EAAE,cAAc,EAAE,4BAA4B,EAAE,oCAAoC,EAAE,mBAAmB,EAAE,4BAA4B,EAAE,mBAAmB,EAAE,wBAAwB,EAAE,eAAe,EAAE,sDAAsD,EAAE,iCAAiC,EAAE,0BAA0B,EAAE,+BAA+B,EAA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QAOH;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;;WAKG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;;WAKG;;;;;;;;CAQG,CAAC"}
@@ -2,6 +2,26 @@ import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialM
2
2
  import { Message, proto3 } from "@bufbuild/protobuf";
3
3
  import { FormFieldDatum, FormFieldDatumCreateRequest } from "./forms_fields_data.scailo_pb.js";
4
4
  import { ApprovalMetadata, BOOL_FILTER, EmployeeMetadata, LogbookLogConciseSLC, SORT_ORDER, STANDARD_LIFECYCLE_STATUS } from "./base.scailo_pb.js";
5
+ /**
6
+ *
7
+ * Stores all the possible references from which a credit note can be added
8
+ *
9
+ * @generated from enum Scailo.CREDIT_NOTE_REF_FROM
10
+ */
11
+ export declare enum CREDIT_NOTE_REF_FROM {
12
+ /**
13
+ * Used only in filters
14
+ *
15
+ * @generated from enum value: CREDIT_NOTE_REF_FROM_ANY_UNSPECIFIED = 0;
16
+ */
17
+ CREDIT_NOTE_REF_FROM_ANY_UNSPECIFIED = 0,
18
+ /**
19
+ * Denotes that the credit note originated from a sales order
20
+ *
21
+ * @generated from enum value: CREDIT_NOTE_REF_FROM_SALES_ORDER = 1;
22
+ */
23
+ CREDIT_NOTE_REF_FROM_SALES_ORDER = 1
24
+ }
5
25
  /**
6
26
  *
7
27
  * Describes the available sort keys
@@ -174,7 +194,13 @@ export declare enum CREDIT_NOTE_SORT_KEY {
174
194
  *
175
195
  * @generated from enum value: CREDIT_NOTE_SORT_KEY_FINAL_REF_NUMBER = 11;
176
196
  */
177
- CREDIT_NOTE_SORT_KEY_FINAL_REF_NUMBER = 11
197
+ CREDIT_NOTE_SORT_KEY_FINAL_REF_NUMBER = 11,
198
+ /**
199
+ * Fetch ordered results by the total value
200
+ *
201
+ * @generated from enum value: CREDIT_NOTE_SORT_KEY_TOTAL_VALUE = 30;
202
+ */
203
+ CREDIT_NOTE_SORT_KEY_TOTAL_VALUE = 30
178
204
  }
179
205
  /**
180
206
  *
@@ -210,9 +236,9 @@ export declare class CreditNotesServiceCreateRequest extends Message<CreditNotes
210
236
  /**
211
237
  * The associated reference
212
238
  *
213
- * @generated from field: string ref_from = 12;
239
+ * @generated from field: Scailo.CREDIT_NOTE_REF_FROM ref_from = 12;
214
240
  */
215
- refFrom: string;
241
+ refFrom: CREDIT_NOTE_REF_FROM;
216
242
  /**
217
243
  * The associated ID of the reference
218
244
  *
@@ -466,9 +492,9 @@ export declare class CreditNote extends Message<CreditNote> {
466
492
  /**
467
493
  * The associated reference
468
494
  *
469
- * @generated from field: string ref_from = 12;
495
+ * @generated from field: Scailo.CREDIT_NOTE_REF_FROM ref_from = 12;
470
496
  */
471
- refFrom: string;
497
+ refFrom: CREDIT_NOTE_REF_FROM;
472
498
  /**
473
499
  * The associated ID of the reference
474
500
  *
@@ -906,9 +932,9 @@ export declare class CreditNotesServiceAlreadyAddedQuantityForSourceRequest exte
906
932
  /**
907
933
  * The associated reference
908
934
  *
909
- * @generated from field: string ref_from = 1;
935
+ * @generated from field: Scailo.CREDIT_NOTE_REF_FROM ref_from = 1;
910
936
  */
911
- refFrom: string;
937
+ refFrom: CREDIT_NOTE_REF_FROM;
912
938
  /**
913
939
  * The associated ID of the reference
914
940
  *
@@ -1304,9 +1330,9 @@ export declare class CreditNotesServiceFilterReq extends Message<CreditNotesServ
1304
1330
  /**
1305
1331
  * The associated reference
1306
1332
  *
1307
- * @generated from field: string ref_from = 22;
1333
+ * @generated from field: Scailo.CREDIT_NOTE_REF_FROM ref_from = 22;
1308
1334
  */
1309
- refFrom: string;
1335
+ refFrom: CREDIT_NOTE_REF_FROM;
1310
1336
  /**
1311
1337
  * The associated ID of the reference
1312
1338
  *
@@ -1350,6 +1376,18 @@ export declare class CreditNotesServiceFilterReq extends Message<CreditNotesServ
1350
1376
  * @generated from field: uint64 project_id = 52;
1351
1377
  */
1352
1378
  projectId: bigint;
1379
+ /**
1380
+ * Stores the minimum value of the credit note (ignored if 0)
1381
+ *
1382
+ * @generated from field: uint64 total_value_min = 70;
1383
+ */
1384
+ totalValueMin: bigint;
1385
+ /**
1386
+ * Stores the maximum value of the credit note (ignored if 0)
1387
+ *
1388
+ * @generated from field: uint64 total_value_max = 71;
1389
+ */
1390
+ totalValueMax: bigint;
1353
1391
  constructor(data?: PartialMessage<CreditNotesServiceFilterReq>);
1354
1392
  static readonly runtime: typeof proto3;
1355
1393
  static readonly typeName = "Scailo.CreditNotesServiceFilterReq";
@@ -1459,9 +1497,9 @@ export declare class CreditNotesServiceCountReq extends Message<CreditNotesServi
1459
1497
  /**
1460
1498
  * The associated reference
1461
1499
  *
1462
- * @generated from field: string ref_from = 22;
1500
+ * @generated from field: Scailo.CREDIT_NOTE_REF_FROM ref_from = 22;
1463
1501
  */
1464
- refFrom: string;
1502
+ refFrom: CREDIT_NOTE_REF_FROM;
1465
1503
  /**
1466
1504
  * The associated ID of the reference
1467
1505
  *
@@ -1505,6 +1543,18 @@ export declare class CreditNotesServiceCountReq extends Message<CreditNotesServi
1505
1543
  * @generated from field: uint64 project_id = 52;
1506
1544
  */
1507
1545
  projectId: bigint;
1546
+ /**
1547
+ * Stores the minimum value of the credit note (ignored if 0)
1548
+ *
1549
+ * @generated from field: uint64 total_value_min = 70;
1550
+ */
1551
+ totalValueMin: bigint;
1552
+ /**
1553
+ * Stores the maximum value of the credit note (ignored if 0)
1554
+ *
1555
+ * @generated from field: uint64 total_value_max = 71;
1556
+ */
1557
+ totalValueMax: bigint;
1508
1558
  constructor(data?: PartialMessage<CreditNotesServiceCountReq>);
1509
1559
  static readonly runtime: typeof proto3;
1510
1560
  static readonly typeName = "Scailo.CreditNotesServiceCountReq";
@@ -1572,9 +1622,9 @@ export declare class CreditNotesServiceSearchAllReq extends Message<CreditNotesS
1572
1622
  /**
1573
1623
  * The associated reference
1574
1624
  *
1575
- * @generated from field: string ref_from = 22;
1625
+ * @generated from field: Scailo.CREDIT_NOTE_REF_FROM ref_from = 22;
1576
1626
  */
1577
- refFrom: string;
1627
+ refFrom: CREDIT_NOTE_REF_FROM;
1578
1628
  /**
1579
1629
  * The associated ID of the reference
1580
1630
  *