@fonoster/sdk 0.26.0 → 0.30.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/README.md +6 -5
- package/dist/node/Applications.d.ts +21 -85
- package/dist/node/Applications.js +55 -73
- package/dist/node/CallRecords.d.ts +92 -0
- package/dist/node/CallRecords.js +124 -0
- package/dist/node/Domains.js +4 -2
- package/dist/node/Providers.d.ts +49 -0
- package/dist/node/Providers.js +107 -0
- package/dist/node/Regions.d.ts +91 -0
- package/dist/node/Regions.js +124 -0
- package/dist/node/Users.d.ts +4 -2
- package/dist/node/Users.js +4 -2
- package/dist/node/Webhooks.d.ts +56 -0
- package/dist/node/Webhooks.js +139 -0
- package/dist/node/Workspaces.d.ts +22 -3
- package/dist/node/Workspaces.js +29 -2
- package/dist/node/client/AbstractClient.d.ts +83 -3
- package/dist/node/client/AbstractClient.js +97 -1
- package/dist/node/client/Client.d.ts +7 -0
- package/dist/node/client/Client.js +21 -0
- package/dist/node/client/jsonToObject.js +17 -0
- package/dist/node/client/objectToJson.js +35 -0
- package/dist/node/client/types/ApplicationsClient.d.ts +2 -1
- package/dist/node/client/types/CapabilitiesClient.d.ts +24 -0
- package/dist/node/client/types/CapabilitiesClient.js +2 -0
- package/dist/node/client/types/FonosterClient.d.ts +8 -0
- package/dist/node/client/types/IdentityClient.d.ts +3 -1
- package/dist/node/client/types/ProvidersClient.d.ts +28 -0
- package/dist/node/client/types/ProvidersClient.js +2 -0
- package/dist/node/client/types/WebhooksClient.d.ts +31 -0
- package/dist/node/client/types/WebhooksClient.js +2 -0
- package/dist/node/client/types/index.d.ts +3 -0
- package/dist/node/client/types/index.js +3 -0
- package/dist/node/generated/node/applications_grpc_pb.js +34 -0
- package/dist/node/generated/node/applications_pb.js +2657 -206
- package/dist/node/generated/node/capabilities_grpc_pb.js +66 -0
- package/dist/node/generated/node/capabilities_pb.js +2085 -0
- package/dist/node/generated/node/identity_grpc_pb.js +34 -0
- package/dist/node/generated/node/identity_pb.js +609 -5
- package/dist/node/generated/node/providers_grpc_pb.js +200 -0
- package/dist/node/generated/node/providers_pb.js +3034 -0
- package/dist/node/generated/node/webhooks_grpc_pb.js +302 -0
- package/dist/node/generated/node/webhooks_pb.js +3314 -0
- package/dist/node/generated/web/ApplicationsServiceClientPb.ts +43 -0
- package/dist/node/generated/web/CapabilitiesServiceClientPb.ts +87 -0
- package/dist/node/generated/web/IdentityServiceClientPb.ts +43 -0
- package/dist/node/generated/web/ProvidersServiceClientPb.ts +258 -0
- package/dist/node/generated/web/WebhooksServiceClientPb.ts +387 -0
- package/dist/node/generated/web/applications_pb.d.ts +301 -1
- package/dist/node/generated/web/applications_pb.js +2657 -206
- package/dist/node/generated/web/capabilities_pb.d.ts +249 -0
- package/dist/node/generated/web/capabilities_pb.js +2085 -0
- package/dist/node/generated/web/identity_pb.d.ts +76 -0
- package/dist/node/generated/web/identity_pb.js +609 -5
- package/dist/node/generated/web/providers_pb.d.ts +364 -0
- package/dist/node/generated/web/providers_pb.js +3034 -0
- package/dist/node/generated/web/webhooks_pb.d.ts +398 -0
- package/dist/node/generated/web/webhooks_pb.js +3314 -0
- package/dist/node/node.d.ts +5 -0
- package/dist/node/node.js +4 -0
- package/dist/node/tsconfig.tsbuildinfo +1 -1
- package/dist/node/utils.d.ts +1 -13
- package/dist/node/utils.js +1 -38
- package/dist/web/fonoster.min.js +1 -1
- package/dist/web/index.esm.js +1 -1
- package/package.json +5 -5
|
@@ -320,5 +320,48 @@ export class ApplicationsClient {
|
|
|
320
320
|
this.methodDescriptorCreateTestToken);
|
|
321
321
|
}
|
|
322
322
|
|
|
323
|
+
methodDescriptorRotateSigningSecret = new grpcWeb.MethodDescriptor(
|
|
324
|
+
'/fonoster.applications.v1beta2.Applications/RotateSigningSecret',
|
|
325
|
+
grpcWeb.MethodType.UNARY,
|
|
326
|
+
applications_pb.RotateSigningSecretRequest,
|
|
327
|
+
applications_pb.RotateSigningSecretResponse,
|
|
328
|
+
(request: applications_pb.RotateSigningSecretRequest) => {
|
|
329
|
+
return request.serializeBinary();
|
|
330
|
+
},
|
|
331
|
+
applications_pb.RotateSigningSecretResponse.deserializeBinary
|
|
332
|
+
);
|
|
333
|
+
|
|
334
|
+
rotateSigningSecret(
|
|
335
|
+
request: applications_pb.RotateSigningSecretRequest,
|
|
336
|
+
metadata?: grpcWeb.Metadata | null): Promise<applications_pb.RotateSigningSecretResponse>;
|
|
337
|
+
|
|
338
|
+
rotateSigningSecret(
|
|
339
|
+
request: applications_pb.RotateSigningSecretRequest,
|
|
340
|
+
metadata: grpcWeb.Metadata | null,
|
|
341
|
+
callback: (err: grpcWeb.RpcError,
|
|
342
|
+
response: applications_pb.RotateSigningSecretResponse) => void): grpcWeb.ClientReadableStream<applications_pb.RotateSigningSecretResponse>;
|
|
343
|
+
|
|
344
|
+
rotateSigningSecret(
|
|
345
|
+
request: applications_pb.RotateSigningSecretRequest,
|
|
346
|
+
metadata?: grpcWeb.Metadata | null,
|
|
347
|
+
callback?: (err: grpcWeb.RpcError,
|
|
348
|
+
response: applications_pb.RotateSigningSecretResponse) => void) {
|
|
349
|
+
if (callback !== undefined) {
|
|
350
|
+
return this.client_.rpcCall(
|
|
351
|
+
this.hostname_ +
|
|
352
|
+
'/fonoster.applications.v1beta2.Applications/RotateSigningSecret',
|
|
353
|
+
request,
|
|
354
|
+
metadata || {},
|
|
355
|
+
this.methodDescriptorRotateSigningSecret,
|
|
356
|
+
callback);
|
|
357
|
+
}
|
|
358
|
+
return this.client_.unaryCall(
|
|
359
|
+
this.hostname_ +
|
|
360
|
+
'/fonoster.applications.v1beta2.Applications/RotateSigningSecret',
|
|
361
|
+
request,
|
|
362
|
+
metadata || {},
|
|
363
|
+
this.methodDescriptorRotateSigningSecret);
|
|
364
|
+
}
|
|
365
|
+
|
|
323
366
|
}
|
|
324
367
|
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @fileoverview gRPC-Web generated client stub for fonoster.capabilities.v1beta2
|
|
3
|
+
* @enhanceable
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
// Code generated by protoc-gen-grpc-web. DO NOT EDIT.
|
|
8
|
+
// versions:
|
|
9
|
+
// protoc-gen-grpc-web v1.5.0
|
|
10
|
+
// protoc v5.29.3
|
|
11
|
+
// source: capabilities.proto
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
/* eslint-disable */
|
|
15
|
+
// @ts-nocheck
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
import * as grpcWeb from 'grpc-web';
|
|
19
|
+
|
|
20
|
+
import * as capabilities_pb from './capabilities_pb'; // proto import: "capabilities.proto"
|
|
21
|
+
import * as google_protobuf_empty_pb from 'google-protobuf/google/protobuf/empty_pb'; // proto import: "google/protobuf/empty.proto"
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
export class CapabilitiesClient {
|
|
25
|
+
client_: grpcWeb.AbstractClientBase;
|
|
26
|
+
hostname_: string;
|
|
27
|
+
credentials_: null | { [index: string]: string; };
|
|
28
|
+
options_: null | { [index: string]: any; };
|
|
29
|
+
|
|
30
|
+
constructor (hostname: string,
|
|
31
|
+
credentials?: null | { [index: string]: string; },
|
|
32
|
+
options?: null | { [index: string]: any; }) {
|
|
33
|
+
if (!options) options = {};
|
|
34
|
+
if (!credentials) credentials = {};
|
|
35
|
+
options['format'] = 'text';
|
|
36
|
+
|
|
37
|
+
this.client_ = new grpcWeb.GrpcWebClientBase(options);
|
|
38
|
+
this.hostname_ = hostname.replace(/\/+$/, '');
|
|
39
|
+
this.credentials_ = credentials;
|
|
40
|
+
this.options_ = options;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
methodDescriptorGetCapabilities = new grpcWeb.MethodDescriptor(
|
|
44
|
+
'/fonoster.capabilities.v1beta2.Capabilities/GetCapabilities',
|
|
45
|
+
grpcWeb.MethodType.UNARY,
|
|
46
|
+
google_protobuf_empty_pb.Empty,
|
|
47
|
+
capabilities_pb.GetCapabilitiesResponse,
|
|
48
|
+
(request: google_protobuf_empty_pb.Empty) => {
|
|
49
|
+
return request.serializeBinary();
|
|
50
|
+
},
|
|
51
|
+
capabilities_pb.GetCapabilitiesResponse.deserializeBinary
|
|
52
|
+
);
|
|
53
|
+
|
|
54
|
+
getCapabilities(
|
|
55
|
+
request: google_protobuf_empty_pb.Empty,
|
|
56
|
+
metadata?: grpcWeb.Metadata | null): Promise<capabilities_pb.GetCapabilitiesResponse>;
|
|
57
|
+
|
|
58
|
+
getCapabilities(
|
|
59
|
+
request: google_protobuf_empty_pb.Empty,
|
|
60
|
+
metadata: grpcWeb.Metadata | null,
|
|
61
|
+
callback: (err: grpcWeb.RpcError,
|
|
62
|
+
response: capabilities_pb.GetCapabilitiesResponse) => void): grpcWeb.ClientReadableStream<capabilities_pb.GetCapabilitiesResponse>;
|
|
63
|
+
|
|
64
|
+
getCapabilities(
|
|
65
|
+
request: google_protobuf_empty_pb.Empty,
|
|
66
|
+
metadata?: grpcWeb.Metadata | null,
|
|
67
|
+
callback?: (err: grpcWeb.RpcError,
|
|
68
|
+
response: capabilities_pb.GetCapabilitiesResponse) => void) {
|
|
69
|
+
if (callback !== undefined) {
|
|
70
|
+
return this.client_.rpcCall(
|
|
71
|
+
this.hostname_ +
|
|
72
|
+
'/fonoster.capabilities.v1beta2.Capabilities/GetCapabilities',
|
|
73
|
+
request,
|
|
74
|
+
metadata || {},
|
|
75
|
+
this.methodDescriptorGetCapabilities,
|
|
76
|
+
callback);
|
|
77
|
+
}
|
|
78
|
+
return this.client_.unaryCall(
|
|
79
|
+
this.hostname_ +
|
|
80
|
+
'/fonoster.capabilities.v1beta2.Capabilities/GetCapabilities',
|
|
81
|
+
request,
|
|
82
|
+
metadata || {},
|
|
83
|
+
this.methodDescriptorGetCapabilities);
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
}
|
|
87
|
+
|
|
@@ -1158,6 +1158,49 @@ export class IdentityClient {
|
|
|
1158
1158
|
this.methodDescriptorExchangeRefreshToken);
|
|
1159
1159
|
}
|
|
1160
1160
|
|
|
1161
|
+
methodDescriptorExchangeVerificationCode = new grpcWeb.MethodDescriptor(
|
|
1162
|
+
'/fonoster.identity.v1beta2.Identity/ExchangeVerificationCode',
|
|
1163
|
+
grpcWeb.MethodType.UNARY,
|
|
1164
|
+
identity_pb.ExchangeVerificationCodeRequest,
|
|
1165
|
+
identity_pb.ExchangeVerificationCodeResponse,
|
|
1166
|
+
(request: identity_pb.ExchangeVerificationCodeRequest) => {
|
|
1167
|
+
return request.serializeBinary();
|
|
1168
|
+
},
|
|
1169
|
+
identity_pb.ExchangeVerificationCodeResponse.deserializeBinary
|
|
1170
|
+
);
|
|
1171
|
+
|
|
1172
|
+
exchangeVerificationCode(
|
|
1173
|
+
request: identity_pb.ExchangeVerificationCodeRequest,
|
|
1174
|
+
metadata?: grpcWeb.Metadata | null): Promise<identity_pb.ExchangeVerificationCodeResponse>;
|
|
1175
|
+
|
|
1176
|
+
exchangeVerificationCode(
|
|
1177
|
+
request: identity_pb.ExchangeVerificationCodeRequest,
|
|
1178
|
+
metadata: grpcWeb.Metadata | null,
|
|
1179
|
+
callback: (err: grpcWeb.RpcError,
|
|
1180
|
+
response: identity_pb.ExchangeVerificationCodeResponse) => void): grpcWeb.ClientReadableStream<identity_pb.ExchangeVerificationCodeResponse>;
|
|
1181
|
+
|
|
1182
|
+
exchangeVerificationCode(
|
|
1183
|
+
request: identity_pb.ExchangeVerificationCodeRequest,
|
|
1184
|
+
metadata?: grpcWeb.Metadata | null,
|
|
1185
|
+
callback?: (err: grpcWeb.RpcError,
|
|
1186
|
+
response: identity_pb.ExchangeVerificationCodeResponse) => void) {
|
|
1187
|
+
if (callback !== undefined) {
|
|
1188
|
+
return this.client_.rpcCall(
|
|
1189
|
+
this.hostname_ +
|
|
1190
|
+
'/fonoster.identity.v1beta2.Identity/ExchangeVerificationCode',
|
|
1191
|
+
request,
|
|
1192
|
+
metadata || {},
|
|
1193
|
+
this.methodDescriptorExchangeVerificationCode,
|
|
1194
|
+
callback);
|
|
1195
|
+
}
|
|
1196
|
+
return this.client_.unaryCall(
|
|
1197
|
+
this.hostname_ +
|
|
1198
|
+
'/fonoster.identity.v1beta2.Identity/ExchangeVerificationCode',
|
|
1199
|
+
request,
|
|
1200
|
+
metadata || {},
|
|
1201
|
+
this.methodDescriptorExchangeVerificationCode);
|
|
1202
|
+
}
|
|
1203
|
+
|
|
1161
1204
|
methodDescriptorRevokeToken = new grpcWeb.MethodDescriptor(
|
|
1162
1205
|
'/fonoster.identity.v1beta2.Identity/RevokeToken',
|
|
1163
1206
|
grpcWeb.MethodType.UNARY,
|
|
@@ -0,0 +1,258 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @fileoverview gRPC-Web generated client stub for fonoster.providers.v1beta2
|
|
3
|
+
* @enhanceable
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
// Code generated by protoc-gen-grpc-web. DO NOT EDIT.
|
|
8
|
+
// versions:
|
|
9
|
+
// protoc-gen-grpc-web v1.5.0
|
|
10
|
+
// protoc v5.29.3
|
|
11
|
+
// source: providers.proto
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
/* eslint-disable */
|
|
15
|
+
// @ts-nocheck
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
import * as grpcWeb from 'grpc-web';
|
|
19
|
+
|
|
20
|
+
import * as providers_pb from './providers_pb'; // proto import: "providers.proto"
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
export class ProvidersClient {
|
|
24
|
+
client_: grpcWeb.AbstractClientBase;
|
|
25
|
+
hostname_: string;
|
|
26
|
+
credentials_: null | { [index: string]: string; };
|
|
27
|
+
options_: null | { [index: string]: any; };
|
|
28
|
+
|
|
29
|
+
constructor (hostname: string,
|
|
30
|
+
credentials?: null | { [index: string]: string; },
|
|
31
|
+
options?: null | { [index: string]: any; }) {
|
|
32
|
+
if (!options) options = {};
|
|
33
|
+
if (!credentials) credentials = {};
|
|
34
|
+
options['format'] = 'text';
|
|
35
|
+
|
|
36
|
+
this.client_ = new grpcWeb.GrpcWebClientBase(options);
|
|
37
|
+
this.hostname_ = hostname.replace(/\/+$/, '');
|
|
38
|
+
this.credentials_ = credentials;
|
|
39
|
+
this.options_ = options;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
methodDescriptorListCatalog = new grpcWeb.MethodDescriptor(
|
|
43
|
+
'/fonoster.providers.v1beta2.Providers/ListCatalog',
|
|
44
|
+
grpcWeb.MethodType.UNARY,
|
|
45
|
+
providers_pb.ListCatalogRequest,
|
|
46
|
+
providers_pb.ListCatalogResponse,
|
|
47
|
+
(request: providers_pb.ListCatalogRequest) => {
|
|
48
|
+
return request.serializeBinary();
|
|
49
|
+
},
|
|
50
|
+
providers_pb.ListCatalogResponse.deserializeBinary
|
|
51
|
+
);
|
|
52
|
+
|
|
53
|
+
listCatalog(
|
|
54
|
+
request: providers_pb.ListCatalogRequest,
|
|
55
|
+
metadata?: grpcWeb.Metadata | null): Promise<providers_pb.ListCatalogResponse>;
|
|
56
|
+
|
|
57
|
+
listCatalog(
|
|
58
|
+
request: providers_pb.ListCatalogRequest,
|
|
59
|
+
metadata: grpcWeb.Metadata | null,
|
|
60
|
+
callback: (err: grpcWeb.RpcError,
|
|
61
|
+
response: providers_pb.ListCatalogResponse) => void): grpcWeb.ClientReadableStream<providers_pb.ListCatalogResponse>;
|
|
62
|
+
|
|
63
|
+
listCatalog(
|
|
64
|
+
request: providers_pb.ListCatalogRequest,
|
|
65
|
+
metadata?: grpcWeb.Metadata | null,
|
|
66
|
+
callback?: (err: grpcWeb.RpcError,
|
|
67
|
+
response: providers_pb.ListCatalogResponse) => void) {
|
|
68
|
+
if (callback !== undefined) {
|
|
69
|
+
return this.client_.rpcCall(
|
|
70
|
+
this.hostname_ +
|
|
71
|
+
'/fonoster.providers.v1beta2.Providers/ListCatalog',
|
|
72
|
+
request,
|
|
73
|
+
metadata || {},
|
|
74
|
+
this.methodDescriptorListCatalog,
|
|
75
|
+
callback);
|
|
76
|
+
}
|
|
77
|
+
return this.client_.unaryCall(
|
|
78
|
+
this.hostname_ +
|
|
79
|
+
'/fonoster.providers.v1beta2.Providers/ListCatalog',
|
|
80
|
+
request,
|
|
81
|
+
metadata || {},
|
|
82
|
+
this.methodDescriptorListCatalog);
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
methodDescriptorSetProviderKey = new grpcWeb.MethodDescriptor(
|
|
86
|
+
'/fonoster.providers.v1beta2.Providers/SetProviderKey',
|
|
87
|
+
grpcWeb.MethodType.UNARY,
|
|
88
|
+
providers_pb.SetProviderKeyRequest,
|
|
89
|
+
providers_pb.ProviderKey,
|
|
90
|
+
(request: providers_pb.SetProviderKeyRequest) => {
|
|
91
|
+
return request.serializeBinary();
|
|
92
|
+
},
|
|
93
|
+
providers_pb.ProviderKey.deserializeBinary
|
|
94
|
+
);
|
|
95
|
+
|
|
96
|
+
setProviderKey(
|
|
97
|
+
request: providers_pb.SetProviderKeyRequest,
|
|
98
|
+
metadata?: grpcWeb.Metadata | null): Promise<providers_pb.ProviderKey>;
|
|
99
|
+
|
|
100
|
+
setProviderKey(
|
|
101
|
+
request: providers_pb.SetProviderKeyRequest,
|
|
102
|
+
metadata: grpcWeb.Metadata | null,
|
|
103
|
+
callback: (err: grpcWeb.RpcError,
|
|
104
|
+
response: providers_pb.ProviderKey) => void): grpcWeb.ClientReadableStream<providers_pb.ProviderKey>;
|
|
105
|
+
|
|
106
|
+
setProviderKey(
|
|
107
|
+
request: providers_pb.SetProviderKeyRequest,
|
|
108
|
+
metadata?: grpcWeb.Metadata | null,
|
|
109
|
+
callback?: (err: grpcWeb.RpcError,
|
|
110
|
+
response: providers_pb.ProviderKey) => void) {
|
|
111
|
+
if (callback !== undefined) {
|
|
112
|
+
return this.client_.rpcCall(
|
|
113
|
+
this.hostname_ +
|
|
114
|
+
'/fonoster.providers.v1beta2.Providers/SetProviderKey',
|
|
115
|
+
request,
|
|
116
|
+
metadata || {},
|
|
117
|
+
this.methodDescriptorSetProviderKey,
|
|
118
|
+
callback);
|
|
119
|
+
}
|
|
120
|
+
return this.client_.unaryCall(
|
|
121
|
+
this.hostname_ +
|
|
122
|
+
'/fonoster.providers.v1beta2.Providers/SetProviderKey',
|
|
123
|
+
request,
|
|
124
|
+
metadata || {},
|
|
125
|
+
this.methodDescriptorSetProviderKey);
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
methodDescriptorListProviderKeys = new grpcWeb.MethodDescriptor(
|
|
129
|
+
'/fonoster.providers.v1beta2.Providers/ListProviderKeys',
|
|
130
|
+
grpcWeb.MethodType.UNARY,
|
|
131
|
+
providers_pb.ListProviderKeysRequest,
|
|
132
|
+
providers_pb.ListProviderKeysResponse,
|
|
133
|
+
(request: providers_pb.ListProviderKeysRequest) => {
|
|
134
|
+
return request.serializeBinary();
|
|
135
|
+
},
|
|
136
|
+
providers_pb.ListProviderKeysResponse.deserializeBinary
|
|
137
|
+
);
|
|
138
|
+
|
|
139
|
+
listProviderKeys(
|
|
140
|
+
request: providers_pb.ListProviderKeysRequest,
|
|
141
|
+
metadata?: grpcWeb.Metadata | null): Promise<providers_pb.ListProviderKeysResponse>;
|
|
142
|
+
|
|
143
|
+
listProviderKeys(
|
|
144
|
+
request: providers_pb.ListProviderKeysRequest,
|
|
145
|
+
metadata: grpcWeb.Metadata | null,
|
|
146
|
+
callback: (err: grpcWeb.RpcError,
|
|
147
|
+
response: providers_pb.ListProviderKeysResponse) => void): grpcWeb.ClientReadableStream<providers_pb.ListProviderKeysResponse>;
|
|
148
|
+
|
|
149
|
+
listProviderKeys(
|
|
150
|
+
request: providers_pb.ListProviderKeysRequest,
|
|
151
|
+
metadata?: grpcWeb.Metadata | null,
|
|
152
|
+
callback?: (err: grpcWeb.RpcError,
|
|
153
|
+
response: providers_pb.ListProviderKeysResponse) => void) {
|
|
154
|
+
if (callback !== undefined) {
|
|
155
|
+
return this.client_.rpcCall(
|
|
156
|
+
this.hostname_ +
|
|
157
|
+
'/fonoster.providers.v1beta2.Providers/ListProviderKeys',
|
|
158
|
+
request,
|
|
159
|
+
metadata || {},
|
|
160
|
+
this.methodDescriptorListProviderKeys,
|
|
161
|
+
callback);
|
|
162
|
+
}
|
|
163
|
+
return this.client_.unaryCall(
|
|
164
|
+
this.hostname_ +
|
|
165
|
+
'/fonoster.providers.v1beta2.Providers/ListProviderKeys',
|
|
166
|
+
request,
|
|
167
|
+
metadata || {},
|
|
168
|
+
this.methodDescriptorListProviderKeys);
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
methodDescriptorDeleteProviderKey = new grpcWeb.MethodDescriptor(
|
|
172
|
+
'/fonoster.providers.v1beta2.Providers/DeleteProviderKey',
|
|
173
|
+
grpcWeb.MethodType.UNARY,
|
|
174
|
+
providers_pb.DeleteProviderKeyRequest,
|
|
175
|
+
providers_pb.DeleteProviderKeyResponse,
|
|
176
|
+
(request: providers_pb.DeleteProviderKeyRequest) => {
|
|
177
|
+
return request.serializeBinary();
|
|
178
|
+
},
|
|
179
|
+
providers_pb.DeleteProviderKeyResponse.deserializeBinary
|
|
180
|
+
);
|
|
181
|
+
|
|
182
|
+
deleteProviderKey(
|
|
183
|
+
request: providers_pb.DeleteProviderKeyRequest,
|
|
184
|
+
metadata?: grpcWeb.Metadata | null): Promise<providers_pb.DeleteProviderKeyResponse>;
|
|
185
|
+
|
|
186
|
+
deleteProviderKey(
|
|
187
|
+
request: providers_pb.DeleteProviderKeyRequest,
|
|
188
|
+
metadata: grpcWeb.Metadata | null,
|
|
189
|
+
callback: (err: grpcWeb.RpcError,
|
|
190
|
+
response: providers_pb.DeleteProviderKeyResponse) => void): grpcWeb.ClientReadableStream<providers_pb.DeleteProviderKeyResponse>;
|
|
191
|
+
|
|
192
|
+
deleteProviderKey(
|
|
193
|
+
request: providers_pb.DeleteProviderKeyRequest,
|
|
194
|
+
metadata?: grpcWeb.Metadata | null,
|
|
195
|
+
callback?: (err: grpcWeb.RpcError,
|
|
196
|
+
response: providers_pb.DeleteProviderKeyResponse) => void) {
|
|
197
|
+
if (callback !== undefined) {
|
|
198
|
+
return this.client_.rpcCall(
|
|
199
|
+
this.hostname_ +
|
|
200
|
+
'/fonoster.providers.v1beta2.Providers/DeleteProviderKey',
|
|
201
|
+
request,
|
|
202
|
+
metadata || {},
|
|
203
|
+
this.methodDescriptorDeleteProviderKey,
|
|
204
|
+
callback);
|
|
205
|
+
}
|
|
206
|
+
return this.client_.unaryCall(
|
|
207
|
+
this.hostname_ +
|
|
208
|
+
'/fonoster.providers.v1beta2.Providers/DeleteProviderKey',
|
|
209
|
+
request,
|
|
210
|
+
metadata || {},
|
|
211
|
+
this.methodDescriptorDeleteProviderKey);
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
methodDescriptorListWarnings = new grpcWeb.MethodDescriptor(
|
|
215
|
+
'/fonoster.providers.v1beta2.Providers/ListWarnings',
|
|
216
|
+
grpcWeb.MethodType.UNARY,
|
|
217
|
+
providers_pb.ListWarningsRequest,
|
|
218
|
+
providers_pb.ListWarningsResponse,
|
|
219
|
+
(request: providers_pb.ListWarningsRequest) => {
|
|
220
|
+
return request.serializeBinary();
|
|
221
|
+
},
|
|
222
|
+
providers_pb.ListWarningsResponse.deserializeBinary
|
|
223
|
+
);
|
|
224
|
+
|
|
225
|
+
listWarnings(
|
|
226
|
+
request: providers_pb.ListWarningsRequest,
|
|
227
|
+
metadata?: grpcWeb.Metadata | null): Promise<providers_pb.ListWarningsResponse>;
|
|
228
|
+
|
|
229
|
+
listWarnings(
|
|
230
|
+
request: providers_pb.ListWarningsRequest,
|
|
231
|
+
metadata: grpcWeb.Metadata | null,
|
|
232
|
+
callback: (err: grpcWeb.RpcError,
|
|
233
|
+
response: providers_pb.ListWarningsResponse) => void): grpcWeb.ClientReadableStream<providers_pb.ListWarningsResponse>;
|
|
234
|
+
|
|
235
|
+
listWarnings(
|
|
236
|
+
request: providers_pb.ListWarningsRequest,
|
|
237
|
+
metadata?: grpcWeb.Metadata | null,
|
|
238
|
+
callback?: (err: grpcWeb.RpcError,
|
|
239
|
+
response: providers_pb.ListWarningsResponse) => void) {
|
|
240
|
+
if (callback !== undefined) {
|
|
241
|
+
return this.client_.rpcCall(
|
|
242
|
+
this.hostname_ +
|
|
243
|
+
'/fonoster.providers.v1beta2.Providers/ListWarnings',
|
|
244
|
+
request,
|
|
245
|
+
metadata || {},
|
|
246
|
+
this.methodDescriptorListWarnings,
|
|
247
|
+
callback);
|
|
248
|
+
}
|
|
249
|
+
return this.client_.unaryCall(
|
|
250
|
+
this.hostname_ +
|
|
251
|
+
'/fonoster.providers.v1beta2.Providers/ListWarnings',
|
|
252
|
+
request,
|
|
253
|
+
metadata || {},
|
|
254
|
+
this.methodDescriptorListWarnings);
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
}
|
|
258
|
+
|