@kernelminds/scailo-sdk 0.0.73 → 0.0.74
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/src/credit_notes.scailo_connect.js +12 -1
- package/lib/cjs/src/credit_notes.scailo_pb.js +80 -19
- package/lib/cjs/src/debit_notes.scailo_connect.js +12 -1
- package/lib/cjs/src/debit_notes.scailo_pb.js +80 -19
- package/lib/cjs/types/src/credit_notes.scailo_connect.d.ts +13 -2
- 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 +63 -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 +13 -2
- 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 +63 -13
- package/lib/cjs/types/src/debit_notes.scailo_pb.d.ts.map +1 -1
- package/lib/esm/src/credit_notes.scailo_connect.js +12 -1
- package/lib/esm/src/credit_notes.scailo_pb.js +80 -19
- package/lib/esm/src/debit_notes.scailo_connect.js +12 -1
- package/lib/esm/src/debit_notes.scailo_pb.js +80 -19
- package/lib/esm/types/src/credit_notes.scailo_connect.d.ts +13 -2
- 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 +63 -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 +13 -2
- 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 +63 -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.CreditNoteReferencesList = exports.CreditNoteReference = exports.CreditNotesServiceReferenceCreateRequest = exports.CreditNotesServiceSearchAllReq = exports.CreditNotesServiceCountReq = exports.CreditNotesServiceFilterReq = exports.CreditNotesServicePaginationResponse = exports.CreditNotesServicePaginationReq = exports.CreditNotesServicePaginatedItemsResponse = exports.CreditNoteItemsSearchRequest = exports.CreditNotesServiceAlreadyAddedQuantityForSourceRequest = exports.CreditNoteItemProspectiveInfoRequest = exports.CreditNoteItemHistoryRequest = exports.CreditNoteItemsList = exports.CreditNotesList = exports.CreditNoteItem = exports.CreditNotesServiceItemUpdateRequest = exports.CreditNotesServiceItemCreateRequest = exports.CreditNote = exports.CreditNoteAncillaryParameters = exports.CreditNotesServiceAutofillRequest = exports.CreditNotesServiceUpdateRequest = exports.CreditNotesServiceCreateRequest = exports.CREDIT_NOTE_SORT_KEY = exports.CREDIT_NOTE_ITEM_STATUS = exports.CREDIT_NOTE_ITEM_SORT_KEY = void 0;
|
|
7
|
+
exports.CreditNoteReferencesList = exports.CreditNoteReference = exports.CreditNotesServiceReferenceCreateRequest = exports.CreditNotesServiceSearchAllReq = exports.CreditNotesServiceCountReq = exports.CreditNotesServiceFilterReq = exports.CreditNotesServicePaginationResponse = exports.CreditNotesServicePaginationReq = exports.CreditNotesServicePaginatedItemsResponse = exports.CreditNoteItemsSearchRequest = exports.CreditNotesServiceAlreadyAddedQuantityForSourceRequest = exports.CreditNoteItemProspectiveInfoRequest = exports.CreditNoteItemHistoryRequest = exports.CreditNoteItemsList = exports.CreditNotesList = exports.CreditNoteItem = exports.CreditNotesServiceItemUpdateRequest = exports.CreditNotesServiceItemCreateRequest = exports.CreditNote = exports.CreditNoteAncillaryParameters = exports.CreditNotesServiceAutofillRequest = exports.CreditNotesServiceUpdateRequest = exports.CreditNotesServiceCreateRequest = exports.CREDIT_NOTE_SORT_KEY = exports.CREDIT_NOTE_ITEM_STATUS = exports.CREDIT_NOTE_ITEM_SORT_KEY = exports.CREDIT_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 credit note can be added
|
|
14
|
+
*
|
|
15
|
+
* @generated from enum Scailo.CREDIT_NOTE_REF_FROM
|
|
16
|
+
*/
|
|
17
|
+
var CREDIT_NOTE_REF_FROM;
|
|
18
|
+
(function (CREDIT_NOTE_REF_FROM) {
|
|
19
|
+
/**
|
|
20
|
+
* Used only in filters
|
|
21
|
+
*
|
|
22
|
+
* @generated from enum value: CREDIT_NOTE_REF_FROM_ANY_UNSPECIFIED = 0;
|
|
23
|
+
*/
|
|
24
|
+
CREDIT_NOTE_REF_FROM[CREDIT_NOTE_REF_FROM["CREDIT_NOTE_REF_FROM_ANY_UNSPECIFIED"] = 0] = "CREDIT_NOTE_REF_FROM_ANY_UNSPECIFIED";
|
|
25
|
+
/**
|
|
26
|
+
* Denotes that the credit note originated from a sales order
|
|
27
|
+
*
|
|
28
|
+
* @generated from enum value: CREDIT_NOTE_REF_FROM_SALES_ORDER = 1;
|
|
29
|
+
*/
|
|
30
|
+
CREDIT_NOTE_REF_FROM[CREDIT_NOTE_REF_FROM["CREDIT_NOTE_REF_FROM_SALES_ORDER"] = 1] = "CREDIT_NOTE_REF_FROM_SALES_ORDER";
|
|
31
|
+
})(CREDIT_NOTE_REF_FROM || (exports.CREDIT_NOTE_REF_FROM = CREDIT_NOTE_REF_FROM = {}));
|
|
32
|
+
// Retrieve enum metadata with: proto3.getEnumType(CREDIT_NOTE_REF_FROM)
|
|
33
|
+
protobuf_1.proto3.util.setEnumType(CREDIT_NOTE_REF_FROM, "Scailo.CREDIT_NOTE_REF_FROM", [
|
|
34
|
+
{ no: 0, name: "CREDIT_NOTE_REF_FROM_ANY_UNSPECIFIED" },
|
|
35
|
+
{ no: 1, name: "CREDIT_NOTE_REF_FROM_SALES_ORDER" },
|
|
36
|
+
]);
|
|
11
37
|
/**
|
|
12
38
|
*
|
|
13
39
|
* Describes the available sort keys
|
|
@@ -206,6 +232,12 @@ var CREDIT_NOTE_SORT_KEY;
|
|
|
206
232
|
* @generated from enum value: CREDIT_NOTE_SORT_KEY_FINAL_REF_NUMBER = 11;
|
|
207
233
|
*/
|
|
208
234
|
CREDIT_NOTE_SORT_KEY[CREDIT_NOTE_SORT_KEY["CREDIT_NOTE_SORT_KEY_FINAL_REF_NUMBER"] = 11] = "CREDIT_NOTE_SORT_KEY_FINAL_REF_NUMBER";
|
|
235
|
+
/**
|
|
236
|
+
* Fetch ordered results by the total value
|
|
237
|
+
*
|
|
238
|
+
* @generated from enum value: CREDIT_NOTE_SORT_KEY_TOTAL_VALUE = 30;
|
|
239
|
+
*/
|
|
240
|
+
CREDIT_NOTE_SORT_KEY[CREDIT_NOTE_SORT_KEY["CREDIT_NOTE_SORT_KEY_TOTAL_VALUE"] = 30] = "CREDIT_NOTE_SORT_KEY_TOTAL_VALUE";
|
|
209
241
|
})(CREDIT_NOTE_SORT_KEY || (exports.CREDIT_NOTE_SORT_KEY = CREDIT_NOTE_SORT_KEY = {}));
|
|
210
242
|
// Retrieve enum metadata with: proto3.getEnumType(CREDIT_NOTE_SORT_KEY)
|
|
211
243
|
protobuf_1.proto3.util.setEnumType(CREDIT_NOTE_SORT_KEY, "Scailo.CREDIT_NOTE_SORT_KEY", [
|
|
@@ -218,6 +250,7 @@ protobuf_1.proto3.util.setEnumType(CREDIT_NOTE_SORT_KEY, "Scailo.CREDIT_NOTE_SOR
|
|
|
218
250
|
{ no: 6, name: "CREDIT_NOTE_SORT_KEY_COMPLETED_ON" },
|
|
219
251
|
{ no: 10, name: "CREDIT_NOTE_SORT_KEY_REFERENCE_ID" },
|
|
220
252
|
{ no: 11, name: "CREDIT_NOTE_SORT_KEY_FINAL_REF_NUMBER" },
|
|
253
|
+
{ no: 30, name: "CREDIT_NOTE_SORT_KEY_TOTAL_VALUE" },
|
|
221
254
|
]);
|
|
222
255
|
/**
|
|
223
256
|
*
|
|
@@ -253,9 +286,9 @@ class CreditNotesServiceCreateRequest extends protobuf_1.Message {
|
|
|
253
286
|
/**
|
|
254
287
|
* The associated reference
|
|
255
288
|
*
|
|
256
|
-
* @generated from field:
|
|
289
|
+
* @generated from field: Scailo.CREDIT_NOTE_REF_FROM ref_from = 12;
|
|
257
290
|
*/
|
|
258
|
-
refFrom =
|
|
291
|
+
refFrom = CREDIT_NOTE_REF_FROM.CREDIT_NOTE_REF_FROM_ANY_UNSPECIFIED;
|
|
259
292
|
/**
|
|
260
293
|
* The associated ID of the reference
|
|
261
294
|
*
|
|
@@ -309,7 +342,7 @@ class CreditNotesServiceCreateRequest extends protobuf_1.Message {
|
|
|
309
342
|
{ no: 2, name: "user_comment", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
310
343
|
{ no: 9, name: "vault_folder_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
311
344
|
{ no: 10, name: "reference_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
312
|
-
{ no: 12, name: "ref_from", kind: "
|
|
345
|
+
{ no: 12, name: "ref_from", kind: "enum", T: protobuf_1.proto3.getEnumType(CREDIT_NOTE_REF_FROM) },
|
|
313
346
|
{ no: 13, name: "ref_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
314
347
|
{ no: 14, name: "currency_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
315
348
|
{ no: 15, name: "bank_account_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
@@ -588,9 +621,9 @@ class CreditNote extends protobuf_1.Message {
|
|
|
588
621
|
/**
|
|
589
622
|
* The associated reference
|
|
590
623
|
*
|
|
591
|
-
* @generated from field:
|
|
624
|
+
* @generated from field: Scailo.CREDIT_NOTE_REF_FROM ref_from = 12;
|
|
592
625
|
*/
|
|
593
|
-
refFrom =
|
|
626
|
+
refFrom = CREDIT_NOTE_REF_FROM.CREDIT_NOTE_REF_FROM_ANY_UNSPECIFIED;
|
|
594
627
|
/**
|
|
595
628
|
* The associated ID of the reference
|
|
596
629
|
*
|
|
@@ -661,7 +694,7 @@ class CreditNote extends protobuf_1.Message {
|
|
|
661
694
|
{ no: 9, name: "vault_folder_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
662
695
|
{ no: 10, name: "reference_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
663
696
|
{ no: 11, name: "final_ref_number", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
664
|
-
{ no: 12, name: "ref_from", kind: "
|
|
697
|
+
{ no: 12, name: "ref_from", kind: "enum", T: protobuf_1.proto3.getEnumType(CREDIT_NOTE_REF_FROM) },
|
|
665
698
|
{ no: 13, name: "ref_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
666
699
|
{ no: 14, name: "currency_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
667
700
|
{ no: 15, name: "bank_account_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
@@ -1193,9 +1226,9 @@ class CreditNotesServiceAlreadyAddedQuantityForSourceRequest extends protobuf_1.
|
|
|
1193
1226
|
/**
|
|
1194
1227
|
* The associated reference
|
|
1195
1228
|
*
|
|
1196
|
-
* @generated from field:
|
|
1229
|
+
* @generated from field: Scailo.CREDIT_NOTE_REF_FROM ref_from = 1;
|
|
1197
1230
|
*/
|
|
1198
|
-
refFrom =
|
|
1231
|
+
refFrom = CREDIT_NOTE_REF_FROM.CREDIT_NOTE_REF_FROM_ANY_UNSPECIFIED;
|
|
1199
1232
|
/**
|
|
1200
1233
|
* The associated ID of the reference
|
|
1201
1234
|
*
|
|
@@ -1215,7 +1248,7 @@ class CreditNotesServiceAlreadyAddedQuantityForSourceRequest extends protobuf_1.
|
|
|
1215
1248
|
static runtime = protobuf_1.proto3;
|
|
1216
1249
|
static typeName = "Scailo.CreditNotesServiceAlreadyAddedQuantityForSourceRequest";
|
|
1217
1250
|
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
1218
|
-
{ no: 1, name: "ref_from", kind: "
|
|
1251
|
+
{ no: 1, name: "ref_from", kind: "enum", T: protobuf_1.proto3.getEnumType(CREDIT_NOTE_REF_FROM) },
|
|
1219
1252
|
{ no: 2, name: "ref_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1220
1253
|
{ no: 3, name: "family_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1221
1254
|
]);
|
|
@@ -1690,9 +1723,9 @@ class CreditNotesServiceFilterReq extends protobuf_1.Message {
|
|
|
1690
1723
|
/**
|
|
1691
1724
|
* The associated reference
|
|
1692
1725
|
*
|
|
1693
|
-
* @generated from field:
|
|
1726
|
+
* @generated from field: Scailo.CREDIT_NOTE_REF_FROM ref_from = 22;
|
|
1694
1727
|
*/
|
|
1695
|
-
refFrom =
|
|
1728
|
+
refFrom = CREDIT_NOTE_REF_FROM.CREDIT_NOTE_REF_FROM_ANY_UNSPECIFIED;
|
|
1696
1729
|
/**
|
|
1697
1730
|
* The associated ID of the reference
|
|
1698
1731
|
*
|
|
@@ -1736,6 +1769,18 @@ class CreditNotesServiceFilterReq extends protobuf_1.Message {
|
|
|
1736
1769
|
* @generated from field: uint64 project_id = 52;
|
|
1737
1770
|
*/
|
|
1738
1771
|
projectId = protobuf_1.protoInt64.zero;
|
|
1772
|
+
/**
|
|
1773
|
+
* Stores the minimum value of the credit note (ignored if 0)
|
|
1774
|
+
*
|
|
1775
|
+
* @generated from field: uint64 total_value_min = 70;
|
|
1776
|
+
*/
|
|
1777
|
+
totalValueMin = protobuf_1.protoInt64.zero;
|
|
1778
|
+
/**
|
|
1779
|
+
* Stores the maximum value of the credit note (ignored if 0)
|
|
1780
|
+
*
|
|
1781
|
+
* @generated from field: uint64 total_value_max = 71;
|
|
1782
|
+
*/
|
|
1783
|
+
totalValueMax = protobuf_1.protoInt64.zero;
|
|
1739
1784
|
constructor(data) {
|
|
1740
1785
|
super();
|
|
1741
1786
|
protobuf_1.proto3.util.initPartial(data, this);
|
|
@@ -1762,7 +1807,7 @@ class CreditNotesServiceFilterReq extends protobuf_1.Message {
|
|
|
1762
1807
|
{ no: 16, name: "completed_on_end", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1763
1808
|
{ no: 20, name: "reference_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1764
1809
|
{ no: 21, name: "final_ref_number", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1765
|
-
{ no: 22, name: "ref_from", kind: "
|
|
1810
|
+
{ no: 22, name: "ref_from", kind: "enum", T: protobuf_1.proto3.getEnumType(CREDIT_NOTE_REF_FROM) },
|
|
1766
1811
|
{ no: 23, name: "ref_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1767
1812
|
{ no: 24, name: "currency_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1768
1813
|
{ no: 25, name: "bank_account_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
@@ -1770,6 +1815,8 @@ class CreditNotesServiceFilterReq extends protobuf_1.Message {
|
|
|
1770
1815
|
{ no: 50, name: "consignee_client_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1771
1816
|
{ no: 51, name: "buyer_client_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1772
1817
|
{ no: 52, name: "project_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1818
|
+
{ no: 70, name: "total_value_min", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1819
|
+
{ no: 71, name: "total_value_max", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1773
1820
|
]);
|
|
1774
1821
|
static fromBinary(bytes, options) {
|
|
1775
1822
|
return new CreditNotesServiceFilterReq().fromBinary(bytes, options);
|
|
@@ -1885,9 +1932,9 @@ class CreditNotesServiceCountReq extends protobuf_1.Message {
|
|
|
1885
1932
|
/**
|
|
1886
1933
|
* The associated reference
|
|
1887
1934
|
*
|
|
1888
|
-
* @generated from field:
|
|
1935
|
+
* @generated from field: Scailo.CREDIT_NOTE_REF_FROM ref_from = 22;
|
|
1889
1936
|
*/
|
|
1890
|
-
refFrom =
|
|
1937
|
+
refFrom = CREDIT_NOTE_REF_FROM.CREDIT_NOTE_REF_FROM_ANY_UNSPECIFIED;
|
|
1891
1938
|
/**
|
|
1892
1939
|
* The associated ID of the reference
|
|
1893
1940
|
*
|
|
@@ -1931,6 +1978,18 @@ class CreditNotesServiceCountReq extends protobuf_1.Message {
|
|
|
1931
1978
|
* @generated from field: uint64 project_id = 52;
|
|
1932
1979
|
*/
|
|
1933
1980
|
projectId = protobuf_1.protoInt64.zero;
|
|
1981
|
+
/**
|
|
1982
|
+
* Stores the minimum value of the credit note (ignored if 0)
|
|
1983
|
+
*
|
|
1984
|
+
* @generated from field: uint64 total_value_min = 70;
|
|
1985
|
+
*/
|
|
1986
|
+
totalValueMin = protobuf_1.protoInt64.zero;
|
|
1987
|
+
/**
|
|
1988
|
+
* Stores the maximum value of the credit note (ignored if 0)
|
|
1989
|
+
*
|
|
1990
|
+
* @generated from field: uint64 total_value_max = 71;
|
|
1991
|
+
*/
|
|
1992
|
+
totalValueMax = protobuf_1.protoInt64.zero;
|
|
1934
1993
|
constructor(data) {
|
|
1935
1994
|
super();
|
|
1936
1995
|
protobuf_1.proto3.util.initPartial(data, this);
|
|
@@ -1953,7 +2012,7 @@ class CreditNotesServiceCountReq extends protobuf_1.Message {
|
|
|
1953
2012
|
{ no: 16, name: "completed_on_end", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1954
2013
|
{ no: 20, name: "reference_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1955
2014
|
{ no: 21, name: "final_ref_number", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1956
|
-
{ no: 22, name: "ref_from", kind: "
|
|
2015
|
+
{ no: 22, name: "ref_from", kind: "enum", T: protobuf_1.proto3.getEnumType(CREDIT_NOTE_REF_FROM) },
|
|
1957
2016
|
{ no: 23, name: "ref_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1958
2017
|
{ no: 24, name: "currency_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1959
2018
|
{ no: 25, name: "bank_account_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
@@ -1961,6 +2020,8 @@ class CreditNotesServiceCountReq extends protobuf_1.Message {
|
|
|
1961
2020
|
{ no: 50, name: "consignee_client_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1962
2021
|
{ no: 51, name: "buyer_client_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1963
2022
|
{ no: 52, name: "project_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
2023
|
+
{ no: 70, name: "total_value_min", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
2024
|
+
{ no: 71, name: "total_value_max", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1964
2025
|
]);
|
|
1965
2026
|
static fromBinary(bytes, options) {
|
|
1966
2027
|
return new CreditNotesServiceCountReq().fromBinary(bytes, options);
|
|
@@ -2034,9 +2095,9 @@ class CreditNotesServiceSearchAllReq extends protobuf_1.Message {
|
|
|
2034
2095
|
/**
|
|
2035
2096
|
* The associated reference
|
|
2036
2097
|
*
|
|
2037
|
-
* @generated from field:
|
|
2098
|
+
* @generated from field: Scailo.CREDIT_NOTE_REF_FROM ref_from = 22;
|
|
2038
2099
|
*/
|
|
2039
|
-
refFrom =
|
|
2100
|
+
refFrom = CREDIT_NOTE_REF_FROM.CREDIT_NOTE_REF_FROM_ANY_UNSPECIFIED;
|
|
2040
2101
|
/**
|
|
2041
2102
|
* The associated ID of the reference
|
|
2042
2103
|
*
|
|
@@ -2071,7 +2132,7 @@ class CreditNotesServiceSearchAllReq extends protobuf_1.Message {
|
|
|
2071
2132
|
{ no: 6, name: "entity_uuid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
2072
2133
|
{ no: 10, name: "status", kind: "enum", T: protobuf_1.proto3.getEnumType(base_scailo_pb_js_1.STANDARD_LIFECYCLE_STATUS) },
|
|
2073
2134
|
{ no: 11, name: "search_key", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
2074
|
-
{ no: 22, name: "ref_from", kind: "
|
|
2135
|
+
{ no: 22, name: "ref_from", kind: "enum", T: protobuf_1.proto3.getEnumType(CREDIT_NOTE_REF_FROM) },
|
|
2075
2136
|
{ no: 23, name: "ref_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
2076
2137
|
{ no: 50, name: "consignee_client_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
2077
2138
|
{ no: 51, name: "buyer_client_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
@@ -604,7 +604,7 @@ exports.DebitNotesService = {
|
|
|
604
604
|
kind: protobuf_1.MethodKind.Unary,
|
|
605
605
|
},
|
|
606
606
|
/**
|
|
607
|
-
*
|
|
607
|
+
* Count all that match the given criteria
|
|
608
608
|
*
|
|
609
609
|
* @generated from rpc Scailo.DebitNotesService.Count
|
|
610
610
|
*/
|
|
@@ -614,6 +614,17 @@ exports.DebitNotesService = {
|
|
|
614
614
|
O: base_scailo_pb_js_1.CountResponse,
|
|
615
615
|
kind: protobuf_1.MethodKind.Unary,
|
|
616
616
|
},
|
|
617
|
+
/**
|
|
618
|
+
* Returns the sum of the total value of all the records that match the given criteria
|
|
619
|
+
*
|
|
620
|
+
* @generated from rpc Scailo.DebitNotesService.AccruedValue
|
|
621
|
+
*/
|
|
622
|
+
accruedValue: {
|
|
623
|
+
name: "AccruedValue",
|
|
624
|
+
I: debit_notes_scailo_pb_js_1.DebitNotesServiceCountReq,
|
|
625
|
+
O: base_scailo_pb_js_1.SumResponse,
|
|
626
|
+
kind: protobuf_1.MethodKind.Unary,
|
|
627
|
+
},
|
|
617
628
|
/**
|
|
618
629
|
* CSV operations
|
|
619
630
|
* 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
|
|
@@ -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.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
|
]);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CreditNote, CreditNoteAncillaryParameters, CreditNoteItem, CreditNoteItemHistoryRequest, CreditNoteItemProspectiveInfoRequest, CreditNoteItemsList, CreditNoteItemsSearchRequest, CreditNoteReference, CreditNoteReferencesList, CreditNotesList, CreditNotesServiceAlreadyAddedQuantityForSourceRequest, CreditNotesServiceAutofillRequest, CreditNotesServiceCountReq, CreditNotesServiceCreateRequest, CreditNotesServiceFilterReq, CreditNotesServiceItemCreateRequest, CreditNotesServiceItemUpdateRequest, CreditNotesServicePaginatedItemsResponse, CreditNotesServicePaginationReq, CreditNotesServicePaginationResponse, CreditNotesServiceReferenceCreateRequest, CreditNotesServiceSearchAllReq, CreditNotesServiceUpdateRequest } from "./credit_notes.scailo_pb.js";
|
|
2
|
-
import { ActiveStatus, CountInSLCStatusRequest, CountResponse, DualQuantitiesResponse, Identifier, IdentifierResponse, IdentifiersList, IdentifierUUID, IdentifierUUIDWithFile, IdentifierUUIDWithUserComment, IdentifierWithEmailAttributes, IdentifierWithSearchKey, IdentifierWithUserComment, ReorderItemsRequest, StandardFile } from "./base.scailo_pb.js";
|
|
2
|
+
import { ActiveStatus, CountInSLCStatusRequest, CountResponse, DualQuantitiesResponse, Identifier, IdentifierResponse, IdentifiersList, IdentifierUUID, IdentifierUUIDWithFile, IdentifierUUIDWithUserComment, IdentifierWithEmailAttributes, IdentifierWithSearchKey, IdentifierWithUserComment, ReorderItemsRequest, StandardFile, SumResponse } from "./base.scailo_pb.js";
|
|
3
3
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
4
4
|
import { FamiliesList, FilterFamiliesReqForIdentifier } from "./families.scailo_pb.js";
|
|
5
5
|
/**
|
|
@@ -597,7 +597,7 @@ export declare const CreditNotesService: {
|
|
|
597
597
|
readonly kind: MethodKind.Unary;
|
|
598
598
|
};
|
|
599
599
|
/**
|
|
600
|
-
*
|
|
600
|
+
* Count all that match the given criteria
|
|
601
601
|
*
|
|
602
602
|
* @generated from rpc Scailo.CreditNotesService.Count
|
|
603
603
|
*/
|
|
@@ -607,6 +607,17 @@ export declare const CreditNotesService: {
|
|
|
607
607
|
readonly O: typeof CountResponse;
|
|
608
608
|
readonly kind: MethodKind.Unary;
|
|
609
609
|
};
|
|
610
|
+
/**
|
|
611
|
+
* Returns the sum of the total value of all the records that match the given criteria
|
|
612
|
+
*
|
|
613
|
+
* @generated from rpc Scailo.CreditNotesService.AccruedValue
|
|
614
|
+
*/
|
|
615
|
+
readonly accruedValue: {
|
|
616
|
+
readonly name: "AccruedValue";
|
|
617
|
+
readonly I: typeof CreditNotesServiceCountReq;
|
|
618
|
+
readonly O: typeof SumResponse;
|
|
619
|
+
readonly kind: MethodKind.Unary;
|
|
620
|
+
};
|
|
610
621
|
/**
|
|
611
622
|
* CSV operations
|
|
612
623
|
* Download the CSV file that consists of the list of records according to the given filter request. The same file could also be used as a template for uploading records
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"credit_notes.scailo_connect.d.ts","sourceRoot":"","sources":["../../../../src/credit_notes.scailo_connect.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,UAAU,EAAE,6BAA6B,EAAE,cAAc,EAAE,4BAA4B,EAAE,oCAAoC,EAAE,mBAAmB,EAAE,4BAA4B,EAAE,mBAAmB,EAAE,wBAAwB,EAAE,eAAe,EAAE,sDAAsD,EAAE,iCAAiC,EAAE,0BAA0B,EAAE,+BAA+B,EAAE,2BAA2B,EAAE,mCAAmC,EAAE,mCAAmC,EAAE,wCAAwC,EAAE,+BAA+B,EAAE,oCAAoC,EAAE,wCAAwC,EAAE,8BAA8B,EAAE,+BAA+B,EAAE,MAAM,6BAA6B,CAAC;AAC1vB,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,MAAM,qBAAqB,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,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;AAC1vB,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;;;;;WAKG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;;WAKG;;;;;;;;CAQG,CAAC"}
|