@kernelminds/scailo-sdk 0.0.65 → 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.
- package/lib/cjs/src/components.scailo_pb.js +7 -0
- package/lib/cjs/src/equipments.scailo_pb.js +7 -0
- package/lib/cjs/src/feedstocks.scailo_pb.js +7 -0
- package/lib/cjs/src/infrastructures.scailo_pb.js +7 -0
- package/lib/cjs/src/merchandises.scailo_pb.js +7 -0
- package/lib/cjs/src/products.scailo_pb.js +7 -0
- package/lib/cjs/src/proforma_invoices.scailo_pb.js +45 -19
- package/lib/cjs/src/sales_invoices.scailo_pb.js +45 -19
- package/lib/cjs/src/vendor_invoices.scailo_pb.js +45 -19
- package/lib/cjs/types/src/components.scailo_pb.d.ts +6 -0
- package/lib/cjs/types/src/components.scailo_pb.d.ts.map +1 -1
- package/lib/cjs/types/src/equipments.scailo_pb.d.ts +6 -0
- package/lib/cjs/types/src/equipments.scailo_pb.d.ts.map +1 -1
- package/lib/cjs/types/src/feedstocks.scailo_pb.d.ts +6 -0
- package/lib/cjs/types/src/feedstocks.scailo_pb.d.ts.map +1 -1
- package/lib/cjs/types/src/infrastructures.scailo_pb.d.ts +6 -0
- package/lib/cjs/types/src/infrastructures.scailo_pb.d.ts.map +1 -1
- package/lib/cjs/types/src/merchandises.scailo_pb.d.ts +6 -0
- package/lib/cjs/types/src/merchandises.scailo_pb.d.ts.map +1 -1
- package/lib/cjs/types/src/products.scailo_pb.d.ts +6 -0
- package/lib/cjs/types/src/products.scailo_pb.d.ts.map +1 -1
- package/lib/cjs/types/src/proforma_invoices.scailo_pb.d.ts +32 -12
- package/lib/cjs/types/src/proforma_invoices.scailo_pb.d.ts.map +1 -1
- package/lib/cjs/types/src/sales_invoices.scailo_pb.d.ts +32 -12
- package/lib/cjs/types/src/sales_invoices.scailo_pb.d.ts.map +1 -1
- package/lib/cjs/types/src/vendor_invoices.scailo_pb.d.ts +32 -12
- package/lib/cjs/types/src/vendor_invoices.scailo_pb.d.ts.map +1 -1
- package/lib/esm/src/components.scailo_pb.js +7 -0
- package/lib/esm/src/equipments.scailo_pb.js +7 -0
- package/lib/esm/src/feedstocks.scailo_pb.js +7 -0
- package/lib/esm/src/infrastructures.scailo_pb.js +7 -0
- package/lib/esm/src/merchandises.scailo_pb.js +7 -0
- package/lib/esm/src/products.scailo_pb.js +7 -0
- package/lib/esm/src/proforma_invoices.scailo_pb.js +45 -19
- package/lib/esm/src/sales_invoices.scailo_pb.js +45 -19
- package/lib/esm/src/vendor_invoices.scailo_pb.js +45 -19
- package/lib/esm/types/src/components.scailo_pb.d.ts +6 -0
- package/lib/esm/types/src/components.scailo_pb.d.ts.map +1 -1
- package/lib/esm/types/src/equipments.scailo_pb.d.ts +6 -0
- package/lib/esm/types/src/equipments.scailo_pb.d.ts.map +1 -1
- package/lib/esm/types/src/feedstocks.scailo_pb.d.ts +6 -0
- package/lib/esm/types/src/feedstocks.scailo_pb.d.ts.map +1 -1
- package/lib/esm/types/src/infrastructures.scailo_pb.d.ts +6 -0
- package/lib/esm/types/src/infrastructures.scailo_pb.d.ts.map +1 -1
- package/lib/esm/types/src/merchandises.scailo_pb.d.ts +6 -0
- package/lib/esm/types/src/merchandises.scailo_pb.d.ts.map +1 -1
- package/lib/esm/types/src/products.scailo_pb.d.ts +6 -0
- package/lib/esm/types/src/products.scailo_pb.d.ts.map +1 -1
- package/lib/esm/types/src/proforma_invoices.scailo_pb.d.ts +32 -12
- package/lib/esm/types/src/proforma_invoices.scailo_pb.d.ts.map +1 -1
- package/lib/esm/types/src/sales_invoices.scailo_pb.d.ts +32 -12
- package/lib/esm/types/src/sales_invoices.scailo_pb.d.ts.map +1 -1
- package/lib/esm/types/src/vendor_invoices.scailo_pb.d.ts +32 -12
- package/lib/esm/types/src/vendor_invoices.scailo_pb.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1419,6 +1419,12 @@ class ComponentsServiceSearchAllReq extends protobuf_1.Message {
|
|
|
1419
1419
|
* @generated from field: Scailo.BOOL_FILTER is_qc_report_public = 52;
|
|
1420
1420
|
*/
|
|
1421
1421
|
this.isQcReportPublic = base_scailo_pb_js_1.BOOL_FILTER.BOOL_FILTER_ANY_UNSPECIFIED;
|
|
1422
|
+
/**
|
|
1423
|
+
* Filter by the location ID
|
|
1424
|
+
*
|
|
1425
|
+
* @generated from field: uint64 location_id = 54;
|
|
1426
|
+
*/
|
|
1427
|
+
this.locationId = protobuf_1.protoInt64.zero;
|
|
1422
1428
|
protobuf_1.proto3.util.initPartial(data, this);
|
|
1423
1429
|
}
|
|
1424
1430
|
static fromBinary(bytes, options) {
|
|
@@ -1454,4 +1460,5 @@ ComponentsServiceSearchAllReq.fields = protobuf_1.proto3.util.newFieldList(() =>
|
|
|
1454
1460
|
{ no: 50, name: "store_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1455
1461
|
{ no: 51, name: "storage_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1456
1462
|
{ no: 52, name: "is_qc_report_public", kind: "enum", T: protobuf_1.proto3.getEnumType(base_scailo_pb_js_1.BOOL_FILTER) },
|
|
1463
|
+
{ no: 54, name: "location_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1457
1464
|
]);
|
|
@@ -1405,6 +1405,12 @@ class EquipmentsServiceSearchAllReq extends protobuf_1.Message {
|
|
|
1405
1405
|
* @generated from field: Scailo.BOOL_FILTER is_qc_report_public = 52;
|
|
1406
1406
|
*/
|
|
1407
1407
|
this.isQcReportPublic = base_scailo_pb_js_1.BOOL_FILTER.BOOL_FILTER_ANY_UNSPECIFIED;
|
|
1408
|
+
/**
|
|
1409
|
+
* Filter by the location ID
|
|
1410
|
+
*
|
|
1411
|
+
* @generated from field: uint64 location_id = 54;
|
|
1412
|
+
*/
|
|
1413
|
+
this.locationId = protobuf_1.protoInt64.zero;
|
|
1408
1414
|
protobuf_1.proto3.util.initPartial(data, this);
|
|
1409
1415
|
}
|
|
1410
1416
|
static fromBinary(bytes, options) {
|
|
@@ -1440,4 +1446,5 @@ EquipmentsServiceSearchAllReq.fields = protobuf_1.proto3.util.newFieldList(() =>
|
|
|
1440
1446
|
{ no: 50, name: "store_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1441
1447
|
{ no: 51, name: "storage_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1442
1448
|
{ no: 52, name: "is_qc_report_public", kind: "enum", T: protobuf_1.proto3.getEnumType(base_scailo_pb_js_1.BOOL_FILTER) },
|
|
1449
|
+
{ no: 54, name: "location_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1443
1450
|
]);
|
|
@@ -1405,6 +1405,12 @@ class FeedstocksServiceSearchAllReq extends protobuf_1.Message {
|
|
|
1405
1405
|
* @generated from field: Scailo.BOOL_FILTER is_qc_report_public = 52;
|
|
1406
1406
|
*/
|
|
1407
1407
|
this.isQcReportPublic = base_scailo_pb_js_1.BOOL_FILTER.BOOL_FILTER_ANY_UNSPECIFIED;
|
|
1408
|
+
/**
|
|
1409
|
+
* Filter by the location ID
|
|
1410
|
+
*
|
|
1411
|
+
* @generated from field: uint64 location_id = 54;
|
|
1412
|
+
*/
|
|
1413
|
+
this.locationId = protobuf_1.protoInt64.zero;
|
|
1408
1414
|
protobuf_1.proto3.util.initPartial(data, this);
|
|
1409
1415
|
}
|
|
1410
1416
|
static fromBinary(bytes, options) {
|
|
@@ -1440,4 +1446,5 @@ FeedstocksServiceSearchAllReq.fields = protobuf_1.proto3.util.newFieldList(() =>
|
|
|
1440
1446
|
{ no: 50, name: "store_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1441
1447
|
{ no: 51, name: "storage_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1442
1448
|
{ no: 52, name: "is_qc_report_public", kind: "enum", T: protobuf_1.proto3.getEnumType(base_scailo_pb_js_1.BOOL_FILTER) },
|
|
1449
|
+
{ no: 54, name: "location_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1443
1450
|
]);
|
|
@@ -1405,6 +1405,12 @@ class InfrastructuresServiceSearchAllReq extends protobuf_1.Message {
|
|
|
1405
1405
|
* @generated from field: Scailo.BOOL_FILTER is_qc_report_public = 52;
|
|
1406
1406
|
*/
|
|
1407
1407
|
this.isQcReportPublic = base_scailo_pb_js_1.BOOL_FILTER.BOOL_FILTER_ANY_UNSPECIFIED;
|
|
1408
|
+
/**
|
|
1409
|
+
* Filter by the location ID
|
|
1410
|
+
*
|
|
1411
|
+
* @generated from field: uint64 location_id = 54;
|
|
1412
|
+
*/
|
|
1413
|
+
this.locationId = protobuf_1.protoInt64.zero;
|
|
1408
1414
|
protobuf_1.proto3.util.initPartial(data, this);
|
|
1409
1415
|
}
|
|
1410
1416
|
static fromBinary(bytes, options) {
|
|
@@ -1440,4 +1446,5 @@ InfrastructuresServiceSearchAllReq.fields = protobuf_1.proto3.util.newFieldList(
|
|
|
1440
1446
|
{ no: 50, name: "store_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1441
1447
|
{ no: 51, name: "storage_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1442
1448
|
{ no: 52, name: "is_qc_report_public", kind: "enum", T: protobuf_1.proto3.getEnumType(base_scailo_pb_js_1.BOOL_FILTER) },
|
|
1449
|
+
{ no: 54, name: "location_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1443
1450
|
]);
|
|
@@ -1405,6 +1405,12 @@ class MerchandisesServiceSearchAllReq extends protobuf_1.Message {
|
|
|
1405
1405
|
* @generated from field: Scailo.BOOL_FILTER is_qc_report_public = 52;
|
|
1406
1406
|
*/
|
|
1407
1407
|
this.isQcReportPublic = base_scailo_pb_js_1.BOOL_FILTER.BOOL_FILTER_ANY_UNSPECIFIED;
|
|
1408
|
+
/**
|
|
1409
|
+
* Filter by the location ID
|
|
1410
|
+
*
|
|
1411
|
+
* @generated from field: uint64 location_id = 54;
|
|
1412
|
+
*/
|
|
1413
|
+
this.locationId = protobuf_1.protoInt64.zero;
|
|
1408
1414
|
protobuf_1.proto3.util.initPartial(data, this);
|
|
1409
1415
|
}
|
|
1410
1416
|
static fromBinary(bytes, options) {
|
|
@@ -1440,4 +1446,5 @@ MerchandisesServiceSearchAllReq.fields = protobuf_1.proto3.util.newFieldList(()
|
|
|
1440
1446
|
{ no: 50, name: "store_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1441
1447
|
{ no: 51, name: "storage_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1442
1448
|
{ no: 52, name: "is_qc_report_public", kind: "enum", T: protobuf_1.proto3.getEnumType(base_scailo_pb_js_1.BOOL_FILTER) },
|
|
1449
|
+
{ no: 54, name: "location_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1443
1450
|
]);
|
|
@@ -1380,6 +1380,12 @@ class ProductsServiceSearchAllReq extends protobuf_1.Message {
|
|
|
1380
1380
|
* @generated from field: Scailo.BOOL_FILTER is_qc_report_public = 52;
|
|
1381
1381
|
*/
|
|
1382
1382
|
this.isQcReportPublic = base_scailo_pb_js_1.BOOL_FILTER.BOOL_FILTER_ANY_UNSPECIFIED;
|
|
1383
|
+
/**
|
|
1384
|
+
* Filter by the location ID
|
|
1385
|
+
*
|
|
1386
|
+
* @generated from field: uint64 location_id = 54;
|
|
1387
|
+
*/
|
|
1388
|
+
this.locationId = protobuf_1.protoInt64.zero;
|
|
1383
1389
|
protobuf_1.proto3.util.initPartial(data, this);
|
|
1384
1390
|
}
|
|
1385
1391
|
static fromBinary(bytes, options) {
|
|
@@ -1415,4 +1421,5 @@ ProductsServiceSearchAllReq.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
|
1415
1421
|
{ no: 50, name: "store_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1416
1422
|
{ no: 51, name: "storage_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1417
1423
|
{ no: 52, name: "is_qc_report_public", kind: "enum", T: protobuf_1.proto3.getEnumType(base_scailo_pb_js_1.BOOL_FILTER) },
|
|
1424
|
+
{ no: 54, name: "location_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1418
1425
|
]);
|
|
@@ -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:
|
|
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: "
|
|
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:
|
|
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: "
|
|
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:
|
|
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: "
|
|
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:
|
|
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: "
|
|
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:
|
|
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: "
|
|
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:
|
|
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: "
|
|
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:
|
|
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: "
|
|
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:
|
|
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: "
|
|
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:
|
|
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: "
|
|
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:
|
|
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: "
|
|
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:
|
|
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: "
|
|
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:
|
|
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: "
|
|
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:
|
|
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: "
|
|
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:
|
|
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: "
|
|
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:
|
|
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: "
|
|
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:
|
|
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: "
|
|
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:
|
|
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: "
|
|
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:
|
|
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: "
|
|
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
|
]);
|
|
@@ -1148,6 +1148,12 @@ export declare class ComponentsServiceSearchAllReq extends Message<ComponentsSer
|
|
|
1148
1148
|
* @generated from field: Scailo.BOOL_FILTER is_qc_report_public = 52;
|
|
1149
1149
|
*/
|
|
1150
1150
|
isQcReportPublic: BOOL_FILTER;
|
|
1151
|
+
/**
|
|
1152
|
+
* Filter by the location ID
|
|
1153
|
+
*
|
|
1154
|
+
* @generated from field: uint64 location_id = 54;
|
|
1155
|
+
*/
|
|
1156
|
+
locationId: bigint;
|
|
1151
1157
|
constructor(data?: PartialMessage<ComponentsServiceSearchAllReq>);
|
|
1152
1158
|
static readonly runtime: typeof proto3;
|
|
1153
1159
|
static readonly typeName = "Scailo.ComponentsServiceSearchAllReq";
|