@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
|
@@ -604,7 +604,7 @@ exports.CreditNotesService = {
|
|
|
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.CreditNotesService.Count
|
|
610
610
|
*/
|
|
@@ -614,6 +614,17 @@ exports.CreditNotesService = {
|
|
|
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.CreditNotesService.AccruedValue
|
|
621
|
+
*/
|
|
622
|
+
accruedValue: {
|
|
623
|
+
name: "AccruedValue",
|
|
624
|
+
I: credit_notes_scailo_pb_js_1.CreditNotesServiceCountReq,
|
|
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.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
|
*
|
|
@@ -255,9 +288,9 @@ class CreditNotesServiceCreateRequest extends protobuf_1.Message {
|
|
|
255
288
|
/**
|
|
256
289
|
* The associated reference
|
|
257
290
|
*
|
|
258
|
-
* @generated from field:
|
|
291
|
+
* @generated from field: Scailo.CREDIT_NOTE_REF_FROM ref_from = 12;
|
|
259
292
|
*/
|
|
260
|
-
this.refFrom =
|
|
293
|
+
this.refFrom = CREDIT_NOTE_REF_FROM.CREDIT_NOTE_REF_FROM_ANY_UNSPECIFIED;
|
|
261
294
|
/**
|
|
262
295
|
* The associated ID of the reference
|
|
263
296
|
*
|
|
@@ -323,7 +356,7 @@ CreditNotesServiceCreateRequest.fields = protobuf_1.proto3.util.newFieldList(()
|
|
|
323
356
|
{ no: 2, name: "user_comment", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
324
357
|
{ no: 9, name: "vault_folder_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
325
358
|
{ no: 10, name: "reference_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
326
|
-
{ no: 12, name: "ref_from", kind: "
|
|
359
|
+
{ no: 12, name: "ref_from", kind: "enum", T: protobuf_1.proto3.getEnumType(CREDIT_NOTE_REF_FROM) },
|
|
327
360
|
{ no: 13, name: "ref_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
328
361
|
{ no: 14, name: "currency_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
329
362
|
{ no: 15, name: "bank_account_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
@@ -578,9 +611,9 @@ class CreditNote extends protobuf_1.Message {
|
|
|
578
611
|
/**
|
|
579
612
|
* The associated reference
|
|
580
613
|
*
|
|
581
|
-
* @generated from field:
|
|
614
|
+
* @generated from field: Scailo.CREDIT_NOTE_REF_FROM ref_from = 12;
|
|
582
615
|
*/
|
|
583
|
-
this.refFrom =
|
|
616
|
+
this.refFrom = CREDIT_NOTE_REF_FROM.CREDIT_NOTE_REF_FROM_ANY_UNSPECIFIED;
|
|
584
617
|
/**
|
|
585
618
|
* The associated ID of the reference
|
|
586
619
|
*
|
|
@@ -663,7 +696,7 @@ CreditNote.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
|
663
696
|
{ no: 9, name: "vault_folder_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
664
697
|
{ no: 10, name: "reference_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
665
698
|
{ no: 11, name: "final_ref_number", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
666
|
-
{ no: 12, name: "ref_from", kind: "
|
|
699
|
+
{ no: 12, name: "ref_from", kind: "enum", T: protobuf_1.proto3.getEnumType(CREDIT_NOTE_REF_FROM) },
|
|
667
700
|
{ no: 13, name: "ref_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
668
701
|
{ no: 14, name: "currency_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
669
702
|
{ no: 15, name: "bank_account_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
@@ -1171,9 +1204,9 @@ class CreditNotesServiceAlreadyAddedQuantityForSourceRequest extends protobuf_1.
|
|
|
1171
1204
|
/**
|
|
1172
1205
|
* The associated reference
|
|
1173
1206
|
*
|
|
1174
|
-
* @generated from field:
|
|
1207
|
+
* @generated from field: Scailo.CREDIT_NOTE_REF_FROM ref_from = 1;
|
|
1175
1208
|
*/
|
|
1176
|
-
this.refFrom =
|
|
1209
|
+
this.refFrom = CREDIT_NOTE_REF_FROM.CREDIT_NOTE_REF_FROM_ANY_UNSPECIFIED;
|
|
1177
1210
|
/**
|
|
1178
1211
|
* The associated ID of the reference
|
|
1179
1212
|
*
|
|
@@ -1205,7 +1238,7 @@ exports.CreditNotesServiceAlreadyAddedQuantityForSourceRequest = CreditNotesServ
|
|
|
1205
1238
|
CreditNotesServiceAlreadyAddedQuantityForSourceRequest.runtime = protobuf_1.proto3;
|
|
1206
1239
|
CreditNotesServiceAlreadyAddedQuantityForSourceRequest.typeName = "Scailo.CreditNotesServiceAlreadyAddedQuantityForSourceRequest";
|
|
1207
1240
|
CreditNotesServiceAlreadyAddedQuantityForSourceRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
1208
|
-
{ no: 1, name: "ref_from", kind: "
|
|
1241
|
+
{ no: 1, name: "ref_from", kind: "enum", T: protobuf_1.proto3.getEnumType(CREDIT_NOTE_REF_FROM) },
|
|
1209
1242
|
{ no: 2, name: "ref_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1210
1243
|
{ no: 3, name: "family_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1211
1244
|
]);
|
|
@@ -1668,9 +1701,9 @@ class CreditNotesServiceFilterReq extends protobuf_1.Message {
|
|
|
1668
1701
|
/**
|
|
1669
1702
|
* The associated reference
|
|
1670
1703
|
*
|
|
1671
|
-
* @generated from field:
|
|
1704
|
+
* @generated from field: Scailo.CREDIT_NOTE_REF_FROM ref_from = 22;
|
|
1672
1705
|
*/
|
|
1673
|
-
this.refFrom =
|
|
1706
|
+
this.refFrom = CREDIT_NOTE_REF_FROM.CREDIT_NOTE_REF_FROM_ANY_UNSPECIFIED;
|
|
1674
1707
|
/**
|
|
1675
1708
|
* The associated ID of the reference
|
|
1676
1709
|
*
|
|
@@ -1714,6 +1747,18 @@ class CreditNotesServiceFilterReq extends protobuf_1.Message {
|
|
|
1714
1747
|
* @generated from field: uint64 project_id = 52;
|
|
1715
1748
|
*/
|
|
1716
1749
|
this.projectId = protobuf_1.protoInt64.zero;
|
|
1750
|
+
/**
|
|
1751
|
+
* Stores the minimum value of the credit note (ignored if 0)
|
|
1752
|
+
*
|
|
1753
|
+
* @generated from field: uint64 total_value_min = 70;
|
|
1754
|
+
*/
|
|
1755
|
+
this.totalValueMin = protobuf_1.protoInt64.zero;
|
|
1756
|
+
/**
|
|
1757
|
+
* Stores the maximum value of the credit note (ignored if 0)
|
|
1758
|
+
*
|
|
1759
|
+
* @generated from field: uint64 total_value_max = 71;
|
|
1760
|
+
*/
|
|
1761
|
+
this.totalValueMax = protobuf_1.protoInt64.zero;
|
|
1717
1762
|
protobuf_1.proto3.util.initPartial(data, this);
|
|
1718
1763
|
}
|
|
1719
1764
|
static fromBinary(bytes, options) {
|
|
@@ -1752,7 +1797,7 @@ CreditNotesServiceFilterReq.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
|
1752
1797
|
{ no: 16, name: "completed_on_end", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1753
1798
|
{ no: 20, name: "reference_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1754
1799
|
{ no: 21, name: "final_ref_number", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1755
|
-
{ no: 22, name: "ref_from", kind: "
|
|
1800
|
+
{ no: 22, name: "ref_from", kind: "enum", T: protobuf_1.proto3.getEnumType(CREDIT_NOTE_REF_FROM) },
|
|
1756
1801
|
{ no: 23, name: "ref_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1757
1802
|
{ no: 24, name: "currency_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1758
1803
|
{ no: 25, name: "bank_account_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
@@ -1760,6 +1805,8 @@ CreditNotesServiceFilterReq.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
|
1760
1805
|
{ no: 50, name: "consignee_client_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1761
1806
|
{ no: 51, name: "buyer_client_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1762
1807
|
{ no: 52, name: "project_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1808
|
+
{ no: 70, name: "total_value_min", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1809
|
+
{ no: 71, name: "total_value_max", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1763
1810
|
]);
|
|
1764
1811
|
/**
|
|
1765
1812
|
*
|
|
@@ -1863,9 +1910,9 @@ class CreditNotesServiceCountReq extends protobuf_1.Message {
|
|
|
1863
1910
|
/**
|
|
1864
1911
|
* The associated reference
|
|
1865
1912
|
*
|
|
1866
|
-
* @generated from field:
|
|
1913
|
+
* @generated from field: Scailo.CREDIT_NOTE_REF_FROM ref_from = 22;
|
|
1867
1914
|
*/
|
|
1868
|
-
this.refFrom =
|
|
1915
|
+
this.refFrom = CREDIT_NOTE_REF_FROM.CREDIT_NOTE_REF_FROM_ANY_UNSPECIFIED;
|
|
1869
1916
|
/**
|
|
1870
1917
|
* The associated ID of the reference
|
|
1871
1918
|
*
|
|
@@ -1909,6 +1956,18 @@ class CreditNotesServiceCountReq extends protobuf_1.Message {
|
|
|
1909
1956
|
* @generated from field: uint64 project_id = 52;
|
|
1910
1957
|
*/
|
|
1911
1958
|
this.projectId = protobuf_1.protoInt64.zero;
|
|
1959
|
+
/**
|
|
1960
|
+
* Stores the minimum value of the credit note (ignored if 0)
|
|
1961
|
+
*
|
|
1962
|
+
* @generated from field: uint64 total_value_min = 70;
|
|
1963
|
+
*/
|
|
1964
|
+
this.totalValueMin = protobuf_1.protoInt64.zero;
|
|
1965
|
+
/**
|
|
1966
|
+
* Stores the maximum value of the credit note (ignored if 0)
|
|
1967
|
+
*
|
|
1968
|
+
* @generated from field: uint64 total_value_max = 71;
|
|
1969
|
+
*/
|
|
1970
|
+
this.totalValueMax = protobuf_1.protoInt64.zero;
|
|
1912
1971
|
protobuf_1.proto3.util.initPartial(data, this);
|
|
1913
1972
|
}
|
|
1914
1973
|
static fromBinary(bytes, options) {
|
|
@@ -1943,7 +2002,7 @@ CreditNotesServiceCountReq.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
|
1943
2002
|
{ no: 16, name: "completed_on_end", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1944
2003
|
{ no: 20, name: "reference_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1945
2004
|
{ no: 21, name: "final_ref_number", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1946
|
-
{ no: 22, name: "ref_from", kind: "
|
|
2005
|
+
{ no: 22, name: "ref_from", kind: "enum", T: protobuf_1.proto3.getEnumType(CREDIT_NOTE_REF_FROM) },
|
|
1947
2006
|
{ no: 23, name: "ref_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1948
2007
|
{ no: 24, name: "currency_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1949
2008
|
{ no: 25, name: "bank_account_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
@@ -1951,6 +2010,8 @@ CreditNotesServiceCountReq.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
|
1951
2010
|
{ no: 50, name: "consignee_client_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1952
2011
|
{ no: 51, name: "buyer_client_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1953
2012
|
{ no: 52, name: "project_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
2013
|
+
{ no: 70, name: "total_value_min", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
2014
|
+
{ no: 71, name: "total_value_max", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1954
2015
|
]);
|
|
1955
2016
|
/**
|
|
1956
2017
|
*
|
|
@@ -2012,9 +2073,9 @@ class CreditNotesServiceSearchAllReq extends protobuf_1.Message {
|
|
|
2012
2073
|
/**
|
|
2013
2074
|
* The associated reference
|
|
2014
2075
|
*
|
|
2015
|
-
* @generated from field:
|
|
2076
|
+
* @generated from field: Scailo.CREDIT_NOTE_REF_FROM ref_from = 22;
|
|
2016
2077
|
*/
|
|
2017
|
-
this.refFrom =
|
|
2078
|
+
this.refFrom = CREDIT_NOTE_REF_FROM.CREDIT_NOTE_REF_FROM_ANY_UNSPECIFIED;
|
|
2018
2079
|
/**
|
|
2019
2080
|
* The associated ID of the reference
|
|
2020
2081
|
*
|
|
@@ -2061,7 +2122,7 @@ CreditNotesServiceSearchAllReq.fields = protobuf_1.proto3.util.newFieldList(() =
|
|
|
2061
2122
|
{ no: 6, name: "entity_uuid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
2062
2123
|
{ no: 10, name: "status", kind: "enum", T: protobuf_1.proto3.getEnumType(base_scailo_pb_js_1.STANDARD_LIFECYCLE_STATUS) },
|
|
2063
2124
|
{ no: 11, name: "search_key", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
2064
|
-
{ no: 22, name: "ref_from", kind: "
|
|
2125
|
+
{ no: 22, name: "ref_from", kind: "enum", T: protobuf_1.proto3.getEnumType(CREDIT_NOTE_REF_FROM) },
|
|
2065
2126
|
{ no: 23, name: "ref_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
2066
2127
|
{ no: 50, name: "consignee_client_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
2067
2128
|
{ 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
|
*
|
|
@@ -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
|
]);
|
|
@@ -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"}
|