@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
|
*
|
|
@@ -248,9 +281,9 @@ class DebitNotesServiceCreateRequest extends protobuf_1.Message {
|
|
|
248
281
|
/**
|
|
249
282
|
* The associated reference
|
|
250
283
|
*
|
|
251
|
-
* @generated from field:
|
|
284
|
+
* @generated from field: Scailo.DEBIT_NOTE_REF_FROM ref_from = 12;
|
|
252
285
|
*/
|
|
253
|
-
this.refFrom =
|
|
286
|
+
this.refFrom = DEBIT_NOTE_REF_FROM.DEBIT_NOTE_REF_FROM_ANY_UNSPECIFIED;
|
|
254
287
|
/**
|
|
255
288
|
* The associated ID of the reference
|
|
256
289
|
*
|
|
@@ -310,7 +343,7 @@ DebitNotesServiceCreateRequest.fields = protobuf_1.proto3.util.newFieldList(() =
|
|
|
310
343
|
{ no: 2, name: "user_comment", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
311
344
|
{ no: 9, name: "vault_folder_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
312
345
|
{ no: 10, name: "reference_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
313
|
-
{ no: 12, name: "ref_from", kind: "
|
|
346
|
+
{ no: 12, name: "ref_from", kind: "enum", T: protobuf_1.proto3.getEnumType(DEBIT_NOTE_REF_FROM) },
|
|
314
347
|
{ no: 13, name: "ref_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
315
348
|
{ no: 14, name: "currency_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
316
349
|
{ no: 15, name: "miscellaneous_cost", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
@@ -557,9 +590,9 @@ class DebitNote extends protobuf_1.Message {
|
|
|
557
590
|
/**
|
|
558
591
|
* The associated reference
|
|
559
592
|
*
|
|
560
|
-
* @generated from field:
|
|
593
|
+
* @generated from field: Scailo.DEBIT_NOTE_REF_FROM ref_from = 12;
|
|
561
594
|
*/
|
|
562
|
-
this.refFrom =
|
|
595
|
+
this.refFrom = DEBIT_NOTE_REF_FROM.DEBIT_NOTE_REF_FROM_ANY_UNSPECIFIED;
|
|
563
596
|
/**
|
|
564
597
|
* The associated ID of the reference
|
|
565
598
|
*
|
|
@@ -636,7 +669,7 @@ DebitNote.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
|
636
669
|
{ no: 9, name: "vault_folder_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
637
670
|
{ no: 10, name: "reference_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
638
671
|
{ no: 11, name: "final_ref_number", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
639
|
-
{ no: 12, name: "ref_from", kind: "
|
|
672
|
+
{ no: 12, name: "ref_from", kind: "enum", T: protobuf_1.proto3.getEnumType(DEBIT_NOTE_REF_FROM) },
|
|
640
673
|
{ no: 13, name: "ref_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
641
674
|
{ no: 14, name: "currency_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
642
675
|
{ no: 15, name: "miscellaneous_cost", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
@@ -1122,9 +1155,9 @@ class DebitNotesServiceAlreadyAddedQuantityForSourceRequest extends protobuf_1.M
|
|
|
1122
1155
|
/**
|
|
1123
1156
|
* The associated reference
|
|
1124
1157
|
*
|
|
1125
|
-
* @generated from field:
|
|
1158
|
+
* @generated from field: Scailo.DEBIT_NOTE_REF_FROM ref_from = 1;
|
|
1126
1159
|
*/
|
|
1127
|
-
this.refFrom =
|
|
1160
|
+
this.refFrom = DEBIT_NOTE_REF_FROM.DEBIT_NOTE_REF_FROM_ANY_UNSPECIFIED;
|
|
1128
1161
|
/**
|
|
1129
1162
|
* The associated ID of the reference
|
|
1130
1163
|
*
|
|
@@ -1156,7 +1189,7 @@ exports.DebitNotesServiceAlreadyAddedQuantityForSourceRequest = DebitNotesServic
|
|
|
1156
1189
|
DebitNotesServiceAlreadyAddedQuantityForSourceRequest.runtime = protobuf_1.proto3;
|
|
1157
1190
|
DebitNotesServiceAlreadyAddedQuantityForSourceRequest.typeName = "Scailo.DebitNotesServiceAlreadyAddedQuantityForSourceRequest";
|
|
1158
1191
|
DebitNotesServiceAlreadyAddedQuantityForSourceRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
1159
|
-
{ no: 1, name: "ref_from", kind: "
|
|
1192
|
+
{ no: 1, name: "ref_from", kind: "enum", T: protobuf_1.proto3.getEnumType(DEBIT_NOTE_REF_FROM) },
|
|
1160
1193
|
{ no: 2, name: "ref_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1161
1194
|
{ no: 3, name: "family_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1162
1195
|
]);
|
|
@@ -1612,9 +1645,9 @@ class DebitNotesServiceFilterReq extends protobuf_1.Message {
|
|
|
1612
1645
|
/**
|
|
1613
1646
|
* The associated reference
|
|
1614
1647
|
*
|
|
1615
|
-
* @generated from field:
|
|
1648
|
+
* @generated from field: Scailo.DEBIT_NOTE_REF_FROM ref_from = 22;
|
|
1616
1649
|
*/
|
|
1617
|
-
this.refFrom =
|
|
1650
|
+
this.refFrom = DEBIT_NOTE_REF_FROM.DEBIT_NOTE_REF_FROM_ANY_UNSPECIFIED;
|
|
1618
1651
|
/**
|
|
1619
1652
|
* The associated ID of the reference
|
|
1620
1653
|
*
|
|
@@ -1645,6 +1678,18 @@ class DebitNotesServiceFilterReq extends protobuf_1.Message {
|
|
|
1645
1678
|
* @generated from field: uint64 family_id = 40;
|
|
1646
1679
|
*/
|
|
1647
1680
|
this.familyId = protobuf_1.protoInt64.zero;
|
|
1681
|
+
/**
|
|
1682
|
+
* Stores the minimum value of the debit note (ignored if 0)
|
|
1683
|
+
*
|
|
1684
|
+
* @generated from field: uint64 total_value_min = 70;
|
|
1685
|
+
*/
|
|
1686
|
+
this.totalValueMin = protobuf_1.protoInt64.zero;
|
|
1687
|
+
/**
|
|
1688
|
+
* Stores the maximum value of the debit note (ignored if 0)
|
|
1689
|
+
*
|
|
1690
|
+
* @generated from field: uint64 total_value_max = 71;
|
|
1691
|
+
*/
|
|
1692
|
+
this.totalValueMax = protobuf_1.protoInt64.zero;
|
|
1648
1693
|
protobuf_1.proto3.util.initPartial(data, this);
|
|
1649
1694
|
}
|
|
1650
1695
|
static fromBinary(bytes, options) {
|
|
@@ -1683,12 +1728,14 @@ DebitNotesServiceFilterReq.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
|
1683
1728
|
{ no: 16, name: "completed_on_end", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1684
1729
|
{ no: 20, name: "reference_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1685
1730
|
{ no: 21, name: "final_ref_number", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1686
|
-
{ no: 22, name: "ref_from", kind: "
|
|
1731
|
+
{ no: 22, name: "ref_from", kind: "enum", T: protobuf_1.proto3.getEnumType(DEBIT_NOTE_REF_FROM) },
|
|
1687
1732
|
{ no: 23, name: "ref_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1688
1733
|
{ no: 30, name: "currency_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1689
1734
|
{ no: 31, name: "vendor_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1690
1735
|
{ no: 32, name: "project_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1691
1736
|
{ no: 40, name: "family_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1737
|
+
{ no: 70, name: "total_value_min", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1738
|
+
{ no: 71, name: "total_value_max", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1692
1739
|
]);
|
|
1693
1740
|
/**
|
|
1694
1741
|
*
|
|
@@ -1792,9 +1839,9 @@ class DebitNotesServiceCountReq extends protobuf_1.Message {
|
|
|
1792
1839
|
/**
|
|
1793
1840
|
* The associated reference
|
|
1794
1841
|
*
|
|
1795
|
-
* @generated from field:
|
|
1842
|
+
* @generated from field: Scailo.DEBIT_NOTE_REF_FROM ref_from = 22;
|
|
1796
1843
|
*/
|
|
1797
|
-
this.refFrom =
|
|
1844
|
+
this.refFrom = DEBIT_NOTE_REF_FROM.DEBIT_NOTE_REF_FROM_ANY_UNSPECIFIED;
|
|
1798
1845
|
/**
|
|
1799
1846
|
* The associated ID of the reference
|
|
1800
1847
|
*
|
|
@@ -1825,6 +1872,18 @@ class DebitNotesServiceCountReq extends protobuf_1.Message {
|
|
|
1825
1872
|
* @generated from field: uint64 family_id = 40;
|
|
1826
1873
|
*/
|
|
1827
1874
|
this.familyId = protobuf_1.protoInt64.zero;
|
|
1875
|
+
/**
|
|
1876
|
+
* Stores the minimum value of the debit note (ignored if 0)
|
|
1877
|
+
*
|
|
1878
|
+
* @generated from field: uint64 total_value_min = 70;
|
|
1879
|
+
*/
|
|
1880
|
+
this.totalValueMin = protobuf_1.protoInt64.zero;
|
|
1881
|
+
/**
|
|
1882
|
+
* Stores the maximum value of the debit note (ignored if 0)
|
|
1883
|
+
*
|
|
1884
|
+
* @generated from field: uint64 total_value_max = 71;
|
|
1885
|
+
*/
|
|
1886
|
+
this.totalValueMax = protobuf_1.protoInt64.zero;
|
|
1828
1887
|
protobuf_1.proto3.util.initPartial(data, this);
|
|
1829
1888
|
}
|
|
1830
1889
|
static fromBinary(bytes, options) {
|
|
@@ -1859,12 +1918,14 @@ DebitNotesServiceCountReq.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
|
1859
1918
|
{ no: 16, name: "completed_on_end", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1860
1919
|
{ no: 20, name: "reference_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1861
1920
|
{ no: 21, name: "final_ref_number", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1862
|
-
{ no: 22, name: "ref_from", kind: "
|
|
1921
|
+
{ no: 22, name: "ref_from", kind: "enum", T: protobuf_1.proto3.getEnumType(DEBIT_NOTE_REF_FROM) },
|
|
1863
1922
|
{ no: 23, name: "ref_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1864
1923
|
{ no: 30, name: "currency_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1865
1924
|
{ no: 31, name: "vendor_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1866
1925
|
{ no: 32, name: "project_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1867
1926
|
{ no: 40, name: "family_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1927
|
+
{ no: 70, name: "total_value_min", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1928
|
+
{ no: 71, name: "total_value_max", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1868
1929
|
]);
|
|
1869
1930
|
/**
|
|
1870
1931
|
*
|
|
@@ -1926,9 +1987,9 @@ class DebitNotesServiceSearchAllReq extends protobuf_1.Message {
|
|
|
1926
1987
|
/**
|
|
1927
1988
|
* The associated reference
|
|
1928
1989
|
*
|
|
1929
|
-
* @generated from field:
|
|
1990
|
+
* @generated from field: Scailo.DEBIT_NOTE_REF_FROM ref_from = 22;
|
|
1930
1991
|
*/
|
|
1931
|
-
this.refFrom =
|
|
1992
|
+
this.refFrom = DEBIT_NOTE_REF_FROM.DEBIT_NOTE_REF_FROM_ANY_UNSPECIFIED;
|
|
1932
1993
|
/**
|
|
1933
1994
|
* The associated ID of the reference
|
|
1934
1995
|
*
|
|
@@ -1968,7 +2029,7 @@ DebitNotesServiceSearchAllReq.fields = protobuf_1.proto3.util.newFieldList(() =>
|
|
|
1968
2029
|
{ no: 6, name: "entity_uuid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1969
2030
|
{ no: 10, name: "status", kind: "enum", T: protobuf_1.proto3.getEnumType(base_scailo_pb_js_1.STANDARD_LIFECYCLE_STATUS) },
|
|
1970
2031
|
{ no: 11, name: "search_key", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1971
|
-
{ no: 22, name: "ref_from", kind: "
|
|
2032
|
+
{ no: 22, name: "ref_from", kind: "enum", T: protobuf_1.proto3.getEnumType(DEBIT_NOTE_REF_FROM) },
|
|
1972
2033
|
{ no: 23, name: "ref_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1973
2034
|
{ no: 25, name: "vendor_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1974
2035
|
]);
|
|
@@ -2124,3 +2185,87 @@ DebitNoteReferencesList.typeName = "Scailo.DebitNoteReferencesList";
|
|
|
2124
2185
|
DebitNoteReferencesList.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
2125
2186
|
{ no: 1, name: "list", kind: "message", T: DebitNoteReference, repeated: true },
|
|
2126
2187
|
]);
|
|
2188
|
+
/**
|
|
2189
|
+
*
|
|
2190
|
+
* Describes the returned statistics of the debit note
|
|
2191
|
+
*
|
|
2192
|
+
* @generated from message Scailo.DebitNoteReturnStatistics
|
|
2193
|
+
*/
|
|
2194
|
+
class DebitNoteReturnStatistics extends protobuf_1.Message {
|
|
2195
|
+
constructor(data) {
|
|
2196
|
+
super();
|
|
2197
|
+
/**
|
|
2198
|
+
* Stores the ID of the family
|
|
2199
|
+
*
|
|
2200
|
+
* @generated from field: uint64 family_id = 1;
|
|
2201
|
+
*/
|
|
2202
|
+
this.familyId = protobuf_1.protoInt64.zero;
|
|
2203
|
+
/**
|
|
2204
|
+
* Stores the billed quantity
|
|
2205
|
+
*
|
|
2206
|
+
* @generated from field: uint64 billed_quantity = 2;
|
|
2207
|
+
*/
|
|
2208
|
+
this.billedQuantity = protobuf_1.protoInt64.zero;
|
|
2209
|
+
/**
|
|
2210
|
+
* Stores the returned quantity
|
|
2211
|
+
*
|
|
2212
|
+
* @generated from field: uint64 returned_quantity = 3;
|
|
2213
|
+
*/
|
|
2214
|
+
this.returnedQuantity = protobuf_1.protoInt64.zero;
|
|
2215
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
2216
|
+
}
|
|
2217
|
+
static fromBinary(bytes, options) {
|
|
2218
|
+
return new DebitNoteReturnStatistics().fromBinary(bytes, options);
|
|
2219
|
+
}
|
|
2220
|
+
static fromJson(jsonValue, options) {
|
|
2221
|
+
return new DebitNoteReturnStatistics().fromJson(jsonValue, options);
|
|
2222
|
+
}
|
|
2223
|
+
static fromJsonString(jsonString, options) {
|
|
2224
|
+
return new DebitNoteReturnStatistics().fromJsonString(jsonString, options);
|
|
2225
|
+
}
|
|
2226
|
+
static equals(a, b) {
|
|
2227
|
+
return protobuf_1.proto3.util.equals(DebitNoteReturnStatistics, a, b);
|
|
2228
|
+
}
|
|
2229
|
+
}
|
|
2230
|
+
exports.DebitNoteReturnStatistics = DebitNoteReturnStatistics;
|
|
2231
|
+
DebitNoteReturnStatistics.runtime = protobuf_1.proto3;
|
|
2232
|
+
DebitNoteReturnStatistics.typeName = "Scailo.DebitNoteReturnStatistics";
|
|
2233
|
+
DebitNoteReturnStatistics.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
2234
|
+
{ no: 1, name: "family_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
2235
|
+
{ no: 2, name: "billed_quantity", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
2236
|
+
{ no: 3, name: "returned_quantity", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
2237
|
+
]);
|
|
2238
|
+
/**
|
|
2239
|
+
*
|
|
2240
|
+
* Describes the list of returned statistics of the debit note
|
|
2241
|
+
*
|
|
2242
|
+
* @generated from message Scailo.DebitNoteReturnStatisticsList
|
|
2243
|
+
*/
|
|
2244
|
+
class DebitNoteReturnStatisticsList extends protobuf_1.Message {
|
|
2245
|
+
constructor(data) {
|
|
2246
|
+
super();
|
|
2247
|
+
/**
|
|
2248
|
+
* @generated from field: repeated Scailo.DebitNoteReturnStatistics list = 1;
|
|
2249
|
+
*/
|
|
2250
|
+
this.list = [];
|
|
2251
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
2252
|
+
}
|
|
2253
|
+
static fromBinary(bytes, options) {
|
|
2254
|
+
return new DebitNoteReturnStatisticsList().fromBinary(bytes, options);
|
|
2255
|
+
}
|
|
2256
|
+
static fromJson(jsonValue, options) {
|
|
2257
|
+
return new DebitNoteReturnStatisticsList().fromJson(jsonValue, options);
|
|
2258
|
+
}
|
|
2259
|
+
static fromJsonString(jsonString, options) {
|
|
2260
|
+
return new DebitNoteReturnStatisticsList().fromJsonString(jsonString, options);
|
|
2261
|
+
}
|
|
2262
|
+
static equals(a, b) {
|
|
2263
|
+
return protobuf_1.proto3.util.equals(DebitNoteReturnStatisticsList, a, b);
|
|
2264
|
+
}
|
|
2265
|
+
}
|
|
2266
|
+
exports.DebitNoteReturnStatisticsList = DebitNoteReturnStatisticsList;
|
|
2267
|
+
DebitNoteReturnStatisticsList.runtime = protobuf_1.proto3;
|
|
2268
|
+
DebitNoteReturnStatisticsList.typeName = "Scailo.DebitNoteReturnStatisticsList";
|
|
2269
|
+
DebitNoteReturnStatisticsList.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
2270
|
+
{ no: 1, name: "list", kind: "message", T: DebitNoteReturnStatistics, repeated: true },
|
|
2271
|
+
]);
|
|
@@ -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
|