@kernelminds/scailo-sdk 0.0.66 → 0.0.67

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.
@@ -4,10 +4,36 @@
4
4
  /* eslint-disable */
5
5
  // @ts-nocheck
6
6
  Object.defineProperty(exports, "__esModule", { value: true });
7
- exports.ProformaInvoicesServicePaginatedItemsResponse = exports.ProformaInvoiceItemsSearchRequest = exports.ProformaInvoicesServiceSearchAllReq = exports.ProformaInvoicesServiceCountReq = exports.ProformaInvoicesServiceFilterReq = exports.ProformaInvoicesServicePaginationResponse = exports.ProformaInvoicesServicePaginationReq = exports.ProformaInvoicesServiceAlreadyAddedQuantityForSourceRequest = exports.ProformaInvoiceItemProspectiveInfoRequest = exports.ProformaInvoiceItemHistoryRequest = exports.ProformaInvoiceItemsList = exports.ProformaInvoicesList = exports.ProformaInvoiceItem = exports.ProformaInvoicesServiceItemUpdateRequest = exports.ProformaInvoicesServiceItemCreateRequest = exports.ProformaInvoice = exports.ProformaInvoiceAncillaryParameters = exports.ProformaInvoicesServiceAutofillRequest = exports.ProformaInvoicesServiceUpdateRequest = exports.ProformaInvoicesServiceCreateRequest = exports.PROFORMA_INVOICE_ITEM_STATUS = exports.PROFORMA_INVOICE_ITEM_SORT_KEY = exports.PROFORMA_INVOICE_BILLING_STATUS = exports.PROFORMA_INVOICE_SORT_KEY = void 0;
7
+ exports.ProformaInvoicesServicePaginatedItemsResponse = exports.ProformaInvoiceItemsSearchRequest = exports.ProformaInvoicesServiceSearchAllReq = exports.ProformaInvoicesServiceCountReq = exports.ProformaInvoicesServiceFilterReq = exports.ProformaInvoicesServicePaginationResponse = exports.ProformaInvoicesServicePaginationReq = exports.ProformaInvoicesServiceAlreadyAddedQuantityForSourceRequest = exports.ProformaInvoiceItemProspectiveInfoRequest = exports.ProformaInvoiceItemHistoryRequest = exports.ProformaInvoiceItemsList = exports.ProformaInvoicesList = exports.ProformaInvoiceItem = exports.ProformaInvoicesServiceItemUpdateRequest = exports.ProformaInvoicesServiceItemCreateRequest = exports.ProformaInvoice = exports.ProformaInvoiceAncillaryParameters = exports.ProformaInvoicesServiceAutofillRequest = exports.ProformaInvoicesServiceUpdateRequest = exports.ProformaInvoicesServiceCreateRequest = exports.PROFORMA_INVOICE_ITEM_STATUS = exports.PROFORMA_INVOICE_ITEM_SORT_KEY = exports.PROFORMA_INVOICE_BILLING_STATUS = exports.PROFORMA_INVOICE_SORT_KEY = exports.PROFORMA_INVOICE_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 a proforma invoice can be added
14
+ *
15
+ * @generated from enum Scailo.PROFORMA_INVOICE_REF_FROM
16
+ */
17
+ var PROFORMA_INVOICE_REF_FROM;
18
+ (function (PROFORMA_INVOICE_REF_FROM) {
19
+ /**
20
+ * Used only in filters
21
+ *
22
+ * @generated from enum value: PROFORMA_INVOICE_REF_FROM_ANY_UNSPECIFIED = 0;
23
+ */
24
+ PROFORMA_INVOICE_REF_FROM[PROFORMA_INVOICE_REF_FROM["PROFORMA_INVOICE_REF_FROM_ANY_UNSPECIFIED"] = 0] = "PROFORMA_INVOICE_REF_FROM_ANY_UNSPECIFIED";
25
+ /**
26
+ * Denotes that the proforma invoice originated from a sales order
27
+ *
28
+ * @generated from enum value: PROFORMA_INVOICE_REF_FROM_SALES_ORDER = 1;
29
+ */
30
+ PROFORMA_INVOICE_REF_FROM[PROFORMA_INVOICE_REF_FROM["PROFORMA_INVOICE_REF_FROM_SALES_ORDER"] = 1] = "PROFORMA_INVOICE_REF_FROM_SALES_ORDER";
31
+ })(PROFORMA_INVOICE_REF_FROM || (exports.PROFORMA_INVOICE_REF_FROM = PROFORMA_INVOICE_REF_FROM = {}));
32
+ // Retrieve enum metadata with: proto3.getEnumType(PROFORMA_INVOICE_REF_FROM)
33
+ protobuf_1.proto3.util.setEnumType(PROFORMA_INVOICE_REF_FROM, "Scailo.PROFORMA_INVOICE_REF_FROM", [
34
+ { no: 0, name: "PROFORMA_INVOICE_REF_FROM_ANY_UNSPECIFIED" },
35
+ { no: 1, name: "PROFORMA_INVOICE_REF_FROM_SALES_ORDER" },
36
+ ]);
11
37
  /**
12
38
  *
13
39
  * Describes the available sort keys
@@ -302,9 +328,9 @@ class ProformaInvoicesServiceCreateRequest extends protobuf_1.Message {
302
328
  /**
303
329
  * The associated reference
304
330
  *
305
- * @generated from field: string ref_from = 12;
331
+ * @generated from field: Scailo.PROFORMA_INVOICE_REF_FROM ref_from = 12;
306
332
  */
307
- this.refFrom = "";
333
+ this.refFrom = PROFORMA_INVOICE_REF_FROM.PROFORMA_INVOICE_REF_FROM_ANY_UNSPECIFIED;
308
334
  /**
309
335
  * The associated ID of the reference
310
336
  *
@@ -382,7 +408,7 @@ ProformaInvoicesServiceCreateRequest.fields = protobuf_1.proto3.util.newFieldLis
382
408
  { no: 2, name: "user_comment", kind: "scalar", T: 9 /* ScalarType.STRING */ },
383
409
  { no: 9, name: "vault_folder_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
384
410
  { no: 10, name: "reference_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
385
- { no: 12, name: "ref_from", kind: "scalar", T: 9 /* ScalarType.STRING */ },
411
+ { no: 12, name: "ref_from", kind: "enum", T: protobuf_1.proto3.getEnumType(PROFORMA_INVOICE_REF_FROM) },
386
412
  { no: 13, name: "ref_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
387
413
  { no: 14, name: "currency_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
388
414
  { no: 15, name: "bank_account_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
@@ -660,9 +686,9 @@ class ProformaInvoice extends protobuf_1.Message {
660
686
  /**
661
687
  * The associated reference
662
688
  *
663
- * @generated from field: string ref_from = 12;
689
+ * @generated from field: Scailo.PROFORMA_INVOICE_REF_FROM ref_from = 12;
664
690
  */
665
- this.refFrom = "";
691
+ this.refFrom = PROFORMA_INVOICE_REF_FROM.PROFORMA_INVOICE_REF_FROM_ANY_UNSPECIFIED;
666
692
  /**
667
693
  * The associated ID of the reference
668
694
  *
@@ -763,7 +789,7 @@ ProformaInvoice.fields = protobuf_1.proto3.util.newFieldList(() => [
763
789
  { no: 9, name: "vault_folder_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
764
790
  { no: 10, name: "reference_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
765
791
  { no: 11, name: "final_ref_number", kind: "scalar", T: 9 /* ScalarType.STRING */ },
766
- { no: 12, name: "ref_from", kind: "scalar", T: 9 /* ScalarType.STRING */ },
792
+ { no: 12, name: "ref_from", kind: "enum", T: protobuf_1.proto3.getEnumType(PROFORMA_INVOICE_REF_FROM) },
767
793
  { no: 13, name: "ref_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
768
794
  { no: 14, name: "currency_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
769
795
  { no: 15, name: "bank_account_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
@@ -1274,9 +1300,9 @@ class ProformaInvoicesServiceAlreadyAddedQuantityForSourceRequest extends protob
1274
1300
  /**
1275
1301
  * The associated reference
1276
1302
  *
1277
- * @generated from field: string ref_from = 1;
1303
+ * @generated from field: Scailo.PROFORMA_INVOICE_REF_FROM ref_from = 1;
1278
1304
  */
1279
- this.refFrom = "";
1305
+ this.refFrom = PROFORMA_INVOICE_REF_FROM.PROFORMA_INVOICE_REF_FROM_ANY_UNSPECIFIED;
1280
1306
  /**
1281
1307
  * The associated ID of the reference
1282
1308
  *
@@ -1308,7 +1334,7 @@ exports.ProformaInvoicesServiceAlreadyAddedQuantityForSourceRequest = ProformaIn
1308
1334
  ProformaInvoicesServiceAlreadyAddedQuantityForSourceRequest.runtime = protobuf_1.proto3;
1309
1335
  ProformaInvoicesServiceAlreadyAddedQuantityForSourceRequest.typeName = "Scailo.ProformaInvoicesServiceAlreadyAddedQuantityForSourceRequest";
1310
1336
  ProformaInvoicesServiceAlreadyAddedQuantityForSourceRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
1311
- { no: 1, name: "ref_from", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1337
+ { no: 1, name: "ref_from", kind: "enum", T: protobuf_1.proto3.getEnumType(PROFORMA_INVOICE_REF_FROM) },
1312
1338
  { no: 2, name: "ref_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
1313
1339
  { no: 3, name: "family_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
1314
1340
  ]);
@@ -1566,9 +1592,9 @@ class ProformaInvoicesServiceFilterReq extends protobuf_1.Message {
1566
1592
  /**
1567
1593
  * The associated reference
1568
1594
  *
1569
- * @generated from field: string ref_from = 22;
1595
+ * @generated from field: Scailo.PROFORMA_INVOICE_REF_FROM ref_from = 22;
1570
1596
  */
1571
- this.refFrom = "";
1597
+ this.refFrom = PROFORMA_INVOICE_REF_FROM.PROFORMA_INVOICE_REF_FROM_ANY_UNSPECIFIED;
1572
1598
  /**
1573
1599
  * The associated ID of the reference
1574
1600
  *
@@ -1668,7 +1694,7 @@ ProformaInvoicesServiceFilterReq.fields = protobuf_1.proto3.util.newFieldList(()
1668
1694
  { no: 16, name: "completed_on_end", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
1669
1695
  { no: 20, name: "reference_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1670
1696
  { no: 21, name: "final_ref_number", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1671
- { no: 22, name: "ref_from", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1697
+ { no: 22, name: "ref_from", kind: "enum", T: protobuf_1.proto3.getEnumType(PROFORMA_INVOICE_REF_FROM) },
1672
1698
  { no: 23, name: "ref_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
1673
1699
  { no: 24, name: "currency_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
1674
1700
  { no: 25, name: "bank_account_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
@@ -1782,9 +1808,9 @@ class ProformaInvoicesServiceCountReq extends protobuf_1.Message {
1782
1808
  /**
1783
1809
  * The associated reference
1784
1810
  *
1785
- * @generated from field: string ref_from = 22;
1811
+ * @generated from field: Scailo.PROFORMA_INVOICE_REF_FROM ref_from = 22;
1786
1812
  */
1787
- this.refFrom = "";
1813
+ this.refFrom = PROFORMA_INVOICE_REF_FROM.PROFORMA_INVOICE_REF_FROM_ANY_UNSPECIFIED;
1788
1814
  /**
1789
1815
  * The associated ID of the reference
1790
1816
  *
@@ -1880,7 +1906,7 @@ ProformaInvoicesServiceCountReq.fields = protobuf_1.proto3.util.newFieldList(()
1880
1906
  { no: 16, name: "completed_on_end", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
1881
1907
  { no: 20, name: "reference_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1882
1908
  { no: 21, name: "final_ref_number", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1883
- { no: 22, name: "ref_from", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1909
+ { no: 22, name: "ref_from", kind: "enum", T: protobuf_1.proto3.getEnumType(PROFORMA_INVOICE_REF_FROM) },
1884
1910
  { no: 23, name: "ref_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
1885
1911
  { no: 24, name: "currency_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
1886
1912
  { no: 25, name: "bank_account_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
@@ -1952,9 +1978,9 @@ class ProformaInvoicesServiceSearchAllReq extends protobuf_1.Message {
1952
1978
  /**
1953
1979
  * The associated reference
1954
1980
  *
1955
- * @generated from field: string ref_from = 22;
1981
+ * @generated from field: Scailo.PROFORMA_INVOICE_REF_FROM ref_from = 22;
1956
1982
  */
1957
- this.refFrom = "";
1983
+ this.refFrom = PROFORMA_INVOICE_REF_FROM.PROFORMA_INVOICE_REF_FROM_ANY_UNSPECIFIED;
1958
1984
  /**
1959
1985
  * The associated ID of the reference
1960
1986
  *
@@ -2007,7 +2033,7 @@ ProformaInvoicesServiceSearchAllReq.fields = protobuf_1.proto3.util.newFieldList
2007
2033
  { no: 6, name: "entity_uuid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2008
2034
  { no: 10, name: "status", kind: "enum", T: protobuf_1.proto3.getEnumType(base_scailo_pb_js_1.STANDARD_LIFECYCLE_STATUS) },
2009
2035
  { no: 11, name: "search_key", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2010
- { no: 22, name: "ref_from", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2036
+ { no: 22, name: "ref_from", kind: "enum", T: protobuf_1.proto3.getEnumType(PROFORMA_INVOICE_REF_FROM) },
2011
2037
  { no: 23, name: "ref_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
2012
2038
  { no: 40, name: "billing_status", kind: "enum", T: protobuf_1.proto3.getEnumType(PROFORMA_INVOICE_BILLING_STATUS) },
2013
2039
  { no: 50, name: "consignee_client_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
@@ -4,10 +4,36 @@
4
4
  /* eslint-disable */
5
5
  // @ts-nocheck
6
6
  Object.defineProperty(exports, "__esModule", { value: true });
7
- exports.SalesInvoiceDispatchedStatisticsList = exports.SalesInvoiceDispatchedStatistics = exports.SalesInvoicesServicePaginatedItemsResponse = exports.SalesInvoiceItemsSearchRequest = exports.SalesInvoiceReferencesList = exports.SalesInvoiceReference = exports.SalesInvoicesServiceReferenceCreateRequest = exports.SalesInvoicesServiceSearchAllReq = exports.SalesInvoicesServiceCountReq = exports.SalesInvoicesServiceFilterReq = exports.SalesInvoicesServicePaginationResponse = exports.SalesInvoicesServicePaginationReq = exports.SalesInvoicesServiceAlreadyAddedQuantityForSourceRequest = exports.SalesInvoiceItemProspectiveInfoRequest = exports.SalesInvoiceItemHistoryRequest = exports.SalesInvoiceItemsList = exports.SalesInvoicesList = exports.SalesInvoiceItem = exports.SalesInvoicesServiceItemUpdateRequest = exports.SalesInvoicesServiceItemCreateRequest = exports.SalesInvoice = exports.SalesInvoiceAncillaryParameters = exports.SalesInvoicesServiceAutofillRequest = exports.SalesInvoicesServiceUpdateRequest = exports.SalesInvoicesServiceCreateRequest = exports.SALES_INVOICE_ITEM_STATUS = exports.SALES_INVOICE_ITEM_SORT_KEY = exports.SALES_INVOICE_SORT_KEY = void 0;
7
+ exports.SalesInvoiceDispatchedStatisticsList = exports.SalesInvoiceDispatchedStatistics = exports.SalesInvoicesServicePaginatedItemsResponse = exports.SalesInvoiceItemsSearchRequest = exports.SalesInvoiceReferencesList = exports.SalesInvoiceReference = exports.SalesInvoicesServiceReferenceCreateRequest = exports.SalesInvoicesServiceSearchAllReq = exports.SalesInvoicesServiceCountReq = exports.SalesInvoicesServiceFilterReq = exports.SalesInvoicesServicePaginationResponse = exports.SalesInvoicesServicePaginationReq = exports.SalesInvoicesServiceAlreadyAddedQuantityForSourceRequest = exports.SalesInvoiceItemProspectiveInfoRequest = exports.SalesInvoiceItemHistoryRequest = exports.SalesInvoiceItemsList = exports.SalesInvoicesList = exports.SalesInvoiceItem = exports.SalesInvoicesServiceItemUpdateRequest = exports.SalesInvoicesServiceItemCreateRequest = exports.SalesInvoice = exports.SalesInvoiceAncillaryParameters = exports.SalesInvoicesServiceAutofillRequest = exports.SalesInvoicesServiceUpdateRequest = exports.SalesInvoicesServiceCreateRequest = exports.SALES_INVOICE_ITEM_STATUS = exports.SALES_INVOICE_ITEM_SORT_KEY = exports.SALES_INVOICE_SORT_KEY = exports.SALES_INVOICE_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 a sales invoice can be added
14
+ *
15
+ * @generated from enum Scailo.SALES_INVOICE_REF_FROM
16
+ */
17
+ var SALES_INVOICE_REF_FROM;
18
+ (function (SALES_INVOICE_REF_FROM) {
19
+ /**
20
+ * Used only in filters
21
+ *
22
+ * @generated from enum value: SALES_INVOICE_REF_FROM_ANY_UNSPECIFIED = 0;
23
+ */
24
+ SALES_INVOICE_REF_FROM[SALES_INVOICE_REF_FROM["SALES_INVOICE_REF_FROM_ANY_UNSPECIFIED"] = 0] = "SALES_INVOICE_REF_FROM_ANY_UNSPECIFIED";
25
+ /**
26
+ * Denotes that the sales invoice originated from a sales order
27
+ *
28
+ * @generated from enum value: SALES_INVOICE_REF_FROM_SALES_ORDER = 1;
29
+ */
30
+ SALES_INVOICE_REF_FROM[SALES_INVOICE_REF_FROM["SALES_INVOICE_REF_FROM_SALES_ORDER"] = 1] = "SALES_INVOICE_REF_FROM_SALES_ORDER";
31
+ })(SALES_INVOICE_REF_FROM || (exports.SALES_INVOICE_REF_FROM = SALES_INVOICE_REF_FROM = {}));
32
+ // Retrieve enum metadata with: proto3.getEnumType(SALES_INVOICE_REF_FROM)
33
+ protobuf_1.proto3.util.setEnumType(SALES_INVOICE_REF_FROM, "Scailo.SALES_INVOICE_REF_FROM", [
34
+ { no: 0, name: "SALES_INVOICE_REF_FROM_ANY_UNSPECIFIED" },
35
+ { no: 1, name: "SALES_INVOICE_REF_FROM_SALES_ORDER" },
36
+ ]);
11
37
  /**
12
38
  *
13
39
  * Describes the available sort keys
@@ -269,9 +295,9 @@ class SalesInvoicesServiceCreateRequest extends protobuf_1.Message {
269
295
  /**
270
296
  * The associated reference
271
297
  *
272
- * @generated from field: string ref_from = 12;
298
+ * @generated from field: Scailo.SALES_INVOICE_REF_FROM ref_from = 12;
273
299
  */
274
- this.refFrom = "";
300
+ this.refFrom = SALES_INVOICE_REF_FROM.SALES_INVOICE_REF_FROM_ANY_UNSPECIFIED;
275
301
  /**
276
302
  * The associated ID of the reference
277
303
  *
@@ -349,7 +375,7 @@ SalesInvoicesServiceCreateRequest.fields = protobuf_1.proto3.util.newFieldList((
349
375
  { no: 2, name: "user_comment", kind: "scalar", T: 9 /* ScalarType.STRING */ },
350
376
  { no: 9, name: "vault_folder_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
351
377
  { no: 10, name: "reference_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
352
- { no: 12, name: "ref_from", kind: "scalar", T: 9 /* ScalarType.STRING */ },
378
+ { no: 12, name: "ref_from", kind: "enum", T: protobuf_1.proto3.getEnumType(SALES_INVOICE_REF_FROM) },
353
379
  { no: 13, name: "ref_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
354
380
  { no: 14, name: "currency_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
355
381
  { no: 15, name: "bank_account_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
@@ -627,9 +653,9 @@ class SalesInvoice extends protobuf_1.Message {
627
653
  /**
628
654
  * The associated reference
629
655
  *
630
- * @generated from field: string ref_from = 12;
656
+ * @generated from field: Scailo.SALES_INVOICE_REF_FROM ref_from = 12;
631
657
  */
632
- this.refFrom = "";
658
+ this.refFrom = SALES_INVOICE_REF_FROM.SALES_INVOICE_REF_FROM_ANY_UNSPECIFIED;
633
659
  /**
634
660
  * The associated ID of the reference
635
661
  *
@@ -730,7 +756,7 @@ SalesInvoice.fields = protobuf_1.proto3.util.newFieldList(() => [
730
756
  { no: 9, name: "vault_folder_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
731
757
  { no: 10, name: "reference_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
732
758
  { no: 11, name: "final_ref_number", kind: "scalar", T: 9 /* ScalarType.STRING */ },
733
- { no: 12, name: "ref_from", kind: "scalar", T: 9 /* ScalarType.STRING */ },
759
+ { no: 12, name: "ref_from", kind: "enum", T: protobuf_1.proto3.getEnumType(SALES_INVOICE_REF_FROM) },
734
760
  { no: 13, name: "ref_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
735
761
  { no: 14, name: "currency_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
736
762
  { no: 15, name: "bank_account_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
@@ -1241,9 +1267,9 @@ class SalesInvoicesServiceAlreadyAddedQuantityForSourceRequest extends protobuf_
1241
1267
  /**
1242
1268
  * The associated reference
1243
1269
  *
1244
- * @generated from field: string ref_from = 1;
1270
+ * @generated from field: Scailo.SALES_INVOICE_REF_FROM ref_from = 1;
1245
1271
  */
1246
- this.refFrom = "";
1272
+ this.refFrom = SALES_INVOICE_REF_FROM.SALES_INVOICE_REF_FROM_ANY_UNSPECIFIED;
1247
1273
  /**
1248
1274
  * The associated ID of the reference
1249
1275
  *
@@ -1275,7 +1301,7 @@ exports.SalesInvoicesServiceAlreadyAddedQuantityForSourceRequest = SalesInvoices
1275
1301
  SalesInvoicesServiceAlreadyAddedQuantityForSourceRequest.runtime = protobuf_1.proto3;
1276
1302
  SalesInvoicesServiceAlreadyAddedQuantityForSourceRequest.typeName = "Scailo.SalesInvoicesServiceAlreadyAddedQuantityForSourceRequest";
1277
1303
  SalesInvoicesServiceAlreadyAddedQuantityForSourceRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
1278
- { no: 1, name: "ref_from", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1304
+ { no: 1, name: "ref_from", kind: "enum", T: protobuf_1.proto3.getEnumType(SALES_INVOICE_REF_FROM) },
1279
1305
  { no: 2, name: "ref_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
1280
1306
  { no: 3, name: "family_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
1281
1307
  ]);
@@ -1533,9 +1559,9 @@ class SalesInvoicesServiceFilterReq extends protobuf_1.Message {
1533
1559
  /**
1534
1560
  * The associated reference
1535
1561
  *
1536
- * @generated from field: string ref_from = 22;
1562
+ * @generated from field: Scailo.SALES_INVOICE_REF_FROM ref_from = 22;
1537
1563
  */
1538
- this.refFrom = "";
1564
+ this.refFrom = SALES_INVOICE_REF_FROM.SALES_INVOICE_REF_FROM_ANY_UNSPECIFIED;
1539
1565
  /**
1540
1566
  * The associated ID of the reference
1541
1567
  *
@@ -1629,7 +1655,7 @@ SalesInvoicesServiceFilterReq.fields = protobuf_1.proto3.util.newFieldList(() =>
1629
1655
  { no: 16, name: "completed_on_end", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
1630
1656
  { no: 20, name: "reference_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1631
1657
  { no: 21, name: "final_ref_number", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1632
- { no: 22, name: "ref_from", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1658
+ { no: 22, name: "ref_from", kind: "enum", T: protobuf_1.proto3.getEnumType(SALES_INVOICE_REF_FROM) },
1633
1659
  { no: 23, name: "ref_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
1634
1660
  { no: 24, name: "currency_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
1635
1661
  { no: 25, name: "bank_account_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
@@ -1742,9 +1768,9 @@ class SalesInvoicesServiceCountReq extends protobuf_1.Message {
1742
1768
  /**
1743
1769
  * The associated reference
1744
1770
  *
1745
- * @generated from field: string ref_from = 22;
1771
+ * @generated from field: Scailo.SALES_INVOICE_REF_FROM ref_from = 22;
1746
1772
  */
1747
- this.refFrom = "";
1773
+ this.refFrom = SALES_INVOICE_REF_FROM.SALES_INVOICE_REF_FROM_ANY_UNSPECIFIED;
1748
1774
  /**
1749
1775
  * The associated ID of the reference
1750
1776
  *
@@ -1834,7 +1860,7 @@ SalesInvoicesServiceCountReq.fields = protobuf_1.proto3.util.newFieldList(() =>
1834
1860
  { no: 16, name: "completed_on_end", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
1835
1861
  { no: 20, name: "reference_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1836
1862
  { no: 21, name: "final_ref_number", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1837
- { no: 22, name: "ref_from", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1863
+ { no: 22, name: "ref_from", kind: "enum", T: protobuf_1.proto3.getEnumType(SALES_INVOICE_REF_FROM) },
1838
1864
  { no: 23, name: "ref_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
1839
1865
  { no: 24, name: "currency_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
1840
1866
  { no: 25, name: "bank_account_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
@@ -1905,9 +1931,9 @@ class SalesInvoicesServiceSearchAllReq extends protobuf_1.Message {
1905
1931
  /**
1906
1932
  * The associated reference
1907
1933
  *
1908
- * @generated from field: string ref_from = 22;
1934
+ * @generated from field: Scailo.SALES_INVOICE_REF_FROM ref_from = 22;
1909
1935
  */
1910
- this.refFrom = "";
1936
+ this.refFrom = SALES_INVOICE_REF_FROM.SALES_INVOICE_REF_FROM_ANY_UNSPECIFIED;
1911
1937
  /**
1912
1938
  * The associated ID of the reference
1913
1939
  *
@@ -1954,7 +1980,7 @@ SalesInvoicesServiceSearchAllReq.fields = protobuf_1.proto3.util.newFieldList(()
1954
1980
  { no: 6, name: "entity_uuid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1955
1981
  { no: 10, name: "status", kind: "enum", T: protobuf_1.proto3.getEnumType(base_scailo_pb_js_1.STANDARD_LIFECYCLE_STATUS) },
1956
1982
  { no: 11, name: "search_key", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1957
- { no: 22, name: "ref_from", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1983
+ { no: 22, name: "ref_from", kind: "enum", T: protobuf_1.proto3.getEnumType(SALES_INVOICE_REF_FROM) },
1958
1984
  { no: 23, name: "ref_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
1959
1985
  { no: 50, name: "consignee_client_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
1960
1986
  { no: 51, name: "buyer_client_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
@@ -4,10 +4,36 @@
4
4
  /* eslint-disable */
5
5
  // @ts-nocheck
6
6
  Object.defineProperty(exports, "__esModule", { value: true });
7
- exports.VendorInvoiceReceiptStatisticsList = exports.VendorInvoiceReceiptStatistics = exports.VendorInvoicesServicePaginatedItemsResponse = exports.VendorInvoiceItemsSearchRequest = exports.VendorInvoiceReferencesList = exports.VendorInvoiceReference = exports.VendorInvoicesServiceReferenceCreateRequest = exports.VendorInvoicesServiceSearchAllReq = exports.VendorInvoicesServiceCountReq = exports.VendorInvoicesServiceFilterReq = exports.VendorInvoicesServicePaginationResponse = exports.VendorInvoicesServicePaginationReq = exports.VendorInvoicesServiceAlreadyAddedQuantityForSourceRequest = exports.VendorInvoiceItemProspectiveInfoRequest = exports.VendorInvoiceItemHistoryRequest = exports.VendorInvoiceItemsList = exports.VendorInvoicesList = exports.VendorInvoiceItem = exports.VendorInvoicesServiceItemUpdateRequest = exports.VendorInvoicesServiceItemCreateRequest = exports.VendorInvoice = exports.VendorInvoiceAncillaryParameters = exports.VendorInvoicesServiceAutofillRequest = exports.VendorInvoicesServiceUpdateRequest = exports.VendorInvoicesServiceCreateRequest = exports.VENDOR_INVOICE_ITEM_STATUS = exports.VENDOR_INVOICE_ITEM_SORT_KEY = exports.VENDOR_INVOICE_SORT_KEY = void 0;
7
+ exports.VendorInvoiceReceiptStatisticsList = exports.VendorInvoiceReceiptStatistics = exports.VendorInvoicesServicePaginatedItemsResponse = exports.VendorInvoiceItemsSearchRequest = exports.VendorInvoiceReferencesList = exports.VendorInvoiceReference = exports.VendorInvoicesServiceReferenceCreateRequest = exports.VendorInvoicesServiceSearchAllReq = exports.VendorInvoicesServiceCountReq = exports.VendorInvoicesServiceFilterReq = exports.VendorInvoicesServicePaginationResponse = exports.VendorInvoicesServicePaginationReq = exports.VendorInvoicesServiceAlreadyAddedQuantityForSourceRequest = exports.VendorInvoiceItemProspectiveInfoRequest = exports.VendorInvoiceItemHistoryRequest = exports.VendorInvoiceItemsList = exports.VendorInvoicesList = exports.VendorInvoiceItem = exports.VendorInvoicesServiceItemUpdateRequest = exports.VendorInvoicesServiceItemCreateRequest = exports.VendorInvoice = exports.VendorInvoiceAncillaryParameters = exports.VendorInvoicesServiceAutofillRequest = exports.VendorInvoicesServiceUpdateRequest = exports.VendorInvoicesServiceCreateRequest = exports.VENDOR_INVOICE_ITEM_STATUS = exports.VENDOR_INVOICE_ITEM_SORT_KEY = exports.VENDOR_INVOICE_SORT_KEY = exports.VENDOR_INVOICE_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 a vendor invoice can be added
14
+ *
15
+ * @generated from enum Scailo.VENDOR_INVOICE_REF_FROM
16
+ */
17
+ var VENDOR_INVOICE_REF_FROM;
18
+ (function (VENDOR_INVOICE_REF_FROM) {
19
+ /**
20
+ * Used only in filters
21
+ *
22
+ * @generated from enum value: VENDOR_INVOICE_REF_FROM_ANY_UNSPECIFIED = 0;
23
+ */
24
+ VENDOR_INVOICE_REF_FROM[VENDOR_INVOICE_REF_FROM["VENDOR_INVOICE_REF_FROM_ANY_UNSPECIFIED"] = 0] = "VENDOR_INVOICE_REF_FROM_ANY_UNSPECIFIED";
25
+ /**
26
+ * Denotes that the vendor invoice originated from a purchase order
27
+ *
28
+ * @generated from enum value: VENDOR_INVOICE_REF_FROM_PURCHASE_ORDER = 1;
29
+ */
30
+ VENDOR_INVOICE_REF_FROM[VENDOR_INVOICE_REF_FROM["VENDOR_INVOICE_REF_FROM_PURCHASE_ORDER"] = 1] = "VENDOR_INVOICE_REF_FROM_PURCHASE_ORDER";
31
+ })(VENDOR_INVOICE_REF_FROM || (exports.VENDOR_INVOICE_REF_FROM = VENDOR_INVOICE_REF_FROM = {}));
32
+ // Retrieve enum metadata with: proto3.getEnumType(VENDOR_INVOICE_REF_FROM)
33
+ protobuf_1.proto3.util.setEnumType(VENDOR_INVOICE_REF_FROM, "Scailo.VENDOR_INVOICE_REF_FROM", [
34
+ { no: 0, name: "VENDOR_INVOICE_REF_FROM_ANY_UNSPECIFIED" },
35
+ { no: 1, name: "VENDOR_INVOICE_REF_FROM_PURCHASE_ORDER" },
36
+ ]);
11
37
  /**
12
38
  *
13
39
  * Describes the available sort keys
@@ -255,9 +281,9 @@ class VendorInvoicesServiceCreateRequest extends protobuf_1.Message {
255
281
  /**
256
282
  * The associated reference
257
283
  *
258
- * @generated from field: string ref_from = 12;
284
+ * @generated from field: Scailo.VENDOR_INVOICE_REF_FROM ref_from = 12;
259
285
  */
260
- this.refFrom = "";
286
+ this.refFrom = VENDOR_INVOICE_REF_FROM.VENDOR_INVOICE_REF_FROM_ANY_UNSPECIFIED;
261
287
  /**
262
288
  * The associated ID of the reference
263
289
  *
@@ -341,7 +367,7 @@ VendorInvoicesServiceCreateRequest.fields = protobuf_1.proto3.util.newFieldList(
341
367
  { no: 2, name: "user_comment", kind: "scalar", T: 9 /* ScalarType.STRING */ },
342
368
  { no: 9, name: "vault_folder_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
343
369
  { no: 10, name: "reference_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
344
- { no: 12, name: "ref_from", kind: "scalar", T: 9 /* ScalarType.STRING */ },
370
+ { no: 12, name: "ref_from", kind: "enum", T: protobuf_1.proto3.getEnumType(VENDOR_INVOICE_REF_FROM) },
345
371
  { no: 13, name: "ref_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
346
372
  { no: 14, name: "currency_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
347
373
  { no: 15, name: "vendor_bill_no", kind: "scalar", T: 9 /* ScalarType.STRING */ },
@@ -627,9 +653,9 @@ class VendorInvoice extends protobuf_1.Message {
627
653
  /**
628
654
  * The associated reference
629
655
  *
630
- * @generated from field: string ref_from = 12;
656
+ * @generated from field: Scailo.VENDOR_INVOICE_REF_FROM ref_from = 12;
631
657
  */
632
- this.refFrom = "";
658
+ this.refFrom = VENDOR_INVOICE_REF_FROM.VENDOR_INVOICE_REF_FROM_ANY_UNSPECIFIED;
633
659
  /**
634
660
  * The associated ID of the reference
635
661
  *
@@ -730,7 +756,7 @@ VendorInvoice.fields = protobuf_1.proto3.util.newFieldList(() => [
730
756
  { no: 9, name: "vault_folder_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
731
757
  { no: 10, name: "reference_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
732
758
  { no: 11, name: "final_ref_number", kind: "scalar", T: 9 /* ScalarType.STRING */ },
733
- { no: 12, name: "ref_from", kind: "scalar", T: 9 /* ScalarType.STRING */ },
759
+ { no: 12, name: "ref_from", kind: "enum", T: protobuf_1.proto3.getEnumType(VENDOR_INVOICE_REF_FROM) },
734
760
  { no: 13, name: "ref_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
735
761
  { no: 14, name: "currency_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
736
762
  { no: 15, name: "vendor_bill_no", kind: "scalar", T: 9 /* ScalarType.STRING */ },
@@ -1237,9 +1263,9 @@ class VendorInvoicesServiceAlreadyAddedQuantityForSourceRequest extends protobuf
1237
1263
  /**
1238
1264
  * The associated reference
1239
1265
  *
1240
- * @generated from field: string ref_from = 1;
1266
+ * @generated from field: Scailo.VENDOR_INVOICE_REF_FROM ref_from = 1;
1241
1267
  */
1242
- this.refFrom = "";
1268
+ this.refFrom = VENDOR_INVOICE_REF_FROM.VENDOR_INVOICE_REF_FROM_ANY_UNSPECIFIED;
1243
1269
  /**
1244
1270
  * The associated ID of the reference
1245
1271
  *
@@ -1271,7 +1297,7 @@ exports.VendorInvoicesServiceAlreadyAddedQuantityForSourceRequest = VendorInvoic
1271
1297
  VendorInvoicesServiceAlreadyAddedQuantityForSourceRequest.runtime = protobuf_1.proto3;
1272
1298
  VendorInvoicesServiceAlreadyAddedQuantityForSourceRequest.typeName = "Scailo.VendorInvoicesServiceAlreadyAddedQuantityForSourceRequest";
1273
1299
  VendorInvoicesServiceAlreadyAddedQuantityForSourceRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
1274
- { no: 1, name: "ref_from", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1300
+ { no: 1, name: "ref_from", kind: "enum", T: protobuf_1.proto3.getEnumType(VENDOR_INVOICE_REF_FROM) },
1275
1301
  { no: 2, name: "ref_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
1276
1302
  { no: 3, name: "family_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
1277
1303
  ]);
@@ -1529,9 +1555,9 @@ class VendorInvoicesServiceFilterReq extends protobuf_1.Message {
1529
1555
  /**
1530
1556
  * The associated reference
1531
1557
  *
1532
- * @generated from field: string ref_from = 22;
1558
+ * @generated from field: Scailo.VENDOR_INVOICE_REF_FROM ref_from = 22;
1533
1559
  */
1534
- this.refFrom = "";
1560
+ this.refFrom = VENDOR_INVOICE_REF_FROM.VENDOR_INVOICE_REF_FROM_ANY_UNSPECIFIED;
1535
1561
  /**
1536
1562
  * The associated ID of the reference
1537
1563
  *
@@ -1636,7 +1662,7 @@ VendorInvoicesServiceFilterReq.fields = protobuf_1.proto3.util.newFieldList(() =
1636
1662
  { no: 16, name: "completed_on_end", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
1637
1663
  { no: 20, name: "reference_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1638
1664
  { no: 21, name: "final_ref_number", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1639
- { no: 22, name: "ref_from", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1665
+ { no: 22, name: "ref_from", kind: "enum", T: protobuf_1.proto3.getEnumType(VENDOR_INVOICE_REF_FROM) },
1640
1666
  { no: 23, name: "ref_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
1641
1667
  { no: 24, name: "vendor_bill_no", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1642
1668
  { no: 25, name: "vendor_bill_date_start", kind: "scalar", T: 9 /* ScalarType.STRING */ },
@@ -1751,9 +1777,9 @@ class VendorInvoicesServiceCountReq extends protobuf_1.Message {
1751
1777
  /**
1752
1778
  * The associated reference
1753
1779
  *
1754
- * @generated from field: string ref_from = 22;
1780
+ * @generated from field: Scailo.VENDOR_INVOICE_REF_FROM ref_from = 22;
1755
1781
  */
1756
- this.refFrom = "";
1782
+ this.refFrom = VENDOR_INVOICE_REF_FROM.VENDOR_INVOICE_REF_FROM_ANY_UNSPECIFIED;
1757
1783
  /**
1758
1784
  * The associated ID of the reference
1759
1785
  *
@@ -1854,7 +1880,7 @@ VendorInvoicesServiceCountReq.fields = protobuf_1.proto3.util.newFieldList(() =>
1854
1880
  { no: 16, name: "completed_on_end", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
1855
1881
  { no: 20, name: "reference_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1856
1882
  { no: 21, name: "final_ref_number", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1857
- { no: 22, name: "ref_from", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1883
+ { no: 22, name: "ref_from", kind: "enum", T: protobuf_1.proto3.getEnumType(VENDOR_INVOICE_REF_FROM) },
1858
1884
  { no: 23, name: "ref_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
1859
1885
  { no: 24, name: "vendor_bill_no", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1860
1886
  { no: 25, name: "vendor_bill_date_start", kind: "scalar", T: 9 /* ScalarType.STRING */ },
@@ -1927,9 +1953,9 @@ class VendorInvoicesServiceSearchAllReq extends protobuf_1.Message {
1927
1953
  /**
1928
1954
  * The associated reference
1929
1955
  *
1930
- * @generated from field: string ref_from = 22;
1956
+ * @generated from field: Scailo.VENDOR_INVOICE_REF_FROM ref_from = 22;
1931
1957
  */
1932
- this.refFrom = "";
1958
+ this.refFrom = VENDOR_INVOICE_REF_FROM.VENDOR_INVOICE_REF_FROM_ANY_UNSPECIFIED;
1933
1959
  /**
1934
1960
  * The associated ID of the reference
1935
1961
  *
@@ -1969,7 +1995,7 @@ VendorInvoicesServiceSearchAllReq.fields = protobuf_1.proto3.util.newFieldList((
1969
1995
  { no: 6, name: "entity_uuid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1970
1996
  { no: 10, name: "status", kind: "enum", T: protobuf_1.proto3.getEnumType(base_scailo_pb_js_1.STANDARD_LIFECYCLE_STATUS) },
1971
1997
  { no: 11, name: "search_key", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1972
- { no: 22, name: "ref_from", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1998
+ { no: 22, name: "ref_from", kind: "enum", T: protobuf_1.proto3.getEnumType(VENDOR_INVOICE_REF_FROM) },
1973
1999
  { no: 23, name: "ref_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
1974
2000
  { no: 25, name: "vendor_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
1975
2001
  ]);
@@ -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 proforma invoice can be added
8
+ *
9
+ * @generated from enum Scailo.PROFORMA_INVOICE_REF_FROM
10
+ */
11
+ export declare enum PROFORMA_INVOICE_REF_FROM {
12
+ /**
13
+ * Used only in filters
14
+ *
15
+ * @generated from enum value: PROFORMA_INVOICE_REF_FROM_ANY_UNSPECIFIED = 0;
16
+ */
17
+ PROFORMA_INVOICE_REF_FROM_ANY_UNSPECIFIED = 0,
18
+ /**
19
+ * Denotes that the proforma invoice originated from a sales order
20
+ *
21
+ * @generated from enum value: PROFORMA_INVOICE_REF_FROM_SALES_ORDER = 1;
22
+ */
23
+ PROFORMA_INVOICE_REF_FROM_SALES_ORDER = 1
24
+ }
5
25
  /**
6
26
  *
7
27
  * Describes the available sort keys
@@ -248,9 +268,9 @@ export declare class ProformaInvoicesServiceCreateRequest extends Message<Profor
248
268
  /**
249
269
  * The associated reference
250
270
  *
251
- * @generated from field: string ref_from = 12;
271
+ * @generated from field: Scailo.PROFORMA_INVOICE_REF_FROM ref_from = 12;
252
272
  */
253
- refFrom: string;
273
+ refFrom: PROFORMA_INVOICE_REF_FROM;
254
274
  /**
255
275
  * The associated ID of the reference
256
276
  *
@@ -534,9 +554,9 @@ export declare class ProformaInvoice extends Message<ProformaInvoice> {
534
554
  /**
535
555
  * The associated reference
536
556
  *
537
- * @generated from field: string ref_from = 12;
557
+ * @generated from field: Scailo.PROFORMA_INVOICE_REF_FROM ref_from = 12;
538
558
  */
539
- refFrom: string;
559
+ refFrom: PROFORMA_INVOICE_REF_FROM;
540
560
  /**
541
561
  * The associated ID of the reference
542
562
  *
@@ -992,9 +1012,9 @@ export declare class ProformaInvoicesServiceAlreadyAddedQuantityForSourceRequest
992
1012
  /**
993
1013
  * The associated reference
994
1014
  *
995
- * @generated from field: string ref_from = 1;
1015
+ * @generated from field: Scailo.PROFORMA_INVOICE_REF_FROM ref_from = 1;
996
1016
  */
997
- refFrom: string;
1017
+ refFrom: PROFORMA_INVOICE_REF_FROM;
998
1018
  /**
999
1019
  * The associated ID of the reference
1000
1020
  *
@@ -1232,9 +1252,9 @@ export declare class ProformaInvoicesServiceFilterReq extends Message<ProformaIn
1232
1252
  /**
1233
1253
  * The associated reference
1234
1254
  *
1235
- * @generated from field: string ref_from = 22;
1255
+ * @generated from field: Scailo.PROFORMA_INVOICE_REF_FROM ref_from = 22;
1236
1256
  */
1237
- refFrom: string;
1257
+ refFrom: PROFORMA_INVOICE_REF_FROM;
1238
1258
  /**
1239
1259
  * The associated ID of the reference
1240
1260
  *
@@ -1405,9 +1425,9 @@ export declare class ProformaInvoicesServiceCountReq extends Message<ProformaInv
1405
1425
  /**
1406
1426
  * The associated reference
1407
1427
  *
1408
- * @generated from field: string ref_from = 22;
1428
+ * @generated from field: Scailo.PROFORMA_INVOICE_REF_FROM ref_from = 22;
1409
1429
  */
1410
- refFrom: string;
1430
+ refFrom: PROFORMA_INVOICE_REF_FROM;
1411
1431
  /**
1412
1432
  * The associated ID of the reference
1413
1433
  *
@@ -1536,9 +1556,9 @@ export declare class ProformaInvoicesServiceSearchAllReq extends Message<Proform
1536
1556
  /**
1537
1557
  * The associated reference
1538
1558
  *
1539
- * @generated from field: string ref_from = 22;
1559
+ * @generated from field: Scailo.PROFORMA_INVOICE_REF_FROM ref_from = 22;
1540
1560
  */
1541
- refFrom: string;
1561
+ refFrom: PROFORMA_INVOICE_REF_FROM;
1542
1562
  /**
1543
1563
  * The associated ID of the reference
1544
1564
  *