@kernelminds/scailo-sdk 0.1.10 → 0.1.11

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.
Files changed (31) hide show
  1. package/lib/cjs/index.js +0 -34
  2. package/lib/cjs/src/families.scailo_connect.js +11 -0
  3. package/lib/cjs/src/vault_commons.scailo_pb.js +69 -5
  4. package/lib/cjs/types/index.d.ts +0 -31
  5. package/lib/cjs/types/index.d.ts.map +1 -1
  6. package/lib/cjs/types/src/families.scailo_connect.d.ts +11 -0
  7. package/lib/cjs/types/src/families.scailo_connect.d.ts.map +1 -1
  8. package/lib/cjs/types/src/vault_commons.scailo_pb.d.ts +49 -3
  9. package/lib/cjs/types/src/vault_commons.scailo_pb.d.ts.map +1 -1
  10. package/lib/esm/index.js +0 -34
  11. package/lib/esm/src/families.scailo_connect.js +11 -0
  12. package/lib/esm/src/vault_commons.scailo_pb.js +69 -5
  13. package/lib/esm/types/index.d.ts +0 -31
  14. package/lib/esm/types/index.d.ts.map +1 -1
  15. package/lib/esm/types/src/families.scailo_connect.d.ts +11 -0
  16. package/lib/esm/types/src/families.scailo_connect.d.ts.map +1 -1
  17. package/lib/esm/types/src/vault_commons.scailo_pb.d.ts +49 -3
  18. package/lib/esm/types/src/vault_commons.scailo_pb.d.ts.map +1 -1
  19. package/package.json +1 -1
  20. package/lib/cjs/src/qc_hubs.scailo_connect.js +0 -244
  21. package/lib/cjs/src/qc_hubs.scailo_pb.js +0 -879
  22. package/lib/cjs/types/src/qc_hubs.scailo_connect.d.ts +0 -238
  23. package/lib/cjs/types/src/qc_hubs.scailo_connect.d.ts.map +0 -1
  24. package/lib/cjs/types/src/qc_hubs.scailo_pb.d.ts +0 -678
  25. package/lib/cjs/types/src/qc_hubs.scailo_pb.d.ts.map +0 -1
  26. package/lib/esm/src/qc_hubs.scailo_connect.js +0 -244
  27. package/lib/esm/src/qc_hubs.scailo_pb.js +0 -891
  28. package/lib/esm/types/src/qc_hubs.scailo_connect.d.ts +0 -238
  29. package/lib/esm/types/src/qc_hubs.scailo_connect.d.ts.map +0 -1
  30. package/lib/esm/types/src/qc_hubs.scailo_pb.d.ts +0 -678
  31. package/lib/esm/types/src/qc_hubs.scailo_pb.d.ts.map +0 -1
@@ -1,891 +0,0 @@
1
- "use strict";
2
- // @generated by protoc-gen-es v1.5.1 with parameter "target=ts"
3
- // @generated from file qc_hubs.scailo.proto (package Scailo, syntax proto3)
4
- /* eslint-disable */
5
- // @ts-nocheck
6
- Object.defineProperty(exports, "__esModule", { value: true });
7
- exports.QCHubsServiceSearchAllReq = exports.QCHubsServiceCountReq = exports.QCHubsServiceFilterReq = exports.QCHubsServicePaginationResponse = exports.QCHubsServicePaginationReq = exports.QCHubsList = exports.QCHub = exports.QCHubsServiceUpdateRequest = exports.QCHubsServiceCreateRequest = exports.QC_HUB_SORT_KEY = void 0;
8
- const protobuf_1 = require("@bufbuild/protobuf");
9
- const base_scailo_pb_js_1 = require("./base.scailo_pb.js");
10
- /**
11
- *
12
- * Describes the available sort keys
13
- *
14
- * @generated from enum Scailo.QC_HUB_SORT_KEY
15
- */
16
- var QC_HUB_SORT_KEY;
17
- (function (QC_HUB_SORT_KEY) {
18
- /**
19
- * Fetch ordered results by id
20
- *
21
- * @generated from enum value: QC_HUB_SORT_KEY_ID_UNSPECIFIED = 0;
22
- */
23
- QC_HUB_SORT_KEY[QC_HUB_SORT_KEY["QC_HUB_SORT_KEY_ID_UNSPECIFIED"] = 0] = "QC_HUB_SORT_KEY_ID_UNSPECIFIED";
24
- /**
25
- * Fetch ordered results by the creation timestamp
26
- *
27
- * @generated from enum value: QC_HUB_SORT_KEY_CREATED_AT = 1;
28
- */
29
- QC_HUB_SORT_KEY[QC_HUB_SORT_KEY["QC_HUB_SORT_KEY_CREATED_AT"] = 1] = "QC_HUB_SORT_KEY_CREATED_AT";
30
- /**
31
- * Fetch ordered results by the modified timestamp
32
- *
33
- * @generated from enum value: QC_HUB_SORT_KEY_MODIFIED_AT = 2;
34
- */
35
- QC_HUB_SORT_KEY[QC_HUB_SORT_KEY["QC_HUB_SORT_KEY_MODIFIED_AT"] = 2] = "QC_HUB_SORT_KEY_MODIFIED_AT";
36
- /**
37
- * Fetch ordered results by the approved on timestamp
38
- *
39
- * @generated from enum value: QC_HUB_SORT_KEY_APPROVED_ON = 3;
40
- */
41
- QC_HUB_SORT_KEY[QC_HUB_SORT_KEY["QC_HUB_SORT_KEY_APPROVED_ON"] = 3] = "QC_HUB_SORT_KEY_APPROVED_ON";
42
- /**
43
- * Fetch ordered results by the approved by field
44
- *
45
- * @generated from enum value: QC_HUB_SORT_KEY_APPROVED_BY = 4;
46
- */
47
- QC_HUB_SORT_KEY[QC_HUB_SORT_KEY["QC_HUB_SORT_KEY_APPROVED_BY"] = 4] = "QC_HUB_SORT_KEY_APPROVED_BY";
48
- /**
49
- * Fetch ordered results by the approver's role ID
50
- *
51
- * @generated from enum value: QC_HUB_SORT_KEY_APPROVER_ROLE_ID = 5;
52
- */
53
- QC_HUB_SORT_KEY[QC_HUB_SORT_KEY["QC_HUB_SORT_KEY_APPROVER_ROLE_ID"] = 5] = "QC_HUB_SORT_KEY_APPROVER_ROLE_ID";
54
- /**
55
- * Fetch ordered results by the name
56
- *
57
- * @generated from enum value: QC_HUB_SORT_KEY_NAME = 10;
58
- */
59
- QC_HUB_SORT_KEY[QC_HUB_SORT_KEY["QC_HUB_SORT_KEY_NAME"] = 10] = "QC_HUB_SORT_KEY_NAME";
60
- /**
61
- * Fetch ordered results by the code
62
- *
63
- * @generated from enum value: QC_HUB_SORT_KEY_CODE = 11;
64
- */
65
- QC_HUB_SORT_KEY[QC_HUB_SORT_KEY["QC_HUB_SORT_KEY_CODE"] = 11] = "QC_HUB_SORT_KEY_CODE";
66
- })(QC_HUB_SORT_KEY || (exports.QC_HUB_SORT_KEY = QC_HUB_SORT_KEY = {}));
67
- // Retrieve enum metadata with: proto3.getEnumType(QC_HUB_SORT_KEY)
68
- protobuf_1.proto3.util.setEnumType(QC_HUB_SORT_KEY, "Scailo.QC_HUB_SORT_KEY", [
69
- { no: 0, name: "QC_HUB_SORT_KEY_ID_UNSPECIFIED" },
70
- { no: 1, name: "QC_HUB_SORT_KEY_CREATED_AT" },
71
- { no: 2, name: "QC_HUB_SORT_KEY_MODIFIED_AT" },
72
- { no: 3, name: "QC_HUB_SORT_KEY_APPROVED_ON" },
73
- { no: 4, name: "QC_HUB_SORT_KEY_APPROVED_BY" },
74
- { no: 5, name: "QC_HUB_SORT_KEY_APPROVER_ROLE_ID" },
75
- { no: 10, name: "QC_HUB_SORT_KEY_NAME" },
76
- { no: 11, name: "QC_HUB_SORT_KEY_CODE" },
77
- ]);
78
- /**
79
- *
80
- * Describes the parameters necessary to create a record
81
- *
82
- * @generated from message Scailo.QCHubsServiceCreateRequest
83
- */
84
- class QCHubsServiceCreateRequest extends protobuf_1.Message {
85
- /**
86
- * QCHubs a globally unique entity UUID. This will be set at the organization level
87
- *
88
- * @generated from field: string entity_uuid = 1;
89
- */
90
- entityUuid = "";
91
- /**
92
- * QCHubs any comment that the user might add during this operation
93
- *
94
- * @generated from field: string user_comment = 2;
95
- */
96
- userComment = "";
97
- /**
98
- * The ID of the associated location
99
- *
100
- * @generated from field: uint64 location_id = 9;
101
- */
102
- locationId = protobuf_1.protoInt64.zero;
103
- /**
104
- * The name of the qc hub
105
- *
106
- * @generated from field: string name = 10;
107
- */
108
- name = "";
109
- /**
110
- * The unique code by which the qc hub is classified
111
- *
112
- * @generated from field: string code = 11;
113
- */
114
- code = "";
115
- /**
116
- * The description of the qc hub
117
- *
118
- * @generated from field: string description = 12;
119
- */
120
- description = "";
121
- /**
122
- * The username of the incharge
123
- *
124
- * @generated from field: string incharge_username = 13;
125
- */
126
- inchargeUsername = "";
127
- /**
128
- * The contact number of the qc hub
129
- *
130
- * @generated from field: string phone = 14;
131
- */
132
- phone = "";
133
- constructor(data) {
134
- super();
135
- protobuf_1.proto3.util.initPartial(data, this);
136
- }
137
- static runtime = protobuf_1.proto3;
138
- static typeName = "Scailo.QCHubsServiceCreateRequest";
139
- static fields = protobuf_1.proto3.util.newFieldList(() => [
140
- { no: 1, name: "entity_uuid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
141
- { no: 2, name: "user_comment", kind: "scalar", T: 9 /* ScalarType.STRING */ },
142
- { no: 9, name: "location_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
143
- { no: 10, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
144
- { no: 11, name: "code", kind: "scalar", T: 9 /* ScalarType.STRING */ },
145
- { no: 12, name: "description", kind: "scalar", T: 9 /* ScalarType.STRING */ },
146
- { no: 13, name: "incharge_username", kind: "scalar", T: 9 /* ScalarType.STRING */ },
147
- { no: 14, name: "phone", kind: "scalar", T: 9 /* ScalarType.STRING */ },
148
- ]);
149
- static fromBinary(bytes, options) {
150
- return new QCHubsServiceCreateRequest().fromBinary(bytes, options);
151
- }
152
- static fromJson(jsonValue, options) {
153
- return new QCHubsServiceCreateRequest().fromJson(jsonValue, options);
154
- }
155
- static fromJsonString(jsonString, options) {
156
- return new QCHubsServiceCreateRequest().fromJsonString(jsonString, options);
157
- }
158
- static equals(a, b) {
159
- return protobuf_1.proto3.util.equals(QCHubsServiceCreateRequest, a, b);
160
- }
161
- }
162
- exports.QCHubsServiceCreateRequest = QCHubsServiceCreateRequest;
163
- /**
164
- *
165
- * Describes the parameters necessary to update a record
166
- *
167
- * @generated from message Scailo.QCHubsServiceUpdateRequest
168
- */
169
- class QCHubsServiceUpdateRequest extends protobuf_1.Message {
170
- /**
171
- * QCHubs any comment that the user might add during this operation
172
- *
173
- * @generated from field: string user_comment = 1;
174
- */
175
- userComment = "";
176
- /**
177
- * The ID of the record that needs to be updated
178
- *
179
- * @generated from field: uint64 id = 2;
180
- */
181
- id = protobuf_1.protoInt64.zero;
182
- /**
183
- * Optional boolean value that qc hubs if a notification needs to be sent to users about the update to the record. This is useful when a subsequent operation needs to be performed immediately (such as send to verification after updating the revision)
184
- *
185
- * @generated from field: bool notify_users = 3;
186
- */
187
- notifyUsers = false;
188
- /**
189
- * The name of the qc hub
190
- *
191
- * @generated from field: string name = 10;
192
- */
193
- name = "";
194
- /**
195
- * The unique code by which the qc hub is classified
196
- *
197
- * @generated from field: string code = 11;
198
- */
199
- code = "";
200
- /**
201
- * The description of the qc hub
202
- *
203
- * @generated from field: string description = 12;
204
- */
205
- description = "";
206
- /**
207
- * The username of the incharge
208
- *
209
- * @generated from field: string incharge_username = 13;
210
- */
211
- inchargeUsername = "";
212
- /**
213
- * The contact number of the qc hub
214
- *
215
- * @generated from field: string phone = 14;
216
- */
217
- phone = "";
218
- constructor(data) {
219
- super();
220
- protobuf_1.proto3.util.initPartial(data, this);
221
- }
222
- static runtime = protobuf_1.proto3;
223
- static typeName = "Scailo.QCHubsServiceUpdateRequest";
224
- static fields = protobuf_1.proto3.util.newFieldList(() => [
225
- { no: 1, name: "user_comment", kind: "scalar", T: 9 /* ScalarType.STRING */ },
226
- { no: 2, name: "id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
227
- { no: 3, name: "notify_users", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
228
- { no: 10, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
229
- { no: 11, name: "code", kind: "scalar", T: 9 /* ScalarType.STRING */ },
230
- { no: 12, name: "description", kind: "scalar", T: 9 /* ScalarType.STRING */ },
231
- { no: 13, name: "incharge_username", kind: "scalar", T: 9 /* ScalarType.STRING */ },
232
- { no: 14, name: "phone", kind: "scalar", T: 9 /* ScalarType.STRING */ },
233
- ]);
234
- static fromBinary(bytes, options) {
235
- return new QCHubsServiceUpdateRequest().fromBinary(bytes, options);
236
- }
237
- static fromJson(jsonValue, options) {
238
- return new QCHubsServiceUpdateRequest().fromJson(jsonValue, options);
239
- }
240
- static fromJsonString(jsonString, options) {
241
- return new QCHubsServiceUpdateRequest().fromJsonString(jsonString, options);
242
- }
243
- static equals(a, b) {
244
- return protobuf_1.proto3.util.equals(QCHubsServiceUpdateRequest, a, b);
245
- }
246
- }
247
- exports.QCHubsServiceUpdateRequest = QCHubsServiceUpdateRequest;
248
- /**
249
- *
250
- * Describes the parameters that are part of a standard response
251
- *
252
- * @generated from message Scailo.QCHub
253
- */
254
- class QCHub extends protobuf_1.Message {
255
- /**
256
- * QCHubs a globally unique entity UUID. This will be set at the organization level
257
- *
258
- * @generated from field: string entity_uuid = 1;
259
- */
260
- entityUuid = "";
261
- /**
262
- * QCHubs the metadata of this qc hub
263
- *
264
- * @generated from field: Scailo.EmployeeMetadata metadata = 2;
265
- */
266
- metadata;
267
- /**
268
- * QCHubs the approval metadata
269
- *
270
- * @generated from field: Scailo.ApprovalMetadata approval_metadata = 3;
271
- */
272
- approvalMetadata;
273
- /**
274
- * The status of this qc hub
275
- *
276
- * @generated from field: Scailo.STANDARD_LIFECYCLE_STATUS status = 4;
277
- */
278
- status = base_scailo_pb_js_1.STANDARD_LIFECYCLE_STATUS.ANY_UNSPECIFIED;
279
- /**
280
- * QCHubs the logs of every operation performed on this qc hub
281
- *
282
- * @generated from field: repeated Scailo.LogbookLogConciseSLC logs = 5;
283
- */
284
- logs = [];
285
- /**
286
- * The ID of the associated location
287
- *
288
- * @generated from field: uint64 location_id = 9;
289
- */
290
- locationId = protobuf_1.protoInt64.zero;
291
- /**
292
- * The name of the qc hub
293
- *
294
- * @generated from field: string name = 10;
295
- */
296
- name = "";
297
- /**
298
- * The unique code by which the qc hub is classified
299
- *
300
- * @generated from field: string code = 11;
301
- */
302
- code = "";
303
- /**
304
- * The description of the qc hub
305
- *
306
- * @generated from field: string description = 12;
307
- */
308
- description = "";
309
- /**
310
- * The username of the incharge
311
- *
312
- * @generated from field: string incharge_username = 13;
313
- */
314
- inchargeUsername = "";
315
- /**
316
- * The contact number of the qc hub
317
- *
318
- * @generated from field: string phone = 14;
319
- */
320
- phone = "";
321
- constructor(data) {
322
- super();
323
- protobuf_1.proto3.util.initPartial(data, this);
324
- }
325
- static runtime = protobuf_1.proto3;
326
- static typeName = "Scailo.QCHub";
327
- static fields = protobuf_1.proto3.util.newFieldList(() => [
328
- { no: 1, name: "entity_uuid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
329
- { no: 2, name: "metadata", kind: "message", T: base_scailo_pb_js_1.EmployeeMetadata },
330
- { no: 3, name: "approval_metadata", kind: "message", T: base_scailo_pb_js_1.ApprovalMetadata },
331
- { no: 4, name: "status", kind: "enum", T: protobuf_1.proto3.getEnumType(base_scailo_pb_js_1.STANDARD_LIFECYCLE_STATUS) },
332
- { no: 5, name: "logs", kind: "message", T: base_scailo_pb_js_1.LogbookLogConciseSLC, repeated: true },
333
- { no: 9, name: "location_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
334
- { no: 10, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
335
- { no: 11, name: "code", kind: "scalar", T: 9 /* ScalarType.STRING */ },
336
- { no: 12, name: "description", kind: "scalar", T: 9 /* ScalarType.STRING */ },
337
- { no: 13, name: "incharge_username", kind: "scalar", T: 9 /* ScalarType.STRING */ },
338
- { no: 14, name: "phone", kind: "scalar", T: 9 /* ScalarType.STRING */ },
339
- ]);
340
- static fromBinary(bytes, options) {
341
- return new QCHub().fromBinary(bytes, options);
342
- }
343
- static fromJson(jsonValue, options) {
344
- return new QCHub().fromJson(jsonValue, options);
345
- }
346
- static fromJsonString(jsonString, options) {
347
- return new QCHub().fromJsonString(jsonString, options);
348
- }
349
- static equals(a, b) {
350
- return protobuf_1.proto3.util.equals(QCHub, a, b);
351
- }
352
- }
353
- exports.QCHub = QCHub;
354
- /**
355
- *
356
- * Describes the message consisting of the list of records
357
- *
358
- * @generated from message Scailo.QCHubsList
359
- */
360
- class QCHubsList extends protobuf_1.Message {
361
- /**
362
- * List of records
363
- *
364
- * @generated from field: repeated Scailo.QCHub list = 1;
365
- */
366
- list = [];
367
- constructor(data) {
368
- super();
369
- protobuf_1.proto3.util.initPartial(data, this);
370
- }
371
- static runtime = protobuf_1.proto3;
372
- static typeName = "Scailo.QCHubsList";
373
- static fields = protobuf_1.proto3.util.newFieldList(() => [
374
- { no: 1, name: "list", kind: "message", T: QCHub, repeated: true },
375
- ]);
376
- static fromBinary(bytes, options) {
377
- return new QCHubsList().fromBinary(bytes, options);
378
- }
379
- static fromJson(jsonValue, options) {
380
- return new QCHubsList().fromJson(jsonValue, options);
381
- }
382
- static fromJsonString(jsonString, options) {
383
- return new QCHubsList().fromJsonString(jsonString, options);
384
- }
385
- static equals(a, b) {
386
- return protobuf_1.proto3.util.equals(QCHubsList, a, b);
387
- }
388
- }
389
- exports.QCHubsList = QCHubsList;
390
- /**
391
- *
392
- * Describes a pagination request to retrieve records
393
- *
394
- * @generated from message Scailo.QCHubsServicePaginationReq
395
- */
396
- class QCHubsServicePaginationReq extends protobuf_1.Message {
397
- /**
398
- * If true, then returns only active records. If false, then returns only inactive records
399
- *
400
- * @generated from field: Scailo.BOOL_FILTER is_active = 1;
401
- */
402
- isActive = base_scailo_pb_js_1.BOOL_FILTER.BOOL_FILTER_ANY_UNSPECIFIED;
403
- /**
404
- * The number of records that need to be sent in the response
405
- *
406
- * @generated from field: int64 count = 2;
407
- */
408
- count = protobuf_1.protoInt64.zero;
409
- /**
410
- * The number that need to be offset by before fetching the records
411
- *
412
- * @generated from field: uint64 offset = 3;
413
- */
414
- offset = protobuf_1.protoInt64.zero;
415
- /**
416
- * The sort order that is to be used to fetch the pagination response
417
- *
418
- * @generated from field: Scailo.SORT_ORDER sort_order = 4;
419
- */
420
- sortOrder = base_scailo_pb_js_1.SORT_ORDER.ASCENDING_UNSPECIFIED;
421
- /**
422
- * The sort key that is to be used to fetch the pagination response
423
- *
424
- * @generated from field: Scailo.QC_HUB_SORT_KEY sort_key = 5;
425
- */
426
- sortKey = QC_HUB_SORT_KEY.QC_HUB_SORT_KEY_ID_UNSPECIFIED;
427
- /**
428
- * The status of this qc hub
429
- *
430
- * @generated from field: Scailo.STANDARD_LIFECYCLE_STATUS status = 6;
431
- */
432
- status = base_scailo_pb_js_1.STANDARD_LIFECYCLE_STATUS.ANY_UNSPECIFIED;
433
- constructor(data) {
434
- super();
435
- protobuf_1.proto3.util.initPartial(data, this);
436
- }
437
- static runtime = protobuf_1.proto3;
438
- static typeName = "Scailo.QCHubsServicePaginationReq";
439
- static fields = protobuf_1.proto3.util.newFieldList(() => [
440
- { no: 1, name: "is_active", kind: "enum", T: protobuf_1.proto3.getEnumType(base_scailo_pb_js_1.BOOL_FILTER) },
441
- { no: 2, name: "count", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
442
- { no: 3, name: "offset", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
443
- { no: 4, name: "sort_order", kind: "enum", T: protobuf_1.proto3.getEnumType(base_scailo_pb_js_1.SORT_ORDER) },
444
- { no: 5, name: "sort_key", kind: "enum", T: protobuf_1.proto3.getEnumType(QC_HUB_SORT_KEY) },
445
- { no: 6, name: "status", kind: "enum", T: protobuf_1.proto3.getEnumType(base_scailo_pb_js_1.STANDARD_LIFECYCLE_STATUS) },
446
- ]);
447
- static fromBinary(bytes, options) {
448
- return new QCHubsServicePaginationReq().fromBinary(bytes, options);
449
- }
450
- static fromJson(jsonValue, options) {
451
- return new QCHubsServicePaginationReq().fromJson(jsonValue, options);
452
- }
453
- static fromJsonString(jsonString, options) {
454
- return new QCHubsServicePaginationReq().fromJsonString(jsonString, options);
455
- }
456
- static equals(a, b) {
457
- return protobuf_1.proto3.util.equals(QCHubsServicePaginationReq, a, b);
458
- }
459
- }
460
- exports.QCHubsServicePaginationReq = QCHubsServicePaginationReq;
461
- /**
462
- *
463
- * Describes the response to a pagination request
464
- *
465
- * @generated from message Scailo.QCHubsServicePaginationResponse
466
- */
467
- class QCHubsServicePaginationResponse extends protobuf_1.Message {
468
- /**
469
- * The number of records in this payload
470
- *
471
- * @generated from field: uint64 count = 1;
472
- */
473
- count = protobuf_1.protoInt64.zero;
474
- /**
475
- * The number that has been offset before fetching the records. This is the same value that has been sent as part of the pagination request
476
- *
477
- * @generated from field: uint64 offset = 2;
478
- */
479
- offset = protobuf_1.protoInt64.zero;
480
- /**
481
- * The total number of records that are available
482
- *
483
- * @generated from field: uint64 total = 3;
484
- */
485
- total = protobuf_1.protoInt64.zero;
486
- /**
487
- * The list of records
488
- *
489
- * @generated from field: repeated Scailo.QCHub payload = 4;
490
- */
491
- payload = [];
492
- constructor(data) {
493
- super();
494
- protobuf_1.proto3.util.initPartial(data, this);
495
- }
496
- static runtime = protobuf_1.proto3;
497
- static typeName = "Scailo.QCHubsServicePaginationResponse";
498
- static fields = protobuf_1.proto3.util.newFieldList(() => [
499
- { no: 1, name: "count", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
500
- { no: 2, name: "offset", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
501
- { no: 3, name: "total", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
502
- { no: 4, name: "payload", kind: "message", T: QCHub, repeated: true },
503
- ]);
504
- static fromBinary(bytes, options) {
505
- return new QCHubsServicePaginationResponse().fromBinary(bytes, options);
506
- }
507
- static fromJson(jsonValue, options) {
508
- return new QCHubsServicePaginationResponse().fromJson(jsonValue, options);
509
- }
510
- static fromJsonString(jsonString, options) {
511
- return new QCHubsServicePaginationResponse().fromJsonString(jsonString, options);
512
- }
513
- static equals(a, b) {
514
- return protobuf_1.proto3.util.equals(QCHubsServicePaginationResponse, a, b);
515
- }
516
- }
517
- exports.QCHubsServicePaginationResponse = QCHubsServicePaginationResponse;
518
- /**
519
- *
520
- * Describes the base request payload of a filter search
521
- *
522
- * @generated from message Scailo.QCHubsServiceFilterReq
523
- */
524
- class QCHubsServiceFilterReq extends protobuf_1.Message {
525
- /**
526
- * If true, then returns only active records. If false, then returns only inactive records
527
- *
528
- * @generated from field: Scailo.BOOL_FILTER is_active = 1;
529
- */
530
- isActive = base_scailo_pb_js_1.BOOL_FILTER.BOOL_FILTER_ANY_UNSPECIFIED;
531
- /**
532
- * The number of records that need to be sent in the response. Returns all records if it is set to -1
533
- *
534
- * @generated from field: int64 count = 2;
535
- */
536
- count = protobuf_1.protoInt64.zero;
537
- /**
538
- * The number that need to be offset by before fetching the records
539
- *
540
- * @generated from field: uint64 offset = 3;
541
- */
542
- offset = protobuf_1.protoInt64.zero;
543
- /**
544
- * The sort order that is to be used to fetch the pagination response
545
- *
546
- * @generated from field: Scailo.SORT_ORDER sort_order = 4;
547
- */
548
- sortOrder = base_scailo_pb_js_1.SORT_ORDER.ASCENDING_UNSPECIFIED;
549
- /**
550
- * The sort key that is to be used to fetch the pagination response
551
- *
552
- * @generated from field: Scailo.QC_HUB_SORT_KEY sort_key = 5;
553
- */
554
- sortKey = QC_HUB_SORT_KEY.QC_HUB_SORT_KEY_ID_UNSPECIFIED;
555
- /**
556
- * The minimum timestamp that needs to be considered to filter by creation
557
- *
558
- * @generated from field: uint64 creation_timestamp_start = 101;
559
- */
560
- creationTimestampStart = protobuf_1.protoInt64.zero;
561
- /**
562
- * The maximum timestamp that needs to be considered to filter by creation
563
- *
564
- * @generated from field: uint64 creation_timestamp_end = 102;
565
- */
566
- creationTimestampEnd = protobuf_1.protoInt64.zero;
567
- /**
568
- * The minimum timestamp that needs to be considered to filter by modification
569
- *
570
- * @generated from field: uint64 modification_timestamp_start = 103;
571
- */
572
- modificationTimestampStart = protobuf_1.protoInt64.zero;
573
- /**
574
- * The maximum timestamp that needs to be considered to filter by modification
575
- *
576
- * @generated from field: uint64 modification_timestamp_end = 104;
577
- */
578
- modificationTimestampEnd = protobuf_1.protoInt64.zero;
579
- /**
580
- * The entity UUID that is to be used to filter records
581
- *
582
- * @generated from field: string entity_uuid = 8;
583
- */
584
- entityUuid = "";
585
- /**
586
- * The status of this qc hub
587
- *
588
- * @generated from field: Scailo.STANDARD_LIFECYCLE_STATUS status = 10;
589
- */
590
- status = base_scailo_pb_js_1.STANDARD_LIFECYCLE_STATUS.ANY_UNSPECIFIED;
591
- /**
592
- * The start range of approved timestamp
593
- *
594
- * @generated from field: uint64 approved_on_start = 11;
595
- */
596
- approvedOnStart = protobuf_1.protoInt64.zero;
597
- /**
598
- * The end range of approved timestamp
599
- *
600
- * @generated from field: uint64 approved_on_end = 12;
601
- */
602
- approvedOnEnd = protobuf_1.protoInt64.zero;
603
- /**
604
- * The ID of the approver
605
- *
606
- * @generated from field: uint64 approved_by_user_id = 13;
607
- */
608
- approvedByUserId = protobuf_1.protoInt64.zero;
609
- /**
610
- * The role ID of the approver
611
- *
612
- * @generated from field: uint64 approver_role_id = 14;
613
- */
614
- approverRoleId = protobuf_1.protoInt64.zero;
615
- /**
616
- * The name of the qc hub
617
- *
618
- * @generated from field: string name = 20;
619
- */
620
- name = "";
621
- /**
622
- * The unique code by which the qc hub is classified
623
- *
624
- * @generated from field: string code = 21;
625
- */
626
- code = "";
627
- /**
628
- * The ID of the associated location
629
- *
630
- * @generated from field: uint64 location_id = 22;
631
- */
632
- locationId = protobuf_1.protoInt64.zero;
633
- constructor(data) {
634
- super();
635
- protobuf_1.proto3.util.initPartial(data, this);
636
- }
637
- static runtime = protobuf_1.proto3;
638
- static typeName = "Scailo.QCHubsServiceFilterReq";
639
- static fields = protobuf_1.proto3.util.newFieldList(() => [
640
- { no: 1, name: "is_active", kind: "enum", T: protobuf_1.proto3.getEnumType(base_scailo_pb_js_1.BOOL_FILTER) },
641
- { no: 2, name: "count", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
642
- { no: 3, name: "offset", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
643
- { no: 4, name: "sort_order", kind: "enum", T: protobuf_1.proto3.getEnumType(base_scailo_pb_js_1.SORT_ORDER) },
644
- { no: 5, name: "sort_key", kind: "enum", T: protobuf_1.proto3.getEnumType(QC_HUB_SORT_KEY) },
645
- { no: 101, name: "creation_timestamp_start", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
646
- { no: 102, name: "creation_timestamp_end", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
647
- { no: 103, name: "modification_timestamp_start", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
648
- { no: 104, name: "modification_timestamp_end", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
649
- { no: 8, name: "entity_uuid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
650
- { no: 10, name: "status", kind: "enum", T: protobuf_1.proto3.getEnumType(base_scailo_pb_js_1.STANDARD_LIFECYCLE_STATUS) },
651
- { no: 11, name: "approved_on_start", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
652
- { no: 12, name: "approved_on_end", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
653
- { no: 13, name: "approved_by_user_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
654
- { no: 14, name: "approver_role_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
655
- { no: 20, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
656
- { no: 21, name: "code", kind: "scalar", T: 9 /* ScalarType.STRING */ },
657
- { no: 22, name: "location_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
658
- ]);
659
- static fromBinary(bytes, options) {
660
- return new QCHubsServiceFilterReq().fromBinary(bytes, options);
661
- }
662
- static fromJson(jsonValue, options) {
663
- return new QCHubsServiceFilterReq().fromJson(jsonValue, options);
664
- }
665
- static fromJsonString(jsonString, options) {
666
- return new QCHubsServiceFilterReq().fromJsonString(jsonString, options);
667
- }
668
- static equals(a, b) {
669
- return protobuf_1.proto3.util.equals(QCHubsServiceFilterReq, a, b);
670
- }
671
- }
672
- exports.QCHubsServiceFilterReq = QCHubsServiceFilterReq;
673
- /**
674
- *
675
- * Describes the base request payload of a count search
676
- *
677
- * @generated from message Scailo.QCHubsServiceCountReq
678
- */
679
- class QCHubsServiceCountReq extends protobuf_1.Message {
680
- /**
681
- * If true, then returns only active records. If false, then returns only inactive records
682
- *
683
- * @generated from field: Scailo.BOOL_FILTER is_active = 1;
684
- */
685
- isActive = base_scailo_pb_js_1.BOOL_FILTER.BOOL_FILTER_ANY_UNSPECIFIED;
686
- /**
687
- * The minimum timestamp that needs to be considered to filter by creation
688
- *
689
- * @generated from field: uint64 creation_timestamp_start = 101;
690
- */
691
- creationTimestampStart = protobuf_1.protoInt64.zero;
692
- /**
693
- * The maximum timestamp that needs to be considered to filter by creation
694
- *
695
- * @generated from field: uint64 creation_timestamp_end = 102;
696
- */
697
- creationTimestampEnd = protobuf_1.protoInt64.zero;
698
- /**
699
- * The minimum timestamp that needs to be considered to filter by modification
700
- *
701
- * @generated from field: uint64 modification_timestamp_start = 103;
702
- */
703
- modificationTimestampStart = protobuf_1.protoInt64.zero;
704
- /**
705
- * The maximum timestamp that needs to be considered to filter by modification
706
- *
707
- * @generated from field: uint64 modification_timestamp_end = 104;
708
- */
709
- modificationTimestampEnd = protobuf_1.protoInt64.zero;
710
- /**
711
- * The entity UUID that is to be used to filter records
712
- *
713
- * @generated from field: string entity_uuid = 8;
714
- */
715
- entityUuid = "";
716
- /**
717
- * The status of this qc hub
718
- *
719
- * @generated from field: Scailo.STANDARD_LIFECYCLE_STATUS status = 10;
720
- */
721
- status = base_scailo_pb_js_1.STANDARD_LIFECYCLE_STATUS.ANY_UNSPECIFIED;
722
- /**
723
- * The start range of approved timestamp
724
- *
725
- * @generated from field: uint64 approved_on_start = 11;
726
- */
727
- approvedOnStart = protobuf_1.protoInt64.zero;
728
- /**
729
- * The end range of approved timestamp
730
- *
731
- * @generated from field: uint64 approved_on_end = 12;
732
- */
733
- approvedOnEnd = protobuf_1.protoInt64.zero;
734
- /**
735
- * The ID of the approver
736
- *
737
- * @generated from field: uint64 approved_by_user_id = 13;
738
- */
739
- approvedByUserId = protobuf_1.protoInt64.zero;
740
- /**
741
- * The role ID of the approver
742
- *
743
- * @generated from field: uint64 approver_role_id = 14;
744
- */
745
- approverRoleId = protobuf_1.protoInt64.zero;
746
- /**
747
- * The name of the qc hub
748
- *
749
- * @generated from field: string name = 20;
750
- */
751
- name = "";
752
- /**
753
- * The unique code by which the qc hub is classified
754
- *
755
- * @generated from field: string code = 21;
756
- */
757
- code = "";
758
- /**
759
- * The ID of the associated location
760
- *
761
- * @generated from field: uint64 location_id = 22;
762
- */
763
- locationId = protobuf_1.protoInt64.zero;
764
- constructor(data) {
765
- super();
766
- protobuf_1.proto3.util.initPartial(data, this);
767
- }
768
- static runtime = protobuf_1.proto3;
769
- static typeName = "Scailo.QCHubsServiceCountReq";
770
- static fields = protobuf_1.proto3.util.newFieldList(() => [
771
- { no: 1, name: "is_active", kind: "enum", T: protobuf_1.proto3.getEnumType(base_scailo_pb_js_1.BOOL_FILTER) },
772
- { no: 101, name: "creation_timestamp_start", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
773
- { no: 102, name: "creation_timestamp_end", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
774
- { no: 103, name: "modification_timestamp_start", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
775
- { no: 104, name: "modification_timestamp_end", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
776
- { no: 8, name: "entity_uuid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
777
- { no: 10, name: "status", kind: "enum", T: protobuf_1.proto3.getEnumType(base_scailo_pb_js_1.STANDARD_LIFECYCLE_STATUS) },
778
- { no: 11, name: "approved_on_start", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
779
- { no: 12, name: "approved_on_end", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
780
- { no: 13, name: "approved_by_user_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
781
- { no: 14, name: "approver_role_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
782
- { no: 20, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
783
- { no: 21, name: "code", kind: "scalar", T: 9 /* ScalarType.STRING */ },
784
- { no: 22, name: "location_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
785
- ]);
786
- static fromBinary(bytes, options) {
787
- return new QCHubsServiceCountReq().fromBinary(bytes, options);
788
- }
789
- static fromJson(jsonValue, options) {
790
- return new QCHubsServiceCountReq().fromJson(jsonValue, options);
791
- }
792
- static fromJsonString(jsonString, options) {
793
- return new QCHubsServiceCountReq().fromJsonString(jsonString, options);
794
- }
795
- static equals(a, b) {
796
- return protobuf_1.proto3.util.equals(QCHubsServiceCountReq, a, b);
797
- }
798
- }
799
- exports.QCHubsServiceCountReq = QCHubsServiceCountReq;
800
- /**
801
- *
802
- * Describes the request payload for performing a generic search operation on records
803
- *
804
- * @generated from message Scailo.QCHubsServiceSearchAllReq
805
- */
806
- class QCHubsServiceSearchAllReq extends protobuf_1.Message {
807
- /**
808
- * If true, then returns only active records. If false, then returns only inactive records
809
- *
810
- * @generated from field: Scailo.BOOL_FILTER is_active = 1;
811
- */
812
- isActive = base_scailo_pb_js_1.BOOL_FILTER.BOOL_FILTER_ANY_UNSPECIFIED;
813
- /**
814
- * The number of records that need to be sent in the response. Returns all records if it is set to -1
815
- *
816
- * @generated from field: int64 count = 2;
817
- */
818
- count = protobuf_1.protoInt64.zero;
819
- /**
820
- * The number that need to be offset by before fetching the records
821
- *
822
- * @generated from field: uint64 offset = 3;
823
- */
824
- offset = protobuf_1.protoInt64.zero;
825
- /**
826
- * The sort order that is to be used to fetch the pagination response
827
- *
828
- * @generated from field: Scailo.SORT_ORDER sort_order = 4;
829
- */
830
- sortOrder = base_scailo_pb_js_1.SORT_ORDER.ASCENDING_UNSPECIFIED;
831
- /**
832
- * The sort key that is to be used to fetch the pagination response
833
- *
834
- * @generated from field: Scailo.QC_HUB_SORT_KEY sort_key = 5;
835
- */
836
- sortKey = QC_HUB_SORT_KEY.QC_HUB_SORT_KEY_ID_UNSPECIFIED;
837
- /**
838
- * The entity UUID that is to be used to filter records
839
- *
840
- * @generated from field: string entity_uuid = 6;
841
- */
842
- entityUuid = "";
843
- /**
844
- * Limit the search space to the given status
845
- *
846
- * @generated from field: Scailo.STANDARD_LIFECYCLE_STATUS status = 10;
847
- */
848
- status = base_scailo_pb_js_1.STANDARD_LIFECYCLE_STATUS.ANY_UNSPECIFIED;
849
- /**
850
- * Describes the key with which the search operation needs to be performed
851
- *
852
- * @generated from field: string search_key = 11;
853
- */
854
- searchKey = "";
855
- /**
856
- * The ID of the associated location
857
- *
858
- * @generated from field: uint64 location_id = 12;
859
- */
860
- locationId = protobuf_1.protoInt64.zero;
861
- constructor(data) {
862
- super();
863
- protobuf_1.proto3.util.initPartial(data, this);
864
- }
865
- static runtime = protobuf_1.proto3;
866
- static typeName = "Scailo.QCHubsServiceSearchAllReq";
867
- static fields = protobuf_1.proto3.util.newFieldList(() => [
868
- { no: 1, name: "is_active", kind: "enum", T: protobuf_1.proto3.getEnumType(base_scailo_pb_js_1.BOOL_FILTER) },
869
- { no: 2, name: "count", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
870
- { no: 3, name: "offset", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
871
- { no: 4, name: "sort_order", kind: "enum", T: protobuf_1.proto3.getEnumType(base_scailo_pb_js_1.SORT_ORDER) },
872
- { no: 5, name: "sort_key", kind: "enum", T: protobuf_1.proto3.getEnumType(QC_HUB_SORT_KEY) },
873
- { no: 6, name: "entity_uuid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
874
- { no: 10, name: "status", kind: "enum", T: protobuf_1.proto3.getEnumType(base_scailo_pb_js_1.STANDARD_LIFECYCLE_STATUS) },
875
- { no: 11, name: "search_key", kind: "scalar", T: 9 /* ScalarType.STRING */ },
876
- { no: 12, name: "location_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
877
- ]);
878
- static fromBinary(bytes, options) {
879
- return new QCHubsServiceSearchAllReq().fromBinary(bytes, options);
880
- }
881
- static fromJson(jsonValue, options) {
882
- return new QCHubsServiceSearchAllReq().fromJson(jsonValue, options);
883
- }
884
- static fromJsonString(jsonString, options) {
885
- return new QCHubsServiceSearchAllReq().fromJsonString(jsonString, options);
886
- }
887
- static equals(a, b) {
888
- return protobuf_1.proto3.util.equals(QCHubsServiceSearchAllReq, a, b);
889
- }
890
- }
891
- exports.QCHubsServiceSearchAllReq = QCHubsServiceSearchAllReq;