weave-typescript 0.15.0 → 0.17.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/weaveapi/atc/v1/event.pb.d.ts +101 -0
- package/dist/weaveapi/atc/v1/event.pb.js +862 -1
- package/dist/weaveapi/atc/v1/service.pb.d.ts +99 -1
- package/dist/weaveapi/atc/v1/service.pb.js +921 -1
- package/dist/weaveapi/provider/v1/provider.pb.d.ts +123 -0
- package/dist/weaveapi/provider/v1/provider.pb.js +914 -0
- package/dist/weaveapi/provider/v1/service.pb.d.ts +198 -0
- package/dist/weaveapi/provider/v1/service.pb.js +1569 -0
- package/dist/weavesql/atcdb/event_sql.d.ts +68 -0
- package/dist/weavesql/atcdb/event_sql.js +143 -1
- package/dist/weavesql/atcdb/inspection_sql.d.ts +139 -0
- package/dist/weavesql/atcdb/inspection_sql.js +316 -0
- package/dist/weavesql/atcdb/run_template_sql.d.ts +122 -0
- package/dist/weavesql/atcdb/run_template_sql.js +197 -0
- package/dist/weavesql/atcdb/snapshot_sql.d.ts +58 -0
- package/dist/weavesql/atcdb/snapshot_sql.js +124 -0
- package/dist/weavesql/atcdb/team_sql.d.ts +111 -0
- package/dist/weavesql/atcdb/team_sql.js +235 -0
- package/dist/weavesql/atcdb/workflow_template_sql.d.ts +122 -0
- package/dist/weavesql/atcdb/workflow_template_sql.js +197 -0
- package/dist/weavesql/weavedb/provider_sql.d.ts +162 -0
- package/dist/weavesql/weavedb/provider_sql.js +358 -0
- package/package.json +2 -2
|
@@ -0,0 +1,1569 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
|
+
// versions:
|
|
4
|
+
// protoc-gen-ts_proto v2.11.6
|
|
5
|
+
// protoc unknown
|
|
6
|
+
// source: weaveapi/provider/v1/service.proto
|
|
7
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
+
exports.ProviderConfigurationServiceDefinition = exports.ProviderConfigurationServiceClientImpl = exports.ProviderConfigurationServiceServiceName = exports.GetProviderPropagationStatusResponse = exports.GetProviderPropagationStatusRequest = exports.ListAccessibleOrganizationsResponse = exports.ListAccessibleOrganizationsRequest = exports.RotateProviderCredentialResponse = exports.RotateProviderCredentialRequest = exports.UpdateProviderConfigurationResponse = exports.UpdateProviderConfigurationRequest = exports.CreateProviderConfigurationResponse = exports.CreateProviderConfigurationRequest = exports.ListProviderConfigurationsResponse = exports.ListProviderConfigurationsRequest = exports.protobufPackage = void 0;
|
|
9
|
+
/* eslint-disable */
|
|
10
|
+
const wire_1 = require("@bufbuild/protobuf/wire");
|
|
11
|
+
const provider_pb_1 = require("./provider.pb");
|
|
12
|
+
exports.protobufPackage = "weaveapi.provider.v1";
|
|
13
|
+
function createBaseListProviderConfigurationsRequest() {
|
|
14
|
+
return {
|
|
15
|
+
organizationIds: [],
|
|
16
|
+
providerKindFilter: 0,
|
|
17
|
+
statusFilter: 0,
|
|
18
|
+
credentialStatusFilter: 0,
|
|
19
|
+
pageSize: 0,
|
|
20
|
+
pageToken: "",
|
|
21
|
+
};
|
|
22
|
+
}
|
|
23
|
+
exports.ListProviderConfigurationsRequest = {
|
|
24
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
25
|
+
for (const v of message.organizationIds) {
|
|
26
|
+
writer.uint32(10).string(v);
|
|
27
|
+
}
|
|
28
|
+
if (message.providerKindFilter !== 0) {
|
|
29
|
+
writer.uint32(16).int32(message.providerKindFilter);
|
|
30
|
+
}
|
|
31
|
+
if (message.statusFilter !== 0) {
|
|
32
|
+
writer.uint32(24).int32(message.statusFilter);
|
|
33
|
+
}
|
|
34
|
+
if (message.credentialStatusFilter !== 0) {
|
|
35
|
+
writer.uint32(32).int32(message.credentialStatusFilter);
|
|
36
|
+
}
|
|
37
|
+
if (message.pageSize !== 0) {
|
|
38
|
+
writer.uint32(40).int32(message.pageSize);
|
|
39
|
+
}
|
|
40
|
+
if (message.pageToken !== "") {
|
|
41
|
+
writer.uint32(50).string(message.pageToken);
|
|
42
|
+
}
|
|
43
|
+
return writer;
|
|
44
|
+
},
|
|
45
|
+
decode(input, length) {
|
|
46
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
47
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
48
|
+
const message = createBaseListProviderConfigurationsRequest();
|
|
49
|
+
while (reader.pos < end) {
|
|
50
|
+
const tag = reader.uint32();
|
|
51
|
+
switch (tag >>> 3) {
|
|
52
|
+
case 1: {
|
|
53
|
+
if (tag !== 10) {
|
|
54
|
+
break;
|
|
55
|
+
}
|
|
56
|
+
message.organizationIds.push(reader.string());
|
|
57
|
+
continue;
|
|
58
|
+
}
|
|
59
|
+
case 2: {
|
|
60
|
+
if (tag !== 16) {
|
|
61
|
+
break;
|
|
62
|
+
}
|
|
63
|
+
message.providerKindFilter = reader.int32();
|
|
64
|
+
continue;
|
|
65
|
+
}
|
|
66
|
+
case 3: {
|
|
67
|
+
if (tag !== 24) {
|
|
68
|
+
break;
|
|
69
|
+
}
|
|
70
|
+
message.statusFilter = reader.int32();
|
|
71
|
+
continue;
|
|
72
|
+
}
|
|
73
|
+
case 4: {
|
|
74
|
+
if (tag !== 32) {
|
|
75
|
+
break;
|
|
76
|
+
}
|
|
77
|
+
message.credentialStatusFilter = reader.int32();
|
|
78
|
+
continue;
|
|
79
|
+
}
|
|
80
|
+
case 5: {
|
|
81
|
+
if (tag !== 40) {
|
|
82
|
+
break;
|
|
83
|
+
}
|
|
84
|
+
message.pageSize = reader.int32();
|
|
85
|
+
continue;
|
|
86
|
+
}
|
|
87
|
+
case 6: {
|
|
88
|
+
if (tag !== 50) {
|
|
89
|
+
break;
|
|
90
|
+
}
|
|
91
|
+
message.pageToken = reader.string();
|
|
92
|
+
continue;
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
96
|
+
break;
|
|
97
|
+
}
|
|
98
|
+
reader.skip(tag & 7);
|
|
99
|
+
}
|
|
100
|
+
return message;
|
|
101
|
+
},
|
|
102
|
+
fromJSON(object) {
|
|
103
|
+
return {
|
|
104
|
+
organizationIds: globalThis.Array.isArray(object === null || object === void 0 ? void 0 : object.organizationIds)
|
|
105
|
+
? object.organizationIds.map((e) => globalThis.String(e))
|
|
106
|
+
: globalThis.Array.isArray(object === null || object === void 0 ? void 0 : object.organization_ids)
|
|
107
|
+
? object.organization_ids.map((e) => globalThis.String(e))
|
|
108
|
+
: [],
|
|
109
|
+
providerKindFilter: isSet(object.providerKindFilter)
|
|
110
|
+
? (0, provider_pb_1.providerKindFromJSON)(object.providerKindFilter)
|
|
111
|
+
: isSet(object.provider_kind_filter)
|
|
112
|
+
? (0, provider_pb_1.providerKindFromJSON)(object.provider_kind_filter)
|
|
113
|
+
: 0,
|
|
114
|
+
statusFilter: isSet(object.statusFilter)
|
|
115
|
+
? (0, provider_pb_1.providerConfigurationStatusFromJSON)(object.statusFilter)
|
|
116
|
+
: isSet(object.status_filter)
|
|
117
|
+
? (0, provider_pb_1.providerConfigurationStatusFromJSON)(object.status_filter)
|
|
118
|
+
: 0,
|
|
119
|
+
credentialStatusFilter: isSet(object.credentialStatusFilter)
|
|
120
|
+
? (0, provider_pb_1.providerCredentialStatusFromJSON)(object.credentialStatusFilter)
|
|
121
|
+
: isSet(object.credential_status_filter)
|
|
122
|
+
? (0, provider_pb_1.providerCredentialStatusFromJSON)(object.credential_status_filter)
|
|
123
|
+
: 0,
|
|
124
|
+
pageSize: isSet(object.pageSize)
|
|
125
|
+
? globalThis.Number(object.pageSize)
|
|
126
|
+
: isSet(object.page_size)
|
|
127
|
+
? globalThis.Number(object.page_size)
|
|
128
|
+
: 0,
|
|
129
|
+
pageToken: isSet(object.pageToken)
|
|
130
|
+
? globalThis.String(object.pageToken)
|
|
131
|
+
: isSet(object.page_token)
|
|
132
|
+
? globalThis.String(object.page_token)
|
|
133
|
+
: "",
|
|
134
|
+
};
|
|
135
|
+
},
|
|
136
|
+
toJSON(message) {
|
|
137
|
+
var _a;
|
|
138
|
+
const obj = {};
|
|
139
|
+
if ((_a = message.organizationIds) === null || _a === void 0 ? void 0 : _a.length) {
|
|
140
|
+
obj.organizationIds = message.organizationIds;
|
|
141
|
+
}
|
|
142
|
+
if (message.providerKindFilter !== 0) {
|
|
143
|
+
obj.providerKindFilter = (0, provider_pb_1.providerKindToJSON)(message.providerKindFilter);
|
|
144
|
+
}
|
|
145
|
+
if (message.statusFilter !== 0) {
|
|
146
|
+
obj.statusFilter = (0, provider_pb_1.providerConfigurationStatusToJSON)(message.statusFilter);
|
|
147
|
+
}
|
|
148
|
+
if (message.credentialStatusFilter !== 0) {
|
|
149
|
+
obj.credentialStatusFilter = (0, provider_pb_1.providerCredentialStatusToJSON)(message.credentialStatusFilter);
|
|
150
|
+
}
|
|
151
|
+
if (message.pageSize !== 0) {
|
|
152
|
+
obj.pageSize = Math.round(message.pageSize);
|
|
153
|
+
}
|
|
154
|
+
if (message.pageToken !== "") {
|
|
155
|
+
obj.pageToken = message.pageToken;
|
|
156
|
+
}
|
|
157
|
+
return obj;
|
|
158
|
+
},
|
|
159
|
+
create(base) {
|
|
160
|
+
return exports.ListProviderConfigurationsRequest.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
161
|
+
},
|
|
162
|
+
fromPartial(object) {
|
|
163
|
+
var _a;
|
|
164
|
+
var _b, _c, _d, _e, _f;
|
|
165
|
+
const message = createBaseListProviderConfigurationsRequest();
|
|
166
|
+
message.organizationIds = ((_a = object.organizationIds) === null || _a === void 0 ? void 0 : _a.map((e) => e)) || [];
|
|
167
|
+
message.providerKindFilter = (_b = object.providerKindFilter) !== null && _b !== void 0 ? _b : 0;
|
|
168
|
+
message.statusFilter = (_c = object.statusFilter) !== null && _c !== void 0 ? _c : 0;
|
|
169
|
+
message.credentialStatusFilter = (_d = object.credentialStatusFilter) !== null && _d !== void 0 ? _d : 0;
|
|
170
|
+
message.pageSize = (_e = object.pageSize) !== null && _e !== void 0 ? _e : 0;
|
|
171
|
+
message.pageToken = (_f = object.pageToken) !== null && _f !== void 0 ? _f : "";
|
|
172
|
+
return message;
|
|
173
|
+
},
|
|
174
|
+
};
|
|
175
|
+
function createBaseListProviderConfigurationsResponse() {
|
|
176
|
+
return { providerConfigurations: [], nextPageToken: "" };
|
|
177
|
+
}
|
|
178
|
+
exports.ListProviderConfigurationsResponse = {
|
|
179
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
180
|
+
for (const v of message.providerConfigurations) {
|
|
181
|
+
provider_pb_1.ProviderConfiguration.encode(v, writer.uint32(10).fork()).join();
|
|
182
|
+
}
|
|
183
|
+
if (message.nextPageToken !== "") {
|
|
184
|
+
writer.uint32(18).string(message.nextPageToken);
|
|
185
|
+
}
|
|
186
|
+
return writer;
|
|
187
|
+
},
|
|
188
|
+
decode(input, length) {
|
|
189
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
190
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
191
|
+
const message = createBaseListProviderConfigurationsResponse();
|
|
192
|
+
while (reader.pos < end) {
|
|
193
|
+
const tag = reader.uint32();
|
|
194
|
+
switch (tag >>> 3) {
|
|
195
|
+
case 1: {
|
|
196
|
+
if (tag !== 10) {
|
|
197
|
+
break;
|
|
198
|
+
}
|
|
199
|
+
message.providerConfigurations.push(provider_pb_1.ProviderConfiguration.decode(reader, reader.uint32()));
|
|
200
|
+
continue;
|
|
201
|
+
}
|
|
202
|
+
case 2: {
|
|
203
|
+
if (tag !== 18) {
|
|
204
|
+
break;
|
|
205
|
+
}
|
|
206
|
+
message.nextPageToken = reader.string();
|
|
207
|
+
continue;
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
211
|
+
break;
|
|
212
|
+
}
|
|
213
|
+
reader.skip(tag & 7);
|
|
214
|
+
}
|
|
215
|
+
return message;
|
|
216
|
+
},
|
|
217
|
+
fromJSON(object) {
|
|
218
|
+
return {
|
|
219
|
+
providerConfigurations: globalThis.Array.isArray(object === null || object === void 0 ? void 0 : object.providerConfigurations)
|
|
220
|
+
? object.providerConfigurations.map((e) => provider_pb_1.ProviderConfiguration.fromJSON(e))
|
|
221
|
+
: globalThis.Array.isArray(object === null || object === void 0 ? void 0 : object.provider_configurations)
|
|
222
|
+
? object.provider_configurations.map((e) => provider_pb_1.ProviderConfiguration.fromJSON(e))
|
|
223
|
+
: [],
|
|
224
|
+
nextPageToken: isSet(object.nextPageToken)
|
|
225
|
+
? globalThis.String(object.nextPageToken)
|
|
226
|
+
: isSet(object.next_page_token)
|
|
227
|
+
? globalThis.String(object.next_page_token)
|
|
228
|
+
: "",
|
|
229
|
+
};
|
|
230
|
+
},
|
|
231
|
+
toJSON(message) {
|
|
232
|
+
var _a;
|
|
233
|
+
const obj = {};
|
|
234
|
+
if ((_a = message.providerConfigurations) === null || _a === void 0 ? void 0 : _a.length) {
|
|
235
|
+
obj.providerConfigurations = message.providerConfigurations.map((e) => provider_pb_1.ProviderConfiguration.toJSON(e));
|
|
236
|
+
}
|
|
237
|
+
if (message.nextPageToken !== "") {
|
|
238
|
+
obj.nextPageToken = message.nextPageToken;
|
|
239
|
+
}
|
|
240
|
+
return obj;
|
|
241
|
+
},
|
|
242
|
+
create(base) {
|
|
243
|
+
return exports.ListProviderConfigurationsResponse.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
244
|
+
},
|
|
245
|
+
fromPartial(object) {
|
|
246
|
+
var _a;
|
|
247
|
+
var _b;
|
|
248
|
+
const message = createBaseListProviderConfigurationsResponse();
|
|
249
|
+
message.providerConfigurations = ((_a = object.providerConfigurations) === null || _a === void 0 ? void 0 : _a.map((e) => provider_pb_1.ProviderConfiguration.fromPartial(e))) ||
|
|
250
|
+
[];
|
|
251
|
+
message.nextPageToken = (_b = object.nextPageToken) !== null && _b !== void 0 ? _b : "";
|
|
252
|
+
return message;
|
|
253
|
+
},
|
|
254
|
+
};
|
|
255
|
+
function createBaseCreateProviderConfigurationRequest() {
|
|
256
|
+
return {
|
|
257
|
+
allOrganizations: false,
|
|
258
|
+
organizationIds: [],
|
|
259
|
+
providerKind: 0,
|
|
260
|
+
displayName: "",
|
|
261
|
+
baseUrl: "",
|
|
262
|
+
apiKey: "",
|
|
263
|
+
enabled: false,
|
|
264
|
+
};
|
|
265
|
+
}
|
|
266
|
+
exports.CreateProviderConfigurationRequest = {
|
|
267
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
268
|
+
if (message.allOrganizations !== false) {
|
|
269
|
+
writer.uint32(8).bool(message.allOrganizations);
|
|
270
|
+
}
|
|
271
|
+
for (const v of message.organizationIds) {
|
|
272
|
+
writer.uint32(18).string(v);
|
|
273
|
+
}
|
|
274
|
+
if (message.providerKind !== 0) {
|
|
275
|
+
writer.uint32(24).int32(message.providerKind);
|
|
276
|
+
}
|
|
277
|
+
if (message.displayName !== "") {
|
|
278
|
+
writer.uint32(34).string(message.displayName);
|
|
279
|
+
}
|
|
280
|
+
if (message.baseUrl !== "") {
|
|
281
|
+
writer.uint32(42).string(message.baseUrl);
|
|
282
|
+
}
|
|
283
|
+
if (message.apiKey !== "") {
|
|
284
|
+
writer.uint32(50).string(message.apiKey);
|
|
285
|
+
}
|
|
286
|
+
if (message.enabled !== false) {
|
|
287
|
+
writer.uint32(56).bool(message.enabled);
|
|
288
|
+
}
|
|
289
|
+
return writer;
|
|
290
|
+
},
|
|
291
|
+
decode(input, length) {
|
|
292
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
293
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
294
|
+
const message = createBaseCreateProviderConfigurationRequest();
|
|
295
|
+
while (reader.pos < end) {
|
|
296
|
+
const tag = reader.uint32();
|
|
297
|
+
switch (tag >>> 3) {
|
|
298
|
+
case 1: {
|
|
299
|
+
if (tag !== 8) {
|
|
300
|
+
break;
|
|
301
|
+
}
|
|
302
|
+
message.allOrganizations = reader.bool();
|
|
303
|
+
continue;
|
|
304
|
+
}
|
|
305
|
+
case 2: {
|
|
306
|
+
if (tag !== 18) {
|
|
307
|
+
break;
|
|
308
|
+
}
|
|
309
|
+
message.organizationIds.push(reader.string());
|
|
310
|
+
continue;
|
|
311
|
+
}
|
|
312
|
+
case 3: {
|
|
313
|
+
if (tag !== 24) {
|
|
314
|
+
break;
|
|
315
|
+
}
|
|
316
|
+
message.providerKind = reader.int32();
|
|
317
|
+
continue;
|
|
318
|
+
}
|
|
319
|
+
case 4: {
|
|
320
|
+
if (tag !== 34) {
|
|
321
|
+
break;
|
|
322
|
+
}
|
|
323
|
+
message.displayName = reader.string();
|
|
324
|
+
continue;
|
|
325
|
+
}
|
|
326
|
+
case 5: {
|
|
327
|
+
if (tag !== 42) {
|
|
328
|
+
break;
|
|
329
|
+
}
|
|
330
|
+
message.baseUrl = reader.string();
|
|
331
|
+
continue;
|
|
332
|
+
}
|
|
333
|
+
case 6: {
|
|
334
|
+
if (tag !== 50) {
|
|
335
|
+
break;
|
|
336
|
+
}
|
|
337
|
+
message.apiKey = reader.string();
|
|
338
|
+
continue;
|
|
339
|
+
}
|
|
340
|
+
case 7: {
|
|
341
|
+
if (tag !== 56) {
|
|
342
|
+
break;
|
|
343
|
+
}
|
|
344
|
+
message.enabled = reader.bool();
|
|
345
|
+
continue;
|
|
346
|
+
}
|
|
347
|
+
}
|
|
348
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
349
|
+
break;
|
|
350
|
+
}
|
|
351
|
+
reader.skip(tag & 7);
|
|
352
|
+
}
|
|
353
|
+
return message;
|
|
354
|
+
},
|
|
355
|
+
fromJSON(object) {
|
|
356
|
+
return {
|
|
357
|
+
allOrganizations: isSet(object.allOrganizations)
|
|
358
|
+
? globalThis.Boolean(object.allOrganizations)
|
|
359
|
+
: isSet(object.all_organizations)
|
|
360
|
+
? globalThis.Boolean(object.all_organizations)
|
|
361
|
+
: false,
|
|
362
|
+
organizationIds: globalThis.Array.isArray(object === null || object === void 0 ? void 0 : object.organizationIds)
|
|
363
|
+
? object.organizationIds.map((e) => globalThis.String(e))
|
|
364
|
+
: globalThis.Array.isArray(object === null || object === void 0 ? void 0 : object.organization_ids)
|
|
365
|
+
? object.organization_ids.map((e) => globalThis.String(e))
|
|
366
|
+
: [],
|
|
367
|
+
providerKind: isSet(object.providerKind)
|
|
368
|
+
? (0, provider_pb_1.providerKindFromJSON)(object.providerKind)
|
|
369
|
+
: isSet(object.provider_kind)
|
|
370
|
+
? (0, provider_pb_1.providerKindFromJSON)(object.provider_kind)
|
|
371
|
+
: 0,
|
|
372
|
+
displayName: isSet(object.displayName)
|
|
373
|
+
? globalThis.String(object.displayName)
|
|
374
|
+
: isSet(object.display_name)
|
|
375
|
+
? globalThis.String(object.display_name)
|
|
376
|
+
: "",
|
|
377
|
+
baseUrl: isSet(object.baseUrl)
|
|
378
|
+
? globalThis.String(object.baseUrl)
|
|
379
|
+
: isSet(object.base_url)
|
|
380
|
+
? globalThis.String(object.base_url)
|
|
381
|
+
: "",
|
|
382
|
+
apiKey: isSet(object.apiKey)
|
|
383
|
+
? globalThis.String(object.apiKey)
|
|
384
|
+
: isSet(object.api_key)
|
|
385
|
+
? globalThis.String(object.api_key)
|
|
386
|
+
: "",
|
|
387
|
+
enabled: isSet(object.enabled) ? globalThis.Boolean(object.enabled) : false,
|
|
388
|
+
};
|
|
389
|
+
},
|
|
390
|
+
toJSON(message) {
|
|
391
|
+
var _a;
|
|
392
|
+
const obj = {};
|
|
393
|
+
if (message.allOrganizations !== false) {
|
|
394
|
+
obj.allOrganizations = message.allOrganizations;
|
|
395
|
+
}
|
|
396
|
+
if ((_a = message.organizationIds) === null || _a === void 0 ? void 0 : _a.length) {
|
|
397
|
+
obj.organizationIds = message.organizationIds;
|
|
398
|
+
}
|
|
399
|
+
if (message.providerKind !== 0) {
|
|
400
|
+
obj.providerKind = (0, provider_pb_1.providerKindToJSON)(message.providerKind);
|
|
401
|
+
}
|
|
402
|
+
if (message.displayName !== "") {
|
|
403
|
+
obj.displayName = message.displayName;
|
|
404
|
+
}
|
|
405
|
+
if (message.baseUrl !== "") {
|
|
406
|
+
obj.baseUrl = message.baseUrl;
|
|
407
|
+
}
|
|
408
|
+
if (message.apiKey !== "") {
|
|
409
|
+
obj.apiKey = message.apiKey;
|
|
410
|
+
}
|
|
411
|
+
if (message.enabled !== false) {
|
|
412
|
+
obj.enabled = message.enabled;
|
|
413
|
+
}
|
|
414
|
+
return obj;
|
|
415
|
+
},
|
|
416
|
+
create(base) {
|
|
417
|
+
return exports.CreateProviderConfigurationRequest.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
418
|
+
},
|
|
419
|
+
fromPartial(object) {
|
|
420
|
+
var _a;
|
|
421
|
+
var _b, _c, _d, _e, _f, _g;
|
|
422
|
+
const message = createBaseCreateProviderConfigurationRequest();
|
|
423
|
+
message.allOrganizations = (_b = object.allOrganizations) !== null && _b !== void 0 ? _b : false;
|
|
424
|
+
message.organizationIds = ((_a = object.organizationIds) === null || _a === void 0 ? void 0 : _a.map((e) => e)) || [];
|
|
425
|
+
message.providerKind = (_c = object.providerKind) !== null && _c !== void 0 ? _c : 0;
|
|
426
|
+
message.displayName = (_d = object.displayName) !== null && _d !== void 0 ? _d : "";
|
|
427
|
+
message.baseUrl = (_e = object.baseUrl) !== null && _e !== void 0 ? _e : "";
|
|
428
|
+
message.apiKey = (_f = object.apiKey) !== null && _f !== void 0 ? _f : "";
|
|
429
|
+
message.enabled = (_g = object.enabled) !== null && _g !== void 0 ? _g : false;
|
|
430
|
+
return message;
|
|
431
|
+
},
|
|
432
|
+
};
|
|
433
|
+
function createBaseCreateProviderConfigurationResponse() {
|
|
434
|
+
return { providerConfigurations: [], propagationScope: 0, propagationTargets: [] };
|
|
435
|
+
}
|
|
436
|
+
exports.CreateProviderConfigurationResponse = {
|
|
437
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
438
|
+
for (const v of message.providerConfigurations) {
|
|
439
|
+
provider_pb_1.ProviderConfiguration.encode(v, writer.uint32(10).fork()).join();
|
|
440
|
+
}
|
|
441
|
+
if (message.propagationScope !== 0) {
|
|
442
|
+
writer.uint32(16).int32(message.propagationScope);
|
|
443
|
+
}
|
|
444
|
+
for (const v of message.propagationTargets) {
|
|
445
|
+
provider_pb_1.ProviderPropagationTargetStatus.encode(v, writer.uint32(26).fork()).join();
|
|
446
|
+
}
|
|
447
|
+
return writer;
|
|
448
|
+
},
|
|
449
|
+
decode(input, length) {
|
|
450
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
451
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
452
|
+
const message = createBaseCreateProviderConfigurationResponse();
|
|
453
|
+
while (reader.pos < end) {
|
|
454
|
+
const tag = reader.uint32();
|
|
455
|
+
switch (tag >>> 3) {
|
|
456
|
+
case 1: {
|
|
457
|
+
if (tag !== 10) {
|
|
458
|
+
break;
|
|
459
|
+
}
|
|
460
|
+
message.providerConfigurations.push(provider_pb_1.ProviderConfiguration.decode(reader, reader.uint32()));
|
|
461
|
+
continue;
|
|
462
|
+
}
|
|
463
|
+
case 2: {
|
|
464
|
+
if (tag !== 16) {
|
|
465
|
+
break;
|
|
466
|
+
}
|
|
467
|
+
message.propagationScope = reader.int32();
|
|
468
|
+
continue;
|
|
469
|
+
}
|
|
470
|
+
case 3: {
|
|
471
|
+
if (tag !== 26) {
|
|
472
|
+
break;
|
|
473
|
+
}
|
|
474
|
+
message.propagationTargets.push(provider_pb_1.ProviderPropagationTargetStatus.decode(reader, reader.uint32()));
|
|
475
|
+
continue;
|
|
476
|
+
}
|
|
477
|
+
}
|
|
478
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
479
|
+
break;
|
|
480
|
+
}
|
|
481
|
+
reader.skip(tag & 7);
|
|
482
|
+
}
|
|
483
|
+
return message;
|
|
484
|
+
},
|
|
485
|
+
fromJSON(object) {
|
|
486
|
+
return {
|
|
487
|
+
providerConfigurations: globalThis.Array.isArray(object === null || object === void 0 ? void 0 : object.providerConfigurations)
|
|
488
|
+
? object.providerConfigurations.map((e) => provider_pb_1.ProviderConfiguration.fromJSON(e))
|
|
489
|
+
: globalThis.Array.isArray(object === null || object === void 0 ? void 0 : object.provider_configurations)
|
|
490
|
+
? object.provider_configurations.map((e) => provider_pb_1.ProviderConfiguration.fromJSON(e))
|
|
491
|
+
: [],
|
|
492
|
+
propagationScope: isSet(object.propagationScope)
|
|
493
|
+
? (0, provider_pb_1.providerPropagationScopeFromJSON)(object.propagationScope)
|
|
494
|
+
: isSet(object.propagation_scope)
|
|
495
|
+
? (0, provider_pb_1.providerPropagationScopeFromJSON)(object.propagation_scope)
|
|
496
|
+
: 0,
|
|
497
|
+
propagationTargets: globalThis.Array.isArray(object === null || object === void 0 ? void 0 : object.propagationTargets)
|
|
498
|
+
? object.propagationTargets.map((e) => provider_pb_1.ProviderPropagationTargetStatus.fromJSON(e))
|
|
499
|
+
: globalThis.Array.isArray(object === null || object === void 0 ? void 0 : object.propagation_targets)
|
|
500
|
+
? object.propagation_targets.map((e) => provider_pb_1.ProviderPropagationTargetStatus.fromJSON(e))
|
|
501
|
+
: [],
|
|
502
|
+
};
|
|
503
|
+
},
|
|
504
|
+
toJSON(message) {
|
|
505
|
+
var _a, _b;
|
|
506
|
+
const obj = {};
|
|
507
|
+
if ((_a = message.providerConfigurations) === null || _a === void 0 ? void 0 : _a.length) {
|
|
508
|
+
obj.providerConfigurations = message.providerConfigurations.map((e) => provider_pb_1.ProviderConfiguration.toJSON(e));
|
|
509
|
+
}
|
|
510
|
+
if (message.propagationScope !== 0) {
|
|
511
|
+
obj.propagationScope = (0, provider_pb_1.providerPropagationScopeToJSON)(message.propagationScope);
|
|
512
|
+
}
|
|
513
|
+
if ((_b = message.propagationTargets) === null || _b === void 0 ? void 0 : _b.length) {
|
|
514
|
+
obj.propagationTargets = message.propagationTargets.map((e) => provider_pb_1.ProviderPropagationTargetStatus.toJSON(e));
|
|
515
|
+
}
|
|
516
|
+
return obj;
|
|
517
|
+
},
|
|
518
|
+
create(base) {
|
|
519
|
+
return exports.CreateProviderConfigurationResponse.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
520
|
+
},
|
|
521
|
+
fromPartial(object) {
|
|
522
|
+
var _a, _b;
|
|
523
|
+
var _c;
|
|
524
|
+
const message = createBaseCreateProviderConfigurationResponse();
|
|
525
|
+
message.providerConfigurations = ((_a = object.providerConfigurations) === null || _a === void 0 ? void 0 : _a.map((e) => provider_pb_1.ProviderConfiguration.fromPartial(e))) ||
|
|
526
|
+
[];
|
|
527
|
+
message.propagationScope = (_c = object.propagationScope) !== null && _c !== void 0 ? _c : 0;
|
|
528
|
+
message.propagationTargets =
|
|
529
|
+
((_b = object.propagationTargets) === null || _b === void 0 ? void 0 : _b.map((e) => provider_pb_1.ProviderPropagationTargetStatus.fromPartial(e))) || [];
|
|
530
|
+
return message;
|
|
531
|
+
},
|
|
532
|
+
};
|
|
533
|
+
function createBaseUpdateProviderConfigurationRequest() {
|
|
534
|
+
return { providerConfigurationId: "", organizationId: "", displayName: "", baseUrl: "", status: 0 };
|
|
535
|
+
}
|
|
536
|
+
exports.UpdateProviderConfigurationRequest = {
|
|
537
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
538
|
+
if (message.providerConfigurationId !== "") {
|
|
539
|
+
writer.uint32(10).string(message.providerConfigurationId);
|
|
540
|
+
}
|
|
541
|
+
if (message.organizationId !== "") {
|
|
542
|
+
writer.uint32(18).string(message.organizationId);
|
|
543
|
+
}
|
|
544
|
+
if (message.displayName !== "") {
|
|
545
|
+
writer.uint32(26).string(message.displayName);
|
|
546
|
+
}
|
|
547
|
+
if (message.baseUrl !== "") {
|
|
548
|
+
writer.uint32(34).string(message.baseUrl);
|
|
549
|
+
}
|
|
550
|
+
if (message.status !== 0) {
|
|
551
|
+
writer.uint32(40).int32(message.status);
|
|
552
|
+
}
|
|
553
|
+
return writer;
|
|
554
|
+
},
|
|
555
|
+
decode(input, length) {
|
|
556
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
557
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
558
|
+
const message = createBaseUpdateProviderConfigurationRequest();
|
|
559
|
+
while (reader.pos < end) {
|
|
560
|
+
const tag = reader.uint32();
|
|
561
|
+
switch (tag >>> 3) {
|
|
562
|
+
case 1: {
|
|
563
|
+
if (tag !== 10) {
|
|
564
|
+
break;
|
|
565
|
+
}
|
|
566
|
+
message.providerConfigurationId = reader.string();
|
|
567
|
+
continue;
|
|
568
|
+
}
|
|
569
|
+
case 2: {
|
|
570
|
+
if (tag !== 18) {
|
|
571
|
+
break;
|
|
572
|
+
}
|
|
573
|
+
message.organizationId = reader.string();
|
|
574
|
+
continue;
|
|
575
|
+
}
|
|
576
|
+
case 3: {
|
|
577
|
+
if (tag !== 26) {
|
|
578
|
+
break;
|
|
579
|
+
}
|
|
580
|
+
message.displayName = reader.string();
|
|
581
|
+
continue;
|
|
582
|
+
}
|
|
583
|
+
case 4: {
|
|
584
|
+
if (tag !== 34) {
|
|
585
|
+
break;
|
|
586
|
+
}
|
|
587
|
+
message.baseUrl = reader.string();
|
|
588
|
+
continue;
|
|
589
|
+
}
|
|
590
|
+
case 5: {
|
|
591
|
+
if (tag !== 40) {
|
|
592
|
+
break;
|
|
593
|
+
}
|
|
594
|
+
message.status = reader.int32();
|
|
595
|
+
continue;
|
|
596
|
+
}
|
|
597
|
+
}
|
|
598
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
599
|
+
break;
|
|
600
|
+
}
|
|
601
|
+
reader.skip(tag & 7);
|
|
602
|
+
}
|
|
603
|
+
return message;
|
|
604
|
+
},
|
|
605
|
+
fromJSON(object) {
|
|
606
|
+
return {
|
|
607
|
+
providerConfigurationId: isSet(object.providerConfigurationId)
|
|
608
|
+
? globalThis.String(object.providerConfigurationId)
|
|
609
|
+
: isSet(object.provider_configuration_id)
|
|
610
|
+
? globalThis.String(object.provider_configuration_id)
|
|
611
|
+
: "",
|
|
612
|
+
organizationId: isSet(object.organizationId)
|
|
613
|
+
? globalThis.String(object.organizationId)
|
|
614
|
+
: isSet(object.organization_id)
|
|
615
|
+
? globalThis.String(object.organization_id)
|
|
616
|
+
: "",
|
|
617
|
+
displayName: isSet(object.displayName)
|
|
618
|
+
? globalThis.String(object.displayName)
|
|
619
|
+
: isSet(object.display_name)
|
|
620
|
+
? globalThis.String(object.display_name)
|
|
621
|
+
: "",
|
|
622
|
+
baseUrl: isSet(object.baseUrl)
|
|
623
|
+
? globalThis.String(object.baseUrl)
|
|
624
|
+
: isSet(object.base_url)
|
|
625
|
+
? globalThis.String(object.base_url)
|
|
626
|
+
: "",
|
|
627
|
+
status: isSet(object.status) ? (0, provider_pb_1.providerConfigurationStatusFromJSON)(object.status) : 0,
|
|
628
|
+
};
|
|
629
|
+
},
|
|
630
|
+
toJSON(message) {
|
|
631
|
+
const obj = {};
|
|
632
|
+
if (message.providerConfigurationId !== "") {
|
|
633
|
+
obj.providerConfigurationId = message.providerConfigurationId;
|
|
634
|
+
}
|
|
635
|
+
if (message.organizationId !== "") {
|
|
636
|
+
obj.organizationId = message.organizationId;
|
|
637
|
+
}
|
|
638
|
+
if (message.displayName !== "") {
|
|
639
|
+
obj.displayName = message.displayName;
|
|
640
|
+
}
|
|
641
|
+
if (message.baseUrl !== "") {
|
|
642
|
+
obj.baseUrl = message.baseUrl;
|
|
643
|
+
}
|
|
644
|
+
if (message.status !== 0) {
|
|
645
|
+
obj.status = (0, provider_pb_1.providerConfigurationStatusToJSON)(message.status);
|
|
646
|
+
}
|
|
647
|
+
return obj;
|
|
648
|
+
},
|
|
649
|
+
create(base) {
|
|
650
|
+
return exports.UpdateProviderConfigurationRequest.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
651
|
+
},
|
|
652
|
+
fromPartial(object) {
|
|
653
|
+
var _a, _b, _c, _d, _e;
|
|
654
|
+
const message = createBaseUpdateProviderConfigurationRequest();
|
|
655
|
+
message.providerConfigurationId = (_a = object.providerConfigurationId) !== null && _a !== void 0 ? _a : "";
|
|
656
|
+
message.organizationId = (_b = object.organizationId) !== null && _b !== void 0 ? _b : "";
|
|
657
|
+
message.displayName = (_c = object.displayName) !== null && _c !== void 0 ? _c : "";
|
|
658
|
+
message.baseUrl = (_d = object.baseUrl) !== null && _d !== void 0 ? _d : "";
|
|
659
|
+
message.status = (_e = object.status) !== null && _e !== void 0 ? _e : 0;
|
|
660
|
+
return message;
|
|
661
|
+
},
|
|
662
|
+
};
|
|
663
|
+
function createBaseUpdateProviderConfigurationResponse() {
|
|
664
|
+
return { providerConfiguration: undefined };
|
|
665
|
+
}
|
|
666
|
+
exports.UpdateProviderConfigurationResponse = {
|
|
667
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
668
|
+
if (message.providerConfiguration !== undefined) {
|
|
669
|
+
provider_pb_1.ProviderConfiguration.encode(message.providerConfiguration, writer.uint32(10).fork()).join();
|
|
670
|
+
}
|
|
671
|
+
return writer;
|
|
672
|
+
},
|
|
673
|
+
decode(input, length) {
|
|
674
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
675
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
676
|
+
const message = createBaseUpdateProviderConfigurationResponse();
|
|
677
|
+
while (reader.pos < end) {
|
|
678
|
+
const tag = reader.uint32();
|
|
679
|
+
switch (tag >>> 3) {
|
|
680
|
+
case 1: {
|
|
681
|
+
if (tag !== 10) {
|
|
682
|
+
break;
|
|
683
|
+
}
|
|
684
|
+
message.providerConfiguration = provider_pb_1.ProviderConfiguration.decode(reader, reader.uint32());
|
|
685
|
+
continue;
|
|
686
|
+
}
|
|
687
|
+
}
|
|
688
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
689
|
+
break;
|
|
690
|
+
}
|
|
691
|
+
reader.skip(tag & 7);
|
|
692
|
+
}
|
|
693
|
+
return message;
|
|
694
|
+
},
|
|
695
|
+
fromJSON(object) {
|
|
696
|
+
return {
|
|
697
|
+
providerConfiguration: isSet(object.providerConfiguration)
|
|
698
|
+
? provider_pb_1.ProviderConfiguration.fromJSON(object.providerConfiguration)
|
|
699
|
+
: isSet(object.provider_configuration)
|
|
700
|
+
? provider_pb_1.ProviderConfiguration.fromJSON(object.provider_configuration)
|
|
701
|
+
: undefined,
|
|
702
|
+
};
|
|
703
|
+
},
|
|
704
|
+
toJSON(message) {
|
|
705
|
+
const obj = {};
|
|
706
|
+
if (message.providerConfiguration !== undefined) {
|
|
707
|
+
obj.providerConfiguration = provider_pb_1.ProviderConfiguration.toJSON(message.providerConfiguration);
|
|
708
|
+
}
|
|
709
|
+
return obj;
|
|
710
|
+
},
|
|
711
|
+
create(base) {
|
|
712
|
+
return exports.UpdateProviderConfigurationResponse.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
713
|
+
},
|
|
714
|
+
fromPartial(object) {
|
|
715
|
+
const message = createBaseUpdateProviderConfigurationResponse();
|
|
716
|
+
message.providerConfiguration =
|
|
717
|
+
(object.providerConfiguration !== undefined && object.providerConfiguration !== null)
|
|
718
|
+
? provider_pb_1.ProviderConfiguration.fromPartial(object.providerConfiguration)
|
|
719
|
+
: undefined;
|
|
720
|
+
return message;
|
|
721
|
+
},
|
|
722
|
+
};
|
|
723
|
+
function createBaseRotateProviderCredentialRequest() {
|
|
724
|
+
return { providerConfigurationId: "", organizationId: "", apiKey: "" };
|
|
725
|
+
}
|
|
726
|
+
exports.RotateProviderCredentialRequest = {
|
|
727
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
728
|
+
if (message.providerConfigurationId !== "") {
|
|
729
|
+
writer.uint32(10).string(message.providerConfigurationId);
|
|
730
|
+
}
|
|
731
|
+
if (message.organizationId !== "") {
|
|
732
|
+
writer.uint32(18).string(message.organizationId);
|
|
733
|
+
}
|
|
734
|
+
if (message.apiKey !== "") {
|
|
735
|
+
writer.uint32(26).string(message.apiKey);
|
|
736
|
+
}
|
|
737
|
+
return writer;
|
|
738
|
+
},
|
|
739
|
+
decode(input, length) {
|
|
740
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
741
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
742
|
+
const message = createBaseRotateProviderCredentialRequest();
|
|
743
|
+
while (reader.pos < end) {
|
|
744
|
+
const tag = reader.uint32();
|
|
745
|
+
switch (tag >>> 3) {
|
|
746
|
+
case 1: {
|
|
747
|
+
if (tag !== 10) {
|
|
748
|
+
break;
|
|
749
|
+
}
|
|
750
|
+
message.providerConfigurationId = reader.string();
|
|
751
|
+
continue;
|
|
752
|
+
}
|
|
753
|
+
case 2: {
|
|
754
|
+
if (tag !== 18) {
|
|
755
|
+
break;
|
|
756
|
+
}
|
|
757
|
+
message.organizationId = reader.string();
|
|
758
|
+
continue;
|
|
759
|
+
}
|
|
760
|
+
case 3: {
|
|
761
|
+
if (tag !== 26) {
|
|
762
|
+
break;
|
|
763
|
+
}
|
|
764
|
+
message.apiKey = reader.string();
|
|
765
|
+
continue;
|
|
766
|
+
}
|
|
767
|
+
}
|
|
768
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
769
|
+
break;
|
|
770
|
+
}
|
|
771
|
+
reader.skip(tag & 7);
|
|
772
|
+
}
|
|
773
|
+
return message;
|
|
774
|
+
},
|
|
775
|
+
fromJSON(object) {
|
|
776
|
+
return {
|
|
777
|
+
providerConfigurationId: isSet(object.providerConfigurationId)
|
|
778
|
+
? globalThis.String(object.providerConfigurationId)
|
|
779
|
+
: isSet(object.provider_configuration_id)
|
|
780
|
+
? globalThis.String(object.provider_configuration_id)
|
|
781
|
+
: "",
|
|
782
|
+
organizationId: isSet(object.organizationId)
|
|
783
|
+
? globalThis.String(object.organizationId)
|
|
784
|
+
: isSet(object.organization_id)
|
|
785
|
+
? globalThis.String(object.organization_id)
|
|
786
|
+
: "",
|
|
787
|
+
apiKey: isSet(object.apiKey)
|
|
788
|
+
? globalThis.String(object.apiKey)
|
|
789
|
+
: isSet(object.api_key)
|
|
790
|
+
? globalThis.String(object.api_key)
|
|
791
|
+
: "",
|
|
792
|
+
};
|
|
793
|
+
},
|
|
794
|
+
toJSON(message) {
|
|
795
|
+
const obj = {};
|
|
796
|
+
if (message.providerConfigurationId !== "") {
|
|
797
|
+
obj.providerConfigurationId = message.providerConfigurationId;
|
|
798
|
+
}
|
|
799
|
+
if (message.organizationId !== "") {
|
|
800
|
+
obj.organizationId = message.organizationId;
|
|
801
|
+
}
|
|
802
|
+
if (message.apiKey !== "") {
|
|
803
|
+
obj.apiKey = message.apiKey;
|
|
804
|
+
}
|
|
805
|
+
return obj;
|
|
806
|
+
},
|
|
807
|
+
create(base) {
|
|
808
|
+
return exports.RotateProviderCredentialRequest.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
809
|
+
},
|
|
810
|
+
fromPartial(object) {
|
|
811
|
+
var _a, _b, _c;
|
|
812
|
+
const message = createBaseRotateProviderCredentialRequest();
|
|
813
|
+
message.providerConfigurationId = (_a = object.providerConfigurationId) !== null && _a !== void 0 ? _a : "";
|
|
814
|
+
message.organizationId = (_b = object.organizationId) !== null && _b !== void 0 ? _b : "";
|
|
815
|
+
message.apiKey = (_c = object.apiKey) !== null && _c !== void 0 ? _c : "";
|
|
816
|
+
return message;
|
|
817
|
+
},
|
|
818
|
+
};
|
|
819
|
+
function createBaseRotateProviderCredentialResponse() {
|
|
820
|
+
return { providerConfiguration: undefined, propagationTargets: [] };
|
|
821
|
+
}
|
|
822
|
+
exports.RotateProviderCredentialResponse = {
|
|
823
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
824
|
+
if (message.providerConfiguration !== undefined) {
|
|
825
|
+
provider_pb_1.ProviderConfiguration.encode(message.providerConfiguration, writer.uint32(10).fork()).join();
|
|
826
|
+
}
|
|
827
|
+
for (const v of message.propagationTargets) {
|
|
828
|
+
provider_pb_1.ProviderPropagationTargetStatus.encode(v, writer.uint32(18).fork()).join();
|
|
829
|
+
}
|
|
830
|
+
return writer;
|
|
831
|
+
},
|
|
832
|
+
decode(input, length) {
|
|
833
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
834
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
835
|
+
const message = createBaseRotateProviderCredentialResponse();
|
|
836
|
+
while (reader.pos < end) {
|
|
837
|
+
const tag = reader.uint32();
|
|
838
|
+
switch (tag >>> 3) {
|
|
839
|
+
case 1: {
|
|
840
|
+
if (tag !== 10) {
|
|
841
|
+
break;
|
|
842
|
+
}
|
|
843
|
+
message.providerConfiguration = provider_pb_1.ProviderConfiguration.decode(reader, reader.uint32());
|
|
844
|
+
continue;
|
|
845
|
+
}
|
|
846
|
+
case 2: {
|
|
847
|
+
if (tag !== 18) {
|
|
848
|
+
break;
|
|
849
|
+
}
|
|
850
|
+
message.propagationTargets.push(provider_pb_1.ProviderPropagationTargetStatus.decode(reader, reader.uint32()));
|
|
851
|
+
continue;
|
|
852
|
+
}
|
|
853
|
+
}
|
|
854
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
855
|
+
break;
|
|
856
|
+
}
|
|
857
|
+
reader.skip(tag & 7);
|
|
858
|
+
}
|
|
859
|
+
return message;
|
|
860
|
+
},
|
|
861
|
+
fromJSON(object) {
|
|
862
|
+
return {
|
|
863
|
+
providerConfiguration: isSet(object.providerConfiguration)
|
|
864
|
+
? provider_pb_1.ProviderConfiguration.fromJSON(object.providerConfiguration)
|
|
865
|
+
: isSet(object.provider_configuration)
|
|
866
|
+
? provider_pb_1.ProviderConfiguration.fromJSON(object.provider_configuration)
|
|
867
|
+
: undefined,
|
|
868
|
+
propagationTargets: globalThis.Array.isArray(object === null || object === void 0 ? void 0 : object.propagationTargets)
|
|
869
|
+
? object.propagationTargets.map((e) => provider_pb_1.ProviderPropagationTargetStatus.fromJSON(e))
|
|
870
|
+
: globalThis.Array.isArray(object === null || object === void 0 ? void 0 : object.propagation_targets)
|
|
871
|
+
? object.propagation_targets.map((e) => provider_pb_1.ProviderPropagationTargetStatus.fromJSON(e))
|
|
872
|
+
: [],
|
|
873
|
+
};
|
|
874
|
+
},
|
|
875
|
+
toJSON(message) {
|
|
876
|
+
var _a;
|
|
877
|
+
const obj = {};
|
|
878
|
+
if (message.providerConfiguration !== undefined) {
|
|
879
|
+
obj.providerConfiguration = provider_pb_1.ProviderConfiguration.toJSON(message.providerConfiguration);
|
|
880
|
+
}
|
|
881
|
+
if ((_a = message.propagationTargets) === null || _a === void 0 ? void 0 : _a.length) {
|
|
882
|
+
obj.propagationTargets = message.propagationTargets.map((e) => provider_pb_1.ProviderPropagationTargetStatus.toJSON(e));
|
|
883
|
+
}
|
|
884
|
+
return obj;
|
|
885
|
+
},
|
|
886
|
+
create(base) {
|
|
887
|
+
return exports.RotateProviderCredentialResponse.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
888
|
+
},
|
|
889
|
+
fromPartial(object) {
|
|
890
|
+
var _a;
|
|
891
|
+
const message = createBaseRotateProviderCredentialResponse();
|
|
892
|
+
message.providerConfiguration =
|
|
893
|
+
(object.providerConfiguration !== undefined && object.providerConfiguration !== null)
|
|
894
|
+
? provider_pb_1.ProviderConfiguration.fromPartial(object.providerConfiguration)
|
|
895
|
+
: undefined;
|
|
896
|
+
message.propagationTargets =
|
|
897
|
+
((_a = object.propagationTargets) === null || _a === void 0 ? void 0 : _a.map((e) => provider_pb_1.ProviderPropagationTargetStatus.fromPartial(e))) || [];
|
|
898
|
+
return message;
|
|
899
|
+
},
|
|
900
|
+
};
|
|
901
|
+
function createBaseListAccessibleOrganizationsRequest() {
|
|
902
|
+
return {};
|
|
903
|
+
}
|
|
904
|
+
exports.ListAccessibleOrganizationsRequest = {
|
|
905
|
+
encode(_, writer = new wire_1.BinaryWriter()) {
|
|
906
|
+
return writer;
|
|
907
|
+
},
|
|
908
|
+
decode(input, length) {
|
|
909
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
910
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
911
|
+
const message = createBaseListAccessibleOrganizationsRequest();
|
|
912
|
+
while (reader.pos < end) {
|
|
913
|
+
const tag = reader.uint32();
|
|
914
|
+
switch (tag >>> 3) {
|
|
915
|
+
}
|
|
916
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
917
|
+
break;
|
|
918
|
+
}
|
|
919
|
+
reader.skip(tag & 7);
|
|
920
|
+
}
|
|
921
|
+
return message;
|
|
922
|
+
},
|
|
923
|
+
fromJSON(_) {
|
|
924
|
+
return {};
|
|
925
|
+
},
|
|
926
|
+
toJSON(_) {
|
|
927
|
+
const obj = {};
|
|
928
|
+
return obj;
|
|
929
|
+
},
|
|
930
|
+
create(base) {
|
|
931
|
+
return exports.ListAccessibleOrganizationsRequest.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
932
|
+
},
|
|
933
|
+
fromPartial(_) {
|
|
934
|
+
const message = createBaseListAccessibleOrganizationsRequest();
|
|
935
|
+
return message;
|
|
936
|
+
},
|
|
937
|
+
};
|
|
938
|
+
function createBaseListAccessibleOrganizationsResponse() {
|
|
939
|
+
return { organizations: [] };
|
|
940
|
+
}
|
|
941
|
+
exports.ListAccessibleOrganizationsResponse = {
|
|
942
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
943
|
+
for (const v of message.organizations) {
|
|
944
|
+
provider_pb_1.AccessibleOrganization.encode(v, writer.uint32(10).fork()).join();
|
|
945
|
+
}
|
|
946
|
+
return writer;
|
|
947
|
+
},
|
|
948
|
+
decode(input, length) {
|
|
949
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
950
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
951
|
+
const message = createBaseListAccessibleOrganizationsResponse();
|
|
952
|
+
while (reader.pos < end) {
|
|
953
|
+
const tag = reader.uint32();
|
|
954
|
+
switch (tag >>> 3) {
|
|
955
|
+
case 1: {
|
|
956
|
+
if (tag !== 10) {
|
|
957
|
+
break;
|
|
958
|
+
}
|
|
959
|
+
message.organizations.push(provider_pb_1.AccessibleOrganization.decode(reader, reader.uint32()));
|
|
960
|
+
continue;
|
|
961
|
+
}
|
|
962
|
+
}
|
|
963
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
964
|
+
break;
|
|
965
|
+
}
|
|
966
|
+
reader.skip(tag & 7);
|
|
967
|
+
}
|
|
968
|
+
return message;
|
|
969
|
+
},
|
|
970
|
+
fromJSON(object) {
|
|
971
|
+
return {
|
|
972
|
+
organizations: globalThis.Array.isArray(object === null || object === void 0 ? void 0 : object.organizations)
|
|
973
|
+
? object.organizations.map((e) => provider_pb_1.AccessibleOrganization.fromJSON(e))
|
|
974
|
+
: [],
|
|
975
|
+
};
|
|
976
|
+
},
|
|
977
|
+
toJSON(message) {
|
|
978
|
+
var _a;
|
|
979
|
+
const obj = {};
|
|
980
|
+
if ((_a = message.organizations) === null || _a === void 0 ? void 0 : _a.length) {
|
|
981
|
+
obj.organizations = message.organizations.map((e) => provider_pb_1.AccessibleOrganization.toJSON(e));
|
|
982
|
+
}
|
|
983
|
+
return obj;
|
|
984
|
+
},
|
|
985
|
+
create(base) {
|
|
986
|
+
return exports.ListAccessibleOrganizationsResponse.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
987
|
+
},
|
|
988
|
+
fromPartial(object) {
|
|
989
|
+
var _a;
|
|
990
|
+
const message = createBaseListAccessibleOrganizationsResponse();
|
|
991
|
+
message.organizations = ((_a = object.organizations) === null || _a === void 0 ? void 0 : _a.map((e) => provider_pb_1.AccessibleOrganization.fromPartial(e))) || [];
|
|
992
|
+
return message;
|
|
993
|
+
},
|
|
994
|
+
};
|
|
995
|
+
function createBaseGetProviderPropagationStatusRequest() {
|
|
996
|
+
return { providerConfigurationId: "" };
|
|
997
|
+
}
|
|
998
|
+
exports.GetProviderPropagationStatusRequest = {
|
|
999
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
1000
|
+
if (message.providerConfigurationId !== "") {
|
|
1001
|
+
writer.uint32(10).string(message.providerConfigurationId);
|
|
1002
|
+
}
|
|
1003
|
+
return writer;
|
|
1004
|
+
},
|
|
1005
|
+
decode(input, length) {
|
|
1006
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
1007
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
1008
|
+
const message = createBaseGetProviderPropagationStatusRequest();
|
|
1009
|
+
while (reader.pos < end) {
|
|
1010
|
+
const tag = reader.uint32();
|
|
1011
|
+
switch (tag >>> 3) {
|
|
1012
|
+
case 1: {
|
|
1013
|
+
if (tag !== 10) {
|
|
1014
|
+
break;
|
|
1015
|
+
}
|
|
1016
|
+
message.providerConfigurationId = reader.string();
|
|
1017
|
+
continue;
|
|
1018
|
+
}
|
|
1019
|
+
}
|
|
1020
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
1021
|
+
break;
|
|
1022
|
+
}
|
|
1023
|
+
reader.skip(tag & 7);
|
|
1024
|
+
}
|
|
1025
|
+
return message;
|
|
1026
|
+
},
|
|
1027
|
+
fromJSON(object) {
|
|
1028
|
+
return {
|
|
1029
|
+
providerConfigurationId: isSet(object.providerConfigurationId)
|
|
1030
|
+
? globalThis.String(object.providerConfigurationId)
|
|
1031
|
+
: isSet(object.provider_configuration_id)
|
|
1032
|
+
? globalThis.String(object.provider_configuration_id)
|
|
1033
|
+
: "",
|
|
1034
|
+
};
|
|
1035
|
+
},
|
|
1036
|
+
toJSON(message) {
|
|
1037
|
+
const obj = {};
|
|
1038
|
+
if (message.providerConfigurationId !== "") {
|
|
1039
|
+
obj.providerConfigurationId = message.providerConfigurationId;
|
|
1040
|
+
}
|
|
1041
|
+
return obj;
|
|
1042
|
+
},
|
|
1043
|
+
create(base) {
|
|
1044
|
+
return exports.GetProviderPropagationStatusRequest.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
1045
|
+
},
|
|
1046
|
+
fromPartial(object) {
|
|
1047
|
+
var _a;
|
|
1048
|
+
const message = createBaseGetProviderPropagationStatusRequest();
|
|
1049
|
+
message.providerConfigurationId = (_a = object.providerConfigurationId) !== null && _a !== void 0 ? _a : "";
|
|
1050
|
+
return message;
|
|
1051
|
+
},
|
|
1052
|
+
};
|
|
1053
|
+
function createBaseGetProviderPropagationStatusResponse() {
|
|
1054
|
+
return { providerConfiguration: undefined, propagationScope: 0, propagationTargets: [] };
|
|
1055
|
+
}
|
|
1056
|
+
exports.GetProviderPropagationStatusResponse = {
|
|
1057
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
1058
|
+
if (message.providerConfiguration !== undefined) {
|
|
1059
|
+
provider_pb_1.ProviderConfiguration.encode(message.providerConfiguration, writer.uint32(10).fork()).join();
|
|
1060
|
+
}
|
|
1061
|
+
if (message.propagationScope !== 0) {
|
|
1062
|
+
writer.uint32(16).int32(message.propagationScope);
|
|
1063
|
+
}
|
|
1064
|
+
for (const v of message.propagationTargets) {
|
|
1065
|
+
provider_pb_1.ProviderPropagationTargetStatus.encode(v, writer.uint32(26).fork()).join();
|
|
1066
|
+
}
|
|
1067
|
+
return writer;
|
|
1068
|
+
},
|
|
1069
|
+
decode(input, length) {
|
|
1070
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
1071
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
1072
|
+
const message = createBaseGetProviderPropagationStatusResponse();
|
|
1073
|
+
while (reader.pos < end) {
|
|
1074
|
+
const tag = reader.uint32();
|
|
1075
|
+
switch (tag >>> 3) {
|
|
1076
|
+
case 1: {
|
|
1077
|
+
if (tag !== 10) {
|
|
1078
|
+
break;
|
|
1079
|
+
}
|
|
1080
|
+
message.providerConfiguration = provider_pb_1.ProviderConfiguration.decode(reader, reader.uint32());
|
|
1081
|
+
continue;
|
|
1082
|
+
}
|
|
1083
|
+
case 2: {
|
|
1084
|
+
if (tag !== 16) {
|
|
1085
|
+
break;
|
|
1086
|
+
}
|
|
1087
|
+
message.propagationScope = reader.int32();
|
|
1088
|
+
continue;
|
|
1089
|
+
}
|
|
1090
|
+
case 3: {
|
|
1091
|
+
if (tag !== 26) {
|
|
1092
|
+
break;
|
|
1093
|
+
}
|
|
1094
|
+
message.propagationTargets.push(provider_pb_1.ProviderPropagationTargetStatus.decode(reader, reader.uint32()));
|
|
1095
|
+
continue;
|
|
1096
|
+
}
|
|
1097
|
+
}
|
|
1098
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
1099
|
+
break;
|
|
1100
|
+
}
|
|
1101
|
+
reader.skip(tag & 7);
|
|
1102
|
+
}
|
|
1103
|
+
return message;
|
|
1104
|
+
},
|
|
1105
|
+
fromJSON(object) {
|
|
1106
|
+
return {
|
|
1107
|
+
providerConfiguration: isSet(object.providerConfiguration)
|
|
1108
|
+
? provider_pb_1.ProviderConfiguration.fromJSON(object.providerConfiguration)
|
|
1109
|
+
: isSet(object.provider_configuration)
|
|
1110
|
+
? provider_pb_1.ProviderConfiguration.fromJSON(object.provider_configuration)
|
|
1111
|
+
: undefined,
|
|
1112
|
+
propagationScope: isSet(object.propagationScope)
|
|
1113
|
+
? (0, provider_pb_1.providerPropagationScopeFromJSON)(object.propagationScope)
|
|
1114
|
+
: isSet(object.propagation_scope)
|
|
1115
|
+
? (0, provider_pb_1.providerPropagationScopeFromJSON)(object.propagation_scope)
|
|
1116
|
+
: 0,
|
|
1117
|
+
propagationTargets: globalThis.Array.isArray(object === null || object === void 0 ? void 0 : object.propagationTargets)
|
|
1118
|
+
? object.propagationTargets.map((e) => provider_pb_1.ProviderPropagationTargetStatus.fromJSON(e))
|
|
1119
|
+
: globalThis.Array.isArray(object === null || object === void 0 ? void 0 : object.propagation_targets)
|
|
1120
|
+
? object.propagation_targets.map((e) => provider_pb_1.ProviderPropagationTargetStatus.fromJSON(e))
|
|
1121
|
+
: [],
|
|
1122
|
+
};
|
|
1123
|
+
},
|
|
1124
|
+
toJSON(message) {
|
|
1125
|
+
var _a;
|
|
1126
|
+
const obj = {};
|
|
1127
|
+
if (message.providerConfiguration !== undefined) {
|
|
1128
|
+
obj.providerConfiguration = provider_pb_1.ProviderConfiguration.toJSON(message.providerConfiguration);
|
|
1129
|
+
}
|
|
1130
|
+
if (message.propagationScope !== 0) {
|
|
1131
|
+
obj.propagationScope = (0, provider_pb_1.providerPropagationScopeToJSON)(message.propagationScope);
|
|
1132
|
+
}
|
|
1133
|
+
if ((_a = message.propagationTargets) === null || _a === void 0 ? void 0 : _a.length) {
|
|
1134
|
+
obj.propagationTargets = message.propagationTargets.map((e) => provider_pb_1.ProviderPropagationTargetStatus.toJSON(e));
|
|
1135
|
+
}
|
|
1136
|
+
return obj;
|
|
1137
|
+
},
|
|
1138
|
+
create(base) {
|
|
1139
|
+
return exports.GetProviderPropagationStatusResponse.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
1140
|
+
},
|
|
1141
|
+
fromPartial(object) {
|
|
1142
|
+
var _a;
|
|
1143
|
+
var _b;
|
|
1144
|
+
const message = createBaseGetProviderPropagationStatusResponse();
|
|
1145
|
+
message.providerConfiguration =
|
|
1146
|
+
(object.providerConfiguration !== undefined && object.providerConfiguration !== null)
|
|
1147
|
+
? provider_pb_1.ProviderConfiguration.fromPartial(object.providerConfiguration)
|
|
1148
|
+
: undefined;
|
|
1149
|
+
message.propagationScope = (_b = object.propagationScope) !== null && _b !== void 0 ? _b : 0;
|
|
1150
|
+
message.propagationTargets =
|
|
1151
|
+
((_a = object.propagationTargets) === null || _a === void 0 ? void 0 : _a.map((e) => provider_pb_1.ProviderPropagationTargetStatus.fromPartial(e))) || [];
|
|
1152
|
+
return message;
|
|
1153
|
+
},
|
|
1154
|
+
};
|
|
1155
|
+
exports.ProviderConfigurationServiceServiceName = "weaveapi.provider.v1.ProviderConfigurationService";
|
|
1156
|
+
class ProviderConfigurationServiceClientImpl {
|
|
1157
|
+
constructor(rpc, opts) {
|
|
1158
|
+
this.service = (opts === null || opts === void 0 ? void 0 : opts.service) || exports.ProviderConfigurationServiceServiceName;
|
|
1159
|
+
this.rpc = rpc;
|
|
1160
|
+
this.ListProviderConfigurations = this.ListProviderConfigurations.bind(this);
|
|
1161
|
+
this.CreateProviderConfiguration = this.CreateProviderConfiguration.bind(this);
|
|
1162
|
+
this.UpdateProviderConfiguration = this.UpdateProviderConfiguration.bind(this);
|
|
1163
|
+
this.RotateProviderCredential = this.RotateProviderCredential.bind(this);
|
|
1164
|
+
this.ListAccessibleOrganizations = this.ListAccessibleOrganizations.bind(this);
|
|
1165
|
+
this.GetProviderPropagationStatus = this.GetProviderPropagationStatus.bind(this);
|
|
1166
|
+
}
|
|
1167
|
+
ListProviderConfigurations(request) {
|
|
1168
|
+
const data = exports.ListProviderConfigurationsRequest.encode(request).finish();
|
|
1169
|
+
const promise = this.rpc.request(this.service, "ListProviderConfigurations", data);
|
|
1170
|
+
return promise.then((data) => exports.ListProviderConfigurationsResponse.decode(new wire_1.BinaryReader(data)));
|
|
1171
|
+
}
|
|
1172
|
+
CreateProviderConfiguration(request) {
|
|
1173
|
+
const data = exports.CreateProviderConfigurationRequest.encode(request).finish();
|
|
1174
|
+
const promise = this.rpc.request(this.service, "CreateProviderConfiguration", data);
|
|
1175
|
+
return promise.then((data) => exports.CreateProviderConfigurationResponse.decode(new wire_1.BinaryReader(data)));
|
|
1176
|
+
}
|
|
1177
|
+
UpdateProviderConfiguration(request) {
|
|
1178
|
+
const data = exports.UpdateProviderConfigurationRequest.encode(request).finish();
|
|
1179
|
+
const promise = this.rpc.request(this.service, "UpdateProviderConfiguration", data);
|
|
1180
|
+
return promise.then((data) => exports.UpdateProviderConfigurationResponse.decode(new wire_1.BinaryReader(data)));
|
|
1181
|
+
}
|
|
1182
|
+
RotateProviderCredential(request) {
|
|
1183
|
+
const data = exports.RotateProviderCredentialRequest.encode(request).finish();
|
|
1184
|
+
const promise = this.rpc.request(this.service, "RotateProviderCredential", data);
|
|
1185
|
+
return promise.then((data) => exports.RotateProviderCredentialResponse.decode(new wire_1.BinaryReader(data)));
|
|
1186
|
+
}
|
|
1187
|
+
ListAccessibleOrganizations(request) {
|
|
1188
|
+
const data = exports.ListAccessibleOrganizationsRequest.encode(request).finish();
|
|
1189
|
+
const promise = this.rpc.request(this.service, "ListAccessibleOrganizations", data);
|
|
1190
|
+
return promise.then((data) => exports.ListAccessibleOrganizationsResponse.decode(new wire_1.BinaryReader(data)));
|
|
1191
|
+
}
|
|
1192
|
+
GetProviderPropagationStatus(request) {
|
|
1193
|
+
const data = exports.GetProviderPropagationStatusRequest.encode(request).finish();
|
|
1194
|
+
const promise = this.rpc.request(this.service, "GetProviderPropagationStatus", data);
|
|
1195
|
+
return promise.then((data) => exports.GetProviderPropagationStatusResponse.decode(new wire_1.BinaryReader(data)));
|
|
1196
|
+
}
|
|
1197
|
+
}
|
|
1198
|
+
exports.ProviderConfigurationServiceClientImpl = ProviderConfigurationServiceClientImpl;
|
|
1199
|
+
exports.ProviderConfigurationServiceDefinition = {
|
|
1200
|
+
name: "ProviderConfigurationService",
|
|
1201
|
+
fullName: "weaveapi.provider.v1.ProviderConfigurationService",
|
|
1202
|
+
methods: {
|
|
1203
|
+
listProviderConfigurations: {
|
|
1204
|
+
name: "ListProviderConfigurations",
|
|
1205
|
+
requestType: exports.ListProviderConfigurationsRequest,
|
|
1206
|
+
requestStream: false,
|
|
1207
|
+
responseType: exports.ListProviderConfigurationsResponse,
|
|
1208
|
+
responseStream: false,
|
|
1209
|
+
options: {
|
|
1210
|
+
_unknownFields: {
|
|
1211
|
+
578365826: [
|
|
1212
|
+
new Uint8Array([
|
|
1213
|
+
23,
|
|
1214
|
+
18,
|
|
1215
|
+
21,
|
|
1216
|
+
47,
|
|
1217
|
+
118,
|
|
1218
|
+
49,
|
|
1219
|
+
47,
|
|
1220
|
+
99,
|
|
1221
|
+
111,
|
|
1222
|
+
110,
|
|
1223
|
+
102,
|
|
1224
|
+
105,
|
|
1225
|
+
103,
|
|
1226
|
+
117,
|
|
1227
|
+
114,
|
|
1228
|
+
97,
|
|
1229
|
+
116,
|
|
1230
|
+
105,
|
|
1231
|
+
111,
|
|
1232
|
+
110,
|
|
1233
|
+
47,
|
|
1234
|
+
108,
|
|
1235
|
+
108,
|
|
1236
|
+
109,
|
|
1237
|
+
]),
|
|
1238
|
+
],
|
|
1239
|
+
},
|
|
1240
|
+
},
|
|
1241
|
+
},
|
|
1242
|
+
createProviderConfiguration: {
|
|
1243
|
+
name: "CreateProviderConfiguration",
|
|
1244
|
+
requestType: exports.CreateProviderConfigurationRequest,
|
|
1245
|
+
requestStream: false,
|
|
1246
|
+
responseType: exports.CreateProviderConfigurationResponse,
|
|
1247
|
+
responseStream: false,
|
|
1248
|
+
options: {
|
|
1249
|
+
_unknownFields: {
|
|
1250
|
+
578365826: [
|
|
1251
|
+
new Uint8Array([
|
|
1252
|
+
26,
|
|
1253
|
+
58,
|
|
1254
|
+
1,
|
|
1255
|
+
42,
|
|
1256
|
+
34,
|
|
1257
|
+
21,
|
|
1258
|
+
47,
|
|
1259
|
+
118,
|
|
1260
|
+
49,
|
|
1261
|
+
47,
|
|
1262
|
+
99,
|
|
1263
|
+
111,
|
|
1264
|
+
110,
|
|
1265
|
+
102,
|
|
1266
|
+
105,
|
|
1267
|
+
103,
|
|
1268
|
+
117,
|
|
1269
|
+
114,
|
|
1270
|
+
97,
|
|
1271
|
+
116,
|
|
1272
|
+
105,
|
|
1273
|
+
111,
|
|
1274
|
+
110,
|
|
1275
|
+
47,
|
|
1276
|
+
108,
|
|
1277
|
+
108,
|
|
1278
|
+
109,
|
|
1279
|
+
]),
|
|
1280
|
+
],
|
|
1281
|
+
},
|
|
1282
|
+
},
|
|
1283
|
+
},
|
|
1284
|
+
updateProviderConfiguration: {
|
|
1285
|
+
name: "UpdateProviderConfiguration",
|
|
1286
|
+
requestType: exports.UpdateProviderConfigurationRequest,
|
|
1287
|
+
requestStream: false,
|
|
1288
|
+
responseType: exports.UpdateProviderConfigurationResponse,
|
|
1289
|
+
responseStream: false,
|
|
1290
|
+
options: {
|
|
1291
|
+
_unknownFields: {
|
|
1292
|
+
578365826: [
|
|
1293
|
+
new Uint8Array([
|
|
1294
|
+
54,
|
|
1295
|
+
58,
|
|
1296
|
+
1,
|
|
1297
|
+
42,
|
|
1298
|
+
50,
|
|
1299
|
+
49,
|
|
1300
|
+
47,
|
|
1301
|
+
118,
|
|
1302
|
+
49,
|
|
1303
|
+
47,
|
|
1304
|
+
99,
|
|
1305
|
+
111,
|
|
1306
|
+
110,
|
|
1307
|
+
102,
|
|
1308
|
+
105,
|
|
1309
|
+
103,
|
|
1310
|
+
117,
|
|
1311
|
+
114,
|
|
1312
|
+
97,
|
|
1313
|
+
116,
|
|
1314
|
+
105,
|
|
1315
|
+
111,
|
|
1316
|
+
110,
|
|
1317
|
+
47,
|
|
1318
|
+
108,
|
|
1319
|
+
108,
|
|
1320
|
+
109,
|
|
1321
|
+
47,
|
|
1322
|
+
123,
|
|
1323
|
+
112,
|
|
1324
|
+
114,
|
|
1325
|
+
111,
|
|
1326
|
+
118,
|
|
1327
|
+
105,
|
|
1328
|
+
100,
|
|
1329
|
+
101,
|
|
1330
|
+
114,
|
|
1331
|
+
95,
|
|
1332
|
+
99,
|
|
1333
|
+
111,
|
|
1334
|
+
110,
|
|
1335
|
+
102,
|
|
1336
|
+
105,
|
|
1337
|
+
103,
|
|
1338
|
+
117,
|
|
1339
|
+
114,
|
|
1340
|
+
97,
|
|
1341
|
+
116,
|
|
1342
|
+
105,
|
|
1343
|
+
111,
|
|
1344
|
+
110,
|
|
1345
|
+
95,
|
|
1346
|
+
105,
|
|
1347
|
+
100,
|
|
1348
|
+
125,
|
|
1349
|
+
]),
|
|
1350
|
+
],
|
|
1351
|
+
},
|
|
1352
|
+
},
|
|
1353
|
+
},
|
|
1354
|
+
rotateProviderCredential: {
|
|
1355
|
+
name: "RotateProviderCredential",
|
|
1356
|
+
requestType: exports.RotateProviderCredentialRequest,
|
|
1357
|
+
requestStream: false,
|
|
1358
|
+
responseType: exports.RotateProviderCredentialResponse,
|
|
1359
|
+
responseStream: false,
|
|
1360
|
+
options: {
|
|
1361
|
+
_unknownFields: {
|
|
1362
|
+
578365826: [
|
|
1363
|
+
new Uint8Array([
|
|
1364
|
+
65,
|
|
1365
|
+
58,
|
|
1366
|
+
1,
|
|
1367
|
+
42,
|
|
1368
|
+
34,
|
|
1369
|
+
60,
|
|
1370
|
+
47,
|
|
1371
|
+
118,
|
|
1372
|
+
49,
|
|
1373
|
+
47,
|
|
1374
|
+
99,
|
|
1375
|
+
111,
|
|
1376
|
+
110,
|
|
1377
|
+
102,
|
|
1378
|
+
105,
|
|
1379
|
+
103,
|
|
1380
|
+
117,
|
|
1381
|
+
114,
|
|
1382
|
+
97,
|
|
1383
|
+
116,
|
|
1384
|
+
105,
|
|
1385
|
+
111,
|
|
1386
|
+
110,
|
|
1387
|
+
47,
|
|
1388
|
+
108,
|
|
1389
|
+
108,
|
|
1390
|
+
109,
|
|
1391
|
+
47,
|
|
1392
|
+
123,
|
|
1393
|
+
112,
|
|
1394
|
+
114,
|
|
1395
|
+
111,
|
|
1396
|
+
118,
|
|
1397
|
+
105,
|
|
1398
|
+
100,
|
|
1399
|
+
101,
|
|
1400
|
+
114,
|
|
1401
|
+
95,
|
|
1402
|
+
99,
|
|
1403
|
+
111,
|
|
1404
|
+
110,
|
|
1405
|
+
102,
|
|
1406
|
+
105,
|
|
1407
|
+
103,
|
|
1408
|
+
117,
|
|
1409
|
+
114,
|
|
1410
|
+
97,
|
|
1411
|
+
116,
|
|
1412
|
+
105,
|
|
1413
|
+
111,
|
|
1414
|
+
110,
|
|
1415
|
+
95,
|
|
1416
|
+
105,
|
|
1417
|
+
100,
|
|
1418
|
+
125,
|
|
1419
|
+
47,
|
|
1420
|
+
114,
|
|
1421
|
+
111,
|
|
1422
|
+
116,
|
|
1423
|
+
97,
|
|
1424
|
+
116,
|
|
1425
|
+
101,
|
|
1426
|
+
45,
|
|
1427
|
+
107,
|
|
1428
|
+
101,
|
|
1429
|
+
121,
|
|
1430
|
+
]),
|
|
1431
|
+
],
|
|
1432
|
+
},
|
|
1433
|
+
},
|
|
1434
|
+
},
|
|
1435
|
+
listAccessibleOrganizations: {
|
|
1436
|
+
name: "ListAccessibleOrganizations",
|
|
1437
|
+
requestType: exports.ListAccessibleOrganizationsRequest,
|
|
1438
|
+
requestStream: false,
|
|
1439
|
+
responseType: exports.ListAccessibleOrganizationsResponse,
|
|
1440
|
+
responseStream: false,
|
|
1441
|
+
options: {
|
|
1442
|
+
_unknownFields: {
|
|
1443
|
+
578365826: [
|
|
1444
|
+
new Uint8Array([
|
|
1445
|
+
28,
|
|
1446
|
+
18,
|
|
1447
|
+
26,
|
|
1448
|
+
47,
|
|
1449
|
+
118,
|
|
1450
|
+
49,
|
|
1451
|
+
47,
|
|
1452
|
+
99,
|
|
1453
|
+
111,
|
|
1454
|
+
110,
|
|
1455
|
+
102,
|
|
1456
|
+
105,
|
|
1457
|
+
103,
|
|
1458
|
+
117,
|
|
1459
|
+
114,
|
|
1460
|
+
97,
|
|
1461
|
+
116,
|
|
1462
|
+
105,
|
|
1463
|
+
111,
|
|
1464
|
+
110,
|
|
1465
|
+
47,
|
|
1466
|
+
108,
|
|
1467
|
+
108,
|
|
1468
|
+
109,
|
|
1469
|
+
47,
|
|
1470
|
+
111,
|
|
1471
|
+
114,
|
|
1472
|
+
103,
|
|
1473
|
+
115,
|
|
1474
|
+
]),
|
|
1475
|
+
],
|
|
1476
|
+
},
|
|
1477
|
+
},
|
|
1478
|
+
},
|
|
1479
|
+
getProviderPropagationStatus: {
|
|
1480
|
+
name: "GetProviderPropagationStatus",
|
|
1481
|
+
requestType: exports.GetProviderPropagationStatusRequest,
|
|
1482
|
+
requestStream: false,
|
|
1483
|
+
responseType: exports.GetProviderPropagationStatusResponse,
|
|
1484
|
+
responseStream: false,
|
|
1485
|
+
options: {
|
|
1486
|
+
_unknownFields: {
|
|
1487
|
+
578365826: [
|
|
1488
|
+
new Uint8Array([
|
|
1489
|
+
70,
|
|
1490
|
+
18,
|
|
1491
|
+
68,
|
|
1492
|
+
47,
|
|
1493
|
+
118,
|
|
1494
|
+
49,
|
|
1495
|
+
47,
|
|
1496
|
+
99,
|
|
1497
|
+
111,
|
|
1498
|
+
110,
|
|
1499
|
+
102,
|
|
1500
|
+
105,
|
|
1501
|
+
103,
|
|
1502
|
+
117,
|
|
1503
|
+
114,
|
|
1504
|
+
97,
|
|
1505
|
+
116,
|
|
1506
|
+
105,
|
|
1507
|
+
111,
|
|
1508
|
+
110,
|
|
1509
|
+
47,
|
|
1510
|
+
108,
|
|
1511
|
+
108,
|
|
1512
|
+
109,
|
|
1513
|
+
47,
|
|
1514
|
+
123,
|
|
1515
|
+
112,
|
|
1516
|
+
114,
|
|
1517
|
+
111,
|
|
1518
|
+
118,
|
|
1519
|
+
105,
|
|
1520
|
+
100,
|
|
1521
|
+
101,
|
|
1522
|
+
114,
|
|
1523
|
+
95,
|
|
1524
|
+
99,
|
|
1525
|
+
111,
|
|
1526
|
+
110,
|
|
1527
|
+
102,
|
|
1528
|
+
105,
|
|
1529
|
+
103,
|
|
1530
|
+
117,
|
|
1531
|
+
114,
|
|
1532
|
+
97,
|
|
1533
|
+
116,
|
|
1534
|
+
105,
|
|
1535
|
+
111,
|
|
1536
|
+
110,
|
|
1537
|
+
95,
|
|
1538
|
+
105,
|
|
1539
|
+
100,
|
|
1540
|
+
125,
|
|
1541
|
+
47,
|
|
1542
|
+
112,
|
|
1543
|
+
114,
|
|
1544
|
+
111,
|
|
1545
|
+
112,
|
|
1546
|
+
97,
|
|
1547
|
+
103,
|
|
1548
|
+
97,
|
|
1549
|
+
116,
|
|
1550
|
+
105,
|
|
1551
|
+
111,
|
|
1552
|
+
110,
|
|
1553
|
+
45,
|
|
1554
|
+
115,
|
|
1555
|
+
116,
|
|
1556
|
+
97,
|
|
1557
|
+
116,
|
|
1558
|
+
117,
|
|
1559
|
+
115,
|
|
1560
|
+
]),
|
|
1561
|
+
],
|
|
1562
|
+
},
|
|
1563
|
+
},
|
|
1564
|
+
},
|
|
1565
|
+
},
|
|
1566
|
+
};
|
|
1567
|
+
function isSet(value) {
|
|
1568
|
+
return value !== null && value !== undefined;
|
|
1569
|
+
}
|