weave-typescript 0.11.15 → 0.11.17
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/dist/weaveapi/data/v1/data.pb.d.ts +1 -1
- package/dist/weaveapi/data/v1/data.pb.js +11 -11
- package/dist/weaveapi/data/v1/service.pb.d.ts +89 -6
- package/dist/weaveapi/data/v1/service.pb.js +1195 -364
- package/dist/weaveapi/input/v1/input.pb.d.ts +1 -1
- package/dist/weaveapi/input/v1/input.pb.js +11 -11
- package/dist/weaveapi/input/v1/service.pb.d.ts +89 -10
- package/dist/weaveapi/input/v1/service.pb.js +1253 -642
- package/dist/weaveapi/integration/v1/integration.pb.d.ts +1 -1
- package/dist/weaveapi/integration/v1/integration.pb.js +11 -11
- package/dist/weaveapi/integration/v1/service.pb.d.ts +89 -7
- package/dist/weaveapi/integration/v1/service.pb.js +1164 -390
- package/dist/weaveapi/project/v1/project.pb.d.ts +1 -0
- package/dist/weaveapi/project/v1/project.pb.js +17 -1
- package/dist/weaveapi/project/v1/service.pb.d.ts +25 -0
- package/dist/weaveapi/project/v1/service.pb.js +248 -5
- package/dist/weaveapi/report/v1/report.pb.d.ts +2 -0
- package/dist/weaveapi/report/v1/report.pb.js +42 -2
- package/dist/weaveapi/report/v1/service.pb.d.ts +6 -6
- package/dist/weaveapi/report/v1/service.pb.js +416 -121
- package/dist/weaveapi/requirement/v1/requirement.pb.d.ts +1 -1
- package/dist/weaveapi/requirement/v1/requirement.pb.js +11 -11
- package/dist/weaveapi/requirement/v1/service.pb.d.ts +90 -10
- package/dist/weaveapi/requirement/v1/service.pb.js +1261 -601
- package/dist/weaveapi/run/v1/run.pb.d.ts +1 -0
- package/dist/weaveapi/run/v1/run.pb.js +21 -1
- package/dist/weaveapi/run/v1/service.pb.d.ts +6 -6
- package/dist/weaveapi/run/v1/service.pb.js +448 -126
- package/dist/weaveapi/script/v1/script.pb.d.ts +1 -1
- package/dist/weaveapi/script/v1/script.pb.js +11 -11
- package/dist/weaveapi/script/v1/service.pb.d.ts +90 -14
- package/dist/weaveapi/script/v1/service.pb.js +1404 -930
- package/dist/weaveapi/suite/v1/service.pb.d.ts +178 -12
- package/dist/weaveapi/suite/v1/service.pb.js +2631 -979
- package/dist/weaveapi/suite/v1/suite.pb.d.ts +2 -2
- package/dist/weaveapi/suite/v1/suite.pb.js +22 -22
- package/dist/weaveapi/testcase/v1/service.pb.d.ts +90 -14
- package/dist/weaveapi/testcase/v1/service.pb.js +1332 -856
- package/dist/weaveapi/testcase/v1/testcase.pb.d.ts +1 -1
- package/dist/weaveapi/testcase/v1/testcase.pb.js +11 -11
- package/dist/weaveapi/workflow/v1/service.pb.d.ts +26 -0
- package/dist/weaveapi/workflow/v1/service.pb.js +293 -5
- package/dist/weaveapi/workflow/v1/workflow.pb.d.ts +1 -0
- package/dist/weaveapi/workflow/v1/workflow.pb.js +17 -1
- package/dist/weavesql/weavedb/data_asset_sql.d.ts +81 -16
- package/dist/weavesql/weavedb/data_asset_sql.js +142 -24
- package/dist/weavesql/weavedb/input_sql.d.ts +88 -25
- package/dist/weavesql/weavedb/input_sql.js +150 -34
- package/dist/weavesql/weavedb/integration_sql.d.ts +85 -19
- package/dist/weavesql/weavedb/integration_sql.js +147 -28
- package/dist/weavesql/weavedb/project_sql.d.ts +29 -5
- package/dist/weavesql/weavedb/project_sql.js +73 -37
- package/dist/weavesql/weavedb/report_sql.d.ts +61 -7
- package/dist/weavesql/weavedb/report_sql.js +157 -81
- package/dist/weavesql/weavedb/requirement_sql.d.ts +83 -20
- package/dist/weavesql/weavedb/requirement_sql.js +144 -28
- package/dist/weavesql/weavedb/run_sql.d.ts +44 -8
- package/dist/weavesql/weavedb/run_sql.js +140 -93
- package/dist/weavesql/weavedb/suite_sql.d.ts +156 -30
- package/dist/weavesql/weavedb/suite_sql.js +274 -42
- package/dist/weavesql/weavedb/test_case_sql.d.ts +91 -27
- package/dist/weavesql/weavedb/test_case_sql.js +153 -36
- package/dist/weavesql/weavedb/test_script_sql.d.ts +91 -27
- package/dist/weavesql/weavedb/test_script_sql.js +153 -36
- package/dist/weavesql/weavedb/traceability_sql.d.ts +62 -4
- package/dist/weavesql/weavedb/traceability_sql.js +245 -37
- package/dist/weavesql/weavedb/workflow_sql.d.ts +30 -5
- package/dist/weavesql/weavedb/workflow_sql.js +76 -38
- package/package.json +1 -1
|
@@ -5,45 +5,35 @@
|
|
|
5
5
|
// protoc unknown
|
|
6
6
|
// source: weaveapi/input/v1/service.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
exports.InputServiceDefinition = exports.InputServiceClientImpl = exports.InputServiceServiceName = exports.SetActiveInputVersionResponse = exports.SetActiveInputVersionRequest = exports.ListInputVersionsResponse = exports.ListInputVersionsRequest = exports.GetInputVersionResponse = exports.GetInputVersionRequest = exports.CreateInputVersionResponse = exports.CreateInputVersionRequest = exports.DeleteInputSourceResponse = exports.DeleteInputSourceRequest = exports.ArchiveInputSourceResponse = exports.ArchiveInputSourceRequest = exports.UpdateInputSourceResponse = exports.UpdateInputSourceRequest = exports.ListInputSourcesResponse = exports.ListInputSourcesRequest = exports.GetInputSourceResponse = exports.GetInputSourceRequest = exports.CreateInputSourceResponse = exports.CreateInputSourceRequest = exports.protobufPackage = void 0;
|
|
8
|
+
exports.InputServiceDefinition = exports.InputServiceClientImpl = exports.InputServiceServiceName = exports.SetActiveInputVersionResponse = exports.SetActiveInputVersionRequest = exports.ListInputVersionsResponse = exports.ListInputVersionsRequest = exports.GetInputVersionResponse = exports.GetInputVersionRequest = exports.CreateInputVersionResponse = exports.CreateInputVersionRequest = exports.WorkflowInputSourceBinding = exports.ListWorkflowInputSourceBindingsResponse = exports.ListWorkflowInputSourceBindingsRequest = exports.DetachInputSourceFromWorkflowResponse = exports.DetachInputSourceFromWorkflowRequest = exports.AttachInputSourceToWorkflowResponse = exports.AttachInputSourceToWorkflowRequest = exports.DeleteInputSourceResponse = exports.DeleteInputSourceRequest = exports.ArchiveInputSourceResponse = exports.ArchiveInputSourceRequest = exports.UpdateInputSourceResponse = exports.UpdateInputSourceRequest = exports.ListInputSourcesResponse = exports.ListInputSourcesRequest = exports.GetInputSourceResponse = exports.GetInputSourceRequest = exports.CreateInputSourceResponse = exports.CreateInputSourceRequest = exports.protobufPackage = void 0;
|
|
9
9
|
/* eslint-disable */
|
|
10
10
|
const wire_1 = require("@bufbuild/protobuf/wire");
|
|
11
11
|
const struct_pb_1 = require("../../../google/protobuf/struct.pb");
|
|
12
|
+
const timestamp_pb_1 = require("../../../google/protobuf/timestamp.pb");
|
|
12
13
|
const input_pb_1 = require("./input.pb");
|
|
13
14
|
exports.protobufPackage = "weaveapi.input.v1";
|
|
14
15
|
function createBaseCreateInputSourceRequest() {
|
|
15
|
-
return {
|
|
16
|
-
projectId: "",
|
|
17
|
-
workflowId: "",
|
|
18
|
-
sourceType: 0,
|
|
19
|
-
name: "",
|
|
20
|
-
description: "",
|
|
21
|
-
originUri: "",
|
|
22
|
-
metadata: undefined,
|
|
23
|
-
};
|
|
16
|
+
return { projectId: "", sourceType: 0, name: "", description: "", originUri: "", metadata: undefined };
|
|
24
17
|
}
|
|
25
18
|
exports.CreateInputSourceRequest = {
|
|
26
19
|
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
27
20
|
if (message.projectId !== "") {
|
|
28
21
|
writer.uint32(10).string(message.projectId);
|
|
29
22
|
}
|
|
30
|
-
if (message.workflowId !== "") {
|
|
31
|
-
writer.uint32(18).string(message.workflowId);
|
|
32
|
-
}
|
|
33
23
|
if (message.sourceType !== 0) {
|
|
34
|
-
writer.uint32(
|
|
24
|
+
writer.uint32(16).int32(message.sourceType);
|
|
35
25
|
}
|
|
36
26
|
if (message.name !== "") {
|
|
37
|
-
writer.uint32(
|
|
27
|
+
writer.uint32(26).string(message.name);
|
|
38
28
|
}
|
|
39
29
|
if (message.description !== "") {
|
|
40
|
-
writer.uint32(
|
|
30
|
+
writer.uint32(34).string(message.description);
|
|
41
31
|
}
|
|
42
32
|
if (message.originUri !== "") {
|
|
43
|
-
writer.uint32(
|
|
33
|
+
writer.uint32(42).string(message.originUri);
|
|
44
34
|
}
|
|
45
35
|
if (message.metadata !== undefined) {
|
|
46
|
-
struct_pb_1.Struct.encode(struct_pb_1.Struct.wrap(message.metadata), writer.uint32(
|
|
36
|
+
struct_pb_1.Struct.encode(struct_pb_1.Struct.wrap(message.metadata), writer.uint32(50).fork()).join();
|
|
47
37
|
}
|
|
48
38
|
return writer;
|
|
49
39
|
},
|
|
@@ -62,44 +52,37 @@ exports.CreateInputSourceRequest = {
|
|
|
62
52
|
continue;
|
|
63
53
|
}
|
|
64
54
|
case 2: {
|
|
65
|
-
if (tag !==
|
|
55
|
+
if (tag !== 16) {
|
|
66
56
|
break;
|
|
67
57
|
}
|
|
68
|
-
message.
|
|
58
|
+
message.sourceType = reader.int32();
|
|
69
59
|
continue;
|
|
70
60
|
}
|
|
71
61
|
case 3: {
|
|
72
|
-
if (tag !==
|
|
62
|
+
if (tag !== 26) {
|
|
73
63
|
break;
|
|
74
64
|
}
|
|
75
|
-
message.
|
|
65
|
+
message.name = reader.string();
|
|
76
66
|
continue;
|
|
77
67
|
}
|
|
78
68
|
case 4: {
|
|
79
69
|
if (tag !== 34) {
|
|
80
70
|
break;
|
|
81
71
|
}
|
|
82
|
-
message.
|
|
72
|
+
message.description = reader.string();
|
|
83
73
|
continue;
|
|
84
74
|
}
|
|
85
75
|
case 5: {
|
|
86
76
|
if (tag !== 42) {
|
|
87
77
|
break;
|
|
88
78
|
}
|
|
89
|
-
message.
|
|
79
|
+
message.originUri = reader.string();
|
|
90
80
|
continue;
|
|
91
81
|
}
|
|
92
82
|
case 6: {
|
|
93
83
|
if (tag !== 50) {
|
|
94
84
|
break;
|
|
95
85
|
}
|
|
96
|
-
message.originUri = reader.string();
|
|
97
|
-
continue;
|
|
98
|
-
}
|
|
99
|
-
case 7: {
|
|
100
|
-
if (tag !== 58) {
|
|
101
|
-
break;
|
|
102
|
-
}
|
|
103
86
|
message.metadata = struct_pb_1.Struct.unwrap(struct_pb_1.Struct.decode(reader, reader.uint32()));
|
|
104
87
|
continue;
|
|
105
88
|
}
|
|
@@ -118,11 +101,6 @@ exports.CreateInputSourceRequest = {
|
|
|
118
101
|
: isSet(object.project_id)
|
|
119
102
|
? globalThis.String(object.project_id)
|
|
120
103
|
: "",
|
|
121
|
-
workflowId: isSet(object.workflowId)
|
|
122
|
-
? globalThis.String(object.workflowId)
|
|
123
|
-
: isSet(object.workflow_id)
|
|
124
|
-
? globalThis.String(object.workflow_id)
|
|
125
|
-
: "",
|
|
126
104
|
sourceType: isSet(object.sourceType)
|
|
127
105
|
? (0, input_pb_1.inputSourceTypeFromJSON)(object.sourceType)
|
|
128
106
|
: isSet(object.source_type)
|
|
@@ -143,9 +121,6 @@ exports.CreateInputSourceRequest = {
|
|
|
143
121
|
if (message.projectId !== "") {
|
|
144
122
|
obj.projectId = message.projectId;
|
|
145
123
|
}
|
|
146
|
-
if (message.workflowId !== "") {
|
|
147
|
-
obj.workflowId = message.workflowId;
|
|
148
|
-
}
|
|
149
124
|
if (message.sourceType !== 0) {
|
|
150
125
|
obj.sourceType = (0, input_pb_1.inputSourceTypeToJSON)(message.sourceType);
|
|
151
126
|
}
|
|
@@ -167,15 +142,14 @@ exports.CreateInputSourceRequest = {
|
|
|
167
142
|
return exports.CreateInputSourceRequest.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
168
143
|
},
|
|
169
144
|
fromPartial(object) {
|
|
170
|
-
var _a, _b, _c, _d, _e, _f
|
|
145
|
+
var _a, _b, _c, _d, _e, _f;
|
|
171
146
|
const message = createBaseCreateInputSourceRequest();
|
|
172
147
|
message.projectId = (_a = object.projectId) !== null && _a !== void 0 ? _a : "";
|
|
173
|
-
message.
|
|
174
|
-
message.
|
|
175
|
-
message.
|
|
176
|
-
message.
|
|
177
|
-
message.
|
|
178
|
-
message.metadata = (_g = object.metadata) !== null && _g !== void 0 ? _g : undefined;
|
|
148
|
+
message.sourceType = (_b = object.sourceType) !== null && _b !== void 0 ? _b : 0;
|
|
149
|
+
message.name = (_c = object.name) !== null && _c !== void 0 ? _c : "";
|
|
150
|
+
message.description = (_d = object.description) !== null && _d !== void 0 ? _d : "";
|
|
151
|
+
message.originUri = (_e = object.originUri) !== null && _e !== void 0 ? _e : "";
|
|
152
|
+
message.metadata = (_f = object.metadata) !== null && _f !== void 0 ? _f : undefined;
|
|
179
153
|
return message;
|
|
180
154
|
},
|
|
181
155
|
};
|
|
@@ -239,18 +213,15 @@ exports.CreateInputSourceResponse = {
|
|
|
239
213
|
},
|
|
240
214
|
};
|
|
241
215
|
function createBaseGetInputSourceRequest() {
|
|
242
|
-
return { projectId: "",
|
|
216
|
+
return { projectId: "", inputSourceId: "" };
|
|
243
217
|
}
|
|
244
218
|
exports.GetInputSourceRequest = {
|
|
245
219
|
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
246
220
|
if (message.projectId !== "") {
|
|
247
221
|
writer.uint32(10).string(message.projectId);
|
|
248
222
|
}
|
|
249
|
-
if (message.workflowId !== "") {
|
|
250
|
-
writer.uint32(18).string(message.workflowId);
|
|
251
|
-
}
|
|
252
223
|
if (message.inputSourceId !== "") {
|
|
253
|
-
writer.uint32(
|
|
224
|
+
writer.uint32(18).string(message.inputSourceId);
|
|
254
225
|
}
|
|
255
226
|
return writer;
|
|
256
227
|
},
|
|
@@ -272,13 +243,6 @@ exports.GetInputSourceRequest = {
|
|
|
272
243
|
if (tag !== 18) {
|
|
273
244
|
break;
|
|
274
245
|
}
|
|
275
|
-
message.workflowId = reader.string();
|
|
276
|
-
continue;
|
|
277
|
-
}
|
|
278
|
-
case 3: {
|
|
279
|
-
if (tag !== 26) {
|
|
280
|
-
break;
|
|
281
|
-
}
|
|
282
246
|
message.inputSourceId = reader.string();
|
|
283
247
|
continue;
|
|
284
248
|
}
|
|
@@ -297,11 +261,6 @@ exports.GetInputSourceRequest = {
|
|
|
297
261
|
: isSet(object.project_id)
|
|
298
262
|
? globalThis.String(object.project_id)
|
|
299
263
|
: "",
|
|
300
|
-
workflowId: isSet(object.workflowId)
|
|
301
|
-
? globalThis.String(object.workflowId)
|
|
302
|
-
: isSet(object.workflow_id)
|
|
303
|
-
? globalThis.String(object.workflow_id)
|
|
304
|
-
: "",
|
|
305
264
|
inputSourceId: isSet(object.inputSourceId)
|
|
306
265
|
? globalThis.String(object.inputSourceId)
|
|
307
266
|
: isSet(object.input_source_id)
|
|
@@ -314,9 +273,6 @@ exports.GetInputSourceRequest = {
|
|
|
314
273
|
if (message.projectId !== "") {
|
|
315
274
|
obj.projectId = message.projectId;
|
|
316
275
|
}
|
|
317
|
-
if (message.workflowId !== "") {
|
|
318
|
-
obj.workflowId = message.workflowId;
|
|
319
|
-
}
|
|
320
276
|
if (message.inputSourceId !== "") {
|
|
321
277
|
obj.inputSourceId = message.inputSourceId;
|
|
322
278
|
}
|
|
@@ -326,11 +282,10 @@ exports.GetInputSourceRequest = {
|
|
|
326
282
|
return exports.GetInputSourceRequest.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
327
283
|
},
|
|
328
284
|
fromPartial(object) {
|
|
329
|
-
var _a, _b
|
|
285
|
+
var _a, _b;
|
|
330
286
|
const message = createBaseGetInputSourceRequest();
|
|
331
287
|
message.projectId = (_a = object.projectId) !== null && _a !== void 0 ? _a : "";
|
|
332
|
-
message.
|
|
333
|
-
message.inputSourceId = (_c = object.inputSourceId) !== null && _c !== void 0 ? _c : "";
|
|
288
|
+
message.inputSourceId = (_b = object.inputSourceId) !== null && _b !== void 0 ? _b : "";
|
|
334
289
|
return message;
|
|
335
290
|
},
|
|
336
291
|
};
|
|
@@ -394,24 +349,24 @@ exports.GetInputSourceResponse = {
|
|
|
394
349
|
},
|
|
395
350
|
};
|
|
396
351
|
function createBaseListInputSourcesRequest() {
|
|
397
|
-
return { projectId: "",
|
|
352
|
+
return { projectId: "", includeArchived: false, pageSize: 0, pageToken: "", workflowId: "" };
|
|
398
353
|
}
|
|
399
354
|
exports.ListInputSourcesRequest = {
|
|
400
355
|
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
401
356
|
if (message.projectId !== "") {
|
|
402
357
|
writer.uint32(10).string(message.projectId);
|
|
403
358
|
}
|
|
404
|
-
if (message.workflowId !== "") {
|
|
405
|
-
writer.uint32(18).string(message.workflowId);
|
|
406
|
-
}
|
|
407
359
|
if (message.includeArchived !== false) {
|
|
408
|
-
writer.uint32(
|
|
360
|
+
writer.uint32(16).bool(message.includeArchived);
|
|
409
361
|
}
|
|
410
362
|
if (message.pageSize !== 0) {
|
|
411
|
-
writer.uint32(
|
|
363
|
+
writer.uint32(24).int32(message.pageSize);
|
|
412
364
|
}
|
|
413
365
|
if (message.pageToken !== "") {
|
|
414
|
-
writer.uint32(
|
|
366
|
+
writer.uint32(34).string(message.pageToken);
|
|
367
|
+
}
|
|
368
|
+
if (message.workflowId !== "") {
|
|
369
|
+
writer.uint32(42).string(message.workflowId);
|
|
415
370
|
}
|
|
416
371
|
return writer;
|
|
417
372
|
},
|
|
@@ -430,31 +385,31 @@ exports.ListInputSourcesRequest = {
|
|
|
430
385
|
continue;
|
|
431
386
|
}
|
|
432
387
|
case 2: {
|
|
433
|
-
if (tag !==
|
|
388
|
+
if (tag !== 16) {
|
|
434
389
|
break;
|
|
435
390
|
}
|
|
436
|
-
message.
|
|
391
|
+
message.includeArchived = reader.bool();
|
|
437
392
|
continue;
|
|
438
393
|
}
|
|
439
394
|
case 3: {
|
|
440
395
|
if (tag !== 24) {
|
|
441
396
|
break;
|
|
442
397
|
}
|
|
443
|
-
message.
|
|
398
|
+
message.pageSize = reader.int32();
|
|
444
399
|
continue;
|
|
445
400
|
}
|
|
446
401
|
case 4: {
|
|
447
|
-
if (tag !==
|
|
402
|
+
if (tag !== 34) {
|
|
448
403
|
break;
|
|
449
404
|
}
|
|
450
|
-
message.
|
|
405
|
+
message.pageToken = reader.string();
|
|
451
406
|
continue;
|
|
452
407
|
}
|
|
453
408
|
case 5: {
|
|
454
409
|
if (tag !== 42) {
|
|
455
410
|
break;
|
|
456
411
|
}
|
|
457
|
-
message.
|
|
412
|
+
message.workflowId = reader.string();
|
|
458
413
|
continue;
|
|
459
414
|
}
|
|
460
415
|
}
|
|
@@ -472,11 +427,6 @@ exports.ListInputSourcesRequest = {
|
|
|
472
427
|
: isSet(object.project_id)
|
|
473
428
|
? globalThis.String(object.project_id)
|
|
474
429
|
: "",
|
|
475
|
-
workflowId: isSet(object.workflowId)
|
|
476
|
-
? globalThis.String(object.workflowId)
|
|
477
|
-
: isSet(object.workflow_id)
|
|
478
|
-
? globalThis.String(object.workflow_id)
|
|
479
|
-
: "",
|
|
480
430
|
includeArchived: isSet(object.includeArchived)
|
|
481
431
|
? globalThis.Boolean(object.includeArchived)
|
|
482
432
|
: isSet(object.include_archived)
|
|
@@ -492,6 +442,11 @@ exports.ListInputSourcesRequest = {
|
|
|
492
442
|
: isSet(object.page_token)
|
|
493
443
|
? globalThis.String(object.page_token)
|
|
494
444
|
: "",
|
|
445
|
+
workflowId: isSet(object.workflowId)
|
|
446
|
+
? globalThis.String(object.workflowId)
|
|
447
|
+
: isSet(object.workflow_id)
|
|
448
|
+
? globalThis.String(object.workflow_id)
|
|
449
|
+
: "",
|
|
495
450
|
};
|
|
496
451
|
},
|
|
497
452
|
toJSON(message) {
|
|
@@ -499,9 +454,6 @@ exports.ListInputSourcesRequest = {
|
|
|
499
454
|
if (message.projectId !== "") {
|
|
500
455
|
obj.projectId = message.projectId;
|
|
501
456
|
}
|
|
502
|
-
if (message.workflowId !== "") {
|
|
503
|
-
obj.workflowId = message.workflowId;
|
|
504
|
-
}
|
|
505
457
|
if (message.includeArchived !== false) {
|
|
506
458
|
obj.includeArchived = message.includeArchived;
|
|
507
459
|
}
|
|
@@ -511,6 +463,9 @@ exports.ListInputSourcesRequest = {
|
|
|
511
463
|
if (message.pageToken !== "") {
|
|
512
464
|
obj.pageToken = message.pageToken;
|
|
513
465
|
}
|
|
466
|
+
if (message.workflowId !== "") {
|
|
467
|
+
obj.workflowId = message.workflowId;
|
|
468
|
+
}
|
|
514
469
|
return obj;
|
|
515
470
|
},
|
|
516
471
|
create(base) {
|
|
@@ -520,10 +475,10 @@ exports.ListInputSourcesRequest = {
|
|
|
520
475
|
var _a, _b, _c, _d, _e;
|
|
521
476
|
const message = createBaseListInputSourcesRequest();
|
|
522
477
|
message.projectId = (_a = object.projectId) !== null && _a !== void 0 ? _a : "";
|
|
523
|
-
message.
|
|
524
|
-
message.
|
|
525
|
-
message.
|
|
526
|
-
message.
|
|
478
|
+
message.includeArchived = (_b = object.includeArchived) !== null && _b !== void 0 ? _b : false;
|
|
479
|
+
message.pageSize = (_c = object.pageSize) !== null && _c !== void 0 ? _c : 0;
|
|
480
|
+
message.pageToken = (_d = object.pageToken) !== null && _d !== void 0 ? _d : "";
|
|
481
|
+
message.workflowId = (_e = object.workflowId) !== null && _e !== void 0 ? _e : "";
|
|
527
482
|
return message;
|
|
528
483
|
},
|
|
529
484
|
};
|
|
@@ -607,42 +562,30 @@ exports.ListInputSourcesResponse = {
|
|
|
607
562
|
},
|
|
608
563
|
};
|
|
609
564
|
function createBaseUpdateInputSourceRequest() {
|
|
610
|
-
return {
|
|
611
|
-
projectId: "",
|
|
612
|
-
workflowId: "",
|
|
613
|
-
inputSourceId: "",
|
|
614
|
-
name: "",
|
|
615
|
-
description: "",
|
|
616
|
-
originUri: "",
|
|
617
|
-
status: 0,
|
|
618
|
-
metadata: undefined,
|
|
619
|
-
};
|
|
565
|
+
return { projectId: "", inputSourceId: "", name: "", description: "", originUri: "", status: 0, metadata: undefined };
|
|
620
566
|
}
|
|
621
567
|
exports.UpdateInputSourceRequest = {
|
|
622
568
|
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
623
569
|
if (message.projectId !== "") {
|
|
624
570
|
writer.uint32(10).string(message.projectId);
|
|
625
571
|
}
|
|
626
|
-
if (message.workflowId !== "") {
|
|
627
|
-
writer.uint32(18).string(message.workflowId);
|
|
628
|
-
}
|
|
629
572
|
if (message.inputSourceId !== "") {
|
|
630
|
-
writer.uint32(
|
|
573
|
+
writer.uint32(18).string(message.inputSourceId);
|
|
631
574
|
}
|
|
632
575
|
if (message.name !== "") {
|
|
633
|
-
writer.uint32(
|
|
576
|
+
writer.uint32(26).string(message.name);
|
|
634
577
|
}
|
|
635
578
|
if (message.description !== "") {
|
|
636
|
-
writer.uint32(
|
|
579
|
+
writer.uint32(34).string(message.description);
|
|
637
580
|
}
|
|
638
581
|
if (message.originUri !== "") {
|
|
639
|
-
writer.uint32(
|
|
582
|
+
writer.uint32(42).string(message.originUri);
|
|
640
583
|
}
|
|
641
584
|
if (message.status !== 0) {
|
|
642
|
-
writer.uint32(
|
|
585
|
+
writer.uint32(48).int32(message.status);
|
|
643
586
|
}
|
|
644
587
|
if (message.metadata !== undefined) {
|
|
645
|
-
struct_pb_1.Struct.encode(struct_pb_1.Struct.wrap(message.metadata), writer.uint32(
|
|
588
|
+
struct_pb_1.Struct.encode(struct_pb_1.Struct.wrap(message.metadata), writer.uint32(58).fork()).join();
|
|
646
589
|
}
|
|
647
590
|
return writer;
|
|
648
591
|
},
|
|
@@ -664,46 +607,39 @@ exports.UpdateInputSourceRequest = {
|
|
|
664
607
|
if (tag !== 18) {
|
|
665
608
|
break;
|
|
666
609
|
}
|
|
667
|
-
message.
|
|
610
|
+
message.inputSourceId = reader.string();
|
|
668
611
|
continue;
|
|
669
612
|
}
|
|
670
613
|
case 3: {
|
|
671
614
|
if (tag !== 26) {
|
|
672
615
|
break;
|
|
673
616
|
}
|
|
674
|
-
message.
|
|
617
|
+
message.name = reader.string();
|
|
675
618
|
continue;
|
|
676
619
|
}
|
|
677
620
|
case 4: {
|
|
678
621
|
if (tag !== 34) {
|
|
679
622
|
break;
|
|
680
623
|
}
|
|
681
|
-
message.
|
|
624
|
+
message.description = reader.string();
|
|
682
625
|
continue;
|
|
683
626
|
}
|
|
684
627
|
case 5: {
|
|
685
628
|
if (tag !== 42) {
|
|
686
629
|
break;
|
|
687
630
|
}
|
|
688
|
-
message.description = reader.string();
|
|
689
|
-
continue;
|
|
690
|
-
}
|
|
691
|
-
case 6: {
|
|
692
|
-
if (tag !== 50) {
|
|
693
|
-
break;
|
|
694
|
-
}
|
|
695
631
|
message.originUri = reader.string();
|
|
696
632
|
continue;
|
|
697
633
|
}
|
|
698
|
-
case
|
|
699
|
-
if (tag !==
|
|
634
|
+
case 6: {
|
|
635
|
+
if (tag !== 48) {
|
|
700
636
|
break;
|
|
701
637
|
}
|
|
702
638
|
message.status = reader.int32();
|
|
703
639
|
continue;
|
|
704
640
|
}
|
|
705
|
-
case
|
|
706
|
-
if (tag !==
|
|
641
|
+
case 7: {
|
|
642
|
+
if (tag !== 58) {
|
|
707
643
|
break;
|
|
708
644
|
}
|
|
709
645
|
message.metadata = struct_pb_1.Struct.unwrap(struct_pb_1.Struct.decode(reader, reader.uint32()));
|
|
@@ -724,11 +660,6 @@ exports.UpdateInputSourceRequest = {
|
|
|
724
660
|
: isSet(object.project_id)
|
|
725
661
|
? globalThis.String(object.project_id)
|
|
726
662
|
: "",
|
|
727
|
-
workflowId: isSet(object.workflowId)
|
|
728
|
-
? globalThis.String(object.workflowId)
|
|
729
|
-
: isSet(object.workflow_id)
|
|
730
|
-
? globalThis.String(object.workflow_id)
|
|
731
|
-
: "",
|
|
732
663
|
inputSourceId: isSet(object.inputSourceId)
|
|
733
664
|
? globalThis.String(object.inputSourceId)
|
|
734
665
|
: isSet(object.input_source_id)
|
|
@@ -750,9 +681,6 @@ exports.UpdateInputSourceRequest = {
|
|
|
750
681
|
if (message.projectId !== "") {
|
|
751
682
|
obj.projectId = message.projectId;
|
|
752
683
|
}
|
|
753
|
-
if (message.workflowId !== "") {
|
|
754
|
-
obj.workflowId = message.workflowId;
|
|
755
|
-
}
|
|
756
684
|
if (message.inputSourceId !== "") {
|
|
757
685
|
obj.inputSourceId = message.inputSourceId;
|
|
758
686
|
}
|
|
@@ -777,16 +705,15 @@ exports.UpdateInputSourceRequest = {
|
|
|
777
705
|
return exports.UpdateInputSourceRequest.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
778
706
|
},
|
|
779
707
|
fromPartial(object) {
|
|
780
|
-
var _a, _b, _c, _d, _e, _f, _g
|
|
708
|
+
var _a, _b, _c, _d, _e, _f, _g;
|
|
781
709
|
const message = createBaseUpdateInputSourceRequest();
|
|
782
710
|
message.projectId = (_a = object.projectId) !== null && _a !== void 0 ? _a : "";
|
|
783
|
-
message.
|
|
784
|
-
message.
|
|
785
|
-
message.
|
|
786
|
-
message.
|
|
787
|
-
message.
|
|
788
|
-
message.
|
|
789
|
-
message.metadata = (_h = object.metadata) !== null && _h !== void 0 ? _h : undefined;
|
|
711
|
+
message.inputSourceId = (_b = object.inputSourceId) !== null && _b !== void 0 ? _b : "";
|
|
712
|
+
message.name = (_c = object.name) !== null && _c !== void 0 ? _c : "";
|
|
713
|
+
message.description = (_d = object.description) !== null && _d !== void 0 ? _d : "";
|
|
714
|
+
message.originUri = (_e = object.originUri) !== null && _e !== void 0 ? _e : "";
|
|
715
|
+
message.status = (_f = object.status) !== null && _f !== void 0 ? _f : 0;
|
|
716
|
+
message.metadata = (_g = object.metadata) !== null && _g !== void 0 ? _g : undefined;
|
|
790
717
|
return message;
|
|
791
718
|
},
|
|
792
719
|
};
|
|
@@ -850,18 +777,15 @@ exports.UpdateInputSourceResponse = {
|
|
|
850
777
|
},
|
|
851
778
|
};
|
|
852
779
|
function createBaseArchiveInputSourceRequest() {
|
|
853
|
-
return { projectId: "",
|
|
780
|
+
return { projectId: "", inputSourceId: "" };
|
|
854
781
|
}
|
|
855
782
|
exports.ArchiveInputSourceRequest = {
|
|
856
783
|
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
857
784
|
if (message.projectId !== "") {
|
|
858
785
|
writer.uint32(10).string(message.projectId);
|
|
859
786
|
}
|
|
860
|
-
if (message.workflowId !== "") {
|
|
861
|
-
writer.uint32(18).string(message.workflowId);
|
|
862
|
-
}
|
|
863
787
|
if (message.inputSourceId !== "") {
|
|
864
|
-
writer.uint32(
|
|
788
|
+
writer.uint32(18).string(message.inputSourceId);
|
|
865
789
|
}
|
|
866
790
|
return writer;
|
|
867
791
|
},
|
|
@@ -883,13 +807,6 @@ exports.ArchiveInputSourceRequest = {
|
|
|
883
807
|
if (tag !== 18) {
|
|
884
808
|
break;
|
|
885
809
|
}
|
|
886
|
-
message.workflowId = reader.string();
|
|
887
|
-
continue;
|
|
888
|
-
}
|
|
889
|
-
case 3: {
|
|
890
|
-
if (tag !== 26) {
|
|
891
|
-
break;
|
|
892
|
-
}
|
|
893
810
|
message.inputSourceId = reader.string();
|
|
894
811
|
continue;
|
|
895
812
|
}
|
|
@@ -908,11 +825,6 @@ exports.ArchiveInputSourceRequest = {
|
|
|
908
825
|
: isSet(object.project_id)
|
|
909
826
|
? globalThis.String(object.project_id)
|
|
910
827
|
: "",
|
|
911
|
-
workflowId: isSet(object.workflowId)
|
|
912
|
-
? globalThis.String(object.workflowId)
|
|
913
|
-
: isSet(object.workflow_id)
|
|
914
|
-
? globalThis.String(object.workflow_id)
|
|
915
|
-
: "",
|
|
916
828
|
inputSourceId: isSet(object.inputSourceId)
|
|
917
829
|
? globalThis.String(object.inputSourceId)
|
|
918
830
|
: isSet(object.input_source_id)
|
|
@@ -925,9 +837,6 @@ exports.ArchiveInputSourceRequest = {
|
|
|
925
837
|
if (message.projectId !== "") {
|
|
926
838
|
obj.projectId = message.projectId;
|
|
927
839
|
}
|
|
928
|
-
if (message.workflowId !== "") {
|
|
929
|
-
obj.workflowId = message.workflowId;
|
|
930
|
-
}
|
|
931
840
|
if (message.inputSourceId !== "") {
|
|
932
841
|
obj.inputSourceId = message.inputSourceId;
|
|
933
842
|
}
|
|
@@ -937,11 +846,10 @@ exports.ArchiveInputSourceRequest = {
|
|
|
937
846
|
return exports.ArchiveInputSourceRequest.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
938
847
|
},
|
|
939
848
|
fromPartial(object) {
|
|
940
|
-
var _a, _b
|
|
849
|
+
var _a, _b;
|
|
941
850
|
const message = createBaseArchiveInputSourceRequest();
|
|
942
851
|
message.projectId = (_a = object.projectId) !== null && _a !== void 0 ? _a : "";
|
|
943
|
-
message.
|
|
944
|
-
message.inputSourceId = (_c = object.inputSourceId) !== null && _c !== void 0 ? _c : "";
|
|
852
|
+
message.inputSourceId = (_b = object.inputSourceId) !== null && _b !== void 0 ? _b : "";
|
|
945
853
|
return message;
|
|
946
854
|
},
|
|
947
855
|
};
|
|
@@ -1005,18 +913,15 @@ exports.ArchiveInputSourceResponse = {
|
|
|
1005
913
|
},
|
|
1006
914
|
};
|
|
1007
915
|
function createBaseDeleteInputSourceRequest() {
|
|
1008
|
-
return { projectId: "",
|
|
916
|
+
return { projectId: "", inputSourceId: "" };
|
|
1009
917
|
}
|
|
1010
918
|
exports.DeleteInputSourceRequest = {
|
|
1011
919
|
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
1012
920
|
if (message.projectId !== "") {
|
|
1013
921
|
writer.uint32(10).string(message.projectId);
|
|
1014
922
|
}
|
|
1015
|
-
if (message.workflowId !== "") {
|
|
1016
|
-
writer.uint32(18).string(message.workflowId);
|
|
1017
|
-
}
|
|
1018
923
|
if (message.inputSourceId !== "") {
|
|
1019
|
-
writer.uint32(
|
|
924
|
+
writer.uint32(18).string(message.inputSourceId);
|
|
1020
925
|
}
|
|
1021
926
|
return writer;
|
|
1022
927
|
},
|
|
@@ -1038,13 +943,6 @@ exports.DeleteInputSourceRequest = {
|
|
|
1038
943
|
if (tag !== 18) {
|
|
1039
944
|
break;
|
|
1040
945
|
}
|
|
1041
|
-
message.workflowId = reader.string();
|
|
1042
|
-
continue;
|
|
1043
|
-
}
|
|
1044
|
-
case 3: {
|
|
1045
|
-
if (tag !== 26) {
|
|
1046
|
-
break;
|
|
1047
|
-
}
|
|
1048
946
|
message.inputSourceId = reader.string();
|
|
1049
947
|
continue;
|
|
1050
948
|
}
|
|
@@ -1063,11 +961,6 @@ exports.DeleteInputSourceRequest = {
|
|
|
1063
961
|
: isSet(object.project_id)
|
|
1064
962
|
? globalThis.String(object.project_id)
|
|
1065
963
|
: "",
|
|
1066
|
-
workflowId: isSet(object.workflowId)
|
|
1067
|
-
? globalThis.String(object.workflowId)
|
|
1068
|
-
: isSet(object.workflow_id)
|
|
1069
|
-
? globalThis.String(object.workflow_id)
|
|
1070
|
-
: "",
|
|
1071
964
|
inputSourceId: isSet(object.inputSourceId)
|
|
1072
965
|
? globalThis.String(object.inputSourceId)
|
|
1073
966
|
: isSet(object.input_source_id)
|
|
@@ -1080,9 +973,6 @@ exports.DeleteInputSourceRequest = {
|
|
|
1080
973
|
if (message.projectId !== "") {
|
|
1081
974
|
obj.projectId = message.projectId;
|
|
1082
975
|
}
|
|
1083
|
-
if (message.workflowId !== "") {
|
|
1084
|
-
obj.workflowId = message.workflowId;
|
|
1085
|
-
}
|
|
1086
976
|
if (message.inputSourceId !== "") {
|
|
1087
977
|
obj.inputSourceId = message.inputSourceId;
|
|
1088
978
|
}
|
|
@@ -1092,11 +982,10 @@ exports.DeleteInputSourceRequest = {
|
|
|
1092
982
|
return exports.DeleteInputSourceRequest.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
1093
983
|
},
|
|
1094
984
|
fromPartial(object) {
|
|
1095
|
-
var _a, _b
|
|
985
|
+
var _a, _b;
|
|
1096
986
|
const message = createBaseDeleteInputSourceRequest();
|
|
1097
987
|
message.projectId = (_a = object.projectId) !== null && _a !== void 0 ? _a : "";
|
|
1098
|
-
message.
|
|
1099
|
-
message.inputSourceId = (_c = object.inputSourceId) !== null && _c !== void 0 ? _c : "";
|
|
988
|
+
message.inputSourceId = (_b = object.inputSourceId) !== null && _b !== void 0 ? _b : "";
|
|
1100
989
|
return message;
|
|
1101
990
|
},
|
|
1102
991
|
};
|
|
@@ -1137,19 +1026,10 @@ exports.DeleteInputSourceResponse = {
|
|
|
1137
1026
|
return message;
|
|
1138
1027
|
},
|
|
1139
1028
|
};
|
|
1140
|
-
function
|
|
1141
|
-
return {
|
|
1142
|
-
projectId: "",
|
|
1143
|
-
workflowId: "",
|
|
1144
|
-
inputSourceId: "",
|
|
1145
|
-
checksum: "",
|
|
1146
|
-
contentUri: "",
|
|
1147
|
-
status: 0,
|
|
1148
|
-
parsedSummary: undefined,
|
|
1149
|
-
metadata: undefined,
|
|
1150
|
-
};
|
|
1029
|
+
function createBaseAttachInputSourceToWorkflowRequest() {
|
|
1030
|
+
return { projectId: "", workflowId: "", inputSourceId: "", attachedBy: "", metadata: undefined };
|
|
1151
1031
|
}
|
|
1152
|
-
exports.
|
|
1032
|
+
exports.AttachInputSourceToWorkflowRequest = {
|
|
1153
1033
|
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
1154
1034
|
if (message.projectId !== "") {
|
|
1155
1035
|
writer.uint32(10).string(message.projectId);
|
|
@@ -1160,27 +1040,18 @@ exports.CreateInputVersionRequest = {
|
|
|
1160
1040
|
if (message.inputSourceId !== "") {
|
|
1161
1041
|
writer.uint32(26).string(message.inputSourceId);
|
|
1162
1042
|
}
|
|
1163
|
-
if (message.
|
|
1164
|
-
writer.uint32(34).string(message.
|
|
1165
|
-
}
|
|
1166
|
-
if (message.contentUri !== "") {
|
|
1167
|
-
writer.uint32(42).string(message.contentUri);
|
|
1168
|
-
}
|
|
1169
|
-
if (message.status !== 0) {
|
|
1170
|
-
writer.uint32(48).int32(message.status);
|
|
1171
|
-
}
|
|
1172
|
-
if (message.parsedSummary !== undefined) {
|
|
1173
|
-
struct_pb_1.Struct.encode(struct_pb_1.Struct.wrap(message.parsedSummary), writer.uint32(58).fork()).join();
|
|
1043
|
+
if (message.attachedBy !== "") {
|
|
1044
|
+
writer.uint32(34).string(message.attachedBy);
|
|
1174
1045
|
}
|
|
1175
1046
|
if (message.metadata !== undefined) {
|
|
1176
|
-
struct_pb_1.Struct.encode(struct_pb_1.Struct.wrap(message.metadata), writer.uint32(
|
|
1047
|
+
struct_pb_1.Struct.encode(struct_pb_1.Struct.wrap(message.metadata), writer.uint32(42).fork()).join();
|
|
1177
1048
|
}
|
|
1178
1049
|
return writer;
|
|
1179
1050
|
},
|
|
1180
1051
|
decode(input, length) {
|
|
1181
1052
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
1182
1053
|
const end = length === undefined ? reader.len : reader.pos + length;
|
|
1183
|
-
const message =
|
|
1054
|
+
const message = createBaseAttachInputSourceToWorkflowRequest();
|
|
1184
1055
|
while (reader.pos < end) {
|
|
1185
1056
|
const tag = reader.uint32();
|
|
1186
1057
|
switch (tag >>> 3) {
|
|
@@ -1209,34 +1080,13 @@ exports.CreateInputVersionRequest = {
|
|
|
1209
1080
|
if (tag !== 34) {
|
|
1210
1081
|
break;
|
|
1211
1082
|
}
|
|
1212
|
-
message.
|
|
1083
|
+
message.attachedBy = reader.string();
|
|
1213
1084
|
continue;
|
|
1214
1085
|
}
|
|
1215
1086
|
case 5: {
|
|
1216
1087
|
if (tag !== 42) {
|
|
1217
1088
|
break;
|
|
1218
1089
|
}
|
|
1219
|
-
message.contentUri = reader.string();
|
|
1220
|
-
continue;
|
|
1221
|
-
}
|
|
1222
|
-
case 6: {
|
|
1223
|
-
if (tag !== 48) {
|
|
1224
|
-
break;
|
|
1225
|
-
}
|
|
1226
|
-
message.status = reader.int32();
|
|
1227
|
-
continue;
|
|
1228
|
-
}
|
|
1229
|
-
case 7: {
|
|
1230
|
-
if (tag !== 58) {
|
|
1231
|
-
break;
|
|
1232
|
-
}
|
|
1233
|
-
message.parsedSummary = struct_pb_1.Struct.unwrap(struct_pb_1.Struct.decode(reader, reader.uint32()));
|
|
1234
|
-
continue;
|
|
1235
|
-
}
|
|
1236
|
-
case 8: {
|
|
1237
|
-
if (tag !== 66) {
|
|
1238
|
-
break;
|
|
1239
|
-
}
|
|
1240
1090
|
message.metadata = struct_pb_1.Struct.unwrap(struct_pb_1.Struct.decode(reader, reader.uint32()));
|
|
1241
1091
|
continue;
|
|
1242
1092
|
}
|
|
@@ -1265,18 +1115,11 @@ exports.CreateInputVersionRequest = {
|
|
|
1265
1115
|
: isSet(object.input_source_id)
|
|
1266
1116
|
? globalThis.String(object.input_source_id)
|
|
1267
1117
|
: "",
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
|
|
1271
|
-
|
|
1272
|
-
? globalThis.String(object.content_uri)
|
|
1118
|
+
attachedBy: isSet(object.attachedBy)
|
|
1119
|
+
? globalThis.String(object.attachedBy)
|
|
1120
|
+
: isSet(object.attached_by)
|
|
1121
|
+
? globalThis.String(object.attached_by)
|
|
1273
1122
|
: "",
|
|
1274
|
-
status: isSet(object.status) ? (0, input_pb_1.inputStatusFromJSON)(object.status) : 0,
|
|
1275
|
-
parsedSummary: isObject(object.parsedSummary)
|
|
1276
|
-
? object.parsedSummary
|
|
1277
|
-
: isObject(object.parsed_summary)
|
|
1278
|
-
? object.parsed_summary
|
|
1279
|
-
: undefined,
|
|
1280
1123
|
metadata: isObject(object.metadata) ? object.metadata : undefined,
|
|
1281
1124
|
};
|
|
1282
1125
|
},
|
|
@@ -1291,17 +1134,8 @@ exports.CreateInputVersionRequest = {
|
|
|
1291
1134
|
if (message.inputSourceId !== "") {
|
|
1292
1135
|
obj.inputSourceId = message.inputSourceId;
|
|
1293
1136
|
}
|
|
1294
|
-
if (message.
|
|
1295
|
-
obj.
|
|
1296
|
-
}
|
|
1297
|
-
if (message.contentUri !== "") {
|
|
1298
|
-
obj.contentUri = message.contentUri;
|
|
1299
|
-
}
|
|
1300
|
-
if (message.status !== 0) {
|
|
1301
|
-
obj.status = (0, input_pb_1.inputStatusToJSON)(message.status);
|
|
1302
|
-
}
|
|
1303
|
-
if (message.parsedSummary !== undefined) {
|
|
1304
|
-
obj.parsedSummary = message.parsedSummary;
|
|
1137
|
+
if (message.attachedBy !== "") {
|
|
1138
|
+
obj.attachedBy = message.attachedBy;
|
|
1305
1139
|
}
|
|
1306
1140
|
if (message.metadata !== undefined) {
|
|
1307
1141
|
obj.metadata = message.metadata;
|
|
@@ -1309,36 +1143,33 @@ exports.CreateInputVersionRequest = {
|
|
|
1309
1143
|
return obj;
|
|
1310
1144
|
},
|
|
1311
1145
|
create(base) {
|
|
1312
|
-
return exports.
|
|
1146
|
+
return exports.AttachInputSourceToWorkflowRequest.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
1313
1147
|
},
|
|
1314
1148
|
fromPartial(object) {
|
|
1315
|
-
var _a, _b, _c, _d, _e
|
|
1316
|
-
const message =
|
|
1149
|
+
var _a, _b, _c, _d, _e;
|
|
1150
|
+
const message = createBaseAttachInputSourceToWorkflowRequest();
|
|
1317
1151
|
message.projectId = (_a = object.projectId) !== null && _a !== void 0 ? _a : "";
|
|
1318
1152
|
message.workflowId = (_b = object.workflowId) !== null && _b !== void 0 ? _b : "";
|
|
1319
1153
|
message.inputSourceId = (_c = object.inputSourceId) !== null && _c !== void 0 ? _c : "";
|
|
1320
|
-
message.
|
|
1321
|
-
message.
|
|
1322
|
-
message.status = (_f = object.status) !== null && _f !== void 0 ? _f : 0;
|
|
1323
|
-
message.parsedSummary = (_g = object.parsedSummary) !== null && _g !== void 0 ? _g : undefined;
|
|
1324
|
-
message.metadata = (_h = object.metadata) !== null && _h !== void 0 ? _h : undefined;
|
|
1154
|
+
message.attachedBy = (_d = object.attachedBy) !== null && _d !== void 0 ? _d : "";
|
|
1155
|
+
message.metadata = (_e = object.metadata) !== null && _e !== void 0 ? _e : undefined;
|
|
1325
1156
|
return message;
|
|
1326
1157
|
},
|
|
1327
1158
|
};
|
|
1328
|
-
function
|
|
1329
|
-
return {
|
|
1159
|
+
function createBaseAttachInputSourceToWorkflowResponse() {
|
|
1160
|
+
return { binding: undefined };
|
|
1330
1161
|
}
|
|
1331
|
-
exports.
|
|
1162
|
+
exports.AttachInputSourceToWorkflowResponse = {
|
|
1332
1163
|
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
1333
|
-
if (message.
|
|
1334
|
-
|
|
1164
|
+
if (message.binding !== undefined) {
|
|
1165
|
+
exports.WorkflowInputSourceBinding.encode(message.binding, writer.uint32(10).fork()).join();
|
|
1335
1166
|
}
|
|
1336
1167
|
return writer;
|
|
1337
1168
|
},
|
|
1338
1169
|
decode(input, length) {
|
|
1339
1170
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
1340
1171
|
const end = length === undefined ? reader.len : reader.pos + length;
|
|
1341
|
-
const message =
|
|
1172
|
+
const message = createBaseAttachInputSourceToWorkflowResponse();
|
|
1342
1173
|
while (reader.pos < end) {
|
|
1343
1174
|
const tag = reader.uint32();
|
|
1344
1175
|
switch (tag >>> 3) {
|
|
@@ -1346,7 +1177,7 @@ exports.CreateInputVersionResponse = {
|
|
|
1346
1177
|
if (tag !== 10) {
|
|
1347
1178
|
break;
|
|
1348
1179
|
}
|
|
1349
|
-
message.
|
|
1180
|
+
message.binding = exports.WorkflowInputSourceBinding.decode(reader, reader.uint32());
|
|
1350
1181
|
continue;
|
|
1351
1182
|
}
|
|
1352
1183
|
}
|
|
@@ -1358,36 +1189,30 @@ exports.CreateInputVersionResponse = {
|
|
|
1358
1189
|
return message;
|
|
1359
1190
|
},
|
|
1360
1191
|
fromJSON(object) {
|
|
1361
|
-
return {
|
|
1362
|
-
inputVersion: isSet(object.inputVersion)
|
|
1363
|
-
? input_pb_1.InputVersion.fromJSON(object.inputVersion)
|
|
1364
|
-
: isSet(object.input_version)
|
|
1365
|
-
? input_pb_1.InputVersion.fromJSON(object.input_version)
|
|
1366
|
-
: undefined,
|
|
1367
|
-
};
|
|
1192
|
+
return { binding: isSet(object.binding) ? exports.WorkflowInputSourceBinding.fromJSON(object.binding) : undefined };
|
|
1368
1193
|
},
|
|
1369
1194
|
toJSON(message) {
|
|
1370
1195
|
const obj = {};
|
|
1371
|
-
if (message.
|
|
1372
|
-
obj.
|
|
1196
|
+
if (message.binding !== undefined) {
|
|
1197
|
+
obj.binding = exports.WorkflowInputSourceBinding.toJSON(message.binding);
|
|
1373
1198
|
}
|
|
1374
1199
|
return obj;
|
|
1375
1200
|
},
|
|
1376
1201
|
create(base) {
|
|
1377
|
-
return exports.
|
|
1202
|
+
return exports.AttachInputSourceToWorkflowResponse.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
1378
1203
|
},
|
|
1379
1204
|
fromPartial(object) {
|
|
1380
|
-
const message =
|
|
1381
|
-
message.
|
|
1382
|
-
?
|
|
1205
|
+
const message = createBaseAttachInputSourceToWorkflowResponse();
|
|
1206
|
+
message.binding = (object.binding !== undefined && object.binding !== null)
|
|
1207
|
+
? exports.WorkflowInputSourceBinding.fromPartial(object.binding)
|
|
1383
1208
|
: undefined;
|
|
1384
1209
|
return message;
|
|
1385
1210
|
},
|
|
1386
1211
|
};
|
|
1387
|
-
function
|
|
1388
|
-
return { projectId: "", workflowId: "", inputSourceId: ""
|
|
1212
|
+
function createBaseDetachInputSourceFromWorkflowRequest() {
|
|
1213
|
+
return { projectId: "", workflowId: "", inputSourceId: "" };
|
|
1389
1214
|
}
|
|
1390
|
-
exports.
|
|
1215
|
+
exports.DetachInputSourceFromWorkflowRequest = {
|
|
1391
1216
|
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
1392
1217
|
if (message.projectId !== "") {
|
|
1393
1218
|
writer.uint32(10).string(message.projectId);
|
|
@@ -1398,15 +1223,12 @@ exports.GetInputVersionRequest = {
|
|
|
1398
1223
|
if (message.inputSourceId !== "") {
|
|
1399
1224
|
writer.uint32(26).string(message.inputSourceId);
|
|
1400
1225
|
}
|
|
1401
|
-
if (message.inputVersionId !== "") {
|
|
1402
|
-
writer.uint32(34).string(message.inputVersionId);
|
|
1403
|
-
}
|
|
1404
1226
|
return writer;
|
|
1405
1227
|
},
|
|
1406
1228
|
decode(input, length) {
|
|
1407
1229
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
1408
1230
|
const end = length === undefined ? reader.len : reader.pos + length;
|
|
1409
|
-
const message =
|
|
1231
|
+
const message = createBaseDetachInputSourceFromWorkflowRequest();
|
|
1410
1232
|
while (reader.pos < end) {
|
|
1411
1233
|
const tag = reader.uint32();
|
|
1412
1234
|
switch (tag >>> 3) {
|
|
@@ -1431,13 +1253,6 @@ exports.GetInputVersionRequest = {
|
|
|
1431
1253
|
message.inputSourceId = reader.string();
|
|
1432
1254
|
continue;
|
|
1433
1255
|
}
|
|
1434
|
-
case 4: {
|
|
1435
|
-
if (tag !== 34) {
|
|
1436
|
-
break;
|
|
1437
|
-
}
|
|
1438
|
-
message.inputVersionId = reader.string();
|
|
1439
|
-
continue;
|
|
1440
|
-
}
|
|
1441
1256
|
}
|
|
1442
1257
|
if ((tag & 7) === 4 || tag === 0) {
|
|
1443
1258
|
break;
|
|
@@ -1463,11 +1278,6 @@ exports.GetInputVersionRequest = {
|
|
|
1463
1278
|
: isSet(object.input_source_id)
|
|
1464
1279
|
? globalThis.String(object.input_source_id)
|
|
1465
1280
|
: "",
|
|
1466
|
-
inputVersionId: isSet(object.inputVersionId)
|
|
1467
|
-
? globalThis.String(object.inputVersionId)
|
|
1468
|
-
: isSet(object.input_version_id)
|
|
1469
|
-
? globalThis.String(object.input_version_id)
|
|
1470
|
-
: "",
|
|
1471
1281
|
};
|
|
1472
1282
|
},
|
|
1473
1283
|
toJSON(message) {
|
|
@@ -1481,48 +1291,34 @@ exports.GetInputVersionRequest = {
|
|
|
1481
1291
|
if (message.inputSourceId !== "") {
|
|
1482
1292
|
obj.inputSourceId = message.inputSourceId;
|
|
1483
1293
|
}
|
|
1484
|
-
if (message.inputVersionId !== "") {
|
|
1485
|
-
obj.inputVersionId = message.inputVersionId;
|
|
1486
|
-
}
|
|
1487
1294
|
return obj;
|
|
1488
1295
|
},
|
|
1489
1296
|
create(base) {
|
|
1490
|
-
return exports.
|
|
1297
|
+
return exports.DetachInputSourceFromWorkflowRequest.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
1491
1298
|
},
|
|
1492
1299
|
fromPartial(object) {
|
|
1493
|
-
var _a, _b, _c
|
|
1494
|
-
const message =
|
|
1300
|
+
var _a, _b, _c;
|
|
1301
|
+
const message = createBaseDetachInputSourceFromWorkflowRequest();
|
|
1495
1302
|
message.projectId = (_a = object.projectId) !== null && _a !== void 0 ? _a : "";
|
|
1496
1303
|
message.workflowId = (_b = object.workflowId) !== null && _b !== void 0 ? _b : "";
|
|
1497
1304
|
message.inputSourceId = (_c = object.inputSourceId) !== null && _c !== void 0 ? _c : "";
|
|
1498
|
-
message.inputVersionId = (_d = object.inputVersionId) !== null && _d !== void 0 ? _d : "";
|
|
1499
1305
|
return message;
|
|
1500
1306
|
},
|
|
1501
1307
|
};
|
|
1502
|
-
function
|
|
1503
|
-
return {
|
|
1308
|
+
function createBaseDetachInputSourceFromWorkflowResponse() {
|
|
1309
|
+
return {};
|
|
1504
1310
|
}
|
|
1505
|
-
exports.
|
|
1506
|
-
encode(
|
|
1507
|
-
if (message.inputVersion !== undefined) {
|
|
1508
|
-
input_pb_1.InputVersion.encode(message.inputVersion, writer.uint32(10).fork()).join();
|
|
1509
|
-
}
|
|
1311
|
+
exports.DetachInputSourceFromWorkflowResponse = {
|
|
1312
|
+
encode(_, writer = new wire_1.BinaryWriter()) {
|
|
1510
1313
|
return writer;
|
|
1511
1314
|
},
|
|
1512
1315
|
decode(input, length) {
|
|
1513
1316
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
1514
1317
|
const end = length === undefined ? reader.len : reader.pos + length;
|
|
1515
|
-
const message =
|
|
1318
|
+
const message = createBaseDetachInputSourceFromWorkflowResponse();
|
|
1516
1319
|
while (reader.pos < end) {
|
|
1517
1320
|
const tag = reader.uint32();
|
|
1518
1321
|
switch (tag >>> 3) {
|
|
1519
|
-
case 1: {
|
|
1520
|
-
if (tag !== 10) {
|
|
1521
|
-
break;
|
|
1522
|
-
}
|
|
1523
|
-
message.inputVersion = input_pb_1.InputVersion.decode(reader, reader.uint32());
|
|
1524
|
-
continue;
|
|
1525
|
-
}
|
|
1526
1322
|
}
|
|
1527
1323
|
if ((tag & 7) === 4 || tag === 0) {
|
|
1528
1324
|
break;
|
|
@@ -1531,37 +1327,25 @@ exports.GetInputVersionResponse = {
|
|
|
1531
1327
|
}
|
|
1532
1328
|
return message;
|
|
1533
1329
|
},
|
|
1534
|
-
fromJSON(
|
|
1535
|
-
return {
|
|
1536
|
-
inputVersion: isSet(object.inputVersion)
|
|
1537
|
-
? input_pb_1.InputVersion.fromJSON(object.inputVersion)
|
|
1538
|
-
: isSet(object.input_version)
|
|
1539
|
-
? input_pb_1.InputVersion.fromJSON(object.input_version)
|
|
1540
|
-
: undefined,
|
|
1541
|
-
};
|
|
1330
|
+
fromJSON(_) {
|
|
1331
|
+
return {};
|
|
1542
1332
|
},
|
|
1543
|
-
toJSON(
|
|
1333
|
+
toJSON(_) {
|
|
1544
1334
|
const obj = {};
|
|
1545
|
-
if (message.inputVersion !== undefined) {
|
|
1546
|
-
obj.inputVersion = input_pb_1.InputVersion.toJSON(message.inputVersion);
|
|
1547
|
-
}
|
|
1548
1335
|
return obj;
|
|
1549
1336
|
},
|
|
1550
1337
|
create(base) {
|
|
1551
|
-
return exports.
|
|
1338
|
+
return exports.DetachInputSourceFromWorkflowResponse.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
1552
1339
|
},
|
|
1553
|
-
fromPartial(
|
|
1554
|
-
const message =
|
|
1555
|
-
message.inputVersion = (object.inputVersion !== undefined && object.inputVersion !== null)
|
|
1556
|
-
? input_pb_1.InputVersion.fromPartial(object.inputVersion)
|
|
1557
|
-
: undefined;
|
|
1340
|
+
fromPartial(_) {
|
|
1341
|
+
const message = createBaseDetachInputSourceFromWorkflowResponse();
|
|
1558
1342
|
return message;
|
|
1559
1343
|
},
|
|
1560
1344
|
};
|
|
1561
|
-
function
|
|
1562
|
-
return { projectId: "", workflowId: "",
|
|
1345
|
+
function createBaseListWorkflowInputSourceBindingsRequest() {
|
|
1346
|
+
return { projectId: "", workflowId: "", pageSize: 0, pageToken: "" };
|
|
1563
1347
|
}
|
|
1564
|
-
exports.
|
|
1348
|
+
exports.ListWorkflowInputSourceBindingsRequest = {
|
|
1565
1349
|
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
1566
1350
|
if (message.projectId !== "") {
|
|
1567
1351
|
writer.uint32(10).string(message.projectId);
|
|
@@ -1569,21 +1353,18 @@ exports.ListInputVersionsRequest = {
|
|
|
1569
1353
|
if (message.workflowId !== "") {
|
|
1570
1354
|
writer.uint32(18).string(message.workflowId);
|
|
1571
1355
|
}
|
|
1572
|
-
if (message.inputSourceId !== "") {
|
|
1573
|
-
writer.uint32(26).string(message.inputSourceId);
|
|
1574
|
-
}
|
|
1575
1356
|
if (message.pageSize !== 0) {
|
|
1576
|
-
writer.uint32(
|
|
1357
|
+
writer.uint32(24).int32(message.pageSize);
|
|
1577
1358
|
}
|
|
1578
1359
|
if (message.pageToken !== "") {
|
|
1579
|
-
writer.uint32(
|
|
1360
|
+
writer.uint32(34).string(message.pageToken);
|
|
1580
1361
|
}
|
|
1581
1362
|
return writer;
|
|
1582
1363
|
},
|
|
1583
1364
|
decode(input, length) {
|
|
1584
1365
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
1585
1366
|
const end = length === undefined ? reader.len : reader.pos + length;
|
|
1586
|
-
const message =
|
|
1367
|
+
const message = createBaseListWorkflowInputSourceBindingsRequest();
|
|
1587
1368
|
while (reader.pos < end) {
|
|
1588
1369
|
const tag = reader.uint32();
|
|
1589
1370
|
switch (tag >>> 3) {
|
|
@@ -1602,21 +1383,14 @@ exports.ListInputVersionsRequest = {
|
|
|
1602
1383
|
continue;
|
|
1603
1384
|
}
|
|
1604
1385
|
case 3: {
|
|
1605
|
-
if (tag !==
|
|
1606
|
-
break;
|
|
1607
|
-
}
|
|
1608
|
-
message.inputSourceId = reader.string();
|
|
1609
|
-
continue;
|
|
1610
|
-
}
|
|
1611
|
-
case 4: {
|
|
1612
|
-
if (tag !== 32) {
|
|
1386
|
+
if (tag !== 24) {
|
|
1613
1387
|
break;
|
|
1614
1388
|
}
|
|
1615
1389
|
message.pageSize = reader.int32();
|
|
1616
1390
|
continue;
|
|
1617
1391
|
}
|
|
1618
|
-
case
|
|
1619
|
-
if (tag !==
|
|
1392
|
+
case 4: {
|
|
1393
|
+
if (tag !== 34) {
|
|
1620
1394
|
break;
|
|
1621
1395
|
}
|
|
1622
1396
|
message.pageToken = reader.string();
|
|
@@ -1642,11 +1416,6 @@ exports.ListInputVersionsRequest = {
|
|
|
1642
1416
|
: isSet(object.workflow_id)
|
|
1643
1417
|
? globalThis.String(object.workflow_id)
|
|
1644
1418
|
: "",
|
|
1645
|
-
inputSourceId: isSet(object.inputSourceId)
|
|
1646
|
-
? globalThis.String(object.inputSourceId)
|
|
1647
|
-
: isSet(object.input_source_id)
|
|
1648
|
-
? globalThis.String(object.input_source_id)
|
|
1649
|
-
: "",
|
|
1650
1419
|
pageSize: isSet(object.pageSize)
|
|
1651
1420
|
? globalThis.Number(object.pageSize)
|
|
1652
1421
|
: isSet(object.page_size)
|
|
@@ -1667,9 +1436,6 @@ exports.ListInputVersionsRequest = {
|
|
|
1667
1436
|
if (message.workflowId !== "") {
|
|
1668
1437
|
obj.workflowId = message.workflowId;
|
|
1669
1438
|
}
|
|
1670
|
-
if (message.inputSourceId !== "") {
|
|
1671
|
-
obj.inputSourceId = message.inputSourceId;
|
|
1672
|
-
}
|
|
1673
1439
|
if (message.pageSize !== 0) {
|
|
1674
1440
|
obj.pageSize = Math.round(message.pageSize);
|
|
1675
1441
|
}
|
|
@@ -1679,26 +1445,25 @@ exports.ListInputVersionsRequest = {
|
|
|
1679
1445
|
return obj;
|
|
1680
1446
|
},
|
|
1681
1447
|
create(base) {
|
|
1682
|
-
return exports.
|
|
1448
|
+
return exports.ListWorkflowInputSourceBindingsRequest.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
1683
1449
|
},
|
|
1684
1450
|
fromPartial(object) {
|
|
1685
|
-
var _a, _b, _c, _d
|
|
1686
|
-
const message =
|
|
1451
|
+
var _a, _b, _c, _d;
|
|
1452
|
+
const message = createBaseListWorkflowInputSourceBindingsRequest();
|
|
1687
1453
|
message.projectId = (_a = object.projectId) !== null && _a !== void 0 ? _a : "";
|
|
1688
1454
|
message.workflowId = (_b = object.workflowId) !== null && _b !== void 0 ? _b : "";
|
|
1689
|
-
message.
|
|
1690
|
-
message.
|
|
1691
|
-
message.pageToken = (_e = object.pageToken) !== null && _e !== void 0 ? _e : "";
|
|
1455
|
+
message.pageSize = (_c = object.pageSize) !== null && _c !== void 0 ? _c : 0;
|
|
1456
|
+
message.pageToken = (_d = object.pageToken) !== null && _d !== void 0 ? _d : "";
|
|
1692
1457
|
return message;
|
|
1693
1458
|
},
|
|
1694
1459
|
};
|
|
1695
|
-
function
|
|
1696
|
-
return {
|
|
1460
|
+
function createBaseListWorkflowInputSourceBindingsResponse() {
|
|
1461
|
+
return { bindings: [], nextPageToken: "" };
|
|
1697
1462
|
}
|
|
1698
|
-
exports.
|
|
1463
|
+
exports.ListWorkflowInputSourceBindingsResponse = {
|
|
1699
1464
|
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
1700
|
-
for (const v of message.
|
|
1701
|
-
|
|
1465
|
+
for (const v of message.bindings) {
|
|
1466
|
+
exports.WorkflowInputSourceBinding.encode(v, writer.uint32(10).fork()).join();
|
|
1702
1467
|
}
|
|
1703
1468
|
if (message.nextPageToken !== "") {
|
|
1704
1469
|
writer.uint32(18).string(message.nextPageToken);
|
|
@@ -1708,7 +1473,7 @@ exports.ListInputVersionsResponse = {
|
|
|
1708
1473
|
decode(input, length) {
|
|
1709
1474
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
1710
1475
|
const end = length === undefined ? reader.len : reader.pos + length;
|
|
1711
|
-
const message =
|
|
1476
|
+
const message = createBaseListWorkflowInputSourceBindingsResponse();
|
|
1712
1477
|
while (reader.pos < end) {
|
|
1713
1478
|
const tag = reader.uint32();
|
|
1714
1479
|
switch (tag >>> 3) {
|
|
@@ -1716,7 +1481,7 @@ exports.ListInputVersionsResponse = {
|
|
|
1716
1481
|
if (tag !== 10) {
|
|
1717
1482
|
break;
|
|
1718
1483
|
}
|
|
1719
|
-
message.
|
|
1484
|
+
message.bindings.push(exports.WorkflowInputSourceBinding.decode(reader, reader.uint32()));
|
|
1720
1485
|
continue;
|
|
1721
1486
|
}
|
|
1722
1487
|
case 2: {
|
|
@@ -1736,11 +1501,9 @@ exports.ListInputVersionsResponse = {
|
|
|
1736
1501
|
},
|
|
1737
1502
|
fromJSON(object) {
|
|
1738
1503
|
return {
|
|
1739
|
-
|
|
1740
|
-
? object.
|
|
1741
|
-
:
|
|
1742
|
-
? object.input_versions.map((e) => input_pb_1.InputVersion.fromJSON(e))
|
|
1743
|
-
: [],
|
|
1504
|
+
bindings: globalThis.Array.isArray(object === null || object === void 0 ? void 0 : object.bindings)
|
|
1505
|
+
? object.bindings.map((e) => exports.WorkflowInputSourceBinding.fromJSON(e))
|
|
1506
|
+
: [],
|
|
1744
1507
|
nextPageToken: isSet(object.nextPageToken)
|
|
1745
1508
|
? globalThis.String(object.nextPageToken)
|
|
1746
1509
|
: isSet(object.next_page_token)
|
|
@@ -1751,8 +1514,8 @@ exports.ListInputVersionsResponse = {
|
|
|
1751
1514
|
toJSON(message) {
|
|
1752
1515
|
var _a;
|
|
1753
1516
|
const obj = {};
|
|
1754
|
-
if ((_a = message.
|
|
1755
|
-
obj.
|
|
1517
|
+
if ((_a = message.bindings) === null || _a === void 0 ? void 0 : _a.length) {
|
|
1518
|
+
obj.bindings = message.bindings.map((e) => exports.WorkflowInputSourceBinding.toJSON(e));
|
|
1756
1519
|
}
|
|
1757
1520
|
if (message.nextPageToken !== "") {
|
|
1758
1521
|
obj.nextPageToken = message.nextPageToken;
|
|
@@ -1760,21 +1523,28 @@ exports.ListInputVersionsResponse = {
|
|
|
1760
1523
|
return obj;
|
|
1761
1524
|
},
|
|
1762
1525
|
create(base) {
|
|
1763
|
-
return exports.
|
|
1526
|
+
return exports.ListWorkflowInputSourceBindingsResponse.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
1764
1527
|
},
|
|
1765
1528
|
fromPartial(object) {
|
|
1766
1529
|
var _a;
|
|
1767
1530
|
var _b;
|
|
1768
|
-
const message =
|
|
1769
|
-
message.
|
|
1531
|
+
const message = createBaseListWorkflowInputSourceBindingsResponse();
|
|
1532
|
+
message.bindings = ((_a = object.bindings) === null || _a === void 0 ? void 0 : _a.map((e) => exports.WorkflowInputSourceBinding.fromPartial(e))) || [];
|
|
1770
1533
|
message.nextPageToken = (_b = object.nextPageToken) !== null && _b !== void 0 ? _b : "";
|
|
1771
1534
|
return message;
|
|
1772
1535
|
},
|
|
1773
1536
|
};
|
|
1774
|
-
function
|
|
1775
|
-
return {
|
|
1537
|
+
function createBaseWorkflowInputSourceBinding() {
|
|
1538
|
+
return {
|
|
1539
|
+
projectId: "",
|
|
1540
|
+
workflowId: "",
|
|
1541
|
+
inputSourceId: "",
|
|
1542
|
+
attachedBy: "",
|
|
1543
|
+
metadata: undefined,
|
|
1544
|
+
attachedAt: undefined,
|
|
1545
|
+
};
|
|
1776
1546
|
}
|
|
1777
|
-
exports.
|
|
1547
|
+
exports.WorkflowInputSourceBinding = {
|
|
1778
1548
|
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
1779
1549
|
if (message.projectId !== "") {
|
|
1780
1550
|
writer.uint32(10).string(message.projectId);
|
|
@@ -1785,15 +1555,21 @@ exports.SetActiveInputVersionRequest = {
|
|
|
1785
1555
|
if (message.inputSourceId !== "") {
|
|
1786
1556
|
writer.uint32(26).string(message.inputSourceId);
|
|
1787
1557
|
}
|
|
1788
|
-
if (message.
|
|
1789
|
-
writer.uint32(34).string(message.
|
|
1558
|
+
if (message.attachedBy !== "") {
|
|
1559
|
+
writer.uint32(34).string(message.attachedBy);
|
|
1560
|
+
}
|
|
1561
|
+
if (message.metadata !== undefined) {
|
|
1562
|
+
struct_pb_1.Struct.encode(struct_pb_1.Struct.wrap(message.metadata), writer.uint32(42).fork()).join();
|
|
1563
|
+
}
|
|
1564
|
+
if (message.attachedAt !== undefined) {
|
|
1565
|
+
timestamp_pb_1.Timestamp.encode(toTimestamp(message.attachedAt), writer.uint32(50).fork()).join();
|
|
1790
1566
|
}
|
|
1791
1567
|
return writer;
|
|
1792
1568
|
},
|
|
1793
1569
|
decode(input, length) {
|
|
1794
1570
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
1795
1571
|
const end = length === undefined ? reader.len : reader.pos + length;
|
|
1796
|
-
const message =
|
|
1572
|
+
const message = createBaseWorkflowInputSourceBinding();
|
|
1797
1573
|
while (reader.pos < end) {
|
|
1798
1574
|
const tag = reader.uint32();
|
|
1799
1575
|
switch (tag >>> 3) {
|
|
@@ -1822,7 +1598,21 @@ exports.SetActiveInputVersionRequest = {
|
|
|
1822
1598
|
if (tag !== 34) {
|
|
1823
1599
|
break;
|
|
1824
1600
|
}
|
|
1825
|
-
message.
|
|
1601
|
+
message.attachedBy = reader.string();
|
|
1602
|
+
continue;
|
|
1603
|
+
}
|
|
1604
|
+
case 5: {
|
|
1605
|
+
if (tag !== 42) {
|
|
1606
|
+
break;
|
|
1607
|
+
}
|
|
1608
|
+
message.metadata = struct_pb_1.Struct.unwrap(struct_pb_1.Struct.decode(reader, reader.uint32()));
|
|
1609
|
+
continue;
|
|
1610
|
+
}
|
|
1611
|
+
case 6: {
|
|
1612
|
+
if (tag !== 50) {
|
|
1613
|
+
break;
|
|
1614
|
+
}
|
|
1615
|
+
message.attachedAt = fromTimestamp(timestamp_pb_1.Timestamp.decode(reader, reader.uint32()));
|
|
1826
1616
|
continue;
|
|
1827
1617
|
}
|
|
1828
1618
|
}
|
|
@@ -1850,11 +1640,17 @@ exports.SetActiveInputVersionRequest = {
|
|
|
1850
1640
|
: isSet(object.input_source_id)
|
|
1851
1641
|
? globalThis.String(object.input_source_id)
|
|
1852
1642
|
: "",
|
|
1853
|
-
|
|
1854
|
-
? globalThis.String(object.
|
|
1855
|
-
: isSet(object.
|
|
1856
|
-
? globalThis.String(object.
|
|
1643
|
+
attachedBy: isSet(object.attachedBy)
|
|
1644
|
+
? globalThis.String(object.attachedBy)
|
|
1645
|
+
: isSet(object.attached_by)
|
|
1646
|
+
? globalThis.String(object.attached_by)
|
|
1857
1647
|
: "",
|
|
1648
|
+
metadata: isObject(object.metadata) ? object.metadata : undefined,
|
|
1649
|
+
attachedAt: isSet(object.attachedAt)
|
|
1650
|
+
? fromJsonTimestamp(object.attachedAt)
|
|
1651
|
+
: isSet(object.attached_at)
|
|
1652
|
+
? fromJsonTimestamp(object.attached_at)
|
|
1653
|
+
: undefined,
|
|
1858
1654
|
};
|
|
1859
1655
|
},
|
|
1860
1656
|
toJSON(message) {
|
|
@@ -1868,38 +1664,72 @@ exports.SetActiveInputVersionRequest = {
|
|
|
1868
1664
|
if (message.inputSourceId !== "") {
|
|
1869
1665
|
obj.inputSourceId = message.inputSourceId;
|
|
1870
1666
|
}
|
|
1871
|
-
if (message.
|
|
1872
|
-
obj.
|
|
1667
|
+
if (message.attachedBy !== "") {
|
|
1668
|
+
obj.attachedBy = message.attachedBy;
|
|
1669
|
+
}
|
|
1670
|
+
if (message.metadata !== undefined) {
|
|
1671
|
+
obj.metadata = message.metadata;
|
|
1672
|
+
}
|
|
1673
|
+
if (message.attachedAt !== undefined) {
|
|
1674
|
+
obj.attachedAt = message.attachedAt.toISOString();
|
|
1873
1675
|
}
|
|
1874
1676
|
return obj;
|
|
1875
1677
|
},
|
|
1876
1678
|
create(base) {
|
|
1877
|
-
return exports.
|
|
1679
|
+
return exports.WorkflowInputSourceBinding.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
1878
1680
|
},
|
|
1879
1681
|
fromPartial(object) {
|
|
1880
|
-
var _a, _b, _c, _d;
|
|
1881
|
-
const message =
|
|
1682
|
+
var _a, _b, _c, _d, _e, _f;
|
|
1683
|
+
const message = createBaseWorkflowInputSourceBinding();
|
|
1882
1684
|
message.projectId = (_a = object.projectId) !== null && _a !== void 0 ? _a : "";
|
|
1883
1685
|
message.workflowId = (_b = object.workflowId) !== null && _b !== void 0 ? _b : "";
|
|
1884
1686
|
message.inputSourceId = (_c = object.inputSourceId) !== null && _c !== void 0 ? _c : "";
|
|
1885
|
-
message.
|
|
1687
|
+
message.attachedBy = (_d = object.attachedBy) !== null && _d !== void 0 ? _d : "";
|
|
1688
|
+
message.metadata = (_e = object.metadata) !== null && _e !== void 0 ? _e : undefined;
|
|
1689
|
+
message.attachedAt = (_f = object.attachedAt) !== null && _f !== void 0 ? _f : undefined;
|
|
1886
1690
|
return message;
|
|
1887
1691
|
},
|
|
1888
1692
|
};
|
|
1889
|
-
function
|
|
1890
|
-
return {
|
|
1693
|
+
function createBaseCreateInputVersionRequest() {
|
|
1694
|
+
return {
|
|
1695
|
+
projectId: "",
|
|
1696
|
+
inputSourceId: "",
|
|
1697
|
+
checksum: "",
|
|
1698
|
+
contentUri: "",
|
|
1699
|
+
status: 0,
|
|
1700
|
+
parsedSummary: undefined,
|
|
1701
|
+
metadata: undefined,
|
|
1702
|
+
};
|
|
1891
1703
|
}
|
|
1892
|
-
exports.
|
|
1704
|
+
exports.CreateInputVersionRequest = {
|
|
1893
1705
|
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
1894
|
-
if (message.
|
|
1895
|
-
|
|
1706
|
+
if (message.projectId !== "") {
|
|
1707
|
+
writer.uint32(10).string(message.projectId);
|
|
1708
|
+
}
|
|
1709
|
+
if (message.inputSourceId !== "") {
|
|
1710
|
+
writer.uint32(18).string(message.inputSourceId);
|
|
1711
|
+
}
|
|
1712
|
+
if (message.checksum !== "") {
|
|
1713
|
+
writer.uint32(26).string(message.checksum);
|
|
1714
|
+
}
|
|
1715
|
+
if (message.contentUri !== "") {
|
|
1716
|
+
writer.uint32(34).string(message.contentUri);
|
|
1717
|
+
}
|
|
1718
|
+
if (message.status !== 0) {
|
|
1719
|
+
writer.uint32(40).int32(message.status);
|
|
1720
|
+
}
|
|
1721
|
+
if (message.parsedSummary !== undefined) {
|
|
1722
|
+
struct_pb_1.Struct.encode(struct_pb_1.Struct.wrap(message.parsedSummary), writer.uint32(50).fork()).join();
|
|
1723
|
+
}
|
|
1724
|
+
if (message.metadata !== undefined) {
|
|
1725
|
+
struct_pb_1.Struct.encode(struct_pb_1.Struct.wrap(message.metadata), writer.uint32(58).fork()).join();
|
|
1896
1726
|
}
|
|
1897
1727
|
return writer;
|
|
1898
1728
|
},
|
|
1899
1729
|
decode(input, length) {
|
|
1900
1730
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
1901
1731
|
const end = length === undefined ? reader.len : reader.pos + length;
|
|
1902
|
-
const message =
|
|
1732
|
+
const message = createBaseCreateInputVersionRequest();
|
|
1903
1733
|
while (reader.pos < end) {
|
|
1904
1734
|
const tag = reader.uint32();
|
|
1905
1735
|
switch (tag >>> 3) {
|
|
@@ -1907,7 +1737,49 @@ exports.SetActiveInputVersionResponse = {
|
|
|
1907
1737
|
if (tag !== 10) {
|
|
1908
1738
|
break;
|
|
1909
1739
|
}
|
|
1910
|
-
message.
|
|
1740
|
+
message.projectId = reader.string();
|
|
1741
|
+
continue;
|
|
1742
|
+
}
|
|
1743
|
+
case 2: {
|
|
1744
|
+
if (tag !== 18) {
|
|
1745
|
+
break;
|
|
1746
|
+
}
|
|
1747
|
+
message.inputSourceId = reader.string();
|
|
1748
|
+
continue;
|
|
1749
|
+
}
|
|
1750
|
+
case 3: {
|
|
1751
|
+
if (tag !== 26) {
|
|
1752
|
+
break;
|
|
1753
|
+
}
|
|
1754
|
+
message.checksum = reader.string();
|
|
1755
|
+
continue;
|
|
1756
|
+
}
|
|
1757
|
+
case 4: {
|
|
1758
|
+
if (tag !== 34) {
|
|
1759
|
+
break;
|
|
1760
|
+
}
|
|
1761
|
+
message.contentUri = reader.string();
|
|
1762
|
+
continue;
|
|
1763
|
+
}
|
|
1764
|
+
case 5: {
|
|
1765
|
+
if (tag !== 40) {
|
|
1766
|
+
break;
|
|
1767
|
+
}
|
|
1768
|
+
message.status = reader.int32();
|
|
1769
|
+
continue;
|
|
1770
|
+
}
|
|
1771
|
+
case 6: {
|
|
1772
|
+
if (tag !== 50) {
|
|
1773
|
+
break;
|
|
1774
|
+
}
|
|
1775
|
+
message.parsedSummary = struct_pb_1.Struct.unwrap(struct_pb_1.Struct.decode(reader, reader.uint32()));
|
|
1776
|
+
continue;
|
|
1777
|
+
}
|
|
1778
|
+
case 7: {
|
|
1779
|
+
if (tag !== 58) {
|
|
1780
|
+
break;
|
|
1781
|
+
}
|
|
1782
|
+
message.metadata = struct_pb_1.Struct.unwrap(struct_pb_1.Struct.decode(reader, reader.uint32()));
|
|
1911
1783
|
continue;
|
|
1912
1784
|
}
|
|
1913
1785
|
}
|
|
@@ -1920,18 +1792,622 @@ exports.SetActiveInputVersionResponse = {
|
|
|
1920
1792
|
},
|
|
1921
1793
|
fromJSON(object) {
|
|
1922
1794
|
return {
|
|
1923
|
-
|
|
1924
|
-
?
|
|
1925
|
-
: isSet(object.
|
|
1926
|
-
?
|
|
1927
|
-
:
|
|
1928
|
-
|
|
1929
|
-
|
|
1930
|
-
|
|
1931
|
-
|
|
1932
|
-
|
|
1933
|
-
|
|
1934
|
-
|
|
1795
|
+
projectId: isSet(object.projectId)
|
|
1796
|
+
? globalThis.String(object.projectId)
|
|
1797
|
+
: isSet(object.project_id)
|
|
1798
|
+
? globalThis.String(object.project_id)
|
|
1799
|
+
: "",
|
|
1800
|
+
inputSourceId: isSet(object.inputSourceId)
|
|
1801
|
+
? globalThis.String(object.inputSourceId)
|
|
1802
|
+
: isSet(object.input_source_id)
|
|
1803
|
+
? globalThis.String(object.input_source_id)
|
|
1804
|
+
: "",
|
|
1805
|
+
checksum: isSet(object.checksum) ? globalThis.String(object.checksum) : "",
|
|
1806
|
+
contentUri: isSet(object.contentUri)
|
|
1807
|
+
? globalThis.String(object.contentUri)
|
|
1808
|
+
: isSet(object.content_uri)
|
|
1809
|
+
? globalThis.String(object.content_uri)
|
|
1810
|
+
: "",
|
|
1811
|
+
status: isSet(object.status) ? (0, input_pb_1.inputStatusFromJSON)(object.status) : 0,
|
|
1812
|
+
parsedSummary: isObject(object.parsedSummary)
|
|
1813
|
+
? object.parsedSummary
|
|
1814
|
+
: isObject(object.parsed_summary)
|
|
1815
|
+
? object.parsed_summary
|
|
1816
|
+
: undefined,
|
|
1817
|
+
metadata: isObject(object.metadata) ? object.metadata : undefined,
|
|
1818
|
+
};
|
|
1819
|
+
},
|
|
1820
|
+
toJSON(message) {
|
|
1821
|
+
const obj = {};
|
|
1822
|
+
if (message.projectId !== "") {
|
|
1823
|
+
obj.projectId = message.projectId;
|
|
1824
|
+
}
|
|
1825
|
+
if (message.inputSourceId !== "") {
|
|
1826
|
+
obj.inputSourceId = message.inputSourceId;
|
|
1827
|
+
}
|
|
1828
|
+
if (message.checksum !== "") {
|
|
1829
|
+
obj.checksum = message.checksum;
|
|
1830
|
+
}
|
|
1831
|
+
if (message.contentUri !== "") {
|
|
1832
|
+
obj.contentUri = message.contentUri;
|
|
1833
|
+
}
|
|
1834
|
+
if (message.status !== 0) {
|
|
1835
|
+
obj.status = (0, input_pb_1.inputStatusToJSON)(message.status);
|
|
1836
|
+
}
|
|
1837
|
+
if (message.parsedSummary !== undefined) {
|
|
1838
|
+
obj.parsedSummary = message.parsedSummary;
|
|
1839
|
+
}
|
|
1840
|
+
if (message.metadata !== undefined) {
|
|
1841
|
+
obj.metadata = message.metadata;
|
|
1842
|
+
}
|
|
1843
|
+
return obj;
|
|
1844
|
+
},
|
|
1845
|
+
create(base) {
|
|
1846
|
+
return exports.CreateInputVersionRequest.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
1847
|
+
},
|
|
1848
|
+
fromPartial(object) {
|
|
1849
|
+
var _a, _b, _c, _d, _e, _f, _g;
|
|
1850
|
+
const message = createBaseCreateInputVersionRequest();
|
|
1851
|
+
message.projectId = (_a = object.projectId) !== null && _a !== void 0 ? _a : "";
|
|
1852
|
+
message.inputSourceId = (_b = object.inputSourceId) !== null && _b !== void 0 ? _b : "";
|
|
1853
|
+
message.checksum = (_c = object.checksum) !== null && _c !== void 0 ? _c : "";
|
|
1854
|
+
message.contentUri = (_d = object.contentUri) !== null && _d !== void 0 ? _d : "";
|
|
1855
|
+
message.status = (_e = object.status) !== null && _e !== void 0 ? _e : 0;
|
|
1856
|
+
message.parsedSummary = (_f = object.parsedSummary) !== null && _f !== void 0 ? _f : undefined;
|
|
1857
|
+
message.metadata = (_g = object.metadata) !== null && _g !== void 0 ? _g : undefined;
|
|
1858
|
+
return message;
|
|
1859
|
+
},
|
|
1860
|
+
};
|
|
1861
|
+
function createBaseCreateInputVersionResponse() {
|
|
1862
|
+
return { inputVersion: undefined };
|
|
1863
|
+
}
|
|
1864
|
+
exports.CreateInputVersionResponse = {
|
|
1865
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
1866
|
+
if (message.inputVersion !== undefined) {
|
|
1867
|
+
input_pb_1.InputVersion.encode(message.inputVersion, writer.uint32(10).fork()).join();
|
|
1868
|
+
}
|
|
1869
|
+
return writer;
|
|
1870
|
+
},
|
|
1871
|
+
decode(input, length) {
|
|
1872
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
1873
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
1874
|
+
const message = createBaseCreateInputVersionResponse();
|
|
1875
|
+
while (reader.pos < end) {
|
|
1876
|
+
const tag = reader.uint32();
|
|
1877
|
+
switch (tag >>> 3) {
|
|
1878
|
+
case 1: {
|
|
1879
|
+
if (tag !== 10) {
|
|
1880
|
+
break;
|
|
1881
|
+
}
|
|
1882
|
+
message.inputVersion = input_pb_1.InputVersion.decode(reader, reader.uint32());
|
|
1883
|
+
continue;
|
|
1884
|
+
}
|
|
1885
|
+
}
|
|
1886
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
1887
|
+
break;
|
|
1888
|
+
}
|
|
1889
|
+
reader.skip(tag & 7);
|
|
1890
|
+
}
|
|
1891
|
+
return message;
|
|
1892
|
+
},
|
|
1893
|
+
fromJSON(object) {
|
|
1894
|
+
return {
|
|
1895
|
+
inputVersion: isSet(object.inputVersion)
|
|
1896
|
+
? input_pb_1.InputVersion.fromJSON(object.inputVersion)
|
|
1897
|
+
: isSet(object.input_version)
|
|
1898
|
+
? input_pb_1.InputVersion.fromJSON(object.input_version)
|
|
1899
|
+
: undefined,
|
|
1900
|
+
};
|
|
1901
|
+
},
|
|
1902
|
+
toJSON(message) {
|
|
1903
|
+
const obj = {};
|
|
1904
|
+
if (message.inputVersion !== undefined) {
|
|
1905
|
+
obj.inputVersion = input_pb_1.InputVersion.toJSON(message.inputVersion);
|
|
1906
|
+
}
|
|
1907
|
+
return obj;
|
|
1908
|
+
},
|
|
1909
|
+
create(base) {
|
|
1910
|
+
return exports.CreateInputVersionResponse.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
1911
|
+
},
|
|
1912
|
+
fromPartial(object) {
|
|
1913
|
+
const message = createBaseCreateInputVersionResponse();
|
|
1914
|
+
message.inputVersion = (object.inputVersion !== undefined && object.inputVersion !== null)
|
|
1915
|
+
? input_pb_1.InputVersion.fromPartial(object.inputVersion)
|
|
1916
|
+
: undefined;
|
|
1917
|
+
return message;
|
|
1918
|
+
},
|
|
1919
|
+
};
|
|
1920
|
+
function createBaseGetInputVersionRequest() {
|
|
1921
|
+
return { projectId: "", inputSourceId: "", inputVersionId: "" };
|
|
1922
|
+
}
|
|
1923
|
+
exports.GetInputVersionRequest = {
|
|
1924
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
1925
|
+
if (message.projectId !== "") {
|
|
1926
|
+
writer.uint32(10).string(message.projectId);
|
|
1927
|
+
}
|
|
1928
|
+
if (message.inputSourceId !== "") {
|
|
1929
|
+
writer.uint32(18).string(message.inputSourceId);
|
|
1930
|
+
}
|
|
1931
|
+
if (message.inputVersionId !== "") {
|
|
1932
|
+
writer.uint32(26).string(message.inputVersionId);
|
|
1933
|
+
}
|
|
1934
|
+
return writer;
|
|
1935
|
+
},
|
|
1936
|
+
decode(input, length) {
|
|
1937
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
1938
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
1939
|
+
const message = createBaseGetInputVersionRequest();
|
|
1940
|
+
while (reader.pos < end) {
|
|
1941
|
+
const tag = reader.uint32();
|
|
1942
|
+
switch (tag >>> 3) {
|
|
1943
|
+
case 1: {
|
|
1944
|
+
if (tag !== 10) {
|
|
1945
|
+
break;
|
|
1946
|
+
}
|
|
1947
|
+
message.projectId = reader.string();
|
|
1948
|
+
continue;
|
|
1949
|
+
}
|
|
1950
|
+
case 2: {
|
|
1951
|
+
if (tag !== 18) {
|
|
1952
|
+
break;
|
|
1953
|
+
}
|
|
1954
|
+
message.inputSourceId = reader.string();
|
|
1955
|
+
continue;
|
|
1956
|
+
}
|
|
1957
|
+
case 3: {
|
|
1958
|
+
if (tag !== 26) {
|
|
1959
|
+
break;
|
|
1960
|
+
}
|
|
1961
|
+
message.inputVersionId = reader.string();
|
|
1962
|
+
continue;
|
|
1963
|
+
}
|
|
1964
|
+
}
|
|
1965
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
1966
|
+
break;
|
|
1967
|
+
}
|
|
1968
|
+
reader.skip(tag & 7);
|
|
1969
|
+
}
|
|
1970
|
+
return message;
|
|
1971
|
+
},
|
|
1972
|
+
fromJSON(object) {
|
|
1973
|
+
return {
|
|
1974
|
+
projectId: isSet(object.projectId)
|
|
1975
|
+
? globalThis.String(object.projectId)
|
|
1976
|
+
: isSet(object.project_id)
|
|
1977
|
+
? globalThis.String(object.project_id)
|
|
1978
|
+
: "",
|
|
1979
|
+
inputSourceId: isSet(object.inputSourceId)
|
|
1980
|
+
? globalThis.String(object.inputSourceId)
|
|
1981
|
+
: isSet(object.input_source_id)
|
|
1982
|
+
? globalThis.String(object.input_source_id)
|
|
1983
|
+
: "",
|
|
1984
|
+
inputVersionId: isSet(object.inputVersionId)
|
|
1985
|
+
? globalThis.String(object.inputVersionId)
|
|
1986
|
+
: isSet(object.input_version_id)
|
|
1987
|
+
? globalThis.String(object.input_version_id)
|
|
1988
|
+
: "",
|
|
1989
|
+
};
|
|
1990
|
+
},
|
|
1991
|
+
toJSON(message) {
|
|
1992
|
+
const obj = {};
|
|
1993
|
+
if (message.projectId !== "") {
|
|
1994
|
+
obj.projectId = message.projectId;
|
|
1995
|
+
}
|
|
1996
|
+
if (message.inputSourceId !== "") {
|
|
1997
|
+
obj.inputSourceId = message.inputSourceId;
|
|
1998
|
+
}
|
|
1999
|
+
if (message.inputVersionId !== "") {
|
|
2000
|
+
obj.inputVersionId = message.inputVersionId;
|
|
2001
|
+
}
|
|
2002
|
+
return obj;
|
|
2003
|
+
},
|
|
2004
|
+
create(base) {
|
|
2005
|
+
return exports.GetInputVersionRequest.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
2006
|
+
},
|
|
2007
|
+
fromPartial(object) {
|
|
2008
|
+
var _a, _b, _c;
|
|
2009
|
+
const message = createBaseGetInputVersionRequest();
|
|
2010
|
+
message.projectId = (_a = object.projectId) !== null && _a !== void 0 ? _a : "";
|
|
2011
|
+
message.inputSourceId = (_b = object.inputSourceId) !== null && _b !== void 0 ? _b : "";
|
|
2012
|
+
message.inputVersionId = (_c = object.inputVersionId) !== null && _c !== void 0 ? _c : "";
|
|
2013
|
+
return message;
|
|
2014
|
+
},
|
|
2015
|
+
};
|
|
2016
|
+
function createBaseGetInputVersionResponse() {
|
|
2017
|
+
return { inputVersion: undefined };
|
|
2018
|
+
}
|
|
2019
|
+
exports.GetInputVersionResponse = {
|
|
2020
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
2021
|
+
if (message.inputVersion !== undefined) {
|
|
2022
|
+
input_pb_1.InputVersion.encode(message.inputVersion, writer.uint32(10).fork()).join();
|
|
2023
|
+
}
|
|
2024
|
+
return writer;
|
|
2025
|
+
},
|
|
2026
|
+
decode(input, length) {
|
|
2027
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
2028
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2029
|
+
const message = createBaseGetInputVersionResponse();
|
|
2030
|
+
while (reader.pos < end) {
|
|
2031
|
+
const tag = reader.uint32();
|
|
2032
|
+
switch (tag >>> 3) {
|
|
2033
|
+
case 1: {
|
|
2034
|
+
if (tag !== 10) {
|
|
2035
|
+
break;
|
|
2036
|
+
}
|
|
2037
|
+
message.inputVersion = input_pb_1.InputVersion.decode(reader, reader.uint32());
|
|
2038
|
+
continue;
|
|
2039
|
+
}
|
|
2040
|
+
}
|
|
2041
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
2042
|
+
break;
|
|
2043
|
+
}
|
|
2044
|
+
reader.skip(tag & 7);
|
|
2045
|
+
}
|
|
2046
|
+
return message;
|
|
2047
|
+
},
|
|
2048
|
+
fromJSON(object) {
|
|
2049
|
+
return {
|
|
2050
|
+
inputVersion: isSet(object.inputVersion)
|
|
2051
|
+
? input_pb_1.InputVersion.fromJSON(object.inputVersion)
|
|
2052
|
+
: isSet(object.input_version)
|
|
2053
|
+
? input_pb_1.InputVersion.fromJSON(object.input_version)
|
|
2054
|
+
: undefined,
|
|
2055
|
+
};
|
|
2056
|
+
},
|
|
2057
|
+
toJSON(message) {
|
|
2058
|
+
const obj = {};
|
|
2059
|
+
if (message.inputVersion !== undefined) {
|
|
2060
|
+
obj.inputVersion = input_pb_1.InputVersion.toJSON(message.inputVersion);
|
|
2061
|
+
}
|
|
2062
|
+
return obj;
|
|
2063
|
+
},
|
|
2064
|
+
create(base) {
|
|
2065
|
+
return exports.GetInputVersionResponse.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
2066
|
+
},
|
|
2067
|
+
fromPartial(object) {
|
|
2068
|
+
const message = createBaseGetInputVersionResponse();
|
|
2069
|
+
message.inputVersion = (object.inputVersion !== undefined && object.inputVersion !== null)
|
|
2070
|
+
? input_pb_1.InputVersion.fromPartial(object.inputVersion)
|
|
2071
|
+
: undefined;
|
|
2072
|
+
return message;
|
|
2073
|
+
},
|
|
2074
|
+
};
|
|
2075
|
+
function createBaseListInputVersionsRequest() {
|
|
2076
|
+
return { projectId: "", inputSourceId: "", pageSize: 0, pageToken: "" };
|
|
2077
|
+
}
|
|
2078
|
+
exports.ListInputVersionsRequest = {
|
|
2079
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
2080
|
+
if (message.projectId !== "") {
|
|
2081
|
+
writer.uint32(10).string(message.projectId);
|
|
2082
|
+
}
|
|
2083
|
+
if (message.inputSourceId !== "") {
|
|
2084
|
+
writer.uint32(18).string(message.inputSourceId);
|
|
2085
|
+
}
|
|
2086
|
+
if (message.pageSize !== 0) {
|
|
2087
|
+
writer.uint32(24).int32(message.pageSize);
|
|
2088
|
+
}
|
|
2089
|
+
if (message.pageToken !== "") {
|
|
2090
|
+
writer.uint32(34).string(message.pageToken);
|
|
2091
|
+
}
|
|
2092
|
+
return writer;
|
|
2093
|
+
},
|
|
2094
|
+
decode(input, length) {
|
|
2095
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
2096
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2097
|
+
const message = createBaseListInputVersionsRequest();
|
|
2098
|
+
while (reader.pos < end) {
|
|
2099
|
+
const tag = reader.uint32();
|
|
2100
|
+
switch (tag >>> 3) {
|
|
2101
|
+
case 1: {
|
|
2102
|
+
if (tag !== 10) {
|
|
2103
|
+
break;
|
|
2104
|
+
}
|
|
2105
|
+
message.projectId = reader.string();
|
|
2106
|
+
continue;
|
|
2107
|
+
}
|
|
2108
|
+
case 2: {
|
|
2109
|
+
if (tag !== 18) {
|
|
2110
|
+
break;
|
|
2111
|
+
}
|
|
2112
|
+
message.inputSourceId = reader.string();
|
|
2113
|
+
continue;
|
|
2114
|
+
}
|
|
2115
|
+
case 3: {
|
|
2116
|
+
if (tag !== 24) {
|
|
2117
|
+
break;
|
|
2118
|
+
}
|
|
2119
|
+
message.pageSize = reader.int32();
|
|
2120
|
+
continue;
|
|
2121
|
+
}
|
|
2122
|
+
case 4: {
|
|
2123
|
+
if (tag !== 34) {
|
|
2124
|
+
break;
|
|
2125
|
+
}
|
|
2126
|
+
message.pageToken = reader.string();
|
|
2127
|
+
continue;
|
|
2128
|
+
}
|
|
2129
|
+
}
|
|
2130
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
2131
|
+
break;
|
|
2132
|
+
}
|
|
2133
|
+
reader.skip(tag & 7);
|
|
2134
|
+
}
|
|
2135
|
+
return message;
|
|
2136
|
+
},
|
|
2137
|
+
fromJSON(object) {
|
|
2138
|
+
return {
|
|
2139
|
+
projectId: isSet(object.projectId)
|
|
2140
|
+
? globalThis.String(object.projectId)
|
|
2141
|
+
: isSet(object.project_id)
|
|
2142
|
+
? globalThis.String(object.project_id)
|
|
2143
|
+
: "",
|
|
2144
|
+
inputSourceId: isSet(object.inputSourceId)
|
|
2145
|
+
? globalThis.String(object.inputSourceId)
|
|
2146
|
+
: isSet(object.input_source_id)
|
|
2147
|
+
? globalThis.String(object.input_source_id)
|
|
2148
|
+
: "",
|
|
2149
|
+
pageSize: isSet(object.pageSize)
|
|
2150
|
+
? globalThis.Number(object.pageSize)
|
|
2151
|
+
: isSet(object.page_size)
|
|
2152
|
+
? globalThis.Number(object.page_size)
|
|
2153
|
+
: 0,
|
|
2154
|
+
pageToken: isSet(object.pageToken)
|
|
2155
|
+
? globalThis.String(object.pageToken)
|
|
2156
|
+
: isSet(object.page_token)
|
|
2157
|
+
? globalThis.String(object.page_token)
|
|
2158
|
+
: "",
|
|
2159
|
+
};
|
|
2160
|
+
},
|
|
2161
|
+
toJSON(message) {
|
|
2162
|
+
const obj = {};
|
|
2163
|
+
if (message.projectId !== "") {
|
|
2164
|
+
obj.projectId = message.projectId;
|
|
2165
|
+
}
|
|
2166
|
+
if (message.inputSourceId !== "") {
|
|
2167
|
+
obj.inputSourceId = message.inputSourceId;
|
|
2168
|
+
}
|
|
2169
|
+
if (message.pageSize !== 0) {
|
|
2170
|
+
obj.pageSize = Math.round(message.pageSize);
|
|
2171
|
+
}
|
|
2172
|
+
if (message.pageToken !== "") {
|
|
2173
|
+
obj.pageToken = message.pageToken;
|
|
2174
|
+
}
|
|
2175
|
+
return obj;
|
|
2176
|
+
},
|
|
2177
|
+
create(base) {
|
|
2178
|
+
return exports.ListInputVersionsRequest.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
2179
|
+
},
|
|
2180
|
+
fromPartial(object) {
|
|
2181
|
+
var _a, _b, _c, _d;
|
|
2182
|
+
const message = createBaseListInputVersionsRequest();
|
|
2183
|
+
message.projectId = (_a = object.projectId) !== null && _a !== void 0 ? _a : "";
|
|
2184
|
+
message.inputSourceId = (_b = object.inputSourceId) !== null && _b !== void 0 ? _b : "";
|
|
2185
|
+
message.pageSize = (_c = object.pageSize) !== null && _c !== void 0 ? _c : 0;
|
|
2186
|
+
message.pageToken = (_d = object.pageToken) !== null && _d !== void 0 ? _d : "";
|
|
2187
|
+
return message;
|
|
2188
|
+
},
|
|
2189
|
+
};
|
|
2190
|
+
function createBaseListInputVersionsResponse() {
|
|
2191
|
+
return { inputVersions: [], nextPageToken: "" };
|
|
2192
|
+
}
|
|
2193
|
+
exports.ListInputVersionsResponse = {
|
|
2194
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
2195
|
+
for (const v of message.inputVersions) {
|
|
2196
|
+
input_pb_1.InputVersion.encode(v, writer.uint32(10).fork()).join();
|
|
2197
|
+
}
|
|
2198
|
+
if (message.nextPageToken !== "") {
|
|
2199
|
+
writer.uint32(18).string(message.nextPageToken);
|
|
2200
|
+
}
|
|
2201
|
+
return writer;
|
|
2202
|
+
},
|
|
2203
|
+
decode(input, length) {
|
|
2204
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
2205
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2206
|
+
const message = createBaseListInputVersionsResponse();
|
|
2207
|
+
while (reader.pos < end) {
|
|
2208
|
+
const tag = reader.uint32();
|
|
2209
|
+
switch (tag >>> 3) {
|
|
2210
|
+
case 1: {
|
|
2211
|
+
if (tag !== 10) {
|
|
2212
|
+
break;
|
|
2213
|
+
}
|
|
2214
|
+
message.inputVersions.push(input_pb_1.InputVersion.decode(reader, reader.uint32()));
|
|
2215
|
+
continue;
|
|
2216
|
+
}
|
|
2217
|
+
case 2: {
|
|
2218
|
+
if (tag !== 18) {
|
|
2219
|
+
break;
|
|
2220
|
+
}
|
|
2221
|
+
message.nextPageToken = reader.string();
|
|
2222
|
+
continue;
|
|
2223
|
+
}
|
|
2224
|
+
}
|
|
2225
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
2226
|
+
break;
|
|
2227
|
+
}
|
|
2228
|
+
reader.skip(tag & 7);
|
|
2229
|
+
}
|
|
2230
|
+
return message;
|
|
2231
|
+
},
|
|
2232
|
+
fromJSON(object) {
|
|
2233
|
+
return {
|
|
2234
|
+
inputVersions: globalThis.Array.isArray(object === null || object === void 0 ? void 0 : object.inputVersions)
|
|
2235
|
+
? object.inputVersions.map((e) => input_pb_1.InputVersion.fromJSON(e))
|
|
2236
|
+
: globalThis.Array.isArray(object === null || object === void 0 ? void 0 : object.input_versions)
|
|
2237
|
+
? object.input_versions.map((e) => input_pb_1.InputVersion.fromJSON(e))
|
|
2238
|
+
: [],
|
|
2239
|
+
nextPageToken: isSet(object.nextPageToken)
|
|
2240
|
+
? globalThis.String(object.nextPageToken)
|
|
2241
|
+
: isSet(object.next_page_token)
|
|
2242
|
+
? globalThis.String(object.next_page_token)
|
|
2243
|
+
: "",
|
|
2244
|
+
};
|
|
2245
|
+
},
|
|
2246
|
+
toJSON(message) {
|
|
2247
|
+
var _a;
|
|
2248
|
+
const obj = {};
|
|
2249
|
+
if ((_a = message.inputVersions) === null || _a === void 0 ? void 0 : _a.length) {
|
|
2250
|
+
obj.inputVersions = message.inputVersions.map((e) => input_pb_1.InputVersion.toJSON(e));
|
|
2251
|
+
}
|
|
2252
|
+
if (message.nextPageToken !== "") {
|
|
2253
|
+
obj.nextPageToken = message.nextPageToken;
|
|
2254
|
+
}
|
|
2255
|
+
return obj;
|
|
2256
|
+
},
|
|
2257
|
+
create(base) {
|
|
2258
|
+
return exports.ListInputVersionsResponse.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
2259
|
+
},
|
|
2260
|
+
fromPartial(object) {
|
|
2261
|
+
var _a;
|
|
2262
|
+
var _b;
|
|
2263
|
+
const message = createBaseListInputVersionsResponse();
|
|
2264
|
+
message.inputVersions = ((_a = object.inputVersions) === null || _a === void 0 ? void 0 : _a.map((e) => input_pb_1.InputVersion.fromPartial(e))) || [];
|
|
2265
|
+
message.nextPageToken = (_b = object.nextPageToken) !== null && _b !== void 0 ? _b : "";
|
|
2266
|
+
return message;
|
|
2267
|
+
},
|
|
2268
|
+
};
|
|
2269
|
+
function createBaseSetActiveInputVersionRequest() {
|
|
2270
|
+
return { projectId: "", inputSourceId: "", inputVersionId: "" };
|
|
2271
|
+
}
|
|
2272
|
+
exports.SetActiveInputVersionRequest = {
|
|
2273
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
2274
|
+
if (message.projectId !== "") {
|
|
2275
|
+
writer.uint32(10).string(message.projectId);
|
|
2276
|
+
}
|
|
2277
|
+
if (message.inputSourceId !== "") {
|
|
2278
|
+
writer.uint32(18).string(message.inputSourceId);
|
|
2279
|
+
}
|
|
2280
|
+
if (message.inputVersionId !== "") {
|
|
2281
|
+
writer.uint32(26).string(message.inputVersionId);
|
|
2282
|
+
}
|
|
2283
|
+
return writer;
|
|
2284
|
+
},
|
|
2285
|
+
decode(input, length) {
|
|
2286
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
2287
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2288
|
+
const message = createBaseSetActiveInputVersionRequest();
|
|
2289
|
+
while (reader.pos < end) {
|
|
2290
|
+
const tag = reader.uint32();
|
|
2291
|
+
switch (tag >>> 3) {
|
|
2292
|
+
case 1: {
|
|
2293
|
+
if (tag !== 10) {
|
|
2294
|
+
break;
|
|
2295
|
+
}
|
|
2296
|
+
message.projectId = reader.string();
|
|
2297
|
+
continue;
|
|
2298
|
+
}
|
|
2299
|
+
case 2: {
|
|
2300
|
+
if (tag !== 18) {
|
|
2301
|
+
break;
|
|
2302
|
+
}
|
|
2303
|
+
message.inputSourceId = reader.string();
|
|
2304
|
+
continue;
|
|
2305
|
+
}
|
|
2306
|
+
case 3: {
|
|
2307
|
+
if (tag !== 26) {
|
|
2308
|
+
break;
|
|
2309
|
+
}
|
|
2310
|
+
message.inputVersionId = reader.string();
|
|
2311
|
+
continue;
|
|
2312
|
+
}
|
|
2313
|
+
}
|
|
2314
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
2315
|
+
break;
|
|
2316
|
+
}
|
|
2317
|
+
reader.skip(tag & 7);
|
|
2318
|
+
}
|
|
2319
|
+
return message;
|
|
2320
|
+
},
|
|
2321
|
+
fromJSON(object) {
|
|
2322
|
+
return {
|
|
2323
|
+
projectId: isSet(object.projectId)
|
|
2324
|
+
? globalThis.String(object.projectId)
|
|
2325
|
+
: isSet(object.project_id)
|
|
2326
|
+
? globalThis.String(object.project_id)
|
|
2327
|
+
: "",
|
|
2328
|
+
inputSourceId: isSet(object.inputSourceId)
|
|
2329
|
+
? globalThis.String(object.inputSourceId)
|
|
2330
|
+
: isSet(object.input_source_id)
|
|
2331
|
+
? globalThis.String(object.input_source_id)
|
|
2332
|
+
: "",
|
|
2333
|
+
inputVersionId: isSet(object.inputVersionId)
|
|
2334
|
+
? globalThis.String(object.inputVersionId)
|
|
2335
|
+
: isSet(object.input_version_id)
|
|
2336
|
+
? globalThis.String(object.input_version_id)
|
|
2337
|
+
: "",
|
|
2338
|
+
};
|
|
2339
|
+
},
|
|
2340
|
+
toJSON(message) {
|
|
2341
|
+
const obj = {};
|
|
2342
|
+
if (message.projectId !== "") {
|
|
2343
|
+
obj.projectId = message.projectId;
|
|
2344
|
+
}
|
|
2345
|
+
if (message.inputSourceId !== "") {
|
|
2346
|
+
obj.inputSourceId = message.inputSourceId;
|
|
2347
|
+
}
|
|
2348
|
+
if (message.inputVersionId !== "") {
|
|
2349
|
+
obj.inputVersionId = message.inputVersionId;
|
|
2350
|
+
}
|
|
2351
|
+
return obj;
|
|
2352
|
+
},
|
|
2353
|
+
create(base) {
|
|
2354
|
+
return exports.SetActiveInputVersionRequest.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
2355
|
+
},
|
|
2356
|
+
fromPartial(object) {
|
|
2357
|
+
var _a, _b, _c;
|
|
2358
|
+
const message = createBaseSetActiveInputVersionRequest();
|
|
2359
|
+
message.projectId = (_a = object.projectId) !== null && _a !== void 0 ? _a : "";
|
|
2360
|
+
message.inputSourceId = (_b = object.inputSourceId) !== null && _b !== void 0 ? _b : "";
|
|
2361
|
+
message.inputVersionId = (_c = object.inputVersionId) !== null && _c !== void 0 ? _c : "";
|
|
2362
|
+
return message;
|
|
2363
|
+
},
|
|
2364
|
+
};
|
|
2365
|
+
function createBaseSetActiveInputVersionResponse() {
|
|
2366
|
+
return { inputSource: undefined };
|
|
2367
|
+
}
|
|
2368
|
+
exports.SetActiveInputVersionResponse = {
|
|
2369
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
2370
|
+
if (message.inputSource !== undefined) {
|
|
2371
|
+
input_pb_1.InputSource.encode(message.inputSource, writer.uint32(10).fork()).join();
|
|
2372
|
+
}
|
|
2373
|
+
return writer;
|
|
2374
|
+
},
|
|
2375
|
+
decode(input, length) {
|
|
2376
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
2377
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2378
|
+
const message = createBaseSetActiveInputVersionResponse();
|
|
2379
|
+
while (reader.pos < end) {
|
|
2380
|
+
const tag = reader.uint32();
|
|
2381
|
+
switch (tag >>> 3) {
|
|
2382
|
+
case 1: {
|
|
2383
|
+
if (tag !== 10) {
|
|
2384
|
+
break;
|
|
2385
|
+
}
|
|
2386
|
+
message.inputSource = input_pb_1.InputSource.decode(reader, reader.uint32());
|
|
2387
|
+
continue;
|
|
2388
|
+
}
|
|
2389
|
+
}
|
|
2390
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
2391
|
+
break;
|
|
2392
|
+
}
|
|
2393
|
+
reader.skip(tag & 7);
|
|
2394
|
+
}
|
|
2395
|
+
return message;
|
|
2396
|
+
},
|
|
2397
|
+
fromJSON(object) {
|
|
2398
|
+
return {
|
|
2399
|
+
inputSource: isSet(object.inputSource)
|
|
2400
|
+
? input_pb_1.InputSource.fromJSON(object.inputSource)
|
|
2401
|
+
: isSet(object.input_source)
|
|
2402
|
+
? input_pb_1.InputSource.fromJSON(object.input_source)
|
|
2403
|
+
: undefined,
|
|
2404
|
+
};
|
|
2405
|
+
},
|
|
2406
|
+
toJSON(message) {
|
|
2407
|
+
const obj = {};
|
|
2408
|
+
if (message.inputSource !== undefined) {
|
|
2409
|
+
obj.inputSource = input_pb_1.InputSource.toJSON(message.inputSource);
|
|
2410
|
+
}
|
|
1935
2411
|
return obj;
|
|
1936
2412
|
},
|
|
1937
2413
|
create(base) {
|
|
@@ -1958,6 +2434,9 @@ class InputServiceClientImpl {
|
|
|
1958
2434
|
this.UpdateInputSource = this.UpdateInputSource.bind(this);
|
|
1959
2435
|
this.ArchiveInputSource = this.ArchiveInputSource.bind(this);
|
|
1960
2436
|
this.DeleteInputSource = this.DeleteInputSource.bind(this);
|
|
2437
|
+
this.AttachInputSourceToWorkflow = this.AttachInputSourceToWorkflow.bind(this);
|
|
2438
|
+
this.DetachInputSourceFromWorkflow = this.DetachInputSourceFromWorkflow.bind(this);
|
|
2439
|
+
this.ListWorkflowInputSourceBindings = this.ListWorkflowInputSourceBindings.bind(this);
|
|
1961
2440
|
this.CreateInputVersion = this.CreateInputVersion.bind(this);
|
|
1962
2441
|
this.GetInputVersion = this.GetInputVersion.bind(this);
|
|
1963
2442
|
this.ListInputVersions = this.ListInputVersions.bind(this);
|
|
@@ -1993,6 +2472,21 @@ class InputServiceClientImpl {
|
|
|
1993
2472
|
const promise = this.rpc.request(this.service, "DeleteInputSource", data);
|
|
1994
2473
|
return promise.then((data) => exports.DeleteInputSourceResponse.decode(new wire_1.BinaryReader(data)));
|
|
1995
2474
|
}
|
|
2475
|
+
AttachInputSourceToWorkflow(request) {
|
|
2476
|
+
const data = exports.AttachInputSourceToWorkflowRequest.encode(request).finish();
|
|
2477
|
+
const promise = this.rpc.request(this.service, "AttachInputSourceToWorkflow", data);
|
|
2478
|
+
return promise.then((data) => exports.AttachInputSourceToWorkflowResponse.decode(new wire_1.BinaryReader(data)));
|
|
2479
|
+
}
|
|
2480
|
+
DetachInputSourceFromWorkflow(request) {
|
|
2481
|
+
const data = exports.DetachInputSourceFromWorkflowRequest.encode(request).finish();
|
|
2482
|
+
const promise = this.rpc.request(this.service, "DetachInputSourceFromWorkflow", data);
|
|
2483
|
+
return promise.then((data) => exports.DetachInputSourceFromWorkflowResponse.decode(new wire_1.BinaryReader(data)));
|
|
2484
|
+
}
|
|
2485
|
+
ListWorkflowInputSourceBindings(request) {
|
|
2486
|
+
const data = exports.ListWorkflowInputSourceBindingsRequest.encode(request).finish();
|
|
2487
|
+
const promise = this.rpc.request(this.service, "ListWorkflowInputSourceBindings", data);
|
|
2488
|
+
return promise.then((data) => exports.ListWorkflowInputSourceBindingsResponse.decode(new wire_1.BinaryReader(data)));
|
|
2489
|
+
}
|
|
1996
2490
|
CreateInputVersion(request) {
|
|
1997
2491
|
const data = exports.CreateInputVersionRequest.encode(request).finish();
|
|
1998
2492
|
const promise = this.rpc.request(this.service, "CreateInputVersion", data);
|
|
@@ -2029,11 +2523,131 @@ exports.InputServiceDefinition = {
|
|
|
2029
2523
|
_unknownFields: {
|
|
2030
2524
|
578365826: [
|
|
2031
2525
|
new Uint8Array([
|
|
2032
|
-
|
|
2526
|
+
37,
|
|
2033
2527
|
58,
|
|
2034
2528
|
1,
|
|
2035
2529
|
42,
|
|
2036
2530
|
34,
|
|
2531
|
+
32,
|
|
2532
|
+
47,
|
|
2533
|
+
118,
|
|
2534
|
+
49,
|
|
2535
|
+
47,
|
|
2536
|
+
112,
|
|
2537
|
+
114,
|
|
2538
|
+
111,
|
|
2539
|
+
106,
|
|
2540
|
+
101,
|
|
2541
|
+
99,
|
|
2542
|
+
116,
|
|
2543
|
+
115,
|
|
2544
|
+
47,
|
|
2545
|
+
123,
|
|
2546
|
+
112,
|
|
2547
|
+
114,
|
|
2548
|
+
111,
|
|
2549
|
+
106,
|
|
2550
|
+
101,
|
|
2551
|
+
99,
|
|
2552
|
+
116,
|
|
2553
|
+
95,
|
|
2554
|
+
105,
|
|
2555
|
+
100,
|
|
2556
|
+
125,
|
|
2557
|
+
47,
|
|
2558
|
+
105,
|
|
2559
|
+
110,
|
|
2560
|
+
112,
|
|
2561
|
+
117,
|
|
2562
|
+
116,
|
|
2563
|
+
115,
|
|
2564
|
+
]),
|
|
2565
|
+
],
|
|
2566
|
+
},
|
|
2567
|
+
},
|
|
2568
|
+
},
|
|
2569
|
+
getInputSource: {
|
|
2570
|
+
name: "GetInputSource",
|
|
2571
|
+
requestType: exports.GetInputSourceRequest,
|
|
2572
|
+
requestStream: false,
|
|
2573
|
+
responseType: exports.GetInputSourceResponse,
|
|
2574
|
+
responseStream: false,
|
|
2575
|
+
options: {
|
|
2576
|
+
_unknownFields: {
|
|
2577
|
+
578365826: [
|
|
2578
|
+
new Uint8Array([
|
|
2579
|
+
52,
|
|
2580
|
+
18,
|
|
2581
|
+
50,
|
|
2582
|
+
47,
|
|
2583
|
+
118,
|
|
2584
|
+
49,
|
|
2585
|
+
47,
|
|
2586
|
+
112,
|
|
2587
|
+
114,
|
|
2588
|
+
111,
|
|
2589
|
+
106,
|
|
2590
|
+
101,
|
|
2591
|
+
99,
|
|
2592
|
+
116,
|
|
2593
|
+
115,
|
|
2594
|
+
47,
|
|
2595
|
+
123,
|
|
2596
|
+
112,
|
|
2597
|
+
114,
|
|
2598
|
+
111,
|
|
2599
|
+
106,
|
|
2600
|
+
101,
|
|
2601
|
+
99,
|
|
2602
|
+
116,
|
|
2603
|
+
95,
|
|
2604
|
+
105,
|
|
2605
|
+
100,
|
|
2606
|
+
125,
|
|
2607
|
+
47,
|
|
2608
|
+
105,
|
|
2609
|
+
110,
|
|
2610
|
+
112,
|
|
2611
|
+
117,
|
|
2612
|
+
116,
|
|
2613
|
+
115,
|
|
2614
|
+
47,
|
|
2615
|
+
123,
|
|
2616
|
+
105,
|
|
2617
|
+
110,
|
|
2618
|
+
112,
|
|
2619
|
+
117,
|
|
2620
|
+
116,
|
|
2621
|
+
95,
|
|
2622
|
+
115,
|
|
2623
|
+
111,
|
|
2624
|
+
117,
|
|
2625
|
+
114,
|
|
2626
|
+
99,
|
|
2627
|
+
101,
|
|
2628
|
+
95,
|
|
2629
|
+
105,
|
|
2630
|
+
100,
|
|
2631
|
+
125,
|
|
2632
|
+
]),
|
|
2633
|
+
],
|
|
2634
|
+
},
|
|
2635
|
+
},
|
|
2636
|
+
},
|
|
2637
|
+
listInputSources: {
|
|
2638
|
+
name: "ListInputSources",
|
|
2639
|
+
requestType: exports.ListInputSourcesRequest,
|
|
2640
|
+
requestStream: false,
|
|
2641
|
+
responseType: exports.ListInputSourcesResponse,
|
|
2642
|
+
responseStream: false,
|
|
2643
|
+
options: {
|
|
2644
|
+
_unknownFields: {
|
|
2645
|
+
578365826: [
|
|
2646
|
+
new Uint8Array([
|
|
2647
|
+
94,
|
|
2648
|
+
90,
|
|
2649
|
+
58,
|
|
2650
|
+
18,
|
|
2037
2651
|
56,
|
|
2038
2652
|
47,
|
|
2039
2653
|
118,
|
|
@@ -2091,24 +2705,132 @@ exports.InputServiceDefinition = {
|
|
|
2091
2705
|
117,
|
|
2092
2706
|
116,
|
|
2093
2707
|
115,
|
|
2708
|
+
18,
|
|
2709
|
+
32,
|
|
2710
|
+
47,
|
|
2711
|
+
118,
|
|
2712
|
+
49,
|
|
2713
|
+
47,
|
|
2714
|
+
112,
|
|
2715
|
+
114,
|
|
2716
|
+
111,
|
|
2717
|
+
106,
|
|
2718
|
+
101,
|
|
2719
|
+
99,
|
|
2720
|
+
116,
|
|
2721
|
+
115,
|
|
2722
|
+
47,
|
|
2723
|
+
123,
|
|
2724
|
+
112,
|
|
2725
|
+
114,
|
|
2726
|
+
111,
|
|
2727
|
+
106,
|
|
2728
|
+
101,
|
|
2729
|
+
99,
|
|
2730
|
+
116,
|
|
2731
|
+
95,
|
|
2732
|
+
105,
|
|
2733
|
+
100,
|
|
2734
|
+
125,
|
|
2735
|
+
47,
|
|
2736
|
+
105,
|
|
2737
|
+
110,
|
|
2738
|
+
112,
|
|
2739
|
+
117,
|
|
2740
|
+
116,
|
|
2741
|
+
115,
|
|
2094
2742
|
]),
|
|
2095
2743
|
],
|
|
2096
2744
|
},
|
|
2097
2745
|
},
|
|
2098
2746
|
},
|
|
2099
|
-
|
|
2100
|
-
name: "
|
|
2101
|
-
requestType: exports.
|
|
2747
|
+
updateInputSource: {
|
|
2748
|
+
name: "UpdateInputSource",
|
|
2749
|
+
requestType: exports.UpdateInputSourceRequest,
|
|
2102
2750
|
requestStream: false,
|
|
2103
|
-
responseType: exports.
|
|
2751
|
+
responseType: exports.UpdateInputSourceResponse,
|
|
2752
|
+
responseStream: false,
|
|
2753
|
+
options: {
|
|
2754
|
+
_unknownFields: {
|
|
2755
|
+
578365826: [
|
|
2756
|
+
new Uint8Array([
|
|
2757
|
+
55,
|
|
2758
|
+
58,
|
|
2759
|
+
1,
|
|
2760
|
+
42,
|
|
2761
|
+
50,
|
|
2762
|
+
50,
|
|
2763
|
+
47,
|
|
2764
|
+
118,
|
|
2765
|
+
49,
|
|
2766
|
+
47,
|
|
2767
|
+
112,
|
|
2768
|
+
114,
|
|
2769
|
+
111,
|
|
2770
|
+
106,
|
|
2771
|
+
101,
|
|
2772
|
+
99,
|
|
2773
|
+
116,
|
|
2774
|
+
115,
|
|
2775
|
+
47,
|
|
2776
|
+
123,
|
|
2777
|
+
112,
|
|
2778
|
+
114,
|
|
2779
|
+
111,
|
|
2780
|
+
106,
|
|
2781
|
+
101,
|
|
2782
|
+
99,
|
|
2783
|
+
116,
|
|
2784
|
+
95,
|
|
2785
|
+
105,
|
|
2786
|
+
100,
|
|
2787
|
+
125,
|
|
2788
|
+
47,
|
|
2789
|
+
105,
|
|
2790
|
+
110,
|
|
2791
|
+
112,
|
|
2792
|
+
117,
|
|
2793
|
+
116,
|
|
2794
|
+
115,
|
|
2795
|
+
47,
|
|
2796
|
+
123,
|
|
2797
|
+
105,
|
|
2798
|
+
110,
|
|
2799
|
+
112,
|
|
2800
|
+
117,
|
|
2801
|
+
116,
|
|
2802
|
+
95,
|
|
2803
|
+
115,
|
|
2804
|
+
111,
|
|
2805
|
+
117,
|
|
2806
|
+
114,
|
|
2807
|
+
99,
|
|
2808
|
+
101,
|
|
2809
|
+
95,
|
|
2810
|
+
105,
|
|
2811
|
+
100,
|
|
2812
|
+
125,
|
|
2813
|
+
]),
|
|
2814
|
+
],
|
|
2815
|
+
},
|
|
2816
|
+
},
|
|
2817
|
+
},
|
|
2818
|
+
archiveInputSource: {
|
|
2819
|
+
name: "ArchiveInputSource",
|
|
2820
|
+
requestType: exports.ArchiveInputSourceRequest,
|
|
2821
|
+
requestStream: false,
|
|
2822
|
+
responseType: exports.ArchiveInputSourceResponse,
|
|
2104
2823
|
responseStream: false,
|
|
2105
2824
|
options: {
|
|
2106
2825
|
_unknownFields: {
|
|
2107
2826
|
578365826: [
|
|
2108
2827
|
new Uint8Array([
|
|
2109
|
-
|
|
2110
|
-
|
|
2111
|
-
|
|
2828
|
+
63,
|
|
2829
|
+
58,
|
|
2830
|
+
1,
|
|
2831
|
+
42,
|
|
2832
|
+
34,
|
|
2833
|
+
58,
|
|
2112
2834
|
47,
|
|
2113
2835
|
118,
|
|
2114
2836
|
49,
|
|
@@ -2135,30 +2857,6 @@ exports.InputServiceDefinition = {
|
|
|
2135
2857
|
100,
|
|
2136
2858
|
125,
|
|
2137
2859
|
47,
|
|
2138
|
-
119,
|
|
2139
|
-
111,
|
|
2140
|
-
114,
|
|
2141
|
-
107,
|
|
2142
|
-
102,
|
|
2143
|
-
108,
|
|
2144
|
-
111,
|
|
2145
|
-
119,
|
|
2146
|
-
115,
|
|
2147
|
-
47,
|
|
2148
|
-
123,
|
|
2149
|
-
119,
|
|
2150
|
-
111,
|
|
2151
|
-
114,
|
|
2152
|
-
107,
|
|
2153
|
-
102,
|
|
2154
|
-
108,
|
|
2155
|
-
111,
|
|
2156
|
-
119,
|
|
2157
|
-
95,
|
|
2158
|
-
105,
|
|
2159
|
-
100,
|
|
2160
|
-
125,
|
|
2161
|
-
47,
|
|
2162
2860
|
105,
|
|
2163
2861
|
110,
|
|
2164
2862
|
112,
|
|
@@ -2183,24 +2881,32 @@ exports.InputServiceDefinition = {
|
|
|
2183
2881
|
105,
|
|
2184
2882
|
100,
|
|
2185
2883
|
125,
|
|
2884
|
+
58,
|
|
2885
|
+
97,
|
|
2886
|
+
114,
|
|
2887
|
+
99,
|
|
2888
|
+
104,
|
|
2889
|
+
105,
|
|
2890
|
+
118,
|
|
2891
|
+
101,
|
|
2186
2892
|
]),
|
|
2187
2893
|
],
|
|
2188
2894
|
},
|
|
2189
2895
|
},
|
|
2190
2896
|
},
|
|
2191
|
-
|
|
2192
|
-
name: "
|
|
2193
|
-
requestType: exports.
|
|
2897
|
+
deleteInputSource: {
|
|
2898
|
+
name: "DeleteInputSource",
|
|
2899
|
+
requestType: exports.DeleteInputSourceRequest,
|
|
2194
2900
|
requestStream: false,
|
|
2195
|
-
responseType: exports.
|
|
2901
|
+
responseType: exports.DeleteInputSourceResponse,
|
|
2196
2902
|
responseStream: false,
|
|
2197
2903
|
options: {
|
|
2198
2904
|
_unknownFields: {
|
|
2199
2905
|
578365826: [
|
|
2200
2906
|
new Uint8Array([
|
|
2201
|
-
|
|
2202
|
-
|
|
2203
|
-
|
|
2907
|
+
52,
|
|
2908
|
+
42,
|
|
2909
|
+
50,
|
|
2204
2910
|
47,
|
|
2205
2911
|
118,
|
|
2206
2912
|
49,
|
|
@@ -2227,57 +2933,51 @@ exports.InputServiceDefinition = {
|
|
|
2227
2933
|
100,
|
|
2228
2934
|
125,
|
|
2229
2935
|
47,
|
|
2230
|
-
|
|
2231
|
-
|
|
2232
|
-
|
|
2233
|
-
|
|
2234
|
-
|
|
2235
|
-
108,
|
|
2236
|
-
111,
|
|
2237
|
-
119,
|
|
2936
|
+
105,
|
|
2937
|
+
110,
|
|
2938
|
+
112,
|
|
2939
|
+
117,
|
|
2940
|
+
116,
|
|
2238
2941
|
115,
|
|
2239
2942
|
47,
|
|
2240
2943
|
123,
|
|
2241
|
-
119,
|
|
2242
|
-
111,
|
|
2243
|
-
114,
|
|
2244
|
-
107,
|
|
2245
|
-
102,
|
|
2246
|
-
108,
|
|
2247
|
-
111,
|
|
2248
|
-
119,
|
|
2249
|
-
95,
|
|
2250
|
-
105,
|
|
2251
|
-
100,
|
|
2252
|
-
125,
|
|
2253
|
-
47,
|
|
2254
2944
|
105,
|
|
2255
2945
|
110,
|
|
2256
2946
|
112,
|
|
2257
2947
|
117,
|
|
2258
2948
|
116,
|
|
2949
|
+
95,
|
|
2259
2950
|
115,
|
|
2951
|
+
111,
|
|
2952
|
+
117,
|
|
2953
|
+
114,
|
|
2954
|
+
99,
|
|
2955
|
+
101,
|
|
2956
|
+
95,
|
|
2957
|
+
105,
|
|
2958
|
+
100,
|
|
2959
|
+
125,
|
|
2260
2960
|
]),
|
|
2261
2961
|
],
|
|
2262
2962
|
},
|
|
2263
2963
|
},
|
|
2264
2964
|
},
|
|
2265
|
-
|
|
2266
|
-
name: "
|
|
2267
|
-
requestType: exports.
|
|
2965
|
+
attachInputSourceToWorkflow: {
|
|
2966
|
+
name: "AttachInputSourceToWorkflow",
|
|
2967
|
+
requestType: exports.AttachInputSourceToWorkflowRequest,
|
|
2268
2968
|
requestStream: false,
|
|
2269
|
-
responseType: exports.
|
|
2969
|
+
responseType: exports.AttachInputSourceToWorkflowResponse,
|
|
2270
2970
|
responseStream: false,
|
|
2271
2971
|
options: {
|
|
2272
2972
|
_unknownFields: {
|
|
2273
2973
|
578365826: [
|
|
2274
2974
|
new Uint8Array([
|
|
2275
|
-
|
|
2975
|
+
86,
|
|
2276
2976
|
58,
|
|
2277
2977
|
1,
|
|
2278
2978
|
42,
|
|
2279
|
-
|
|
2280
|
-
|
|
2979
|
+
34,
|
|
2980
|
+
81,
|
|
2281
2981
|
47,
|
|
2282
2982
|
118,
|
|
2283
2983
|
49,
|
|
@@ -2352,27 +3052,31 @@ exports.InputServiceDefinition = {
|
|
|
2352
3052
|
105,
|
|
2353
3053
|
100,
|
|
2354
3054
|
125,
|
|
3055
|
+
58,
|
|
3056
|
+
97,
|
|
3057
|
+
116,
|
|
3058
|
+
116,
|
|
3059
|
+
97,
|
|
3060
|
+
99,
|
|
3061
|
+
104,
|
|
2355
3062
|
]),
|
|
2356
3063
|
],
|
|
2357
3064
|
},
|
|
2358
3065
|
},
|
|
2359
3066
|
},
|
|
2360
|
-
|
|
2361
|
-
name: "
|
|
2362
|
-
requestType: exports.
|
|
3067
|
+
detachInputSourceFromWorkflow: {
|
|
3068
|
+
name: "DetachInputSourceFromWorkflow",
|
|
3069
|
+
requestType: exports.DetachInputSourceFromWorkflowRequest,
|
|
2363
3070
|
requestStream: false,
|
|
2364
|
-
responseType: exports.
|
|
3071
|
+
responseType: exports.DetachInputSourceFromWorkflowResponse,
|
|
2365
3072
|
responseStream: false,
|
|
2366
3073
|
options: {
|
|
2367
3074
|
_unknownFields: {
|
|
2368
3075
|
578365826: [
|
|
2369
3076
|
new Uint8Array([
|
|
2370
|
-
|
|
2371
|
-
58,
|
|
2372
|
-
1,
|
|
3077
|
+
76,
|
|
2373
3078
|
42,
|
|
2374
|
-
|
|
2375
|
-
82,
|
|
3079
|
+
74,
|
|
2376
3080
|
47,
|
|
2377
3081
|
118,
|
|
2378
3082
|
49,
|
|
@@ -2447,32 +3151,24 @@ exports.InputServiceDefinition = {
|
|
|
2447
3151
|
105,
|
|
2448
3152
|
100,
|
|
2449
3153
|
125,
|
|
2450
|
-
58,
|
|
2451
|
-
97,
|
|
2452
|
-
114,
|
|
2453
|
-
99,
|
|
2454
|
-
104,
|
|
2455
|
-
105,
|
|
2456
|
-
118,
|
|
2457
|
-
101,
|
|
2458
3154
|
]),
|
|
2459
3155
|
],
|
|
2460
3156
|
},
|
|
2461
3157
|
},
|
|
2462
3158
|
},
|
|
2463
|
-
|
|
2464
|
-
name: "
|
|
2465
|
-
requestType: exports.
|
|
3159
|
+
listWorkflowInputSourceBindings: {
|
|
3160
|
+
name: "ListWorkflowInputSourceBindings",
|
|
3161
|
+
requestType: exports.ListWorkflowInputSourceBindingsRequest,
|
|
2466
3162
|
requestStream: false,
|
|
2467
|
-
responseType: exports.
|
|
3163
|
+
responseType: exports.ListWorkflowInputSourceBindingsResponse,
|
|
2468
3164
|
responseStream: false,
|
|
2469
3165
|
options: {
|
|
2470
3166
|
_unknownFields: {
|
|
2471
3167
|
578365826: [
|
|
2472
3168
|
new Uint8Array([
|
|
2473
|
-
|
|
2474
|
-
|
|
2475
|
-
|
|
3169
|
+
66,
|
|
3170
|
+
18,
|
|
3171
|
+
64,
|
|
2476
3172
|
47,
|
|
2477
3173
|
118,
|
|
2478
3174
|
49,
|
|
@@ -2528,25 +3224,15 @@ exports.InputServiceDefinition = {
|
|
|
2528
3224
|
112,
|
|
2529
3225
|
117,
|
|
2530
3226
|
116,
|
|
2531
|
-
|
|
2532
|
-
|
|
2533
|
-
123,
|
|
3227
|
+
45,
|
|
3228
|
+
98,
|
|
2534
3229
|
105,
|
|
2535
3230
|
110,
|
|
2536
|
-
112,
|
|
2537
|
-
117,
|
|
2538
|
-
116,
|
|
2539
|
-
95,
|
|
2540
|
-
115,
|
|
2541
|
-
111,
|
|
2542
|
-
117,
|
|
2543
|
-
114,
|
|
2544
|
-
99,
|
|
2545
|
-
101,
|
|
2546
|
-
95,
|
|
2547
|
-
105,
|
|
2548
3231
|
100,
|
|
2549
|
-
|
|
3232
|
+
105,
|
|
3233
|
+
110,
|
|
3234
|
+
103,
|
|
3235
|
+
115,
|
|
2550
3236
|
]),
|
|
2551
3237
|
],
|
|
2552
3238
|
},
|
|
@@ -2562,12 +3248,12 @@ exports.InputServiceDefinition = {
|
|
|
2562
3248
|
_unknownFields: {
|
|
2563
3249
|
578365826: [
|
|
2564
3250
|
new Uint8Array([
|
|
2565
|
-
|
|
3251
|
+
64,
|
|
2566
3252
|
58,
|
|
2567
3253
|
1,
|
|
2568
3254
|
42,
|
|
2569
3255
|
34,
|
|
2570
|
-
|
|
3256
|
+
59,
|
|
2571
3257
|
47,
|
|
2572
3258
|
118,
|
|
2573
3259
|
49,
|
|
@@ -2594,30 +3280,6 @@ exports.InputServiceDefinition = {
|
|
|
2594
3280
|
100,
|
|
2595
3281
|
125,
|
|
2596
3282
|
47,
|
|
2597
|
-
119,
|
|
2598
|
-
111,
|
|
2599
|
-
114,
|
|
2600
|
-
107,
|
|
2601
|
-
102,
|
|
2602
|
-
108,
|
|
2603
|
-
111,
|
|
2604
|
-
119,
|
|
2605
|
-
115,
|
|
2606
|
-
47,
|
|
2607
|
-
123,
|
|
2608
|
-
119,
|
|
2609
|
-
111,
|
|
2610
|
-
114,
|
|
2611
|
-
107,
|
|
2612
|
-
102,
|
|
2613
|
-
108,
|
|
2614
|
-
111,
|
|
2615
|
-
119,
|
|
2616
|
-
95,
|
|
2617
|
-
105,
|
|
2618
|
-
100,
|
|
2619
|
-
125,
|
|
2620
|
-
47,
|
|
2621
3283
|
105,
|
|
2622
3284
|
110,
|
|
2623
3285
|
112,
|
|
@@ -2666,9 +3328,9 @@ exports.InputServiceDefinition = {
|
|
|
2666
3328
|
_unknownFields: {
|
|
2667
3329
|
578365826: [
|
|
2668
3330
|
new Uint8Array([
|
|
2669
|
-
|
|
3331
|
+
80,
|
|
2670
3332
|
18,
|
|
2671
|
-
|
|
3333
|
+
78,
|
|
2672
3334
|
47,
|
|
2673
3335
|
118,
|
|
2674
3336
|
49,
|
|
@@ -2695,30 +3357,6 @@ exports.InputServiceDefinition = {
|
|
|
2695
3357
|
100,
|
|
2696
3358
|
125,
|
|
2697
3359
|
47,
|
|
2698
|
-
119,
|
|
2699
|
-
111,
|
|
2700
|
-
114,
|
|
2701
|
-
107,
|
|
2702
|
-
102,
|
|
2703
|
-
108,
|
|
2704
|
-
111,
|
|
2705
|
-
119,
|
|
2706
|
-
115,
|
|
2707
|
-
47,
|
|
2708
|
-
123,
|
|
2709
|
-
119,
|
|
2710
|
-
111,
|
|
2711
|
-
114,
|
|
2712
|
-
107,
|
|
2713
|
-
102,
|
|
2714
|
-
108,
|
|
2715
|
-
111,
|
|
2716
|
-
119,
|
|
2717
|
-
95,
|
|
2718
|
-
105,
|
|
2719
|
-
100,
|
|
2720
|
-
125,
|
|
2721
|
-
47,
|
|
2722
3360
|
105,
|
|
2723
3361
|
110,
|
|
2724
3362
|
112,
|
|
@@ -2786,9 +3424,9 @@ exports.InputServiceDefinition = {
|
|
|
2786
3424
|
_unknownFields: {
|
|
2787
3425
|
578365826: [
|
|
2788
3426
|
new Uint8Array([
|
|
2789
|
-
|
|
3427
|
+
61,
|
|
2790
3428
|
18,
|
|
2791
|
-
|
|
3429
|
+
59,
|
|
2792
3430
|
47,
|
|
2793
3431
|
118,
|
|
2794
3432
|
49,
|
|
@@ -2815,30 +3453,6 @@ exports.InputServiceDefinition = {
|
|
|
2815
3453
|
100,
|
|
2816
3454
|
125,
|
|
2817
3455
|
47,
|
|
2818
|
-
119,
|
|
2819
|
-
111,
|
|
2820
|
-
114,
|
|
2821
|
-
107,
|
|
2822
|
-
102,
|
|
2823
|
-
108,
|
|
2824
|
-
111,
|
|
2825
|
-
119,
|
|
2826
|
-
115,
|
|
2827
|
-
47,
|
|
2828
|
-
123,
|
|
2829
|
-
119,
|
|
2830
|
-
111,
|
|
2831
|
-
114,
|
|
2832
|
-
107,
|
|
2833
|
-
102,
|
|
2834
|
-
108,
|
|
2835
|
-
111,
|
|
2836
|
-
119,
|
|
2837
|
-
95,
|
|
2838
|
-
105,
|
|
2839
|
-
100,
|
|
2840
|
-
125,
|
|
2841
|
-
47,
|
|
2842
3456
|
105,
|
|
2843
3457
|
110,
|
|
2844
3458
|
112,
|
|
@@ -2887,12 +3501,12 @@ exports.InputServiceDefinition = {
|
|
|
2887
3501
|
_unknownFields: {
|
|
2888
3502
|
578365826: [
|
|
2889
3503
|
new Uint8Array([
|
|
2890
|
-
|
|
3504
|
+
74,
|
|
2891
3505
|
58,
|
|
2892
3506
|
1,
|
|
2893
3507
|
42,
|
|
2894
3508
|
34,
|
|
2895
|
-
|
|
3509
|
+
69,
|
|
2896
3510
|
47,
|
|
2897
3511
|
118,
|
|
2898
3512
|
49,
|
|
@@ -2919,30 +3533,6 @@ exports.InputServiceDefinition = {
|
|
|
2919
3533
|
100,
|
|
2920
3534
|
125,
|
|
2921
3535
|
47,
|
|
2922
|
-
119,
|
|
2923
|
-
111,
|
|
2924
|
-
114,
|
|
2925
|
-
107,
|
|
2926
|
-
102,
|
|
2927
|
-
108,
|
|
2928
|
-
111,
|
|
2929
|
-
119,
|
|
2930
|
-
115,
|
|
2931
|
-
47,
|
|
2932
|
-
123,
|
|
2933
|
-
119,
|
|
2934
|
-
111,
|
|
2935
|
-
114,
|
|
2936
|
-
107,
|
|
2937
|
-
102,
|
|
2938
|
-
108,
|
|
2939
|
-
111,
|
|
2940
|
-
119,
|
|
2941
|
-
95,
|
|
2942
|
-
105,
|
|
2943
|
-
100,
|
|
2944
|
-
125,
|
|
2945
|
-
47,
|
|
2946
3536
|
105,
|
|
2947
3537
|
110,
|
|
2948
3538
|
112,
|
|
@@ -2993,6 +3583,27 @@ exports.InputServiceDefinition = {
|
|
|
2993
3583
|
},
|
|
2994
3584
|
},
|
|
2995
3585
|
};
|
|
3586
|
+
function toTimestamp(date) {
|
|
3587
|
+
const seconds = Math.trunc(date.getTime() / 1000);
|
|
3588
|
+
const nanos = (date.getTime() % 1000) * 1000000;
|
|
3589
|
+
return { seconds, nanos };
|
|
3590
|
+
}
|
|
3591
|
+
function fromTimestamp(t) {
|
|
3592
|
+
let millis = (t.seconds || 0) * 1000;
|
|
3593
|
+
millis += (t.nanos || 0) / 1000000;
|
|
3594
|
+
return new globalThis.Date(millis);
|
|
3595
|
+
}
|
|
3596
|
+
function fromJsonTimestamp(o) {
|
|
3597
|
+
if (o instanceof globalThis.Date) {
|
|
3598
|
+
return o;
|
|
3599
|
+
}
|
|
3600
|
+
else if (typeof o === "string") {
|
|
3601
|
+
return new globalThis.Date(o);
|
|
3602
|
+
}
|
|
3603
|
+
else {
|
|
3604
|
+
return fromTimestamp(timestamp_pb_1.Timestamp.fromJSON(o));
|
|
3605
|
+
}
|
|
3606
|
+
}
|
|
2996
3607
|
function isObject(value) {
|
|
2997
3608
|
return typeof value === "object" && value !== null;
|
|
2998
3609
|
}
|