weave-typescript 0.11.13 → 0.11.15

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 (63) hide show
  1. package/dist/weaveapi/data/v1/data.pb.d.ts +54 -0
  2. package/dist/weaveapi/data/v1/data.pb.js +411 -0
  3. package/dist/weaveapi/data/v1/service.pb.d.ts +213 -0
  4. package/dist/weaveapi/data/v1/service.pb.js +1948 -0
  5. package/dist/weaveapi/input/v1/input.pb.d.ts +77 -0
  6. package/dist/weaveapi/input/v1/input.pb.js +632 -0
  7. package/dist/weaveapi/input/v1/service.pb.d.ts +311 -0
  8. package/dist/weaveapi/input/v1/service.pb.js +3001 -0
  9. package/dist/weaveapi/integration/v1/integration.pb.d.ts +67 -0
  10. package/dist/weaveapi/integration/v1/integration.pb.js +486 -0
  11. package/dist/weaveapi/integration/v1/service.pb.d.ts +236 -0
  12. package/dist/weaveapi/integration/v1/service.pb.js +2220 -0
  13. package/dist/weaveapi/report/v1/report.pb.d.ts +79 -0
  14. package/dist/weaveapi/report/v1/report.pb.js +638 -0
  15. package/dist/weaveapi/report/v1/service.pb.d.ts +194 -0
  16. package/dist/weaveapi/report/v1/service.pb.js +1630 -0
  17. package/dist/weaveapi/requirement/v1/requirement.pb.d.ts +70 -0
  18. package/dist/weaveapi/requirement/v1/requirement.pb.js +570 -0
  19. package/dist/weaveapi/requirement/v1/service.pb.d.ts +310 -0
  20. package/dist/weaveapi/requirement/v1/service.pb.js +2978 -0
  21. package/dist/weaveapi/run/v1/run.pb.d.ts +116 -0
  22. package/dist/weaveapi/run/v1/run.pb.js +1135 -0
  23. package/dist/weaveapi/run/v1/service.pb.d.ts +229 -0
  24. package/dist/weaveapi/run/v1/service.pb.js +2106 -0
  25. package/dist/weaveapi/script/v1/script.pb.d.ts +102 -0
  26. package/dist/weaveapi/script/v1/script.pb.js +1025 -0
  27. package/dist/weaveapi/script/v1/service.pb.d.ts +426 -0
  28. package/dist/weaveapi/script/v1/service.pb.js +4399 -0
  29. package/dist/weaveapi/storage/v1/service.pb.d.ts +4 -0
  30. package/dist/weaveapi/storage/v1/service.pb.js +50 -7
  31. package/dist/weaveapi/storage/v1/storage.pb.d.ts +2 -0
  32. package/dist/weaveapi/storage/v1/storage.pb.js +23 -0
  33. package/dist/weaveapi/storage/v1/vcs.pb.d.ts +75 -0
  34. package/dist/weaveapi/storage/v1/vcs.pb.js +864 -0
  35. package/dist/weaveapi/suite/v1/service.pb.d.ts +373 -0
  36. package/dist/weaveapi/suite/v1/service.pb.js +3629 -0
  37. package/dist/weaveapi/suite/v1/suite.pb.d.ts +92 -0
  38. package/dist/weaveapi/suite/v1/suite.pb.js +876 -0
  39. package/dist/weaveapi/testcase/v1/service.pb.d.ts +422 -0
  40. package/dist/weaveapi/testcase/v1/service.pb.js +4254 -0
  41. package/dist/weaveapi/testcase/v1/testcase.pb.d.ts +91 -0
  42. package/dist/weaveapi/testcase/v1/testcase.pb.js +794 -0
  43. package/dist/weavesql/weavedb/data_asset_sql.d.ts +141 -0
  44. package/dist/weavesql/weavedb/data_asset_sql.js +217 -0
  45. package/dist/weavesql/weavedb/input_sql.d.ts +230 -0
  46. package/dist/weavesql/weavedb/input_sql.js +384 -0
  47. package/dist/weavesql/weavedb/integration_sql.d.ts +170 -0
  48. package/dist/weavesql/weavedb/integration_sql.js +258 -0
  49. package/dist/weavesql/weavedb/report_sql.d.ts +138 -0
  50. package/dist/weavesql/weavedb/report_sql.js +232 -0
  51. package/dist/weavesql/weavedb/requirement_sql.d.ts +168 -0
  52. package/dist/weavesql/weavedb/requirement_sql.js +283 -0
  53. package/dist/weavesql/weavedb/run_sql.d.ts +247 -0
  54. package/dist/weavesql/weavedb/run_sql.js +415 -0
  55. package/dist/weavesql/weavedb/suite_sql.d.ts +228 -0
  56. package/dist/weavesql/weavedb/suite_sql.js +399 -0
  57. package/dist/weavesql/weavedb/test_case_sql.d.ts +261 -0
  58. package/dist/weavesql/weavedb/test_case_sql.js +446 -0
  59. package/dist/weavesql/weavedb/test_script_sql.d.ts +290 -0
  60. package/dist/weavesql/weavedb/test_script_sql.js +488 -0
  61. package/dist/weavesql/weavedb/traceability_sql.d.ts +59 -0
  62. package/dist/weavesql/weavedb/traceability_sql.js +155 -0
  63. package/package.json +1 -1
@@ -0,0 +1,2220 @@
1
+ "use strict";
2
+ // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
+ // versions:
4
+ // protoc-gen-ts_proto v2.11.2
5
+ // protoc unknown
6
+ // source: weaveapi/integration/v1/service.proto
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;
9
+ /* eslint-disable */
10
+ const wire_1 = require("@bufbuild/protobuf/wire");
11
+ const struct_pb_1 = require("../../../google/protobuf/struct.pb");
12
+ const timestamp_pb_1 = require("../../../google/protobuf/timestamp.pb");
13
+ const integration_pb_1 = require("./integration.pb");
14
+ exports.protobufPackage = "weaveapi.integration.v1";
15
+ function createBaseCreateIntegrationEndpointRequest() {
16
+ return {
17
+ projectId: "",
18
+ workflowId: "",
19
+ name: "",
20
+ description: "",
21
+ integrationType: 0,
22
+ targetUri: "",
23
+ authReference: "",
24
+ config: undefined,
25
+ metadata: undefined,
26
+ };
27
+ }
28
+ exports.CreateIntegrationEndpointRequest = {
29
+ encode(message, writer = new wire_1.BinaryWriter()) {
30
+ if (message.projectId !== "") {
31
+ writer.uint32(10).string(message.projectId);
32
+ }
33
+ if (message.workflowId !== "") {
34
+ writer.uint32(18).string(message.workflowId);
35
+ }
36
+ if (message.name !== "") {
37
+ writer.uint32(26).string(message.name);
38
+ }
39
+ if (message.description !== "") {
40
+ writer.uint32(34).string(message.description);
41
+ }
42
+ if (message.integrationType !== 0) {
43
+ writer.uint32(40).int32(message.integrationType);
44
+ }
45
+ if (message.targetUri !== "") {
46
+ writer.uint32(50).string(message.targetUri);
47
+ }
48
+ if (message.authReference !== "") {
49
+ writer.uint32(58).string(message.authReference);
50
+ }
51
+ if (message.config !== undefined) {
52
+ struct_pb_1.Struct.encode(struct_pb_1.Struct.wrap(message.config), writer.uint32(66).fork()).join();
53
+ }
54
+ if (message.metadata !== undefined) {
55
+ struct_pb_1.Struct.encode(struct_pb_1.Struct.wrap(message.metadata), writer.uint32(74).fork()).join();
56
+ }
57
+ return writer;
58
+ },
59
+ decode(input, length) {
60
+ const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
61
+ const end = length === undefined ? reader.len : reader.pos + length;
62
+ const message = createBaseCreateIntegrationEndpointRequest();
63
+ while (reader.pos < end) {
64
+ const tag = reader.uint32();
65
+ switch (tag >>> 3) {
66
+ case 1: {
67
+ if (tag !== 10) {
68
+ break;
69
+ }
70
+ message.projectId = reader.string();
71
+ continue;
72
+ }
73
+ case 2: {
74
+ if (tag !== 18) {
75
+ break;
76
+ }
77
+ message.workflowId = reader.string();
78
+ continue;
79
+ }
80
+ case 3: {
81
+ if (tag !== 26) {
82
+ break;
83
+ }
84
+ message.name = reader.string();
85
+ continue;
86
+ }
87
+ case 4: {
88
+ if (tag !== 34) {
89
+ break;
90
+ }
91
+ message.description = reader.string();
92
+ continue;
93
+ }
94
+ case 5: {
95
+ if (tag !== 40) {
96
+ break;
97
+ }
98
+ message.integrationType = reader.int32();
99
+ continue;
100
+ }
101
+ case 6: {
102
+ if (tag !== 50) {
103
+ break;
104
+ }
105
+ message.targetUri = reader.string();
106
+ continue;
107
+ }
108
+ case 7: {
109
+ if (tag !== 58) {
110
+ break;
111
+ }
112
+ message.authReference = reader.string();
113
+ continue;
114
+ }
115
+ case 8: {
116
+ if (tag !== 66) {
117
+ break;
118
+ }
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
+ message.metadata = struct_pb_1.Struct.unwrap(struct_pb_1.Struct.decode(reader, reader.uint32()));
127
+ continue;
128
+ }
129
+ }
130
+ if ((tag & 7) === 4 || tag === 0) {
131
+ break;
132
+ }
133
+ reader.skip(tag & 7);
134
+ }
135
+ return message;
136
+ },
137
+ fromJSON(object) {
138
+ return {
139
+ projectId: isSet(object.projectId)
140
+ ? globalThis.String(object.projectId)
141
+ : isSet(object.project_id)
142
+ ? globalThis.String(object.project_id)
143
+ : "",
144
+ workflowId: isSet(object.workflowId)
145
+ ? globalThis.String(object.workflowId)
146
+ : isSet(object.workflow_id)
147
+ ? globalThis.String(object.workflow_id)
148
+ : "",
149
+ name: isSet(object.name) ? globalThis.String(object.name) : "",
150
+ description: isSet(object.description) ? globalThis.String(object.description) : "",
151
+ integrationType: isSet(object.integrationType)
152
+ ? (0, integration_pb_1.integrationTypeFromJSON)(object.integrationType)
153
+ : isSet(object.integration_type)
154
+ ? (0, integration_pb_1.integrationTypeFromJSON)(object.integration_type)
155
+ : 0,
156
+ targetUri: isSet(object.targetUri)
157
+ ? globalThis.String(object.targetUri)
158
+ : isSet(object.target_uri)
159
+ ? globalThis.String(object.target_uri)
160
+ : "",
161
+ authReference: isSet(object.authReference)
162
+ ? globalThis.String(object.authReference)
163
+ : isSet(object.auth_reference)
164
+ ? globalThis.String(object.auth_reference)
165
+ : "",
166
+ config: isObject(object.config) ? object.config : undefined,
167
+ metadata: isObject(object.metadata) ? object.metadata : undefined,
168
+ };
169
+ },
170
+ toJSON(message) {
171
+ const obj = {};
172
+ if (message.projectId !== "") {
173
+ obj.projectId = message.projectId;
174
+ }
175
+ if (message.workflowId !== "") {
176
+ obj.workflowId = message.workflowId;
177
+ }
178
+ if (message.name !== "") {
179
+ obj.name = message.name;
180
+ }
181
+ if (message.description !== "") {
182
+ obj.description = message.description;
183
+ }
184
+ if (message.integrationType !== 0) {
185
+ obj.integrationType = (0, integration_pb_1.integrationTypeToJSON)(message.integrationType);
186
+ }
187
+ if (message.targetUri !== "") {
188
+ obj.targetUri = message.targetUri;
189
+ }
190
+ if (message.authReference !== "") {
191
+ obj.authReference = message.authReference;
192
+ }
193
+ if (message.config !== undefined) {
194
+ obj.config = message.config;
195
+ }
196
+ if (message.metadata !== undefined) {
197
+ obj.metadata = message.metadata;
198
+ }
199
+ return obj;
200
+ },
201
+ create(base) {
202
+ return exports.CreateIntegrationEndpointRequest.fromPartial(base !== null && base !== void 0 ? base : {});
203
+ },
204
+ fromPartial(object) {
205
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j;
206
+ const message = createBaseCreateIntegrationEndpointRequest();
207
+ 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;
216
+ return message;
217
+ },
218
+ };
219
+ function createBaseCreateIntegrationEndpointResponse() {
220
+ return { integrationEndpoint: undefined };
221
+ }
222
+ exports.CreateIntegrationEndpointResponse = {
223
+ encode(message, writer = new wire_1.BinaryWriter()) {
224
+ if (message.integrationEndpoint !== undefined) {
225
+ integration_pb_1.IntegrationEndpoint.encode(message.integrationEndpoint, writer.uint32(10).fork()).join();
226
+ }
227
+ return writer;
228
+ },
229
+ decode(input, length) {
230
+ const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
231
+ const end = length === undefined ? reader.len : reader.pos + length;
232
+ const message = createBaseCreateIntegrationEndpointResponse();
233
+ while (reader.pos < end) {
234
+ const tag = reader.uint32();
235
+ switch (tag >>> 3) {
236
+ case 1: {
237
+ if (tag !== 10) {
238
+ break;
239
+ }
240
+ message.integrationEndpoint = integration_pb_1.IntegrationEndpoint.decode(reader, reader.uint32());
241
+ continue;
242
+ }
243
+ }
244
+ if ((tag & 7) === 4 || tag === 0) {
245
+ break;
246
+ }
247
+ reader.skip(tag & 7);
248
+ }
249
+ return message;
250
+ },
251
+ fromJSON(object) {
252
+ return {
253
+ integrationEndpoint: isSet(object.integrationEndpoint)
254
+ ? integration_pb_1.IntegrationEndpoint.fromJSON(object.integrationEndpoint)
255
+ : isSet(object.integration_endpoint)
256
+ ? integration_pb_1.IntegrationEndpoint.fromJSON(object.integration_endpoint)
257
+ : undefined,
258
+ };
259
+ },
260
+ toJSON(message) {
261
+ const obj = {};
262
+ if (message.integrationEndpoint !== undefined) {
263
+ obj.integrationEndpoint = integration_pb_1.IntegrationEndpoint.toJSON(message.integrationEndpoint);
264
+ }
265
+ return obj;
266
+ },
267
+ create(base) {
268
+ return exports.CreateIntegrationEndpointResponse.fromPartial(base !== null && base !== void 0 ? base : {});
269
+ },
270
+ fromPartial(object) {
271
+ const message = createBaseCreateIntegrationEndpointResponse();
272
+ message.integrationEndpoint = (object.integrationEndpoint !== undefined && object.integrationEndpoint !== null)
273
+ ? integration_pb_1.IntegrationEndpoint.fromPartial(object.integrationEndpoint)
274
+ : undefined;
275
+ return message;
276
+ },
277
+ };
278
+ function createBaseGetIntegrationEndpointRequest() {
279
+ return { projectId: "", workflowId: "", integrationEndpointId: "" };
280
+ }
281
+ exports.GetIntegrationEndpointRequest = {
282
+ encode(message, writer = new wire_1.BinaryWriter()) {
283
+ if (message.projectId !== "") {
284
+ writer.uint32(10).string(message.projectId);
285
+ }
286
+ if (message.workflowId !== "") {
287
+ writer.uint32(18).string(message.workflowId);
288
+ }
289
+ if (message.integrationEndpointId !== "") {
290
+ writer.uint32(26).string(message.integrationEndpointId);
291
+ }
292
+ return writer;
293
+ },
294
+ decode(input, length) {
295
+ const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
296
+ const end = length === undefined ? reader.len : reader.pos + length;
297
+ const message = createBaseGetIntegrationEndpointRequest();
298
+ while (reader.pos < end) {
299
+ const tag = reader.uint32();
300
+ switch (tag >>> 3) {
301
+ case 1: {
302
+ if (tag !== 10) {
303
+ break;
304
+ }
305
+ message.projectId = reader.string();
306
+ continue;
307
+ }
308
+ case 2: {
309
+ if (tag !== 18) {
310
+ break;
311
+ }
312
+ message.workflowId = reader.string();
313
+ continue;
314
+ }
315
+ case 3: {
316
+ if (tag !== 26) {
317
+ break;
318
+ }
319
+ message.integrationEndpointId = reader.string();
320
+ continue;
321
+ }
322
+ }
323
+ if ((tag & 7) === 4 || tag === 0) {
324
+ break;
325
+ }
326
+ reader.skip(tag & 7);
327
+ }
328
+ return message;
329
+ },
330
+ fromJSON(object) {
331
+ return {
332
+ projectId: isSet(object.projectId)
333
+ ? globalThis.String(object.projectId)
334
+ : isSet(object.project_id)
335
+ ? globalThis.String(object.project_id)
336
+ : "",
337
+ workflowId: isSet(object.workflowId)
338
+ ? globalThis.String(object.workflowId)
339
+ : isSet(object.workflow_id)
340
+ ? globalThis.String(object.workflow_id)
341
+ : "",
342
+ integrationEndpointId: isSet(object.integrationEndpointId)
343
+ ? globalThis.String(object.integrationEndpointId)
344
+ : isSet(object.integration_endpoint_id)
345
+ ? globalThis.String(object.integration_endpoint_id)
346
+ : "",
347
+ };
348
+ },
349
+ toJSON(message) {
350
+ const obj = {};
351
+ if (message.projectId !== "") {
352
+ obj.projectId = message.projectId;
353
+ }
354
+ if (message.workflowId !== "") {
355
+ obj.workflowId = message.workflowId;
356
+ }
357
+ if (message.integrationEndpointId !== "") {
358
+ obj.integrationEndpointId = message.integrationEndpointId;
359
+ }
360
+ return obj;
361
+ },
362
+ create(base) {
363
+ return exports.GetIntegrationEndpointRequest.fromPartial(base !== null && base !== void 0 ? base : {});
364
+ },
365
+ fromPartial(object) {
366
+ var _a, _b, _c;
367
+ const message = createBaseGetIntegrationEndpointRequest();
368
+ 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 : "";
371
+ return message;
372
+ },
373
+ };
374
+ function createBaseGetIntegrationEndpointResponse() {
375
+ return { integrationEndpoint: undefined };
376
+ }
377
+ exports.GetIntegrationEndpointResponse = {
378
+ encode(message, writer = new wire_1.BinaryWriter()) {
379
+ if (message.integrationEndpoint !== undefined) {
380
+ integration_pb_1.IntegrationEndpoint.encode(message.integrationEndpoint, writer.uint32(10).fork()).join();
381
+ }
382
+ return writer;
383
+ },
384
+ decode(input, length) {
385
+ const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
386
+ const end = length === undefined ? reader.len : reader.pos + length;
387
+ const message = createBaseGetIntegrationEndpointResponse();
388
+ while (reader.pos < end) {
389
+ const tag = reader.uint32();
390
+ switch (tag >>> 3) {
391
+ case 1: {
392
+ if (tag !== 10) {
393
+ break;
394
+ }
395
+ message.integrationEndpoint = integration_pb_1.IntegrationEndpoint.decode(reader, reader.uint32());
396
+ continue;
397
+ }
398
+ }
399
+ if ((tag & 7) === 4 || tag === 0) {
400
+ break;
401
+ }
402
+ reader.skip(tag & 7);
403
+ }
404
+ return message;
405
+ },
406
+ fromJSON(object) {
407
+ return {
408
+ integrationEndpoint: isSet(object.integrationEndpoint)
409
+ ? integration_pb_1.IntegrationEndpoint.fromJSON(object.integrationEndpoint)
410
+ : isSet(object.integration_endpoint)
411
+ ? integration_pb_1.IntegrationEndpoint.fromJSON(object.integration_endpoint)
412
+ : undefined,
413
+ };
414
+ },
415
+ toJSON(message) {
416
+ const obj = {};
417
+ if (message.integrationEndpoint !== undefined) {
418
+ obj.integrationEndpoint = integration_pb_1.IntegrationEndpoint.toJSON(message.integrationEndpoint);
419
+ }
420
+ return obj;
421
+ },
422
+ create(base) {
423
+ return exports.GetIntegrationEndpointResponse.fromPartial(base !== null && base !== void 0 ? base : {});
424
+ },
425
+ fromPartial(object) {
426
+ const message = createBaseGetIntegrationEndpointResponse();
427
+ message.integrationEndpoint = (object.integrationEndpoint !== undefined && object.integrationEndpoint !== null)
428
+ ? integration_pb_1.IntegrationEndpoint.fromPartial(object.integrationEndpoint)
429
+ : undefined;
430
+ return message;
431
+ },
432
+ };
433
+ function createBaseListIntegrationEndpointsRequest() {
434
+ return { projectId: "", workflowId: "", includeArchived: false, pageSize: 0, pageToken: "" };
435
+ }
436
+ exports.ListIntegrationEndpointsRequest = {
437
+ encode(message, writer = new wire_1.BinaryWriter()) {
438
+ if (message.projectId !== "") {
439
+ writer.uint32(10).string(message.projectId);
440
+ }
441
+ if (message.workflowId !== "") {
442
+ writer.uint32(18).string(message.workflowId);
443
+ }
444
+ if (message.includeArchived !== false) {
445
+ writer.uint32(24).bool(message.includeArchived);
446
+ }
447
+ if (message.pageSize !== 0) {
448
+ writer.uint32(32).int32(message.pageSize);
449
+ }
450
+ if (message.pageToken !== "") {
451
+ writer.uint32(42).string(message.pageToken);
452
+ }
453
+ return writer;
454
+ },
455
+ decode(input, length) {
456
+ const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
457
+ const end = length === undefined ? reader.len : reader.pos + length;
458
+ const message = createBaseListIntegrationEndpointsRequest();
459
+ while (reader.pos < end) {
460
+ const tag = reader.uint32();
461
+ switch (tag >>> 3) {
462
+ case 1: {
463
+ if (tag !== 10) {
464
+ break;
465
+ }
466
+ message.projectId = reader.string();
467
+ continue;
468
+ }
469
+ case 2: {
470
+ if (tag !== 18) {
471
+ break;
472
+ }
473
+ message.workflowId = reader.string();
474
+ continue;
475
+ }
476
+ case 3: {
477
+ if (tag !== 24) {
478
+ break;
479
+ }
480
+ message.includeArchived = reader.bool();
481
+ continue;
482
+ }
483
+ case 4: {
484
+ if (tag !== 32) {
485
+ break;
486
+ }
487
+ message.pageSize = reader.int32();
488
+ continue;
489
+ }
490
+ case 5: {
491
+ if (tag !== 42) {
492
+ break;
493
+ }
494
+ message.pageToken = reader.string();
495
+ continue;
496
+ }
497
+ }
498
+ if ((tag & 7) === 4 || tag === 0) {
499
+ break;
500
+ }
501
+ reader.skip(tag & 7);
502
+ }
503
+ return message;
504
+ },
505
+ fromJSON(object) {
506
+ return {
507
+ projectId: isSet(object.projectId)
508
+ ? globalThis.String(object.projectId)
509
+ : isSet(object.project_id)
510
+ ? globalThis.String(object.project_id)
511
+ : "",
512
+ workflowId: isSet(object.workflowId)
513
+ ? globalThis.String(object.workflowId)
514
+ : isSet(object.workflow_id)
515
+ ? globalThis.String(object.workflow_id)
516
+ : "",
517
+ includeArchived: isSet(object.includeArchived)
518
+ ? globalThis.Boolean(object.includeArchived)
519
+ : isSet(object.include_archived)
520
+ ? globalThis.Boolean(object.include_archived)
521
+ : false,
522
+ pageSize: isSet(object.pageSize)
523
+ ? globalThis.Number(object.pageSize)
524
+ : isSet(object.page_size)
525
+ ? globalThis.Number(object.page_size)
526
+ : 0,
527
+ pageToken: isSet(object.pageToken)
528
+ ? globalThis.String(object.pageToken)
529
+ : isSet(object.page_token)
530
+ ? globalThis.String(object.page_token)
531
+ : "",
532
+ };
533
+ },
534
+ toJSON(message) {
535
+ const obj = {};
536
+ if (message.projectId !== "") {
537
+ obj.projectId = message.projectId;
538
+ }
539
+ if (message.workflowId !== "") {
540
+ obj.workflowId = message.workflowId;
541
+ }
542
+ if (message.includeArchived !== false) {
543
+ obj.includeArchived = message.includeArchived;
544
+ }
545
+ if (message.pageSize !== 0) {
546
+ obj.pageSize = Math.round(message.pageSize);
547
+ }
548
+ if (message.pageToken !== "") {
549
+ obj.pageToken = message.pageToken;
550
+ }
551
+ return obj;
552
+ },
553
+ create(base) {
554
+ return exports.ListIntegrationEndpointsRequest.fromPartial(base !== null && base !== void 0 ? base : {});
555
+ },
556
+ fromPartial(object) {
557
+ var _a, _b, _c, _d, _e;
558
+ const message = createBaseListIntegrationEndpointsRequest();
559
+ 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 : "";
564
+ return message;
565
+ },
566
+ };
567
+ function createBaseListIntegrationEndpointsResponse() {
568
+ return { integrationEndpoints: [], nextPageToken: "" };
569
+ }
570
+ exports.ListIntegrationEndpointsResponse = {
571
+ encode(message, writer = new wire_1.BinaryWriter()) {
572
+ for (const v of message.integrationEndpoints) {
573
+ integration_pb_1.IntegrationEndpoint.encode(v, writer.uint32(10).fork()).join();
574
+ }
575
+ if (message.nextPageToken !== "") {
576
+ writer.uint32(18).string(message.nextPageToken);
577
+ }
578
+ return writer;
579
+ },
580
+ decode(input, length) {
581
+ const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
582
+ const end = length === undefined ? reader.len : reader.pos + length;
583
+ const message = createBaseListIntegrationEndpointsResponse();
584
+ while (reader.pos < end) {
585
+ const tag = reader.uint32();
586
+ switch (tag >>> 3) {
587
+ case 1: {
588
+ if (tag !== 10) {
589
+ break;
590
+ }
591
+ message.integrationEndpoints.push(integration_pb_1.IntegrationEndpoint.decode(reader, reader.uint32()));
592
+ continue;
593
+ }
594
+ case 2: {
595
+ if (tag !== 18) {
596
+ break;
597
+ }
598
+ message.nextPageToken = reader.string();
599
+ continue;
600
+ }
601
+ }
602
+ if ((tag & 7) === 4 || tag === 0) {
603
+ break;
604
+ }
605
+ reader.skip(tag & 7);
606
+ }
607
+ return message;
608
+ },
609
+ fromJSON(object) {
610
+ return {
611
+ integrationEndpoints: globalThis.Array.isArray(object === null || object === void 0 ? void 0 : object.integrationEndpoints)
612
+ ? object.integrationEndpoints.map((e) => integration_pb_1.IntegrationEndpoint.fromJSON(e))
613
+ : globalThis.Array.isArray(object === null || object === void 0 ? void 0 : object.integration_endpoints)
614
+ ? object.integration_endpoints.map((e) => integration_pb_1.IntegrationEndpoint.fromJSON(e))
615
+ : [],
616
+ nextPageToken: isSet(object.nextPageToken)
617
+ ? globalThis.String(object.nextPageToken)
618
+ : isSet(object.next_page_token)
619
+ ? globalThis.String(object.next_page_token)
620
+ : "",
621
+ };
622
+ },
623
+ toJSON(message) {
624
+ var _a;
625
+ const obj = {};
626
+ if ((_a = message.integrationEndpoints) === null || _a === void 0 ? void 0 : _a.length) {
627
+ obj.integrationEndpoints = message.integrationEndpoints.map((e) => integration_pb_1.IntegrationEndpoint.toJSON(e));
628
+ }
629
+ if (message.nextPageToken !== "") {
630
+ obj.nextPageToken = message.nextPageToken;
631
+ }
632
+ return obj;
633
+ },
634
+ create(base) {
635
+ return exports.ListIntegrationEndpointsResponse.fromPartial(base !== null && base !== void 0 ? base : {});
636
+ },
637
+ fromPartial(object) {
638
+ var _a;
639
+ var _b;
640
+ const message = createBaseListIntegrationEndpointsResponse();
641
+ message.integrationEndpoints = ((_a = object.integrationEndpoints) === null || _a === void 0 ? void 0 : _a.map((e) => integration_pb_1.IntegrationEndpoint.fromPartial(e))) || [];
642
+ message.nextPageToken = (_b = object.nextPageToken) !== null && _b !== void 0 ? _b : "";
643
+ return message;
644
+ },
645
+ };
646
+ function createBaseUpdateIntegrationEndpointRequest() {
647
+ return {
648
+ projectId: "",
649
+ workflowId: "",
650
+ integrationEndpointId: "",
651
+ name: "",
652
+ description: "",
653
+ integrationType: 0,
654
+ status: 0,
655
+ targetUri: "",
656
+ authReference: "",
657
+ config: undefined,
658
+ metadata: undefined,
659
+ };
660
+ }
661
+ exports.UpdateIntegrationEndpointRequest = {
662
+ encode(message, writer = new wire_1.BinaryWriter()) {
663
+ if (message.projectId !== "") {
664
+ writer.uint32(10).string(message.projectId);
665
+ }
666
+ if (message.workflowId !== "") {
667
+ writer.uint32(18).string(message.workflowId);
668
+ }
669
+ if (message.integrationEndpointId !== "") {
670
+ writer.uint32(26).string(message.integrationEndpointId);
671
+ }
672
+ if (message.name !== "") {
673
+ writer.uint32(34).string(message.name);
674
+ }
675
+ if (message.description !== "") {
676
+ writer.uint32(42).string(message.description);
677
+ }
678
+ if (message.integrationType !== 0) {
679
+ writer.uint32(48).int32(message.integrationType);
680
+ }
681
+ if (message.status !== 0) {
682
+ writer.uint32(56).int32(message.status);
683
+ }
684
+ if (message.targetUri !== "") {
685
+ writer.uint32(66).string(message.targetUri);
686
+ }
687
+ if (message.authReference !== "") {
688
+ writer.uint32(74).string(message.authReference);
689
+ }
690
+ if (message.config !== undefined) {
691
+ struct_pb_1.Struct.encode(struct_pb_1.Struct.wrap(message.config), writer.uint32(82).fork()).join();
692
+ }
693
+ if (message.metadata !== undefined) {
694
+ struct_pb_1.Struct.encode(struct_pb_1.Struct.wrap(message.metadata), writer.uint32(90).fork()).join();
695
+ }
696
+ return writer;
697
+ },
698
+ decode(input, length) {
699
+ const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
700
+ const end = length === undefined ? reader.len : reader.pos + length;
701
+ const message = createBaseUpdateIntegrationEndpointRequest();
702
+ while (reader.pos < end) {
703
+ const tag = reader.uint32();
704
+ switch (tag >>> 3) {
705
+ case 1: {
706
+ if (tag !== 10) {
707
+ break;
708
+ }
709
+ message.projectId = reader.string();
710
+ continue;
711
+ }
712
+ case 2: {
713
+ if (tag !== 18) {
714
+ break;
715
+ }
716
+ message.workflowId = reader.string();
717
+ continue;
718
+ }
719
+ case 3: {
720
+ if (tag !== 26) {
721
+ break;
722
+ }
723
+ message.integrationEndpointId = reader.string();
724
+ continue;
725
+ }
726
+ case 4: {
727
+ if (tag !== 34) {
728
+ break;
729
+ }
730
+ message.name = reader.string();
731
+ continue;
732
+ }
733
+ case 5: {
734
+ if (tag !== 42) {
735
+ break;
736
+ }
737
+ message.description = reader.string();
738
+ continue;
739
+ }
740
+ case 6: {
741
+ if (tag !== 48) {
742
+ break;
743
+ }
744
+ message.integrationType = reader.int32();
745
+ continue;
746
+ }
747
+ case 7: {
748
+ if (tag !== 56) {
749
+ break;
750
+ }
751
+ message.status = reader.int32();
752
+ continue;
753
+ }
754
+ case 8: {
755
+ if (tag !== 66) {
756
+ break;
757
+ }
758
+ message.targetUri = reader.string();
759
+ continue;
760
+ }
761
+ case 9: {
762
+ if (tag !== 74) {
763
+ break;
764
+ }
765
+ message.authReference = reader.string();
766
+ continue;
767
+ }
768
+ case 10: {
769
+ if (tag !== 82) {
770
+ break;
771
+ }
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
+ message.metadata = struct_pb_1.Struct.unwrap(struct_pb_1.Struct.decode(reader, reader.uint32()));
780
+ continue;
781
+ }
782
+ }
783
+ if ((tag & 7) === 4 || tag === 0) {
784
+ break;
785
+ }
786
+ reader.skip(tag & 7);
787
+ }
788
+ return message;
789
+ },
790
+ fromJSON(object) {
791
+ return {
792
+ projectId: isSet(object.projectId)
793
+ ? globalThis.String(object.projectId)
794
+ : isSet(object.project_id)
795
+ ? globalThis.String(object.project_id)
796
+ : "",
797
+ workflowId: isSet(object.workflowId)
798
+ ? globalThis.String(object.workflowId)
799
+ : isSet(object.workflow_id)
800
+ ? globalThis.String(object.workflow_id)
801
+ : "",
802
+ integrationEndpointId: isSet(object.integrationEndpointId)
803
+ ? globalThis.String(object.integrationEndpointId)
804
+ : isSet(object.integration_endpoint_id)
805
+ ? globalThis.String(object.integration_endpoint_id)
806
+ : "",
807
+ name: isSet(object.name) ? globalThis.String(object.name) : "",
808
+ description: isSet(object.description) ? globalThis.String(object.description) : "",
809
+ integrationType: isSet(object.integrationType)
810
+ ? (0, integration_pb_1.integrationTypeFromJSON)(object.integrationType)
811
+ : isSet(object.integration_type)
812
+ ? (0, integration_pb_1.integrationTypeFromJSON)(object.integration_type)
813
+ : 0,
814
+ status: isSet(object.status) ? (0, integration_pb_1.integrationStatusFromJSON)(object.status) : 0,
815
+ targetUri: isSet(object.targetUri)
816
+ ? globalThis.String(object.targetUri)
817
+ : isSet(object.target_uri)
818
+ ? globalThis.String(object.target_uri)
819
+ : "",
820
+ authReference: isSet(object.authReference)
821
+ ? globalThis.String(object.authReference)
822
+ : isSet(object.auth_reference)
823
+ ? globalThis.String(object.auth_reference)
824
+ : "",
825
+ config: isObject(object.config) ? object.config : undefined,
826
+ metadata: isObject(object.metadata) ? object.metadata : undefined,
827
+ };
828
+ },
829
+ toJSON(message) {
830
+ const obj = {};
831
+ if (message.projectId !== "") {
832
+ obj.projectId = message.projectId;
833
+ }
834
+ if (message.workflowId !== "") {
835
+ obj.workflowId = message.workflowId;
836
+ }
837
+ if (message.integrationEndpointId !== "") {
838
+ obj.integrationEndpointId = message.integrationEndpointId;
839
+ }
840
+ if (message.name !== "") {
841
+ obj.name = message.name;
842
+ }
843
+ if (message.description !== "") {
844
+ obj.description = message.description;
845
+ }
846
+ if (message.integrationType !== 0) {
847
+ obj.integrationType = (0, integration_pb_1.integrationTypeToJSON)(message.integrationType);
848
+ }
849
+ if (message.status !== 0) {
850
+ obj.status = (0, integration_pb_1.integrationStatusToJSON)(message.status);
851
+ }
852
+ if (message.targetUri !== "") {
853
+ obj.targetUri = message.targetUri;
854
+ }
855
+ if (message.authReference !== "") {
856
+ obj.authReference = message.authReference;
857
+ }
858
+ if (message.config !== undefined) {
859
+ obj.config = message.config;
860
+ }
861
+ if (message.metadata !== undefined) {
862
+ obj.metadata = message.metadata;
863
+ }
864
+ return obj;
865
+ },
866
+ create(base) {
867
+ return exports.UpdateIntegrationEndpointRequest.fromPartial(base !== null && base !== void 0 ? base : {});
868
+ },
869
+ fromPartial(object) {
870
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
871
+ const message = createBaseUpdateIntegrationEndpointRequest();
872
+ 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;
883
+ return message;
884
+ },
885
+ };
886
+ function createBaseUpdateIntegrationEndpointResponse() {
887
+ return { integrationEndpoint: undefined };
888
+ }
889
+ exports.UpdateIntegrationEndpointResponse = {
890
+ encode(message, writer = new wire_1.BinaryWriter()) {
891
+ if (message.integrationEndpoint !== undefined) {
892
+ integration_pb_1.IntegrationEndpoint.encode(message.integrationEndpoint, writer.uint32(10).fork()).join();
893
+ }
894
+ return writer;
895
+ },
896
+ decode(input, length) {
897
+ const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
898
+ const end = length === undefined ? reader.len : reader.pos + length;
899
+ const message = createBaseUpdateIntegrationEndpointResponse();
900
+ while (reader.pos < end) {
901
+ const tag = reader.uint32();
902
+ switch (tag >>> 3) {
903
+ case 1: {
904
+ if (tag !== 10) {
905
+ break;
906
+ }
907
+ message.integrationEndpoint = integration_pb_1.IntegrationEndpoint.decode(reader, reader.uint32());
908
+ continue;
909
+ }
910
+ }
911
+ if ((tag & 7) === 4 || tag === 0) {
912
+ break;
913
+ }
914
+ reader.skip(tag & 7);
915
+ }
916
+ return message;
917
+ },
918
+ fromJSON(object) {
919
+ return {
920
+ integrationEndpoint: isSet(object.integrationEndpoint)
921
+ ? integration_pb_1.IntegrationEndpoint.fromJSON(object.integrationEndpoint)
922
+ : isSet(object.integration_endpoint)
923
+ ? integration_pb_1.IntegrationEndpoint.fromJSON(object.integration_endpoint)
924
+ : undefined,
925
+ };
926
+ },
927
+ toJSON(message) {
928
+ const obj = {};
929
+ if (message.integrationEndpoint !== undefined) {
930
+ obj.integrationEndpoint = integration_pb_1.IntegrationEndpoint.toJSON(message.integrationEndpoint);
931
+ }
932
+ return obj;
933
+ },
934
+ create(base) {
935
+ return exports.UpdateIntegrationEndpointResponse.fromPartial(base !== null && base !== void 0 ? base : {});
936
+ },
937
+ fromPartial(object) {
938
+ const message = createBaseUpdateIntegrationEndpointResponse();
939
+ message.integrationEndpoint = (object.integrationEndpoint !== undefined && object.integrationEndpoint !== null)
940
+ ? integration_pb_1.IntegrationEndpoint.fromPartial(object.integrationEndpoint)
941
+ : undefined;
942
+ return message;
943
+ },
944
+ };
945
+ function createBaseArchiveIntegrationEndpointRequest() {
946
+ return { projectId: "", workflowId: "", integrationEndpointId: "" };
947
+ }
948
+ exports.ArchiveIntegrationEndpointRequest = {
949
+ encode(message, writer = new wire_1.BinaryWriter()) {
950
+ if (message.projectId !== "") {
951
+ writer.uint32(10).string(message.projectId);
952
+ }
953
+ if (message.workflowId !== "") {
954
+ writer.uint32(18).string(message.workflowId);
955
+ }
956
+ if (message.integrationEndpointId !== "") {
957
+ writer.uint32(26).string(message.integrationEndpointId);
958
+ }
959
+ return writer;
960
+ },
961
+ decode(input, length) {
962
+ const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
963
+ const end = length === undefined ? reader.len : reader.pos + length;
964
+ const message = createBaseArchiveIntegrationEndpointRequest();
965
+ while (reader.pos < end) {
966
+ const tag = reader.uint32();
967
+ switch (tag >>> 3) {
968
+ case 1: {
969
+ if (tag !== 10) {
970
+ break;
971
+ }
972
+ message.projectId = reader.string();
973
+ continue;
974
+ }
975
+ case 2: {
976
+ if (tag !== 18) {
977
+ break;
978
+ }
979
+ message.workflowId = reader.string();
980
+ continue;
981
+ }
982
+ case 3: {
983
+ if (tag !== 26) {
984
+ break;
985
+ }
986
+ message.integrationEndpointId = reader.string();
987
+ continue;
988
+ }
989
+ }
990
+ if ((tag & 7) === 4 || tag === 0) {
991
+ break;
992
+ }
993
+ reader.skip(tag & 7);
994
+ }
995
+ return message;
996
+ },
997
+ fromJSON(object) {
998
+ return {
999
+ projectId: isSet(object.projectId)
1000
+ ? globalThis.String(object.projectId)
1001
+ : isSet(object.project_id)
1002
+ ? globalThis.String(object.project_id)
1003
+ : "",
1004
+ workflowId: isSet(object.workflowId)
1005
+ ? globalThis.String(object.workflowId)
1006
+ : isSet(object.workflow_id)
1007
+ ? globalThis.String(object.workflow_id)
1008
+ : "",
1009
+ integrationEndpointId: isSet(object.integrationEndpointId)
1010
+ ? globalThis.String(object.integrationEndpointId)
1011
+ : isSet(object.integration_endpoint_id)
1012
+ ? globalThis.String(object.integration_endpoint_id)
1013
+ : "",
1014
+ };
1015
+ },
1016
+ toJSON(message) {
1017
+ const obj = {};
1018
+ if (message.projectId !== "") {
1019
+ obj.projectId = message.projectId;
1020
+ }
1021
+ if (message.workflowId !== "") {
1022
+ obj.workflowId = message.workflowId;
1023
+ }
1024
+ if (message.integrationEndpointId !== "") {
1025
+ obj.integrationEndpointId = message.integrationEndpointId;
1026
+ }
1027
+ return obj;
1028
+ },
1029
+ create(base) {
1030
+ return exports.ArchiveIntegrationEndpointRequest.fromPartial(base !== null && base !== void 0 ? base : {});
1031
+ },
1032
+ fromPartial(object) {
1033
+ var _a, _b, _c;
1034
+ const message = createBaseArchiveIntegrationEndpointRequest();
1035
+ 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 : "";
1038
+ return message;
1039
+ },
1040
+ };
1041
+ function createBaseArchiveIntegrationEndpointResponse() {
1042
+ return { integrationEndpoint: undefined };
1043
+ }
1044
+ exports.ArchiveIntegrationEndpointResponse = {
1045
+ encode(message, writer = new wire_1.BinaryWriter()) {
1046
+ if (message.integrationEndpoint !== undefined) {
1047
+ integration_pb_1.IntegrationEndpoint.encode(message.integrationEndpoint, writer.uint32(10).fork()).join();
1048
+ }
1049
+ return writer;
1050
+ },
1051
+ decode(input, length) {
1052
+ const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
1053
+ const end = length === undefined ? reader.len : reader.pos + length;
1054
+ const message = createBaseArchiveIntegrationEndpointResponse();
1055
+ while (reader.pos < end) {
1056
+ const tag = reader.uint32();
1057
+ switch (tag >>> 3) {
1058
+ case 1: {
1059
+ if (tag !== 10) {
1060
+ break;
1061
+ }
1062
+ message.integrationEndpoint = integration_pb_1.IntegrationEndpoint.decode(reader, reader.uint32());
1063
+ continue;
1064
+ }
1065
+ }
1066
+ if ((tag & 7) === 4 || tag === 0) {
1067
+ break;
1068
+ }
1069
+ reader.skip(tag & 7);
1070
+ }
1071
+ return message;
1072
+ },
1073
+ fromJSON(object) {
1074
+ return {
1075
+ integrationEndpoint: isSet(object.integrationEndpoint)
1076
+ ? integration_pb_1.IntegrationEndpoint.fromJSON(object.integrationEndpoint)
1077
+ : isSet(object.integration_endpoint)
1078
+ ? integration_pb_1.IntegrationEndpoint.fromJSON(object.integration_endpoint)
1079
+ : undefined,
1080
+ };
1081
+ },
1082
+ toJSON(message) {
1083
+ const obj = {};
1084
+ if (message.integrationEndpoint !== undefined) {
1085
+ obj.integrationEndpoint = integration_pb_1.IntegrationEndpoint.toJSON(message.integrationEndpoint);
1086
+ }
1087
+ return obj;
1088
+ },
1089
+ create(base) {
1090
+ return exports.ArchiveIntegrationEndpointResponse.fromPartial(base !== null && base !== void 0 ? base : {});
1091
+ },
1092
+ fromPartial(object) {
1093
+ const message = createBaseArchiveIntegrationEndpointResponse();
1094
+ message.integrationEndpoint = (object.integrationEndpoint !== undefined && object.integrationEndpoint !== null)
1095
+ ? integration_pb_1.IntegrationEndpoint.fromPartial(object.integrationEndpoint)
1096
+ : undefined;
1097
+ return message;
1098
+ },
1099
+ };
1100
+ function createBaseDeleteIntegrationEndpointRequest() {
1101
+ return { projectId: "", workflowId: "", integrationEndpointId: "" };
1102
+ }
1103
+ exports.DeleteIntegrationEndpointRequest = {
1104
+ encode(message, writer = new wire_1.BinaryWriter()) {
1105
+ if (message.projectId !== "") {
1106
+ writer.uint32(10).string(message.projectId);
1107
+ }
1108
+ if (message.workflowId !== "") {
1109
+ writer.uint32(18).string(message.workflowId);
1110
+ }
1111
+ if (message.integrationEndpointId !== "") {
1112
+ writer.uint32(26).string(message.integrationEndpointId);
1113
+ }
1114
+ return writer;
1115
+ },
1116
+ decode(input, length) {
1117
+ const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
1118
+ const end = length === undefined ? reader.len : reader.pos + length;
1119
+ const message = createBaseDeleteIntegrationEndpointRequest();
1120
+ while (reader.pos < end) {
1121
+ const tag = reader.uint32();
1122
+ switch (tag >>> 3) {
1123
+ case 1: {
1124
+ if (tag !== 10) {
1125
+ break;
1126
+ }
1127
+ message.projectId = reader.string();
1128
+ continue;
1129
+ }
1130
+ case 2: {
1131
+ if (tag !== 18) {
1132
+ break;
1133
+ }
1134
+ message.workflowId = reader.string();
1135
+ continue;
1136
+ }
1137
+ case 3: {
1138
+ if (tag !== 26) {
1139
+ break;
1140
+ }
1141
+ message.integrationEndpointId = reader.string();
1142
+ continue;
1143
+ }
1144
+ }
1145
+ if ((tag & 7) === 4 || tag === 0) {
1146
+ break;
1147
+ }
1148
+ reader.skip(tag & 7);
1149
+ }
1150
+ return message;
1151
+ },
1152
+ fromJSON(object) {
1153
+ return {
1154
+ projectId: isSet(object.projectId)
1155
+ ? globalThis.String(object.projectId)
1156
+ : isSet(object.project_id)
1157
+ ? globalThis.String(object.project_id)
1158
+ : "",
1159
+ workflowId: isSet(object.workflowId)
1160
+ ? globalThis.String(object.workflowId)
1161
+ : isSet(object.workflow_id)
1162
+ ? globalThis.String(object.workflow_id)
1163
+ : "",
1164
+ integrationEndpointId: isSet(object.integrationEndpointId)
1165
+ ? globalThis.String(object.integrationEndpointId)
1166
+ : isSet(object.integration_endpoint_id)
1167
+ ? globalThis.String(object.integration_endpoint_id)
1168
+ : "",
1169
+ };
1170
+ },
1171
+ toJSON(message) {
1172
+ const obj = {};
1173
+ if (message.projectId !== "") {
1174
+ obj.projectId = message.projectId;
1175
+ }
1176
+ if (message.workflowId !== "") {
1177
+ obj.workflowId = message.workflowId;
1178
+ }
1179
+ if (message.integrationEndpointId !== "") {
1180
+ obj.integrationEndpointId = message.integrationEndpointId;
1181
+ }
1182
+ return obj;
1183
+ },
1184
+ create(base) {
1185
+ return exports.DeleteIntegrationEndpointRequest.fromPartial(base !== null && base !== void 0 ? base : {});
1186
+ },
1187
+ fromPartial(object) {
1188
+ var _a, _b, _c;
1189
+ const message = createBaseDeleteIntegrationEndpointRequest();
1190
+ 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 : "";
1193
+ return message;
1194
+ },
1195
+ };
1196
+ function createBaseDeleteIntegrationEndpointResponse() {
1197
+ return {};
1198
+ }
1199
+ exports.DeleteIntegrationEndpointResponse = {
1200
+ encode(_, writer = new wire_1.BinaryWriter()) {
1201
+ return writer;
1202
+ },
1203
+ decode(input, length) {
1204
+ const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
1205
+ const end = length === undefined ? reader.len : reader.pos + length;
1206
+ const message = createBaseDeleteIntegrationEndpointResponse();
1207
+ while (reader.pos < end) {
1208
+ const tag = reader.uint32();
1209
+ switch (tag >>> 3) {
1210
+ }
1211
+ if ((tag & 7) === 4 || tag === 0) {
1212
+ break;
1213
+ }
1214
+ reader.skip(tag & 7);
1215
+ }
1216
+ return message;
1217
+ },
1218
+ fromJSON(_) {
1219
+ return {};
1220
+ },
1221
+ toJSON(_) {
1222
+ const obj = {};
1223
+ return obj;
1224
+ },
1225
+ create(base) {
1226
+ return exports.DeleteIntegrationEndpointResponse.fromPartial(base !== null && base !== void 0 ? base : {});
1227
+ },
1228
+ fromPartial(_) {
1229
+ const message = createBaseDeleteIntegrationEndpointResponse();
1230
+ return message;
1231
+ },
1232
+ };
1233
+ function createBaseValidateIntegrationEndpointRequest() {
1234
+ return { projectId: "", workflowId: "", integrationEndpointId: "" };
1235
+ }
1236
+ exports.ValidateIntegrationEndpointRequest = {
1237
+ encode(message, writer = new wire_1.BinaryWriter()) {
1238
+ if (message.projectId !== "") {
1239
+ writer.uint32(10).string(message.projectId);
1240
+ }
1241
+ if (message.workflowId !== "") {
1242
+ writer.uint32(18).string(message.workflowId);
1243
+ }
1244
+ if (message.integrationEndpointId !== "") {
1245
+ writer.uint32(26).string(message.integrationEndpointId);
1246
+ }
1247
+ return writer;
1248
+ },
1249
+ decode(input, length) {
1250
+ const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
1251
+ const end = length === undefined ? reader.len : reader.pos + length;
1252
+ const message = createBaseValidateIntegrationEndpointRequest();
1253
+ while (reader.pos < end) {
1254
+ const tag = reader.uint32();
1255
+ switch (tag >>> 3) {
1256
+ case 1: {
1257
+ if (tag !== 10) {
1258
+ break;
1259
+ }
1260
+ message.projectId = reader.string();
1261
+ continue;
1262
+ }
1263
+ case 2: {
1264
+ if (tag !== 18) {
1265
+ break;
1266
+ }
1267
+ message.workflowId = reader.string();
1268
+ continue;
1269
+ }
1270
+ case 3: {
1271
+ if (tag !== 26) {
1272
+ break;
1273
+ }
1274
+ message.integrationEndpointId = reader.string();
1275
+ continue;
1276
+ }
1277
+ }
1278
+ if ((tag & 7) === 4 || tag === 0) {
1279
+ break;
1280
+ }
1281
+ reader.skip(tag & 7);
1282
+ }
1283
+ return message;
1284
+ },
1285
+ fromJSON(object) {
1286
+ return {
1287
+ projectId: isSet(object.projectId)
1288
+ ? globalThis.String(object.projectId)
1289
+ : isSet(object.project_id)
1290
+ ? globalThis.String(object.project_id)
1291
+ : "",
1292
+ workflowId: isSet(object.workflowId)
1293
+ ? globalThis.String(object.workflowId)
1294
+ : isSet(object.workflow_id)
1295
+ ? globalThis.String(object.workflow_id)
1296
+ : "",
1297
+ integrationEndpointId: isSet(object.integrationEndpointId)
1298
+ ? globalThis.String(object.integrationEndpointId)
1299
+ : isSet(object.integration_endpoint_id)
1300
+ ? globalThis.String(object.integration_endpoint_id)
1301
+ : "",
1302
+ };
1303
+ },
1304
+ toJSON(message) {
1305
+ const obj = {};
1306
+ if (message.projectId !== "") {
1307
+ obj.projectId = message.projectId;
1308
+ }
1309
+ if (message.workflowId !== "") {
1310
+ obj.workflowId = message.workflowId;
1311
+ }
1312
+ if (message.integrationEndpointId !== "") {
1313
+ obj.integrationEndpointId = message.integrationEndpointId;
1314
+ }
1315
+ return obj;
1316
+ },
1317
+ create(base) {
1318
+ return exports.ValidateIntegrationEndpointRequest.fromPartial(base !== null && base !== void 0 ? base : {});
1319
+ },
1320
+ fromPartial(object) {
1321
+ var _a, _b, _c;
1322
+ const message = createBaseValidateIntegrationEndpointRequest();
1323
+ message.projectId = (_a = object.projectId) !== null && _a !== void 0 ? _a : "";
1324
+ message.workflowId = (_b = object.workflowId) !== null && _b !== void 0 ? _b : "";
1325
+ message.integrationEndpointId = (_c = object.integrationEndpointId) !== null && _c !== void 0 ? _c : "";
1326
+ return message;
1327
+ },
1328
+ };
1329
+ function createBaseValidateIntegrationEndpointResponse() {
1330
+ return { success: false, message: "", checkedAt: undefined };
1331
+ }
1332
+ exports.ValidateIntegrationEndpointResponse = {
1333
+ 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();
1342
+ }
1343
+ return writer;
1344
+ },
1345
+ decode(input, length) {
1346
+ const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
1347
+ const end = length === undefined ? reader.len : reader.pos + length;
1348
+ const message = createBaseValidateIntegrationEndpointResponse();
1349
+ while (reader.pos < end) {
1350
+ const tag = reader.uint32();
1351
+ switch (tag >>> 3) {
1352
+ 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) {
1368
+ break;
1369
+ }
1370
+ message.checkedAt = fromTimestamp(timestamp_pb_1.Timestamp.decode(reader, reader.uint32()));
1371
+ continue;
1372
+ }
1373
+ }
1374
+ if ((tag & 7) === 4 || tag === 0) {
1375
+ break;
1376
+ }
1377
+ reader.skip(tag & 7);
1378
+ }
1379
+ return message;
1380
+ },
1381
+ 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,
1390
+ };
1391
+ },
1392
+ toJSON(message) {
1393
+ const obj = {};
1394
+ if (message.success !== false) {
1395
+ obj.success = message.success;
1396
+ }
1397
+ if (message.message !== "") {
1398
+ obj.message = message.message;
1399
+ }
1400
+ if (message.checkedAt !== undefined) {
1401
+ obj.checkedAt = message.checkedAt.toISOString();
1402
+ }
1403
+ return obj;
1404
+ },
1405
+ create(base) {
1406
+ return exports.ValidateIntegrationEndpointResponse.fromPartial(base !== null && base !== void 0 ? base : {});
1407
+ },
1408
+ fromPartial(object) {
1409
+ var _a, _b, _c;
1410
+ const message = createBaseValidateIntegrationEndpointResponse();
1411
+ message.success = (_a = object.success) !== null && _a !== void 0 ? _a : false;
1412
+ message.message = (_b = object.message) !== null && _b !== void 0 ? _b : "";
1413
+ message.checkedAt = (_c = object.checkedAt) !== null && _c !== void 0 ? _c : undefined;
1414
+ return message;
1415
+ },
1416
+ };
1417
+ exports.IntegrationServiceServiceName = "weaveapi.integration.v1.IntegrationService";
1418
+ class IntegrationServiceClientImpl {
1419
+ rpc;
1420
+ service;
1421
+ constructor(rpc, opts) {
1422
+ this.service = (opts === null || opts === void 0 ? void 0 : opts.service) || exports.IntegrationServiceServiceName;
1423
+ this.rpc = rpc;
1424
+ this.CreateIntegrationEndpoint = this.CreateIntegrationEndpoint.bind(this);
1425
+ this.GetIntegrationEndpoint = this.GetIntegrationEndpoint.bind(this);
1426
+ this.ListIntegrationEndpoints = this.ListIntegrationEndpoints.bind(this);
1427
+ this.UpdateIntegrationEndpoint = this.UpdateIntegrationEndpoint.bind(this);
1428
+ this.ArchiveIntegrationEndpoint = this.ArchiveIntegrationEndpoint.bind(this);
1429
+ this.DeleteIntegrationEndpoint = this.DeleteIntegrationEndpoint.bind(this);
1430
+ this.ValidateIntegrationEndpoint = this.ValidateIntegrationEndpoint.bind(this);
1431
+ }
1432
+ CreateIntegrationEndpoint(request) {
1433
+ const data = exports.CreateIntegrationEndpointRequest.encode(request).finish();
1434
+ const promise = this.rpc.request(this.service, "CreateIntegrationEndpoint", data);
1435
+ return promise.then((data) => exports.CreateIntegrationEndpointResponse.decode(new wire_1.BinaryReader(data)));
1436
+ }
1437
+ GetIntegrationEndpoint(request) {
1438
+ const data = exports.GetIntegrationEndpointRequest.encode(request).finish();
1439
+ const promise = this.rpc.request(this.service, "GetIntegrationEndpoint", data);
1440
+ return promise.then((data) => exports.GetIntegrationEndpointResponse.decode(new wire_1.BinaryReader(data)));
1441
+ }
1442
+ ListIntegrationEndpoints(request) {
1443
+ const data = exports.ListIntegrationEndpointsRequest.encode(request).finish();
1444
+ const promise = this.rpc.request(this.service, "ListIntegrationEndpoints", data);
1445
+ return promise.then((data) => exports.ListIntegrationEndpointsResponse.decode(new wire_1.BinaryReader(data)));
1446
+ }
1447
+ UpdateIntegrationEndpoint(request) {
1448
+ const data = exports.UpdateIntegrationEndpointRequest.encode(request).finish();
1449
+ const promise = this.rpc.request(this.service, "UpdateIntegrationEndpoint", data);
1450
+ return promise.then((data) => exports.UpdateIntegrationEndpointResponse.decode(new wire_1.BinaryReader(data)));
1451
+ }
1452
+ ArchiveIntegrationEndpoint(request) {
1453
+ const data = exports.ArchiveIntegrationEndpointRequest.encode(request).finish();
1454
+ const promise = this.rpc.request(this.service, "ArchiveIntegrationEndpoint", data);
1455
+ return promise.then((data) => exports.ArchiveIntegrationEndpointResponse.decode(new wire_1.BinaryReader(data)));
1456
+ }
1457
+ DeleteIntegrationEndpoint(request) {
1458
+ const data = exports.DeleteIntegrationEndpointRequest.encode(request).finish();
1459
+ const promise = this.rpc.request(this.service, "DeleteIntegrationEndpoint", data);
1460
+ return promise.then((data) => exports.DeleteIntegrationEndpointResponse.decode(new wire_1.BinaryReader(data)));
1461
+ }
1462
+ ValidateIntegrationEndpoint(request) {
1463
+ const data = exports.ValidateIntegrationEndpointRequest.encode(request).finish();
1464
+ const promise = this.rpc.request(this.service, "ValidateIntegrationEndpoint", data);
1465
+ return promise.then((data) => exports.ValidateIntegrationEndpointResponse.decode(new wire_1.BinaryReader(data)));
1466
+ }
1467
+ }
1468
+ exports.IntegrationServiceClientImpl = IntegrationServiceClientImpl;
1469
+ exports.IntegrationServiceDefinition = {
1470
+ name: "IntegrationService",
1471
+ fullName: "weaveapi.integration.v1.IntegrationService",
1472
+ methods: {
1473
+ createIntegrationEndpoint: {
1474
+ name: "CreateIntegrationEndpoint",
1475
+ requestType: exports.CreateIntegrationEndpointRequest,
1476
+ requestStream: false,
1477
+ responseType: exports.CreateIntegrationEndpointResponse,
1478
+ responseStream: false,
1479
+ options: {
1480
+ _unknownFields: {
1481
+ 578365826: [
1482
+ new Uint8Array([
1483
+ 67,
1484
+ 58,
1485
+ 1,
1486
+ 42,
1487
+ 34,
1488
+ 62,
1489
+ 47,
1490
+ 118,
1491
+ 49,
1492
+ 47,
1493
+ 112,
1494
+ 114,
1495
+ 111,
1496
+ 106,
1497
+ 101,
1498
+ 99,
1499
+ 116,
1500
+ 115,
1501
+ 47,
1502
+ 123,
1503
+ 112,
1504
+ 114,
1505
+ 111,
1506
+ 106,
1507
+ 101,
1508
+ 99,
1509
+ 116,
1510
+ 95,
1511
+ 105,
1512
+ 100,
1513
+ 125,
1514
+ 47,
1515
+ 119,
1516
+ 111,
1517
+ 114,
1518
+ 107,
1519
+ 102,
1520
+ 108,
1521
+ 111,
1522
+ 119,
1523
+ 115,
1524
+ 47,
1525
+ 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
+ 105,
1540
+ 110,
1541
+ 116,
1542
+ 101,
1543
+ 103,
1544
+ 114,
1545
+ 97,
1546
+ 116,
1547
+ 105,
1548
+ 111,
1549
+ 110,
1550
+ 115,
1551
+ ]),
1552
+ ],
1553
+ },
1554
+ },
1555
+ },
1556
+ getIntegrationEndpoint: {
1557
+ name: "GetIntegrationEndpoint",
1558
+ requestType: exports.GetIntegrationEndpointRequest,
1559
+ requestStream: false,
1560
+ responseType: exports.GetIntegrationEndpointResponse,
1561
+ responseStream: false,
1562
+ options: {
1563
+ _unknownFields: {
1564
+ 578365826: [
1565
+ new Uint8Array([
1566
+ 90,
1567
+ 18,
1568
+ 88,
1569
+ 47,
1570
+ 118,
1571
+ 49,
1572
+ 47,
1573
+ 112,
1574
+ 114,
1575
+ 111,
1576
+ 106,
1577
+ 101,
1578
+ 99,
1579
+ 116,
1580
+ 115,
1581
+ 47,
1582
+ 123,
1583
+ 112,
1584
+ 114,
1585
+ 111,
1586
+ 106,
1587
+ 101,
1588
+ 99,
1589
+ 116,
1590
+ 95,
1591
+ 105,
1592
+ 100,
1593
+ 125,
1594
+ 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
+ 105,
1620
+ 110,
1621
+ 116,
1622
+ 101,
1623
+ 103,
1624
+ 114,
1625
+ 97,
1626
+ 116,
1627
+ 105,
1628
+ 111,
1629
+ 110,
1630
+ 115,
1631
+ 47,
1632
+ 123,
1633
+ 105,
1634
+ 110,
1635
+ 116,
1636
+ 101,
1637
+ 103,
1638
+ 114,
1639
+ 97,
1640
+ 116,
1641
+ 105,
1642
+ 111,
1643
+ 110,
1644
+ 95,
1645
+ 101,
1646
+ 110,
1647
+ 100,
1648
+ 112,
1649
+ 111,
1650
+ 105,
1651
+ 110,
1652
+ 116,
1653
+ 95,
1654
+ 105,
1655
+ 100,
1656
+ 125,
1657
+ ]),
1658
+ ],
1659
+ },
1660
+ },
1661
+ },
1662
+ listIntegrationEndpoints: {
1663
+ name: "ListIntegrationEndpoints",
1664
+ requestType: exports.ListIntegrationEndpointsRequest,
1665
+ requestStream: false,
1666
+ responseType: exports.ListIntegrationEndpointsResponse,
1667
+ responseStream: false,
1668
+ options: {
1669
+ _unknownFields: {
1670
+ 578365826: [
1671
+ new Uint8Array([
1672
+ 64,
1673
+ 18,
1674
+ 62,
1675
+ 47,
1676
+ 118,
1677
+ 49,
1678
+ 47,
1679
+ 112,
1680
+ 114,
1681
+ 111,
1682
+ 106,
1683
+ 101,
1684
+ 99,
1685
+ 116,
1686
+ 115,
1687
+ 47,
1688
+ 123,
1689
+ 112,
1690
+ 114,
1691
+ 111,
1692
+ 106,
1693
+ 101,
1694
+ 99,
1695
+ 116,
1696
+ 95,
1697
+ 105,
1698
+ 100,
1699
+ 125,
1700
+ 47,
1701
+ 119,
1702
+ 111,
1703
+ 114,
1704
+ 107,
1705
+ 102,
1706
+ 108,
1707
+ 111,
1708
+ 119,
1709
+ 115,
1710
+ 47,
1711
+ 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
+ 105,
1726
+ 110,
1727
+ 116,
1728
+ 101,
1729
+ 103,
1730
+ 114,
1731
+ 97,
1732
+ 116,
1733
+ 105,
1734
+ 111,
1735
+ 110,
1736
+ 115,
1737
+ ]),
1738
+ ],
1739
+ },
1740
+ },
1741
+ },
1742
+ updateIntegrationEndpoint: {
1743
+ name: "UpdateIntegrationEndpoint",
1744
+ requestType: exports.UpdateIntegrationEndpointRequest,
1745
+ requestStream: false,
1746
+ responseType: exports.UpdateIntegrationEndpointResponse,
1747
+ responseStream: false,
1748
+ options: {
1749
+ _unknownFields: {
1750
+ 578365826: [
1751
+ new Uint8Array([
1752
+ 93,
1753
+ 58,
1754
+ 1,
1755
+ 42,
1756
+ 50,
1757
+ 88,
1758
+ 47,
1759
+ 118,
1760
+ 49,
1761
+ 47,
1762
+ 112,
1763
+ 114,
1764
+ 111,
1765
+ 106,
1766
+ 101,
1767
+ 99,
1768
+ 116,
1769
+ 115,
1770
+ 47,
1771
+ 123,
1772
+ 112,
1773
+ 114,
1774
+ 111,
1775
+ 106,
1776
+ 101,
1777
+ 99,
1778
+ 116,
1779
+ 95,
1780
+ 105,
1781
+ 100,
1782
+ 125,
1783
+ 47,
1784
+ 119,
1785
+ 111,
1786
+ 114,
1787
+ 107,
1788
+ 102,
1789
+ 108,
1790
+ 111,
1791
+ 119,
1792
+ 115,
1793
+ 47,
1794
+ 123,
1795
+ 119,
1796
+ 111,
1797
+ 114,
1798
+ 107,
1799
+ 102,
1800
+ 108,
1801
+ 111,
1802
+ 119,
1803
+ 95,
1804
+ 105,
1805
+ 100,
1806
+ 125,
1807
+ 47,
1808
+ 105,
1809
+ 110,
1810
+ 116,
1811
+ 101,
1812
+ 103,
1813
+ 114,
1814
+ 97,
1815
+ 116,
1816
+ 105,
1817
+ 111,
1818
+ 110,
1819
+ 115,
1820
+ 47,
1821
+ 123,
1822
+ 105,
1823
+ 110,
1824
+ 116,
1825
+ 101,
1826
+ 103,
1827
+ 114,
1828
+ 97,
1829
+ 116,
1830
+ 105,
1831
+ 111,
1832
+ 110,
1833
+ 95,
1834
+ 101,
1835
+ 110,
1836
+ 100,
1837
+ 112,
1838
+ 111,
1839
+ 105,
1840
+ 110,
1841
+ 116,
1842
+ 95,
1843
+ 105,
1844
+ 100,
1845
+ 125,
1846
+ ]),
1847
+ ],
1848
+ },
1849
+ },
1850
+ },
1851
+ archiveIntegrationEndpoint: {
1852
+ name: "ArchiveIntegrationEndpoint",
1853
+ requestType: exports.ArchiveIntegrationEndpointRequest,
1854
+ requestStream: false,
1855
+ responseType: exports.ArchiveIntegrationEndpointResponse,
1856
+ responseStream: false,
1857
+ options: {
1858
+ _unknownFields: {
1859
+ 578365826: [
1860
+ new Uint8Array([
1861
+ 101,
1862
+ 58,
1863
+ 1,
1864
+ 42,
1865
+ 34,
1866
+ 96,
1867
+ 47,
1868
+ 118,
1869
+ 49,
1870
+ 47,
1871
+ 112,
1872
+ 114,
1873
+ 111,
1874
+ 106,
1875
+ 101,
1876
+ 99,
1877
+ 116,
1878
+ 115,
1879
+ 47,
1880
+ 123,
1881
+ 112,
1882
+ 114,
1883
+ 111,
1884
+ 106,
1885
+ 101,
1886
+ 99,
1887
+ 116,
1888
+ 95,
1889
+ 105,
1890
+ 100,
1891
+ 125,
1892
+ 47,
1893
+ 119,
1894
+ 111,
1895
+ 114,
1896
+ 107,
1897
+ 102,
1898
+ 108,
1899
+ 111,
1900
+ 119,
1901
+ 115,
1902
+ 47,
1903
+ 123,
1904
+ 119,
1905
+ 111,
1906
+ 114,
1907
+ 107,
1908
+ 102,
1909
+ 108,
1910
+ 111,
1911
+ 119,
1912
+ 95,
1913
+ 105,
1914
+ 100,
1915
+ 125,
1916
+ 47,
1917
+ 105,
1918
+ 110,
1919
+ 116,
1920
+ 101,
1921
+ 103,
1922
+ 114,
1923
+ 97,
1924
+ 116,
1925
+ 105,
1926
+ 111,
1927
+ 110,
1928
+ 115,
1929
+ 47,
1930
+ 123,
1931
+ 105,
1932
+ 110,
1933
+ 116,
1934
+ 101,
1935
+ 103,
1936
+ 114,
1937
+ 97,
1938
+ 116,
1939
+ 105,
1940
+ 111,
1941
+ 110,
1942
+ 95,
1943
+ 101,
1944
+ 110,
1945
+ 100,
1946
+ 112,
1947
+ 111,
1948
+ 105,
1949
+ 110,
1950
+ 116,
1951
+ 95,
1952
+ 105,
1953
+ 100,
1954
+ 125,
1955
+ 58,
1956
+ 97,
1957
+ 114,
1958
+ 99,
1959
+ 104,
1960
+ 105,
1961
+ 118,
1962
+ 101,
1963
+ ]),
1964
+ ],
1965
+ },
1966
+ },
1967
+ },
1968
+ deleteIntegrationEndpoint: {
1969
+ name: "DeleteIntegrationEndpoint",
1970
+ requestType: exports.DeleteIntegrationEndpointRequest,
1971
+ requestStream: false,
1972
+ responseType: exports.DeleteIntegrationEndpointResponse,
1973
+ responseStream: false,
1974
+ options: {
1975
+ _unknownFields: {
1976
+ 578365826: [
1977
+ new Uint8Array([
1978
+ 90,
1979
+ 42,
1980
+ 88,
1981
+ 47,
1982
+ 118,
1983
+ 49,
1984
+ 47,
1985
+ 112,
1986
+ 114,
1987
+ 111,
1988
+ 106,
1989
+ 101,
1990
+ 99,
1991
+ 116,
1992
+ 115,
1993
+ 47,
1994
+ 123,
1995
+ 112,
1996
+ 114,
1997
+ 111,
1998
+ 106,
1999
+ 101,
2000
+ 99,
2001
+ 116,
2002
+ 95,
2003
+ 105,
2004
+ 100,
2005
+ 125,
2006
+ 47,
2007
+ 119,
2008
+ 111,
2009
+ 114,
2010
+ 107,
2011
+ 102,
2012
+ 108,
2013
+ 111,
2014
+ 119,
2015
+ 115,
2016
+ 47,
2017
+ 123,
2018
+ 119,
2019
+ 111,
2020
+ 114,
2021
+ 107,
2022
+ 102,
2023
+ 108,
2024
+ 111,
2025
+ 119,
2026
+ 95,
2027
+ 105,
2028
+ 100,
2029
+ 125,
2030
+ 47,
2031
+ 105,
2032
+ 110,
2033
+ 116,
2034
+ 101,
2035
+ 103,
2036
+ 114,
2037
+ 97,
2038
+ 116,
2039
+ 105,
2040
+ 111,
2041
+ 110,
2042
+ 115,
2043
+ 47,
2044
+ 123,
2045
+ 105,
2046
+ 110,
2047
+ 116,
2048
+ 101,
2049
+ 103,
2050
+ 114,
2051
+ 97,
2052
+ 116,
2053
+ 105,
2054
+ 111,
2055
+ 110,
2056
+ 95,
2057
+ 101,
2058
+ 110,
2059
+ 100,
2060
+ 112,
2061
+ 111,
2062
+ 105,
2063
+ 110,
2064
+ 116,
2065
+ 95,
2066
+ 105,
2067
+ 100,
2068
+ 125,
2069
+ ]),
2070
+ ],
2071
+ },
2072
+ },
2073
+ },
2074
+ validateIntegrationEndpoint: {
2075
+ name: "ValidateIntegrationEndpoint",
2076
+ requestType: exports.ValidateIntegrationEndpointRequest,
2077
+ requestStream: false,
2078
+ responseType: exports.ValidateIntegrationEndpointResponse,
2079
+ responseStream: false,
2080
+ options: {
2081
+ _unknownFields: {
2082
+ 578365826: [
2083
+ new Uint8Array([
2084
+ 102,
2085
+ 58,
2086
+ 1,
2087
+ 42,
2088
+ 34,
2089
+ 97,
2090
+ 47,
2091
+ 118,
2092
+ 49,
2093
+ 47,
2094
+ 112,
2095
+ 114,
2096
+ 111,
2097
+ 106,
2098
+ 101,
2099
+ 99,
2100
+ 116,
2101
+ 115,
2102
+ 47,
2103
+ 123,
2104
+ 112,
2105
+ 114,
2106
+ 111,
2107
+ 106,
2108
+ 101,
2109
+ 99,
2110
+ 116,
2111
+ 95,
2112
+ 105,
2113
+ 100,
2114
+ 125,
2115
+ 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
+ 105,
2141
+ 110,
2142
+ 116,
2143
+ 101,
2144
+ 103,
2145
+ 114,
2146
+ 97,
2147
+ 116,
2148
+ 105,
2149
+ 111,
2150
+ 110,
2151
+ 115,
2152
+ 47,
2153
+ 123,
2154
+ 105,
2155
+ 110,
2156
+ 116,
2157
+ 101,
2158
+ 103,
2159
+ 114,
2160
+ 97,
2161
+ 116,
2162
+ 105,
2163
+ 111,
2164
+ 110,
2165
+ 95,
2166
+ 101,
2167
+ 110,
2168
+ 100,
2169
+ 112,
2170
+ 111,
2171
+ 105,
2172
+ 110,
2173
+ 116,
2174
+ 95,
2175
+ 105,
2176
+ 100,
2177
+ 125,
2178
+ 58,
2179
+ 118,
2180
+ 97,
2181
+ 108,
2182
+ 105,
2183
+ 100,
2184
+ 97,
2185
+ 116,
2186
+ 101,
2187
+ ]),
2188
+ ],
2189
+ },
2190
+ },
2191
+ },
2192
+ },
2193
+ };
2194
+ function toTimestamp(date) {
2195
+ const seconds = Math.trunc(date.getTime() / 1000);
2196
+ const nanos = (date.getTime() % 1000) * 1000000;
2197
+ return { seconds, nanos };
2198
+ }
2199
+ function fromTimestamp(t) {
2200
+ let millis = (t.seconds || 0) * 1000;
2201
+ millis += (t.nanos || 0) / 1000000;
2202
+ return new globalThis.Date(millis);
2203
+ }
2204
+ function fromJsonTimestamp(o) {
2205
+ if (o instanceof globalThis.Date) {
2206
+ return o;
2207
+ }
2208
+ else if (typeof o === "string") {
2209
+ return new globalThis.Date(o);
2210
+ }
2211
+ else {
2212
+ return fromTimestamp(timestamp_pb_1.Timestamp.fromJSON(o));
2213
+ }
2214
+ }
2215
+ function isObject(value) {
2216
+ return typeof value === "object" && value !== null;
2217
+ }
2218
+ function isSet(value) {
2219
+ return value !== null && value !== undefined;
2220
+ }