@kernelminds/scailo-sdk 0.0.20 → 0.0.22
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/families.scailo_connect.js +85 -8
- package/lib/cjs/src/families.scailo_pb.js +217 -22
- package/lib/cjs/src/goods_receipts.scailo_pb.js +11 -0
- package/lib/cjs/src/outward_jobs.scailo_pb.js +22 -0
- package/lib/cjs/src/purchases_orders.scailo_pb.js +11 -0
- package/lib/cjs/src/supply_offers.scailo_pb.js +11 -0
- package/lib/cjs/src/vendor_invoices.scailo_pb.js +11 -0
- package/lib/cjs/types/src/families.scailo_connect.d.ts +87 -10
- package/lib/cjs/types/src/families.scailo_connect.d.ts.map +1 -1
- package/lib/cjs/types/src/families.scailo_pb.d.ts +160 -18
- package/lib/cjs/types/src/families.scailo_pb.d.ts.map +1 -1
- package/lib/cjs/types/src/goods_receipts.scailo_pb.d.ts +10 -0
- package/lib/cjs/types/src/goods_receipts.scailo_pb.d.ts.map +1 -1
- package/lib/cjs/types/src/outward_jobs.scailo_pb.d.ts +20 -0
- package/lib/cjs/types/src/outward_jobs.scailo_pb.d.ts.map +1 -1
- package/lib/cjs/types/src/purchases_orders.scailo_pb.d.ts +10 -0
- package/lib/cjs/types/src/purchases_orders.scailo_pb.d.ts.map +1 -1
- package/lib/cjs/types/src/supply_offers.scailo_pb.d.ts +10 -0
- package/lib/cjs/types/src/supply_offers.scailo_pb.d.ts.map +1 -1
- package/lib/cjs/types/src/vendor_invoices.scailo_pb.d.ts +10 -0
- package/lib/cjs/types/src/vendor_invoices.scailo_pb.d.ts.map +1 -1
- package/lib/esm/src/families.scailo_connect.js +85 -8
- package/lib/esm/src/families.scailo_pb.js +229 -22
- package/lib/esm/src/goods_receipts.scailo_pb.js +11 -0
- package/lib/esm/src/outward_jobs.scailo_pb.js +22 -0
- package/lib/esm/src/purchases_orders.scailo_pb.js +11 -0
- package/lib/esm/src/supply_offers.scailo_pb.js +11 -0
- package/lib/esm/src/vendor_invoices.scailo_pb.js +11 -0
- package/lib/esm/types/src/families.scailo_connect.d.ts +87 -10
- package/lib/esm/types/src/families.scailo_connect.d.ts.map +1 -1
- package/lib/esm/types/src/families.scailo_pb.d.ts +160 -18
- package/lib/esm/types/src/families.scailo_pb.d.ts.map +1 -1
- package/lib/esm/types/src/goods_receipts.scailo_pb.d.ts +10 -0
- package/lib/esm/types/src/goods_receipts.scailo_pb.d.ts.map +1 -1
- package/lib/esm/types/src/outward_jobs.scailo_pb.d.ts +20 -0
- package/lib/esm/types/src/outward_jobs.scailo_pb.d.ts.map +1 -1
- package/lib/esm/types/src/purchases_orders.scailo_pb.d.ts +10 -0
- package/lib/esm/types/src/purchases_orders.scailo_pb.d.ts.map +1 -1
- package/lib/esm/types/src/supply_offers.scailo_pb.d.ts +10 -0
- package/lib/esm/types/src/supply_offers.scailo_pb.d.ts.map +1 -1
- package/lib/esm/types/src/vendor_invoices.scailo_pb.d.ts +10 -0
- package/lib/esm/types/src/vendor_invoices.scailo_pb.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -163,27 +163,49 @@ exports.FamiliesService = {
|
|
|
163
163
|
O: base_scailo_pb_js_1.IdentifierResponse,
|
|
164
164
|
kind: protobuf_1.MethodKind.Unary,
|
|
165
165
|
},
|
|
166
|
+
/**
|
|
167
|
+
* Adjusts the price of the family with the given UUID
|
|
168
|
+
*
|
|
169
|
+
* @generated from rpc Scailo.FamiliesService.AdjustPrice
|
|
170
|
+
*/
|
|
171
|
+
adjustPrice: {
|
|
172
|
+
name: "AdjustPrice",
|
|
173
|
+
I: families_scailo_pb_js_1.FamiliesServiceAdjustPriceRequest,
|
|
174
|
+
O: base_scailo_pb_js_1.IdentifierResponse,
|
|
175
|
+
kind: protobuf_1.MethodKind.Unary,
|
|
176
|
+
},
|
|
177
|
+
/**
|
|
178
|
+
* Adjusts the price of all the families mentioned in the file
|
|
179
|
+
*
|
|
180
|
+
* @generated from rpc Scailo.FamiliesService.UploadPrices
|
|
181
|
+
*/
|
|
182
|
+
uploadPrices: {
|
|
183
|
+
name: "UploadPrices",
|
|
184
|
+
I: base_scailo_pb_js_1.StandardFile,
|
|
185
|
+
O: base_scailo_pb_js_1.IdentifierUUIDsList,
|
|
186
|
+
kind: protobuf_1.MethodKind.Unary,
|
|
187
|
+
},
|
|
166
188
|
/**
|
|
167
189
|
* CSV operations
|
|
168
|
-
* Download the CSV file that
|
|
190
|
+
* Download the CSV file that consists of the list of families according to the given filter request. The same file could also be used as a template for uploading families
|
|
169
191
|
*
|
|
170
192
|
* @generated from rpc Scailo.FamiliesService.DownloadAsCSV
|
|
171
193
|
*/
|
|
172
194
|
downloadAsCSV: {
|
|
173
195
|
name: "DownloadAsCSV",
|
|
174
|
-
I:
|
|
196
|
+
I: families_scailo_pb_js_1.FamiliesServiceFilterReq,
|
|
175
197
|
O: base_scailo_pb_js_1.StandardFile,
|
|
176
198
|
kind: protobuf_1.MethodKind.Unary,
|
|
177
199
|
},
|
|
178
200
|
/**
|
|
179
|
-
*
|
|
201
|
+
* Import families using a CSV file (duplicate codes will be skipped)
|
|
180
202
|
*
|
|
181
|
-
* @generated from rpc Scailo.FamiliesService.
|
|
203
|
+
* @generated from rpc Scailo.FamiliesService.Import
|
|
182
204
|
*/
|
|
183
|
-
|
|
184
|
-
name: "
|
|
185
|
-
I: base_scailo_pb_js_1.
|
|
186
|
-
O: base_scailo_pb_js_1.
|
|
205
|
+
import: {
|
|
206
|
+
name: "Import",
|
|
207
|
+
I: base_scailo_pb_js_1.StandardFile,
|
|
208
|
+
O: base_scailo_pb_js_1.IdentifierUUIDsList,
|
|
187
209
|
kind: protobuf_1.MethodKind.Unary,
|
|
188
210
|
},
|
|
189
211
|
/**
|
|
@@ -241,6 +263,61 @@ exports.FamiliesService = {
|
|
|
241
263
|
O: families_scailo_pb_js_1.FamilyStoragesList,
|
|
242
264
|
kind: protobuf_1.MethodKind.Unary,
|
|
243
265
|
},
|
|
266
|
+
/**
|
|
267
|
+
* Add a label
|
|
268
|
+
*
|
|
269
|
+
* @generated from rpc Scailo.FamiliesService.AddLabel
|
|
270
|
+
*/
|
|
271
|
+
addLabel: {
|
|
272
|
+
name: "AddLabel",
|
|
273
|
+
I: families_scailo_pb_js_1.FamiliesServiceLabelCreateRequest,
|
|
274
|
+
O: base_scailo_pb_js_1.IdentifierResponse,
|
|
275
|
+
kind: protobuf_1.MethodKind.Unary,
|
|
276
|
+
},
|
|
277
|
+
/**
|
|
278
|
+
* Approve a label
|
|
279
|
+
*
|
|
280
|
+
* @generated from rpc Scailo.FamiliesService.ApproveLabel
|
|
281
|
+
*/
|
|
282
|
+
approveLabel: {
|
|
283
|
+
name: "ApproveLabel",
|
|
284
|
+
I: base_scailo_pb_js_1.IdentifierWithUserComment,
|
|
285
|
+
O: base_scailo_pb_js_1.IdentifierResponse,
|
|
286
|
+
kind: protobuf_1.MethodKind.Unary,
|
|
287
|
+
},
|
|
288
|
+
/**
|
|
289
|
+
* Delete a label
|
|
290
|
+
*
|
|
291
|
+
* @generated from rpc Scailo.FamiliesService.DeleteLabel
|
|
292
|
+
*/
|
|
293
|
+
deleteLabel: {
|
|
294
|
+
name: "DeleteLabel",
|
|
295
|
+
I: base_scailo_pb_js_1.IdentifierWithUserComment,
|
|
296
|
+
O: base_scailo_pb_js_1.IdentifierResponse,
|
|
297
|
+
kind: protobuf_1.MethodKind.Unary,
|
|
298
|
+
},
|
|
299
|
+
/**
|
|
300
|
+
* View a label for the given ID
|
|
301
|
+
*
|
|
302
|
+
* @generated from rpc Scailo.FamiliesService.ViewLabelByID
|
|
303
|
+
*/
|
|
304
|
+
viewLabelByID: {
|
|
305
|
+
name: "ViewLabelByID",
|
|
306
|
+
I: base_scailo_pb_js_1.Identifier,
|
|
307
|
+
O: families_scailo_pb_js_1.FamilyLabel,
|
|
308
|
+
kind: protobuf_1.MethodKind.Unary,
|
|
309
|
+
},
|
|
310
|
+
/**
|
|
311
|
+
* View all labels for given family ID
|
|
312
|
+
*
|
|
313
|
+
* @generated from rpc Scailo.FamiliesService.ViewLabels
|
|
314
|
+
*/
|
|
315
|
+
viewLabels: {
|
|
316
|
+
name: "ViewLabels",
|
|
317
|
+
I: base_scailo_pb_js_1.Identifier,
|
|
318
|
+
O: families_scailo_pb_js_1.FamilyLabelsList,
|
|
319
|
+
kind: protobuf_1.MethodKind.Unary,
|
|
320
|
+
},
|
|
244
321
|
/**
|
|
245
322
|
* Add a unit conversion
|
|
246
323
|
*
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
/* eslint-disable */
|
|
5
5
|
// @ts-nocheck
|
|
6
6
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
-
exports.FamilyQCGroupsList = exports.FamilyQCGroup = exports.FamiliesServiceQCGroupCreateRequest = exports.FamilyUnitConversionsList = exports.FamilyUnitConversion = exports.FamiliesServiceUnitConversionCreateRequest = exports.FamiliesServiceUnitConversionPresenceRequest = exports.FamilyStoragesList = exports.FamilyStorage = exports.FamiliesServiceStorageCreateRequest = exports.FamiliesServiceSearchAllReq = exports.FamiliesServiceCountReq = exports.FamiliesServiceFilterReq = exports.FamiliesServicePaginationResponse = exports.FamiliesServicePaginationReq = exports.FamiliesList = exports.Family = exports.FamiliesServiceUpdateRequest = exports.FamiliesServiceCreateRequest = exports.FamilyTypesList = exports.FAMILY_SORT_KEY = exports.CONSUMPTION_SEQUENCE = exports.FAMILY_TYPE = void 0;
|
|
7
|
+
exports.FamiliesServiceAdjustPriceRequest = exports.FamilyQCGroupsList = exports.FamilyQCGroup = exports.FamiliesServiceQCGroupCreateRequest = exports.FamilyUnitConversionsList = exports.FamilyUnitConversion = exports.FamiliesServiceUnitConversionCreateRequest = exports.FamiliesServiceUnitConversionPresenceRequest = exports.FamilyStoragesList = exports.FamilyStorage = exports.FamiliesServiceStorageCreateRequest = exports.FamilyLabelsList = exports.FamilyLabel = exports.FamiliesServiceLabelCreateRequest = exports.FamiliesServiceSearchAllReq = exports.FamiliesServiceCountReq = exports.FamiliesServiceFilterReq = exports.FamiliesServicePaginationResponse = exports.FamiliesServicePaginationReq = exports.FamiliesList = exports.Family = exports.FamiliesServiceUpdateRequest = exports.FamiliesServiceCreateRequest = exports.FamilyTypesList = exports.FAMILY_SORT_KEY = exports.CONSUMPTION_SEQUENCE = exports.FAMILY_TYPE = void 0;
|
|
8
8
|
const protobuf_1 = require("@bufbuild/protobuf");
|
|
9
9
|
const base_scailo_pb_js_1 = require("./base.scailo_pb.js");
|
|
10
10
|
/**
|
|
@@ -391,12 +391,6 @@ class FamiliesServiceCreateRequest extends protobuf_1.Message {
|
|
|
391
391
|
* @generated from field: Scailo.CONSUMPTION_SEQUENCE consumption_sequence = 28;
|
|
392
392
|
*/
|
|
393
393
|
this.consumptionSequence = CONSUMPTION_SEQUENCE.CONSUMPTION_SEQUENCE_ANY_UNSPECIFIED;
|
|
394
|
-
/**
|
|
395
|
-
* Stores the list of label IDs
|
|
396
|
-
*
|
|
397
|
-
* @generated from field: repeated uint64 label_ids = 30;
|
|
398
|
-
*/
|
|
399
|
-
this.labelIds = [];
|
|
400
394
|
protobuf_1.proto3.util.initPartial(data, this);
|
|
401
395
|
}
|
|
402
396
|
static fromBinary(bytes, options) {
|
|
@@ -435,7 +429,6 @@ FamiliesServiceCreateRequest.fields = protobuf_1.proto3.util.newFieldList(() =>
|
|
|
435
429
|
{ no: 26, name: "price", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
436
430
|
{ no: 27, name: "min_stock_to_maintain", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
437
431
|
{ no: 28, name: "consumption_sequence", kind: "enum", T: protobuf_1.proto3.getEnumType(CONSUMPTION_SEQUENCE) },
|
|
438
|
-
{ no: 30, name: "label_ids", kind: "scalar", T: 4 /* ScalarType.UINT64 */, repeated: true },
|
|
439
432
|
]);
|
|
440
433
|
/**
|
|
441
434
|
*
|
|
@@ -566,12 +559,6 @@ class FamiliesServiceUpdateRequest extends protobuf_1.Message {
|
|
|
566
559
|
* @generated from field: Scailo.CONSUMPTION_SEQUENCE consumption_sequence = 28;
|
|
567
560
|
*/
|
|
568
561
|
this.consumptionSequence = CONSUMPTION_SEQUENCE.CONSUMPTION_SEQUENCE_ANY_UNSPECIFIED;
|
|
569
|
-
/**
|
|
570
|
-
* Stores the list of label IDs
|
|
571
|
-
*
|
|
572
|
-
* @generated from field: repeated uint64 label_ids = 30;
|
|
573
|
-
*/
|
|
574
|
-
this.labelIds = [];
|
|
575
562
|
protobuf_1.proto3.util.initPartial(data, this);
|
|
576
563
|
}
|
|
577
564
|
static fromBinary(bytes, options) {
|
|
@@ -611,7 +598,6 @@ FamiliesServiceUpdateRequest.fields = protobuf_1.proto3.util.newFieldList(() =>
|
|
|
611
598
|
{ no: 26, name: "price", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
612
599
|
{ no: 27, name: "min_stock_to_maintain", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
613
600
|
{ no: 28, name: "consumption_sequence", kind: "enum", T: protobuf_1.proto3.getEnumType(CONSUMPTION_SEQUENCE) },
|
|
614
|
-
{ no: 30, name: "label_ids", kind: "scalar", T: 4 /* ScalarType.UINT64 */, repeated: true },
|
|
615
601
|
]);
|
|
616
602
|
/**
|
|
617
603
|
*
|
|
@@ -742,12 +728,6 @@ class Family extends protobuf_1.Message {
|
|
|
742
728
|
* @generated from field: Scailo.CONSUMPTION_SEQUENCE consumption_sequence = 29;
|
|
743
729
|
*/
|
|
744
730
|
this.consumptionSequence = CONSUMPTION_SEQUENCE.CONSUMPTION_SEQUENCE_ANY_UNSPECIFIED;
|
|
745
|
-
/**
|
|
746
|
-
* Stores the list of label IDs
|
|
747
|
-
*
|
|
748
|
-
* @generated from field: repeated uint64 label_ids = 30;
|
|
749
|
-
*/
|
|
750
|
-
this.labelIds = [];
|
|
751
731
|
/**
|
|
752
732
|
* The number of times that the family has been amended
|
|
753
733
|
*
|
|
@@ -795,7 +775,6 @@ Family.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
|
795
775
|
{ no: 26, name: "price", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
796
776
|
{ no: 27, name: "min_stock_to_maintain", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
797
777
|
{ no: 29, name: "consumption_sequence", kind: "enum", T: protobuf_1.proto3.getEnumType(CONSUMPTION_SEQUENCE) },
|
|
798
|
-
{ no: 30, name: "label_ids", kind: "scalar", T: 4 /* ScalarType.UINT64 */, repeated: true },
|
|
799
778
|
{ no: 40, name: "amendment_count", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
800
779
|
]);
|
|
801
780
|
/**
|
|
@@ -1145,6 +1124,12 @@ class FamiliesServiceFilterReq extends protobuf_1.Message {
|
|
|
1145
1124
|
* @generated from field: uint64 parent_storage_id = 50;
|
|
1146
1125
|
*/
|
|
1147
1126
|
this.parentStorageId = protobuf_1.protoInt64.zero;
|
|
1127
|
+
/**
|
|
1128
|
+
* Filter by families that have the given label ID
|
|
1129
|
+
*
|
|
1130
|
+
* @generated from field: uint64 label_id = 60;
|
|
1131
|
+
*/
|
|
1132
|
+
this.labelId = protobuf_1.protoInt64.zero;
|
|
1148
1133
|
protobuf_1.proto3.util.initPartial(data, this);
|
|
1149
1134
|
}
|
|
1150
1135
|
static fromBinary(bytes, options) {
|
|
@@ -1193,6 +1178,7 @@ FamiliesServiceFilterReq.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
|
1193
1178
|
{ no: 33, name: "tax_group_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1194
1179
|
{ no: 39, name: "consumption_sequence", kind: "enum", T: protobuf_1.proto3.getEnumType(CONSUMPTION_SEQUENCE) },
|
|
1195
1180
|
{ no: 50, name: "parent_storage_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1181
|
+
{ no: 60, name: "label_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1196
1182
|
]);
|
|
1197
1183
|
/**
|
|
1198
1184
|
*
|
|
@@ -1353,6 +1339,12 @@ class FamiliesServiceCountReq extends protobuf_1.Message {
|
|
|
1353
1339
|
* @generated from field: uint64 parent_storage_id = 50;
|
|
1354
1340
|
*/
|
|
1355
1341
|
this.parentStorageId = protobuf_1.protoInt64.zero;
|
|
1342
|
+
/**
|
|
1343
|
+
* Filter by families that have the given label ID
|
|
1344
|
+
*
|
|
1345
|
+
* @generated from field: uint64 label_id = 60;
|
|
1346
|
+
*/
|
|
1347
|
+
this.labelId = protobuf_1.protoInt64.zero;
|
|
1356
1348
|
protobuf_1.proto3.util.initPartial(data, this);
|
|
1357
1349
|
}
|
|
1358
1350
|
static fromBinary(bytes, options) {
|
|
@@ -1397,6 +1389,7 @@ FamiliesServiceCountReq.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
|
1397
1389
|
{ no: 33, name: "tax_group_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1398
1390
|
{ no: 39, name: "consumption_sequence", kind: "enum", T: protobuf_1.proto3.getEnumType(CONSUMPTION_SEQUENCE) },
|
|
1399
1391
|
{ no: 50, name: "parent_storage_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1392
|
+
{ no: 60, name: "label_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1400
1393
|
]);
|
|
1401
1394
|
/**
|
|
1402
1395
|
*
|
|
@@ -1504,6 +1497,158 @@ FamiliesServiceSearchAllReq.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
|
1504
1497
|
{ no: 29, name: "parent_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1505
1498
|
{ no: 30, name: "is_leaf", kind: "enum", T: protobuf_1.proto3.getEnumType(base_scailo_pb_js_1.BOOL_FILTER) },
|
|
1506
1499
|
]);
|
|
1500
|
+
/**
|
|
1501
|
+
*
|
|
1502
|
+
* Describes the parameters necessary to create a family label
|
|
1503
|
+
*
|
|
1504
|
+
* @generated from message Scailo.FamiliesServiceLabelCreateRequest
|
|
1505
|
+
*/
|
|
1506
|
+
class FamiliesServiceLabelCreateRequest extends protobuf_1.Message {
|
|
1507
|
+
constructor(data) {
|
|
1508
|
+
super();
|
|
1509
|
+
/**
|
|
1510
|
+
* Stores any comment that the user might add during this operation
|
|
1511
|
+
*
|
|
1512
|
+
* @generated from field: string user_comment = 1;
|
|
1513
|
+
*/
|
|
1514
|
+
this.userComment = "";
|
|
1515
|
+
/**
|
|
1516
|
+
* Stores the family ID
|
|
1517
|
+
*
|
|
1518
|
+
* @generated from field: uint64 family_id = 10;
|
|
1519
|
+
*/
|
|
1520
|
+
this.familyId = protobuf_1.protoInt64.zero;
|
|
1521
|
+
/**
|
|
1522
|
+
* Stores the label ID
|
|
1523
|
+
*
|
|
1524
|
+
* @generated from field: uint64 label_id = 11;
|
|
1525
|
+
*/
|
|
1526
|
+
this.labelId = protobuf_1.protoInt64.zero;
|
|
1527
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
1528
|
+
}
|
|
1529
|
+
static fromBinary(bytes, options) {
|
|
1530
|
+
return new FamiliesServiceLabelCreateRequest().fromBinary(bytes, options);
|
|
1531
|
+
}
|
|
1532
|
+
static fromJson(jsonValue, options) {
|
|
1533
|
+
return new FamiliesServiceLabelCreateRequest().fromJson(jsonValue, options);
|
|
1534
|
+
}
|
|
1535
|
+
static fromJsonString(jsonString, options) {
|
|
1536
|
+
return new FamiliesServiceLabelCreateRequest().fromJsonString(jsonString, options);
|
|
1537
|
+
}
|
|
1538
|
+
static equals(a, b) {
|
|
1539
|
+
return protobuf_1.proto3.util.equals(FamiliesServiceLabelCreateRequest, a, b);
|
|
1540
|
+
}
|
|
1541
|
+
}
|
|
1542
|
+
exports.FamiliesServiceLabelCreateRequest = FamiliesServiceLabelCreateRequest;
|
|
1543
|
+
FamiliesServiceLabelCreateRequest.runtime = protobuf_1.proto3;
|
|
1544
|
+
FamiliesServiceLabelCreateRequest.typeName = "Scailo.FamiliesServiceLabelCreateRequest";
|
|
1545
|
+
FamiliesServiceLabelCreateRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
1546
|
+
{ no: 1, name: "user_comment", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1547
|
+
{ no: 10, name: "family_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1548
|
+
{ no: 11, name: "label_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1549
|
+
]);
|
|
1550
|
+
/**
|
|
1551
|
+
*
|
|
1552
|
+
* Describes the parameters that constitute a family label
|
|
1553
|
+
*
|
|
1554
|
+
* @generated from message Scailo.FamilyLabel
|
|
1555
|
+
*/
|
|
1556
|
+
class FamilyLabel extends protobuf_1.Message {
|
|
1557
|
+
constructor(data) {
|
|
1558
|
+
super();
|
|
1559
|
+
/**
|
|
1560
|
+
* Stores a globally unique entity UUID. This will be set at the organization level
|
|
1561
|
+
*
|
|
1562
|
+
* @generated from field: string entity_uuid = 1;
|
|
1563
|
+
*/
|
|
1564
|
+
this.entityUuid = "";
|
|
1565
|
+
/**
|
|
1566
|
+
* Denotes if this record requires approval (or has been approved)
|
|
1567
|
+
*
|
|
1568
|
+
* @generated from field: bool need_approval = 4;
|
|
1569
|
+
*/
|
|
1570
|
+
this.needApproval = false;
|
|
1571
|
+
/**
|
|
1572
|
+
* Stores any comment that the user might have added during an operation
|
|
1573
|
+
*
|
|
1574
|
+
* @generated from field: string user_comment = 5;
|
|
1575
|
+
*/
|
|
1576
|
+
this.userComment = "";
|
|
1577
|
+
/**
|
|
1578
|
+
* Stores the family ID
|
|
1579
|
+
*
|
|
1580
|
+
* @generated from field: uint64 family_id = 10;
|
|
1581
|
+
*/
|
|
1582
|
+
this.familyId = protobuf_1.protoInt64.zero;
|
|
1583
|
+
/**
|
|
1584
|
+
* Stores the label ID
|
|
1585
|
+
*
|
|
1586
|
+
* @generated from field: uint64 label_id = 11;
|
|
1587
|
+
*/
|
|
1588
|
+
this.labelId = protobuf_1.protoInt64.zero;
|
|
1589
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
1590
|
+
}
|
|
1591
|
+
static fromBinary(bytes, options) {
|
|
1592
|
+
return new FamilyLabel().fromBinary(bytes, options);
|
|
1593
|
+
}
|
|
1594
|
+
static fromJson(jsonValue, options) {
|
|
1595
|
+
return new FamilyLabel().fromJson(jsonValue, options);
|
|
1596
|
+
}
|
|
1597
|
+
static fromJsonString(jsonString, options) {
|
|
1598
|
+
return new FamilyLabel().fromJsonString(jsonString, options);
|
|
1599
|
+
}
|
|
1600
|
+
static equals(a, b) {
|
|
1601
|
+
return protobuf_1.proto3.util.equals(FamilyLabel, a, b);
|
|
1602
|
+
}
|
|
1603
|
+
}
|
|
1604
|
+
exports.FamilyLabel = FamilyLabel;
|
|
1605
|
+
FamilyLabel.runtime = protobuf_1.proto3;
|
|
1606
|
+
FamilyLabel.typeName = "Scailo.FamilyLabel";
|
|
1607
|
+
FamilyLabel.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
1608
|
+
{ no: 1, name: "entity_uuid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1609
|
+
{ no: 2, name: "metadata", kind: "message", T: base_scailo_pb_js_1.EmployeeMetadata },
|
|
1610
|
+
{ no: 3, name: "approval_metadata", kind: "message", T: base_scailo_pb_js_1.ApprovalMetadata },
|
|
1611
|
+
{ no: 4, name: "need_approval", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
1612
|
+
{ no: 5, name: "user_comment", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1613
|
+
{ no: 10, name: "family_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1614
|
+
{ no: 11, name: "label_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1615
|
+
]);
|
|
1616
|
+
/**
|
|
1617
|
+
*
|
|
1618
|
+
* Describes the message consisting of the list of family labels
|
|
1619
|
+
*
|
|
1620
|
+
* @generated from message Scailo.FamilyLabelsList
|
|
1621
|
+
*/
|
|
1622
|
+
class FamilyLabelsList extends protobuf_1.Message {
|
|
1623
|
+
constructor(data) {
|
|
1624
|
+
super();
|
|
1625
|
+
/**
|
|
1626
|
+
* List of records
|
|
1627
|
+
*
|
|
1628
|
+
* @generated from field: repeated Scailo.FamilyLabel list = 1;
|
|
1629
|
+
*/
|
|
1630
|
+
this.list = [];
|
|
1631
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
1632
|
+
}
|
|
1633
|
+
static fromBinary(bytes, options) {
|
|
1634
|
+
return new FamilyLabelsList().fromBinary(bytes, options);
|
|
1635
|
+
}
|
|
1636
|
+
static fromJson(jsonValue, options) {
|
|
1637
|
+
return new FamilyLabelsList().fromJson(jsonValue, options);
|
|
1638
|
+
}
|
|
1639
|
+
static fromJsonString(jsonString, options) {
|
|
1640
|
+
return new FamilyLabelsList().fromJsonString(jsonString, options);
|
|
1641
|
+
}
|
|
1642
|
+
static equals(a, b) {
|
|
1643
|
+
return protobuf_1.proto3.util.equals(FamilyLabelsList, a, b);
|
|
1644
|
+
}
|
|
1645
|
+
}
|
|
1646
|
+
exports.FamilyLabelsList = FamilyLabelsList;
|
|
1647
|
+
FamilyLabelsList.runtime = protobuf_1.proto3;
|
|
1648
|
+
FamilyLabelsList.typeName = "Scailo.FamilyLabelsList";
|
|
1649
|
+
FamilyLabelsList.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
1650
|
+
{ no: 1, name: "list", kind: "message", T: FamilyLabel, repeated: true },
|
|
1651
|
+
]);
|
|
1507
1652
|
/**
|
|
1508
1653
|
*
|
|
1509
1654
|
* Describes the parameters necessary to create a family storage
|
|
@@ -2031,3 +2176,53 @@ FamilyQCGroupsList.typeName = "Scailo.FamilyQCGroupsList";
|
|
|
2031
2176
|
FamilyQCGroupsList.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
2032
2177
|
{ no: 1, name: "list", kind: "message", T: FamilyQCGroup, repeated: true },
|
|
2033
2178
|
]);
|
|
2179
|
+
/**
|
|
2180
|
+
*
|
|
2181
|
+
* Describes the parameters necessary to adjust a family's price
|
|
2182
|
+
*
|
|
2183
|
+
* @generated from message Scailo.FamiliesServiceAdjustPriceRequest
|
|
2184
|
+
*/
|
|
2185
|
+
class FamiliesServiceAdjustPriceRequest extends protobuf_1.Message {
|
|
2186
|
+
constructor(data) {
|
|
2187
|
+
super();
|
|
2188
|
+
/**
|
|
2189
|
+
* Stores any comment that the user might add during this operation
|
|
2190
|
+
*
|
|
2191
|
+
* @generated from field: string user_comment = 1;
|
|
2192
|
+
*/
|
|
2193
|
+
this.userComment = "";
|
|
2194
|
+
/**
|
|
2195
|
+
* The UUID of the family
|
|
2196
|
+
*
|
|
2197
|
+
* @generated from field: string uuid = 10;
|
|
2198
|
+
*/
|
|
2199
|
+
this.uuid = "";
|
|
2200
|
+
/**
|
|
2201
|
+
* Stores the unit price
|
|
2202
|
+
*
|
|
2203
|
+
* @generated from field: uint64 price = 26;
|
|
2204
|
+
*/
|
|
2205
|
+
this.price = protobuf_1.protoInt64.zero;
|
|
2206
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
2207
|
+
}
|
|
2208
|
+
static fromBinary(bytes, options) {
|
|
2209
|
+
return new FamiliesServiceAdjustPriceRequest().fromBinary(bytes, options);
|
|
2210
|
+
}
|
|
2211
|
+
static fromJson(jsonValue, options) {
|
|
2212
|
+
return new FamiliesServiceAdjustPriceRequest().fromJson(jsonValue, options);
|
|
2213
|
+
}
|
|
2214
|
+
static fromJsonString(jsonString, options) {
|
|
2215
|
+
return new FamiliesServiceAdjustPriceRequest().fromJsonString(jsonString, options);
|
|
2216
|
+
}
|
|
2217
|
+
static equals(a, b) {
|
|
2218
|
+
return protobuf_1.proto3.util.equals(FamiliesServiceAdjustPriceRequest, a, b);
|
|
2219
|
+
}
|
|
2220
|
+
}
|
|
2221
|
+
exports.FamiliesServiceAdjustPriceRequest = FamiliesServiceAdjustPriceRequest;
|
|
2222
|
+
FamiliesServiceAdjustPriceRequest.runtime = protobuf_1.proto3;
|
|
2223
|
+
FamiliesServiceAdjustPriceRequest.typeName = "Scailo.FamiliesServiceAdjustPriceRequest";
|
|
2224
|
+
FamiliesServiceAdjustPriceRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
2225
|
+
{ no: 1, name: "user_comment", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
2226
|
+
{ no: 10, name: "uuid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
2227
|
+
{ no: 26, name: "price", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
2228
|
+
]);
|
|
@@ -1119,6 +1119,16 @@ class GoodsReceiptItemsSearchRequest extends protobuf_1.Message {
|
|
|
1119
1119
|
* @generated from field: string search_key = 40;
|
|
1120
1120
|
*/
|
|
1121
1121
|
this.searchKey = "";
|
|
1122
|
+
/**
|
|
1123
|
+
* ------------------------------------------
|
|
1124
|
+
* Extra filters
|
|
1125
|
+
* The ID of the associated vendor
|
|
1126
|
+
*
|
|
1127
|
+
* ------------------------------------------
|
|
1128
|
+
*
|
|
1129
|
+
* @generated from field: uint64 vendor_id = 200;
|
|
1130
|
+
*/
|
|
1131
|
+
this.vendorId = protobuf_1.protoInt64.zero;
|
|
1122
1132
|
protobuf_1.proto3.util.initPartial(data, this);
|
|
1123
1133
|
}
|
|
1124
1134
|
static fromBinary(bytes, options) {
|
|
@@ -1153,6 +1163,7 @@ GoodsReceiptItemsSearchRequest.fields = protobuf_1.proto3.util.newFieldList(() =
|
|
|
1153
1163
|
{ no: 22, name: "family_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1154
1164
|
{ no: 24, name: "vendor_uom_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1155
1165
|
{ no: 40, name: "search_key", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1166
|
+
{ no: 200, name: "vendor_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1156
1167
|
]);
|
|
1157
1168
|
/**
|
|
1158
1169
|
*
|
|
@@ -1927,6 +1927,16 @@ class OutwardJobInwardItemsSearchRequest extends protobuf_1.Message {
|
|
|
1927
1927
|
* @generated from field: string search_key = 40;
|
|
1928
1928
|
*/
|
|
1929
1929
|
this.searchKey = "";
|
|
1930
|
+
/**
|
|
1931
|
+
* ------------------------------------------
|
|
1932
|
+
* Extra filters
|
|
1933
|
+
* The ID of the associated vendor
|
|
1934
|
+
*
|
|
1935
|
+
* ------------------------------------------
|
|
1936
|
+
*
|
|
1937
|
+
* @generated from field: uint64 vendor_id = 200;
|
|
1938
|
+
*/
|
|
1939
|
+
this.vendorId = protobuf_1.protoInt64.zero;
|
|
1930
1940
|
protobuf_1.proto3.util.initPartial(data, this);
|
|
1931
1941
|
}
|
|
1932
1942
|
static fromBinary(bytes, options) {
|
|
@@ -1963,6 +1973,7 @@ OutwardJobInwardItemsSearchRequest.fields = protobuf_1.proto3.util.newFieldList(
|
|
|
1963
1973
|
{ no: 29, name: "delivery_date_start", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1964
1974
|
{ no: 30, name: "delivery_date_end", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1965
1975
|
{ no: 40, name: "search_key", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1976
|
+
{ no: 200, name: "vendor_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1966
1977
|
]);
|
|
1967
1978
|
/**
|
|
1968
1979
|
*
|
|
@@ -2588,6 +2599,16 @@ class OutwardJobOutwardItemsSearchRequest extends protobuf_1.Message {
|
|
|
2588
2599
|
* @generated from field: string search_key = 40;
|
|
2589
2600
|
*/
|
|
2590
2601
|
this.searchKey = "";
|
|
2602
|
+
/**
|
|
2603
|
+
* ------------------------------------------
|
|
2604
|
+
* Extra filters
|
|
2605
|
+
* The ID of the associated vendor
|
|
2606
|
+
*
|
|
2607
|
+
* ------------------------------------------
|
|
2608
|
+
*
|
|
2609
|
+
* @generated from field: uint64 vendor_id = 200;
|
|
2610
|
+
*/
|
|
2611
|
+
this.vendorId = protobuf_1.protoInt64.zero;
|
|
2591
2612
|
protobuf_1.proto3.util.initPartial(data, this);
|
|
2592
2613
|
}
|
|
2593
2614
|
static fromBinary(bytes, options) {
|
|
@@ -2622,6 +2643,7 @@ OutwardJobOutwardItemsSearchRequest.fields = protobuf_1.proto3.util.newFieldList
|
|
|
2622
2643
|
{ no: 21, name: "family_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
2623
2644
|
{ no: 22, name: "item_hash", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
2624
2645
|
{ no: 40, name: "search_key", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
2646
|
+
{ no: 200, name: "vendor_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
2625
2647
|
]);
|
|
2626
2648
|
/**
|
|
2627
2649
|
*
|
|
@@ -2453,6 +2453,16 @@ class PurchaseOrderItemsSearchRequest extends protobuf_1.Message {
|
|
|
2453
2453
|
* @generated from field: string search_key = 40;
|
|
2454
2454
|
*/
|
|
2455
2455
|
this.searchKey = "";
|
|
2456
|
+
/**
|
|
2457
|
+
* ------------------------------------------
|
|
2458
|
+
* Extra filters
|
|
2459
|
+
* The ID of the associated vendor
|
|
2460
|
+
*
|
|
2461
|
+
* ------------------------------------------
|
|
2462
|
+
*
|
|
2463
|
+
* @generated from field: uint64 vendor_id = 200;
|
|
2464
|
+
*/
|
|
2465
|
+
this.vendorId = protobuf_1.protoInt64.zero;
|
|
2456
2466
|
protobuf_1.proto3.util.initPartial(data, this);
|
|
2457
2467
|
}
|
|
2458
2468
|
static fromBinary(bytes, options) {
|
|
@@ -2491,6 +2501,7 @@ PurchaseOrderItemsSearchRequest.fields = protobuf_1.proto3.util.newFieldList(()
|
|
|
2491
2501
|
{ no: 29, name: "delivery_date_start", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
2492
2502
|
{ no: 30, name: "delivery_date_end", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
2493
2503
|
{ no: 40, name: "search_key", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
2504
|
+
{ no: 200, name: "vendor_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
2494
2505
|
]);
|
|
2495
2506
|
/**
|
|
2496
2507
|
*
|
|
@@ -2165,6 +2165,16 @@ class SupplyOfferItemsSearchRequest extends protobuf_1.Message {
|
|
|
2165
2165
|
* @generated from field: string search_key = 40;
|
|
2166
2166
|
*/
|
|
2167
2167
|
this.searchKey = "";
|
|
2168
|
+
/**
|
|
2169
|
+
* ------------------------------------------
|
|
2170
|
+
* Extra filters
|
|
2171
|
+
* The ID of the associated vendor
|
|
2172
|
+
*
|
|
2173
|
+
* ------------------------------------------
|
|
2174
|
+
*
|
|
2175
|
+
* @generated from field: uint64 vendor_id = 200;
|
|
2176
|
+
*/
|
|
2177
|
+
this.vendorId = protobuf_1.protoInt64.zero;
|
|
2168
2178
|
protobuf_1.proto3.util.initPartial(data, this);
|
|
2169
2179
|
}
|
|
2170
2180
|
static fromBinary(bytes, options) {
|
|
@@ -2203,6 +2213,7 @@ SupplyOfferItemsSearchRequest.fields = protobuf_1.proto3.util.newFieldList(() =>
|
|
|
2203
2213
|
{ no: 29, name: "delivery_date_start", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
2204
2214
|
{ no: 30, name: "delivery_date_end", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
2205
2215
|
{ no: 40, name: "search_key", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
2216
|
+
{ no: 200, name: "vendor_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
2206
2217
|
]);
|
|
2207
2218
|
/**
|
|
2208
2219
|
*
|
|
@@ -2230,6 +2230,16 @@ class VendorInvoiceItemsSearchRequest extends protobuf_1.Message {
|
|
|
2230
2230
|
* @generated from field: string search_key = 40;
|
|
2231
2231
|
*/
|
|
2232
2232
|
this.searchKey = "";
|
|
2233
|
+
/**
|
|
2234
|
+
* ------------------------------------------
|
|
2235
|
+
* Extra filters
|
|
2236
|
+
* The ID of the associated vendor
|
|
2237
|
+
*
|
|
2238
|
+
* ------------------------------------------
|
|
2239
|
+
*
|
|
2240
|
+
* @generated from field: uint64 vendor_id = 200;
|
|
2241
|
+
*/
|
|
2242
|
+
this.vendorId = protobuf_1.protoInt64.zero;
|
|
2233
2243
|
protobuf_1.proto3.util.initPartial(data, this);
|
|
2234
2244
|
}
|
|
2235
2245
|
static fromBinary(bytes, options) {
|
|
@@ -2265,6 +2275,7 @@ VendorInvoiceItemsSearchRequest.fields = protobuf_1.proto3.util.newFieldList(()
|
|
|
2265
2275
|
{ no: 23, name: "vendor_uom_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
2266
2276
|
{ no: 26, name: "tax_group_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
2267
2277
|
{ no: 40, name: "search_key", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
2278
|
+
{ no: 200, name: "vendor_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
2268
2279
|
]);
|
|
2269
2280
|
/**
|
|
2270
2281
|
*
|