@kernelminds/scailo-sdk 0.0.21 → 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/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/esm/src/families.scailo_connect.js +85 -8
- package/lib/esm/src/families.scailo_pb.js +229 -22
- 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/package.json +1 -1
|
@@ -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
|
/**
|
|
@@ -389,12 +389,6 @@ class FamiliesServiceCreateRequest extends protobuf_1.Message {
|
|
|
389
389
|
* @generated from field: Scailo.CONSUMPTION_SEQUENCE consumption_sequence = 28;
|
|
390
390
|
*/
|
|
391
391
|
consumptionSequence = CONSUMPTION_SEQUENCE.CONSUMPTION_SEQUENCE_ANY_UNSPECIFIED;
|
|
392
|
-
/**
|
|
393
|
-
* Stores the list of label IDs
|
|
394
|
-
*
|
|
395
|
-
* @generated from field: repeated uint64 label_ids = 30;
|
|
396
|
-
*/
|
|
397
|
-
labelIds = [];
|
|
398
392
|
constructor(data) {
|
|
399
393
|
super();
|
|
400
394
|
protobuf_1.proto3.util.initPartial(data, this);
|
|
@@ -421,7 +415,6 @@ class FamiliesServiceCreateRequest extends protobuf_1.Message {
|
|
|
421
415
|
{ no: 26, name: "price", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
422
416
|
{ no: 27, name: "min_stock_to_maintain", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
423
417
|
{ no: 28, name: "consumption_sequence", kind: "enum", T: protobuf_1.proto3.getEnumType(CONSUMPTION_SEQUENCE) },
|
|
424
|
-
{ no: 30, name: "label_ids", kind: "scalar", T: 4 /* ScalarType.UINT64 */, repeated: true },
|
|
425
418
|
]);
|
|
426
419
|
static fromBinary(bytes, options) {
|
|
427
420
|
return new FamiliesServiceCreateRequest().fromBinary(bytes, options);
|
|
@@ -564,12 +557,6 @@ class FamiliesServiceUpdateRequest extends protobuf_1.Message {
|
|
|
564
557
|
* @generated from field: Scailo.CONSUMPTION_SEQUENCE consumption_sequence = 28;
|
|
565
558
|
*/
|
|
566
559
|
consumptionSequence = CONSUMPTION_SEQUENCE.CONSUMPTION_SEQUENCE_ANY_UNSPECIFIED;
|
|
567
|
-
/**
|
|
568
|
-
* Stores the list of label IDs
|
|
569
|
-
*
|
|
570
|
-
* @generated from field: repeated uint64 label_ids = 30;
|
|
571
|
-
*/
|
|
572
|
-
labelIds = [];
|
|
573
560
|
constructor(data) {
|
|
574
561
|
super();
|
|
575
562
|
protobuf_1.proto3.util.initPartial(data, this);
|
|
@@ -597,7 +584,6 @@ class FamiliesServiceUpdateRequest extends protobuf_1.Message {
|
|
|
597
584
|
{ no: 26, name: "price", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
598
585
|
{ no: 27, name: "min_stock_to_maintain", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
599
586
|
{ no: 28, name: "consumption_sequence", kind: "enum", T: protobuf_1.proto3.getEnumType(CONSUMPTION_SEQUENCE) },
|
|
600
|
-
{ no: 30, name: "label_ids", kind: "scalar", T: 4 /* ScalarType.UINT64 */, repeated: true },
|
|
601
587
|
]);
|
|
602
588
|
static fromBinary(bytes, options) {
|
|
603
589
|
return new FamiliesServiceUpdateRequest().fromBinary(bytes, options);
|
|
@@ -752,12 +738,6 @@ class Family extends protobuf_1.Message {
|
|
|
752
738
|
* @generated from field: Scailo.CONSUMPTION_SEQUENCE consumption_sequence = 29;
|
|
753
739
|
*/
|
|
754
740
|
consumptionSequence = CONSUMPTION_SEQUENCE.CONSUMPTION_SEQUENCE_ANY_UNSPECIFIED;
|
|
755
|
-
/**
|
|
756
|
-
* Stores the list of label IDs
|
|
757
|
-
*
|
|
758
|
-
* @generated from field: repeated uint64 label_ids = 30;
|
|
759
|
-
*/
|
|
760
|
-
labelIds = [];
|
|
761
741
|
/**
|
|
762
742
|
* The number of times that the family has been amended
|
|
763
743
|
*
|
|
@@ -793,7 +773,6 @@ class Family extends protobuf_1.Message {
|
|
|
793
773
|
{ no: 26, name: "price", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
794
774
|
{ no: 27, name: "min_stock_to_maintain", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
795
775
|
{ no: 29, name: "consumption_sequence", kind: "enum", T: protobuf_1.proto3.getEnumType(CONSUMPTION_SEQUENCE) },
|
|
796
|
-
{ no: 30, name: "label_ids", kind: "scalar", T: 4 /* ScalarType.UINT64 */, repeated: true },
|
|
797
776
|
{ no: 40, name: "amendment_count", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
798
777
|
]);
|
|
799
778
|
static fromBinary(bytes, options) {
|
|
@@ -1155,6 +1134,12 @@ class FamiliesServiceFilterReq extends protobuf_1.Message {
|
|
|
1155
1134
|
* @generated from field: uint64 parent_storage_id = 50;
|
|
1156
1135
|
*/
|
|
1157
1136
|
parentStorageId = protobuf_1.protoInt64.zero;
|
|
1137
|
+
/**
|
|
1138
|
+
* Filter by families that have the given label ID
|
|
1139
|
+
*
|
|
1140
|
+
* @generated from field: uint64 label_id = 60;
|
|
1141
|
+
*/
|
|
1142
|
+
labelId = protobuf_1.protoInt64.zero;
|
|
1158
1143
|
constructor(data) {
|
|
1159
1144
|
super();
|
|
1160
1145
|
protobuf_1.proto3.util.initPartial(data, this);
|
|
@@ -1191,6 +1176,7 @@ class FamiliesServiceFilterReq extends protobuf_1.Message {
|
|
|
1191
1176
|
{ no: 33, name: "tax_group_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1192
1177
|
{ no: 39, name: "consumption_sequence", kind: "enum", T: protobuf_1.proto3.getEnumType(CONSUMPTION_SEQUENCE) },
|
|
1193
1178
|
{ no: 50, name: "parent_storage_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1179
|
+
{ no: 60, name: "label_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1194
1180
|
]);
|
|
1195
1181
|
static fromBinary(bytes, options) {
|
|
1196
1182
|
return new FamiliesServiceFilterReq().fromBinary(bytes, options);
|
|
@@ -1363,6 +1349,12 @@ class FamiliesServiceCountReq extends protobuf_1.Message {
|
|
|
1363
1349
|
* @generated from field: uint64 parent_storage_id = 50;
|
|
1364
1350
|
*/
|
|
1365
1351
|
parentStorageId = protobuf_1.protoInt64.zero;
|
|
1352
|
+
/**
|
|
1353
|
+
* Filter by families that have the given label ID
|
|
1354
|
+
*
|
|
1355
|
+
* @generated from field: uint64 label_id = 60;
|
|
1356
|
+
*/
|
|
1357
|
+
labelId = protobuf_1.protoInt64.zero;
|
|
1366
1358
|
constructor(data) {
|
|
1367
1359
|
super();
|
|
1368
1360
|
protobuf_1.proto3.util.initPartial(data, this);
|
|
@@ -1395,6 +1387,7 @@ class FamiliesServiceCountReq extends protobuf_1.Message {
|
|
|
1395
1387
|
{ no: 33, name: "tax_group_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1396
1388
|
{ no: 39, name: "consumption_sequence", kind: "enum", T: protobuf_1.proto3.getEnumType(CONSUMPTION_SEQUENCE) },
|
|
1397
1389
|
{ no: 50, name: "parent_storage_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1390
|
+
{ no: 60, name: "label_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1398
1391
|
]);
|
|
1399
1392
|
static fromBinary(bytes, options) {
|
|
1400
1393
|
return new FamiliesServiceCountReq().fromBinary(bytes, options);
|
|
@@ -1516,6 +1509,170 @@ class FamiliesServiceSearchAllReq extends protobuf_1.Message {
|
|
|
1516
1509
|
}
|
|
1517
1510
|
}
|
|
1518
1511
|
exports.FamiliesServiceSearchAllReq = FamiliesServiceSearchAllReq;
|
|
1512
|
+
/**
|
|
1513
|
+
*
|
|
1514
|
+
* Describes the parameters necessary to create a family label
|
|
1515
|
+
*
|
|
1516
|
+
* @generated from message Scailo.FamiliesServiceLabelCreateRequest
|
|
1517
|
+
*/
|
|
1518
|
+
class FamiliesServiceLabelCreateRequest extends protobuf_1.Message {
|
|
1519
|
+
/**
|
|
1520
|
+
* Stores any comment that the user might add during this operation
|
|
1521
|
+
*
|
|
1522
|
+
* @generated from field: string user_comment = 1;
|
|
1523
|
+
*/
|
|
1524
|
+
userComment = "";
|
|
1525
|
+
/**
|
|
1526
|
+
* Stores the family ID
|
|
1527
|
+
*
|
|
1528
|
+
* @generated from field: uint64 family_id = 10;
|
|
1529
|
+
*/
|
|
1530
|
+
familyId = protobuf_1.protoInt64.zero;
|
|
1531
|
+
/**
|
|
1532
|
+
* Stores the label ID
|
|
1533
|
+
*
|
|
1534
|
+
* @generated from field: uint64 label_id = 11;
|
|
1535
|
+
*/
|
|
1536
|
+
labelId = protobuf_1.protoInt64.zero;
|
|
1537
|
+
constructor(data) {
|
|
1538
|
+
super();
|
|
1539
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
1540
|
+
}
|
|
1541
|
+
static runtime = protobuf_1.proto3;
|
|
1542
|
+
static typeName = "Scailo.FamiliesServiceLabelCreateRequest";
|
|
1543
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
1544
|
+
{ no: 1, name: "user_comment", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1545
|
+
{ no: 10, name: "family_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1546
|
+
{ no: 11, name: "label_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1547
|
+
]);
|
|
1548
|
+
static fromBinary(bytes, options) {
|
|
1549
|
+
return new FamiliesServiceLabelCreateRequest().fromBinary(bytes, options);
|
|
1550
|
+
}
|
|
1551
|
+
static fromJson(jsonValue, options) {
|
|
1552
|
+
return new FamiliesServiceLabelCreateRequest().fromJson(jsonValue, options);
|
|
1553
|
+
}
|
|
1554
|
+
static fromJsonString(jsonString, options) {
|
|
1555
|
+
return new FamiliesServiceLabelCreateRequest().fromJsonString(jsonString, options);
|
|
1556
|
+
}
|
|
1557
|
+
static equals(a, b) {
|
|
1558
|
+
return protobuf_1.proto3.util.equals(FamiliesServiceLabelCreateRequest, a, b);
|
|
1559
|
+
}
|
|
1560
|
+
}
|
|
1561
|
+
exports.FamiliesServiceLabelCreateRequest = FamiliesServiceLabelCreateRequest;
|
|
1562
|
+
/**
|
|
1563
|
+
*
|
|
1564
|
+
* Describes the parameters that constitute a family label
|
|
1565
|
+
*
|
|
1566
|
+
* @generated from message Scailo.FamilyLabel
|
|
1567
|
+
*/
|
|
1568
|
+
class FamilyLabel extends protobuf_1.Message {
|
|
1569
|
+
/**
|
|
1570
|
+
* Stores a globally unique entity UUID. This will be set at the organization level
|
|
1571
|
+
*
|
|
1572
|
+
* @generated from field: string entity_uuid = 1;
|
|
1573
|
+
*/
|
|
1574
|
+
entityUuid = "";
|
|
1575
|
+
/**
|
|
1576
|
+
* Stores the metadata of this family
|
|
1577
|
+
*
|
|
1578
|
+
* @generated from field: Scailo.EmployeeMetadata metadata = 2;
|
|
1579
|
+
*/
|
|
1580
|
+
metadata;
|
|
1581
|
+
/**
|
|
1582
|
+
* Stores the approval metadata
|
|
1583
|
+
*
|
|
1584
|
+
* @generated from field: Scailo.ApprovalMetadata approval_metadata = 3;
|
|
1585
|
+
*/
|
|
1586
|
+
approvalMetadata;
|
|
1587
|
+
/**
|
|
1588
|
+
* Denotes if this record requires approval (or has been approved)
|
|
1589
|
+
*
|
|
1590
|
+
* @generated from field: bool need_approval = 4;
|
|
1591
|
+
*/
|
|
1592
|
+
needApproval = false;
|
|
1593
|
+
/**
|
|
1594
|
+
* Stores any comment that the user might have added during an operation
|
|
1595
|
+
*
|
|
1596
|
+
* @generated from field: string user_comment = 5;
|
|
1597
|
+
*/
|
|
1598
|
+
userComment = "";
|
|
1599
|
+
/**
|
|
1600
|
+
* Stores the family ID
|
|
1601
|
+
*
|
|
1602
|
+
* @generated from field: uint64 family_id = 10;
|
|
1603
|
+
*/
|
|
1604
|
+
familyId = protobuf_1.protoInt64.zero;
|
|
1605
|
+
/**
|
|
1606
|
+
* Stores the label ID
|
|
1607
|
+
*
|
|
1608
|
+
* @generated from field: uint64 label_id = 11;
|
|
1609
|
+
*/
|
|
1610
|
+
labelId = protobuf_1.protoInt64.zero;
|
|
1611
|
+
constructor(data) {
|
|
1612
|
+
super();
|
|
1613
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
1614
|
+
}
|
|
1615
|
+
static runtime = protobuf_1.proto3;
|
|
1616
|
+
static typeName = "Scailo.FamilyLabel";
|
|
1617
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
1618
|
+
{ no: 1, name: "entity_uuid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1619
|
+
{ no: 2, name: "metadata", kind: "message", T: base_scailo_pb_js_1.EmployeeMetadata },
|
|
1620
|
+
{ no: 3, name: "approval_metadata", kind: "message", T: base_scailo_pb_js_1.ApprovalMetadata },
|
|
1621
|
+
{ no: 4, name: "need_approval", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
1622
|
+
{ no: 5, name: "user_comment", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1623
|
+
{ no: 10, name: "family_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1624
|
+
{ no: 11, name: "label_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1625
|
+
]);
|
|
1626
|
+
static fromBinary(bytes, options) {
|
|
1627
|
+
return new FamilyLabel().fromBinary(bytes, options);
|
|
1628
|
+
}
|
|
1629
|
+
static fromJson(jsonValue, options) {
|
|
1630
|
+
return new FamilyLabel().fromJson(jsonValue, options);
|
|
1631
|
+
}
|
|
1632
|
+
static fromJsonString(jsonString, options) {
|
|
1633
|
+
return new FamilyLabel().fromJsonString(jsonString, options);
|
|
1634
|
+
}
|
|
1635
|
+
static equals(a, b) {
|
|
1636
|
+
return protobuf_1.proto3.util.equals(FamilyLabel, a, b);
|
|
1637
|
+
}
|
|
1638
|
+
}
|
|
1639
|
+
exports.FamilyLabel = FamilyLabel;
|
|
1640
|
+
/**
|
|
1641
|
+
*
|
|
1642
|
+
* Describes the message consisting of the list of family labels
|
|
1643
|
+
*
|
|
1644
|
+
* @generated from message Scailo.FamilyLabelsList
|
|
1645
|
+
*/
|
|
1646
|
+
class FamilyLabelsList extends protobuf_1.Message {
|
|
1647
|
+
/**
|
|
1648
|
+
* List of records
|
|
1649
|
+
*
|
|
1650
|
+
* @generated from field: repeated Scailo.FamilyLabel list = 1;
|
|
1651
|
+
*/
|
|
1652
|
+
list = [];
|
|
1653
|
+
constructor(data) {
|
|
1654
|
+
super();
|
|
1655
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
1656
|
+
}
|
|
1657
|
+
static runtime = protobuf_1.proto3;
|
|
1658
|
+
static typeName = "Scailo.FamilyLabelsList";
|
|
1659
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
1660
|
+
{ no: 1, name: "list", kind: "message", T: FamilyLabel, repeated: true },
|
|
1661
|
+
]);
|
|
1662
|
+
static fromBinary(bytes, options) {
|
|
1663
|
+
return new FamilyLabelsList().fromBinary(bytes, options);
|
|
1664
|
+
}
|
|
1665
|
+
static fromJson(jsonValue, options) {
|
|
1666
|
+
return new FamilyLabelsList().fromJson(jsonValue, options);
|
|
1667
|
+
}
|
|
1668
|
+
static fromJsonString(jsonString, options) {
|
|
1669
|
+
return new FamilyLabelsList().fromJsonString(jsonString, options);
|
|
1670
|
+
}
|
|
1671
|
+
static equals(a, b) {
|
|
1672
|
+
return protobuf_1.proto3.util.equals(FamilyLabelsList, a, b);
|
|
1673
|
+
}
|
|
1674
|
+
}
|
|
1675
|
+
exports.FamilyLabelsList = FamilyLabelsList;
|
|
1519
1676
|
/**
|
|
1520
1677
|
*
|
|
1521
1678
|
* Describes the parameters necessary to create a family storage
|
|
@@ -2079,3 +2236,53 @@ class FamilyQCGroupsList extends protobuf_1.Message {
|
|
|
2079
2236
|
}
|
|
2080
2237
|
}
|
|
2081
2238
|
exports.FamilyQCGroupsList = FamilyQCGroupsList;
|
|
2239
|
+
/**
|
|
2240
|
+
*
|
|
2241
|
+
* Describes the parameters necessary to adjust a family's price
|
|
2242
|
+
*
|
|
2243
|
+
* @generated from message Scailo.FamiliesServiceAdjustPriceRequest
|
|
2244
|
+
*/
|
|
2245
|
+
class FamiliesServiceAdjustPriceRequest extends protobuf_1.Message {
|
|
2246
|
+
/**
|
|
2247
|
+
* Stores any comment that the user might add during this operation
|
|
2248
|
+
*
|
|
2249
|
+
* @generated from field: string user_comment = 1;
|
|
2250
|
+
*/
|
|
2251
|
+
userComment = "";
|
|
2252
|
+
/**
|
|
2253
|
+
* The UUID of the family
|
|
2254
|
+
*
|
|
2255
|
+
* @generated from field: string uuid = 10;
|
|
2256
|
+
*/
|
|
2257
|
+
uuid = "";
|
|
2258
|
+
/**
|
|
2259
|
+
* Stores the unit price
|
|
2260
|
+
*
|
|
2261
|
+
* @generated from field: uint64 price = 26;
|
|
2262
|
+
*/
|
|
2263
|
+
price = protobuf_1.protoInt64.zero;
|
|
2264
|
+
constructor(data) {
|
|
2265
|
+
super();
|
|
2266
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
2267
|
+
}
|
|
2268
|
+
static runtime = protobuf_1.proto3;
|
|
2269
|
+
static typeName = "Scailo.FamiliesServiceAdjustPriceRequest";
|
|
2270
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
2271
|
+
{ no: 1, name: "user_comment", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
2272
|
+
{ no: 10, name: "uuid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
2273
|
+
{ no: 26, name: "price", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
2274
|
+
]);
|
|
2275
|
+
static fromBinary(bytes, options) {
|
|
2276
|
+
return new FamiliesServiceAdjustPriceRequest().fromBinary(bytes, options);
|
|
2277
|
+
}
|
|
2278
|
+
static fromJson(jsonValue, options) {
|
|
2279
|
+
return new FamiliesServiceAdjustPriceRequest().fromJson(jsonValue, options);
|
|
2280
|
+
}
|
|
2281
|
+
static fromJsonString(jsonString, options) {
|
|
2282
|
+
return new FamiliesServiceAdjustPriceRequest().fromJsonString(jsonString, options);
|
|
2283
|
+
}
|
|
2284
|
+
static equals(a, b) {
|
|
2285
|
+
return protobuf_1.proto3.util.equals(FamiliesServiceAdjustPriceRequest, a, b);
|
|
2286
|
+
}
|
|
2287
|
+
}
|
|
2288
|
+
exports.FamiliesServiceAdjustPriceRequest = FamiliesServiceAdjustPriceRequest;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { FamiliesList, FamiliesServiceCountReq, FamiliesServiceCreateRequest, FamiliesServiceFilterReq, FamiliesServicePaginationReq, FamiliesServicePaginationResponse, FamiliesServiceQCGroupCreateRequest, FamiliesServiceSearchAllReq, FamiliesServiceStorageCreateRequest, FamiliesServiceUnitConversionCreateRequest, FamiliesServiceUnitConversionPresenceRequest, FamiliesServiceUpdateRequest, Family, FamilyQCGroup, FamilyQCGroupsList, FamilyStorage, FamilyStoragesList, FamilyTypesList, FamilyUnitConversion, FamilyUnitConversionsList } from "./families.scailo_pb.js";
|
|
2
|
-
import { ActiveStatus, AmendmentLogsList, CountInSLCStatusRequest, CountResponse, Identifier, IdentifierResponse, IdentifiersList, IdentifierUUID,
|
|
1
|
+
import { FamiliesList, FamiliesServiceAdjustPriceRequest, FamiliesServiceCountReq, FamiliesServiceCreateRequest, FamiliesServiceFilterReq, FamiliesServiceLabelCreateRequest, FamiliesServicePaginationReq, FamiliesServicePaginationResponse, FamiliesServiceQCGroupCreateRequest, FamiliesServiceSearchAllReq, FamiliesServiceStorageCreateRequest, FamiliesServiceUnitConversionCreateRequest, FamiliesServiceUnitConversionPresenceRequest, FamiliesServiceUpdateRequest, Family, FamilyLabel, FamilyLabelsList, FamilyQCGroup, FamilyQCGroupsList, FamilyStorage, FamilyStoragesList, FamilyTypesList, FamilyUnitConversion, FamilyUnitConversionsList } from "./families.scailo_pb.js";
|
|
2
|
+
import { ActiveStatus, AmendmentLogsList, CountInSLCStatusRequest, CountResponse, Identifier, IdentifierResponse, IdentifiersList, IdentifierUUID, IdentifierUUIDsList, IdentifierUUIDWithUserComment, IdentifierWithUserComment, SimpleSearchReq, StandardFile } from "./base.scailo_pb.js";
|
|
3
3
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
4
4
|
/**
|
|
5
5
|
*
|
|
@@ -156,27 +156,49 @@ export declare const FamiliesService: {
|
|
|
156
156
|
readonly O: typeof IdentifierResponse;
|
|
157
157
|
readonly kind: MethodKind.Unary;
|
|
158
158
|
};
|
|
159
|
+
/**
|
|
160
|
+
* Adjusts the price of the family with the given UUID
|
|
161
|
+
*
|
|
162
|
+
* @generated from rpc Scailo.FamiliesService.AdjustPrice
|
|
163
|
+
*/
|
|
164
|
+
readonly adjustPrice: {
|
|
165
|
+
readonly name: "AdjustPrice";
|
|
166
|
+
readonly I: typeof FamiliesServiceAdjustPriceRequest;
|
|
167
|
+
readonly O: typeof IdentifierResponse;
|
|
168
|
+
readonly kind: MethodKind.Unary;
|
|
169
|
+
};
|
|
170
|
+
/**
|
|
171
|
+
* Adjusts the price of all the families mentioned in the file
|
|
172
|
+
*
|
|
173
|
+
* @generated from rpc Scailo.FamiliesService.UploadPrices
|
|
174
|
+
*/
|
|
175
|
+
readonly uploadPrices: {
|
|
176
|
+
readonly name: "UploadPrices";
|
|
177
|
+
readonly I: typeof StandardFile;
|
|
178
|
+
readonly O: typeof IdentifierUUIDsList;
|
|
179
|
+
readonly kind: MethodKind.Unary;
|
|
180
|
+
};
|
|
159
181
|
/**
|
|
160
182
|
* CSV operations
|
|
161
|
-
* Download the CSV file that
|
|
183
|
+
* 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
|
|
162
184
|
*
|
|
163
185
|
* @generated from rpc Scailo.FamiliesService.DownloadAsCSV
|
|
164
186
|
*/
|
|
165
187
|
readonly downloadAsCSV: {
|
|
166
188
|
readonly name: "DownloadAsCSV";
|
|
167
|
-
readonly I: typeof
|
|
189
|
+
readonly I: typeof FamiliesServiceFilterReq;
|
|
168
190
|
readonly O: typeof StandardFile;
|
|
169
191
|
readonly kind: MethodKind.Unary;
|
|
170
192
|
};
|
|
171
193
|
/**
|
|
172
|
-
*
|
|
194
|
+
* Import families using a CSV file (duplicate codes will be skipped)
|
|
173
195
|
*
|
|
174
|
-
* @generated from rpc Scailo.FamiliesService.
|
|
196
|
+
* @generated from rpc Scailo.FamiliesService.Import
|
|
175
197
|
*/
|
|
176
|
-
readonly
|
|
177
|
-
readonly name: "
|
|
178
|
-
readonly I: typeof
|
|
179
|
-
readonly O: typeof
|
|
198
|
+
readonly import: {
|
|
199
|
+
readonly name: "Import";
|
|
200
|
+
readonly I: typeof StandardFile;
|
|
201
|
+
readonly O: typeof IdentifierUUIDsList;
|
|
180
202
|
readonly kind: MethodKind.Unary;
|
|
181
203
|
};
|
|
182
204
|
/**
|
|
@@ -234,6 +256,61 @@ export declare const FamiliesService: {
|
|
|
234
256
|
readonly O: typeof FamilyStoragesList;
|
|
235
257
|
readonly kind: MethodKind.Unary;
|
|
236
258
|
};
|
|
259
|
+
/**
|
|
260
|
+
* Add a label
|
|
261
|
+
*
|
|
262
|
+
* @generated from rpc Scailo.FamiliesService.AddLabel
|
|
263
|
+
*/
|
|
264
|
+
readonly addLabel: {
|
|
265
|
+
readonly name: "AddLabel";
|
|
266
|
+
readonly I: typeof FamiliesServiceLabelCreateRequest;
|
|
267
|
+
readonly O: typeof IdentifierResponse;
|
|
268
|
+
readonly kind: MethodKind.Unary;
|
|
269
|
+
};
|
|
270
|
+
/**
|
|
271
|
+
* Approve a label
|
|
272
|
+
*
|
|
273
|
+
* @generated from rpc Scailo.FamiliesService.ApproveLabel
|
|
274
|
+
*/
|
|
275
|
+
readonly approveLabel: {
|
|
276
|
+
readonly name: "ApproveLabel";
|
|
277
|
+
readonly I: typeof IdentifierWithUserComment;
|
|
278
|
+
readonly O: typeof IdentifierResponse;
|
|
279
|
+
readonly kind: MethodKind.Unary;
|
|
280
|
+
};
|
|
281
|
+
/**
|
|
282
|
+
* Delete a label
|
|
283
|
+
*
|
|
284
|
+
* @generated from rpc Scailo.FamiliesService.DeleteLabel
|
|
285
|
+
*/
|
|
286
|
+
readonly deleteLabel: {
|
|
287
|
+
readonly name: "DeleteLabel";
|
|
288
|
+
readonly I: typeof IdentifierWithUserComment;
|
|
289
|
+
readonly O: typeof IdentifierResponse;
|
|
290
|
+
readonly kind: MethodKind.Unary;
|
|
291
|
+
};
|
|
292
|
+
/**
|
|
293
|
+
* View a label for the given ID
|
|
294
|
+
*
|
|
295
|
+
* @generated from rpc Scailo.FamiliesService.ViewLabelByID
|
|
296
|
+
*/
|
|
297
|
+
readonly viewLabelByID: {
|
|
298
|
+
readonly name: "ViewLabelByID";
|
|
299
|
+
readonly I: typeof Identifier;
|
|
300
|
+
readonly O: typeof FamilyLabel;
|
|
301
|
+
readonly kind: MethodKind.Unary;
|
|
302
|
+
};
|
|
303
|
+
/**
|
|
304
|
+
* View all labels for given family ID
|
|
305
|
+
*
|
|
306
|
+
* @generated from rpc Scailo.FamiliesService.ViewLabels
|
|
307
|
+
*/
|
|
308
|
+
readonly viewLabels: {
|
|
309
|
+
readonly name: "ViewLabels";
|
|
310
|
+
readonly I: typeof Identifier;
|
|
311
|
+
readonly O: typeof FamilyLabelsList;
|
|
312
|
+
readonly kind: MethodKind.Unary;
|
|
313
|
+
};
|
|
237
314
|
/**
|
|
238
315
|
* Add a unit conversion
|
|
239
316
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"families.scailo_connect.d.ts","sourceRoot":"","sources":["../../../../src/families.scailo_connect.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,YAAY,EAAE,uBAAuB,EAAE,4BAA4B,EAAE,wBAAwB,EAAE,4BAA4B,EAAE,iCAAiC,EAAE,mCAAmC,EAAE,2BAA2B,EAAE,mCAAmC,EAAE,0CAA0C,EAAE,4CAA4C,EAAE,4BAA4B,EAAE,MAAM,EAAE,aAAa,EAAE,kBAAkB,EAAE,aAAa,EAAE,kBAAkB,EAAE,eAAe,EAAE,oBAAoB,EAAE,yBAAyB,EAAE,MAAM,yBAAyB,CAAC;
|
|
1
|
+
{"version":3,"file":"families.scailo_connect.d.ts","sourceRoot":"","sources":["../../../../src/families.scailo_connect.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,YAAY,EAAE,iCAAiC,EAAE,uBAAuB,EAAE,4BAA4B,EAAE,wBAAwB,EAAE,iCAAiC,EAAE,4BAA4B,EAAE,iCAAiC,EAAE,mCAAmC,EAAE,2BAA2B,EAAE,mCAAmC,EAAE,0CAA0C,EAAE,4CAA4C,EAAE,4BAA4B,EAAE,MAAM,EAAE,WAAW,EAAE,gBAAgB,EAAE,aAAa,EAAE,kBAAkB,EAAE,aAAa,EAAE,kBAAkB,EAAE,eAAe,EAAE,oBAAoB,EAAE,yBAAyB,EAAE,MAAM,yBAAyB,CAAC;AAC7pB,OAAO,EAAE,YAAY,EAAE,iBAAiB,EAAE,uBAAuB,EAAE,aAAa,EAAE,UAAU,EAAE,kBAAkB,EAAE,eAAe,EAAE,cAAc,EAAE,mBAAmB,EAAE,6BAA6B,EAAE,yBAAyB,EAAE,eAAe,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAC7R,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAEhD;;;;;GAKG;AACH,eAAO,MAAM,eAAe;;;QAGxB;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;;;;WAOG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;;WAKG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;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;;;;;;;;CAQG,CAAC"}
|