@kernelminds/scailo-sdk 0.0.73 → 0.0.75
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/credit_notes.scailo_connect.js +23 -1
- package/lib/cjs/src/credit_notes.scailo_pb.js +164 -19
- package/lib/cjs/src/debit_notes.scailo_connect.js +23 -1
- package/lib/cjs/src/debit_notes.scailo_pb.js +164 -19
- package/lib/cjs/types/src/credit_notes.scailo_connect.d.ts +25 -3
- package/lib/cjs/types/src/credit_notes.scailo_connect.d.ts.map +1 -1
- package/lib/cjs/types/src/credit_notes.scailo_pb.d.ts +117 -13
- package/lib/cjs/types/src/credit_notes.scailo_pb.d.ts.map +1 -1
- package/lib/cjs/types/src/debit_notes.scailo_connect.d.ts +25 -3
- package/lib/cjs/types/src/debit_notes.scailo_connect.d.ts.map +1 -1
- package/lib/cjs/types/src/debit_notes.scailo_pb.d.ts +117 -13
- package/lib/cjs/types/src/debit_notes.scailo_pb.d.ts.map +1 -1
- package/lib/esm/src/credit_notes.scailo_connect.js +23 -1
- package/lib/esm/src/credit_notes.scailo_pb.js +164 -19
- package/lib/esm/src/debit_notes.scailo_connect.js +23 -1
- package/lib/esm/src/debit_notes.scailo_pb.js +164 -19
- package/lib/esm/types/src/credit_notes.scailo_connect.d.ts +25 -3
- package/lib/esm/types/src/credit_notes.scailo_connect.d.ts.map +1 -1
- package/lib/esm/types/src/credit_notes.scailo_pb.d.ts +117 -13
- package/lib/esm/types/src/credit_notes.scailo_pb.d.ts.map +1 -1
- package/lib/esm/types/src/debit_notes.scailo_connect.d.ts +25 -3
- package/lib/esm/types/src/debit_notes.scailo_connect.d.ts.map +1 -1
- package/lib/esm/types/src/debit_notes.scailo_pb.d.ts +117 -13
- package/lib/esm/types/src/debit_notes.scailo_pb.d.ts.map +1 -1
- 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.DebitNoteReferencesList = exports.DebitNoteReference = exports.DebitNotesServiceReferenceCreateRequest = exports.DebitNotesServiceSearchAllReq = exports.DebitNotesServiceCountReq = exports.DebitNotesServiceFilterReq = exports.DebitNotesServicePaginationResponse = exports.DebitNotesServicePaginationReq = exports.DebitNotesServicePaginatedItemsResponse = exports.DebitNoteItemsSearchRequest = exports.DebitNotesServiceAlreadyAddedQuantityForSourceRequest = exports.DebitNoteItemProspectiveInfoRequest = exports.DebitNoteItemHistoryRequest = exports.DebitNoteItemsList = exports.DebitNotesList = exports.DebitNoteItem = exports.DebitNotesServiceItemUpdateRequest = exports.DebitNotesServiceItemCreateRequest = exports.DebitNote = exports.DebitNoteAncillaryParameters = exports.DebitNotesServiceAutofillRequest = exports.DebitNotesServiceUpdateRequest = exports.DebitNotesServiceCreateRequest = exports.DEBIT_NOTE_SORT_KEY = exports.DEBIT_NOTE_ITEM_STATUS = exports.DEBIT_NOTE_ITEM_SORT_KEY = void 0;
|
|
7
|
+
exports.DebitNoteReturnStatisticsList = exports.DebitNoteReturnStatistics = exports.DebitNoteReferencesList = exports.DebitNoteReference = exports.DebitNotesServiceReferenceCreateRequest = exports.DebitNotesServiceSearchAllReq = exports.DebitNotesServiceCountReq = exports.DebitNotesServiceFilterReq = exports.DebitNotesServicePaginationResponse = exports.DebitNotesServicePaginationReq = exports.DebitNotesServicePaginatedItemsResponse = exports.DebitNoteItemsSearchRequest = exports.DebitNotesServiceAlreadyAddedQuantityForSourceRequest = exports.DebitNoteItemProspectiveInfoRequest = exports.DebitNoteItemHistoryRequest = exports.DebitNoteItemsList = exports.DebitNotesList = exports.DebitNoteItem = exports.DebitNotesServiceItemUpdateRequest = exports.DebitNotesServiceItemCreateRequest = exports.DebitNote = exports.DebitNoteAncillaryParameters = exports.DebitNotesServiceAutofillRequest = exports.DebitNotesServiceUpdateRequest = exports.DebitNotesServiceCreateRequest = exports.DEBIT_NOTE_SORT_KEY = exports.DEBIT_NOTE_ITEM_STATUS = exports.DEBIT_NOTE_ITEM_SORT_KEY = exports.DEBIT_NOTE_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 debit note can be added
|
|
14
|
+
*
|
|
15
|
+
* @generated from enum Scailo.DEBIT_NOTE_REF_FROM
|
|
16
|
+
*/
|
|
17
|
+
var DEBIT_NOTE_REF_FROM;
|
|
18
|
+
(function (DEBIT_NOTE_REF_FROM) {
|
|
19
|
+
/**
|
|
20
|
+
* Used only in filters
|
|
21
|
+
*
|
|
22
|
+
* @generated from enum value: DEBIT_NOTE_REF_FROM_ANY_UNSPECIFIED = 0;
|
|
23
|
+
*/
|
|
24
|
+
DEBIT_NOTE_REF_FROM[DEBIT_NOTE_REF_FROM["DEBIT_NOTE_REF_FROM_ANY_UNSPECIFIED"] = 0] = "DEBIT_NOTE_REF_FROM_ANY_UNSPECIFIED";
|
|
25
|
+
/**
|
|
26
|
+
* Denotes that the debit note originated from a purchase order
|
|
27
|
+
*
|
|
28
|
+
* @generated from enum value: DEBIT_NOTE_REF_FROM_PURCHASE_ORDER = 1;
|
|
29
|
+
*/
|
|
30
|
+
DEBIT_NOTE_REF_FROM[DEBIT_NOTE_REF_FROM["DEBIT_NOTE_REF_FROM_PURCHASE_ORDER"] = 1] = "DEBIT_NOTE_REF_FROM_PURCHASE_ORDER";
|
|
31
|
+
})(DEBIT_NOTE_REF_FROM || (exports.DEBIT_NOTE_REF_FROM = DEBIT_NOTE_REF_FROM = {}));
|
|
32
|
+
// Retrieve enum metadata with: proto3.getEnumType(DEBIT_NOTE_REF_FROM)
|
|
33
|
+
protobuf_1.proto3.util.setEnumType(DEBIT_NOTE_REF_FROM, "Scailo.DEBIT_NOTE_REF_FROM", [
|
|
34
|
+
{ no: 0, name: "DEBIT_NOTE_REF_FROM_ANY_UNSPECIFIED" },
|
|
35
|
+
{ no: 1, name: "DEBIT_NOTE_REF_FROM_PURCHASE_ORDER" },
|
|
36
|
+
]);
|
|
11
37
|
/**
|
|
12
38
|
*
|
|
13
39
|
* Describes the available sort keys
|
|
@@ -199,6 +225,12 @@ var DEBIT_NOTE_SORT_KEY;
|
|
|
199
225
|
* @generated from enum value: DEBIT_NOTE_SORT_KEY_FINAL_REF_NUMBER = 11;
|
|
200
226
|
*/
|
|
201
227
|
DEBIT_NOTE_SORT_KEY[DEBIT_NOTE_SORT_KEY["DEBIT_NOTE_SORT_KEY_FINAL_REF_NUMBER"] = 11] = "DEBIT_NOTE_SORT_KEY_FINAL_REF_NUMBER";
|
|
228
|
+
/**
|
|
229
|
+
* Fetch ordered results by the total value
|
|
230
|
+
*
|
|
231
|
+
* @generated from enum value: DEBIT_NOTE_SORT_KEY_TOTAL_VALUE = 30;
|
|
232
|
+
*/
|
|
233
|
+
DEBIT_NOTE_SORT_KEY[DEBIT_NOTE_SORT_KEY["DEBIT_NOTE_SORT_KEY_TOTAL_VALUE"] = 30] = "DEBIT_NOTE_SORT_KEY_TOTAL_VALUE";
|
|
202
234
|
})(DEBIT_NOTE_SORT_KEY || (exports.DEBIT_NOTE_SORT_KEY = DEBIT_NOTE_SORT_KEY = {}));
|
|
203
235
|
// Retrieve enum metadata with: proto3.getEnumType(DEBIT_NOTE_SORT_KEY)
|
|
204
236
|
protobuf_1.proto3.util.setEnumType(DEBIT_NOTE_SORT_KEY, "Scailo.DEBIT_NOTE_SORT_KEY", [
|
|
@@ -211,6 +243,7 @@ protobuf_1.proto3.util.setEnumType(DEBIT_NOTE_SORT_KEY, "Scailo.DEBIT_NOTE_SORT_
|
|
|
211
243
|
{ no: 6, name: "DEBIT_NOTE_SORT_KEY_COMPLETED_ON" },
|
|
212
244
|
{ no: 10, name: "DEBIT_NOTE_SORT_KEY_REFERENCE_ID" },
|
|
213
245
|
{ no: 11, name: "DEBIT_NOTE_SORT_KEY_FINAL_REF_NUMBER" },
|
|
246
|
+
{ no: 30, name: "DEBIT_NOTE_SORT_KEY_TOTAL_VALUE" },
|
|
214
247
|
]);
|
|
215
248
|
/**
|
|
216
249
|
*
|
|
@@ -246,9 +279,9 @@ class DebitNotesServiceCreateRequest extends protobuf_1.Message {
|
|
|
246
279
|
/**
|
|
247
280
|
* The associated reference
|
|
248
281
|
*
|
|
249
|
-
* @generated from field:
|
|
282
|
+
* @generated from field: Scailo.DEBIT_NOTE_REF_FROM ref_from = 12;
|
|
250
283
|
*/
|
|
251
|
-
refFrom =
|
|
284
|
+
refFrom = DEBIT_NOTE_REF_FROM.DEBIT_NOTE_REF_FROM_ANY_UNSPECIFIED;
|
|
252
285
|
/**
|
|
253
286
|
* The associated ID of the reference
|
|
254
287
|
*
|
|
@@ -296,7 +329,7 @@ class DebitNotesServiceCreateRequest extends protobuf_1.Message {
|
|
|
296
329
|
{ no: 2, name: "user_comment", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
297
330
|
{ no: 9, name: "vault_folder_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
298
331
|
{ no: 10, name: "reference_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
299
|
-
{ no: 12, name: "ref_from", kind: "
|
|
332
|
+
{ no: 12, name: "ref_from", kind: "enum", T: protobuf_1.proto3.getEnumType(DEBIT_NOTE_REF_FROM) },
|
|
300
333
|
{ no: 13, name: "ref_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
301
334
|
{ no: 14, name: "currency_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
302
335
|
{ no: 15, name: "miscellaneous_cost", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
@@ -567,9 +600,9 @@ class DebitNote extends protobuf_1.Message {
|
|
|
567
600
|
/**
|
|
568
601
|
* The associated reference
|
|
569
602
|
*
|
|
570
|
-
* @generated from field:
|
|
603
|
+
* @generated from field: Scailo.DEBIT_NOTE_REF_FROM ref_from = 12;
|
|
571
604
|
*/
|
|
572
|
-
refFrom =
|
|
605
|
+
refFrom = DEBIT_NOTE_REF_FROM.DEBIT_NOTE_REF_FROM_ANY_UNSPECIFIED;
|
|
573
606
|
/**
|
|
574
607
|
* The associated ID of the reference
|
|
575
608
|
*
|
|
@@ -634,7 +667,7 @@ class DebitNote extends protobuf_1.Message {
|
|
|
634
667
|
{ no: 9, name: "vault_folder_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
635
668
|
{ no: 10, name: "reference_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
636
669
|
{ no: 11, name: "final_ref_number", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
637
|
-
{ no: 12, name: "ref_from", kind: "
|
|
670
|
+
{ no: 12, name: "ref_from", kind: "enum", T: protobuf_1.proto3.getEnumType(DEBIT_NOTE_REF_FROM) },
|
|
638
671
|
{ no: 13, name: "ref_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
639
672
|
{ no: 14, name: "currency_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
640
673
|
{ no: 15, name: "miscellaneous_cost", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
@@ -1144,9 +1177,9 @@ class DebitNotesServiceAlreadyAddedQuantityForSourceRequest extends protobuf_1.M
|
|
|
1144
1177
|
/**
|
|
1145
1178
|
* The associated reference
|
|
1146
1179
|
*
|
|
1147
|
-
* @generated from field:
|
|
1180
|
+
* @generated from field: Scailo.DEBIT_NOTE_REF_FROM ref_from = 1;
|
|
1148
1181
|
*/
|
|
1149
|
-
refFrom =
|
|
1182
|
+
refFrom = DEBIT_NOTE_REF_FROM.DEBIT_NOTE_REF_FROM_ANY_UNSPECIFIED;
|
|
1150
1183
|
/**
|
|
1151
1184
|
* The associated ID of the reference
|
|
1152
1185
|
*
|
|
@@ -1166,7 +1199,7 @@ class DebitNotesServiceAlreadyAddedQuantityForSourceRequest extends protobuf_1.M
|
|
|
1166
1199
|
static runtime = protobuf_1.proto3;
|
|
1167
1200
|
static typeName = "Scailo.DebitNotesServiceAlreadyAddedQuantityForSourceRequest";
|
|
1168
1201
|
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
1169
|
-
{ no: 1, name: "ref_from", kind: "
|
|
1202
|
+
{ no: 1, name: "ref_from", kind: "enum", T: protobuf_1.proto3.getEnumType(DEBIT_NOTE_REF_FROM) },
|
|
1170
1203
|
{ no: 2, name: "ref_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1171
1204
|
{ no: 3, name: "family_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1172
1205
|
]);
|
|
@@ -1634,9 +1667,9 @@ class DebitNotesServiceFilterReq extends protobuf_1.Message {
|
|
|
1634
1667
|
/**
|
|
1635
1668
|
* The associated reference
|
|
1636
1669
|
*
|
|
1637
|
-
* @generated from field:
|
|
1670
|
+
* @generated from field: Scailo.DEBIT_NOTE_REF_FROM ref_from = 22;
|
|
1638
1671
|
*/
|
|
1639
|
-
refFrom =
|
|
1672
|
+
refFrom = DEBIT_NOTE_REF_FROM.DEBIT_NOTE_REF_FROM_ANY_UNSPECIFIED;
|
|
1640
1673
|
/**
|
|
1641
1674
|
* The associated ID of the reference
|
|
1642
1675
|
*
|
|
@@ -1667,6 +1700,18 @@ class DebitNotesServiceFilterReq extends protobuf_1.Message {
|
|
|
1667
1700
|
* @generated from field: uint64 family_id = 40;
|
|
1668
1701
|
*/
|
|
1669
1702
|
familyId = protobuf_1.protoInt64.zero;
|
|
1703
|
+
/**
|
|
1704
|
+
* Stores the minimum value of the debit note (ignored if 0)
|
|
1705
|
+
*
|
|
1706
|
+
* @generated from field: uint64 total_value_min = 70;
|
|
1707
|
+
*/
|
|
1708
|
+
totalValueMin = protobuf_1.protoInt64.zero;
|
|
1709
|
+
/**
|
|
1710
|
+
* Stores the maximum value of the debit note (ignored if 0)
|
|
1711
|
+
*
|
|
1712
|
+
* @generated from field: uint64 total_value_max = 71;
|
|
1713
|
+
*/
|
|
1714
|
+
totalValueMax = protobuf_1.protoInt64.zero;
|
|
1670
1715
|
constructor(data) {
|
|
1671
1716
|
super();
|
|
1672
1717
|
protobuf_1.proto3.util.initPartial(data, this);
|
|
@@ -1693,12 +1738,14 @@ class DebitNotesServiceFilterReq extends protobuf_1.Message {
|
|
|
1693
1738
|
{ no: 16, name: "completed_on_end", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1694
1739
|
{ no: 20, name: "reference_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1695
1740
|
{ no: 21, name: "final_ref_number", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1696
|
-
{ no: 22, name: "ref_from", kind: "
|
|
1741
|
+
{ no: 22, name: "ref_from", kind: "enum", T: protobuf_1.proto3.getEnumType(DEBIT_NOTE_REF_FROM) },
|
|
1697
1742
|
{ no: 23, name: "ref_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1698
1743
|
{ no: 30, name: "currency_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1699
1744
|
{ no: 31, name: "vendor_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1700
1745
|
{ no: 32, name: "project_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1701
1746
|
{ no: 40, name: "family_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1747
|
+
{ no: 70, name: "total_value_min", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1748
|
+
{ no: 71, name: "total_value_max", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1702
1749
|
]);
|
|
1703
1750
|
static fromBinary(bytes, options) {
|
|
1704
1751
|
return new DebitNotesServiceFilterReq().fromBinary(bytes, options);
|
|
@@ -1814,9 +1861,9 @@ class DebitNotesServiceCountReq extends protobuf_1.Message {
|
|
|
1814
1861
|
/**
|
|
1815
1862
|
* The associated reference
|
|
1816
1863
|
*
|
|
1817
|
-
* @generated from field:
|
|
1864
|
+
* @generated from field: Scailo.DEBIT_NOTE_REF_FROM ref_from = 22;
|
|
1818
1865
|
*/
|
|
1819
|
-
refFrom =
|
|
1866
|
+
refFrom = DEBIT_NOTE_REF_FROM.DEBIT_NOTE_REF_FROM_ANY_UNSPECIFIED;
|
|
1820
1867
|
/**
|
|
1821
1868
|
* The associated ID of the reference
|
|
1822
1869
|
*
|
|
@@ -1847,6 +1894,18 @@ class DebitNotesServiceCountReq extends protobuf_1.Message {
|
|
|
1847
1894
|
* @generated from field: uint64 family_id = 40;
|
|
1848
1895
|
*/
|
|
1849
1896
|
familyId = protobuf_1.protoInt64.zero;
|
|
1897
|
+
/**
|
|
1898
|
+
* Stores the minimum value of the debit note (ignored if 0)
|
|
1899
|
+
*
|
|
1900
|
+
* @generated from field: uint64 total_value_min = 70;
|
|
1901
|
+
*/
|
|
1902
|
+
totalValueMin = protobuf_1.protoInt64.zero;
|
|
1903
|
+
/**
|
|
1904
|
+
* Stores the maximum value of the debit note (ignored if 0)
|
|
1905
|
+
*
|
|
1906
|
+
* @generated from field: uint64 total_value_max = 71;
|
|
1907
|
+
*/
|
|
1908
|
+
totalValueMax = protobuf_1.protoInt64.zero;
|
|
1850
1909
|
constructor(data) {
|
|
1851
1910
|
super();
|
|
1852
1911
|
protobuf_1.proto3.util.initPartial(data, this);
|
|
@@ -1869,12 +1928,14 @@ class DebitNotesServiceCountReq extends protobuf_1.Message {
|
|
|
1869
1928
|
{ no: 16, name: "completed_on_end", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1870
1929
|
{ no: 20, name: "reference_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1871
1930
|
{ no: 21, name: "final_ref_number", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1872
|
-
{ no: 22, name: "ref_from", kind: "
|
|
1931
|
+
{ no: 22, name: "ref_from", kind: "enum", T: protobuf_1.proto3.getEnumType(DEBIT_NOTE_REF_FROM) },
|
|
1873
1932
|
{ no: 23, name: "ref_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1874
1933
|
{ no: 30, name: "currency_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1875
1934
|
{ no: 31, name: "vendor_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1876
1935
|
{ no: 32, name: "project_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1877
1936
|
{ no: 40, name: "family_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1937
|
+
{ no: 70, name: "total_value_min", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1938
|
+
{ no: 71, name: "total_value_max", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1878
1939
|
]);
|
|
1879
1940
|
static fromBinary(bytes, options) {
|
|
1880
1941
|
return new DebitNotesServiceCountReq().fromBinary(bytes, options);
|
|
@@ -1948,9 +2009,9 @@ class DebitNotesServiceSearchAllReq extends protobuf_1.Message {
|
|
|
1948
2009
|
/**
|
|
1949
2010
|
* The associated reference
|
|
1950
2011
|
*
|
|
1951
|
-
* @generated from field:
|
|
2012
|
+
* @generated from field: Scailo.DEBIT_NOTE_REF_FROM ref_from = 22;
|
|
1952
2013
|
*/
|
|
1953
|
-
refFrom =
|
|
2014
|
+
refFrom = DEBIT_NOTE_REF_FROM.DEBIT_NOTE_REF_FROM_ANY_UNSPECIFIED;
|
|
1954
2015
|
/**
|
|
1955
2016
|
* The associated ID of the reference
|
|
1956
2017
|
*
|
|
@@ -1978,7 +2039,7 @@ class DebitNotesServiceSearchAllReq extends protobuf_1.Message {
|
|
|
1978
2039
|
{ no: 6, name: "entity_uuid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1979
2040
|
{ no: 10, name: "status", kind: "enum", T: protobuf_1.proto3.getEnumType(base_scailo_pb_js_1.STANDARD_LIFECYCLE_STATUS) },
|
|
1980
2041
|
{ no: 11, name: "search_key", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1981
|
-
{ no: 22, name: "ref_from", kind: "
|
|
2042
|
+
{ no: 22, name: "ref_from", kind: "enum", T: protobuf_1.proto3.getEnumType(DEBIT_NOTE_REF_FROM) },
|
|
1982
2043
|
{ no: 23, name: "ref_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1983
2044
|
{ no: 25, name: "vendor_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1984
2045
|
]);
|
|
@@ -2160,3 +2221,87 @@ class DebitNoteReferencesList extends protobuf_1.Message {
|
|
|
2160
2221
|
}
|
|
2161
2222
|
}
|
|
2162
2223
|
exports.DebitNoteReferencesList = DebitNoteReferencesList;
|
|
2224
|
+
/**
|
|
2225
|
+
*
|
|
2226
|
+
* Describes the returned statistics of the debit note
|
|
2227
|
+
*
|
|
2228
|
+
* @generated from message Scailo.DebitNoteReturnStatistics
|
|
2229
|
+
*/
|
|
2230
|
+
class DebitNoteReturnStatistics extends protobuf_1.Message {
|
|
2231
|
+
/**
|
|
2232
|
+
* Stores the ID of the family
|
|
2233
|
+
*
|
|
2234
|
+
* @generated from field: uint64 family_id = 1;
|
|
2235
|
+
*/
|
|
2236
|
+
familyId = protobuf_1.protoInt64.zero;
|
|
2237
|
+
/**
|
|
2238
|
+
* Stores the billed quantity
|
|
2239
|
+
*
|
|
2240
|
+
* @generated from field: uint64 billed_quantity = 2;
|
|
2241
|
+
*/
|
|
2242
|
+
billedQuantity = protobuf_1.protoInt64.zero;
|
|
2243
|
+
/**
|
|
2244
|
+
* Stores the returned quantity
|
|
2245
|
+
*
|
|
2246
|
+
* @generated from field: uint64 returned_quantity = 3;
|
|
2247
|
+
*/
|
|
2248
|
+
returnedQuantity = protobuf_1.protoInt64.zero;
|
|
2249
|
+
constructor(data) {
|
|
2250
|
+
super();
|
|
2251
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
2252
|
+
}
|
|
2253
|
+
static runtime = protobuf_1.proto3;
|
|
2254
|
+
static typeName = "Scailo.DebitNoteReturnStatistics";
|
|
2255
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
2256
|
+
{ no: 1, name: "family_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
2257
|
+
{ no: 2, name: "billed_quantity", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
2258
|
+
{ no: 3, name: "returned_quantity", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
2259
|
+
]);
|
|
2260
|
+
static fromBinary(bytes, options) {
|
|
2261
|
+
return new DebitNoteReturnStatistics().fromBinary(bytes, options);
|
|
2262
|
+
}
|
|
2263
|
+
static fromJson(jsonValue, options) {
|
|
2264
|
+
return new DebitNoteReturnStatistics().fromJson(jsonValue, options);
|
|
2265
|
+
}
|
|
2266
|
+
static fromJsonString(jsonString, options) {
|
|
2267
|
+
return new DebitNoteReturnStatistics().fromJsonString(jsonString, options);
|
|
2268
|
+
}
|
|
2269
|
+
static equals(a, b) {
|
|
2270
|
+
return protobuf_1.proto3.util.equals(DebitNoteReturnStatistics, a, b);
|
|
2271
|
+
}
|
|
2272
|
+
}
|
|
2273
|
+
exports.DebitNoteReturnStatistics = DebitNoteReturnStatistics;
|
|
2274
|
+
/**
|
|
2275
|
+
*
|
|
2276
|
+
* Describes the list of returned statistics of the debit note
|
|
2277
|
+
*
|
|
2278
|
+
* @generated from message Scailo.DebitNoteReturnStatisticsList
|
|
2279
|
+
*/
|
|
2280
|
+
class DebitNoteReturnStatisticsList extends protobuf_1.Message {
|
|
2281
|
+
/**
|
|
2282
|
+
* @generated from field: repeated Scailo.DebitNoteReturnStatistics list = 1;
|
|
2283
|
+
*/
|
|
2284
|
+
list = [];
|
|
2285
|
+
constructor(data) {
|
|
2286
|
+
super();
|
|
2287
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
2288
|
+
}
|
|
2289
|
+
static runtime = protobuf_1.proto3;
|
|
2290
|
+
static typeName = "Scailo.DebitNoteReturnStatisticsList";
|
|
2291
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
2292
|
+
{ no: 1, name: "list", kind: "message", T: DebitNoteReturnStatistics, repeated: true },
|
|
2293
|
+
]);
|
|
2294
|
+
static fromBinary(bytes, options) {
|
|
2295
|
+
return new DebitNoteReturnStatisticsList().fromBinary(bytes, options);
|
|
2296
|
+
}
|
|
2297
|
+
static fromJson(jsonValue, options) {
|
|
2298
|
+
return new DebitNoteReturnStatisticsList().fromJson(jsonValue, options);
|
|
2299
|
+
}
|
|
2300
|
+
static fromJsonString(jsonString, options) {
|
|
2301
|
+
return new DebitNoteReturnStatisticsList().fromJsonString(jsonString, options);
|
|
2302
|
+
}
|
|
2303
|
+
static equals(a, b) {
|
|
2304
|
+
return protobuf_1.proto3.util.equals(DebitNoteReturnStatisticsList, a, b);
|
|
2305
|
+
}
|
|
2306
|
+
}
|
|
2307
|
+
exports.DebitNoteReturnStatisticsList = DebitNoteReturnStatisticsList;
|
|
@@ -1,5 +1,5 @@
|
|
|
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";
|
|
1
|
+
import { CreditNote, CreditNoteAncillaryParameters, CreditNoteItem, CreditNoteItemHistoryRequest, CreditNoteItemProspectiveInfoRequest, CreditNoteItemsList, CreditNoteItemsSearchRequest, CreditNoteReference, CreditNoteReferencesList, CreditNoteReturnStatisticsList, 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, 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
|
/**
|
|
@@ -540,6 +540,17 @@ export declare const CreditNotesService: {
|
|
|
540
540
|
readonly O: typeof CreditNotesServiceItemCreateRequest;
|
|
541
541
|
readonly kind: MethodKind.Unary;
|
|
542
542
|
};
|
|
543
|
+
/**
|
|
544
|
+
* View returned (sales return) statistics of the credit note
|
|
545
|
+
*
|
|
546
|
+
* @generated from rpc Scailo.CreditNotesService.ViewReturnedStatistics
|
|
547
|
+
*/
|
|
548
|
+
readonly viewReturnedStatistics: {
|
|
549
|
+
readonly name: "ViewReturnedStatistics";
|
|
550
|
+
readonly I: typeof IdentifierUUID;
|
|
551
|
+
readonly O: typeof CreditNoteReturnStatisticsList;
|
|
552
|
+
readonly kind: MethodKind.Unary;
|
|
553
|
+
};
|
|
543
554
|
/**
|
|
544
555
|
* Other view operations
|
|
545
556
|
* Download credit note with the given IdentifierUUID (can be used to allow public downloads)
|
|
@@ -597,7 +608,7 @@ export declare const CreditNotesService: {
|
|
|
597
608
|
readonly kind: MethodKind.Unary;
|
|
598
609
|
};
|
|
599
610
|
/**
|
|
600
|
-
*
|
|
611
|
+
* Count all that match the given criteria
|
|
601
612
|
*
|
|
602
613
|
* @generated from rpc Scailo.CreditNotesService.Count
|
|
603
614
|
*/
|
|
@@ -607,6 +618,17 @@ export declare const CreditNotesService: {
|
|
|
607
618
|
readonly O: typeof CountResponse;
|
|
608
619
|
readonly kind: MethodKind.Unary;
|
|
609
620
|
};
|
|
621
|
+
/**
|
|
622
|
+
* Returns the sum of the total value of all the records that match the given criteria
|
|
623
|
+
*
|
|
624
|
+
* @generated from rpc Scailo.CreditNotesService.AccruedValue
|
|
625
|
+
*/
|
|
626
|
+
readonly accruedValue: {
|
|
627
|
+
readonly name: "AccruedValue";
|
|
628
|
+
readonly I: typeof CreditNotesServiceCountReq;
|
|
629
|
+
readonly O: typeof SumResponse;
|
|
630
|
+
readonly kind: MethodKind.Unary;
|
|
631
|
+
};
|
|
610
632
|
/**
|
|
611
633
|
* CSV operations
|
|
612
634
|
* 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,EAAE,2BAA2B,EAAE,mCAAmC,EAAE,mCAAmC,EAAE,wCAAwC,EAAE,+BAA+B,EAAE,oCAAoC,EAAE,wCAAwC,EAAE,8BAA8B,EAAE,+BAA+B,EAAE,MAAM,6BAA6B,CAAC;
|
|
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,8BAA8B,EAAE,eAAe,EAAE,sDAAsD,EAAE,iCAAiC,EAAE,0BAA0B,EAAE,+BAA+B,EAAE,2BAA2B,EAAE,mCAAmC,EAAE,mCAAmC,EAAE,wCAAwC,EAAE,+BAA+B,EAAE,oCAAoC,EAAE,wCAAwC,EAAE,8BAA8B,EAAE,+BAA+B,EAAE,MAAM,6BAA6B,CAAC;AAC1xB,OAAO,EAAE,YAAY,EAAE,uBAAuB,EAAE,aAAa,EAAE,sBAAsB,EAAE,UAAU,EAAE,kBAAkB,EAAE,eAAe,EAAE,cAAc,EAAE,sBAAsB,EAAE,6BAA6B,EAAE,6BAA6B,EAAE,uBAAuB,EAAE,yBAAyB,EAAE,mBAAmB,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAC9W,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAChD,OAAO,EAAE,YAAY,EAAE,8BAA8B,EAAE,MAAM,yBAAyB,CAAC;AAEvF;;;;;GAKG;AACH,eAAO,MAAM,kBAAkB;;;QAG3B;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;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;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;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:
|
|
239
|
+
* @generated from field: Scailo.CREDIT_NOTE_REF_FROM ref_from = 12;
|
|
214
240
|
*/
|
|
215
|
-
refFrom:
|
|
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:
|
|
495
|
+
* @generated from field: Scailo.CREDIT_NOTE_REF_FROM ref_from = 12;
|
|
470
496
|
*/
|
|
471
|
-
refFrom:
|
|
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:
|
|
935
|
+
* @generated from field: Scailo.CREDIT_NOTE_REF_FROM ref_from = 1;
|
|
910
936
|
*/
|
|
911
|
-
refFrom:
|
|
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:
|
|
1333
|
+
* @generated from field: Scailo.CREDIT_NOTE_REF_FROM ref_from = 22;
|
|
1308
1334
|
*/
|
|
1309
|
-
refFrom:
|
|
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:
|
|
1500
|
+
* @generated from field: Scailo.CREDIT_NOTE_REF_FROM ref_from = 22;
|
|
1463
1501
|
*/
|
|
1464
|
-
refFrom:
|
|
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:
|
|
1625
|
+
* @generated from field: Scailo.CREDIT_NOTE_REF_FROM ref_from = 22;
|
|
1576
1626
|
*/
|
|
1577
|
-
refFrom:
|
|
1627
|
+
refFrom: CREDIT_NOTE_REF_FROM;
|
|
1578
1628
|
/**
|
|
1579
1629
|
* The associated ID of the reference
|
|
1580
1630
|
*
|
|
@@ -1717,4 +1767,58 @@ export declare class CreditNoteReferencesList extends Message<CreditNoteReferenc
|
|
|
1717
1767
|
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreditNoteReferencesList;
|
|
1718
1768
|
static equals(a: CreditNoteReferencesList | PlainMessage<CreditNoteReferencesList> | undefined, b: CreditNoteReferencesList | PlainMessage<CreditNoteReferencesList> | undefined): boolean;
|
|
1719
1769
|
}
|
|
1770
|
+
/**
|
|
1771
|
+
*
|
|
1772
|
+
* Describes the returned statistics of the credit note
|
|
1773
|
+
*
|
|
1774
|
+
* @generated from message Scailo.CreditNoteReturnStatistics
|
|
1775
|
+
*/
|
|
1776
|
+
export declare class CreditNoteReturnStatistics extends Message<CreditNoteReturnStatistics> {
|
|
1777
|
+
/**
|
|
1778
|
+
* Stores the ID of the family
|
|
1779
|
+
*
|
|
1780
|
+
* @generated from field: uint64 family_id = 1;
|
|
1781
|
+
*/
|
|
1782
|
+
familyId: bigint;
|
|
1783
|
+
/**
|
|
1784
|
+
* Stores the billed quantity
|
|
1785
|
+
*
|
|
1786
|
+
* @generated from field: uint64 billed_quantity = 2;
|
|
1787
|
+
*/
|
|
1788
|
+
billedQuantity: bigint;
|
|
1789
|
+
/**
|
|
1790
|
+
* Stores the returned quantity
|
|
1791
|
+
*
|
|
1792
|
+
* @generated from field: uint64 returned_quantity = 3;
|
|
1793
|
+
*/
|
|
1794
|
+
returnedQuantity: bigint;
|
|
1795
|
+
constructor(data?: PartialMessage<CreditNoteReturnStatistics>);
|
|
1796
|
+
static readonly runtime: typeof proto3;
|
|
1797
|
+
static readonly typeName = "Scailo.CreditNoteReturnStatistics";
|
|
1798
|
+
static readonly fields: FieldList;
|
|
1799
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreditNoteReturnStatistics;
|
|
1800
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreditNoteReturnStatistics;
|
|
1801
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreditNoteReturnStatistics;
|
|
1802
|
+
static equals(a: CreditNoteReturnStatistics | PlainMessage<CreditNoteReturnStatistics> | undefined, b: CreditNoteReturnStatistics | PlainMessage<CreditNoteReturnStatistics> | undefined): boolean;
|
|
1803
|
+
}
|
|
1804
|
+
/**
|
|
1805
|
+
*
|
|
1806
|
+
* Describes the list of returned statistics of the credit note
|
|
1807
|
+
*
|
|
1808
|
+
* @generated from message Scailo.CreditNoteReturnStatisticsList
|
|
1809
|
+
*/
|
|
1810
|
+
export declare class CreditNoteReturnStatisticsList extends Message<CreditNoteReturnStatisticsList> {
|
|
1811
|
+
/**
|
|
1812
|
+
* @generated from field: repeated Scailo.CreditNoteReturnStatistics list = 1;
|
|
1813
|
+
*/
|
|
1814
|
+
list: CreditNoteReturnStatistics[];
|
|
1815
|
+
constructor(data?: PartialMessage<CreditNoteReturnStatisticsList>);
|
|
1816
|
+
static readonly runtime: typeof proto3;
|
|
1817
|
+
static readonly typeName = "Scailo.CreditNoteReturnStatisticsList";
|
|
1818
|
+
static readonly fields: FieldList;
|
|
1819
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreditNoteReturnStatisticsList;
|
|
1820
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreditNoteReturnStatisticsList;
|
|
1821
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreditNoteReturnStatisticsList;
|
|
1822
|
+
static equals(a: CreditNoteReturnStatisticsList | PlainMessage<CreditNoteReturnStatisticsList> | undefined, b: CreditNoteReturnStatisticsList | PlainMessage<CreditNoteReturnStatisticsList> | undefined): boolean;
|
|
1823
|
+
}
|
|
1720
1824
|
//# sourceMappingURL=credit_notes.scailo_pb.d.ts.map
|