@wundergraph/cosmo-connect 0.149.0 → 0.151.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/platform/v1/platform-PlatformService_connectquery.d.ts +46 -1
- package/dist/platform/v1/platform-PlatformService_connectquery.js +46 -1
- package/dist/platform/v1/platform-PlatformService_connectquery.js.map +1 -1
- package/dist/platform/v1/platform_connect.d.ts +34 -1
- package/dist/platform/v1/platform_connect.js +34 -1
- package/dist/platform/v1/platform_connect.js.map +1 -1
- package/dist/platform/v1/platform_pb.d.ts +248 -0
- package/dist/platform/v1/platform_pb.js +372 -0
- package/dist/platform/v1/platform_pb.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
|
@@ -2,6 +2,35 @@
|
|
|
2
2
|
import { Message, proto3, protoInt64 } from "@bufbuild/protobuf";
|
|
3
3
|
import { EnumStatusCode, GraphQLSubscriptionProtocol, GraphQLWebsocketSubprotocol } from "../../common/common_pb.js";
|
|
4
4
|
import { EventMeta } from "../../notifications/events_pb.js";
|
|
5
|
+
/**
|
|
6
|
+
* @generated from enum wg.cosmo.platform.v1.BatchPublishJobStatus
|
|
7
|
+
*/
|
|
8
|
+
export var BatchPublishJobStatus;
|
|
9
|
+
(function (BatchPublishJobStatus) {
|
|
10
|
+
/**
|
|
11
|
+
* @generated from enum value: PENDING = 0;
|
|
12
|
+
*/
|
|
13
|
+
BatchPublishJobStatus[BatchPublishJobStatus["PENDING"] = 0] = "PENDING";
|
|
14
|
+
/**
|
|
15
|
+
* @generated from enum value: PROCESSING = 1;
|
|
16
|
+
*/
|
|
17
|
+
BatchPublishJobStatus[BatchPublishJobStatus["PROCESSING"] = 1] = "PROCESSING";
|
|
18
|
+
/**
|
|
19
|
+
* @generated from enum value: FAILED = 2;
|
|
20
|
+
*/
|
|
21
|
+
BatchPublishJobStatus[BatchPublishJobStatus["FAILED"] = 2] = "FAILED";
|
|
22
|
+
/**
|
|
23
|
+
* @generated from enum value: COMPLETED = 3;
|
|
24
|
+
*/
|
|
25
|
+
BatchPublishJobStatus[BatchPublishJobStatus["COMPLETED"] = 3] = "COMPLETED";
|
|
26
|
+
})(BatchPublishJobStatus || (BatchPublishJobStatus = {}));
|
|
27
|
+
// Retrieve enum metadata with: proto3.getEnumType(BatchPublishJobStatus)
|
|
28
|
+
proto3.util.setEnumType(BatchPublishJobStatus, "wg.cosmo.platform.v1.BatchPublishJobStatus", [
|
|
29
|
+
{ no: 0, name: "PENDING" },
|
|
30
|
+
{ no: 1, name: "PROCESSING" },
|
|
31
|
+
{ no: 2, name: "FAILED" },
|
|
32
|
+
{ no: 3, name: "COMPLETED" },
|
|
33
|
+
]);
|
|
5
34
|
/**
|
|
6
35
|
* @generated from enum wg.cosmo.platform.v1.LintSeverity
|
|
7
36
|
*/
|
|
@@ -983,6 +1012,12 @@ export class PublishFederatedSubgraphsRequest extends Message {
|
|
|
983
1012
|
* @generated from field: optional int32 limit = 4;
|
|
984
1013
|
*/
|
|
985
1014
|
limit;
|
|
1015
|
+
/**
|
|
1016
|
+
* Optional value indicating whether the batch publish should occur asynchronously or wait for completion before returning.
|
|
1017
|
+
*
|
|
1018
|
+
* @generated from field: optional bool async = 5;
|
|
1019
|
+
*/
|
|
1020
|
+
async;
|
|
986
1021
|
constructor(data) {
|
|
987
1022
|
super();
|
|
988
1023
|
proto3.util.initPartial(data, this);
|
|
@@ -994,6 +1029,7 @@ export class PublishFederatedSubgraphsRequest extends Message {
|
|
|
994
1029
|
{ no: 2, name: "subgraphs", kind: "message", T: PublishSubgraph, repeated: true },
|
|
995
1030
|
{ no: 3, name: "disable_resolvability_validation", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
996
1031
|
{ no: 4, name: "limit", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
|
|
1032
|
+
{ no: 5, name: "async", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
997
1033
|
]);
|
|
998
1034
|
static fromBinary(bytes, options) {
|
|
999
1035
|
return new PublishFederatedSubgraphsRequest().fromBinary(bytes, options);
|
|
@@ -1038,6 +1074,12 @@ export class PublishFederatedSubgraphsResponse extends Message {
|
|
|
1038
1074
|
* @generated from field: repeated string updatedSubgraphNames = 6;
|
|
1039
1075
|
*/
|
|
1040
1076
|
updatedSubgraphNames = [];
|
|
1077
|
+
/**
|
|
1078
|
+
* The job identifier the client can use to obtain details about the status of the enqueued job
|
|
1079
|
+
*
|
|
1080
|
+
* @generated from field: optional string jobId = 7;
|
|
1081
|
+
*/
|
|
1082
|
+
jobId;
|
|
1041
1083
|
constructor(data) {
|
|
1042
1084
|
super();
|
|
1043
1085
|
proto3.util.initPartial(data, this);
|
|
@@ -1051,6 +1093,7 @@ export class PublishFederatedSubgraphsResponse extends Message {
|
|
|
1051
1093
|
{ no: 4, name: "compositionWarnings", kind: "message", T: CompositionWarning, repeated: true },
|
|
1052
1094
|
{ no: 5, name: "counts", kind: "message", T: SubgraphPublishStats, opt: true },
|
|
1053
1095
|
{ no: 6, name: "updatedSubgraphNames", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
1096
|
+
{ no: 7, name: "jobId", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
1054
1097
|
]);
|
|
1055
1098
|
static fromBinary(bytes, options) {
|
|
1056
1099
|
return new PublishFederatedSubgraphsResponse().fromBinary(bytes, options);
|
|
@@ -1065,6 +1108,110 @@ export class PublishFederatedSubgraphsResponse extends Message {
|
|
|
1065
1108
|
return proto3.util.equals(PublishFederatedSubgraphsResponse, a, b);
|
|
1066
1109
|
}
|
|
1067
1110
|
}
|
|
1111
|
+
/**
|
|
1112
|
+
* @generated from message wg.cosmo.platform.v1.GetBatchPublishJobStatusRequest
|
|
1113
|
+
*/
|
|
1114
|
+
export class GetBatchPublishJobStatusRequest extends Message {
|
|
1115
|
+
/**
|
|
1116
|
+
* @generated from field: string jobId = 1;
|
|
1117
|
+
*/
|
|
1118
|
+
jobId = "";
|
|
1119
|
+
/**
|
|
1120
|
+
* Optional limit for the number of errors/warnings returned.
|
|
1121
|
+
*
|
|
1122
|
+
* @generated from field: optional int32 limit = 2;
|
|
1123
|
+
*/
|
|
1124
|
+
limit;
|
|
1125
|
+
constructor(data) {
|
|
1126
|
+
super();
|
|
1127
|
+
proto3.util.initPartial(data, this);
|
|
1128
|
+
}
|
|
1129
|
+
static runtime = proto3;
|
|
1130
|
+
static typeName = "wg.cosmo.platform.v1.GetBatchPublishJobStatusRequest";
|
|
1131
|
+
static fields = proto3.util.newFieldList(() => [
|
|
1132
|
+
{ no: 1, name: "jobId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1133
|
+
{ no: 2, name: "limit", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
|
|
1134
|
+
]);
|
|
1135
|
+
static fromBinary(bytes, options) {
|
|
1136
|
+
return new GetBatchPublishJobStatusRequest().fromBinary(bytes, options);
|
|
1137
|
+
}
|
|
1138
|
+
static fromJson(jsonValue, options) {
|
|
1139
|
+
return new GetBatchPublishJobStatusRequest().fromJson(jsonValue, options);
|
|
1140
|
+
}
|
|
1141
|
+
static fromJsonString(jsonString, options) {
|
|
1142
|
+
return new GetBatchPublishJobStatusRequest().fromJsonString(jsonString, options);
|
|
1143
|
+
}
|
|
1144
|
+
static equals(a, b) {
|
|
1145
|
+
return proto3.util.equals(GetBatchPublishJobStatusRequest, a, b);
|
|
1146
|
+
}
|
|
1147
|
+
}
|
|
1148
|
+
/**
|
|
1149
|
+
* @generated from message wg.cosmo.platform.v1.GetBatchPublishJobStatusResponse
|
|
1150
|
+
*/
|
|
1151
|
+
export class GetBatchPublishJobStatusResponse extends Message {
|
|
1152
|
+
/**
|
|
1153
|
+
* @generated from field: wg.cosmo.platform.v1.Response response = 1;
|
|
1154
|
+
*/
|
|
1155
|
+
response;
|
|
1156
|
+
/**
|
|
1157
|
+
* @generated from field: optional wg.cosmo.platform.v1.BatchPublishJobStatus status = 2;
|
|
1158
|
+
*/
|
|
1159
|
+
status;
|
|
1160
|
+
/**
|
|
1161
|
+
* @generated from field: optional string failureReason = 3;
|
|
1162
|
+
*/
|
|
1163
|
+
failureReason;
|
|
1164
|
+
/**
|
|
1165
|
+
* @generated from field: repeated wg.cosmo.platform.v1.CompositionError compositionErrors = 4;
|
|
1166
|
+
*/
|
|
1167
|
+
compositionErrors = [];
|
|
1168
|
+
/**
|
|
1169
|
+
* @generated from field: repeated wg.cosmo.platform.v1.DeploymentError deploymentErrors = 5;
|
|
1170
|
+
*/
|
|
1171
|
+
deploymentErrors = [];
|
|
1172
|
+
/**
|
|
1173
|
+
* @generated from field: repeated wg.cosmo.platform.v1.CompositionWarning compositionWarnings = 6;
|
|
1174
|
+
*/
|
|
1175
|
+
compositionWarnings = [];
|
|
1176
|
+
/**
|
|
1177
|
+
* @generated from field: optional wg.cosmo.platform.v1.SubgraphPublishStats counts = 7;
|
|
1178
|
+
*/
|
|
1179
|
+
counts;
|
|
1180
|
+
/**
|
|
1181
|
+
* The names of the subgraphs whose schema actually changed as a result of this batch publish.
|
|
1182
|
+
*
|
|
1183
|
+
* @generated from field: repeated string updatedSubgraphNames = 8;
|
|
1184
|
+
*/
|
|
1185
|
+
updatedSubgraphNames = [];
|
|
1186
|
+
constructor(data) {
|
|
1187
|
+
super();
|
|
1188
|
+
proto3.util.initPartial(data, this);
|
|
1189
|
+
}
|
|
1190
|
+
static runtime = proto3;
|
|
1191
|
+
static typeName = "wg.cosmo.platform.v1.GetBatchPublishJobStatusResponse";
|
|
1192
|
+
static fields = proto3.util.newFieldList(() => [
|
|
1193
|
+
{ no: 1, name: "response", kind: "message", T: Response },
|
|
1194
|
+
{ no: 2, name: "status", kind: "enum", T: proto3.getEnumType(BatchPublishJobStatus), opt: true },
|
|
1195
|
+
{ no: 3, name: "failureReason", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
1196
|
+
{ no: 4, name: "compositionErrors", kind: "message", T: CompositionError, repeated: true },
|
|
1197
|
+
{ no: 5, name: "deploymentErrors", kind: "message", T: DeploymentError, repeated: true },
|
|
1198
|
+
{ no: 6, name: "compositionWarnings", kind: "message", T: CompositionWarning, repeated: true },
|
|
1199
|
+
{ no: 7, name: "counts", kind: "message", T: SubgraphPublishStats, opt: true },
|
|
1200
|
+
{ no: 8, name: "updatedSubgraphNames", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
1201
|
+
]);
|
|
1202
|
+
static fromBinary(bytes, options) {
|
|
1203
|
+
return new GetBatchPublishJobStatusResponse().fromBinary(bytes, options);
|
|
1204
|
+
}
|
|
1205
|
+
static fromJson(jsonValue, options) {
|
|
1206
|
+
return new GetBatchPublishJobStatusResponse().fromJson(jsonValue, options);
|
|
1207
|
+
}
|
|
1208
|
+
static fromJsonString(jsonString, options) {
|
|
1209
|
+
return new GetBatchPublishJobStatusResponse().fromJsonString(jsonString, options);
|
|
1210
|
+
}
|
|
1211
|
+
static equals(a, b) {
|
|
1212
|
+
return proto3.util.equals(GetBatchPublishJobStatusResponse, a, b);
|
|
1213
|
+
}
|
|
1214
|
+
}
|
|
1068
1215
|
/**
|
|
1069
1216
|
* @generated from message wg.cosmo.platform.v1.GitInfo
|
|
1070
1217
|
*/
|
|
@@ -13990,6 +14137,14 @@ export class ClientInfo extends Message {
|
|
|
13990
14137
|
* @generated from field: string lastUpdatedBy = 6;
|
|
13991
14138
|
*/
|
|
13992
14139
|
lastUpdatedBy = "";
|
|
14140
|
+
/**
|
|
14141
|
+
* @generated from field: optional int32 persistedOperationsCount = 7;
|
|
14142
|
+
*/
|
|
14143
|
+
persistedOperationsCount;
|
|
14144
|
+
/**
|
|
14145
|
+
* @generated from field: optional bool hasTraffic = 8;
|
|
14146
|
+
*/
|
|
14147
|
+
hasTraffic;
|
|
13993
14148
|
constructor(data) {
|
|
13994
14149
|
super();
|
|
13995
14150
|
proto3.util.initPartial(data, this);
|
|
@@ -14003,6 +14158,8 @@ export class ClientInfo extends Message {
|
|
|
14003
14158
|
{ no: 4, name: "lastUpdatedAt", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
14004
14159
|
{ no: 5, name: "createdBy", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
14005
14160
|
{ no: 6, name: "lastUpdatedBy", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
14161
|
+
{ no: 7, name: "persistedOperationsCount", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
|
|
14162
|
+
{ no: 8, name: "hasTraffic", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
14006
14163
|
]);
|
|
14007
14164
|
static fromBinary(bytes, options) {
|
|
14008
14165
|
return new ClientInfo().fromBinary(bytes, options);
|
|
@@ -14029,6 +14186,10 @@ export class GetClientsRequest extends Message {
|
|
|
14029
14186
|
* @generated from field: string namespace = 2;
|
|
14030
14187
|
*/
|
|
14031
14188
|
namespace = "";
|
|
14189
|
+
/**
|
|
14190
|
+
* @generated from field: bool includeTraffic = 3;
|
|
14191
|
+
*/
|
|
14192
|
+
includeTraffic = false;
|
|
14032
14193
|
constructor(data) {
|
|
14033
14194
|
super();
|
|
14034
14195
|
proto3.util.initPartial(data, this);
|
|
@@ -14038,6 +14199,7 @@ export class GetClientsRequest extends Message {
|
|
|
14038
14199
|
static fields = proto3.util.newFieldList(() => [
|
|
14039
14200
|
{ no: 1, name: "fedGraphName", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
14040
14201
|
{ no: 2, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
14202
|
+
{ no: 3, name: "includeTraffic", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
14041
14203
|
]);
|
|
14042
14204
|
static fromBinary(bytes, options) {
|
|
14043
14205
|
return new GetClientsRequest().fromBinary(bytes, options);
|
|
@@ -14087,6 +14249,216 @@ export class GetClientsResponse extends Message {
|
|
|
14087
14249
|
return proto3.util.equals(GetClientsResponse, a, b);
|
|
14088
14250
|
}
|
|
14089
14251
|
}
|
|
14252
|
+
/**
|
|
14253
|
+
* @generated from message wg.cosmo.platform.v1.PreviewDeleteClientRequest
|
|
14254
|
+
*/
|
|
14255
|
+
export class PreviewDeleteClientRequest extends Message {
|
|
14256
|
+
/**
|
|
14257
|
+
* @generated from field: string fedGraphName = 1;
|
|
14258
|
+
*/
|
|
14259
|
+
fedGraphName = "";
|
|
14260
|
+
/**
|
|
14261
|
+
* @generated from field: string namespace = 2;
|
|
14262
|
+
*/
|
|
14263
|
+
namespace = "";
|
|
14264
|
+
/**
|
|
14265
|
+
* @generated from field: string clientName = 3;
|
|
14266
|
+
*/
|
|
14267
|
+
clientName = "";
|
|
14268
|
+
constructor(data) {
|
|
14269
|
+
super();
|
|
14270
|
+
proto3.util.initPartial(data, this);
|
|
14271
|
+
}
|
|
14272
|
+
static runtime = proto3;
|
|
14273
|
+
static typeName = "wg.cosmo.platform.v1.PreviewDeleteClientRequest";
|
|
14274
|
+
static fields = proto3.util.newFieldList(() => [
|
|
14275
|
+
{ no: 1, name: "fedGraphName", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
14276
|
+
{ no: 2, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
14277
|
+
{ no: 3, name: "clientName", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
14278
|
+
]);
|
|
14279
|
+
static fromBinary(bytes, options) {
|
|
14280
|
+
return new PreviewDeleteClientRequest().fromBinary(bytes, options);
|
|
14281
|
+
}
|
|
14282
|
+
static fromJson(jsonValue, options) {
|
|
14283
|
+
return new PreviewDeleteClientRequest().fromJson(jsonValue, options);
|
|
14284
|
+
}
|
|
14285
|
+
static fromJsonString(jsonString, options) {
|
|
14286
|
+
return new PreviewDeleteClientRequest().fromJsonString(jsonString, options);
|
|
14287
|
+
}
|
|
14288
|
+
static equals(a, b) {
|
|
14289
|
+
return proto3.util.equals(PreviewDeleteClientRequest, a, b);
|
|
14290
|
+
}
|
|
14291
|
+
}
|
|
14292
|
+
/**
|
|
14293
|
+
* @generated from message wg.cosmo.platform.v1.PreviewDeleteClientResponse
|
|
14294
|
+
*/
|
|
14295
|
+
export class PreviewDeleteClientResponse extends Message {
|
|
14296
|
+
/**
|
|
14297
|
+
* @generated from field: wg.cosmo.platform.v1.Response response = 1;
|
|
14298
|
+
*/
|
|
14299
|
+
response;
|
|
14300
|
+
/**
|
|
14301
|
+
* @generated from field: wg.cosmo.platform.v1.ClientInfo client = 2;
|
|
14302
|
+
*/
|
|
14303
|
+
client;
|
|
14304
|
+
/**
|
|
14305
|
+
* @generated from field: int32 persistedOperationsCount = 3;
|
|
14306
|
+
*/
|
|
14307
|
+
persistedOperationsCount = 0;
|
|
14308
|
+
/**
|
|
14309
|
+
* @generated from field: bool hasTraffic = 4;
|
|
14310
|
+
*/
|
|
14311
|
+
hasTraffic = false;
|
|
14312
|
+
/**
|
|
14313
|
+
* @generated from field: string organizationSlug = 5;
|
|
14314
|
+
*/
|
|
14315
|
+
organizationSlug = "";
|
|
14316
|
+
constructor(data) {
|
|
14317
|
+
super();
|
|
14318
|
+
proto3.util.initPartial(data, this);
|
|
14319
|
+
}
|
|
14320
|
+
static runtime = proto3;
|
|
14321
|
+
static typeName = "wg.cosmo.platform.v1.PreviewDeleteClientResponse";
|
|
14322
|
+
static fields = proto3.util.newFieldList(() => [
|
|
14323
|
+
{ no: 1, name: "response", kind: "message", T: Response },
|
|
14324
|
+
{ no: 2, name: "client", kind: "message", T: ClientInfo },
|
|
14325
|
+
{ no: 3, name: "persistedOperationsCount", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
14326
|
+
{ no: 4, name: "hasTraffic", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
14327
|
+
{ no: 5, name: "organizationSlug", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
14328
|
+
]);
|
|
14329
|
+
static fromBinary(bytes, options) {
|
|
14330
|
+
return new PreviewDeleteClientResponse().fromBinary(bytes, options);
|
|
14331
|
+
}
|
|
14332
|
+
static fromJson(jsonValue, options) {
|
|
14333
|
+
return new PreviewDeleteClientResponse().fromJson(jsonValue, options);
|
|
14334
|
+
}
|
|
14335
|
+
static fromJsonString(jsonString, options) {
|
|
14336
|
+
return new PreviewDeleteClientResponse().fromJsonString(jsonString, options);
|
|
14337
|
+
}
|
|
14338
|
+
static equals(a, b) {
|
|
14339
|
+
return proto3.util.equals(PreviewDeleteClientResponse, a, b);
|
|
14340
|
+
}
|
|
14341
|
+
}
|
|
14342
|
+
/**
|
|
14343
|
+
* @generated from message wg.cosmo.platform.v1.DeleteClientRequest
|
|
14344
|
+
*/
|
|
14345
|
+
export class DeleteClientRequest extends Message {
|
|
14346
|
+
/**
|
|
14347
|
+
* @generated from field: string fedGraphName = 1;
|
|
14348
|
+
*/
|
|
14349
|
+
fedGraphName = "";
|
|
14350
|
+
/**
|
|
14351
|
+
* @generated from field: string namespace = 2;
|
|
14352
|
+
*/
|
|
14353
|
+
namespace = "";
|
|
14354
|
+
/**
|
|
14355
|
+
* @generated from field: string clientName = 3;
|
|
14356
|
+
*/
|
|
14357
|
+
clientName = "";
|
|
14358
|
+
constructor(data) {
|
|
14359
|
+
super();
|
|
14360
|
+
proto3.util.initPartial(data, this);
|
|
14361
|
+
}
|
|
14362
|
+
static runtime = proto3;
|
|
14363
|
+
static typeName = "wg.cosmo.platform.v1.DeleteClientRequest";
|
|
14364
|
+
static fields = proto3.util.newFieldList(() => [
|
|
14365
|
+
{ no: 1, name: "fedGraphName", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
14366
|
+
{ no: 2, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
14367
|
+
{ no: 3, name: "clientName", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
14368
|
+
]);
|
|
14369
|
+
static fromBinary(bytes, options) {
|
|
14370
|
+
return new DeleteClientRequest().fromBinary(bytes, options);
|
|
14371
|
+
}
|
|
14372
|
+
static fromJson(jsonValue, options) {
|
|
14373
|
+
return new DeleteClientRequest().fromJson(jsonValue, options);
|
|
14374
|
+
}
|
|
14375
|
+
static fromJsonString(jsonString, options) {
|
|
14376
|
+
return new DeleteClientRequest().fromJsonString(jsonString, options);
|
|
14377
|
+
}
|
|
14378
|
+
static equals(a, b) {
|
|
14379
|
+
return proto3.util.equals(DeleteClientRequest, a, b);
|
|
14380
|
+
}
|
|
14381
|
+
}
|
|
14382
|
+
/**
|
|
14383
|
+
* @generated from message wg.cosmo.platform.v1.DeleteClientResponse
|
|
14384
|
+
*/
|
|
14385
|
+
export class DeleteClientResponse extends Message {
|
|
14386
|
+
/**
|
|
14387
|
+
* @generated from field: wg.cosmo.platform.v1.Response response = 1;
|
|
14388
|
+
*/
|
|
14389
|
+
response;
|
|
14390
|
+
/**
|
|
14391
|
+
* @generated from field: wg.cosmo.platform.v1.ClientInfo client = 2;
|
|
14392
|
+
*/
|
|
14393
|
+
client;
|
|
14394
|
+
/**
|
|
14395
|
+
* @generated from field: int32 deletedOperationsCount = 3;
|
|
14396
|
+
*/
|
|
14397
|
+
deletedOperationsCount = 0;
|
|
14398
|
+
constructor(data) {
|
|
14399
|
+
super();
|
|
14400
|
+
proto3.util.initPartial(data, this);
|
|
14401
|
+
}
|
|
14402
|
+
static runtime = proto3;
|
|
14403
|
+
static typeName = "wg.cosmo.platform.v1.DeleteClientResponse";
|
|
14404
|
+
static fields = proto3.util.newFieldList(() => [
|
|
14405
|
+
{ no: 1, name: "response", kind: "message", T: Response },
|
|
14406
|
+
{ no: 2, name: "client", kind: "message", T: ClientInfo },
|
|
14407
|
+
{ no: 3, name: "deletedOperationsCount", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
14408
|
+
]);
|
|
14409
|
+
static fromBinary(bytes, options) {
|
|
14410
|
+
return new DeleteClientResponse().fromBinary(bytes, options);
|
|
14411
|
+
}
|
|
14412
|
+
static fromJson(jsonValue, options) {
|
|
14413
|
+
return new DeleteClientResponse().fromJson(jsonValue, options);
|
|
14414
|
+
}
|
|
14415
|
+
static fromJsonString(jsonString, options) {
|
|
14416
|
+
return new DeleteClientResponse().fromJsonString(jsonString, options);
|
|
14417
|
+
}
|
|
14418
|
+
static equals(a, b) {
|
|
14419
|
+
return proto3.util.equals(DeleteClientResponse, a, b);
|
|
14420
|
+
}
|
|
14421
|
+
}
|
|
14422
|
+
/**
|
|
14423
|
+
* @generated from message wg.cosmo.platform.v1.DeleteClientResponse.Operation
|
|
14424
|
+
*/
|
|
14425
|
+
export class DeleteClientResponse_Operation extends Message {
|
|
14426
|
+
/**
|
|
14427
|
+
* @generated from field: string id = 1;
|
|
14428
|
+
*/
|
|
14429
|
+
id = "";
|
|
14430
|
+
/**
|
|
14431
|
+
* @generated from field: string operationId = 2;
|
|
14432
|
+
*/
|
|
14433
|
+
operationId = "";
|
|
14434
|
+
/**
|
|
14435
|
+
* @generated from field: repeated string operationNames = 3;
|
|
14436
|
+
*/
|
|
14437
|
+
operationNames = [];
|
|
14438
|
+
constructor(data) {
|
|
14439
|
+
super();
|
|
14440
|
+
proto3.util.initPartial(data, this);
|
|
14441
|
+
}
|
|
14442
|
+
static runtime = proto3;
|
|
14443
|
+
static typeName = "wg.cosmo.platform.v1.DeleteClientResponse.Operation";
|
|
14444
|
+
static fields = proto3.util.newFieldList(() => [
|
|
14445
|
+
{ no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
14446
|
+
{ no: 2, name: "operationId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
14447
|
+
{ no: 3, name: "operationNames", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
14448
|
+
]);
|
|
14449
|
+
static fromBinary(bytes, options) {
|
|
14450
|
+
return new DeleteClientResponse_Operation().fromBinary(bytes, options);
|
|
14451
|
+
}
|
|
14452
|
+
static fromJson(jsonValue, options) {
|
|
14453
|
+
return new DeleteClientResponse_Operation().fromJson(jsonValue, options);
|
|
14454
|
+
}
|
|
14455
|
+
static fromJsonString(jsonString, options) {
|
|
14456
|
+
return new DeleteClientResponse_Operation().fromJsonString(jsonString, options);
|
|
14457
|
+
}
|
|
14458
|
+
static equals(a, b) {
|
|
14459
|
+
return proto3.util.equals(DeleteClientResponse_Operation, a, b);
|
|
14460
|
+
}
|
|
14461
|
+
}
|
|
14090
14462
|
/**
|
|
14091
14463
|
* @generated from message wg.cosmo.platform.v1.GetFieldUsageRequest
|
|
14092
14464
|
*/
|