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.
Files changed (69) hide show
  1. package/dist/weaveapi/data/v1/data.pb.d.ts +1 -1
  2. package/dist/weaveapi/data/v1/data.pb.js +11 -11
  3. package/dist/weaveapi/data/v1/service.pb.d.ts +89 -6
  4. package/dist/weaveapi/data/v1/service.pb.js +1195 -364
  5. package/dist/weaveapi/input/v1/input.pb.d.ts +1 -1
  6. package/dist/weaveapi/input/v1/input.pb.js +11 -11
  7. package/dist/weaveapi/input/v1/service.pb.d.ts +89 -10
  8. package/dist/weaveapi/input/v1/service.pb.js +1253 -642
  9. package/dist/weaveapi/integration/v1/integration.pb.d.ts +1 -1
  10. package/dist/weaveapi/integration/v1/integration.pb.js +11 -11
  11. package/dist/weaveapi/integration/v1/service.pb.d.ts +89 -7
  12. package/dist/weaveapi/integration/v1/service.pb.js +1164 -390
  13. package/dist/weaveapi/project/v1/project.pb.d.ts +1 -0
  14. package/dist/weaveapi/project/v1/project.pb.js +17 -1
  15. package/dist/weaveapi/project/v1/service.pb.d.ts +25 -0
  16. package/dist/weaveapi/project/v1/service.pb.js +248 -5
  17. package/dist/weaveapi/report/v1/report.pb.d.ts +2 -0
  18. package/dist/weaveapi/report/v1/report.pb.js +42 -2
  19. package/dist/weaveapi/report/v1/service.pb.d.ts +6 -6
  20. package/dist/weaveapi/report/v1/service.pb.js +416 -121
  21. package/dist/weaveapi/requirement/v1/requirement.pb.d.ts +1 -1
  22. package/dist/weaveapi/requirement/v1/requirement.pb.js +11 -11
  23. package/dist/weaveapi/requirement/v1/service.pb.d.ts +90 -10
  24. package/dist/weaveapi/requirement/v1/service.pb.js +1261 -601
  25. package/dist/weaveapi/run/v1/run.pb.d.ts +1 -0
  26. package/dist/weaveapi/run/v1/run.pb.js +21 -1
  27. package/dist/weaveapi/run/v1/service.pb.d.ts +6 -6
  28. package/dist/weaveapi/run/v1/service.pb.js +448 -126
  29. package/dist/weaveapi/script/v1/script.pb.d.ts +1 -1
  30. package/dist/weaveapi/script/v1/script.pb.js +11 -11
  31. package/dist/weaveapi/script/v1/service.pb.d.ts +90 -14
  32. package/dist/weaveapi/script/v1/service.pb.js +1404 -930
  33. package/dist/weaveapi/suite/v1/service.pb.d.ts +178 -12
  34. package/dist/weaveapi/suite/v1/service.pb.js +2631 -979
  35. package/dist/weaveapi/suite/v1/suite.pb.d.ts +2 -2
  36. package/dist/weaveapi/suite/v1/suite.pb.js +22 -22
  37. package/dist/weaveapi/testcase/v1/service.pb.d.ts +90 -14
  38. package/dist/weaveapi/testcase/v1/service.pb.js +1332 -856
  39. package/dist/weaveapi/testcase/v1/testcase.pb.d.ts +1 -1
  40. package/dist/weaveapi/testcase/v1/testcase.pb.js +11 -11
  41. package/dist/weaveapi/workflow/v1/service.pb.d.ts +26 -0
  42. package/dist/weaveapi/workflow/v1/service.pb.js +293 -5
  43. package/dist/weaveapi/workflow/v1/workflow.pb.d.ts +1 -0
  44. package/dist/weaveapi/workflow/v1/workflow.pb.js +17 -1
  45. package/dist/weavesql/weavedb/data_asset_sql.d.ts +81 -16
  46. package/dist/weavesql/weavedb/data_asset_sql.js +142 -24
  47. package/dist/weavesql/weavedb/input_sql.d.ts +88 -25
  48. package/dist/weavesql/weavedb/input_sql.js +150 -34
  49. package/dist/weavesql/weavedb/integration_sql.d.ts +85 -19
  50. package/dist/weavesql/weavedb/integration_sql.js +147 -28
  51. package/dist/weavesql/weavedb/project_sql.d.ts +29 -5
  52. package/dist/weavesql/weavedb/project_sql.js +73 -37
  53. package/dist/weavesql/weavedb/report_sql.d.ts +61 -7
  54. package/dist/weavesql/weavedb/report_sql.js +157 -81
  55. package/dist/weavesql/weavedb/requirement_sql.d.ts +83 -20
  56. package/dist/weavesql/weavedb/requirement_sql.js +144 -28
  57. package/dist/weavesql/weavedb/run_sql.d.ts +44 -8
  58. package/dist/weavesql/weavedb/run_sql.js +140 -93
  59. package/dist/weavesql/weavedb/suite_sql.d.ts +156 -30
  60. package/dist/weavesql/weavedb/suite_sql.js +274 -42
  61. package/dist/weavesql/weavedb/test_case_sql.d.ts +91 -27
  62. package/dist/weavesql/weavedb/test_case_sql.js +153 -36
  63. package/dist/weavesql/weavedb/test_script_sql.d.ts +91 -27
  64. package/dist/weavesql/weavedb/test_script_sql.js +153 -36
  65. package/dist/weavesql/weavedb/traceability_sql.d.ts +62 -4
  66. package/dist/weavesql/weavedb/traceability_sql.js +245 -37
  67. package/dist/weavesql/weavedb/workflow_sql.d.ts +30 -5
  68. package/dist/weavesql/weavedb/workflow_sql.js +76 -38
  69. package/package.json +1 -1
@@ -5,7 +5,7 @@
5
5
  // protoc unknown
6
6
  // source: weaveapi/integration/v1/service.proto
7
7
  Object.defineProperty(exports, "__esModule", { value: true });
8
- exports.IntegrationServiceDefinition = exports.IntegrationServiceClientImpl = exports.IntegrationServiceServiceName = exports.ValidateIntegrationEndpointResponse = exports.ValidateIntegrationEndpointRequest = exports.DeleteIntegrationEndpointResponse = exports.DeleteIntegrationEndpointRequest = exports.ArchiveIntegrationEndpointResponse = exports.ArchiveIntegrationEndpointRequest = exports.UpdateIntegrationEndpointResponse = exports.UpdateIntegrationEndpointRequest = exports.ListIntegrationEndpointsResponse = exports.ListIntegrationEndpointsRequest = exports.GetIntegrationEndpointResponse = exports.GetIntegrationEndpointRequest = exports.CreateIntegrationEndpointResponse = exports.CreateIntegrationEndpointRequest = exports.protobufPackage = void 0;
8
+ exports.IntegrationServiceDefinition = exports.IntegrationServiceClientImpl = exports.IntegrationServiceServiceName = exports.ValidateIntegrationEndpointResponse = exports.ValidateIntegrationEndpointRequest = exports.WorkflowIntegrationEndpointBinding = exports.ListWorkflowIntegrationEndpointBindingsResponse = exports.ListWorkflowIntegrationEndpointBindingsRequest = exports.DetachIntegrationEndpointFromWorkflowResponse = exports.DetachIntegrationEndpointFromWorkflowRequest = exports.AttachIntegrationEndpointToWorkflowResponse = exports.AttachIntegrationEndpointToWorkflowRequest = exports.DeleteIntegrationEndpointResponse = exports.DeleteIntegrationEndpointRequest = exports.ArchiveIntegrationEndpointResponse = exports.ArchiveIntegrationEndpointRequest = exports.UpdateIntegrationEndpointResponse = exports.UpdateIntegrationEndpointRequest = exports.ListIntegrationEndpointsResponse = exports.ListIntegrationEndpointsRequest = exports.GetIntegrationEndpointResponse = exports.GetIntegrationEndpointRequest = exports.CreateIntegrationEndpointResponse = exports.CreateIntegrationEndpointRequest = 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");
@@ -15,7 +15,6 @@ exports.protobufPackage = "weaveapi.integration.v1";
15
15
  function createBaseCreateIntegrationEndpointRequest() {
16
16
  return {
17
17
  projectId: "",
18
- workflowId: "",
19
18
  name: "",
20
19
  description: "",
21
20
  integrationType: 0,
@@ -30,29 +29,26 @@ exports.CreateIntegrationEndpointRequest = {
30
29
  if (message.projectId !== "") {
31
30
  writer.uint32(10).string(message.projectId);
32
31
  }
33
- if (message.workflowId !== "") {
34
- writer.uint32(18).string(message.workflowId);
35
- }
36
32
  if (message.name !== "") {
37
- writer.uint32(26).string(message.name);
33
+ writer.uint32(18).string(message.name);
38
34
  }
39
35
  if (message.description !== "") {
40
- writer.uint32(34).string(message.description);
36
+ writer.uint32(26).string(message.description);
41
37
  }
42
38
  if (message.integrationType !== 0) {
43
- writer.uint32(40).int32(message.integrationType);
39
+ writer.uint32(32).int32(message.integrationType);
44
40
  }
45
41
  if (message.targetUri !== "") {
46
- writer.uint32(50).string(message.targetUri);
42
+ writer.uint32(42).string(message.targetUri);
47
43
  }
48
44
  if (message.authReference !== "") {
49
- writer.uint32(58).string(message.authReference);
45
+ writer.uint32(50).string(message.authReference);
50
46
  }
51
47
  if (message.config !== undefined) {
52
- struct_pb_1.Struct.encode(struct_pb_1.Struct.wrap(message.config), writer.uint32(66).fork()).join();
48
+ struct_pb_1.Struct.encode(struct_pb_1.Struct.wrap(message.config), writer.uint32(58).fork()).join();
53
49
  }
54
50
  if (message.metadata !== undefined) {
55
- struct_pb_1.Struct.encode(struct_pb_1.Struct.wrap(message.metadata), writer.uint32(74).fork()).join();
51
+ struct_pb_1.Struct.encode(struct_pb_1.Struct.wrap(message.metadata), writer.uint32(66).fork()).join();
56
52
  }
57
53
  return writer;
58
54
  },
@@ -74,55 +70,48 @@ exports.CreateIntegrationEndpointRequest = {
74
70
  if (tag !== 18) {
75
71
  break;
76
72
  }
77
- message.workflowId = reader.string();
73
+ message.name = reader.string();
78
74
  continue;
79
75
  }
80
76
  case 3: {
81
77
  if (tag !== 26) {
82
78
  break;
83
79
  }
84
- message.name = reader.string();
80
+ message.description = reader.string();
85
81
  continue;
86
82
  }
87
83
  case 4: {
88
- if (tag !== 34) {
84
+ if (tag !== 32) {
89
85
  break;
90
86
  }
91
- message.description = reader.string();
87
+ message.integrationType = reader.int32();
92
88
  continue;
93
89
  }
94
90
  case 5: {
95
- if (tag !== 40) {
91
+ if (tag !== 42) {
96
92
  break;
97
93
  }
98
- message.integrationType = reader.int32();
94
+ message.targetUri = reader.string();
99
95
  continue;
100
96
  }
101
97
  case 6: {
102
98
  if (tag !== 50) {
103
99
  break;
104
100
  }
105
- message.targetUri = reader.string();
101
+ message.authReference = reader.string();
106
102
  continue;
107
103
  }
108
104
  case 7: {
109
105
  if (tag !== 58) {
110
106
  break;
111
107
  }
112
- message.authReference = reader.string();
108
+ message.config = struct_pb_1.Struct.unwrap(struct_pb_1.Struct.decode(reader, reader.uint32()));
113
109
  continue;
114
110
  }
115
111
  case 8: {
116
112
  if (tag !== 66) {
117
113
  break;
118
114
  }
119
- message.config = struct_pb_1.Struct.unwrap(struct_pb_1.Struct.decode(reader, reader.uint32()));
120
- continue;
121
- }
122
- case 9: {
123
- if (tag !== 74) {
124
- break;
125
- }
126
115
  message.metadata = struct_pb_1.Struct.unwrap(struct_pb_1.Struct.decode(reader, reader.uint32()));
127
116
  continue;
128
117
  }
@@ -141,11 +130,6 @@ exports.CreateIntegrationEndpointRequest = {
141
130
  : isSet(object.project_id)
142
131
  ? globalThis.String(object.project_id)
143
132
  : "",
144
- workflowId: isSet(object.workflowId)
145
- ? globalThis.String(object.workflowId)
146
- : isSet(object.workflow_id)
147
- ? globalThis.String(object.workflow_id)
148
- : "",
149
133
  name: isSet(object.name) ? globalThis.String(object.name) : "",
150
134
  description: isSet(object.description) ? globalThis.String(object.description) : "",
151
135
  integrationType: isSet(object.integrationType)
@@ -172,9 +156,6 @@ exports.CreateIntegrationEndpointRequest = {
172
156
  if (message.projectId !== "") {
173
157
  obj.projectId = message.projectId;
174
158
  }
175
- if (message.workflowId !== "") {
176
- obj.workflowId = message.workflowId;
177
- }
178
159
  if (message.name !== "") {
179
160
  obj.name = message.name;
180
161
  }
@@ -202,17 +183,16 @@ exports.CreateIntegrationEndpointRequest = {
202
183
  return exports.CreateIntegrationEndpointRequest.fromPartial(base !== null && base !== void 0 ? base : {});
203
184
  },
204
185
  fromPartial(object) {
205
- var _a, _b, _c, _d, _e, _f, _g, _h, _j;
186
+ var _a, _b, _c, _d, _e, _f, _g, _h;
206
187
  const message = createBaseCreateIntegrationEndpointRequest();
207
188
  message.projectId = (_a = object.projectId) !== null && _a !== void 0 ? _a : "";
208
- message.workflowId = (_b = object.workflowId) !== null && _b !== void 0 ? _b : "";
209
- message.name = (_c = object.name) !== null && _c !== void 0 ? _c : "";
210
- message.description = (_d = object.description) !== null && _d !== void 0 ? _d : "";
211
- message.integrationType = (_e = object.integrationType) !== null && _e !== void 0 ? _e : 0;
212
- message.targetUri = (_f = object.targetUri) !== null && _f !== void 0 ? _f : "";
213
- message.authReference = (_g = object.authReference) !== null && _g !== void 0 ? _g : "";
214
- message.config = (_h = object.config) !== null && _h !== void 0 ? _h : undefined;
215
- message.metadata = (_j = object.metadata) !== null && _j !== void 0 ? _j : undefined;
189
+ message.name = (_b = object.name) !== null && _b !== void 0 ? _b : "";
190
+ message.description = (_c = object.description) !== null && _c !== void 0 ? _c : "";
191
+ message.integrationType = (_d = object.integrationType) !== null && _d !== void 0 ? _d : 0;
192
+ message.targetUri = (_e = object.targetUri) !== null && _e !== void 0 ? _e : "";
193
+ message.authReference = (_f = object.authReference) !== null && _f !== void 0 ? _f : "";
194
+ message.config = (_g = object.config) !== null && _g !== void 0 ? _g : undefined;
195
+ message.metadata = (_h = object.metadata) !== null && _h !== void 0 ? _h : undefined;
216
196
  return message;
217
197
  },
218
198
  };
@@ -276,18 +256,15 @@ exports.CreateIntegrationEndpointResponse = {
276
256
  },
277
257
  };
278
258
  function createBaseGetIntegrationEndpointRequest() {
279
- return { projectId: "", workflowId: "", integrationEndpointId: "" };
259
+ return { projectId: "", integrationEndpointId: "" };
280
260
  }
281
261
  exports.GetIntegrationEndpointRequest = {
282
262
  encode(message, writer = new wire_1.BinaryWriter()) {
283
263
  if (message.projectId !== "") {
284
264
  writer.uint32(10).string(message.projectId);
285
265
  }
286
- if (message.workflowId !== "") {
287
- writer.uint32(18).string(message.workflowId);
288
- }
289
266
  if (message.integrationEndpointId !== "") {
290
- writer.uint32(26).string(message.integrationEndpointId);
267
+ writer.uint32(18).string(message.integrationEndpointId);
291
268
  }
292
269
  return writer;
293
270
  },
@@ -309,13 +286,6 @@ exports.GetIntegrationEndpointRequest = {
309
286
  if (tag !== 18) {
310
287
  break;
311
288
  }
312
- message.workflowId = reader.string();
313
- continue;
314
- }
315
- case 3: {
316
- if (tag !== 26) {
317
- break;
318
- }
319
289
  message.integrationEndpointId = reader.string();
320
290
  continue;
321
291
  }
@@ -334,11 +304,6 @@ exports.GetIntegrationEndpointRequest = {
334
304
  : isSet(object.project_id)
335
305
  ? globalThis.String(object.project_id)
336
306
  : "",
337
- workflowId: isSet(object.workflowId)
338
- ? globalThis.String(object.workflowId)
339
- : isSet(object.workflow_id)
340
- ? globalThis.String(object.workflow_id)
341
- : "",
342
307
  integrationEndpointId: isSet(object.integrationEndpointId)
343
308
  ? globalThis.String(object.integrationEndpointId)
344
309
  : isSet(object.integration_endpoint_id)
@@ -351,9 +316,6 @@ exports.GetIntegrationEndpointRequest = {
351
316
  if (message.projectId !== "") {
352
317
  obj.projectId = message.projectId;
353
318
  }
354
- if (message.workflowId !== "") {
355
- obj.workflowId = message.workflowId;
356
- }
357
319
  if (message.integrationEndpointId !== "") {
358
320
  obj.integrationEndpointId = message.integrationEndpointId;
359
321
  }
@@ -363,11 +325,10 @@ exports.GetIntegrationEndpointRequest = {
363
325
  return exports.GetIntegrationEndpointRequest.fromPartial(base !== null && base !== void 0 ? base : {});
364
326
  },
365
327
  fromPartial(object) {
366
- var _a, _b, _c;
328
+ var _a, _b;
367
329
  const message = createBaseGetIntegrationEndpointRequest();
368
330
  message.projectId = (_a = object.projectId) !== null && _a !== void 0 ? _a : "";
369
- message.workflowId = (_b = object.workflowId) !== null && _b !== void 0 ? _b : "";
370
- message.integrationEndpointId = (_c = object.integrationEndpointId) !== null && _c !== void 0 ? _c : "";
331
+ message.integrationEndpointId = (_b = object.integrationEndpointId) !== null && _b !== void 0 ? _b : "";
371
332
  return message;
372
333
  },
373
334
  };
@@ -431,24 +392,24 @@ exports.GetIntegrationEndpointResponse = {
431
392
  },
432
393
  };
433
394
  function createBaseListIntegrationEndpointsRequest() {
434
- return { projectId: "", workflowId: "", includeArchived: false, pageSize: 0, pageToken: "" };
395
+ return { projectId: "", includeArchived: false, pageSize: 0, pageToken: "", workflowId: "" };
435
396
  }
436
397
  exports.ListIntegrationEndpointsRequest = {
437
398
  encode(message, writer = new wire_1.BinaryWriter()) {
438
399
  if (message.projectId !== "") {
439
400
  writer.uint32(10).string(message.projectId);
440
401
  }
441
- if (message.workflowId !== "") {
442
- writer.uint32(18).string(message.workflowId);
443
- }
444
402
  if (message.includeArchived !== false) {
445
- writer.uint32(24).bool(message.includeArchived);
403
+ writer.uint32(16).bool(message.includeArchived);
446
404
  }
447
405
  if (message.pageSize !== 0) {
448
- writer.uint32(32).int32(message.pageSize);
406
+ writer.uint32(24).int32(message.pageSize);
449
407
  }
450
408
  if (message.pageToken !== "") {
451
- writer.uint32(42).string(message.pageToken);
409
+ writer.uint32(34).string(message.pageToken);
410
+ }
411
+ if (message.workflowId !== "") {
412
+ writer.uint32(42).string(message.workflowId);
452
413
  }
453
414
  return writer;
454
415
  },
@@ -467,31 +428,31 @@ exports.ListIntegrationEndpointsRequest = {
467
428
  continue;
468
429
  }
469
430
  case 2: {
470
- if (tag !== 18) {
431
+ if (tag !== 16) {
471
432
  break;
472
433
  }
473
- message.workflowId = reader.string();
434
+ message.includeArchived = reader.bool();
474
435
  continue;
475
436
  }
476
437
  case 3: {
477
438
  if (tag !== 24) {
478
439
  break;
479
440
  }
480
- message.includeArchived = reader.bool();
441
+ message.pageSize = reader.int32();
481
442
  continue;
482
443
  }
483
444
  case 4: {
484
- if (tag !== 32) {
445
+ if (tag !== 34) {
485
446
  break;
486
447
  }
487
- message.pageSize = reader.int32();
448
+ message.pageToken = reader.string();
488
449
  continue;
489
450
  }
490
451
  case 5: {
491
452
  if (tag !== 42) {
492
453
  break;
493
454
  }
494
- message.pageToken = reader.string();
455
+ message.workflowId = reader.string();
495
456
  continue;
496
457
  }
497
458
  }
@@ -509,11 +470,6 @@ exports.ListIntegrationEndpointsRequest = {
509
470
  : isSet(object.project_id)
510
471
  ? globalThis.String(object.project_id)
511
472
  : "",
512
- workflowId: isSet(object.workflowId)
513
- ? globalThis.String(object.workflowId)
514
- : isSet(object.workflow_id)
515
- ? globalThis.String(object.workflow_id)
516
- : "",
517
473
  includeArchived: isSet(object.includeArchived)
518
474
  ? globalThis.Boolean(object.includeArchived)
519
475
  : isSet(object.include_archived)
@@ -529,6 +485,11 @@ exports.ListIntegrationEndpointsRequest = {
529
485
  : isSet(object.page_token)
530
486
  ? globalThis.String(object.page_token)
531
487
  : "",
488
+ workflowId: isSet(object.workflowId)
489
+ ? globalThis.String(object.workflowId)
490
+ : isSet(object.workflow_id)
491
+ ? globalThis.String(object.workflow_id)
492
+ : "",
532
493
  };
533
494
  },
534
495
  toJSON(message) {
@@ -536,9 +497,6 @@ exports.ListIntegrationEndpointsRequest = {
536
497
  if (message.projectId !== "") {
537
498
  obj.projectId = message.projectId;
538
499
  }
539
- if (message.workflowId !== "") {
540
- obj.workflowId = message.workflowId;
541
- }
542
500
  if (message.includeArchived !== false) {
543
501
  obj.includeArchived = message.includeArchived;
544
502
  }
@@ -548,6 +506,9 @@ exports.ListIntegrationEndpointsRequest = {
548
506
  if (message.pageToken !== "") {
549
507
  obj.pageToken = message.pageToken;
550
508
  }
509
+ if (message.workflowId !== "") {
510
+ obj.workflowId = message.workflowId;
511
+ }
551
512
  return obj;
552
513
  },
553
514
  create(base) {
@@ -557,10 +518,10 @@ exports.ListIntegrationEndpointsRequest = {
557
518
  var _a, _b, _c, _d, _e;
558
519
  const message = createBaseListIntegrationEndpointsRequest();
559
520
  message.projectId = (_a = object.projectId) !== null && _a !== void 0 ? _a : "";
560
- message.workflowId = (_b = object.workflowId) !== null && _b !== void 0 ? _b : "";
561
- message.includeArchived = (_c = object.includeArchived) !== null && _c !== void 0 ? _c : false;
562
- message.pageSize = (_d = object.pageSize) !== null && _d !== void 0 ? _d : 0;
563
- message.pageToken = (_e = object.pageToken) !== null && _e !== void 0 ? _e : "";
521
+ message.includeArchived = (_b = object.includeArchived) !== null && _b !== void 0 ? _b : false;
522
+ message.pageSize = (_c = object.pageSize) !== null && _c !== void 0 ? _c : 0;
523
+ message.pageToken = (_d = object.pageToken) !== null && _d !== void 0 ? _d : "";
524
+ message.workflowId = (_e = object.workflowId) !== null && _e !== void 0 ? _e : "";
564
525
  return message;
565
526
  },
566
527
  };
@@ -646,7 +607,6 @@ exports.ListIntegrationEndpointsResponse = {
646
607
  function createBaseUpdateIntegrationEndpointRequest() {
647
608
  return {
648
609
  projectId: "",
649
- workflowId: "",
650
610
  integrationEndpointId: "",
651
611
  name: "",
652
612
  description: "",
@@ -663,35 +623,32 @@ exports.UpdateIntegrationEndpointRequest = {
663
623
  if (message.projectId !== "") {
664
624
  writer.uint32(10).string(message.projectId);
665
625
  }
666
- if (message.workflowId !== "") {
667
- writer.uint32(18).string(message.workflowId);
668
- }
669
626
  if (message.integrationEndpointId !== "") {
670
- writer.uint32(26).string(message.integrationEndpointId);
627
+ writer.uint32(18).string(message.integrationEndpointId);
671
628
  }
672
629
  if (message.name !== "") {
673
- writer.uint32(34).string(message.name);
630
+ writer.uint32(26).string(message.name);
674
631
  }
675
632
  if (message.description !== "") {
676
- writer.uint32(42).string(message.description);
633
+ writer.uint32(34).string(message.description);
677
634
  }
678
635
  if (message.integrationType !== 0) {
679
- writer.uint32(48).int32(message.integrationType);
636
+ writer.uint32(40).int32(message.integrationType);
680
637
  }
681
638
  if (message.status !== 0) {
682
- writer.uint32(56).int32(message.status);
639
+ writer.uint32(48).int32(message.status);
683
640
  }
684
641
  if (message.targetUri !== "") {
685
- writer.uint32(66).string(message.targetUri);
642
+ writer.uint32(58).string(message.targetUri);
686
643
  }
687
644
  if (message.authReference !== "") {
688
- writer.uint32(74).string(message.authReference);
645
+ writer.uint32(66).string(message.authReference);
689
646
  }
690
647
  if (message.config !== undefined) {
691
- struct_pb_1.Struct.encode(struct_pb_1.Struct.wrap(message.config), writer.uint32(82).fork()).join();
648
+ struct_pb_1.Struct.encode(struct_pb_1.Struct.wrap(message.config), writer.uint32(74).fork()).join();
692
649
  }
693
650
  if (message.metadata !== undefined) {
694
- struct_pb_1.Struct.encode(struct_pb_1.Struct.wrap(message.metadata), writer.uint32(90).fork()).join();
651
+ struct_pb_1.Struct.encode(struct_pb_1.Struct.wrap(message.metadata), writer.uint32(82).fork()).join();
695
652
  }
696
653
  return writer;
697
654
  },
@@ -713,69 +670,62 @@ exports.UpdateIntegrationEndpointRequest = {
713
670
  if (tag !== 18) {
714
671
  break;
715
672
  }
716
- message.workflowId = reader.string();
673
+ message.integrationEndpointId = reader.string();
717
674
  continue;
718
675
  }
719
676
  case 3: {
720
677
  if (tag !== 26) {
721
678
  break;
722
679
  }
723
- message.integrationEndpointId = reader.string();
680
+ message.name = reader.string();
724
681
  continue;
725
682
  }
726
683
  case 4: {
727
684
  if (tag !== 34) {
728
685
  break;
729
686
  }
730
- message.name = reader.string();
687
+ message.description = reader.string();
731
688
  continue;
732
689
  }
733
690
  case 5: {
734
- if (tag !== 42) {
691
+ if (tag !== 40) {
735
692
  break;
736
693
  }
737
- message.description = reader.string();
694
+ message.integrationType = reader.int32();
738
695
  continue;
739
696
  }
740
697
  case 6: {
741
698
  if (tag !== 48) {
742
699
  break;
743
700
  }
744
- message.integrationType = reader.int32();
701
+ message.status = reader.int32();
745
702
  continue;
746
703
  }
747
704
  case 7: {
748
- if (tag !== 56) {
705
+ if (tag !== 58) {
749
706
  break;
750
707
  }
751
- message.status = reader.int32();
708
+ message.targetUri = reader.string();
752
709
  continue;
753
710
  }
754
711
  case 8: {
755
712
  if (tag !== 66) {
756
713
  break;
757
714
  }
758
- message.targetUri = reader.string();
715
+ message.authReference = reader.string();
759
716
  continue;
760
717
  }
761
718
  case 9: {
762
719
  if (tag !== 74) {
763
720
  break;
764
721
  }
765
- message.authReference = reader.string();
722
+ message.config = struct_pb_1.Struct.unwrap(struct_pb_1.Struct.decode(reader, reader.uint32()));
766
723
  continue;
767
724
  }
768
725
  case 10: {
769
726
  if (tag !== 82) {
770
727
  break;
771
728
  }
772
- message.config = struct_pb_1.Struct.unwrap(struct_pb_1.Struct.decode(reader, reader.uint32()));
773
- continue;
774
- }
775
- case 11: {
776
- if (tag !== 90) {
777
- break;
778
- }
779
729
  message.metadata = struct_pb_1.Struct.unwrap(struct_pb_1.Struct.decode(reader, reader.uint32()));
780
730
  continue;
781
731
  }
@@ -794,11 +744,6 @@ exports.UpdateIntegrationEndpointRequest = {
794
744
  : isSet(object.project_id)
795
745
  ? globalThis.String(object.project_id)
796
746
  : "",
797
- workflowId: isSet(object.workflowId)
798
- ? globalThis.String(object.workflowId)
799
- : isSet(object.workflow_id)
800
- ? globalThis.String(object.workflow_id)
801
- : "",
802
747
  integrationEndpointId: isSet(object.integrationEndpointId)
803
748
  ? globalThis.String(object.integrationEndpointId)
804
749
  : isSet(object.integration_endpoint_id)
@@ -831,9 +776,6 @@ exports.UpdateIntegrationEndpointRequest = {
831
776
  if (message.projectId !== "") {
832
777
  obj.projectId = message.projectId;
833
778
  }
834
- if (message.workflowId !== "") {
835
- obj.workflowId = message.workflowId;
836
- }
837
779
  if (message.integrationEndpointId !== "") {
838
780
  obj.integrationEndpointId = message.integrationEndpointId;
839
781
  }
@@ -867,19 +809,18 @@ exports.UpdateIntegrationEndpointRequest = {
867
809
  return exports.UpdateIntegrationEndpointRequest.fromPartial(base !== null && base !== void 0 ? base : {});
868
810
  },
869
811
  fromPartial(object) {
870
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
812
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
871
813
  const message = createBaseUpdateIntegrationEndpointRequest();
872
814
  message.projectId = (_a = object.projectId) !== null && _a !== void 0 ? _a : "";
873
- message.workflowId = (_b = object.workflowId) !== null && _b !== void 0 ? _b : "";
874
- message.integrationEndpointId = (_c = object.integrationEndpointId) !== null && _c !== void 0 ? _c : "";
875
- message.name = (_d = object.name) !== null && _d !== void 0 ? _d : "";
876
- message.description = (_e = object.description) !== null && _e !== void 0 ? _e : "";
877
- message.integrationType = (_f = object.integrationType) !== null && _f !== void 0 ? _f : 0;
878
- message.status = (_g = object.status) !== null && _g !== void 0 ? _g : 0;
879
- message.targetUri = (_h = object.targetUri) !== null && _h !== void 0 ? _h : "";
880
- message.authReference = (_j = object.authReference) !== null && _j !== void 0 ? _j : "";
881
- message.config = (_k = object.config) !== null && _k !== void 0 ? _k : undefined;
882
- message.metadata = (_l = object.metadata) !== null && _l !== void 0 ? _l : undefined;
815
+ message.integrationEndpointId = (_b = object.integrationEndpointId) !== null && _b !== void 0 ? _b : "";
816
+ message.name = (_c = object.name) !== null && _c !== void 0 ? _c : "";
817
+ message.description = (_d = object.description) !== null && _d !== void 0 ? _d : "";
818
+ message.integrationType = (_e = object.integrationType) !== null && _e !== void 0 ? _e : 0;
819
+ message.status = (_f = object.status) !== null && _f !== void 0 ? _f : 0;
820
+ message.targetUri = (_g = object.targetUri) !== null && _g !== void 0 ? _g : "";
821
+ message.authReference = (_h = object.authReference) !== null && _h !== void 0 ? _h : "";
822
+ message.config = (_j = object.config) !== null && _j !== void 0 ? _j : undefined;
823
+ message.metadata = (_k = object.metadata) !== null && _k !== void 0 ? _k : undefined;
883
824
  return message;
884
825
  },
885
826
  };
@@ -943,18 +884,15 @@ exports.UpdateIntegrationEndpointResponse = {
943
884
  },
944
885
  };
945
886
  function createBaseArchiveIntegrationEndpointRequest() {
946
- return { projectId: "", workflowId: "", integrationEndpointId: "" };
887
+ return { projectId: "", integrationEndpointId: "" };
947
888
  }
948
889
  exports.ArchiveIntegrationEndpointRequest = {
949
890
  encode(message, writer = new wire_1.BinaryWriter()) {
950
891
  if (message.projectId !== "") {
951
892
  writer.uint32(10).string(message.projectId);
952
893
  }
953
- if (message.workflowId !== "") {
954
- writer.uint32(18).string(message.workflowId);
955
- }
956
894
  if (message.integrationEndpointId !== "") {
957
- writer.uint32(26).string(message.integrationEndpointId);
895
+ writer.uint32(18).string(message.integrationEndpointId);
958
896
  }
959
897
  return writer;
960
898
  },
@@ -976,13 +914,6 @@ exports.ArchiveIntegrationEndpointRequest = {
976
914
  if (tag !== 18) {
977
915
  break;
978
916
  }
979
- message.workflowId = reader.string();
980
- continue;
981
- }
982
- case 3: {
983
- if (tag !== 26) {
984
- break;
985
- }
986
917
  message.integrationEndpointId = reader.string();
987
918
  continue;
988
919
  }
@@ -1001,11 +932,6 @@ exports.ArchiveIntegrationEndpointRequest = {
1001
932
  : isSet(object.project_id)
1002
933
  ? globalThis.String(object.project_id)
1003
934
  : "",
1004
- workflowId: isSet(object.workflowId)
1005
- ? globalThis.String(object.workflowId)
1006
- : isSet(object.workflow_id)
1007
- ? globalThis.String(object.workflow_id)
1008
- : "",
1009
935
  integrationEndpointId: isSet(object.integrationEndpointId)
1010
936
  ? globalThis.String(object.integrationEndpointId)
1011
937
  : isSet(object.integration_endpoint_id)
@@ -1018,9 +944,6 @@ exports.ArchiveIntegrationEndpointRequest = {
1018
944
  if (message.projectId !== "") {
1019
945
  obj.projectId = message.projectId;
1020
946
  }
1021
- if (message.workflowId !== "") {
1022
- obj.workflowId = message.workflowId;
1023
- }
1024
947
  if (message.integrationEndpointId !== "") {
1025
948
  obj.integrationEndpointId = message.integrationEndpointId;
1026
949
  }
@@ -1030,11 +953,10 @@ exports.ArchiveIntegrationEndpointRequest = {
1030
953
  return exports.ArchiveIntegrationEndpointRequest.fromPartial(base !== null && base !== void 0 ? base : {});
1031
954
  },
1032
955
  fromPartial(object) {
1033
- var _a, _b, _c;
956
+ var _a, _b;
1034
957
  const message = createBaseArchiveIntegrationEndpointRequest();
1035
958
  message.projectId = (_a = object.projectId) !== null && _a !== void 0 ? _a : "";
1036
- message.workflowId = (_b = object.workflowId) !== null && _b !== void 0 ? _b : "";
1037
- message.integrationEndpointId = (_c = object.integrationEndpointId) !== null && _c !== void 0 ? _c : "";
959
+ message.integrationEndpointId = (_b = object.integrationEndpointId) !== null && _b !== void 0 ? _b : "";
1038
960
  return message;
1039
961
  },
1040
962
  };
@@ -1098,18 +1020,15 @@ exports.ArchiveIntegrationEndpointResponse = {
1098
1020
  },
1099
1021
  };
1100
1022
  function createBaseDeleteIntegrationEndpointRequest() {
1101
- return { projectId: "", workflowId: "", integrationEndpointId: "" };
1023
+ return { projectId: "", integrationEndpointId: "" };
1102
1024
  }
1103
1025
  exports.DeleteIntegrationEndpointRequest = {
1104
1026
  encode(message, writer = new wire_1.BinaryWriter()) {
1105
1027
  if (message.projectId !== "") {
1106
1028
  writer.uint32(10).string(message.projectId);
1107
1029
  }
1108
- if (message.workflowId !== "") {
1109
- writer.uint32(18).string(message.workflowId);
1110
- }
1111
1030
  if (message.integrationEndpointId !== "") {
1112
- writer.uint32(26).string(message.integrationEndpointId);
1031
+ writer.uint32(18).string(message.integrationEndpointId);
1113
1032
  }
1114
1033
  return writer;
1115
1034
  },
@@ -1131,13 +1050,6 @@ exports.DeleteIntegrationEndpointRequest = {
1131
1050
  if (tag !== 18) {
1132
1051
  break;
1133
1052
  }
1134
- message.workflowId = reader.string();
1135
- continue;
1136
- }
1137
- case 3: {
1138
- if (tag !== 26) {
1139
- break;
1140
- }
1141
1053
  message.integrationEndpointId = reader.string();
1142
1054
  continue;
1143
1055
  }
@@ -1156,11 +1068,6 @@ exports.DeleteIntegrationEndpointRequest = {
1156
1068
  : isSet(object.project_id)
1157
1069
  ? globalThis.String(object.project_id)
1158
1070
  : "",
1159
- workflowId: isSet(object.workflowId)
1160
- ? globalThis.String(object.workflowId)
1161
- : isSet(object.workflow_id)
1162
- ? globalThis.String(object.workflow_id)
1163
- : "",
1164
1071
  integrationEndpointId: isSet(object.integrationEndpointId)
1165
1072
  ? globalThis.String(object.integrationEndpointId)
1166
1073
  : isSet(object.integration_endpoint_id)
@@ -1173,9 +1080,6 @@ exports.DeleteIntegrationEndpointRequest = {
1173
1080
  if (message.projectId !== "") {
1174
1081
  obj.projectId = message.projectId;
1175
1082
  }
1176
- if (message.workflowId !== "") {
1177
- obj.workflowId = message.workflowId;
1178
- }
1179
1083
  if (message.integrationEndpointId !== "") {
1180
1084
  obj.integrationEndpointId = message.integrationEndpointId;
1181
1085
  }
@@ -1185,11 +1089,10 @@ exports.DeleteIntegrationEndpointRequest = {
1185
1089
  return exports.DeleteIntegrationEndpointRequest.fromPartial(base !== null && base !== void 0 ? base : {});
1186
1090
  },
1187
1091
  fromPartial(object) {
1188
- var _a, _b, _c;
1092
+ var _a, _b;
1189
1093
  const message = createBaseDeleteIntegrationEndpointRequest();
1190
1094
  message.projectId = (_a = object.projectId) !== null && _a !== void 0 ? _a : "";
1191
- message.workflowId = (_b = object.workflowId) !== null && _b !== void 0 ? _b : "";
1192
- message.integrationEndpointId = (_c = object.integrationEndpointId) !== null && _c !== void 0 ? _c : "";
1095
+ message.integrationEndpointId = (_b = object.integrationEndpointId) !== null && _b !== void 0 ? _b : "";
1193
1096
  return message;
1194
1097
  },
1195
1098
  };
@@ -1230,10 +1133,10 @@ exports.DeleteIntegrationEndpointResponse = {
1230
1133
  return message;
1231
1134
  },
1232
1135
  };
1233
- function createBaseValidateIntegrationEndpointRequest() {
1234
- return { projectId: "", workflowId: "", integrationEndpointId: "" };
1136
+ function createBaseAttachIntegrationEndpointToWorkflowRequest() {
1137
+ return { projectId: "", workflowId: "", integrationEndpointId: "", attachedBy: "", metadata: undefined };
1235
1138
  }
1236
- exports.ValidateIntegrationEndpointRequest = {
1139
+ exports.AttachIntegrationEndpointToWorkflowRequest = {
1237
1140
  encode(message, writer = new wire_1.BinaryWriter()) {
1238
1141
  if (message.projectId !== "") {
1239
1142
  writer.uint32(10).string(message.projectId);
@@ -1244,12 +1147,18 @@ exports.ValidateIntegrationEndpointRequest = {
1244
1147
  if (message.integrationEndpointId !== "") {
1245
1148
  writer.uint32(26).string(message.integrationEndpointId);
1246
1149
  }
1150
+ if (message.attachedBy !== "") {
1151
+ writer.uint32(34).string(message.attachedBy);
1152
+ }
1153
+ if (message.metadata !== undefined) {
1154
+ struct_pb_1.Struct.encode(struct_pb_1.Struct.wrap(message.metadata), writer.uint32(42).fork()).join();
1155
+ }
1247
1156
  return writer;
1248
1157
  },
1249
1158
  decode(input, length) {
1250
1159
  const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
1251
1160
  const end = length === undefined ? reader.len : reader.pos + length;
1252
- const message = createBaseValidateIntegrationEndpointRequest();
1161
+ const message = createBaseAttachIntegrationEndpointToWorkflowRequest();
1253
1162
  while (reader.pos < end) {
1254
1163
  const tag = reader.uint32();
1255
1164
  switch (tag >>> 3) {
@@ -1274,6 +1183,20 @@ exports.ValidateIntegrationEndpointRequest = {
1274
1183
  message.integrationEndpointId = reader.string();
1275
1184
  continue;
1276
1185
  }
1186
+ case 4: {
1187
+ if (tag !== 34) {
1188
+ break;
1189
+ }
1190
+ message.attachedBy = reader.string();
1191
+ continue;
1192
+ }
1193
+ case 5: {
1194
+ if (tag !== 42) {
1195
+ break;
1196
+ }
1197
+ message.metadata = struct_pb_1.Struct.unwrap(struct_pb_1.Struct.decode(reader, reader.uint32()));
1198
+ continue;
1199
+ }
1277
1200
  }
1278
1201
  if ((tag & 7) === 4 || tag === 0) {
1279
1202
  break;
@@ -1299,6 +1222,12 @@ exports.ValidateIntegrationEndpointRequest = {
1299
1222
  : isSet(object.integration_endpoint_id)
1300
1223
  ? globalThis.String(object.integration_endpoint_id)
1301
1224
  : "",
1225
+ attachedBy: isSet(object.attachedBy)
1226
+ ? globalThis.String(object.attachedBy)
1227
+ : isSet(object.attached_by)
1228
+ ? globalThis.String(object.attached_by)
1229
+ : "",
1230
+ metadata: isObject(object.metadata) ? object.metadata : undefined,
1302
1231
  };
1303
1232
  },
1304
1233
  toJSON(message) {
@@ -1312,62 +1241,50 @@ exports.ValidateIntegrationEndpointRequest = {
1312
1241
  if (message.integrationEndpointId !== "") {
1313
1242
  obj.integrationEndpointId = message.integrationEndpointId;
1314
1243
  }
1244
+ if (message.attachedBy !== "") {
1245
+ obj.attachedBy = message.attachedBy;
1246
+ }
1247
+ if (message.metadata !== undefined) {
1248
+ obj.metadata = message.metadata;
1249
+ }
1315
1250
  return obj;
1316
1251
  },
1317
1252
  create(base) {
1318
- return exports.ValidateIntegrationEndpointRequest.fromPartial(base !== null && base !== void 0 ? base : {});
1253
+ return exports.AttachIntegrationEndpointToWorkflowRequest.fromPartial(base !== null && base !== void 0 ? base : {});
1319
1254
  },
1320
1255
  fromPartial(object) {
1321
- var _a, _b, _c;
1322
- const message = createBaseValidateIntegrationEndpointRequest();
1256
+ var _a, _b, _c, _d, _e;
1257
+ const message = createBaseAttachIntegrationEndpointToWorkflowRequest();
1323
1258
  message.projectId = (_a = object.projectId) !== null && _a !== void 0 ? _a : "";
1324
1259
  message.workflowId = (_b = object.workflowId) !== null && _b !== void 0 ? _b : "";
1325
1260
  message.integrationEndpointId = (_c = object.integrationEndpointId) !== null && _c !== void 0 ? _c : "";
1261
+ message.attachedBy = (_d = object.attachedBy) !== null && _d !== void 0 ? _d : "";
1262
+ message.metadata = (_e = object.metadata) !== null && _e !== void 0 ? _e : undefined;
1326
1263
  return message;
1327
1264
  },
1328
1265
  };
1329
- function createBaseValidateIntegrationEndpointResponse() {
1330
- return { success: false, message: "", checkedAt: undefined };
1266
+ function createBaseAttachIntegrationEndpointToWorkflowResponse() {
1267
+ return { binding: undefined };
1331
1268
  }
1332
- exports.ValidateIntegrationEndpointResponse = {
1269
+ exports.AttachIntegrationEndpointToWorkflowResponse = {
1333
1270
  encode(message, writer = new wire_1.BinaryWriter()) {
1334
- if (message.success !== false) {
1335
- writer.uint32(8).bool(message.success);
1336
- }
1337
- if (message.message !== "") {
1338
- writer.uint32(18).string(message.message);
1339
- }
1340
- if (message.checkedAt !== undefined) {
1341
- timestamp_pb_1.Timestamp.encode(toTimestamp(message.checkedAt), writer.uint32(26).fork()).join();
1271
+ if (message.binding !== undefined) {
1272
+ exports.WorkflowIntegrationEndpointBinding.encode(message.binding, writer.uint32(10).fork()).join();
1342
1273
  }
1343
1274
  return writer;
1344
1275
  },
1345
1276
  decode(input, length) {
1346
1277
  const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
1347
1278
  const end = length === undefined ? reader.len : reader.pos + length;
1348
- const message = createBaseValidateIntegrationEndpointResponse();
1279
+ const message = createBaseAttachIntegrationEndpointToWorkflowResponse();
1349
1280
  while (reader.pos < end) {
1350
1281
  const tag = reader.uint32();
1351
1282
  switch (tag >>> 3) {
1352
1283
  case 1: {
1353
- if (tag !== 8) {
1354
- break;
1355
- }
1356
- message.success = reader.bool();
1357
- continue;
1358
- }
1359
- case 2: {
1360
- if (tag !== 18) {
1361
- break;
1362
- }
1363
- message.message = reader.string();
1364
- continue;
1365
- }
1366
- case 3: {
1367
- if (tag !== 26) {
1284
+ if (tag !== 10) {
1368
1285
  break;
1369
1286
  }
1370
- message.checkedAt = fromTimestamp(timestamp_pb_1.Timestamp.decode(reader, reader.uint32()));
1287
+ message.binding = exports.WorkflowIntegrationEndpointBinding.decode(reader, reader.uint32());
1371
1288
  continue;
1372
1289
  }
1373
1290
  }
@@ -1379,14 +1296,645 @@ exports.ValidateIntegrationEndpointResponse = {
1379
1296
  return message;
1380
1297
  },
1381
1298
  fromJSON(object) {
1382
- return {
1383
- success: isSet(object.success) ? globalThis.Boolean(object.success) : false,
1384
- message: isSet(object.message) ? globalThis.String(object.message) : "",
1385
- checkedAt: isSet(object.checkedAt)
1386
- ? fromJsonTimestamp(object.checkedAt)
1387
- : isSet(object.checked_at)
1388
- ? fromJsonTimestamp(object.checked_at)
1389
- : undefined,
1299
+ return { binding: isSet(object.binding) ? exports.WorkflowIntegrationEndpointBinding.fromJSON(object.binding) : undefined };
1300
+ },
1301
+ toJSON(message) {
1302
+ const obj = {};
1303
+ if (message.binding !== undefined) {
1304
+ obj.binding = exports.WorkflowIntegrationEndpointBinding.toJSON(message.binding);
1305
+ }
1306
+ return obj;
1307
+ },
1308
+ create(base) {
1309
+ return exports.AttachIntegrationEndpointToWorkflowResponse.fromPartial(base !== null && base !== void 0 ? base : {});
1310
+ },
1311
+ fromPartial(object) {
1312
+ const message = createBaseAttachIntegrationEndpointToWorkflowResponse();
1313
+ message.binding = (object.binding !== undefined && object.binding !== null)
1314
+ ? exports.WorkflowIntegrationEndpointBinding.fromPartial(object.binding)
1315
+ : undefined;
1316
+ return message;
1317
+ },
1318
+ };
1319
+ function createBaseDetachIntegrationEndpointFromWorkflowRequest() {
1320
+ return { projectId: "", workflowId: "", integrationEndpointId: "" };
1321
+ }
1322
+ exports.DetachIntegrationEndpointFromWorkflowRequest = {
1323
+ encode(message, writer = new wire_1.BinaryWriter()) {
1324
+ if (message.projectId !== "") {
1325
+ writer.uint32(10).string(message.projectId);
1326
+ }
1327
+ if (message.workflowId !== "") {
1328
+ writer.uint32(18).string(message.workflowId);
1329
+ }
1330
+ if (message.integrationEndpointId !== "") {
1331
+ writer.uint32(26).string(message.integrationEndpointId);
1332
+ }
1333
+ return writer;
1334
+ },
1335
+ decode(input, length) {
1336
+ const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
1337
+ const end = length === undefined ? reader.len : reader.pos + length;
1338
+ const message = createBaseDetachIntegrationEndpointFromWorkflowRequest();
1339
+ while (reader.pos < end) {
1340
+ const tag = reader.uint32();
1341
+ switch (tag >>> 3) {
1342
+ case 1: {
1343
+ if (tag !== 10) {
1344
+ break;
1345
+ }
1346
+ message.projectId = reader.string();
1347
+ continue;
1348
+ }
1349
+ case 2: {
1350
+ if (tag !== 18) {
1351
+ break;
1352
+ }
1353
+ message.workflowId = reader.string();
1354
+ continue;
1355
+ }
1356
+ case 3: {
1357
+ if (tag !== 26) {
1358
+ break;
1359
+ }
1360
+ message.integrationEndpointId = reader.string();
1361
+ continue;
1362
+ }
1363
+ }
1364
+ if ((tag & 7) === 4 || tag === 0) {
1365
+ break;
1366
+ }
1367
+ reader.skip(tag & 7);
1368
+ }
1369
+ return message;
1370
+ },
1371
+ fromJSON(object) {
1372
+ return {
1373
+ projectId: isSet(object.projectId)
1374
+ ? globalThis.String(object.projectId)
1375
+ : isSet(object.project_id)
1376
+ ? globalThis.String(object.project_id)
1377
+ : "",
1378
+ workflowId: isSet(object.workflowId)
1379
+ ? globalThis.String(object.workflowId)
1380
+ : isSet(object.workflow_id)
1381
+ ? globalThis.String(object.workflow_id)
1382
+ : "",
1383
+ integrationEndpointId: isSet(object.integrationEndpointId)
1384
+ ? globalThis.String(object.integrationEndpointId)
1385
+ : isSet(object.integration_endpoint_id)
1386
+ ? globalThis.String(object.integration_endpoint_id)
1387
+ : "",
1388
+ };
1389
+ },
1390
+ toJSON(message) {
1391
+ const obj = {};
1392
+ if (message.projectId !== "") {
1393
+ obj.projectId = message.projectId;
1394
+ }
1395
+ if (message.workflowId !== "") {
1396
+ obj.workflowId = message.workflowId;
1397
+ }
1398
+ if (message.integrationEndpointId !== "") {
1399
+ obj.integrationEndpointId = message.integrationEndpointId;
1400
+ }
1401
+ return obj;
1402
+ },
1403
+ create(base) {
1404
+ return exports.DetachIntegrationEndpointFromWorkflowRequest.fromPartial(base !== null && base !== void 0 ? base : {});
1405
+ },
1406
+ fromPartial(object) {
1407
+ var _a, _b, _c;
1408
+ const message = createBaseDetachIntegrationEndpointFromWorkflowRequest();
1409
+ message.projectId = (_a = object.projectId) !== null && _a !== void 0 ? _a : "";
1410
+ message.workflowId = (_b = object.workflowId) !== null && _b !== void 0 ? _b : "";
1411
+ message.integrationEndpointId = (_c = object.integrationEndpointId) !== null && _c !== void 0 ? _c : "";
1412
+ return message;
1413
+ },
1414
+ };
1415
+ function createBaseDetachIntegrationEndpointFromWorkflowResponse() {
1416
+ return {};
1417
+ }
1418
+ exports.DetachIntegrationEndpointFromWorkflowResponse = {
1419
+ encode(_, writer = new wire_1.BinaryWriter()) {
1420
+ return writer;
1421
+ },
1422
+ decode(input, length) {
1423
+ const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
1424
+ const end = length === undefined ? reader.len : reader.pos + length;
1425
+ const message = createBaseDetachIntegrationEndpointFromWorkflowResponse();
1426
+ while (reader.pos < end) {
1427
+ const tag = reader.uint32();
1428
+ switch (tag >>> 3) {
1429
+ }
1430
+ if ((tag & 7) === 4 || tag === 0) {
1431
+ break;
1432
+ }
1433
+ reader.skip(tag & 7);
1434
+ }
1435
+ return message;
1436
+ },
1437
+ fromJSON(_) {
1438
+ return {};
1439
+ },
1440
+ toJSON(_) {
1441
+ const obj = {};
1442
+ return obj;
1443
+ },
1444
+ create(base) {
1445
+ return exports.DetachIntegrationEndpointFromWorkflowResponse.fromPartial(base !== null && base !== void 0 ? base : {});
1446
+ },
1447
+ fromPartial(_) {
1448
+ const message = createBaseDetachIntegrationEndpointFromWorkflowResponse();
1449
+ return message;
1450
+ },
1451
+ };
1452
+ function createBaseListWorkflowIntegrationEndpointBindingsRequest() {
1453
+ return { projectId: "", workflowId: "", pageSize: 0, pageToken: "" };
1454
+ }
1455
+ exports.ListWorkflowIntegrationEndpointBindingsRequest = {
1456
+ encode(message, writer = new wire_1.BinaryWriter()) {
1457
+ if (message.projectId !== "") {
1458
+ writer.uint32(10).string(message.projectId);
1459
+ }
1460
+ if (message.workflowId !== "") {
1461
+ writer.uint32(18).string(message.workflowId);
1462
+ }
1463
+ if (message.pageSize !== 0) {
1464
+ writer.uint32(24).int32(message.pageSize);
1465
+ }
1466
+ if (message.pageToken !== "") {
1467
+ writer.uint32(34).string(message.pageToken);
1468
+ }
1469
+ return writer;
1470
+ },
1471
+ decode(input, length) {
1472
+ const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
1473
+ const end = length === undefined ? reader.len : reader.pos + length;
1474
+ const message = createBaseListWorkflowIntegrationEndpointBindingsRequest();
1475
+ while (reader.pos < end) {
1476
+ const tag = reader.uint32();
1477
+ switch (tag >>> 3) {
1478
+ case 1: {
1479
+ if (tag !== 10) {
1480
+ break;
1481
+ }
1482
+ message.projectId = reader.string();
1483
+ continue;
1484
+ }
1485
+ case 2: {
1486
+ if (tag !== 18) {
1487
+ break;
1488
+ }
1489
+ message.workflowId = reader.string();
1490
+ continue;
1491
+ }
1492
+ case 3: {
1493
+ if (tag !== 24) {
1494
+ break;
1495
+ }
1496
+ message.pageSize = reader.int32();
1497
+ continue;
1498
+ }
1499
+ case 4: {
1500
+ if (tag !== 34) {
1501
+ break;
1502
+ }
1503
+ message.pageToken = reader.string();
1504
+ continue;
1505
+ }
1506
+ }
1507
+ if ((tag & 7) === 4 || tag === 0) {
1508
+ break;
1509
+ }
1510
+ reader.skip(tag & 7);
1511
+ }
1512
+ return message;
1513
+ },
1514
+ fromJSON(object) {
1515
+ return {
1516
+ projectId: isSet(object.projectId)
1517
+ ? globalThis.String(object.projectId)
1518
+ : isSet(object.project_id)
1519
+ ? globalThis.String(object.project_id)
1520
+ : "",
1521
+ workflowId: isSet(object.workflowId)
1522
+ ? globalThis.String(object.workflowId)
1523
+ : isSet(object.workflow_id)
1524
+ ? globalThis.String(object.workflow_id)
1525
+ : "",
1526
+ pageSize: isSet(object.pageSize)
1527
+ ? globalThis.Number(object.pageSize)
1528
+ : isSet(object.page_size)
1529
+ ? globalThis.Number(object.page_size)
1530
+ : 0,
1531
+ pageToken: isSet(object.pageToken)
1532
+ ? globalThis.String(object.pageToken)
1533
+ : isSet(object.page_token)
1534
+ ? globalThis.String(object.page_token)
1535
+ : "",
1536
+ };
1537
+ },
1538
+ toJSON(message) {
1539
+ const obj = {};
1540
+ if (message.projectId !== "") {
1541
+ obj.projectId = message.projectId;
1542
+ }
1543
+ if (message.workflowId !== "") {
1544
+ obj.workflowId = message.workflowId;
1545
+ }
1546
+ if (message.pageSize !== 0) {
1547
+ obj.pageSize = Math.round(message.pageSize);
1548
+ }
1549
+ if (message.pageToken !== "") {
1550
+ obj.pageToken = message.pageToken;
1551
+ }
1552
+ return obj;
1553
+ },
1554
+ create(base) {
1555
+ return exports.ListWorkflowIntegrationEndpointBindingsRequest.fromPartial(base !== null && base !== void 0 ? base : {});
1556
+ },
1557
+ fromPartial(object) {
1558
+ var _a, _b, _c, _d;
1559
+ const message = createBaseListWorkflowIntegrationEndpointBindingsRequest();
1560
+ message.projectId = (_a = object.projectId) !== null && _a !== void 0 ? _a : "";
1561
+ message.workflowId = (_b = object.workflowId) !== null && _b !== void 0 ? _b : "";
1562
+ message.pageSize = (_c = object.pageSize) !== null && _c !== void 0 ? _c : 0;
1563
+ message.pageToken = (_d = object.pageToken) !== null && _d !== void 0 ? _d : "";
1564
+ return message;
1565
+ },
1566
+ };
1567
+ function createBaseListWorkflowIntegrationEndpointBindingsResponse() {
1568
+ return { bindings: [], nextPageToken: "" };
1569
+ }
1570
+ exports.ListWorkflowIntegrationEndpointBindingsResponse = {
1571
+ encode(message, writer = new wire_1.BinaryWriter()) {
1572
+ for (const v of message.bindings) {
1573
+ exports.WorkflowIntegrationEndpointBinding.encode(v, writer.uint32(10).fork()).join();
1574
+ }
1575
+ if (message.nextPageToken !== "") {
1576
+ writer.uint32(18).string(message.nextPageToken);
1577
+ }
1578
+ return writer;
1579
+ },
1580
+ decode(input, length) {
1581
+ const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
1582
+ const end = length === undefined ? reader.len : reader.pos + length;
1583
+ const message = createBaseListWorkflowIntegrationEndpointBindingsResponse();
1584
+ while (reader.pos < end) {
1585
+ const tag = reader.uint32();
1586
+ switch (tag >>> 3) {
1587
+ case 1: {
1588
+ if (tag !== 10) {
1589
+ break;
1590
+ }
1591
+ message.bindings.push(exports.WorkflowIntegrationEndpointBinding.decode(reader, reader.uint32()));
1592
+ continue;
1593
+ }
1594
+ case 2: {
1595
+ if (tag !== 18) {
1596
+ break;
1597
+ }
1598
+ message.nextPageToken = reader.string();
1599
+ continue;
1600
+ }
1601
+ }
1602
+ if ((tag & 7) === 4 || tag === 0) {
1603
+ break;
1604
+ }
1605
+ reader.skip(tag & 7);
1606
+ }
1607
+ return message;
1608
+ },
1609
+ fromJSON(object) {
1610
+ return {
1611
+ bindings: globalThis.Array.isArray(object === null || object === void 0 ? void 0 : object.bindings)
1612
+ ? object.bindings.map((e) => exports.WorkflowIntegrationEndpointBinding.fromJSON(e))
1613
+ : [],
1614
+ nextPageToken: isSet(object.nextPageToken)
1615
+ ? globalThis.String(object.nextPageToken)
1616
+ : isSet(object.next_page_token)
1617
+ ? globalThis.String(object.next_page_token)
1618
+ : "",
1619
+ };
1620
+ },
1621
+ toJSON(message) {
1622
+ var _a;
1623
+ const obj = {};
1624
+ if ((_a = message.bindings) === null || _a === void 0 ? void 0 : _a.length) {
1625
+ obj.bindings = message.bindings.map((e) => exports.WorkflowIntegrationEndpointBinding.toJSON(e));
1626
+ }
1627
+ if (message.nextPageToken !== "") {
1628
+ obj.nextPageToken = message.nextPageToken;
1629
+ }
1630
+ return obj;
1631
+ },
1632
+ create(base) {
1633
+ return exports.ListWorkflowIntegrationEndpointBindingsResponse.fromPartial(base !== null && base !== void 0 ? base : {});
1634
+ },
1635
+ fromPartial(object) {
1636
+ var _a;
1637
+ var _b;
1638
+ const message = createBaseListWorkflowIntegrationEndpointBindingsResponse();
1639
+ message.bindings = ((_a = object.bindings) === null || _a === void 0 ? void 0 : _a.map((e) => exports.WorkflowIntegrationEndpointBinding.fromPartial(e))) || [];
1640
+ message.nextPageToken = (_b = object.nextPageToken) !== null && _b !== void 0 ? _b : "";
1641
+ return message;
1642
+ },
1643
+ };
1644
+ function createBaseWorkflowIntegrationEndpointBinding() {
1645
+ return {
1646
+ projectId: "",
1647
+ workflowId: "",
1648
+ integrationEndpointId: "",
1649
+ attachedBy: "",
1650
+ metadata: undefined,
1651
+ attachedAt: undefined,
1652
+ };
1653
+ }
1654
+ exports.WorkflowIntegrationEndpointBinding = {
1655
+ encode(message, writer = new wire_1.BinaryWriter()) {
1656
+ if (message.projectId !== "") {
1657
+ writer.uint32(10).string(message.projectId);
1658
+ }
1659
+ if (message.workflowId !== "") {
1660
+ writer.uint32(18).string(message.workflowId);
1661
+ }
1662
+ if (message.integrationEndpointId !== "") {
1663
+ writer.uint32(26).string(message.integrationEndpointId);
1664
+ }
1665
+ if (message.attachedBy !== "") {
1666
+ writer.uint32(34).string(message.attachedBy);
1667
+ }
1668
+ if (message.metadata !== undefined) {
1669
+ struct_pb_1.Struct.encode(struct_pb_1.Struct.wrap(message.metadata), writer.uint32(42).fork()).join();
1670
+ }
1671
+ if (message.attachedAt !== undefined) {
1672
+ timestamp_pb_1.Timestamp.encode(toTimestamp(message.attachedAt), writer.uint32(50).fork()).join();
1673
+ }
1674
+ return writer;
1675
+ },
1676
+ decode(input, length) {
1677
+ const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
1678
+ const end = length === undefined ? reader.len : reader.pos + length;
1679
+ const message = createBaseWorkflowIntegrationEndpointBinding();
1680
+ while (reader.pos < end) {
1681
+ const tag = reader.uint32();
1682
+ switch (tag >>> 3) {
1683
+ case 1: {
1684
+ if (tag !== 10) {
1685
+ break;
1686
+ }
1687
+ message.projectId = reader.string();
1688
+ continue;
1689
+ }
1690
+ case 2: {
1691
+ if (tag !== 18) {
1692
+ break;
1693
+ }
1694
+ message.workflowId = reader.string();
1695
+ continue;
1696
+ }
1697
+ case 3: {
1698
+ if (tag !== 26) {
1699
+ break;
1700
+ }
1701
+ message.integrationEndpointId = reader.string();
1702
+ continue;
1703
+ }
1704
+ case 4: {
1705
+ if (tag !== 34) {
1706
+ break;
1707
+ }
1708
+ message.attachedBy = reader.string();
1709
+ continue;
1710
+ }
1711
+ case 5: {
1712
+ if (tag !== 42) {
1713
+ break;
1714
+ }
1715
+ message.metadata = struct_pb_1.Struct.unwrap(struct_pb_1.Struct.decode(reader, reader.uint32()));
1716
+ continue;
1717
+ }
1718
+ case 6: {
1719
+ if (tag !== 50) {
1720
+ break;
1721
+ }
1722
+ message.attachedAt = fromTimestamp(timestamp_pb_1.Timestamp.decode(reader, reader.uint32()));
1723
+ continue;
1724
+ }
1725
+ }
1726
+ if ((tag & 7) === 4 || tag === 0) {
1727
+ break;
1728
+ }
1729
+ reader.skip(tag & 7);
1730
+ }
1731
+ return message;
1732
+ },
1733
+ fromJSON(object) {
1734
+ return {
1735
+ projectId: isSet(object.projectId)
1736
+ ? globalThis.String(object.projectId)
1737
+ : isSet(object.project_id)
1738
+ ? globalThis.String(object.project_id)
1739
+ : "",
1740
+ workflowId: isSet(object.workflowId)
1741
+ ? globalThis.String(object.workflowId)
1742
+ : isSet(object.workflow_id)
1743
+ ? globalThis.String(object.workflow_id)
1744
+ : "",
1745
+ integrationEndpointId: isSet(object.integrationEndpointId)
1746
+ ? globalThis.String(object.integrationEndpointId)
1747
+ : isSet(object.integration_endpoint_id)
1748
+ ? globalThis.String(object.integration_endpoint_id)
1749
+ : "",
1750
+ attachedBy: isSet(object.attachedBy)
1751
+ ? globalThis.String(object.attachedBy)
1752
+ : isSet(object.attached_by)
1753
+ ? globalThis.String(object.attached_by)
1754
+ : "",
1755
+ metadata: isObject(object.metadata) ? object.metadata : undefined,
1756
+ attachedAt: isSet(object.attachedAt)
1757
+ ? fromJsonTimestamp(object.attachedAt)
1758
+ : isSet(object.attached_at)
1759
+ ? fromJsonTimestamp(object.attached_at)
1760
+ : undefined,
1761
+ };
1762
+ },
1763
+ toJSON(message) {
1764
+ const obj = {};
1765
+ if (message.projectId !== "") {
1766
+ obj.projectId = message.projectId;
1767
+ }
1768
+ if (message.workflowId !== "") {
1769
+ obj.workflowId = message.workflowId;
1770
+ }
1771
+ if (message.integrationEndpointId !== "") {
1772
+ obj.integrationEndpointId = message.integrationEndpointId;
1773
+ }
1774
+ if (message.attachedBy !== "") {
1775
+ obj.attachedBy = message.attachedBy;
1776
+ }
1777
+ if (message.metadata !== undefined) {
1778
+ obj.metadata = message.metadata;
1779
+ }
1780
+ if (message.attachedAt !== undefined) {
1781
+ obj.attachedAt = message.attachedAt.toISOString();
1782
+ }
1783
+ return obj;
1784
+ },
1785
+ create(base) {
1786
+ return exports.WorkflowIntegrationEndpointBinding.fromPartial(base !== null && base !== void 0 ? base : {});
1787
+ },
1788
+ fromPartial(object) {
1789
+ var _a, _b, _c, _d, _e, _f;
1790
+ const message = createBaseWorkflowIntegrationEndpointBinding();
1791
+ message.projectId = (_a = object.projectId) !== null && _a !== void 0 ? _a : "";
1792
+ message.workflowId = (_b = object.workflowId) !== null && _b !== void 0 ? _b : "";
1793
+ message.integrationEndpointId = (_c = object.integrationEndpointId) !== null && _c !== void 0 ? _c : "";
1794
+ message.attachedBy = (_d = object.attachedBy) !== null && _d !== void 0 ? _d : "";
1795
+ message.metadata = (_e = object.metadata) !== null && _e !== void 0 ? _e : undefined;
1796
+ message.attachedAt = (_f = object.attachedAt) !== null && _f !== void 0 ? _f : undefined;
1797
+ return message;
1798
+ },
1799
+ };
1800
+ function createBaseValidateIntegrationEndpointRequest() {
1801
+ return { projectId: "", integrationEndpointId: "" };
1802
+ }
1803
+ exports.ValidateIntegrationEndpointRequest = {
1804
+ encode(message, writer = new wire_1.BinaryWriter()) {
1805
+ if (message.projectId !== "") {
1806
+ writer.uint32(10).string(message.projectId);
1807
+ }
1808
+ if (message.integrationEndpointId !== "") {
1809
+ writer.uint32(18).string(message.integrationEndpointId);
1810
+ }
1811
+ return writer;
1812
+ },
1813
+ decode(input, length) {
1814
+ const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
1815
+ const end = length === undefined ? reader.len : reader.pos + length;
1816
+ const message = createBaseValidateIntegrationEndpointRequest();
1817
+ while (reader.pos < end) {
1818
+ const tag = reader.uint32();
1819
+ switch (tag >>> 3) {
1820
+ case 1: {
1821
+ if (tag !== 10) {
1822
+ break;
1823
+ }
1824
+ message.projectId = reader.string();
1825
+ continue;
1826
+ }
1827
+ case 2: {
1828
+ if (tag !== 18) {
1829
+ break;
1830
+ }
1831
+ message.integrationEndpointId = reader.string();
1832
+ continue;
1833
+ }
1834
+ }
1835
+ if ((tag & 7) === 4 || tag === 0) {
1836
+ break;
1837
+ }
1838
+ reader.skip(tag & 7);
1839
+ }
1840
+ return message;
1841
+ },
1842
+ fromJSON(object) {
1843
+ return {
1844
+ projectId: isSet(object.projectId)
1845
+ ? globalThis.String(object.projectId)
1846
+ : isSet(object.project_id)
1847
+ ? globalThis.String(object.project_id)
1848
+ : "",
1849
+ integrationEndpointId: isSet(object.integrationEndpointId)
1850
+ ? globalThis.String(object.integrationEndpointId)
1851
+ : isSet(object.integration_endpoint_id)
1852
+ ? globalThis.String(object.integration_endpoint_id)
1853
+ : "",
1854
+ };
1855
+ },
1856
+ toJSON(message) {
1857
+ const obj = {};
1858
+ if (message.projectId !== "") {
1859
+ obj.projectId = message.projectId;
1860
+ }
1861
+ if (message.integrationEndpointId !== "") {
1862
+ obj.integrationEndpointId = message.integrationEndpointId;
1863
+ }
1864
+ return obj;
1865
+ },
1866
+ create(base) {
1867
+ return exports.ValidateIntegrationEndpointRequest.fromPartial(base !== null && base !== void 0 ? base : {});
1868
+ },
1869
+ fromPartial(object) {
1870
+ var _a, _b;
1871
+ const message = createBaseValidateIntegrationEndpointRequest();
1872
+ message.projectId = (_a = object.projectId) !== null && _a !== void 0 ? _a : "";
1873
+ message.integrationEndpointId = (_b = object.integrationEndpointId) !== null && _b !== void 0 ? _b : "";
1874
+ return message;
1875
+ },
1876
+ };
1877
+ function createBaseValidateIntegrationEndpointResponse() {
1878
+ return { success: false, message: "", checkedAt: undefined };
1879
+ }
1880
+ exports.ValidateIntegrationEndpointResponse = {
1881
+ encode(message, writer = new wire_1.BinaryWriter()) {
1882
+ if (message.success !== false) {
1883
+ writer.uint32(8).bool(message.success);
1884
+ }
1885
+ if (message.message !== "") {
1886
+ writer.uint32(18).string(message.message);
1887
+ }
1888
+ if (message.checkedAt !== undefined) {
1889
+ timestamp_pb_1.Timestamp.encode(toTimestamp(message.checkedAt), writer.uint32(26).fork()).join();
1890
+ }
1891
+ return writer;
1892
+ },
1893
+ decode(input, length) {
1894
+ const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
1895
+ const end = length === undefined ? reader.len : reader.pos + length;
1896
+ const message = createBaseValidateIntegrationEndpointResponse();
1897
+ while (reader.pos < end) {
1898
+ const tag = reader.uint32();
1899
+ switch (tag >>> 3) {
1900
+ case 1: {
1901
+ if (tag !== 8) {
1902
+ break;
1903
+ }
1904
+ message.success = reader.bool();
1905
+ continue;
1906
+ }
1907
+ case 2: {
1908
+ if (tag !== 18) {
1909
+ break;
1910
+ }
1911
+ message.message = reader.string();
1912
+ continue;
1913
+ }
1914
+ case 3: {
1915
+ if (tag !== 26) {
1916
+ break;
1917
+ }
1918
+ message.checkedAt = fromTimestamp(timestamp_pb_1.Timestamp.decode(reader, reader.uint32()));
1919
+ continue;
1920
+ }
1921
+ }
1922
+ if ((tag & 7) === 4 || tag === 0) {
1923
+ break;
1924
+ }
1925
+ reader.skip(tag & 7);
1926
+ }
1927
+ return message;
1928
+ },
1929
+ fromJSON(object) {
1930
+ return {
1931
+ success: isSet(object.success) ? globalThis.Boolean(object.success) : false,
1932
+ message: isSet(object.message) ? globalThis.String(object.message) : "",
1933
+ checkedAt: isSet(object.checkedAt)
1934
+ ? fromJsonTimestamp(object.checkedAt)
1935
+ : isSet(object.checked_at)
1936
+ ? fromJsonTimestamp(object.checked_at)
1937
+ : undefined,
1390
1938
  };
1391
1939
  },
1392
1940
  toJSON(message) {
@@ -1427,6 +1975,9 @@ class IntegrationServiceClientImpl {
1427
1975
  this.UpdateIntegrationEndpoint = this.UpdateIntegrationEndpoint.bind(this);
1428
1976
  this.ArchiveIntegrationEndpoint = this.ArchiveIntegrationEndpoint.bind(this);
1429
1977
  this.DeleteIntegrationEndpoint = this.DeleteIntegrationEndpoint.bind(this);
1978
+ this.AttachIntegrationEndpointToWorkflow = this.AttachIntegrationEndpointToWorkflow.bind(this);
1979
+ this.DetachIntegrationEndpointFromWorkflow = this.DetachIntegrationEndpointFromWorkflow.bind(this);
1980
+ this.ListWorkflowIntegrationEndpointBindings = this.ListWorkflowIntegrationEndpointBindings.bind(this);
1430
1981
  this.ValidateIntegrationEndpoint = this.ValidateIntegrationEndpoint.bind(this);
1431
1982
  }
1432
1983
  CreateIntegrationEndpoint(request) {
@@ -1459,6 +2010,21 @@ class IntegrationServiceClientImpl {
1459
2010
  const promise = this.rpc.request(this.service, "DeleteIntegrationEndpoint", data);
1460
2011
  return promise.then((data) => exports.DeleteIntegrationEndpointResponse.decode(new wire_1.BinaryReader(data)));
1461
2012
  }
2013
+ AttachIntegrationEndpointToWorkflow(request) {
2014
+ const data = exports.AttachIntegrationEndpointToWorkflowRequest.encode(request).finish();
2015
+ const promise = this.rpc.request(this.service, "AttachIntegrationEndpointToWorkflow", data);
2016
+ return promise.then((data) => exports.AttachIntegrationEndpointToWorkflowResponse.decode(new wire_1.BinaryReader(data)));
2017
+ }
2018
+ DetachIntegrationEndpointFromWorkflow(request) {
2019
+ const data = exports.DetachIntegrationEndpointFromWorkflowRequest.encode(request).finish();
2020
+ const promise = this.rpc.request(this.service, "DetachIntegrationEndpointFromWorkflow", data);
2021
+ return promise.then((data) => exports.DetachIntegrationEndpointFromWorkflowResponse.decode(new wire_1.BinaryReader(data)));
2022
+ }
2023
+ ListWorkflowIntegrationEndpointBindings(request) {
2024
+ const data = exports.ListWorkflowIntegrationEndpointBindingsRequest.encode(request).finish();
2025
+ const promise = this.rpc.request(this.service, "ListWorkflowIntegrationEndpointBindings", data);
2026
+ return promise.then((data) => exports.ListWorkflowIntegrationEndpointBindingsResponse.decode(new wire_1.BinaryReader(data)));
2027
+ }
1462
2028
  ValidateIntegrationEndpoint(request) {
1463
2029
  const data = exports.ValidateIntegrationEndpointRequest.encode(request).finish();
1464
2030
  const promise = this.rpc.request(this.service, "ValidateIntegrationEndpoint", data);
@@ -1474,18 +2040,281 @@ exports.IntegrationServiceDefinition = {
1474
2040
  name: "CreateIntegrationEndpoint",
1475
2041
  requestType: exports.CreateIntegrationEndpointRequest,
1476
2042
  requestStream: false,
1477
- responseType: exports.CreateIntegrationEndpointResponse,
2043
+ responseType: exports.CreateIntegrationEndpointResponse,
2044
+ responseStream: false,
2045
+ options: {
2046
+ _unknownFields: {
2047
+ 578365826: [
2048
+ new Uint8Array([
2049
+ 43,
2050
+ 58,
2051
+ 1,
2052
+ 42,
2053
+ 34,
2054
+ 38,
2055
+ 47,
2056
+ 118,
2057
+ 49,
2058
+ 47,
2059
+ 112,
2060
+ 114,
2061
+ 111,
2062
+ 106,
2063
+ 101,
2064
+ 99,
2065
+ 116,
2066
+ 115,
2067
+ 47,
2068
+ 123,
2069
+ 112,
2070
+ 114,
2071
+ 111,
2072
+ 106,
2073
+ 101,
2074
+ 99,
2075
+ 116,
2076
+ 95,
2077
+ 105,
2078
+ 100,
2079
+ 125,
2080
+ 47,
2081
+ 105,
2082
+ 110,
2083
+ 116,
2084
+ 101,
2085
+ 103,
2086
+ 114,
2087
+ 97,
2088
+ 116,
2089
+ 105,
2090
+ 111,
2091
+ 110,
2092
+ 115,
2093
+ ]),
2094
+ ],
2095
+ },
2096
+ },
2097
+ },
2098
+ getIntegrationEndpoint: {
2099
+ name: "GetIntegrationEndpoint",
2100
+ requestType: exports.GetIntegrationEndpointRequest,
2101
+ requestStream: false,
2102
+ responseType: exports.GetIntegrationEndpointResponse,
2103
+ responseStream: false,
2104
+ options: {
2105
+ _unknownFields: {
2106
+ 578365826: [
2107
+ new Uint8Array([
2108
+ 66,
2109
+ 18,
2110
+ 64,
2111
+ 47,
2112
+ 118,
2113
+ 49,
2114
+ 47,
2115
+ 112,
2116
+ 114,
2117
+ 111,
2118
+ 106,
2119
+ 101,
2120
+ 99,
2121
+ 116,
2122
+ 115,
2123
+ 47,
2124
+ 123,
2125
+ 112,
2126
+ 114,
2127
+ 111,
2128
+ 106,
2129
+ 101,
2130
+ 99,
2131
+ 116,
2132
+ 95,
2133
+ 105,
2134
+ 100,
2135
+ 125,
2136
+ 47,
2137
+ 105,
2138
+ 110,
2139
+ 116,
2140
+ 101,
2141
+ 103,
2142
+ 114,
2143
+ 97,
2144
+ 116,
2145
+ 105,
2146
+ 111,
2147
+ 110,
2148
+ 115,
2149
+ 47,
2150
+ 123,
2151
+ 105,
2152
+ 110,
2153
+ 116,
2154
+ 101,
2155
+ 103,
2156
+ 114,
2157
+ 97,
2158
+ 116,
2159
+ 105,
2160
+ 111,
2161
+ 110,
2162
+ 95,
2163
+ 101,
2164
+ 110,
2165
+ 100,
2166
+ 112,
2167
+ 111,
2168
+ 105,
2169
+ 110,
2170
+ 116,
2171
+ 95,
2172
+ 105,
2173
+ 100,
2174
+ 125,
2175
+ ]),
2176
+ ],
2177
+ },
2178
+ },
2179
+ },
2180
+ listIntegrationEndpoints: {
2181
+ name: "ListIntegrationEndpoints",
2182
+ requestType: exports.ListIntegrationEndpointsRequest,
2183
+ requestStream: false,
2184
+ responseType: exports.ListIntegrationEndpointsResponse,
2185
+ responseStream: false,
2186
+ options: {
2187
+ _unknownFields: {
2188
+ 578365826: [
2189
+ new Uint8Array([
2190
+ 106,
2191
+ 90,
2192
+ 64,
2193
+ 18,
2194
+ 62,
2195
+ 47,
2196
+ 118,
2197
+ 49,
2198
+ 47,
2199
+ 112,
2200
+ 114,
2201
+ 111,
2202
+ 106,
2203
+ 101,
2204
+ 99,
2205
+ 116,
2206
+ 115,
2207
+ 47,
2208
+ 123,
2209
+ 112,
2210
+ 114,
2211
+ 111,
2212
+ 106,
2213
+ 101,
2214
+ 99,
2215
+ 116,
2216
+ 95,
2217
+ 105,
2218
+ 100,
2219
+ 125,
2220
+ 47,
2221
+ 119,
2222
+ 111,
2223
+ 114,
2224
+ 107,
2225
+ 102,
2226
+ 108,
2227
+ 111,
2228
+ 119,
2229
+ 115,
2230
+ 47,
2231
+ 123,
2232
+ 119,
2233
+ 111,
2234
+ 114,
2235
+ 107,
2236
+ 102,
2237
+ 108,
2238
+ 111,
2239
+ 119,
2240
+ 95,
2241
+ 105,
2242
+ 100,
2243
+ 125,
2244
+ 47,
2245
+ 105,
2246
+ 110,
2247
+ 116,
2248
+ 101,
2249
+ 103,
2250
+ 114,
2251
+ 97,
2252
+ 116,
2253
+ 105,
2254
+ 111,
2255
+ 110,
2256
+ 115,
2257
+ 18,
2258
+ 38,
2259
+ 47,
2260
+ 118,
2261
+ 49,
2262
+ 47,
2263
+ 112,
2264
+ 114,
2265
+ 111,
2266
+ 106,
2267
+ 101,
2268
+ 99,
2269
+ 116,
2270
+ 115,
2271
+ 47,
2272
+ 123,
2273
+ 112,
2274
+ 114,
2275
+ 111,
2276
+ 106,
2277
+ 101,
2278
+ 99,
2279
+ 116,
2280
+ 95,
2281
+ 105,
2282
+ 100,
2283
+ 125,
2284
+ 47,
2285
+ 105,
2286
+ 110,
2287
+ 116,
2288
+ 101,
2289
+ 103,
2290
+ 114,
2291
+ 97,
2292
+ 116,
2293
+ 105,
2294
+ 111,
2295
+ 110,
2296
+ 115,
2297
+ ]),
2298
+ ],
2299
+ },
2300
+ },
2301
+ },
2302
+ updateIntegrationEndpoint: {
2303
+ name: "UpdateIntegrationEndpoint",
2304
+ requestType: exports.UpdateIntegrationEndpointRequest,
2305
+ requestStream: false,
2306
+ responseType: exports.UpdateIntegrationEndpointResponse,
1478
2307
  responseStream: false,
1479
2308
  options: {
1480
2309
  _unknownFields: {
1481
2310
  578365826: [
1482
2311
  new Uint8Array([
1483
- 67,
2312
+ 69,
1484
2313
  58,
1485
2314
  1,
1486
2315
  42,
1487
- 34,
1488
- 62,
2316
+ 50,
2317
+ 64,
1489
2318
  47,
1490
2319
  118,
1491
2320
  49,
@@ -1512,30 +2341,20 @@ exports.IntegrationServiceDefinition = {
1512
2341
  100,
1513
2342
  125,
1514
2343
  47,
1515
- 119,
1516
- 111,
2344
+ 105,
2345
+ 110,
2346
+ 116,
2347
+ 101,
2348
+ 103,
1517
2349
  114,
1518
- 107,
1519
- 102,
1520
- 108,
2350
+ 97,
2351
+ 116,
2352
+ 105,
1521
2353
  111,
1522
- 119,
2354
+ 110,
1523
2355
  115,
1524
2356
  47,
1525
2357
  123,
1526
- 119,
1527
- 111,
1528
- 114,
1529
- 107,
1530
- 102,
1531
- 108,
1532
- 111,
1533
- 119,
1534
- 95,
1535
- 105,
1536
- 100,
1537
- 125,
1538
- 47,
1539
2358
  105,
1540
2359
  110,
1541
2360
  116,
@@ -1547,25 +2366,40 @@ exports.IntegrationServiceDefinition = {
1547
2366
  105,
1548
2367
  111,
1549
2368
  110,
1550
- 115,
2369
+ 95,
2370
+ 101,
2371
+ 110,
2372
+ 100,
2373
+ 112,
2374
+ 111,
2375
+ 105,
2376
+ 110,
2377
+ 116,
2378
+ 95,
2379
+ 105,
2380
+ 100,
2381
+ 125,
1551
2382
  ]),
1552
2383
  ],
1553
2384
  },
1554
2385
  },
1555
2386
  },
1556
- getIntegrationEndpoint: {
1557
- name: "GetIntegrationEndpoint",
1558
- requestType: exports.GetIntegrationEndpointRequest,
2387
+ archiveIntegrationEndpoint: {
2388
+ name: "ArchiveIntegrationEndpoint",
2389
+ requestType: exports.ArchiveIntegrationEndpointRequest,
1559
2390
  requestStream: false,
1560
- responseType: exports.GetIntegrationEndpointResponse,
2391
+ responseType: exports.ArchiveIntegrationEndpointResponse,
1561
2392
  responseStream: false,
1562
2393
  options: {
1563
2394
  _unknownFields: {
1564
2395
  578365826: [
1565
2396
  new Uint8Array([
1566
- 90,
1567
- 18,
1568
- 88,
2397
+ 77,
2398
+ 58,
2399
+ 1,
2400
+ 42,
2401
+ 34,
2402
+ 72,
1569
2403
  47,
1570
2404
  118,
1571
2405
  49,
@@ -1592,30 +2426,6 @@ exports.IntegrationServiceDefinition = {
1592
2426
  100,
1593
2427
  125,
1594
2428
  47,
1595
- 119,
1596
- 111,
1597
- 114,
1598
- 107,
1599
- 102,
1600
- 108,
1601
- 111,
1602
- 119,
1603
- 115,
1604
- 47,
1605
- 123,
1606
- 119,
1607
- 111,
1608
- 114,
1609
- 107,
1610
- 102,
1611
- 108,
1612
- 111,
1613
- 119,
1614
- 95,
1615
- 105,
1616
- 100,
1617
- 125,
1618
- 47,
1619
2429
  105,
1620
2430
  110,
1621
2431
  116,
@@ -1654,24 +2464,32 @@ exports.IntegrationServiceDefinition = {
1654
2464
  105,
1655
2465
  100,
1656
2466
  125,
2467
+ 58,
2468
+ 97,
2469
+ 114,
2470
+ 99,
2471
+ 104,
2472
+ 105,
2473
+ 118,
2474
+ 101,
1657
2475
  ]),
1658
2476
  ],
1659
2477
  },
1660
2478
  },
1661
2479
  },
1662
- listIntegrationEndpoints: {
1663
- name: "ListIntegrationEndpoints",
1664
- requestType: exports.ListIntegrationEndpointsRequest,
2480
+ deleteIntegrationEndpoint: {
2481
+ name: "DeleteIntegrationEndpoint",
2482
+ requestType: exports.DeleteIntegrationEndpointRequest,
1665
2483
  requestStream: false,
1666
- responseType: exports.ListIntegrationEndpointsResponse,
2484
+ responseType: exports.DeleteIntegrationEndpointResponse,
1667
2485
  responseStream: false,
1668
2486
  options: {
1669
2487
  _unknownFields: {
1670
2488
  578365826: [
1671
2489
  new Uint8Array([
2490
+ 66,
2491
+ 42,
1672
2492
  64,
1673
- 18,
1674
- 62,
1675
2493
  47,
1676
2494
  118,
1677
2495
  49,
@@ -1698,30 +2516,20 @@ exports.IntegrationServiceDefinition = {
1698
2516
  100,
1699
2517
  125,
1700
2518
  47,
1701
- 119,
1702
- 111,
2519
+ 105,
2520
+ 110,
2521
+ 116,
2522
+ 101,
2523
+ 103,
1703
2524
  114,
1704
- 107,
1705
- 102,
1706
- 108,
2525
+ 97,
2526
+ 116,
2527
+ 105,
1707
2528
  111,
1708
- 119,
2529
+ 110,
1709
2530
  115,
1710
2531
  47,
1711
2532
  123,
1712
- 119,
1713
- 111,
1714
- 114,
1715
- 107,
1716
- 102,
1717
- 108,
1718
- 111,
1719
- 119,
1720
- 95,
1721
- 105,
1722
- 100,
1723
- 125,
1724
- 47,
1725
2533
  105,
1726
2534
  110,
1727
2535
  116,
@@ -1733,28 +2541,40 @@ exports.IntegrationServiceDefinition = {
1733
2541
  105,
1734
2542
  111,
1735
2543
  110,
1736
- 115,
2544
+ 95,
2545
+ 101,
2546
+ 110,
2547
+ 100,
2548
+ 112,
2549
+ 111,
2550
+ 105,
2551
+ 110,
2552
+ 116,
2553
+ 95,
2554
+ 105,
2555
+ 100,
2556
+ 125,
1737
2557
  ]),
1738
2558
  ],
1739
2559
  },
1740
2560
  },
1741
2561
  },
1742
- updateIntegrationEndpoint: {
1743
- name: "UpdateIntegrationEndpoint",
1744
- requestType: exports.UpdateIntegrationEndpointRequest,
2562
+ attachIntegrationEndpointToWorkflow: {
2563
+ name: "AttachIntegrationEndpointToWorkflow",
2564
+ requestType: exports.AttachIntegrationEndpointToWorkflowRequest,
1745
2565
  requestStream: false,
1746
- responseType: exports.UpdateIntegrationEndpointResponse,
2566
+ responseType: exports.AttachIntegrationEndpointToWorkflowResponse,
1747
2567
  responseStream: false,
1748
2568
  options: {
1749
2569
  _unknownFields: {
1750
2570
  578365826: [
1751
2571
  new Uint8Array([
1752
- 93,
2572
+ 100,
1753
2573
  58,
1754
2574
  1,
1755
2575
  42,
1756
- 50,
1757
- 88,
2576
+ 34,
2577
+ 95,
1758
2578
  47,
1759
2579
  118,
1760
2580
  49,
@@ -1843,27 +2663,31 @@ exports.IntegrationServiceDefinition = {
1843
2663
  105,
1844
2664
  100,
1845
2665
  125,
2666
+ 58,
2667
+ 97,
2668
+ 116,
2669
+ 116,
2670
+ 97,
2671
+ 99,
2672
+ 104,
1846
2673
  ]),
1847
2674
  ],
1848
2675
  },
1849
2676
  },
1850
2677
  },
1851
- archiveIntegrationEndpoint: {
1852
- name: "ArchiveIntegrationEndpoint",
1853
- requestType: exports.ArchiveIntegrationEndpointRequest,
2678
+ detachIntegrationEndpointFromWorkflow: {
2679
+ name: "DetachIntegrationEndpointFromWorkflow",
2680
+ requestType: exports.DetachIntegrationEndpointFromWorkflowRequest,
1854
2681
  requestStream: false,
1855
- responseType: exports.ArchiveIntegrationEndpointResponse,
2682
+ responseType: exports.DetachIntegrationEndpointFromWorkflowResponse,
1856
2683
  responseStream: false,
1857
2684
  options: {
1858
2685
  _unknownFields: {
1859
2686
  578365826: [
1860
2687
  new Uint8Array([
1861
- 101,
1862
- 58,
1863
- 1,
2688
+ 90,
1864
2689
  42,
1865
- 34,
1866
- 96,
2690
+ 88,
1867
2691
  47,
1868
2692
  118,
1869
2693
  49,
@@ -1952,32 +2776,24 @@ exports.IntegrationServiceDefinition = {
1952
2776
  105,
1953
2777
  100,
1954
2778
  125,
1955
- 58,
1956
- 97,
1957
- 114,
1958
- 99,
1959
- 104,
1960
- 105,
1961
- 118,
1962
- 101,
1963
2779
  ]),
1964
2780
  ],
1965
2781
  },
1966
2782
  },
1967
2783
  },
1968
- deleteIntegrationEndpoint: {
1969
- name: "DeleteIntegrationEndpoint",
1970
- requestType: exports.DeleteIntegrationEndpointRequest,
2784
+ listWorkflowIntegrationEndpointBindings: {
2785
+ name: "ListWorkflowIntegrationEndpointBindings",
2786
+ requestType: exports.ListWorkflowIntegrationEndpointBindingsRequest,
1971
2787
  requestStream: false,
1972
- responseType: exports.DeleteIntegrationEndpointResponse,
2788
+ responseType: exports.ListWorkflowIntegrationEndpointBindingsResponse,
1973
2789
  responseStream: false,
1974
2790
  options: {
1975
2791
  _unknownFields: {
1976
2792
  578365826: [
1977
2793
  new Uint8Array([
1978
- 90,
1979
- 42,
1980
- 88,
2794
+ 72,
2795
+ 18,
2796
+ 70,
1981
2797
  47,
1982
2798
  118,
1983
2799
  49,
@@ -2039,33 +2855,15 @@ exports.IntegrationServiceDefinition = {
2039
2855
  105,
2040
2856
  111,
2041
2857
  110,
2042
- 115,
2043
- 47,
2044
- 123,
2045
- 105,
2046
- 110,
2047
- 116,
2048
- 101,
2049
- 103,
2050
- 114,
2051
- 97,
2052
- 116,
2858
+ 45,
2859
+ 98,
2053
2860
  105,
2054
- 111,
2055
- 110,
2056
- 95,
2057
- 101,
2058
2861
  110,
2059
2862
  100,
2060
- 112,
2061
- 111,
2062
2863
  105,
2063
2864
  110,
2064
- 116,
2065
- 95,
2066
- 105,
2067
- 100,
2068
- 125,
2865
+ 103,
2866
+ 115,
2069
2867
  ]),
2070
2868
  ],
2071
2869
  },
@@ -2081,12 +2879,12 @@ exports.IntegrationServiceDefinition = {
2081
2879
  _unknownFields: {
2082
2880
  578365826: [
2083
2881
  new Uint8Array([
2084
- 102,
2882
+ 78,
2085
2883
  58,
2086
2884
  1,
2087
2885
  42,
2088
2886
  34,
2089
- 97,
2887
+ 73,
2090
2888
  47,
2091
2889
  118,
2092
2890
  49,
@@ -2113,30 +2911,6 @@ exports.IntegrationServiceDefinition = {
2113
2911
  100,
2114
2912
  125,
2115
2913
  47,
2116
- 119,
2117
- 111,
2118
- 114,
2119
- 107,
2120
- 102,
2121
- 108,
2122
- 111,
2123
- 119,
2124
- 115,
2125
- 47,
2126
- 123,
2127
- 119,
2128
- 111,
2129
- 114,
2130
- 107,
2131
- 102,
2132
- 108,
2133
- 111,
2134
- 119,
2135
- 95,
2136
- 105,
2137
- 100,
2138
- 125,
2139
- 47,
2140
2914
  105,
2141
2915
  110,
2142
2916
  116,