@kernelminds/scailo-sdk 0.1.18 → 0.1.20
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 +77 -0
- package/lib/cjs/src/families.scailo_pb.js +238 -1
- package/lib/cjs/types/src/families.scailo_connect.d.ts +78 -1
- package/lib/cjs/types/src/families.scailo_connect.d.ts.map +1 -1
- package/lib/cjs/types/src/families.scailo_pb.d.ts +178 -0
- package/lib/cjs/types/src/families.scailo_pb.d.ts.map +1 -1
- package/lib/esm/src/families.scailo_connect.js +77 -0
- package/lib/esm/src/families.scailo_pb.js +250 -1
- package/lib/esm/types/src/families.scailo_connect.d.ts +78 -1
- package/lib/esm/types/src/families.scailo_connect.d.ts.map +1 -1
- package/lib/esm/types/src/families.scailo_pb.d.ts +178 -0
- package/lib/esm/types/src/families.scailo_pb.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -472,6 +472,83 @@ exports.FamiliesService = {
|
|
|
472
472
|
O: families_scailo_pb_js_1.FamilyQCGroupsList,
|
|
473
473
|
kind: protobuf_1.MethodKind.Unary,
|
|
474
474
|
},
|
|
475
|
+
/**
|
|
476
|
+
* Add a image
|
|
477
|
+
*
|
|
478
|
+
* @generated from rpc Scailo.FamiliesService.AddImage
|
|
479
|
+
*/
|
|
480
|
+
addImage: {
|
|
481
|
+
name: "AddImage",
|
|
482
|
+
I: families_scailo_pb_js_1.FamiliesServiceImageCreateRequest,
|
|
483
|
+
O: base_scailo_pb_js_1.IdentifierResponse,
|
|
484
|
+
kind: protobuf_1.MethodKind.Unary,
|
|
485
|
+
},
|
|
486
|
+
/**
|
|
487
|
+
* Modify an item in a sales order
|
|
488
|
+
*
|
|
489
|
+
* @generated from rpc Scailo.FamiliesService.UpdateImage
|
|
490
|
+
*/
|
|
491
|
+
updateImage: {
|
|
492
|
+
name: "UpdateImage",
|
|
493
|
+
I: families_scailo_pb_js_1.FamiliesServiceImageUpdateRequest,
|
|
494
|
+
O: base_scailo_pb_js_1.IdentifierResponse,
|
|
495
|
+
kind: protobuf_1.MethodKind.Unary,
|
|
496
|
+
},
|
|
497
|
+
/**
|
|
498
|
+
* Approve a image
|
|
499
|
+
*
|
|
500
|
+
* @generated from rpc Scailo.FamiliesService.ApproveImage
|
|
501
|
+
*/
|
|
502
|
+
approveImage: {
|
|
503
|
+
name: "ApproveImage",
|
|
504
|
+
I: base_scailo_pb_js_1.IdentifierWithUserComment,
|
|
505
|
+
O: base_scailo_pb_js_1.IdentifierResponse,
|
|
506
|
+
kind: protobuf_1.MethodKind.Unary,
|
|
507
|
+
},
|
|
508
|
+
/**
|
|
509
|
+
* Delete a image
|
|
510
|
+
*
|
|
511
|
+
* @generated from rpc Scailo.FamiliesService.DeleteImage
|
|
512
|
+
*/
|
|
513
|
+
deleteImage: {
|
|
514
|
+
name: "DeleteImage",
|
|
515
|
+
I: base_scailo_pb_js_1.IdentifierWithUserComment,
|
|
516
|
+
O: base_scailo_pb_js_1.IdentifierResponse,
|
|
517
|
+
kind: protobuf_1.MethodKind.Unary,
|
|
518
|
+
},
|
|
519
|
+
/**
|
|
520
|
+
* View a image for the given ID
|
|
521
|
+
*
|
|
522
|
+
* @generated from rpc Scailo.FamiliesService.ViewImageByID
|
|
523
|
+
*/
|
|
524
|
+
viewImageByID: {
|
|
525
|
+
name: "ViewImageByID",
|
|
526
|
+
I: base_scailo_pb_js_1.Identifier,
|
|
527
|
+
O: families_scailo_pb_js_1.FamilyImage,
|
|
528
|
+
kind: protobuf_1.MethodKind.Unary,
|
|
529
|
+
},
|
|
530
|
+
/**
|
|
531
|
+
* View all images for given family ID
|
|
532
|
+
*
|
|
533
|
+
* @generated from rpc Scailo.FamiliesService.ViewImages
|
|
534
|
+
*/
|
|
535
|
+
viewImages: {
|
|
536
|
+
name: "ViewImages",
|
|
537
|
+
I: base_scailo_pb_js_1.Identifier,
|
|
538
|
+
O: families_scailo_pb_js_1.FamilyImagesList,
|
|
539
|
+
kind: protobuf_1.MethodKind.Unary,
|
|
540
|
+
},
|
|
541
|
+
/**
|
|
542
|
+
* View public images for given family ID
|
|
543
|
+
*
|
|
544
|
+
* @generated from rpc Scailo.FamiliesService.ViewPublicImages
|
|
545
|
+
*/
|
|
546
|
+
viewPublicImages: {
|
|
547
|
+
name: "ViewPublicImages",
|
|
548
|
+
I: base_scailo_pb_js_1.Identifier,
|
|
549
|
+
O: families_scailo_pb_js_1.FamilyImagesList,
|
|
550
|
+
kind: protobuf_1.MethodKind.Unary,
|
|
551
|
+
},
|
|
475
552
|
/**
|
|
476
553
|
* View by ID
|
|
477
554
|
*
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
/* eslint-disable */
|
|
5
5
|
// @ts-nocheck
|
|
6
6
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
-
exports.FamiliesServiceUpdateMinStockToMaintainRequest = exports.FamiliesServiceUpdatePriceRequest = 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.FilterFamiliesReqForIdentifier = 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.FamiliesServiceUpdateMinStockToMaintainRequest = exports.FamiliesServiceUpdatePriceRequest = exports.FamilyImagesList = exports.FamilyImage = exports.FamiliesServiceImageUpdateRequest = exports.FamiliesServiceImageCreateRequest = 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.FilterFamiliesReqForIdentifier = 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 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");
|
|
@@ -2249,6 +2249,243 @@ FamilyQCGroupsList.typeName = "Scailo.FamilyQCGroupsList";
|
|
|
2249
2249
|
FamilyQCGroupsList.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
2250
2250
|
{ no: 1, name: "list", kind: "message", T: FamilyQCGroup, repeated: true },
|
|
2251
2251
|
]);
|
|
2252
|
+
/**
|
|
2253
|
+
*
|
|
2254
|
+
* Describes the parameters necessary to create a family image
|
|
2255
|
+
*
|
|
2256
|
+
* @generated from message Scailo.FamiliesServiceImageCreateRequest
|
|
2257
|
+
*/
|
|
2258
|
+
class FamiliesServiceImageCreateRequest extends protobuf_1.Message {
|
|
2259
|
+
constructor(data) {
|
|
2260
|
+
super();
|
|
2261
|
+
/**
|
|
2262
|
+
* Stores any comment that the user might add during this operation
|
|
2263
|
+
*
|
|
2264
|
+
* @generated from field: string user_comment = 1;
|
|
2265
|
+
*/
|
|
2266
|
+
this.userComment = "";
|
|
2267
|
+
/**
|
|
2268
|
+
* Stores the family ID
|
|
2269
|
+
*
|
|
2270
|
+
* @generated from field: uint64 family_id = 10;
|
|
2271
|
+
*/
|
|
2272
|
+
this.familyId = protobuf_1.protoInt64.zero;
|
|
2273
|
+
/**
|
|
2274
|
+
* Stores the vault file ID
|
|
2275
|
+
*
|
|
2276
|
+
* @generated from field: uint64 vault_file_id = 11;
|
|
2277
|
+
*/
|
|
2278
|
+
this.vaultFileId = protobuf_1.protoInt64.zero;
|
|
2279
|
+
/**
|
|
2280
|
+
* Denotes if the image is public
|
|
2281
|
+
*
|
|
2282
|
+
* @generated from field: bool is_public = 12;
|
|
2283
|
+
*/
|
|
2284
|
+
this.isPublic = false;
|
|
2285
|
+
/**
|
|
2286
|
+
* Stores the sequence number
|
|
2287
|
+
*
|
|
2288
|
+
* @generated from field: uint64 sequence_number = 13;
|
|
2289
|
+
*/
|
|
2290
|
+
this.sequenceNumber = protobuf_1.protoInt64.zero;
|
|
2291
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
2292
|
+
}
|
|
2293
|
+
static fromBinary(bytes, options) {
|
|
2294
|
+
return new FamiliesServiceImageCreateRequest().fromBinary(bytes, options);
|
|
2295
|
+
}
|
|
2296
|
+
static fromJson(jsonValue, options) {
|
|
2297
|
+
return new FamiliesServiceImageCreateRequest().fromJson(jsonValue, options);
|
|
2298
|
+
}
|
|
2299
|
+
static fromJsonString(jsonString, options) {
|
|
2300
|
+
return new FamiliesServiceImageCreateRequest().fromJsonString(jsonString, options);
|
|
2301
|
+
}
|
|
2302
|
+
static equals(a, b) {
|
|
2303
|
+
return protobuf_1.proto3.util.equals(FamiliesServiceImageCreateRequest, a, b);
|
|
2304
|
+
}
|
|
2305
|
+
}
|
|
2306
|
+
exports.FamiliesServiceImageCreateRequest = FamiliesServiceImageCreateRequest;
|
|
2307
|
+
FamiliesServiceImageCreateRequest.runtime = protobuf_1.proto3;
|
|
2308
|
+
FamiliesServiceImageCreateRequest.typeName = "Scailo.FamiliesServiceImageCreateRequest";
|
|
2309
|
+
FamiliesServiceImageCreateRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
2310
|
+
{ no: 1, name: "user_comment", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
2311
|
+
{ no: 10, name: "family_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
2312
|
+
{ no: 11, name: "vault_file_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
2313
|
+
{ no: 12, name: "is_public", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
2314
|
+
{ no: 13, name: "sequence_number", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
2315
|
+
]);
|
|
2316
|
+
/**
|
|
2317
|
+
*
|
|
2318
|
+
* Describes the parameters necessary to update a family image
|
|
2319
|
+
*
|
|
2320
|
+
* @generated from message Scailo.FamiliesServiceImageUpdateRequest
|
|
2321
|
+
*/
|
|
2322
|
+
class FamiliesServiceImageUpdateRequest extends protobuf_1.Message {
|
|
2323
|
+
constructor(data) {
|
|
2324
|
+
super();
|
|
2325
|
+
/**
|
|
2326
|
+
* Stores any comment that the user might add during this operation
|
|
2327
|
+
*
|
|
2328
|
+
* @generated from field: string user_comment = 1;
|
|
2329
|
+
*/
|
|
2330
|
+
this.userComment = "";
|
|
2331
|
+
/**
|
|
2332
|
+
* The ID of the record
|
|
2333
|
+
*
|
|
2334
|
+
* @generated from field: uint64 id = 2;
|
|
2335
|
+
*/
|
|
2336
|
+
this.id = protobuf_1.protoInt64.zero;
|
|
2337
|
+
/**
|
|
2338
|
+
* Denotes if the image is public
|
|
2339
|
+
*
|
|
2340
|
+
* @generated from field: bool is_public = 12;
|
|
2341
|
+
*/
|
|
2342
|
+
this.isPublic = false;
|
|
2343
|
+
/**
|
|
2344
|
+
* Stores the sequence number
|
|
2345
|
+
*
|
|
2346
|
+
* @generated from field: uint64 sequence_number = 13;
|
|
2347
|
+
*/
|
|
2348
|
+
this.sequenceNumber = protobuf_1.protoInt64.zero;
|
|
2349
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
2350
|
+
}
|
|
2351
|
+
static fromBinary(bytes, options) {
|
|
2352
|
+
return new FamiliesServiceImageUpdateRequest().fromBinary(bytes, options);
|
|
2353
|
+
}
|
|
2354
|
+
static fromJson(jsonValue, options) {
|
|
2355
|
+
return new FamiliesServiceImageUpdateRequest().fromJson(jsonValue, options);
|
|
2356
|
+
}
|
|
2357
|
+
static fromJsonString(jsonString, options) {
|
|
2358
|
+
return new FamiliesServiceImageUpdateRequest().fromJsonString(jsonString, options);
|
|
2359
|
+
}
|
|
2360
|
+
static equals(a, b) {
|
|
2361
|
+
return protobuf_1.proto3.util.equals(FamiliesServiceImageUpdateRequest, a, b);
|
|
2362
|
+
}
|
|
2363
|
+
}
|
|
2364
|
+
exports.FamiliesServiceImageUpdateRequest = FamiliesServiceImageUpdateRequest;
|
|
2365
|
+
FamiliesServiceImageUpdateRequest.runtime = protobuf_1.proto3;
|
|
2366
|
+
FamiliesServiceImageUpdateRequest.typeName = "Scailo.FamiliesServiceImageUpdateRequest";
|
|
2367
|
+
FamiliesServiceImageUpdateRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
2368
|
+
{ no: 1, name: "user_comment", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
2369
|
+
{ no: 2, name: "id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
2370
|
+
{ no: 12, name: "is_public", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
2371
|
+
{ no: 13, name: "sequence_number", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
2372
|
+
]);
|
|
2373
|
+
/**
|
|
2374
|
+
*
|
|
2375
|
+
* Describes the parameters that constitute a family image
|
|
2376
|
+
*
|
|
2377
|
+
* @generated from message Scailo.FamilyImage
|
|
2378
|
+
*/
|
|
2379
|
+
class FamilyImage extends protobuf_1.Message {
|
|
2380
|
+
constructor(data) {
|
|
2381
|
+
super();
|
|
2382
|
+
/**
|
|
2383
|
+
* Stores a globally unique entity UUID. This will be set at the organization level
|
|
2384
|
+
*
|
|
2385
|
+
* @generated from field: string entity_uuid = 1;
|
|
2386
|
+
*/
|
|
2387
|
+
this.entityUuid = "";
|
|
2388
|
+
/**
|
|
2389
|
+
* Denotes if this record requires approval (or has been approved)
|
|
2390
|
+
*
|
|
2391
|
+
* @generated from field: bool need_approval = 4;
|
|
2392
|
+
*/
|
|
2393
|
+
this.needApproval = false;
|
|
2394
|
+
/**
|
|
2395
|
+
* Stores any comment that the user might have added during an operation
|
|
2396
|
+
*
|
|
2397
|
+
* @generated from field: string user_comment = 5;
|
|
2398
|
+
*/
|
|
2399
|
+
this.userComment = "";
|
|
2400
|
+
/**
|
|
2401
|
+
* Stores the family ID
|
|
2402
|
+
*
|
|
2403
|
+
* @generated from field: uint64 family_id = 10;
|
|
2404
|
+
*/
|
|
2405
|
+
this.familyId = protobuf_1.protoInt64.zero;
|
|
2406
|
+
/**
|
|
2407
|
+
* Stores the vault file ID
|
|
2408
|
+
*
|
|
2409
|
+
* @generated from field: uint64 vault_file_id = 11;
|
|
2410
|
+
*/
|
|
2411
|
+
this.vaultFileId = protobuf_1.protoInt64.zero;
|
|
2412
|
+
/**
|
|
2413
|
+
* Denotes if the image is public
|
|
2414
|
+
*
|
|
2415
|
+
* @generated from field: bool is_public = 12;
|
|
2416
|
+
*/
|
|
2417
|
+
this.isPublic = false;
|
|
2418
|
+
/**
|
|
2419
|
+
* Stores the sequence number
|
|
2420
|
+
*
|
|
2421
|
+
* @generated from field: uint64 sequence_number = 13;
|
|
2422
|
+
*/
|
|
2423
|
+
this.sequenceNumber = protobuf_1.protoInt64.zero;
|
|
2424
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
2425
|
+
}
|
|
2426
|
+
static fromBinary(bytes, options) {
|
|
2427
|
+
return new FamilyImage().fromBinary(bytes, options);
|
|
2428
|
+
}
|
|
2429
|
+
static fromJson(jsonValue, options) {
|
|
2430
|
+
return new FamilyImage().fromJson(jsonValue, options);
|
|
2431
|
+
}
|
|
2432
|
+
static fromJsonString(jsonString, options) {
|
|
2433
|
+
return new FamilyImage().fromJsonString(jsonString, options);
|
|
2434
|
+
}
|
|
2435
|
+
static equals(a, b) {
|
|
2436
|
+
return protobuf_1.proto3.util.equals(FamilyImage, a, b);
|
|
2437
|
+
}
|
|
2438
|
+
}
|
|
2439
|
+
exports.FamilyImage = FamilyImage;
|
|
2440
|
+
FamilyImage.runtime = protobuf_1.proto3;
|
|
2441
|
+
FamilyImage.typeName = "Scailo.FamilyImage";
|
|
2442
|
+
FamilyImage.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
2443
|
+
{ no: 1, name: "entity_uuid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
2444
|
+
{ no: 2, name: "metadata", kind: "message", T: base_scailo_pb_js_1.EmployeeMetadata },
|
|
2445
|
+
{ no: 3, name: "approval_metadata", kind: "message", T: base_scailo_pb_js_1.ApprovalMetadata },
|
|
2446
|
+
{ no: 4, name: "need_approval", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
2447
|
+
{ no: 5, name: "user_comment", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
2448
|
+
{ no: 10, name: "family_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
2449
|
+
{ no: 11, name: "vault_file_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
2450
|
+
{ no: 12, name: "is_public", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
2451
|
+
{ no: 13, name: "sequence_number", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
2452
|
+
]);
|
|
2453
|
+
/**
|
|
2454
|
+
*
|
|
2455
|
+
* Describes the message consisting of the list of family images
|
|
2456
|
+
*
|
|
2457
|
+
* @generated from message Scailo.FamilyImagesList
|
|
2458
|
+
*/
|
|
2459
|
+
class FamilyImagesList extends protobuf_1.Message {
|
|
2460
|
+
constructor(data) {
|
|
2461
|
+
super();
|
|
2462
|
+
/**
|
|
2463
|
+
* List of records
|
|
2464
|
+
*
|
|
2465
|
+
* @generated from field: repeated Scailo.FamilyImage list = 1;
|
|
2466
|
+
*/
|
|
2467
|
+
this.list = [];
|
|
2468
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
2469
|
+
}
|
|
2470
|
+
static fromBinary(bytes, options) {
|
|
2471
|
+
return new FamilyImagesList().fromBinary(bytes, options);
|
|
2472
|
+
}
|
|
2473
|
+
static fromJson(jsonValue, options) {
|
|
2474
|
+
return new FamilyImagesList().fromJson(jsonValue, options);
|
|
2475
|
+
}
|
|
2476
|
+
static fromJsonString(jsonString, options) {
|
|
2477
|
+
return new FamilyImagesList().fromJsonString(jsonString, options);
|
|
2478
|
+
}
|
|
2479
|
+
static equals(a, b) {
|
|
2480
|
+
return protobuf_1.proto3.util.equals(FamilyImagesList, a, b);
|
|
2481
|
+
}
|
|
2482
|
+
}
|
|
2483
|
+
exports.FamilyImagesList = FamilyImagesList;
|
|
2484
|
+
FamilyImagesList.runtime = protobuf_1.proto3;
|
|
2485
|
+
FamilyImagesList.typeName = "Scailo.FamilyImagesList";
|
|
2486
|
+
FamilyImagesList.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
2487
|
+
{ no: 1, name: "list", kind: "message", T: FamilyImage, repeated: true },
|
|
2488
|
+
]);
|
|
2252
2489
|
/**
|
|
2253
2490
|
*
|
|
2254
2491
|
* Describes the parameters necessary to update a family's price
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { FamiliesList, FamiliesServiceCountReq, FamiliesServiceCreateRequest, FamiliesServiceFilterReq, FamiliesServiceLabelCreateRequest, FamiliesServicePaginationReq, FamiliesServicePaginationResponse, FamiliesServiceQCGroupCreateRequest, FamiliesServiceSearchAllReq, FamiliesServiceStorageCreateRequest, FamiliesServiceUnitConversionCreateRequest, FamiliesServiceUnitConversionPresenceRequest, FamiliesServiceUpdateMinStockToMaintainRequest, FamiliesServiceUpdatePriceRequest, FamiliesServiceUpdateRequest, Family, FamilyLabel, FamilyLabelsList, FamilyQCGroup, FamilyQCGroupsList, FamilyStorage, FamilyStoragesList, FamilyTypesList, FamilyUnitConversion, FamilyUnitConversionsList } from "./families.scailo_pb.js";
|
|
1
|
+
import { FamiliesList, FamiliesServiceCountReq, FamiliesServiceCreateRequest, FamiliesServiceFilterReq, FamiliesServiceImageCreateRequest, FamiliesServiceImageUpdateRequest, FamiliesServiceLabelCreateRequest, FamiliesServicePaginationReq, FamiliesServicePaginationResponse, FamiliesServiceQCGroupCreateRequest, FamiliesServiceSearchAllReq, FamiliesServiceStorageCreateRequest, FamiliesServiceUnitConversionCreateRequest, FamiliesServiceUnitConversionPresenceRequest, FamiliesServiceUpdateMinStockToMaintainRequest, FamiliesServiceUpdatePriceRequest, FamiliesServiceUpdateRequest, Family, FamilyImage, FamilyImagesList, FamilyLabel, FamilyLabelsList, FamilyQCGroup, FamilyQCGroupsList, FamilyStorage, FamilyStoragesList, FamilyTypesList, FamilyUnitConversion, FamilyUnitConversionsList } from "./families.scailo_pb.js";
|
|
2
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
|
/**
|
|
@@ -465,6 +465,83 @@ export declare const FamiliesService: {
|
|
|
465
465
|
readonly O: typeof FamilyQCGroupsList;
|
|
466
466
|
readonly kind: MethodKind.Unary;
|
|
467
467
|
};
|
|
468
|
+
/**
|
|
469
|
+
* Add a image
|
|
470
|
+
*
|
|
471
|
+
* @generated from rpc Scailo.FamiliesService.AddImage
|
|
472
|
+
*/
|
|
473
|
+
readonly addImage: {
|
|
474
|
+
readonly name: "AddImage";
|
|
475
|
+
readonly I: typeof FamiliesServiceImageCreateRequest;
|
|
476
|
+
readonly O: typeof IdentifierResponse;
|
|
477
|
+
readonly kind: MethodKind.Unary;
|
|
478
|
+
};
|
|
479
|
+
/**
|
|
480
|
+
* Modify an item in a sales order
|
|
481
|
+
*
|
|
482
|
+
* @generated from rpc Scailo.FamiliesService.UpdateImage
|
|
483
|
+
*/
|
|
484
|
+
readonly updateImage: {
|
|
485
|
+
readonly name: "UpdateImage";
|
|
486
|
+
readonly I: typeof FamiliesServiceImageUpdateRequest;
|
|
487
|
+
readonly O: typeof IdentifierResponse;
|
|
488
|
+
readonly kind: MethodKind.Unary;
|
|
489
|
+
};
|
|
490
|
+
/**
|
|
491
|
+
* Approve a image
|
|
492
|
+
*
|
|
493
|
+
* @generated from rpc Scailo.FamiliesService.ApproveImage
|
|
494
|
+
*/
|
|
495
|
+
readonly approveImage: {
|
|
496
|
+
readonly name: "ApproveImage";
|
|
497
|
+
readonly I: typeof IdentifierWithUserComment;
|
|
498
|
+
readonly O: typeof IdentifierResponse;
|
|
499
|
+
readonly kind: MethodKind.Unary;
|
|
500
|
+
};
|
|
501
|
+
/**
|
|
502
|
+
* Delete a image
|
|
503
|
+
*
|
|
504
|
+
* @generated from rpc Scailo.FamiliesService.DeleteImage
|
|
505
|
+
*/
|
|
506
|
+
readonly deleteImage: {
|
|
507
|
+
readonly name: "DeleteImage";
|
|
508
|
+
readonly I: typeof IdentifierWithUserComment;
|
|
509
|
+
readonly O: typeof IdentifierResponse;
|
|
510
|
+
readonly kind: MethodKind.Unary;
|
|
511
|
+
};
|
|
512
|
+
/**
|
|
513
|
+
* View a image for the given ID
|
|
514
|
+
*
|
|
515
|
+
* @generated from rpc Scailo.FamiliesService.ViewImageByID
|
|
516
|
+
*/
|
|
517
|
+
readonly viewImageByID: {
|
|
518
|
+
readonly name: "ViewImageByID";
|
|
519
|
+
readonly I: typeof Identifier;
|
|
520
|
+
readonly O: typeof FamilyImage;
|
|
521
|
+
readonly kind: MethodKind.Unary;
|
|
522
|
+
};
|
|
523
|
+
/**
|
|
524
|
+
* View all images for given family ID
|
|
525
|
+
*
|
|
526
|
+
* @generated from rpc Scailo.FamiliesService.ViewImages
|
|
527
|
+
*/
|
|
528
|
+
readonly viewImages: {
|
|
529
|
+
readonly name: "ViewImages";
|
|
530
|
+
readonly I: typeof Identifier;
|
|
531
|
+
readonly O: typeof FamilyImagesList;
|
|
532
|
+
readonly kind: MethodKind.Unary;
|
|
533
|
+
};
|
|
534
|
+
/**
|
|
535
|
+
* View public images for given family ID
|
|
536
|
+
*
|
|
537
|
+
* @generated from rpc Scailo.FamiliesService.ViewPublicImages
|
|
538
|
+
*/
|
|
539
|
+
readonly viewPublicImages: {
|
|
540
|
+
readonly name: "ViewPublicImages";
|
|
541
|
+
readonly I: typeof Identifier;
|
|
542
|
+
readonly O: typeof FamilyImagesList;
|
|
543
|
+
readonly kind: MethodKind.Unary;
|
|
544
|
+
};
|
|
468
545
|
/**
|
|
469
546
|
* View by ID
|
|
470
547
|
*
|
|
@@ -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,iCAAiC,EAAE,4BAA4B,EAAE,iCAAiC,EAAE,mCAAmC,EAAE,2BAA2B,EAAE,mCAAmC,EAAE,0CAA0C,EAAE,4CAA4C,EAAE,8CAA8C,EAAE,iCAAiC,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;
|
|
1
|
+
{"version":3,"file":"families.scailo_connect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are class FamilyQCGroupsList extends Message<FamilyQCGroupsList> {
|
|
|
1760
1760
|
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FamilyQCGroupsList;
|
|
1761
1761
|
static equals(a: FamilyQCGroupsList | PlainMessage<FamilyQCGroupsList> | undefined, b: FamilyQCGroupsList | PlainMessage<FamilyQCGroupsList> | undefined): boolean;
|
|
1762
1762
|
}
|
|
1763
|
+
/**
|
|
1764
|
+
*
|
|
1765
|
+
* Describes the parameters necessary to create a family image
|
|
1766
|
+
*
|
|
1767
|
+
* @generated from message Scailo.FamiliesServiceImageCreateRequest
|
|
1768
|
+
*/
|
|
1769
|
+
export declare class FamiliesServiceImageCreateRequest extends Message<FamiliesServiceImageCreateRequest> {
|
|
1770
|
+
/**
|
|
1771
|
+
* Stores any comment that the user might add during this operation
|
|
1772
|
+
*
|
|
1773
|
+
* @generated from field: string user_comment = 1;
|
|
1774
|
+
*/
|
|
1775
|
+
userComment: string;
|
|
1776
|
+
/**
|
|
1777
|
+
* Stores the family ID
|
|
1778
|
+
*
|
|
1779
|
+
* @generated from field: uint64 family_id = 10;
|
|
1780
|
+
*/
|
|
1781
|
+
familyId: bigint;
|
|
1782
|
+
/**
|
|
1783
|
+
* Stores the vault file ID
|
|
1784
|
+
*
|
|
1785
|
+
* @generated from field: uint64 vault_file_id = 11;
|
|
1786
|
+
*/
|
|
1787
|
+
vaultFileId: bigint;
|
|
1788
|
+
/**
|
|
1789
|
+
* Denotes if the image is public
|
|
1790
|
+
*
|
|
1791
|
+
* @generated from field: bool is_public = 12;
|
|
1792
|
+
*/
|
|
1793
|
+
isPublic: boolean;
|
|
1794
|
+
/**
|
|
1795
|
+
* Stores the sequence number
|
|
1796
|
+
*
|
|
1797
|
+
* @generated from field: uint64 sequence_number = 13;
|
|
1798
|
+
*/
|
|
1799
|
+
sequenceNumber: bigint;
|
|
1800
|
+
constructor(data?: PartialMessage<FamiliesServiceImageCreateRequest>);
|
|
1801
|
+
static readonly runtime: typeof proto3;
|
|
1802
|
+
static readonly typeName = "Scailo.FamiliesServiceImageCreateRequest";
|
|
1803
|
+
static readonly fields: FieldList;
|
|
1804
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FamiliesServiceImageCreateRequest;
|
|
1805
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FamiliesServiceImageCreateRequest;
|
|
1806
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FamiliesServiceImageCreateRequest;
|
|
1807
|
+
static equals(a: FamiliesServiceImageCreateRequest | PlainMessage<FamiliesServiceImageCreateRequest> | undefined, b: FamiliesServiceImageCreateRequest | PlainMessage<FamiliesServiceImageCreateRequest> | undefined): boolean;
|
|
1808
|
+
}
|
|
1809
|
+
/**
|
|
1810
|
+
*
|
|
1811
|
+
* Describes the parameters necessary to update a family image
|
|
1812
|
+
*
|
|
1813
|
+
* @generated from message Scailo.FamiliesServiceImageUpdateRequest
|
|
1814
|
+
*/
|
|
1815
|
+
export declare class FamiliesServiceImageUpdateRequest extends Message<FamiliesServiceImageUpdateRequest> {
|
|
1816
|
+
/**
|
|
1817
|
+
* Stores any comment that the user might add during this operation
|
|
1818
|
+
*
|
|
1819
|
+
* @generated from field: string user_comment = 1;
|
|
1820
|
+
*/
|
|
1821
|
+
userComment: string;
|
|
1822
|
+
/**
|
|
1823
|
+
* The ID of the record
|
|
1824
|
+
*
|
|
1825
|
+
* @generated from field: uint64 id = 2;
|
|
1826
|
+
*/
|
|
1827
|
+
id: bigint;
|
|
1828
|
+
/**
|
|
1829
|
+
* Denotes if the image is public
|
|
1830
|
+
*
|
|
1831
|
+
* @generated from field: bool is_public = 12;
|
|
1832
|
+
*/
|
|
1833
|
+
isPublic: boolean;
|
|
1834
|
+
/**
|
|
1835
|
+
* Stores the sequence number
|
|
1836
|
+
*
|
|
1837
|
+
* @generated from field: uint64 sequence_number = 13;
|
|
1838
|
+
*/
|
|
1839
|
+
sequenceNumber: bigint;
|
|
1840
|
+
constructor(data?: PartialMessage<FamiliesServiceImageUpdateRequest>);
|
|
1841
|
+
static readonly runtime: typeof proto3;
|
|
1842
|
+
static readonly typeName = "Scailo.FamiliesServiceImageUpdateRequest";
|
|
1843
|
+
static readonly fields: FieldList;
|
|
1844
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FamiliesServiceImageUpdateRequest;
|
|
1845
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FamiliesServiceImageUpdateRequest;
|
|
1846
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FamiliesServiceImageUpdateRequest;
|
|
1847
|
+
static equals(a: FamiliesServiceImageUpdateRequest | PlainMessage<FamiliesServiceImageUpdateRequest> | undefined, b: FamiliesServiceImageUpdateRequest | PlainMessage<FamiliesServiceImageUpdateRequest> | undefined): boolean;
|
|
1848
|
+
}
|
|
1849
|
+
/**
|
|
1850
|
+
*
|
|
1851
|
+
* Describes the parameters that constitute a family image
|
|
1852
|
+
*
|
|
1853
|
+
* @generated from message Scailo.FamilyImage
|
|
1854
|
+
*/
|
|
1855
|
+
export declare class FamilyImage extends Message<FamilyImage> {
|
|
1856
|
+
/**
|
|
1857
|
+
* Stores a globally unique entity UUID. This will be set at the organization level
|
|
1858
|
+
*
|
|
1859
|
+
* @generated from field: string entity_uuid = 1;
|
|
1860
|
+
*/
|
|
1861
|
+
entityUuid: string;
|
|
1862
|
+
/**
|
|
1863
|
+
* Stores the metadata of this family
|
|
1864
|
+
*
|
|
1865
|
+
* @generated from field: Scailo.EmployeeMetadata metadata = 2;
|
|
1866
|
+
*/
|
|
1867
|
+
metadata?: EmployeeMetadata;
|
|
1868
|
+
/**
|
|
1869
|
+
* Stores the approval metadata
|
|
1870
|
+
*
|
|
1871
|
+
* @generated from field: Scailo.ApprovalMetadata approval_metadata = 3;
|
|
1872
|
+
*/
|
|
1873
|
+
approvalMetadata?: ApprovalMetadata;
|
|
1874
|
+
/**
|
|
1875
|
+
* Denotes if this record requires approval (or has been approved)
|
|
1876
|
+
*
|
|
1877
|
+
* @generated from field: bool need_approval = 4;
|
|
1878
|
+
*/
|
|
1879
|
+
needApproval: boolean;
|
|
1880
|
+
/**
|
|
1881
|
+
* Stores any comment that the user might have added during an operation
|
|
1882
|
+
*
|
|
1883
|
+
* @generated from field: string user_comment = 5;
|
|
1884
|
+
*/
|
|
1885
|
+
userComment: string;
|
|
1886
|
+
/**
|
|
1887
|
+
* Stores the family ID
|
|
1888
|
+
*
|
|
1889
|
+
* @generated from field: uint64 family_id = 10;
|
|
1890
|
+
*/
|
|
1891
|
+
familyId: bigint;
|
|
1892
|
+
/**
|
|
1893
|
+
* Stores the vault file ID
|
|
1894
|
+
*
|
|
1895
|
+
* @generated from field: uint64 vault_file_id = 11;
|
|
1896
|
+
*/
|
|
1897
|
+
vaultFileId: bigint;
|
|
1898
|
+
/**
|
|
1899
|
+
* Denotes if the image is public
|
|
1900
|
+
*
|
|
1901
|
+
* @generated from field: bool is_public = 12;
|
|
1902
|
+
*/
|
|
1903
|
+
isPublic: boolean;
|
|
1904
|
+
/**
|
|
1905
|
+
* Stores the sequence number
|
|
1906
|
+
*
|
|
1907
|
+
* @generated from field: uint64 sequence_number = 13;
|
|
1908
|
+
*/
|
|
1909
|
+
sequenceNumber: bigint;
|
|
1910
|
+
constructor(data?: PartialMessage<FamilyImage>);
|
|
1911
|
+
static readonly runtime: typeof proto3;
|
|
1912
|
+
static readonly typeName = "Scailo.FamilyImage";
|
|
1913
|
+
static readonly fields: FieldList;
|
|
1914
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FamilyImage;
|
|
1915
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FamilyImage;
|
|
1916
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FamilyImage;
|
|
1917
|
+
static equals(a: FamilyImage | PlainMessage<FamilyImage> | undefined, b: FamilyImage | PlainMessage<FamilyImage> | undefined): boolean;
|
|
1918
|
+
}
|
|
1919
|
+
/**
|
|
1920
|
+
*
|
|
1921
|
+
* Describes the message consisting of the list of family images
|
|
1922
|
+
*
|
|
1923
|
+
* @generated from message Scailo.FamilyImagesList
|
|
1924
|
+
*/
|
|
1925
|
+
export declare class FamilyImagesList extends Message<FamilyImagesList> {
|
|
1926
|
+
/**
|
|
1927
|
+
* List of records
|
|
1928
|
+
*
|
|
1929
|
+
* @generated from field: repeated Scailo.FamilyImage list = 1;
|
|
1930
|
+
*/
|
|
1931
|
+
list: FamilyImage[];
|
|
1932
|
+
constructor(data?: PartialMessage<FamilyImagesList>);
|
|
1933
|
+
static readonly runtime: typeof proto3;
|
|
1934
|
+
static readonly typeName = "Scailo.FamilyImagesList";
|
|
1935
|
+
static readonly fields: FieldList;
|
|
1936
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FamilyImagesList;
|
|
1937
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FamilyImagesList;
|
|
1938
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FamilyImagesList;
|
|
1939
|
+
static equals(a: FamilyImagesList | PlainMessage<FamilyImagesList> | undefined, b: FamilyImagesList | PlainMessage<FamilyImagesList> | undefined): boolean;
|
|
1940
|
+
}
|
|
1763
1941
|
/**
|
|
1764
1942
|
*
|
|
1765
1943
|
* Describes the parameters necessary to update a family's price
|