modal 0.8.0 → 0.8.2
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 +2 -0
- package/dist/index.cjs +2769 -114
- package/dist/index.d.cts +389 -9
- package/dist/index.d.ts +389 -9
- package/dist/index.js +2769 -114
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1877,6 +1877,36 @@ function endpointInputModalityToJSON(object) {
|
|
|
1877
1877
|
return "UNRECOGNIZED";
|
|
1878
1878
|
}
|
|
1879
1879
|
}
|
|
1880
|
+
function endpointLifecycleStatusFromJSON(object) {
|
|
1881
|
+
switch (object) {
|
|
1882
|
+
case 0:
|
|
1883
|
+
case "ENDPOINT_LIFECYCLE_STATUS_UNSPECIFIED":
|
|
1884
|
+
return 0 /* ENDPOINT_LIFECYCLE_STATUS_UNSPECIFIED */;
|
|
1885
|
+
case 1:
|
|
1886
|
+
case "ENDPOINT_LIFECYCLE_STATUS_ACTIVE":
|
|
1887
|
+
return 1 /* ENDPOINT_LIFECYCLE_STATUS_ACTIVE */;
|
|
1888
|
+
case 2:
|
|
1889
|
+
case "ENDPOINT_LIFECYCLE_STATUS_STOPPED":
|
|
1890
|
+
return 2 /* ENDPOINT_LIFECYCLE_STATUS_STOPPED */;
|
|
1891
|
+
case -1:
|
|
1892
|
+
case "UNRECOGNIZED":
|
|
1893
|
+
default:
|
|
1894
|
+
return -1 /* UNRECOGNIZED */;
|
|
1895
|
+
}
|
|
1896
|
+
}
|
|
1897
|
+
function endpointLifecycleStatusToJSON(object) {
|
|
1898
|
+
switch (object) {
|
|
1899
|
+
case 0 /* ENDPOINT_LIFECYCLE_STATUS_UNSPECIFIED */:
|
|
1900
|
+
return "ENDPOINT_LIFECYCLE_STATUS_UNSPECIFIED";
|
|
1901
|
+
case 1 /* ENDPOINT_LIFECYCLE_STATUS_ACTIVE */:
|
|
1902
|
+
return "ENDPOINT_LIFECYCLE_STATUS_ACTIVE";
|
|
1903
|
+
case 2 /* ENDPOINT_LIFECYCLE_STATUS_STOPPED */:
|
|
1904
|
+
return "ENDPOINT_LIFECYCLE_STATUS_STOPPED";
|
|
1905
|
+
case -1 /* UNRECOGNIZED */:
|
|
1906
|
+
default:
|
|
1907
|
+
return "UNRECOGNIZED";
|
|
1908
|
+
}
|
|
1909
|
+
}
|
|
1880
1910
|
function endpointProvisioningStatusFromJSON(object) {
|
|
1881
1911
|
switch (object) {
|
|
1882
1912
|
case 0:
|
|
@@ -1894,6 +1924,12 @@ function endpointProvisioningStatusFromJSON(object) {
|
|
|
1894
1924
|
case 4:
|
|
1895
1925
|
case "ENDPOINT_PROVISIONING_STATUS_FAILED":
|
|
1896
1926
|
return 4 /* ENDPOINT_PROVISIONING_STATUS_FAILED */;
|
|
1927
|
+
case 5:
|
|
1928
|
+
case "ENDPOINT_PROVISIONING_STATUS_CANCELLING":
|
|
1929
|
+
return 5 /* ENDPOINT_PROVISIONING_STATUS_CANCELLING */;
|
|
1930
|
+
case 6:
|
|
1931
|
+
case "ENDPOINT_PROVISIONING_STATUS_CANCELLED":
|
|
1932
|
+
return 6 /* ENDPOINT_PROVISIONING_STATUS_CANCELLED */;
|
|
1897
1933
|
case -1:
|
|
1898
1934
|
case "UNRECOGNIZED":
|
|
1899
1935
|
default:
|
|
@@ -1912,6 +1948,10 @@ function endpointProvisioningStatusToJSON(object) {
|
|
|
1912
1948
|
return "ENDPOINT_PROVISIONING_STATUS_SUCCEEDED";
|
|
1913
1949
|
case 4 /* ENDPOINT_PROVISIONING_STATUS_FAILED */:
|
|
1914
1950
|
return "ENDPOINT_PROVISIONING_STATUS_FAILED";
|
|
1951
|
+
case 5 /* ENDPOINT_PROVISIONING_STATUS_CANCELLING */:
|
|
1952
|
+
return "ENDPOINT_PROVISIONING_STATUS_CANCELLING";
|
|
1953
|
+
case 6 /* ENDPOINT_PROVISIONING_STATUS_CANCELLED */:
|
|
1954
|
+
return "ENDPOINT_PROVISIONING_STATUS_CANCELLED";
|
|
1915
1955
|
case -1 /* UNRECOGNIZED */:
|
|
1916
1956
|
default:
|
|
1917
1957
|
return "UNRECOGNIZED";
|
|
@@ -7374,6 +7414,89 @@ var AppRollbackRequest = {
|
|
|
7374
7414
|
return message;
|
|
7375
7415
|
}
|
|
7376
7416
|
};
|
|
7417
|
+
function createBaseAppRollbackResponse() {
|
|
7418
|
+
return { url: "", serverWarnings: [], deployedAt: 0 };
|
|
7419
|
+
}
|
|
7420
|
+
var AppRollbackResponse = {
|
|
7421
|
+
encode(message, writer = new BinaryWriter()) {
|
|
7422
|
+
if (message.url !== "") {
|
|
7423
|
+
writer.uint32(10).string(message.url);
|
|
7424
|
+
}
|
|
7425
|
+
for (const v of message.serverWarnings) {
|
|
7426
|
+
Warning.encode(v, writer.uint32(26).fork()).join();
|
|
7427
|
+
}
|
|
7428
|
+
if (message.deployedAt !== 0) {
|
|
7429
|
+
writer.uint32(33).double(message.deployedAt);
|
|
7430
|
+
}
|
|
7431
|
+
return writer;
|
|
7432
|
+
},
|
|
7433
|
+
decode(input, length) {
|
|
7434
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
7435
|
+
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
7436
|
+
const message = createBaseAppRollbackResponse();
|
|
7437
|
+
while (reader.pos < end) {
|
|
7438
|
+
const tag = reader.uint32();
|
|
7439
|
+
switch (tag >>> 3) {
|
|
7440
|
+
case 1: {
|
|
7441
|
+
if (tag !== 10) {
|
|
7442
|
+
break;
|
|
7443
|
+
}
|
|
7444
|
+
message.url = reader.string();
|
|
7445
|
+
continue;
|
|
7446
|
+
}
|
|
7447
|
+
case 3: {
|
|
7448
|
+
if (tag !== 26) {
|
|
7449
|
+
break;
|
|
7450
|
+
}
|
|
7451
|
+
message.serverWarnings.push(Warning.decode(reader, reader.uint32()));
|
|
7452
|
+
continue;
|
|
7453
|
+
}
|
|
7454
|
+
case 4: {
|
|
7455
|
+
if (tag !== 33) {
|
|
7456
|
+
break;
|
|
7457
|
+
}
|
|
7458
|
+
message.deployedAt = reader.double();
|
|
7459
|
+
continue;
|
|
7460
|
+
}
|
|
7461
|
+
}
|
|
7462
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
7463
|
+
break;
|
|
7464
|
+
}
|
|
7465
|
+
reader.skip(tag & 7);
|
|
7466
|
+
}
|
|
7467
|
+
return message;
|
|
7468
|
+
},
|
|
7469
|
+
fromJSON(object) {
|
|
7470
|
+
return {
|
|
7471
|
+
url: isSet5(object.url) ? globalThis.String(object.url) : "",
|
|
7472
|
+
serverWarnings: globalThis.Array.isArray(object?.serverWarnings) ? object.serverWarnings.map((e) => Warning.fromJSON(e)) : [],
|
|
7473
|
+
deployedAt: isSet5(object.deployedAt) ? globalThis.Number(object.deployedAt) : 0
|
|
7474
|
+
};
|
|
7475
|
+
},
|
|
7476
|
+
toJSON(message) {
|
|
7477
|
+
const obj = {};
|
|
7478
|
+
if (message.url !== "") {
|
|
7479
|
+
obj.url = message.url;
|
|
7480
|
+
}
|
|
7481
|
+
if (message.serverWarnings?.length) {
|
|
7482
|
+
obj.serverWarnings = message.serverWarnings.map((e) => Warning.toJSON(e));
|
|
7483
|
+
}
|
|
7484
|
+
if (message.deployedAt !== 0) {
|
|
7485
|
+
obj.deployedAt = message.deployedAt;
|
|
7486
|
+
}
|
|
7487
|
+
return obj;
|
|
7488
|
+
},
|
|
7489
|
+
create(base) {
|
|
7490
|
+
return AppRollbackResponse.fromPartial(base ?? {});
|
|
7491
|
+
},
|
|
7492
|
+
fromPartial(object) {
|
|
7493
|
+
const message = createBaseAppRollbackResponse();
|
|
7494
|
+
message.url = object.url ?? "";
|
|
7495
|
+
message.serverWarnings = object.serverWarnings?.map((e) => Warning.fromPartial(e)) || [];
|
|
7496
|
+
message.deployedAt = object.deployedAt ?? 0;
|
|
7497
|
+
return message;
|
|
7498
|
+
}
|
|
7499
|
+
};
|
|
7377
7500
|
function createBaseAppRolloverRequest() {
|
|
7378
7501
|
return { appId: "" };
|
|
7379
7502
|
}
|
|
@@ -13278,13 +13401,16 @@ var ContainerReloadVolumesResponse = {
|
|
|
13278
13401
|
}
|
|
13279
13402
|
};
|
|
13280
13403
|
function createBaseContainerStopRequest() {
|
|
13281
|
-
return { taskId: "" };
|
|
13404
|
+
return { taskId: "", graceful: false };
|
|
13282
13405
|
}
|
|
13283
13406
|
var ContainerStopRequest = {
|
|
13284
13407
|
encode(message, writer = new BinaryWriter()) {
|
|
13285
13408
|
if (message.taskId !== "") {
|
|
13286
13409
|
writer.uint32(10).string(message.taskId);
|
|
13287
13410
|
}
|
|
13411
|
+
if (message.graceful !== false) {
|
|
13412
|
+
writer.uint32(16).bool(message.graceful);
|
|
13413
|
+
}
|
|
13288
13414
|
return writer;
|
|
13289
13415
|
},
|
|
13290
13416
|
decode(input, length) {
|
|
@@ -13301,6 +13427,13 @@ var ContainerStopRequest = {
|
|
|
13301
13427
|
message.taskId = reader.string();
|
|
13302
13428
|
continue;
|
|
13303
13429
|
}
|
|
13430
|
+
case 2: {
|
|
13431
|
+
if (tag !== 16) {
|
|
13432
|
+
break;
|
|
13433
|
+
}
|
|
13434
|
+
message.graceful = reader.bool();
|
|
13435
|
+
continue;
|
|
13436
|
+
}
|
|
13304
13437
|
}
|
|
13305
13438
|
if ((tag & 7) === 4 || tag === 0) {
|
|
13306
13439
|
break;
|
|
@@ -13310,13 +13443,19 @@ var ContainerStopRequest = {
|
|
|
13310
13443
|
return message;
|
|
13311
13444
|
},
|
|
13312
13445
|
fromJSON(object) {
|
|
13313
|
-
return {
|
|
13446
|
+
return {
|
|
13447
|
+
taskId: isSet5(object.taskId) ? globalThis.String(object.taskId) : "",
|
|
13448
|
+
graceful: isSet5(object.graceful) ? globalThis.Boolean(object.graceful) : false
|
|
13449
|
+
};
|
|
13314
13450
|
},
|
|
13315
13451
|
toJSON(message) {
|
|
13316
13452
|
const obj = {};
|
|
13317
13453
|
if (message.taskId !== "") {
|
|
13318
13454
|
obj.taskId = message.taskId;
|
|
13319
13455
|
}
|
|
13456
|
+
if (message.graceful !== false) {
|
|
13457
|
+
obj.graceful = message.graceful;
|
|
13458
|
+
}
|
|
13320
13459
|
return obj;
|
|
13321
13460
|
},
|
|
13322
13461
|
create(base) {
|
|
@@ -13325,6 +13464,7 @@ var ContainerStopRequest = {
|
|
|
13325
13464
|
fromPartial(object) {
|
|
13326
13465
|
const message = createBaseContainerStopRequest();
|
|
13327
13466
|
message.taskId = object.taskId ?? "";
|
|
13467
|
+
message.graceful = object.graceful ?? false;
|
|
13328
13468
|
return message;
|
|
13329
13469
|
}
|
|
13330
13470
|
};
|
|
@@ -13433,6 +13573,108 @@ var CreationInfo = {
|
|
|
13433
13573
|
return message;
|
|
13434
13574
|
}
|
|
13435
13575
|
};
|
|
13576
|
+
function createBaseCurlAuthTokenRequest() {
|
|
13577
|
+
return { url: "" };
|
|
13578
|
+
}
|
|
13579
|
+
var CurlAuthTokenRequest = {
|
|
13580
|
+
encode(message, writer = new BinaryWriter()) {
|
|
13581
|
+
if (message.url !== "") {
|
|
13582
|
+
writer.uint32(10).string(message.url);
|
|
13583
|
+
}
|
|
13584
|
+
return writer;
|
|
13585
|
+
},
|
|
13586
|
+
decode(input, length) {
|
|
13587
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
13588
|
+
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
13589
|
+
const message = createBaseCurlAuthTokenRequest();
|
|
13590
|
+
while (reader.pos < end) {
|
|
13591
|
+
const tag = reader.uint32();
|
|
13592
|
+
switch (tag >>> 3) {
|
|
13593
|
+
case 1: {
|
|
13594
|
+
if (tag !== 10) {
|
|
13595
|
+
break;
|
|
13596
|
+
}
|
|
13597
|
+
message.url = reader.string();
|
|
13598
|
+
continue;
|
|
13599
|
+
}
|
|
13600
|
+
}
|
|
13601
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
13602
|
+
break;
|
|
13603
|
+
}
|
|
13604
|
+
reader.skip(tag & 7);
|
|
13605
|
+
}
|
|
13606
|
+
return message;
|
|
13607
|
+
},
|
|
13608
|
+
fromJSON(object) {
|
|
13609
|
+
return { url: isSet5(object.url) ? globalThis.String(object.url) : "" };
|
|
13610
|
+
},
|
|
13611
|
+
toJSON(message) {
|
|
13612
|
+
const obj = {};
|
|
13613
|
+
if (message.url !== "") {
|
|
13614
|
+
obj.url = message.url;
|
|
13615
|
+
}
|
|
13616
|
+
return obj;
|
|
13617
|
+
},
|
|
13618
|
+
create(base) {
|
|
13619
|
+
return CurlAuthTokenRequest.fromPartial(base ?? {});
|
|
13620
|
+
},
|
|
13621
|
+
fromPartial(object) {
|
|
13622
|
+
const message = createBaseCurlAuthTokenRequest();
|
|
13623
|
+
message.url = object.url ?? "";
|
|
13624
|
+
return message;
|
|
13625
|
+
}
|
|
13626
|
+
};
|
|
13627
|
+
function createBaseCurlAuthTokenResponse() {
|
|
13628
|
+
return { token: "" };
|
|
13629
|
+
}
|
|
13630
|
+
var CurlAuthTokenResponse = {
|
|
13631
|
+
encode(message, writer = new BinaryWriter()) {
|
|
13632
|
+
if (message.token !== "") {
|
|
13633
|
+
writer.uint32(10).string(message.token);
|
|
13634
|
+
}
|
|
13635
|
+
return writer;
|
|
13636
|
+
},
|
|
13637
|
+
decode(input, length) {
|
|
13638
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
13639
|
+
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
13640
|
+
const message = createBaseCurlAuthTokenResponse();
|
|
13641
|
+
while (reader.pos < end) {
|
|
13642
|
+
const tag = reader.uint32();
|
|
13643
|
+
switch (tag >>> 3) {
|
|
13644
|
+
case 1: {
|
|
13645
|
+
if (tag !== 10) {
|
|
13646
|
+
break;
|
|
13647
|
+
}
|
|
13648
|
+
message.token = reader.string();
|
|
13649
|
+
continue;
|
|
13650
|
+
}
|
|
13651
|
+
}
|
|
13652
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
13653
|
+
break;
|
|
13654
|
+
}
|
|
13655
|
+
reader.skip(tag & 7);
|
|
13656
|
+
}
|
|
13657
|
+
return message;
|
|
13658
|
+
},
|
|
13659
|
+
fromJSON(object) {
|
|
13660
|
+
return { token: isSet5(object.token) ? globalThis.String(object.token) : "" };
|
|
13661
|
+
},
|
|
13662
|
+
toJSON(message) {
|
|
13663
|
+
const obj = {};
|
|
13664
|
+
if (message.token !== "") {
|
|
13665
|
+
obj.token = message.token;
|
|
13666
|
+
}
|
|
13667
|
+
return obj;
|
|
13668
|
+
},
|
|
13669
|
+
create(base) {
|
|
13670
|
+
return CurlAuthTokenResponse.fromPartial(base ?? {});
|
|
13671
|
+
},
|
|
13672
|
+
fromPartial(object) {
|
|
13673
|
+
const message = createBaseCurlAuthTokenResponse();
|
|
13674
|
+
message.token = object.token ?? "";
|
|
13675
|
+
return message;
|
|
13676
|
+
}
|
|
13677
|
+
};
|
|
13436
13678
|
function createBaseCustomDomainConfig() {
|
|
13437
13679
|
return { name: "" };
|
|
13438
13680
|
}
|
|
@@ -15803,7 +16045,8 @@ function createBaseEndpointCreateRequest() {
|
|
|
15803
16045
|
model: void 0,
|
|
15804
16046
|
apiSurfaces: [],
|
|
15805
16047
|
inputModalities: [],
|
|
15806
|
-
environmentName: ""
|
|
16048
|
+
environmentName: "",
|
|
16049
|
+
unauthenticated: false
|
|
15807
16050
|
};
|
|
15808
16051
|
}
|
|
15809
16052
|
var EndpointCreateRequest = {
|
|
@@ -15836,6 +16079,9 @@ var EndpointCreateRequest = {
|
|
|
15836
16079
|
if (message.environmentName !== "") {
|
|
15837
16080
|
writer.uint32(66).string(message.environmentName);
|
|
15838
16081
|
}
|
|
16082
|
+
if (message.unauthenticated !== false) {
|
|
16083
|
+
writer.uint32(72).bool(message.unauthenticated);
|
|
16084
|
+
}
|
|
15839
16085
|
return writer;
|
|
15840
16086
|
},
|
|
15841
16087
|
decode(input, length) {
|
|
@@ -15915,6 +16161,13 @@ var EndpointCreateRequest = {
|
|
|
15915
16161
|
message.environmentName = reader.string();
|
|
15916
16162
|
continue;
|
|
15917
16163
|
}
|
|
16164
|
+
case 9: {
|
|
16165
|
+
if (tag !== 72) {
|
|
16166
|
+
break;
|
|
16167
|
+
}
|
|
16168
|
+
message.unauthenticated = reader.bool();
|
|
16169
|
+
continue;
|
|
16170
|
+
}
|
|
15918
16171
|
}
|
|
15919
16172
|
if ((tag & 7) === 4 || tag === 0) {
|
|
15920
16173
|
break;
|
|
@@ -15932,7 +16185,8 @@ var EndpointCreateRequest = {
|
|
|
15932
16185
|
model: isSet5(object.model) ? EndpointModelSource.fromJSON(object.model) : void 0,
|
|
15933
16186
|
apiSurfaces: globalThis.Array.isArray(object?.apiSurfaces) ? object.apiSurfaces.map((e) => endpointApiSurfaceFromJSON(e)) : [],
|
|
15934
16187
|
inputModalities: globalThis.Array.isArray(object?.inputModalities) ? object.inputModalities.map((e) => endpointInputModalityFromJSON(e)) : [],
|
|
15935
|
-
environmentName: isSet5(object.environmentName) ? globalThis.String(object.environmentName) : ""
|
|
16188
|
+
environmentName: isSet5(object.environmentName) ? globalThis.String(object.environmentName) : "",
|
|
16189
|
+
unauthenticated: isSet5(object.unauthenticated) ? globalThis.Boolean(object.unauthenticated) : false
|
|
15936
16190
|
};
|
|
15937
16191
|
},
|
|
15938
16192
|
toJSON(message) {
|
|
@@ -15961,6 +16215,9 @@ var EndpointCreateRequest = {
|
|
|
15961
16215
|
if (message.environmentName !== "") {
|
|
15962
16216
|
obj.environmentName = message.environmentName;
|
|
15963
16217
|
}
|
|
16218
|
+
if (message.unauthenticated !== false) {
|
|
16219
|
+
obj.unauthenticated = message.unauthenticated;
|
|
16220
|
+
}
|
|
15964
16221
|
return obj;
|
|
15965
16222
|
},
|
|
15966
16223
|
create(base) {
|
|
@@ -15976,11 +16233,12 @@ var EndpointCreateRequest = {
|
|
|
15976
16233
|
message.apiSurfaces = object.apiSurfaces?.map((e) => e) || [];
|
|
15977
16234
|
message.inputModalities = object.inputModalities?.map((e) => e) || [];
|
|
15978
16235
|
message.environmentName = object.environmentName ?? "";
|
|
16236
|
+
message.unauthenticated = object.unauthenticated ?? false;
|
|
15979
16237
|
return message;
|
|
15980
16238
|
}
|
|
15981
16239
|
};
|
|
15982
16240
|
function createBaseEndpointCreateResponse() {
|
|
15983
|
-
return { endpointId: "", endpointPageUrl: "" };
|
|
16241
|
+
return { endpointId: "", endpointPageUrl: "", name: "" };
|
|
15984
16242
|
}
|
|
15985
16243
|
var EndpointCreateResponse = {
|
|
15986
16244
|
encode(message, writer = new BinaryWriter()) {
|
|
@@ -15990,6 +16248,9 @@ var EndpointCreateResponse = {
|
|
|
15990
16248
|
if (message.endpointPageUrl !== "") {
|
|
15991
16249
|
writer.uint32(18).string(message.endpointPageUrl);
|
|
15992
16250
|
}
|
|
16251
|
+
if (message.name !== "") {
|
|
16252
|
+
writer.uint32(26).string(message.name);
|
|
16253
|
+
}
|
|
15993
16254
|
return writer;
|
|
15994
16255
|
},
|
|
15995
16256
|
decode(input, length) {
|
|
@@ -16013,6 +16274,13 @@ var EndpointCreateResponse = {
|
|
|
16013
16274
|
message.endpointPageUrl = reader.string();
|
|
16014
16275
|
continue;
|
|
16015
16276
|
}
|
|
16277
|
+
case 3: {
|
|
16278
|
+
if (tag !== 26) {
|
|
16279
|
+
break;
|
|
16280
|
+
}
|
|
16281
|
+
message.name = reader.string();
|
|
16282
|
+
continue;
|
|
16283
|
+
}
|
|
16016
16284
|
}
|
|
16017
16285
|
if ((tag & 7) === 4 || tag === 0) {
|
|
16018
16286
|
break;
|
|
@@ -16024,7 +16292,8 @@ var EndpointCreateResponse = {
|
|
|
16024
16292
|
fromJSON(object) {
|
|
16025
16293
|
return {
|
|
16026
16294
|
endpointId: isSet5(object.endpointId) ? globalThis.String(object.endpointId) : "",
|
|
16027
|
-
endpointPageUrl: isSet5(object.endpointPageUrl) ? globalThis.String(object.endpointPageUrl) : ""
|
|
16295
|
+
endpointPageUrl: isSet5(object.endpointPageUrl) ? globalThis.String(object.endpointPageUrl) : "",
|
|
16296
|
+
name: isSet5(object.name) ? globalThis.String(object.name) : ""
|
|
16028
16297
|
};
|
|
16029
16298
|
},
|
|
16030
16299
|
toJSON(message) {
|
|
@@ -16035,6 +16304,9 @@ var EndpointCreateResponse = {
|
|
|
16035
16304
|
if (message.endpointPageUrl !== "") {
|
|
16036
16305
|
obj.endpointPageUrl = message.endpointPageUrl;
|
|
16037
16306
|
}
|
|
16307
|
+
if (message.name !== "") {
|
|
16308
|
+
obj.name = message.name;
|
|
16309
|
+
}
|
|
16038
16310
|
return obj;
|
|
16039
16311
|
},
|
|
16040
16312
|
create(base) {
|
|
@@ -16044,6 +16316,7 @@ var EndpointCreateResponse = {
|
|
|
16044
16316
|
const message = createBaseEndpointCreateResponse();
|
|
16045
16317
|
message.endpointId = object.endpointId ?? "";
|
|
16046
16318
|
message.endpointPageUrl = object.endpointPageUrl ?? "";
|
|
16319
|
+
message.name = object.name ?? "";
|
|
16047
16320
|
return message;
|
|
16048
16321
|
}
|
|
16049
16322
|
};
|
|
@@ -16130,6 +16403,244 @@ var EndpointCustomModelSource = {
|
|
|
16130
16403
|
return message;
|
|
16131
16404
|
}
|
|
16132
16405
|
};
|
|
16406
|
+
function createBaseEndpointGetByNameRequest() {
|
|
16407
|
+
return { name: "", environmentName: "" };
|
|
16408
|
+
}
|
|
16409
|
+
var EndpointGetByNameRequest = {
|
|
16410
|
+
encode(message, writer = new BinaryWriter()) {
|
|
16411
|
+
if (message.name !== "") {
|
|
16412
|
+
writer.uint32(10).string(message.name);
|
|
16413
|
+
}
|
|
16414
|
+
if (message.environmentName !== "") {
|
|
16415
|
+
writer.uint32(18).string(message.environmentName);
|
|
16416
|
+
}
|
|
16417
|
+
return writer;
|
|
16418
|
+
},
|
|
16419
|
+
decode(input, length) {
|
|
16420
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
16421
|
+
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
16422
|
+
const message = createBaseEndpointGetByNameRequest();
|
|
16423
|
+
while (reader.pos < end) {
|
|
16424
|
+
const tag = reader.uint32();
|
|
16425
|
+
switch (tag >>> 3) {
|
|
16426
|
+
case 1: {
|
|
16427
|
+
if (tag !== 10) {
|
|
16428
|
+
break;
|
|
16429
|
+
}
|
|
16430
|
+
message.name = reader.string();
|
|
16431
|
+
continue;
|
|
16432
|
+
}
|
|
16433
|
+
case 2: {
|
|
16434
|
+
if (tag !== 18) {
|
|
16435
|
+
break;
|
|
16436
|
+
}
|
|
16437
|
+
message.environmentName = reader.string();
|
|
16438
|
+
continue;
|
|
16439
|
+
}
|
|
16440
|
+
}
|
|
16441
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
16442
|
+
break;
|
|
16443
|
+
}
|
|
16444
|
+
reader.skip(tag & 7);
|
|
16445
|
+
}
|
|
16446
|
+
return message;
|
|
16447
|
+
},
|
|
16448
|
+
fromJSON(object) {
|
|
16449
|
+
return {
|
|
16450
|
+
name: isSet5(object.name) ? globalThis.String(object.name) : "",
|
|
16451
|
+
environmentName: isSet5(object.environmentName) ? globalThis.String(object.environmentName) : ""
|
|
16452
|
+
};
|
|
16453
|
+
},
|
|
16454
|
+
toJSON(message) {
|
|
16455
|
+
const obj = {};
|
|
16456
|
+
if (message.name !== "") {
|
|
16457
|
+
obj.name = message.name;
|
|
16458
|
+
}
|
|
16459
|
+
if (message.environmentName !== "") {
|
|
16460
|
+
obj.environmentName = message.environmentName;
|
|
16461
|
+
}
|
|
16462
|
+
return obj;
|
|
16463
|
+
},
|
|
16464
|
+
create(base) {
|
|
16465
|
+
return EndpointGetByNameRequest.fromPartial(base ?? {});
|
|
16466
|
+
},
|
|
16467
|
+
fromPartial(object) {
|
|
16468
|
+
const message = createBaseEndpointGetByNameRequest();
|
|
16469
|
+
message.name = object.name ?? "";
|
|
16470
|
+
message.environmentName = object.environmentName ?? "";
|
|
16471
|
+
return message;
|
|
16472
|
+
}
|
|
16473
|
+
};
|
|
16474
|
+
function createBaseEndpointGetByNameResponse() {
|
|
16475
|
+
return { endpointId: "", environmentName: "" };
|
|
16476
|
+
}
|
|
16477
|
+
var EndpointGetByNameResponse = {
|
|
16478
|
+
encode(message, writer = new BinaryWriter()) {
|
|
16479
|
+
if (message.endpointId !== "") {
|
|
16480
|
+
writer.uint32(10).string(message.endpointId);
|
|
16481
|
+
}
|
|
16482
|
+
if (message.environmentName !== "") {
|
|
16483
|
+
writer.uint32(18).string(message.environmentName);
|
|
16484
|
+
}
|
|
16485
|
+
return writer;
|
|
16486
|
+
},
|
|
16487
|
+
decode(input, length) {
|
|
16488
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
16489
|
+
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
16490
|
+
const message = createBaseEndpointGetByNameResponse();
|
|
16491
|
+
while (reader.pos < end) {
|
|
16492
|
+
const tag = reader.uint32();
|
|
16493
|
+
switch (tag >>> 3) {
|
|
16494
|
+
case 1: {
|
|
16495
|
+
if (tag !== 10) {
|
|
16496
|
+
break;
|
|
16497
|
+
}
|
|
16498
|
+
message.endpointId = reader.string();
|
|
16499
|
+
continue;
|
|
16500
|
+
}
|
|
16501
|
+
case 2: {
|
|
16502
|
+
if (tag !== 18) {
|
|
16503
|
+
break;
|
|
16504
|
+
}
|
|
16505
|
+
message.environmentName = reader.string();
|
|
16506
|
+
continue;
|
|
16507
|
+
}
|
|
16508
|
+
}
|
|
16509
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
16510
|
+
break;
|
|
16511
|
+
}
|
|
16512
|
+
reader.skip(tag & 7);
|
|
16513
|
+
}
|
|
16514
|
+
return message;
|
|
16515
|
+
},
|
|
16516
|
+
fromJSON(object) {
|
|
16517
|
+
return {
|
|
16518
|
+
endpointId: isSet5(object.endpointId) ? globalThis.String(object.endpointId) : "",
|
|
16519
|
+
environmentName: isSet5(object.environmentName) ? globalThis.String(object.environmentName) : ""
|
|
16520
|
+
};
|
|
16521
|
+
},
|
|
16522
|
+
toJSON(message) {
|
|
16523
|
+
const obj = {};
|
|
16524
|
+
if (message.endpointId !== "") {
|
|
16525
|
+
obj.endpointId = message.endpointId;
|
|
16526
|
+
}
|
|
16527
|
+
if (message.environmentName !== "") {
|
|
16528
|
+
obj.environmentName = message.environmentName;
|
|
16529
|
+
}
|
|
16530
|
+
return obj;
|
|
16531
|
+
},
|
|
16532
|
+
create(base) {
|
|
16533
|
+
return EndpointGetByNameResponse.fromPartial(base ?? {});
|
|
16534
|
+
},
|
|
16535
|
+
fromPartial(object) {
|
|
16536
|
+
const message = createBaseEndpointGetByNameResponse();
|
|
16537
|
+
message.endpointId = object.endpointId ?? "";
|
|
16538
|
+
message.environmentName = object.environmentName ?? "";
|
|
16539
|
+
return message;
|
|
16540
|
+
}
|
|
16541
|
+
};
|
|
16542
|
+
function createBaseEndpointGetLifecycleRequest() {
|
|
16543
|
+
return { endpointId: "" };
|
|
16544
|
+
}
|
|
16545
|
+
var EndpointGetLifecycleRequest = {
|
|
16546
|
+
encode(message, writer = new BinaryWriter()) {
|
|
16547
|
+
if (message.endpointId !== "") {
|
|
16548
|
+
writer.uint32(10).string(message.endpointId);
|
|
16549
|
+
}
|
|
16550
|
+
return writer;
|
|
16551
|
+
},
|
|
16552
|
+
decode(input, length) {
|
|
16553
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
16554
|
+
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
16555
|
+
const message = createBaseEndpointGetLifecycleRequest();
|
|
16556
|
+
while (reader.pos < end) {
|
|
16557
|
+
const tag = reader.uint32();
|
|
16558
|
+
switch (tag >>> 3) {
|
|
16559
|
+
case 1: {
|
|
16560
|
+
if (tag !== 10) {
|
|
16561
|
+
break;
|
|
16562
|
+
}
|
|
16563
|
+
message.endpointId = reader.string();
|
|
16564
|
+
continue;
|
|
16565
|
+
}
|
|
16566
|
+
}
|
|
16567
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
16568
|
+
break;
|
|
16569
|
+
}
|
|
16570
|
+
reader.skip(tag & 7);
|
|
16571
|
+
}
|
|
16572
|
+
return message;
|
|
16573
|
+
},
|
|
16574
|
+
fromJSON(object) {
|
|
16575
|
+
return { endpointId: isSet5(object.endpointId) ? globalThis.String(object.endpointId) : "" };
|
|
16576
|
+
},
|
|
16577
|
+
toJSON(message) {
|
|
16578
|
+
const obj = {};
|
|
16579
|
+
if (message.endpointId !== "") {
|
|
16580
|
+
obj.endpointId = message.endpointId;
|
|
16581
|
+
}
|
|
16582
|
+
return obj;
|
|
16583
|
+
},
|
|
16584
|
+
create(base) {
|
|
16585
|
+
return EndpointGetLifecycleRequest.fromPartial(base ?? {});
|
|
16586
|
+
},
|
|
16587
|
+
fromPartial(object) {
|
|
16588
|
+
const message = createBaseEndpointGetLifecycleRequest();
|
|
16589
|
+
message.endpointId = object.endpointId ?? "";
|
|
16590
|
+
return message;
|
|
16591
|
+
}
|
|
16592
|
+
};
|
|
16593
|
+
function createBaseEndpointGetLifecycleResponse() {
|
|
16594
|
+
return { lifecycle: void 0 };
|
|
16595
|
+
}
|
|
16596
|
+
var EndpointGetLifecycleResponse = {
|
|
16597
|
+
encode(message, writer = new BinaryWriter()) {
|
|
16598
|
+
if (message.lifecycle !== void 0) {
|
|
16599
|
+
EndpointLifecycle.encode(message.lifecycle, writer.uint32(10).fork()).join();
|
|
16600
|
+
}
|
|
16601
|
+
return writer;
|
|
16602
|
+
},
|
|
16603
|
+
decode(input, length) {
|
|
16604
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
16605
|
+
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
16606
|
+
const message = createBaseEndpointGetLifecycleResponse();
|
|
16607
|
+
while (reader.pos < end) {
|
|
16608
|
+
const tag = reader.uint32();
|
|
16609
|
+
switch (tag >>> 3) {
|
|
16610
|
+
case 1: {
|
|
16611
|
+
if (tag !== 10) {
|
|
16612
|
+
break;
|
|
16613
|
+
}
|
|
16614
|
+
message.lifecycle = EndpointLifecycle.decode(reader, reader.uint32());
|
|
16615
|
+
continue;
|
|
16616
|
+
}
|
|
16617
|
+
}
|
|
16618
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
16619
|
+
break;
|
|
16620
|
+
}
|
|
16621
|
+
reader.skip(tag & 7);
|
|
16622
|
+
}
|
|
16623
|
+
return message;
|
|
16624
|
+
},
|
|
16625
|
+
fromJSON(object) {
|
|
16626
|
+
return { lifecycle: isSet5(object.lifecycle) ? EndpointLifecycle.fromJSON(object.lifecycle) : void 0 };
|
|
16627
|
+
},
|
|
16628
|
+
toJSON(message) {
|
|
16629
|
+
const obj = {};
|
|
16630
|
+
if (message.lifecycle !== void 0) {
|
|
16631
|
+
obj.lifecycle = EndpointLifecycle.toJSON(message.lifecycle);
|
|
16632
|
+
}
|
|
16633
|
+
return obj;
|
|
16634
|
+
},
|
|
16635
|
+
create(base) {
|
|
16636
|
+
return EndpointGetLifecycleResponse.fromPartial(base ?? {});
|
|
16637
|
+
},
|
|
16638
|
+
fromPartial(object) {
|
|
16639
|
+
const message = createBaseEndpointGetLifecycleResponse();
|
|
16640
|
+
message.lifecycle = object.lifecycle !== void 0 && object.lifecycle !== null ? EndpointLifecycle.fromPartial(object.lifecycle) : void 0;
|
|
16641
|
+
return message;
|
|
16642
|
+
}
|
|
16643
|
+
};
|
|
16133
16644
|
function createBaseEndpointHuggingFaceModelSource() {
|
|
16134
16645
|
return { repoId: "", revision: "", huggingfaceToken: "" };
|
|
16135
16646
|
}
|
|
@@ -16213,6 +16724,134 @@ var EndpointHuggingFaceModelSource = {
|
|
|
16213
16724
|
return message;
|
|
16214
16725
|
}
|
|
16215
16726
|
};
|
|
16727
|
+
function createBaseEndpointLifecycle() {
|
|
16728
|
+
return { status: 0, createdAt: 0, createdBy: "", stoppedAt: 0, stoppedBy: "", environmentName: "" };
|
|
16729
|
+
}
|
|
16730
|
+
var EndpointLifecycle = {
|
|
16731
|
+
encode(message, writer = new BinaryWriter()) {
|
|
16732
|
+
if (message.status !== 0) {
|
|
16733
|
+
writer.uint32(8).int32(message.status);
|
|
16734
|
+
}
|
|
16735
|
+
if (message.createdAt !== 0) {
|
|
16736
|
+
writer.uint32(17).double(message.createdAt);
|
|
16737
|
+
}
|
|
16738
|
+
if (message.createdBy !== "") {
|
|
16739
|
+
writer.uint32(26).string(message.createdBy);
|
|
16740
|
+
}
|
|
16741
|
+
if (message.stoppedAt !== 0) {
|
|
16742
|
+
writer.uint32(33).double(message.stoppedAt);
|
|
16743
|
+
}
|
|
16744
|
+
if (message.stoppedBy !== "") {
|
|
16745
|
+
writer.uint32(42).string(message.stoppedBy);
|
|
16746
|
+
}
|
|
16747
|
+
if (message.environmentName !== "") {
|
|
16748
|
+
writer.uint32(50).string(message.environmentName);
|
|
16749
|
+
}
|
|
16750
|
+
return writer;
|
|
16751
|
+
},
|
|
16752
|
+
decode(input, length) {
|
|
16753
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
16754
|
+
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
16755
|
+
const message = createBaseEndpointLifecycle();
|
|
16756
|
+
while (reader.pos < end) {
|
|
16757
|
+
const tag = reader.uint32();
|
|
16758
|
+
switch (tag >>> 3) {
|
|
16759
|
+
case 1: {
|
|
16760
|
+
if (tag !== 8) {
|
|
16761
|
+
break;
|
|
16762
|
+
}
|
|
16763
|
+
message.status = reader.int32();
|
|
16764
|
+
continue;
|
|
16765
|
+
}
|
|
16766
|
+
case 2: {
|
|
16767
|
+
if (tag !== 17) {
|
|
16768
|
+
break;
|
|
16769
|
+
}
|
|
16770
|
+
message.createdAt = reader.double();
|
|
16771
|
+
continue;
|
|
16772
|
+
}
|
|
16773
|
+
case 3: {
|
|
16774
|
+
if (tag !== 26) {
|
|
16775
|
+
break;
|
|
16776
|
+
}
|
|
16777
|
+
message.createdBy = reader.string();
|
|
16778
|
+
continue;
|
|
16779
|
+
}
|
|
16780
|
+
case 4: {
|
|
16781
|
+
if (tag !== 33) {
|
|
16782
|
+
break;
|
|
16783
|
+
}
|
|
16784
|
+
message.stoppedAt = reader.double();
|
|
16785
|
+
continue;
|
|
16786
|
+
}
|
|
16787
|
+
case 5: {
|
|
16788
|
+
if (tag !== 42) {
|
|
16789
|
+
break;
|
|
16790
|
+
}
|
|
16791
|
+
message.stoppedBy = reader.string();
|
|
16792
|
+
continue;
|
|
16793
|
+
}
|
|
16794
|
+
case 6: {
|
|
16795
|
+
if (tag !== 50) {
|
|
16796
|
+
break;
|
|
16797
|
+
}
|
|
16798
|
+
message.environmentName = reader.string();
|
|
16799
|
+
continue;
|
|
16800
|
+
}
|
|
16801
|
+
}
|
|
16802
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
16803
|
+
break;
|
|
16804
|
+
}
|
|
16805
|
+
reader.skip(tag & 7);
|
|
16806
|
+
}
|
|
16807
|
+
return message;
|
|
16808
|
+
},
|
|
16809
|
+
fromJSON(object) {
|
|
16810
|
+
return {
|
|
16811
|
+
status: isSet5(object.status) ? endpointLifecycleStatusFromJSON(object.status) : 0,
|
|
16812
|
+
createdAt: isSet5(object.createdAt) ? globalThis.Number(object.createdAt) : 0,
|
|
16813
|
+
createdBy: isSet5(object.createdBy) ? globalThis.String(object.createdBy) : "",
|
|
16814
|
+
stoppedAt: isSet5(object.stoppedAt) ? globalThis.Number(object.stoppedAt) : 0,
|
|
16815
|
+
stoppedBy: isSet5(object.stoppedBy) ? globalThis.String(object.stoppedBy) : "",
|
|
16816
|
+
environmentName: isSet5(object.environmentName) ? globalThis.String(object.environmentName) : ""
|
|
16817
|
+
};
|
|
16818
|
+
},
|
|
16819
|
+
toJSON(message) {
|
|
16820
|
+
const obj = {};
|
|
16821
|
+
if (message.status !== 0) {
|
|
16822
|
+
obj.status = endpointLifecycleStatusToJSON(message.status);
|
|
16823
|
+
}
|
|
16824
|
+
if (message.createdAt !== 0) {
|
|
16825
|
+
obj.createdAt = message.createdAt;
|
|
16826
|
+
}
|
|
16827
|
+
if (message.createdBy !== "") {
|
|
16828
|
+
obj.createdBy = message.createdBy;
|
|
16829
|
+
}
|
|
16830
|
+
if (message.stoppedAt !== 0) {
|
|
16831
|
+
obj.stoppedAt = message.stoppedAt;
|
|
16832
|
+
}
|
|
16833
|
+
if (message.stoppedBy !== "") {
|
|
16834
|
+
obj.stoppedBy = message.stoppedBy;
|
|
16835
|
+
}
|
|
16836
|
+
if (message.environmentName !== "") {
|
|
16837
|
+
obj.environmentName = message.environmentName;
|
|
16838
|
+
}
|
|
16839
|
+
return obj;
|
|
16840
|
+
},
|
|
16841
|
+
create(base) {
|
|
16842
|
+
return EndpointLifecycle.fromPartial(base ?? {});
|
|
16843
|
+
},
|
|
16844
|
+
fromPartial(object) {
|
|
16845
|
+
const message = createBaseEndpointLifecycle();
|
|
16846
|
+
message.status = object.status ?? 0;
|
|
16847
|
+
message.createdAt = object.createdAt ?? 0;
|
|
16848
|
+
message.createdBy = object.createdBy ?? "";
|
|
16849
|
+
message.stoppedAt = object.stoppedAt ?? 0;
|
|
16850
|
+
message.stoppedBy = object.stoppedBy ?? "";
|
|
16851
|
+
message.environmentName = object.environmentName ?? "";
|
|
16852
|
+
return message;
|
|
16853
|
+
}
|
|
16854
|
+
};
|
|
16216
16855
|
function createBaseEndpointListItem() {
|
|
16217
16856
|
return {
|
|
16218
16857
|
endpointId: "",
|
|
@@ -16224,7 +16863,8 @@ function createBaseEndpointListItem() {
|
|
|
16224
16863
|
appState: 0,
|
|
16225
16864
|
functionId: "",
|
|
16226
16865
|
createdByAvatarUrl: "",
|
|
16227
|
-
provisioningStatus: 0
|
|
16866
|
+
provisioningStatus: 0,
|
|
16867
|
+
status: ""
|
|
16228
16868
|
};
|
|
16229
16869
|
}
|
|
16230
16870
|
var EndpointListItem = {
|
|
@@ -16259,6 +16899,9 @@ var EndpointListItem = {
|
|
|
16259
16899
|
if (message.provisioningStatus !== 0) {
|
|
16260
16900
|
writer.uint32(80).int32(message.provisioningStatus);
|
|
16261
16901
|
}
|
|
16902
|
+
if (message.status !== "") {
|
|
16903
|
+
writer.uint32(90).string(message.status);
|
|
16904
|
+
}
|
|
16262
16905
|
return writer;
|
|
16263
16906
|
},
|
|
16264
16907
|
decode(input, length) {
|
|
@@ -16338,6 +16981,13 @@ var EndpointListItem = {
|
|
|
16338
16981
|
message.provisioningStatus = reader.int32();
|
|
16339
16982
|
continue;
|
|
16340
16983
|
}
|
|
16984
|
+
case 11: {
|
|
16985
|
+
if (tag !== 90) {
|
|
16986
|
+
break;
|
|
16987
|
+
}
|
|
16988
|
+
message.status = reader.string();
|
|
16989
|
+
continue;
|
|
16990
|
+
}
|
|
16341
16991
|
}
|
|
16342
16992
|
if ((tag & 7) === 4 || tag === 0) {
|
|
16343
16993
|
break;
|
|
@@ -16357,7 +17007,8 @@ var EndpointListItem = {
|
|
|
16357
17007
|
appState: isSet5(object.appState) ? appStateFromJSON(object.appState) : 0,
|
|
16358
17008
|
functionId: isSet5(object.functionId) ? globalThis.String(object.functionId) : "",
|
|
16359
17009
|
createdByAvatarUrl: isSet5(object.createdByAvatarUrl) ? globalThis.String(object.createdByAvatarUrl) : "",
|
|
16360
|
-
provisioningStatus: isSet5(object.provisioningStatus) ? endpointProvisioningStatusFromJSON(object.provisioningStatus) : 0
|
|
17010
|
+
provisioningStatus: isSet5(object.provisioningStatus) ? endpointProvisioningStatusFromJSON(object.provisioningStatus) : 0,
|
|
17011
|
+
status: isSet5(object.status) ? globalThis.String(object.status) : ""
|
|
16361
17012
|
};
|
|
16362
17013
|
},
|
|
16363
17014
|
toJSON(message) {
|
|
@@ -16392,6 +17043,9 @@ var EndpointListItem = {
|
|
|
16392
17043
|
if (message.provisioningStatus !== 0) {
|
|
16393
17044
|
obj.provisioningStatus = endpointProvisioningStatusToJSON(message.provisioningStatus);
|
|
16394
17045
|
}
|
|
17046
|
+
if (message.status !== "") {
|
|
17047
|
+
obj.status = message.status;
|
|
17048
|
+
}
|
|
16395
17049
|
return obj;
|
|
16396
17050
|
},
|
|
16397
17051
|
create(base) {
|
|
@@ -16409,6 +17063,7 @@ var EndpointListItem = {
|
|
|
16409
17063
|
message.functionId = object.functionId ?? "";
|
|
16410
17064
|
message.createdByAvatarUrl = object.createdByAvatarUrl ?? "";
|
|
16411
17065
|
message.provisioningStatus = object.provisioningStatus ?? 0;
|
|
17066
|
+
message.status = object.status ?? "";
|
|
16412
17067
|
return message;
|
|
16413
17068
|
}
|
|
16414
17069
|
};
|
|
@@ -16991,6 +17646,155 @@ var EnvironmentDeleteRequest = {
|
|
|
16991
17646
|
return message;
|
|
16992
17647
|
}
|
|
16993
17648
|
};
|
|
17649
|
+
function createBaseEnvironmentGetBudgetRequest() {
|
|
17650
|
+
return { environmentId: "" };
|
|
17651
|
+
}
|
|
17652
|
+
var EnvironmentGetBudgetRequest = {
|
|
17653
|
+
encode(message, writer = new BinaryWriter()) {
|
|
17654
|
+
if (message.environmentId !== "") {
|
|
17655
|
+
writer.uint32(10).string(message.environmentId);
|
|
17656
|
+
}
|
|
17657
|
+
return writer;
|
|
17658
|
+
},
|
|
17659
|
+
decode(input, length) {
|
|
17660
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
17661
|
+
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
17662
|
+
const message = createBaseEnvironmentGetBudgetRequest();
|
|
17663
|
+
while (reader.pos < end) {
|
|
17664
|
+
const tag = reader.uint32();
|
|
17665
|
+
switch (tag >>> 3) {
|
|
17666
|
+
case 1: {
|
|
17667
|
+
if (tag !== 10) {
|
|
17668
|
+
break;
|
|
17669
|
+
}
|
|
17670
|
+
message.environmentId = reader.string();
|
|
17671
|
+
continue;
|
|
17672
|
+
}
|
|
17673
|
+
}
|
|
17674
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
17675
|
+
break;
|
|
17676
|
+
}
|
|
17677
|
+
reader.skip(tag & 7);
|
|
17678
|
+
}
|
|
17679
|
+
return message;
|
|
17680
|
+
},
|
|
17681
|
+
fromJSON(object) {
|
|
17682
|
+
return { environmentId: isSet5(object.environmentId) ? globalThis.String(object.environmentId) : "" };
|
|
17683
|
+
},
|
|
17684
|
+
toJSON(message) {
|
|
17685
|
+
const obj = {};
|
|
17686
|
+
if (message.environmentId !== "") {
|
|
17687
|
+
obj.environmentId = message.environmentId;
|
|
17688
|
+
}
|
|
17689
|
+
return obj;
|
|
17690
|
+
},
|
|
17691
|
+
create(base) {
|
|
17692
|
+
return EnvironmentGetBudgetRequest.fromPartial(base ?? {});
|
|
17693
|
+
},
|
|
17694
|
+
fromPartial(object) {
|
|
17695
|
+
const message = createBaseEnvironmentGetBudgetRequest();
|
|
17696
|
+
message.environmentId = object.environmentId ?? "";
|
|
17697
|
+
return message;
|
|
17698
|
+
}
|
|
17699
|
+
};
|
|
17700
|
+
function createBaseEnvironmentGetBudgetResponse() {
|
|
17701
|
+
return { cycleBudgetDollars: void 0, effectiveCycleSpendLimit: 0, currentCycleUsage: 0, spendLimitReached: false };
|
|
17702
|
+
}
|
|
17703
|
+
var EnvironmentGetBudgetResponse = {
|
|
17704
|
+
encode(message, writer = new BinaryWriter()) {
|
|
17705
|
+
if (message.cycleBudgetDollars !== void 0) {
|
|
17706
|
+
writer.uint32(9).double(message.cycleBudgetDollars);
|
|
17707
|
+
}
|
|
17708
|
+
if (message.effectiveCycleSpendLimit !== 0) {
|
|
17709
|
+
writer.uint32(17).double(message.effectiveCycleSpendLimit);
|
|
17710
|
+
}
|
|
17711
|
+
if (message.currentCycleUsage !== 0) {
|
|
17712
|
+
writer.uint32(25).double(message.currentCycleUsage);
|
|
17713
|
+
}
|
|
17714
|
+
if (message.spendLimitReached !== false) {
|
|
17715
|
+
writer.uint32(32).bool(message.spendLimitReached);
|
|
17716
|
+
}
|
|
17717
|
+
return writer;
|
|
17718
|
+
},
|
|
17719
|
+
decode(input, length) {
|
|
17720
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
17721
|
+
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
17722
|
+
const message = createBaseEnvironmentGetBudgetResponse();
|
|
17723
|
+
while (reader.pos < end) {
|
|
17724
|
+
const tag = reader.uint32();
|
|
17725
|
+
switch (tag >>> 3) {
|
|
17726
|
+
case 1: {
|
|
17727
|
+
if (tag !== 9) {
|
|
17728
|
+
break;
|
|
17729
|
+
}
|
|
17730
|
+
message.cycleBudgetDollars = reader.double();
|
|
17731
|
+
continue;
|
|
17732
|
+
}
|
|
17733
|
+
case 2: {
|
|
17734
|
+
if (tag !== 17) {
|
|
17735
|
+
break;
|
|
17736
|
+
}
|
|
17737
|
+
message.effectiveCycleSpendLimit = reader.double();
|
|
17738
|
+
continue;
|
|
17739
|
+
}
|
|
17740
|
+
case 3: {
|
|
17741
|
+
if (tag !== 25) {
|
|
17742
|
+
break;
|
|
17743
|
+
}
|
|
17744
|
+
message.currentCycleUsage = reader.double();
|
|
17745
|
+
continue;
|
|
17746
|
+
}
|
|
17747
|
+
case 4: {
|
|
17748
|
+
if (tag !== 32) {
|
|
17749
|
+
break;
|
|
17750
|
+
}
|
|
17751
|
+
message.spendLimitReached = reader.bool();
|
|
17752
|
+
continue;
|
|
17753
|
+
}
|
|
17754
|
+
}
|
|
17755
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
17756
|
+
break;
|
|
17757
|
+
}
|
|
17758
|
+
reader.skip(tag & 7);
|
|
17759
|
+
}
|
|
17760
|
+
return message;
|
|
17761
|
+
},
|
|
17762
|
+
fromJSON(object) {
|
|
17763
|
+
return {
|
|
17764
|
+
cycleBudgetDollars: isSet5(object.cycleBudgetDollars) ? globalThis.Number(object.cycleBudgetDollars) : void 0,
|
|
17765
|
+
effectiveCycleSpendLimit: isSet5(object.effectiveCycleSpendLimit) ? globalThis.Number(object.effectiveCycleSpendLimit) : 0,
|
|
17766
|
+
currentCycleUsage: isSet5(object.currentCycleUsage) ? globalThis.Number(object.currentCycleUsage) : 0,
|
|
17767
|
+
spendLimitReached: isSet5(object.spendLimitReached) ? globalThis.Boolean(object.spendLimitReached) : false
|
|
17768
|
+
};
|
|
17769
|
+
},
|
|
17770
|
+
toJSON(message) {
|
|
17771
|
+
const obj = {};
|
|
17772
|
+
if (message.cycleBudgetDollars !== void 0) {
|
|
17773
|
+
obj.cycleBudgetDollars = message.cycleBudgetDollars;
|
|
17774
|
+
}
|
|
17775
|
+
if (message.effectiveCycleSpendLimit !== 0) {
|
|
17776
|
+
obj.effectiveCycleSpendLimit = message.effectiveCycleSpendLimit;
|
|
17777
|
+
}
|
|
17778
|
+
if (message.currentCycleUsage !== 0) {
|
|
17779
|
+
obj.currentCycleUsage = message.currentCycleUsage;
|
|
17780
|
+
}
|
|
17781
|
+
if (message.spendLimitReached !== false) {
|
|
17782
|
+
obj.spendLimitReached = message.spendLimitReached;
|
|
17783
|
+
}
|
|
17784
|
+
return obj;
|
|
17785
|
+
},
|
|
17786
|
+
create(base) {
|
|
17787
|
+
return EnvironmentGetBudgetResponse.fromPartial(base ?? {});
|
|
17788
|
+
},
|
|
17789
|
+
fromPartial(object) {
|
|
17790
|
+
const message = createBaseEnvironmentGetBudgetResponse();
|
|
17791
|
+
message.cycleBudgetDollars = object.cycleBudgetDollars ?? void 0;
|
|
17792
|
+
message.effectiveCycleSpendLimit = object.effectiveCycleSpendLimit ?? 0;
|
|
17793
|
+
message.currentCycleUsage = object.currentCycleUsage ?? 0;
|
|
17794
|
+
message.spendLimitReached = object.spendLimitReached ?? false;
|
|
17795
|
+
return message;
|
|
17796
|
+
}
|
|
17797
|
+
};
|
|
16994
17798
|
function createBaseEnvironmentGetManagedRequest() {
|
|
16995
17799
|
return { environmentId: "" };
|
|
16996
17800
|
}
|
|
@@ -17471,7 +18275,11 @@ function createBaseEnvironmentListItem() {
|
|
|
17471
18275
|
maxConcurrentTasks: void 0,
|
|
17472
18276
|
maxConcurrentGpus: void 0,
|
|
17473
18277
|
currentConcurrentTasks: 0,
|
|
17474
|
-
currentConcurrentGpus: 0
|
|
18278
|
+
currentConcurrentGpus: 0,
|
|
18279
|
+
cycleBudgetDollars: void 0,
|
|
18280
|
+
effectiveCycleSpendLimit: 0,
|
|
18281
|
+
currentCycleUsage: 0,
|
|
18282
|
+
spendLimitReached: false
|
|
17475
18283
|
};
|
|
17476
18284
|
}
|
|
17477
18285
|
var EnvironmentListItem = {
|
|
@@ -17506,6 +18314,18 @@ var EnvironmentListItem = {
|
|
|
17506
18314
|
if (message.currentConcurrentGpus !== 0) {
|
|
17507
18315
|
writer.uint32(80).int32(message.currentConcurrentGpus);
|
|
17508
18316
|
}
|
|
18317
|
+
if (message.cycleBudgetDollars !== void 0) {
|
|
18318
|
+
writer.uint32(89).double(message.cycleBudgetDollars);
|
|
18319
|
+
}
|
|
18320
|
+
if (message.effectiveCycleSpendLimit !== 0) {
|
|
18321
|
+
writer.uint32(97).double(message.effectiveCycleSpendLimit);
|
|
18322
|
+
}
|
|
18323
|
+
if (message.currentCycleUsage !== 0) {
|
|
18324
|
+
writer.uint32(105).double(message.currentCycleUsage);
|
|
18325
|
+
}
|
|
18326
|
+
if (message.spendLimitReached !== false) {
|
|
18327
|
+
writer.uint32(112).bool(message.spendLimitReached);
|
|
18328
|
+
}
|
|
17509
18329
|
return writer;
|
|
17510
18330
|
},
|
|
17511
18331
|
decode(input, length) {
|
|
@@ -17585,6 +18405,34 @@ var EnvironmentListItem = {
|
|
|
17585
18405
|
message.currentConcurrentGpus = reader.int32();
|
|
17586
18406
|
continue;
|
|
17587
18407
|
}
|
|
18408
|
+
case 11: {
|
|
18409
|
+
if (tag !== 89) {
|
|
18410
|
+
break;
|
|
18411
|
+
}
|
|
18412
|
+
message.cycleBudgetDollars = reader.double();
|
|
18413
|
+
continue;
|
|
18414
|
+
}
|
|
18415
|
+
case 12: {
|
|
18416
|
+
if (tag !== 97) {
|
|
18417
|
+
break;
|
|
18418
|
+
}
|
|
18419
|
+
message.effectiveCycleSpendLimit = reader.double();
|
|
18420
|
+
continue;
|
|
18421
|
+
}
|
|
18422
|
+
case 13: {
|
|
18423
|
+
if (tag !== 105) {
|
|
18424
|
+
break;
|
|
18425
|
+
}
|
|
18426
|
+
message.currentCycleUsage = reader.double();
|
|
18427
|
+
continue;
|
|
18428
|
+
}
|
|
18429
|
+
case 14: {
|
|
18430
|
+
if (tag !== 112) {
|
|
18431
|
+
break;
|
|
18432
|
+
}
|
|
18433
|
+
message.spendLimitReached = reader.bool();
|
|
18434
|
+
continue;
|
|
18435
|
+
}
|
|
17588
18436
|
}
|
|
17589
18437
|
if ((tag & 7) === 4 || tag === 0) {
|
|
17590
18438
|
break;
|
|
@@ -17604,7 +18452,11 @@ var EnvironmentListItem = {
|
|
|
17604
18452
|
maxConcurrentTasks: isSet5(object.maxConcurrentTasks) ? globalThis.Number(object.maxConcurrentTasks) : void 0,
|
|
17605
18453
|
maxConcurrentGpus: isSet5(object.maxConcurrentGpus) ? globalThis.Number(object.maxConcurrentGpus) : void 0,
|
|
17606
18454
|
currentConcurrentTasks: isSet5(object.currentConcurrentTasks) ? globalThis.Number(object.currentConcurrentTasks) : 0,
|
|
17607
|
-
currentConcurrentGpus: isSet5(object.currentConcurrentGpus) ? globalThis.Number(object.currentConcurrentGpus) : 0
|
|
18455
|
+
currentConcurrentGpus: isSet5(object.currentConcurrentGpus) ? globalThis.Number(object.currentConcurrentGpus) : 0,
|
|
18456
|
+
cycleBudgetDollars: isSet5(object.cycleBudgetDollars) ? globalThis.Number(object.cycleBudgetDollars) : void 0,
|
|
18457
|
+
effectiveCycleSpendLimit: isSet5(object.effectiveCycleSpendLimit) ? globalThis.Number(object.effectiveCycleSpendLimit) : 0,
|
|
18458
|
+
currentCycleUsage: isSet5(object.currentCycleUsage) ? globalThis.Number(object.currentCycleUsage) : 0,
|
|
18459
|
+
spendLimitReached: isSet5(object.spendLimitReached) ? globalThis.Boolean(object.spendLimitReached) : false
|
|
17608
18460
|
};
|
|
17609
18461
|
},
|
|
17610
18462
|
toJSON(message) {
|
|
@@ -17639,6 +18491,18 @@ var EnvironmentListItem = {
|
|
|
17639
18491
|
if (message.currentConcurrentGpus !== 0) {
|
|
17640
18492
|
obj.currentConcurrentGpus = Math.round(message.currentConcurrentGpus);
|
|
17641
18493
|
}
|
|
18494
|
+
if (message.cycleBudgetDollars !== void 0) {
|
|
18495
|
+
obj.cycleBudgetDollars = message.cycleBudgetDollars;
|
|
18496
|
+
}
|
|
18497
|
+
if (message.effectiveCycleSpendLimit !== 0) {
|
|
18498
|
+
obj.effectiveCycleSpendLimit = message.effectiveCycleSpendLimit;
|
|
18499
|
+
}
|
|
18500
|
+
if (message.currentCycleUsage !== 0) {
|
|
18501
|
+
obj.currentCycleUsage = message.currentCycleUsage;
|
|
18502
|
+
}
|
|
18503
|
+
if (message.spendLimitReached !== false) {
|
|
18504
|
+
obj.spendLimitReached = message.spendLimitReached;
|
|
18505
|
+
}
|
|
17642
18506
|
return obj;
|
|
17643
18507
|
},
|
|
17644
18508
|
create(base) {
|
|
@@ -17656,6 +18520,10 @@ var EnvironmentListItem = {
|
|
|
17656
18520
|
message.maxConcurrentGpus = object.maxConcurrentGpus ?? void 0;
|
|
17657
18521
|
message.currentConcurrentTasks = object.currentConcurrentTasks ?? 0;
|
|
17658
18522
|
message.currentConcurrentGpus = object.currentConcurrentGpus ?? 0;
|
|
18523
|
+
message.cycleBudgetDollars = object.cycleBudgetDollars ?? void 0;
|
|
18524
|
+
message.effectiveCycleSpendLimit = object.effectiveCycleSpendLimit ?? 0;
|
|
18525
|
+
message.currentCycleUsage = object.currentCycleUsage ?? 0;
|
|
18526
|
+
message.spendLimitReached = object.spendLimitReached ?? false;
|
|
17659
18527
|
return message;
|
|
17660
18528
|
}
|
|
17661
18529
|
};
|
|
@@ -17878,6 +18746,89 @@ var EnvironmentRoleSetRequest = {
|
|
|
17878
18746
|
return message;
|
|
17879
18747
|
}
|
|
17880
18748
|
};
|
|
18749
|
+
function createBaseEnvironmentSetBudgetRequest() {
|
|
18750
|
+
return { environmentId: "", cycleBudgetDollars: void 0, clearBudget: false };
|
|
18751
|
+
}
|
|
18752
|
+
var EnvironmentSetBudgetRequest = {
|
|
18753
|
+
encode(message, writer = new BinaryWriter()) {
|
|
18754
|
+
if (message.environmentId !== "") {
|
|
18755
|
+
writer.uint32(10).string(message.environmentId);
|
|
18756
|
+
}
|
|
18757
|
+
if (message.cycleBudgetDollars !== void 0) {
|
|
18758
|
+
writer.uint32(17).double(message.cycleBudgetDollars);
|
|
18759
|
+
}
|
|
18760
|
+
if (message.clearBudget !== false) {
|
|
18761
|
+
writer.uint32(24).bool(message.clearBudget);
|
|
18762
|
+
}
|
|
18763
|
+
return writer;
|
|
18764
|
+
},
|
|
18765
|
+
decode(input, length) {
|
|
18766
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
18767
|
+
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
18768
|
+
const message = createBaseEnvironmentSetBudgetRequest();
|
|
18769
|
+
while (reader.pos < end) {
|
|
18770
|
+
const tag = reader.uint32();
|
|
18771
|
+
switch (tag >>> 3) {
|
|
18772
|
+
case 1: {
|
|
18773
|
+
if (tag !== 10) {
|
|
18774
|
+
break;
|
|
18775
|
+
}
|
|
18776
|
+
message.environmentId = reader.string();
|
|
18777
|
+
continue;
|
|
18778
|
+
}
|
|
18779
|
+
case 2: {
|
|
18780
|
+
if (tag !== 17) {
|
|
18781
|
+
break;
|
|
18782
|
+
}
|
|
18783
|
+
message.cycleBudgetDollars = reader.double();
|
|
18784
|
+
continue;
|
|
18785
|
+
}
|
|
18786
|
+
case 3: {
|
|
18787
|
+
if (tag !== 24) {
|
|
18788
|
+
break;
|
|
18789
|
+
}
|
|
18790
|
+
message.clearBudget = reader.bool();
|
|
18791
|
+
continue;
|
|
18792
|
+
}
|
|
18793
|
+
}
|
|
18794
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
18795
|
+
break;
|
|
18796
|
+
}
|
|
18797
|
+
reader.skip(tag & 7);
|
|
18798
|
+
}
|
|
18799
|
+
return message;
|
|
18800
|
+
},
|
|
18801
|
+
fromJSON(object) {
|
|
18802
|
+
return {
|
|
18803
|
+
environmentId: isSet5(object.environmentId) ? globalThis.String(object.environmentId) : "",
|
|
18804
|
+
cycleBudgetDollars: isSet5(object.cycleBudgetDollars) ? globalThis.Number(object.cycleBudgetDollars) : void 0,
|
|
18805
|
+
clearBudget: isSet5(object.clearBudget) ? globalThis.Boolean(object.clearBudget) : false
|
|
18806
|
+
};
|
|
18807
|
+
},
|
|
18808
|
+
toJSON(message) {
|
|
18809
|
+
const obj = {};
|
|
18810
|
+
if (message.environmentId !== "") {
|
|
18811
|
+
obj.environmentId = message.environmentId;
|
|
18812
|
+
}
|
|
18813
|
+
if (message.cycleBudgetDollars !== void 0) {
|
|
18814
|
+
obj.cycleBudgetDollars = message.cycleBudgetDollars;
|
|
18815
|
+
}
|
|
18816
|
+
if (message.clearBudget !== false) {
|
|
18817
|
+
obj.clearBudget = message.clearBudget;
|
|
18818
|
+
}
|
|
18819
|
+
return obj;
|
|
18820
|
+
},
|
|
18821
|
+
create(base) {
|
|
18822
|
+
return EnvironmentSetBudgetRequest.fromPartial(base ?? {});
|
|
18823
|
+
},
|
|
18824
|
+
fromPartial(object) {
|
|
18825
|
+
const message = createBaseEnvironmentSetBudgetRequest();
|
|
18826
|
+
message.environmentId = object.environmentId ?? "";
|
|
18827
|
+
message.cycleBudgetDollars = object.cycleBudgetDollars ?? void 0;
|
|
18828
|
+
message.clearBudget = object.clearBudget ?? false;
|
|
18829
|
+
return message;
|
|
18830
|
+
}
|
|
18831
|
+
};
|
|
17881
18832
|
function createBaseEnvironmentSetManagedRequest() {
|
|
17882
18833
|
return { environmentId: "", managed: false };
|
|
17883
18834
|
}
|
|
@@ -25024,7 +25975,8 @@ function createBaseFunctionOptions() {
|
|
|
25024
25975
|
cloudProviderStr: void 0,
|
|
25025
25976
|
replaceCloudBucketMounts: false,
|
|
25026
25977
|
cloudBucketMounts: [],
|
|
25027
|
-
pinnedAppVersion: void 0
|
|
25978
|
+
pinnedAppVersion: void 0,
|
|
25979
|
+
routingRegion: void 0
|
|
25028
25980
|
};
|
|
25029
25981
|
}
|
|
25030
25982
|
var FunctionOptions = {
|
|
@@ -25092,6 +26044,9 @@ var FunctionOptions = {
|
|
|
25092
26044
|
if (message.pinnedAppVersion !== void 0) {
|
|
25093
26045
|
writer.uint32(168).int32(message.pinnedAppVersion);
|
|
25094
26046
|
}
|
|
26047
|
+
if (message.routingRegion !== void 0) {
|
|
26048
|
+
writer.uint32(178).string(message.routingRegion);
|
|
26049
|
+
}
|
|
25095
26050
|
return writer;
|
|
25096
26051
|
},
|
|
25097
26052
|
decode(input, length) {
|
|
@@ -25248,6 +26203,13 @@ var FunctionOptions = {
|
|
|
25248
26203
|
message.pinnedAppVersion = reader.int32();
|
|
25249
26204
|
continue;
|
|
25250
26205
|
}
|
|
26206
|
+
case 22: {
|
|
26207
|
+
if (tag !== 178) {
|
|
26208
|
+
break;
|
|
26209
|
+
}
|
|
26210
|
+
message.routingRegion = reader.string();
|
|
26211
|
+
continue;
|
|
26212
|
+
}
|
|
25251
26213
|
}
|
|
25252
26214
|
if ((tag & 7) === 4 || tag === 0) {
|
|
25253
26215
|
break;
|
|
@@ -25278,7 +26240,8 @@ var FunctionOptions = {
|
|
|
25278
26240
|
cloudProviderStr: isSet5(object.cloudProviderStr) ? globalThis.String(object.cloudProviderStr) : void 0,
|
|
25279
26241
|
replaceCloudBucketMounts: isSet5(object.replaceCloudBucketMounts) ? globalThis.Boolean(object.replaceCloudBucketMounts) : false,
|
|
25280
26242
|
cloudBucketMounts: globalThis.Array.isArray(object?.cloudBucketMounts) ? object.cloudBucketMounts.map((e) => CloudBucketMount.fromJSON(e)) : [],
|
|
25281
|
-
pinnedAppVersion: isSet5(object.pinnedAppVersion) ? globalThis.Number(object.pinnedAppVersion) : void 0
|
|
26243
|
+
pinnedAppVersion: isSet5(object.pinnedAppVersion) ? globalThis.Number(object.pinnedAppVersion) : void 0,
|
|
26244
|
+
routingRegion: isSet5(object.routingRegion) ? globalThis.String(object.routingRegion) : void 0
|
|
25282
26245
|
};
|
|
25283
26246
|
},
|
|
25284
26247
|
toJSON(message) {
|
|
@@ -25346,6 +26309,9 @@ var FunctionOptions = {
|
|
|
25346
26309
|
if (message.pinnedAppVersion !== void 0) {
|
|
25347
26310
|
obj.pinnedAppVersion = Math.round(message.pinnedAppVersion);
|
|
25348
26311
|
}
|
|
26312
|
+
if (message.routingRegion !== void 0) {
|
|
26313
|
+
obj.routingRegion = message.routingRegion;
|
|
26314
|
+
}
|
|
25349
26315
|
return obj;
|
|
25350
26316
|
},
|
|
25351
26317
|
create(base) {
|
|
@@ -25374,6 +26340,7 @@ var FunctionOptions = {
|
|
|
25374
26340
|
message.replaceCloudBucketMounts = object.replaceCloudBucketMounts ?? false;
|
|
25375
26341
|
message.cloudBucketMounts = object.cloudBucketMounts?.map((e) => CloudBucketMount.fromPartial(e)) || [];
|
|
25376
26342
|
message.pinnedAppVersion = object.pinnedAppVersion ?? void 0;
|
|
26343
|
+
message.routingRegion = object.routingRegion ?? void 0;
|
|
25377
26344
|
return message;
|
|
25378
26345
|
}
|
|
25379
26346
|
};
|
|
@@ -27320,7 +28287,15 @@ var GenericResult = {
|
|
|
27320
28287
|
}
|
|
27321
28288
|
};
|
|
27322
28289
|
function createBaseHTTPConfig() {
|
|
27323
|
-
return {
|
|
28290
|
+
return {
|
|
28291
|
+
port: 0,
|
|
28292
|
+
proxyRegions: [],
|
|
28293
|
+
startupTimeout: 0,
|
|
28294
|
+
exitGracePeriod: 0,
|
|
28295
|
+
h2Enabled: false,
|
|
28296
|
+
targetConcurrency: 0,
|
|
28297
|
+
unauthenticated: false
|
|
28298
|
+
};
|
|
27324
28299
|
}
|
|
27325
28300
|
var HTTPConfig = {
|
|
27326
28301
|
encode(message, writer = new BinaryWriter()) {
|
|
@@ -27342,6 +28317,9 @@ var HTTPConfig = {
|
|
|
27342
28317
|
if (message.targetConcurrency !== 0) {
|
|
27343
28318
|
writer.uint32(48).uint32(message.targetConcurrency);
|
|
27344
28319
|
}
|
|
28320
|
+
if (message.unauthenticated !== false) {
|
|
28321
|
+
writer.uint32(56).bool(message.unauthenticated);
|
|
28322
|
+
}
|
|
27345
28323
|
return writer;
|
|
27346
28324
|
},
|
|
27347
28325
|
decode(input, length) {
|
|
@@ -27393,6 +28371,13 @@ var HTTPConfig = {
|
|
|
27393
28371
|
message.targetConcurrency = reader.uint32();
|
|
27394
28372
|
continue;
|
|
27395
28373
|
}
|
|
28374
|
+
case 7: {
|
|
28375
|
+
if (tag !== 56) {
|
|
28376
|
+
break;
|
|
28377
|
+
}
|
|
28378
|
+
message.unauthenticated = reader.bool();
|
|
28379
|
+
continue;
|
|
28380
|
+
}
|
|
27396
28381
|
}
|
|
27397
28382
|
if ((tag & 7) === 4 || tag === 0) {
|
|
27398
28383
|
break;
|
|
@@ -27408,7 +28393,8 @@ var HTTPConfig = {
|
|
|
27408
28393
|
startupTimeout: isSet5(object.startupTimeout) ? globalThis.Number(object.startupTimeout) : 0,
|
|
27409
28394
|
exitGracePeriod: isSet5(object.exitGracePeriod) ? globalThis.Number(object.exitGracePeriod) : 0,
|
|
27410
28395
|
h2Enabled: isSet5(object.h2Enabled) ? globalThis.Boolean(object.h2Enabled) : false,
|
|
27411
|
-
targetConcurrency: isSet5(object.targetConcurrency) ? globalThis.Number(object.targetConcurrency) : 0
|
|
28396
|
+
targetConcurrency: isSet5(object.targetConcurrency) ? globalThis.Number(object.targetConcurrency) : 0,
|
|
28397
|
+
unauthenticated: isSet5(object.unauthenticated) ? globalThis.Boolean(object.unauthenticated) : false
|
|
27412
28398
|
};
|
|
27413
28399
|
},
|
|
27414
28400
|
toJSON(message) {
|
|
@@ -27431,6 +28417,9 @@ var HTTPConfig = {
|
|
|
27431
28417
|
if (message.targetConcurrency !== 0) {
|
|
27432
28418
|
obj.targetConcurrency = Math.round(message.targetConcurrency);
|
|
27433
28419
|
}
|
|
28420
|
+
if (message.unauthenticated !== false) {
|
|
28421
|
+
obj.unauthenticated = message.unauthenticated;
|
|
28422
|
+
}
|
|
27434
28423
|
return obj;
|
|
27435
28424
|
},
|
|
27436
28425
|
create(base) {
|
|
@@ -27444,6 +28433,7 @@ var HTTPConfig = {
|
|
|
27444
28433
|
message.exitGracePeriod = object.exitGracePeriod ?? 0;
|
|
27445
28434
|
message.h2Enabled = object.h2Enabled ?? false;
|
|
27446
28435
|
message.targetConcurrency = object.targetConcurrency ?? 0;
|
|
28436
|
+
message.unauthenticated = object.unauthenticated ?? false;
|
|
27447
28437
|
return message;
|
|
27448
28438
|
}
|
|
27449
28439
|
};
|
|
@@ -29384,7 +30374,7 @@ var ImageRegistryConfig = {
|
|
|
29384
30374
|
}
|
|
29385
30375
|
};
|
|
29386
30376
|
function createBaseImageTagRevisionsItem() {
|
|
29387
|
-
return { imageId: "", revisionId: "", createdAt: 0 };
|
|
30377
|
+
return { imageId: "", revisionId: "", createdAt: 0, publishedBy: "" };
|
|
29388
30378
|
}
|
|
29389
30379
|
var ImageTagRevisionsItem = {
|
|
29390
30380
|
encode(message, writer = new BinaryWriter()) {
|
|
@@ -29397,6 +30387,9 @@ var ImageTagRevisionsItem = {
|
|
|
29397
30387
|
if (message.createdAt !== 0) {
|
|
29398
30388
|
writer.uint32(25).double(message.createdAt);
|
|
29399
30389
|
}
|
|
30390
|
+
if (message.publishedBy !== "") {
|
|
30391
|
+
writer.uint32(34).string(message.publishedBy);
|
|
30392
|
+
}
|
|
29400
30393
|
return writer;
|
|
29401
30394
|
},
|
|
29402
30395
|
decode(input, length) {
|
|
@@ -29427,6 +30420,13 @@ var ImageTagRevisionsItem = {
|
|
|
29427
30420
|
message.createdAt = reader.double();
|
|
29428
30421
|
continue;
|
|
29429
30422
|
}
|
|
30423
|
+
case 4: {
|
|
30424
|
+
if (tag !== 34) {
|
|
30425
|
+
break;
|
|
30426
|
+
}
|
|
30427
|
+
message.publishedBy = reader.string();
|
|
30428
|
+
continue;
|
|
30429
|
+
}
|
|
29430
30430
|
}
|
|
29431
30431
|
if ((tag & 7) === 4 || tag === 0) {
|
|
29432
30432
|
break;
|
|
@@ -29439,7 +30439,8 @@ var ImageTagRevisionsItem = {
|
|
|
29439
30439
|
return {
|
|
29440
30440
|
imageId: isSet5(object.imageId) ? globalThis.String(object.imageId) : "",
|
|
29441
30441
|
revisionId: isSet5(object.revisionId) ? globalThis.String(object.revisionId) : "",
|
|
29442
|
-
createdAt: isSet5(object.createdAt) ? globalThis.Number(object.createdAt) : 0
|
|
30442
|
+
createdAt: isSet5(object.createdAt) ? globalThis.Number(object.createdAt) : 0,
|
|
30443
|
+
publishedBy: isSet5(object.publishedBy) ? globalThis.String(object.publishedBy) : ""
|
|
29443
30444
|
};
|
|
29444
30445
|
},
|
|
29445
30446
|
toJSON(message) {
|
|
@@ -29453,6 +30454,9 @@ var ImageTagRevisionsItem = {
|
|
|
29453
30454
|
if (message.createdAt !== 0) {
|
|
29454
30455
|
obj.createdAt = message.createdAt;
|
|
29455
30456
|
}
|
|
30457
|
+
if (message.publishedBy !== "") {
|
|
30458
|
+
obj.publishedBy = message.publishedBy;
|
|
30459
|
+
}
|
|
29456
30460
|
return obj;
|
|
29457
30461
|
},
|
|
29458
30462
|
create(base) {
|
|
@@ -29463,6 +30467,7 @@ var ImageTagRevisionsItem = {
|
|
|
29463
30467
|
message.imageId = object.imageId ?? "";
|
|
29464
30468
|
message.revisionId = object.revisionId ?? "";
|
|
29465
30469
|
message.createdAt = object.createdAt ?? 0;
|
|
30470
|
+
message.publishedBy = object.publishedBy ?? "";
|
|
29466
30471
|
return message;
|
|
29467
30472
|
}
|
|
29468
30473
|
};
|
|
@@ -37217,7 +38222,7 @@ var SandboxCreateResponse = {
|
|
|
37217
38222
|
}
|
|
37218
38223
|
};
|
|
37219
38224
|
function createBaseSandboxCreateV2Request() {
|
|
37220
|
-
return { appId: "", definition: void 0 };
|
|
38225
|
+
return { appId: "", definition: void 0, ephemeralSecrets: void 0 };
|
|
37221
38226
|
}
|
|
37222
38227
|
var SandboxCreateV2Request = {
|
|
37223
38228
|
encode(message, writer = new BinaryWriter()) {
|
|
@@ -37227,6 +38232,9 @@ var SandboxCreateV2Request = {
|
|
|
37227
38232
|
if (message.definition !== void 0) {
|
|
37228
38233
|
Sandbox.encode(message.definition, writer.uint32(18).fork()).join();
|
|
37229
38234
|
}
|
|
38235
|
+
if (message.ephemeralSecrets !== void 0) {
|
|
38236
|
+
StringMap.encode(message.ephemeralSecrets, writer.uint32(26).fork()).join();
|
|
38237
|
+
}
|
|
37230
38238
|
return writer;
|
|
37231
38239
|
},
|
|
37232
38240
|
decode(input, length) {
|
|
@@ -37250,6 +38258,13 @@ var SandboxCreateV2Request = {
|
|
|
37250
38258
|
message.definition = Sandbox.decode(reader, reader.uint32());
|
|
37251
38259
|
continue;
|
|
37252
38260
|
}
|
|
38261
|
+
case 3: {
|
|
38262
|
+
if (tag !== 26) {
|
|
38263
|
+
break;
|
|
38264
|
+
}
|
|
38265
|
+
message.ephemeralSecrets = StringMap.decode(reader, reader.uint32());
|
|
38266
|
+
continue;
|
|
38267
|
+
}
|
|
37253
38268
|
}
|
|
37254
38269
|
if ((tag & 7) === 4 || tag === 0) {
|
|
37255
38270
|
break;
|
|
@@ -37261,7 +38276,8 @@ var SandboxCreateV2Request = {
|
|
|
37261
38276
|
fromJSON(object) {
|
|
37262
38277
|
return {
|
|
37263
38278
|
appId: isSet5(object.appId) ? globalThis.String(object.appId) : "",
|
|
37264
|
-
definition: isSet5(object.definition) ? Sandbox.fromJSON(object.definition) : void 0
|
|
38279
|
+
definition: isSet5(object.definition) ? Sandbox.fromJSON(object.definition) : void 0,
|
|
38280
|
+
ephemeralSecrets: isSet5(object.ephemeralSecrets) ? StringMap.fromJSON(object.ephemeralSecrets) : void 0
|
|
37265
38281
|
};
|
|
37266
38282
|
},
|
|
37267
38283
|
toJSON(message) {
|
|
@@ -37272,6 +38288,9 @@ var SandboxCreateV2Request = {
|
|
|
37272
38288
|
if (message.definition !== void 0) {
|
|
37273
38289
|
obj.definition = Sandbox.toJSON(message.definition);
|
|
37274
38290
|
}
|
|
38291
|
+
if (message.ephemeralSecrets !== void 0) {
|
|
38292
|
+
obj.ephemeralSecrets = StringMap.toJSON(message.ephemeralSecrets);
|
|
38293
|
+
}
|
|
37275
38294
|
return obj;
|
|
37276
38295
|
},
|
|
37277
38296
|
create(base) {
|
|
@@ -37281,6 +38300,7 @@ var SandboxCreateV2Request = {
|
|
|
37281
38300
|
const message = createBaseSandboxCreateV2Request();
|
|
37282
38301
|
message.appId = object.appId ?? "";
|
|
37283
38302
|
message.definition = object.definition !== void 0 && object.definition !== null ? Sandbox.fromPartial(object.definition) : void 0;
|
|
38303
|
+
message.ephemeralSecrets = object.ephemeralSecrets !== void 0 && object.ephemeralSecrets !== null ? StringMap.fromPartial(object.ephemeralSecrets) : void 0;
|
|
37284
38304
|
return message;
|
|
37285
38305
|
}
|
|
37286
38306
|
};
|
|
@@ -38650,7 +39670,14 @@ var SandboxListResponse = {
|
|
|
38650
39670
|
}
|
|
38651
39671
|
};
|
|
38652
39672
|
function createBaseSandboxRestoreRequest() {
|
|
38653
|
-
return {
|
|
39673
|
+
return {
|
|
39674
|
+
snapshotId: "",
|
|
39675
|
+
sandboxNameOverride: "",
|
|
39676
|
+
sandboxNameOverrideType: 0,
|
|
39677
|
+
workerId: "",
|
|
39678
|
+
replaceVolumeMounts: false,
|
|
39679
|
+
volumeMounts: []
|
|
39680
|
+
};
|
|
38654
39681
|
}
|
|
38655
39682
|
var SandboxRestoreRequest = {
|
|
38656
39683
|
encode(message, writer = new BinaryWriter()) {
|
|
@@ -38666,6 +39693,12 @@ var SandboxRestoreRequest = {
|
|
|
38666
39693
|
if (message.workerId !== "") {
|
|
38667
39694
|
writer.uint32(34).string(message.workerId);
|
|
38668
39695
|
}
|
|
39696
|
+
if (message.replaceVolumeMounts !== false) {
|
|
39697
|
+
writer.uint32(40).bool(message.replaceVolumeMounts);
|
|
39698
|
+
}
|
|
39699
|
+
for (const v of message.volumeMounts) {
|
|
39700
|
+
VolumeMount.encode(v, writer.uint32(50).fork()).join();
|
|
39701
|
+
}
|
|
38669
39702
|
return writer;
|
|
38670
39703
|
},
|
|
38671
39704
|
decode(input, length) {
|
|
@@ -38703,6 +39736,20 @@ var SandboxRestoreRequest = {
|
|
|
38703
39736
|
message.workerId = reader.string();
|
|
38704
39737
|
continue;
|
|
38705
39738
|
}
|
|
39739
|
+
case 5: {
|
|
39740
|
+
if (tag !== 40) {
|
|
39741
|
+
break;
|
|
39742
|
+
}
|
|
39743
|
+
message.replaceVolumeMounts = reader.bool();
|
|
39744
|
+
continue;
|
|
39745
|
+
}
|
|
39746
|
+
case 6: {
|
|
39747
|
+
if (tag !== 50) {
|
|
39748
|
+
break;
|
|
39749
|
+
}
|
|
39750
|
+
message.volumeMounts.push(VolumeMount.decode(reader, reader.uint32()));
|
|
39751
|
+
continue;
|
|
39752
|
+
}
|
|
38706
39753
|
}
|
|
38707
39754
|
if ((tag & 7) === 4 || tag === 0) {
|
|
38708
39755
|
break;
|
|
@@ -38716,7 +39763,9 @@ var SandboxRestoreRequest = {
|
|
|
38716
39763
|
snapshotId: isSet5(object.snapshotId) ? globalThis.String(object.snapshotId) : "",
|
|
38717
39764
|
sandboxNameOverride: isSet5(object.sandboxNameOverride) ? globalThis.String(object.sandboxNameOverride) : "",
|
|
38718
39765
|
sandboxNameOverrideType: isSet5(object.sandboxNameOverrideType) ? sandboxRestoreRequest_SandboxNameOverrideTypeFromJSON(object.sandboxNameOverrideType) : 0,
|
|
38719
|
-
workerId: isSet5(object.workerId) ? globalThis.String(object.workerId) : ""
|
|
39766
|
+
workerId: isSet5(object.workerId) ? globalThis.String(object.workerId) : "",
|
|
39767
|
+
replaceVolumeMounts: isSet5(object.replaceVolumeMounts) ? globalThis.Boolean(object.replaceVolumeMounts) : false,
|
|
39768
|
+
volumeMounts: globalThis.Array.isArray(object?.volumeMounts) ? object.volumeMounts.map((e) => VolumeMount.fromJSON(e)) : []
|
|
38720
39769
|
};
|
|
38721
39770
|
},
|
|
38722
39771
|
toJSON(message) {
|
|
@@ -38735,6 +39784,12 @@ var SandboxRestoreRequest = {
|
|
|
38735
39784
|
if (message.workerId !== "") {
|
|
38736
39785
|
obj.workerId = message.workerId;
|
|
38737
39786
|
}
|
|
39787
|
+
if (message.replaceVolumeMounts !== false) {
|
|
39788
|
+
obj.replaceVolumeMounts = message.replaceVolumeMounts;
|
|
39789
|
+
}
|
|
39790
|
+
if (message.volumeMounts?.length) {
|
|
39791
|
+
obj.volumeMounts = message.volumeMounts.map((e) => VolumeMount.toJSON(e));
|
|
39792
|
+
}
|
|
38738
39793
|
return obj;
|
|
38739
39794
|
},
|
|
38740
39795
|
create(base) {
|
|
@@ -38746,6 +39801,8 @@ var SandboxRestoreRequest = {
|
|
|
38746
39801
|
message.sandboxNameOverride = object.sandboxNameOverride ?? "";
|
|
38747
39802
|
message.sandboxNameOverrideType = object.sandboxNameOverrideType ?? 0;
|
|
38748
39803
|
message.workerId = object.workerId ?? "";
|
|
39804
|
+
message.replaceVolumeMounts = object.replaceVolumeMounts ?? false;
|
|
39805
|
+
message.volumeMounts = object.volumeMounts?.map((e) => VolumeMount.fromPartial(e)) || [];
|
|
38749
39806
|
return message;
|
|
38750
39807
|
}
|
|
38751
39808
|
};
|
|
@@ -42928,7 +43985,7 @@ var SystemErrorMessage = {
|
|
|
42928
43985
|
}
|
|
42929
43986
|
};
|
|
42930
43987
|
function createBaseTaskClusterHelloRequest() {
|
|
42931
|
-
return { taskId: "", containerIp: "" };
|
|
43988
|
+
return { taskId: "", containerIp: "", imexHostIp: "" };
|
|
42932
43989
|
}
|
|
42933
43990
|
var TaskClusterHelloRequest = {
|
|
42934
43991
|
encode(message, writer = new BinaryWriter()) {
|
|
@@ -42938,6 +43995,9 @@ var TaskClusterHelloRequest = {
|
|
|
42938
43995
|
if (message.containerIp !== "") {
|
|
42939
43996
|
writer.uint32(18).string(message.containerIp);
|
|
42940
43997
|
}
|
|
43998
|
+
if (message.imexHostIp !== "") {
|
|
43999
|
+
writer.uint32(26).string(message.imexHostIp);
|
|
44000
|
+
}
|
|
42941
44001
|
return writer;
|
|
42942
44002
|
},
|
|
42943
44003
|
decode(input, length) {
|
|
@@ -42961,6 +44021,13 @@ var TaskClusterHelloRequest = {
|
|
|
42961
44021
|
message.containerIp = reader.string();
|
|
42962
44022
|
continue;
|
|
42963
44023
|
}
|
|
44024
|
+
case 3: {
|
|
44025
|
+
if (tag !== 26) {
|
|
44026
|
+
break;
|
|
44027
|
+
}
|
|
44028
|
+
message.imexHostIp = reader.string();
|
|
44029
|
+
continue;
|
|
44030
|
+
}
|
|
42964
44031
|
}
|
|
42965
44032
|
if ((tag & 7) === 4 || tag === 0) {
|
|
42966
44033
|
break;
|
|
@@ -42972,7 +44039,8 @@ var TaskClusterHelloRequest = {
|
|
|
42972
44039
|
fromJSON(object) {
|
|
42973
44040
|
return {
|
|
42974
44041
|
taskId: isSet5(object.taskId) ? globalThis.String(object.taskId) : "",
|
|
42975
|
-
containerIp: isSet5(object.containerIp) ? globalThis.String(object.containerIp) : ""
|
|
44042
|
+
containerIp: isSet5(object.containerIp) ? globalThis.String(object.containerIp) : "",
|
|
44043
|
+
imexHostIp: isSet5(object.imexHostIp) ? globalThis.String(object.imexHostIp) : ""
|
|
42976
44044
|
};
|
|
42977
44045
|
},
|
|
42978
44046
|
toJSON(message) {
|
|
@@ -42983,6 +44051,9 @@ var TaskClusterHelloRequest = {
|
|
|
42983
44051
|
if (message.containerIp !== "") {
|
|
42984
44052
|
obj.containerIp = message.containerIp;
|
|
42985
44053
|
}
|
|
44054
|
+
if (message.imexHostIp !== "") {
|
|
44055
|
+
obj.imexHostIp = message.imexHostIp;
|
|
44056
|
+
}
|
|
42986
44057
|
return obj;
|
|
42987
44058
|
},
|
|
42988
44059
|
create(base) {
|
|
@@ -42992,11 +44063,12 @@ var TaskClusterHelloRequest = {
|
|
|
42992
44063
|
const message = createBaseTaskClusterHelloRequest();
|
|
42993
44064
|
message.taskId = object.taskId ?? "";
|
|
42994
44065
|
message.containerIp = object.containerIp ?? "";
|
|
44066
|
+
message.imexHostIp = object.imexHostIp ?? "";
|
|
42995
44067
|
return message;
|
|
42996
44068
|
}
|
|
42997
44069
|
};
|
|
42998
44070
|
function createBaseTaskClusterHelloResponse() {
|
|
42999
|
-
return { clusterId: "", clusterRank: 0, containerIps: [], containerIpv4Ips: [] };
|
|
44071
|
+
return { clusterId: "", clusterRank: 0, containerIps: [], containerIpv4Ips: [], imexPeerIps: [] };
|
|
43000
44072
|
}
|
|
43001
44073
|
var TaskClusterHelloResponse = {
|
|
43002
44074
|
encode(message, writer = new BinaryWriter()) {
|
|
@@ -43012,6 +44084,9 @@ var TaskClusterHelloResponse = {
|
|
|
43012
44084
|
for (const v of message.containerIpv4Ips) {
|
|
43013
44085
|
writer.uint32(34).string(v);
|
|
43014
44086
|
}
|
|
44087
|
+
for (const v of message.imexPeerIps) {
|
|
44088
|
+
writer.uint32(42).string(v);
|
|
44089
|
+
}
|
|
43015
44090
|
return writer;
|
|
43016
44091
|
},
|
|
43017
44092
|
decode(input, length) {
|
|
@@ -43049,6 +44124,13 @@ var TaskClusterHelloResponse = {
|
|
|
43049
44124
|
message.containerIpv4Ips.push(reader.string());
|
|
43050
44125
|
continue;
|
|
43051
44126
|
}
|
|
44127
|
+
case 5: {
|
|
44128
|
+
if (tag !== 42) {
|
|
44129
|
+
break;
|
|
44130
|
+
}
|
|
44131
|
+
message.imexPeerIps.push(reader.string());
|
|
44132
|
+
continue;
|
|
44133
|
+
}
|
|
43052
44134
|
}
|
|
43053
44135
|
if ((tag & 7) === 4 || tag === 0) {
|
|
43054
44136
|
break;
|
|
@@ -43062,7 +44144,8 @@ var TaskClusterHelloResponse = {
|
|
|
43062
44144
|
clusterId: isSet5(object.clusterId) ? globalThis.String(object.clusterId) : "",
|
|
43063
44145
|
clusterRank: isSet5(object.clusterRank) ? globalThis.Number(object.clusterRank) : 0,
|
|
43064
44146
|
containerIps: globalThis.Array.isArray(object?.containerIps) ? object.containerIps.map((e) => globalThis.String(e)) : [],
|
|
43065
|
-
containerIpv4Ips: globalThis.Array.isArray(object?.containerIpv4Ips) ? object.containerIpv4Ips.map((e) => globalThis.String(e)) : []
|
|
44147
|
+
containerIpv4Ips: globalThis.Array.isArray(object?.containerIpv4Ips) ? object.containerIpv4Ips.map((e) => globalThis.String(e)) : [],
|
|
44148
|
+
imexPeerIps: globalThis.Array.isArray(object?.imexPeerIps) ? object.imexPeerIps.map((e) => globalThis.String(e)) : []
|
|
43066
44149
|
};
|
|
43067
44150
|
},
|
|
43068
44151
|
toJSON(message) {
|
|
@@ -43079,6 +44162,9 @@ var TaskClusterHelloResponse = {
|
|
|
43079
44162
|
if (message.containerIpv4Ips?.length) {
|
|
43080
44163
|
obj.containerIpv4Ips = message.containerIpv4Ips;
|
|
43081
44164
|
}
|
|
44165
|
+
if (message.imexPeerIps?.length) {
|
|
44166
|
+
obj.imexPeerIps = message.imexPeerIps;
|
|
44167
|
+
}
|
|
43082
44168
|
return obj;
|
|
43083
44169
|
},
|
|
43084
44170
|
create(base) {
|
|
@@ -43090,6 +44176,7 @@ var TaskClusterHelloResponse = {
|
|
|
43090
44176
|
message.clusterRank = object.clusterRank ?? 0;
|
|
43091
44177
|
message.containerIps = object.containerIps?.map((e) => e) || [];
|
|
43092
44178
|
message.containerIpv4Ips = object.containerIpv4Ips?.map((e) => e) || [];
|
|
44179
|
+
message.imexPeerIps = object.imexPeerIps?.map((e) => e) || [];
|
|
43093
44180
|
return message;
|
|
43094
44181
|
}
|
|
43095
44182
|
};
|
|
@@ -44650,6 +45737,125 @@ var TemplateListResponse_TemplateListItem = {
|
|
|
44650
45737
|
return message;
|
|
44651
45738
|
}
|
|
44652
45739
|
};
|
|
45740
|
+
function createBaseTokenCreateResponse() {
|
|
45741
|
+
return { tokenId: "", tokenSecret: "" };
|
|
45742
|
+
}
|
|
45743
|
+
var TokenCreateResponse = {
|
|
45744
|
+
encode(message, writer = new BinaryWriter()) {
|
|
45745
|
+
if (message.tokenId !== "") {
|
|
45746
|
+
writer.uint32(10).string(message.tokenId);
|
|
45747
|
+
}
|
|
45748
|
+
if (message.tokenSecret !== "") {
|
|
45749
|
+
writer.uint32(18).string(message.tokenSecret);
|
|
45750
|
+
}
|
|
45751
|
+
return writer;
|
|
45752
|
+
},
|
|
45753
|
+
decode(input, length) {
|
|
45754
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
45755
|
+
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
45756
|
+
const message = createBaseTokenCreateResponse();
|
|
45757
|
+
while (reader.pos < end) {
|
|
45758
|
+
const tag = reader.uint32();
|
|
45759
|
+
switch (tag >>> 3) {
|
|
45760
|
+
case 1: {
|
|
45761
|
+
if (tag !== 10) {
|
|
45762
|
+
break;
|
|
45763
|
+
}
|
|
45764
|
+
message.tokenId = reader.string();
|
|
45765
|
+
continue;
|
|
45766
|
+
}
|
|
45767
|
+
case 2: {
|
|
45768
|
+
if (tag !== 18) {
|
|
45769
|
+
break;
|
|
45770
|
+
}
|
|
45771
|
+
message.tokenSecret = reader.string();
|
|
45772
|
+
continue;
|
|
45773
|
+
}
|
|
45774
|
+
}
|
|
45775
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
45776
|
+
break;
|
|
45777
|
+
}
|
|
45778
|
+
reader.skip(tag & 7);
|
|
45779
|
+
}
|
|
45780
|
+
return message;
|
|
45781
|
+
},
|
|
45782
|
+
fromJSON(object) {
|
|
45783
|
+
return {
|
|
45784
|
+
tokenId: isSet5(object.tokenId) ? globalThis.String(object.tokenId) : "",
|
|
45785
|
+
tokenSecret: isSet5(object.tokenSecret) ? globalThis.String(object.tokenSecret) : ""
|
|
45786
|
+
};
|
|
45787
|
+
},
|
|
45788
|
+
toJSON(message) {
|
|
45789
|
+
const obj = {};
|
|
45790
|
+
if (message.tokenId !== "") {
|
|
45791
|
+
obj.tokenId = message.tokenId;
|
|
45792
|
+
}
|
|
45793
|
+
if (message.tokenSecret !== "") {
|
|
45794
|
+
obj.tokenSecret = message.tokenSecret;
|
|
45795
|
+
}
|
|
45796
|
+
return obj;
|
|
45797
|
+
},
|
|
45798
|
+
create(base) {
|
|
45799
|
+
return TokenCreateResponse.fromPartial(base ?? {});
|
|
45800
|
+
},
|
|
45801
|
+
fromPartial(object) {
|
|
45802
|
+
const message = createBaseTokenCreateResponse();
|
|
45803
|
+
message.tokenId = object.tokenId ?? "";
|
|
45804
|
+
message.tokenSecret = object.tokenSecret ?? "";
|
|
45805
|
+
return message;
|
|
45806
|
+
}
|
|
45807
|
+
};
|
|
45808
|
+
function createBaseTokenDeleteRequest() {
|
|
45809
|
+
return { tokenId: "" };
|
|
45810
|
+
}
|
|
45811
|
+
var TokenDeleteRequest = {
|
|
45812
|
+
encode(message, writer = new BinaryWriter()) {
|
|
45813
|
+
if (message.tokenId !== "") {
|
|
45814
|
+
writer.uint32(18).string(message.tokenId);
|
|
45815
|
+
}
|
|
45816
|
+
return writer;
|
|
45817
|
+
},
|
|
45818
|
+
decode(input, length) {
|
|
45819
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
45820
|
+
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
45821
|
+
const message = createBaseTokenDeleteRequest();
|
|
45822
|
+
while (reader.pos < end) {
|
|
45823
|
+
const tag = reader.uint32();
|
|
45824
|
+
switch (tag >>> 3) {
|
|
45825
|
+
case 2: {
|
|
45826
|
+
if (tag !== 18) {
|
|
45827
|
+
break;
|
|
45828
|
+
}
|
|
45829
|
+
message.tokenId = reader.string();
|
|
45830
|
+
continue;
|
|
45831
|
+
}
|
|
45832
|
+
}
|
|
45833
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
45834
|
+
break;
|
|
45835
|
+
}
|
|
45836
|
+
reader.skip(tag & 7);
|
|
45837
|
+
}
|
|
45838
|
+
return message;
|
|
45839
|
+
},
|
|
45840
|
+
fromJSON(object) {
|
|
45841
|
+
return { tokenId: isSet5(object.tokenId) ? globalThis.String(object.tokenId) : "" };
|
|
45842
|
+
},
|
|
45843
|
+
toJSON(message) {
|
|
45844
|
+
const obj = {};
|
|
45845
|
+
if (message.tokenId !== "") {
|
|
45846
|
+
obj.tokenId = message.tokenId;
|
|
45847
|
+
}
|
|
45848
|
+
return obj;
|
|
45849
|
+
},
|
|
45850
|
+
create(base) {
|
|
45851
|
+
return TokenDeleteRequest.fromPartial(base ?? {});
|
|
45852
|
+
},
|
|
45853
|
+
fromPartial(object) {
|
|
45854
|
+
const message = createBaseTokenDeleteRequest();
|
|
45855
|
+
message.tokenId = object.tokenId ?? "";
|
|
45856
|
+
return message;
|
|
45857
|
+
}
|
|
45858
|
+
};
|
|
44653
45859
|
function createBaseTokenFlowCreateRequest() {
|
|
44654
45860
|
return { utmSource: "", localhostPort: 0, nextUrl: "" };
|
|
44655
45861
|
}
|
|
@@ -45732,13 +46938,16 @@ var UserIdentity = {
|
|
|
45732
46938
|
}
|
|
45733
46939
|
};
|
|
45734
46940
|
function createBaseVolumeCommitRequest() {
|
|
45735
|
-
return { volumeId: "" };
|
|
46941
|
+
return { volumeId: "", containerId: void 0 };
|
|
45736
46942
|
}
|
|
45737
46943
|
var VolumeCommitRequest = {
|
|
45738
46944
|
encode(message, writer = new BinaryWriter()) {
|
|
45739
46945
|
if (message.volumeId !== "") {
|
|
45740
46946
|
writer.uint32(10).string(message.volumeId);
|
|
45741
46947
|
}
|
|
46948
|
+
if (message.containerId !== void 0) {
|
|
46949
|
+
writer.uint32(18).string(message.containerId);
|
|
46950
|
+
}
|
|
45742
46951
|
return writer;
|
|
45743
46952
|
},
|
|
45744
46953
|
decode(input, length) {
|
|
@@ -45755,6 +46964,13 @@ var VolumeCommitRequest = {
|
|
|
45755
46964
|
message.volumeId = reader.string();
|
|
45756
46965
|
continue;
|
|
45757
46966
|
}
|
|
46967
|
+
case 2: {
|
|
46968
|
+
if (tag !== 18) {
|
|
46969
|
+
break;
|
|
46970
|
+
}
|
|
46971
|
+
message.containerId = reader.string();
|
|
46972
|
+
continue;
|
|
46973
|
+
}
|
|
45758
46974
|
}
|
|
45759
46975
|
if ((tag & 7) === 4 || tag === 0) {
|
|
45760
46976
|
break;
|
|
@@ -45764,13 +46980,19 @@ var VolumeCommitRequest = {
|
|
|
45764
46980
|
return message;
|
|
45765
46981
|
},
|
|
45766
46982
|
fromJSON(object) {
|
|
45767
|
-
return {
|
|
46983
|
+
return {
|
|
46984
|
+
volumeId: isSet5(object.volumeId) ? globalThis.String(object.volumeId) : "",
|
|
46985
|
+
containerId: isSet5(object.containerId) ? globalThis.String(object.containerId) : void 0
|
|
46986
|
+
};
|
|
45768
46987
|
},
|
|
45769
46988
|
toJSON(message) {
|
|
45770
46989
|
const obj = {};
|
|
45771
46990
|
if (message.volumeId !== "") {
|
|
45772
46991
|
obj.volumeId = message.volumeId;
|
|
45773
46992
|
}
|
|
46993
|
+
if (message.containerId !== void 0) {
|
|
46994
|
+
obj.containerId = message.containerId;
|
|
46995
|
+
}
|
|
45774
46996
|
return obj;
|
|
45775
46997
|
},
|
|
45776
46998
|
create(base) {
|
|
@@ -45779,6 +47001,7 @@ var VolumeCommitRequest = {
|
|
|
45779
47001
|
fromPartial(object) {
|
|
45780
47002
|
const message = createBaseVolumeCommitRequest();
|
|
45781
47003
|
message.volumeId = object.volumeId ?? "";
|
|
47004
|
+
message.containerId = object.containerId ?? void 0;
|
|
45782
47005
|
return message;
|
|
45783
47006
|
}
|
|
45784
47007
|
};
|
|
@@ -48705,8 +49928,495 @@ var WebhookConfig = {
|
|
|
48705
49928
|
return message;
|
|
48706
49929
|
}
|
|
48707
49930
|
};
|
|
49931
|
+
function createBaseWebhookToken() {
|
|
49932
|
+
return { tokenId: "", createdAt: 0, scoped: false };
|
|
49933
|
+
}
|
|
49934
|
+
var WebhookToken = {
|
|
49935
|
+
encode(message, writer = new BinaryWriter()) {
|
|
49936
|
+
if (message.tokenId !== "") {
|
|
49937
|
+
writer.uint32(10).string(message.tokenId);
|
|
49938
|
+
}
|
|
49939
|
+
if (message.createdAt !== 0) {
|
|
49940
|
+
writer.uint32(17).double(message.createdAt);
|
|
49941
|
+
}
|
|
49942
|
+
if (message.scoped !== false) {
|
|
49943
|
+
writer.uint32(24).bool(message.scoped);
|
|
49944
|
+
}
|
|
49945
|
+
return writer;
|
|
49946
|
+
},
|
|
49947
|
+
decode(input, length) {
|
|
49948
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
49949
|
+
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
49950
|
+
const message = createBaseWebhookToken();
|
|
49951
|
+
while (reader.pos < end) {
|
|
49952
|
+
const tag = reader.uint32();
|
|
49953
|
+
switch (tag >>> 3) {
|
|
49954
|
+
case 1: {
|
|
49955
|
+
if (tag !== 10) {
|
|
49956
|
+
break;
|
|
49957
|
+
}
|
|
49958
|
+
message.tokenId = reader.string();
|
|
49959
|
+
continue;
|
|
49960
|
+
}
|
|
49961
|
+
case 2: {
|
|
49962
|
+
if (tag !== 17) {
|
|
49963
|
+
break;
|
|
49964
|
+
}
|
|
49965
|
+
message.createdAt = reader.double();
|
|
49966
|
+
continue;
|
|
49967
|
+
}
|
|
49968
|
+
case 3: {
|
|
49969
|
+
if (tag !== 24) {
|
|
49970
|
+
break;
|
|
49971
|
+
}
|
|
49972
|
+
message.scoped = reader.bool();
|
|
49973
|
+
continue;
|
|
49974
|
+
}
|
|
49975
|
+
}
|
|
49976
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
49977
|
+
break;
|
|
49978
|
+
}
|
|
49979
|
+
reader.skip(tag & 7);
|
|
49980
|
+
}
|
|
49981
|
+
return message;
|
|
49982
|
+
},
|
|
49983
|
+
fromJSON(object) {
|
|
49984
|
+
return {
|
|
49985
|
+
tokenId: isSet5(object.tokenId) ? globalThis.String(object.tokenId) : "",
|
|
49986
|
+
createdAt: isSet5(object.createdAt) ? globalThis.Number(object.createdAt) : 0,
|
|
49987
|
+
scoped: isSet5(object.scoped) ? globalThis.Boolean(object.scoped) : false
|
|
49988
|
+
};
|
|
49989
|
+
},
|
|
49990
|
+
toJSON(message) {
|
|
49991
|
+
const obj = {};
|
|
49992
|
+
if (message.tokenId !== "") {
|
|
49993
|
+
obj.tokenId = message.tokenId;
|
|
49994
|
+
}
|
|
49995
|
+
if (message.createdAt !== 0) {
|
|
49996
|
+
obj.createdAt = message.createdAt;
|
|
49997
|
+
}
|
|
49998
|
+
if (message.scoped !== false) {
|
|
49999
|
+
obj.scoped = message.scoped;
|
|
50000
|
+
}
|
|
50001
|
+
return obj;
|
|
50002
|
+
},
|
|
50003
|
+
create(base) {
|
|
50004
|
+
return WebhookToken.fromPartial(base ?? {});
|
|
50005
|
+
},
|
|
50006
|
+
fromPartial(object) {
|
|
50007
|
+
const message = createBaseWebhookToken();
|
|
50008
|
+
message.tokenId = object.tokenId ?? "";
|
|
50009
|
+
message.createdAt = object.createdAt ?? 0;
|
|
50010
|
+
message.scoped = object.scoped ?? false;
|
|
50011
|
+
return message;
|
|
50012
|
+
}
|
|
50013
|
+
};
|
|
50014
|
+
function createBaseWebhookTokenCreateRequest() {
|
|
50015
|
+
return { scoped: false };
|
|
50016
|
+
}
|
|
50017
|
+
var WebhookTokenCreateRequest = {
|
|
50018
|
+
encode(message, writer = new BinaryWriter()) {
|
|
50019
|
+
if (message.scoped !== false) {
|
|
50020
|
+
writer.uint32(8).bool(message.scoped);
|
|
50021
|
+
}
|
|
50022
|
+
return writer;
|
|
50023
|
+
},
|
|
50024
|
+
decode(input, length) {
|
|
50025
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
50026
|
+
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
50027
|
+
const message = createBaseWebhookTokenCreateRequest();
|
|
50028
|
+
while (reader.pos < end) {
|
|
50029
|
+
const tag = reader.uint32();
|
|
50030
|
+
switch (tag >>> 3) {
|
|
50031
|
+
case 1: {
|
|
50032
|
+
if (tag !== 8) {
|
|
50033
|
+
break;
|
|
50034
|
+
}
|
|
50035
|
+
message.scoped = reader.bool();
|
|
50036
|
+
continue;
|
|
50037
|
+
}
|
|
50038
|
+
}
|
|
50039
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
50040
|
+
break;
|
|
50041
|
+
}
|
|
50042
|
+
reader.skip(tag & 7);
|
|
50043
|
+
}
|
|
50044
|
+
return message;
|
|
50045
|
+
},
|
|
50046
|
+
fromJSON(object) {
|
|
50047
|
+
return { scoped: isSet5(object.scoped) ? globalThis.Boolean(object.scoped) : false };
|
|
50048
|
+
},
|
|
50049
|
+
toJSON(message) {
|
|
50050
|
+
const obj = {};
|
|
50051
|
+
if (message.scoped !== false) {
|
|
50052
|
+
obj.scoped = message.scoped;
|
|
50053
|
+
}
|
|
50054
|
+
return obj;
|
|
50055
|
+
},
|
|
50056
|
+
create(base) {
|
|
50057
|
+
return WebhookTokenCreateRequest.fromPartial(base ?? {});
|
|
50058
|
+
},
|
|
50059
|
+
fromPartial(object) {
|
|
50060
|
+
const message = createBaseWebhookTokenCreateRequest();
|
|
50061
|
+
message.scoped = object.scoped ?? false;
|
|
50062
|
+
return message;
|
|
50063
|
+
}
|
|
50064
|
+
};
|
|
50065
|
+
function createBaseWebhookTokenEnvironmentAddRequest() {
|
|
50066
|
+
return { tokenId: "", environmentId: "" };
|
|
50067
|
+
}
|
|
50068
|
+
var WebhookTokenEnvironmentAddRequest = {
|
|
50069
|
+
encode(message, writer = new BinaryWriter()) {
|
|
50070
|
+
if (message.tokenId !== "") {
|
|
50071
|
+
writer.uint32(10).string(message.tokenId);
|
|
50072
|
+
}
|
|
50073
|
+
if (message.environmentId !== "") {
|
|
50074
|
+
writer.uint32(18).string(message.environmentId);
|
|
50075
|
+
}
|
|
50076
|
+
return writer;
|
|
50077
|
+
},
|
|
50078
|
+
decode(input, length) {
|
|
50079
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
50080
|
+
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
50081
|
+
const message = createBaseWebhookTokenEnvironmentAddRequest();
|
|
50082
|
+
while (reader.pos < end) {
|
|
50083
|
+
const tag = reader.uint32();
|
|
50084
|
+
switch (tag >>> 3) {
|
|
50085
|
+
case 1: {
|
|
50086
|
+
if (tag !== 10) {
|
|
50087
|
+
break;
|
|
50088
|
+
}
|
|
50089
|
+
message.tokenId = reader.string();
|
|
50090
|
+
continue;
|
|
50091
|
+
}
|
|
50092
|
+
case 2: {
|
|
50093
|
+
if (tag !== 18) {
|
|
50094
|
+
break;
|
|
50095
|
+
}
|
|
50096
|
+
message.environmentId = reader.string();
|
|
50097
|
+
continue;
|
|
50098
|
+
}
|
|
50099
|
+
}
|
|
50100
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
50101
|
+
break;
|
|
50102
|
+
}
|
|
50103
|
+
reader.skip(tag & 7);
|
|
50104
|
+
}
|
|
50105
|
+
return message;
|
|
50106
|
+
},
|
|
50107
|
+
fromJSON(object) {
|
|
50108
|
+
return {
|
|
50109
|
+
tokenId: isSet5(object.tokenId) ? globalThis.String(object.tokenId) : "",
|
|
50110
|
+
environmentId: isSet5(object.environmentId) ? globalThis.String(object.environmentId) : ""
|
|
50111
|
+
};
|
|
50112
|
+
},
|
|
50113
|
+
toJSON(message) {
|
|
50114
|
+
const obj = {};
|
|
50115
|
+
if (message.tokenId !== "") {
|
|
50116
|
+
obj.tokenId = message.tokenId;
|
|
50117
|
+
}
|
|
50118
|
+
if (message.environmentId !== "") {
|
|
50119
|
+
obj.environmentId = message.environmentId;
|
|
50120
|
+
}
|
|
50121
|
+
return obj;
|
|
50122
|
+
},
|
|
50123
|
+
create(base) {
|
|
50124
|
+
return WebhookTokenEnvironmentAddRequest.fromPartial(base ?? {});
|
|
50125
|
+
},
|
|
50126
|
+
fromPartial(object) {
|
|
50127
|
+
const message = createBaseWebhookTokenEnvironmentAddRequest();
|
|
50128
|
+
message.tokenId = object.tokenId ?? "";
|
|
50129
|
+
message.environmentId = object.environmentId ?? "";
|
|
50130
|
+
return message;
|
|
50131
|
+
}
|
|
50132
|
+
};
|
|
50133
|
+
function createBaseWebhookTokenEnvironmentListRequest() {
|
|
50134
|
+
return { tokenId: "" };
|
|
50135
|
+
}
|
|
50136
|
+
var WebhookTokenEnvironmentListRequest = {
|
|
50137
|
+
encode(message, writer = new BinaryWriter()) {
|
|
50138
|
+
if (message.tokenId !== "") {
|
|
50139
|
+
writer.uint32(10).string(message.tokenId);
|
|
50140
|
+
}
|
|
50141
|
+
return writer;
|
|
50142
|
+
},
|
|
50143
|
+
decode(input, length) {
|
|
50144
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
50145
|
+
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
50146
|
+
const message = createBaseWebhookTokenEnvironmentListRequest();
|
|
50147
|
+
while (reader.pos < end) {
|
|
50148
|
+
const tag = reader.uint32();
|
|
50149
|
+
switch (tag >>> 3) {
|
|
50150
|
+
case 1: {
|
|
50151
|
+
if (tag !== 10) {
|
|
50152
|
+
break;
|
|
50153
|
+
}
|
|
50154
|
+
message.tokenId = reader.string();
|
|
50155
|
+
continue;
|
|
50156
|
+
}
|
|
50157
|
+
}
|
|
50158
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
50159
|
+
break;
|
|
50160
|
+
}
|
|
50161
|
+
reader.skip(tag & 7);
|
|
50162
|
+
}
|
|
50163
|
+
return message;
|
|
50164
|
+
},
|
|
50165
|
+
fromJSON(object) {
|
|
50166
|
+
return { tokenId: isSet5(object.tokenId) ? globalThis.String(object.tokenId) : "" };
|
|
50167
|
+
},
|
|
50168
|
+
toJSON(message) {
|
|
50169
|
+
const obj = {};
|
|
50170
|
+
if (message.tokenId !== "") {
|
|
50171
|
+
obj.tokenId = message.tokenId;
|
|
50172
|
+
}
|
|
50173
|
+
return obj;
|
|
50174
|
+
},
|
|
50175
|
+
create(base) {
|
|
50176
|
+
return WebhookTokenEnvironmentListRequest.fromPartial(base ?? {});
|
|
50177
|
+
},
|
|
50178
|
+
fromPartial(object) {
|
|
50179
|
+
const message = createBaseWebhookTokenEnvironmentListRequest();
|
|
50180
|
+
message.tokenId = object.tokenId ?? "";
|
|
50181
|
+
return message;
|
|
50182
|
+
}
|
|
50183
|
+
};
|
|
50184
|
+
function createBaseWebhookTokenEnvironmentListResponse() {
|
|
50185
|
+
return { environmentIds: [] };
|
|
50186
|
+
}
|
|
50187
|
+
var WebhookTokenEnvironmentListResponse = {
|
|
50188
|
+
encode(message, writer = new BinaryWriter()) {
|
|
50189
|
+
for (const v of message.environmentIds) {
|
|
50190
|
+
writer.uint32(10).string(v);
|
|
50191
|
+
}
|
|
50192
|
+
return writer;
|
|
50193
|
+
},
|
|
50194
|
+
decode(input, length) {
|
|
50195
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
50196
|
+
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
50197
|
+
const message = createBaseWebhookTokenEnvironmentListResponse();
|
|
50198
|
+
while (reader.pos < end) {
|
|
50199
|
+
const tag = reader.uint32();
|
|
50200
|
+
switch (tag >>> 3) {
|
|
50201
|
+
case 1: {
|
|
50202
|
+
if (tag !== 10) {
|
|
50203
|
+
break;
|
|
50204
|
+
}
|
|
50205
|
+
message.environmentIds.push(reader.string());
|
|
50206
|
+
continue;
|
|
50207
|
+
}
|
|
50208
|
+
}
|
|
50209
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
50210
|
+
break;
|
|
50211
|
+
}
|
|
50212
|
+
reader.skip(tag & 7);
|
|
50213
|
+
}
|
|
50214
|
+
return message;
|
|
50215
|
+
},
|
|
50216
|
+
fromJSON(object) {
|
|
50217
|
+
return {
|
|
50218
|
+
environmentIds: globalThis.Array.isArray(object?.environmentIds) ? object.environmentIds.map((e) => globalThis.String(e)) : []
|
|
50219
|
+
};
|
|
50220
|
+
},
|
|
50221
|
+
toJSON(message) {
|
|
50222
|
+
const obj = {};
|
|
50223
|
+
if (message.environmentIds?.length) {
|
|
50224
|
+
obj.environmentIds = message.environmentIds;
|
|
50225
|
+
}
|
|
50226
|
+
return obj;
|
|
50227
|
+
},
|
|
50228
|
+
create(base) {
|
|
50229
|
+
return WebhookTokenEnvironmentListResponse.fromPartial(base ?? {});
|
|
50230
|
+
},
|
|
50231
|
+
fromPartial(object) {
|
|
50232
|
+
const message = createBaseWebhookTokenEnvironmentListResponse();
|
|
50233
|
+
message.environmentIds = object.environmentIds?.map((e) => e) || [];
|
|
50234
|
+
return message;
|
|
50235
|
+
}
|
|
50236
|
+
};
|
|
50237
|
+
function createBaseWebhookTokenEnvironmentRemoveRequest() {
|
|
50238
|
+
return { tokenId: "", environmentId: "" };
|
|
50239
|
+
}
|
|
50240
|
+
var WebhookTokenEnvironmentRemoveRequest = {
|
|
50241
|
+
encode(message, writer = new BinaryWriter()) {
|
|
50242
|
+
if (message.tokenId !== "") {
|
|
50243
|
+
writer.uint32(10).string(message.tokenId);
|
|
50244
|
+
}
|
|
50245
|
+
if (message.environmentId !== "") {
|
|
50246
|
+
writer.uint32(18).string(message.environmentId);
|
|
50247
|
+
}
|
|
50248
|
+
return writer;
|
|
50249
|
+
},
|
|
50250
|
+
decode(input, length) {
|
|
50251
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
50252
|
+
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
50253
|
+
const message = createBaseWebhookTokenEnvironmentRemoveRequest();
|
|
50254
|
+
while (reader.pos < end) {
|
|
50255
|
+
const tag = reader.uint32();
|
|
50256
|
+
switch (tag >>> 3) {
|
|
50257
|
+
case 1: {
|
|
50258
|
+
if (tag !== 10) {
|
|
50259
|
+
break;
|
|
50260
|
+
}
|
|
50261
|
+
message.tokenId = reader.string();
|
|
50262
|
+
continue;
|
|
50263
|
+
}
|
|
50264
|
+
case 2: {
|
|
50265
|
+
if (tag !== 18) {
|
|
50266
|
+
break;
|
|
50267
|
+
}
|
|
50268
|
+
message.environmentId = reader.string();
|
|
50269
|
+
continue;
|
|
50270
|
+
}
|
|
50271
|
+
}
|
|
50272
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
50273
|
+
break;
|
|
50274
|
+
}
|
|
50275
|
+
reader.skip(tag & 7);
|
|
50276
|
+
}
|
|
50277
|
+
return message;
|
|
50278
|
+
},
|
|
50279
|
+
fromJSON(object) {
|
|
50280
|
+
return {
|
|
50281
|
+
tokenId: isSet5(object.tokenId) ? globalThis.String(object.tokenId) : "",
|
|
50282
|
+
environmentId: isSet5(object.environmentId) ? globalThis.String(object.environmentId) : ""
|
|
50283
|
+
};
|
|
50284
|
+
},
|
|
50285
|
+
toJSON(message) {
|
|
50286
|
+
const obj = {};
|
|
50287
|
+
if (message.tokenId !== "") {
|
|
50288
|
+
obj.tokenId = message.tokenId;
|
|
50289
|
+
}
|
|
50290
|
+
if (message.environmentId !== "") {
|
|
50291
|
+
obj.environmentId = message.environmentId;
|
|
50292
|
+
}
|
|
50293
|
+
return obj;
|
|
50294
|
+
},
|
|
50295
|
+
create(base) {
|
|
50296
|
+
return WebhookTokenEnvironmentRemoveRequest.fromPartial(base ?? {});
|
|
50297
|
+
},
|
|
50298
|
+
fromPartial(object) {
|
|
50299
|
+
const message = createBaseWebhookTokenEnvironmentRemoveRequest();
|
|
50300
|
+
message.tokenId = object.tokenId ?? "";
|
|
50301
|
+
message.environmentId = object.environmentId ?? "";
|
|
50302
|
+
return message;
|
|
50303
|
+
}
|
|
50304
|
+
};
|
|
50305
|
+
function createBaseWebhookTokenListForEnvironmentRequest() {
|
|
50306
|
+
return { environmentName: "" };
|
|
50307
|
+
}
|
|
50308
|
+
var WebhookTokenListForEnvironmentRequest = {
|
|
50309
|
+
encode(message, writer = new BinaryWriter()) {
|
|
50310
|
+
if (message.environmentName !== "") {
|
|
50311
|
+
writer.uint32(10).string(message.environmentName);
|
|
50312
|
+
}
|
|
50313
|
+
return writer;
|
|
50314
|
+
},
|
|
50315
|
+
decode(input, length) {
|
|
50316
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
50317
|
+
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
50318
|
+
const message = createBaseWebhookTokenListForEnvironmentRequest();
|
|
50319
|
+
while (reader.pos < end) {
|
|
50320
|
+
const tag = reader.uint32();
|
|
50321
|
+
switch (tag >>> 3) {
|
|
50322
|
+
case 1: {
|
|
50323
|
+
if (tag !== 10) {
|
|
50324
|
+
break;
|
|
50325
|
+
}
|
|
50326
|
+
message.environmentName = reader.string();
|
|
50327
|
+
continue;
|
|
50328
|
+
}
|
|
50329
|
+
}
|
|
50330
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
50331
|
+
break;
|
|
50332
|
+
}
|
|
50333
|
+
reader.skip(tag & 7);
|
|
50334
|
+
}
|
|
50335
|
+
return message;
|
|
50336
|
+
},
|
|
50337
|
+
fromJSON(object) {
|
|
50338
|
+
return { environmentName: isSet5(object.environmentName) ? globalThis.String(object.environmentName) : "" };
|
|
50339
|
+
},
|
|
50340
|
+
toJSON(message) {
|
|
50341
|
+
const obj = {};
|
|
50342
|
+
if (message.environmentName !== "") {
|
|
50343
|
+
obj.environmentName = message.environmentName;
|
|
50344
|
+
}
|
|
50345
|
+
return obj;
|
|
50346
|
+
},
|
|
50347
|
+
create(base) {
|
|
50348
|
+
return WebhookTokenListForEnvironmentRequest.fromPartial(base ?? {});
|
|
50349
|
+
},
|
|
50350
|
+
fromPartial(object) {
|
|
50351
|
+
const message = createBaseWebhookTokenListForEnvironmentRequest();
|
|
50352
|
+
message.environmentName = object.environmentName ?? "";
|
|
50353
|
+
return message;
|
|
50354
|
+
}
|
|
50355
|
+
};
|
|
50356
|
+
function createBaseWebhookTokenListResponse() {
|
|
50357
|
+
return { tokens: [] };
|
|
50358
|
+
}
|
|
50359
|
+
var WebhookTokenListResponse = {
|
|
50360
|
+
encode(message, writer = new BinaryWriter()) {
|
|
50361
|
+
for (const v of message.tokens) {
|
|
50362
|
+
WebhookToken.encode(v, writer.uint32(10).fork()).join();
|
|
50363
|
+
}
|
|
50364
|
+
return writer;
|
|
50365
|
+
},
|
|
50366
|
+
decode(input, length) {
|
|
50367
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
50368
|
+
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
50369
|
+
const message = createBaseWebhookTokenListResponse();
|
|
50370
|
+
while (reader.pos < end) {
|
|
50371
|
+
const tag = reader.uint32();
|
|
50372
|
+
switch (tag >>> 3) {
|
|
50373
|
+
case 1: {
|
|
50374
|
+
if (tag !== 10) {
|
|
50375
|
+
break;
|
|
50376
|
+
}
|
|
50377
|
+
message.tokens.push(WebhookToken.decode(reader, reader.uint32()));
|
|
50378
|
+
continue;
|
|
50379
|
+
}
|
|
50380
|
+
}
|
|
50381
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
50382
|
+
break;
|
|
50383
|
+
}
|
|
50384
|
+
reader.skip(tag & 7);
|
|
50385
|
+
}
|
|
50386
|
+
return message;
|
|
50387
|
+
},
|
|
50388
|
+
fromJSON(object) {
|
|
50389
|
+
return {
|
|
50390
|
+
tokens: globalThis.Array.isArray(object?.tokens) ? object.tokens.map((e) => WebhookToken.fromJSON(e)) : []
|
|
50391
|
+
};
|
|
50392
|
+
},
|
|
50393
|
+
toJSON(message) {
|
|
50394
|
+
const obj = {};
|
|
50395
|
+
if (message.tokens?.length) {
|
|
50396
|
+
obj.tokens = message.tokens.map((e) => WebhookToken.toJSON(e));
|
|
50397
|
+
}
|
|
50398
|
+
return obj;
|
|
50399
|
+
},
|
|
50400
|
+
create(base) {
|
|
50401
|
+
return WebhookTokenListResponse.fromPartial(base ?? {});
|
|
50402
|
+
},
|
|
50403
|
+
fromPartial(object) {
|
|
50404
|
+
const message = createBaseWebhookTokenListResponse();
|
|
50405
|
+
message.tokens = object.tokens?.map((e) => WebhookToken.fromPartial(e)) || [];
|
|
50406
|
+
return message;
|
|
50407
|
+
}
|
|
50408
|
+
};
|
|
48708
50409
|
function createBaseWorkspaceBillingReportItem() {
|
|
48709
|
-
return {
|
|
50410
|
+
return {
|
|
50411
|
+
objectId: "",
|
|
50412
|
+
description: "",
|
|
50413
|
+
environmentName: "",
|
|
50414
|
+
interval: void 0,
|
|
50415
|
+
cost: "",
|
|
50416
|
+
tags: {},
|
|
50417
|
+
costByResourceFloat: {},
|
|
50418
|
+
costByResource: {}
|
|
50419
|
+
};
|
|
48710
50420
|
}
|
|
48711
50421
|
var WorkspaceBillingReportItem = {
|
|
48712
50422
|
encode(message, writer = new BinaryWriter()) {
|
|
@@ -48728,6 +50438,12 @@ var WorkspaceBillingReportItem = {
|
|
|
48728
50438
|
Object.entries(message.tags).forEach(([key, value]) => {
|
|
48729
50439
|
WorkspaceBillingReportItem_TagsEntry.encode({ key, value }, writer.uint32(50).fork()).join();
|
|
48730
50440
|
});
|
|
50441
|
+
Object.entries(message.costByResourceFloat).forEach(([key, value]) => {
|
|
50442
|
+
WorkspaceBillingReportItem_CostByResourceFloatEntry.encode({ key, value }, writer.uint32(58).fork()).join();
|
|
50443
|
+
});
|
|
50444
|
+
Object.entries(message.costByResource).forEach(([key, value]) => {
|
|
50445
|
+
WorkspaceBillingReportItem_CostByResourceEntry.encode({ key, value }, writer.uint32(66).fork()).join();
|
|
50446
|
+
});
|
|
48731
50447
|
return writer;
|
|
48732
50448
|
},
|
|
48733
50449
|
decode(input, length) {
|
|
@@ -48782,6 +50498,26 @@ var WorkspaceBillingReportItem = {
|
|
|
48782
50498
|
}
|
|
48783
50499
|
continue;
|
|
48784
50500
|
}
|
|
50501
|
+
case 7: {
|
|
50502
|
+
if (tag !== 58) {
|
|
50503
|
+
break;
|
|
50504
|
+
}
|
|
50505
|
+
const entry7 = WorkspaceBillingReportItem_CostByResourceFloatEntry.decode(reader, reader.uint32());
|
|
50506
|
+
if (entry7.value !== void 0) {
|
|
50507
|
+
message.costByResourceFloat[entry7.key] = entry7.value;
|
|
50508
|
+
}
|
|
50509
|
+
continue;
|
|
50510
|
+
}
|
|
50511
|
+
case 8: {
|
|
50512
|
+
if (tag !== 66) {
|
|
50513
|
+
break;
|
|
50514
|
+
}
|
|
50515
|
+
const entry8 = WorkspaceBillingReportItem_CostByResourceEntry.decode(reader, reader.uint32());
|
|
50516
|
+
if (entry8.value !== void 0) {
|
|
50517
|
+
message.costByResource[entry8.key] = entry8.value;
|
|
50518
|
+
}
|
|
50519
|
+
continue;
|
|
50520
|
+
}
|
|
48785
50521
|
}
|
|
48786
50522
|
if ((tag & 7) === 4 || tag === 0) {
|
|
48787
50523
|
break;
|
|
@@ -48800,6 +50536,14 @@ var WorkspaceBillingReportItem = {
|
|
|
48800
50536
|
tags: isObject2(object.tags) ? Object.entries(object.tags).reduce((acc, [key, value]) => {
|
|
48801
50537
|
acc[key] = String(value);
|
|
48802
50538
|
return acc;
|
|
50539
|
+
}, {}) : {},
|
|
50540
|
+
costByResourceFloat: isObject2(object.costByResourceFloat) ? Object.entries(object.costByResourceFloat).reduce((acc, [key, value]) => {
|
|
50541
|
+
acc[key] = Number(value);
|
|
50542
|
+
return acc;
|
|
50543
|
+
}, {}) : {},
|
|
50544
|
+
costByResource: isObject2(object.costByResource) ? Object.entries(object.costByResource).reduce((acc, [key, value]) => {
|
|
50545
|
+
acc[key] = String(value);
|
|
50546
|
+
return acc;
|
|
48803
50547
|
}, {}) : {}
|
|
48804
50548
|
};
|
|
48805
50549
|
},
|
|
@@ -48829,6 +50573,24 @@ var WorkspaceBillingReportItem = {
|
|
|
48829
50573
|
});
|
|
48830
50574
|
}
|
|
48831
50575
|
}
|
|
50576
|
+
if (message.costByResourceFloat) {
|
|
50577
|
+
const entries = Object.entries(message.costByResourceFloat);
|
|
50578
|
+
if (entries.length > 0) {
|
|
50579
|
+
obj.costByResourceFloat = {};
|
|
50580
|
+
entries.forEach(([k, v]) => {
|
|
50581
|
+
obj.costByResourceFloat[k] = v;
|
|
50582
|
+
});
|
|
50583
|
+
}
|
|
50584
|
+
}
|
|
50585
|
+
if (message.costByResource) {
|
|
50586
|
+
const entries = Object.entries(message.costByResource);
|
|
50587
|
+
if (entries.length > 0) {
|
|
50588
|
+
obj.costByResource = {};
|
|
50589
|
+
entries.forEach(([k, v]) => {
|
|
50590
|
+
obj.costByResource[k] = v;
|
|
50591
|
+
});
|
|
50592
|
+
}
|
|
50593
|
+
}
|
|
48832
50594
|
return obj;
|
|
48833
50595
|
},
|
|
48834
50596
|
create(base) {
|
|
@@ -48847,6 +50609,24 @@ var WorkspaceBillingReportItem = {
|
|
|
48847
50609
|
}
|
|
48848
50610
|
return acc;
|
|
48849
50611
|
}, {});
|
|
50612
|
+
message.costByResourceFloat = Object.entries(object.costByResourceFloat ?? {}).reduce(
|
|
50613
|
+
(acc, [key, value]) => {
|
|
50614
|
+
if (value !== void 0) {
|
|
50615
|
+
acc[key] = globalThis.Number(value);
|
|
50616
|
+
}
|
|
50617
|
+
return acc;
|
|
50618
|
+
},
|
|
50619
|
+
{}
|
|
50620
|
+
);
|
|
50621
|
+
message.costByResource = Object.entries(object.costByResource ?? {}).reduce(
|
|
50622
|
+
(acc, [key, value]) => {
|
|
50623
|
+
if (value !== void 0) {
|
|
50624
|
+
acc[key] = globalThis.String(value);
|
|
50625
|
+
}
|
|
50626
|
+
return acc;
|
|
50627
|
+
},
|
|
50628
|
+
{}
|
|
50629
|
+
);
|
|
48850
50630
|
return message;
|
|
48851
50631
|
}
|
|
48852
50632
|
};
|
|
@@ -48918,8 +50698,151 @@ var WorkspaceBillingReportItem_TagsEntry = {
|
|
|
48918
50698
|
return message;
|
|
48919
50699
|
}
|
|
48920
50700
|
};
|
|
50701
|
+
function createBaseWorkspaceBillingReportItem_CostByResourceFloatEntry() {
|
|
50702
|
+
return { key: "", value: 0 };
|
|
50703
|
+
}
|
|
50704
|
+
var WorkspaceBillingReportItem_CostByResourceFloatEntry = {
|
|
50705
|
+
encode(message, writer = new BinaryWriter()) {
|
|
50706
|
+
if (message.key !== "") {
|
|
50707
|
+
writer.uint32(10).string(message.key);
|
|
50708
|
+
}
|
|
50709
|
+
if (message.value !== 0) {
|
|
50710
|
+
writer.uint32(17).double(message.value);
|
|
50711
|
+
}
|
|
50712
|
+
return writer;
|
|
50713
|
+
},
|
|
50714
|
+
decode(input, length) {
|
|
50715
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
50716
|
+
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
50717
|
+
const message = createBaseWorkspaceBillingReportItem_CostByResourceFloatEntry();
|
|
50718
|
+
while (reader.pos < end) {
|
|
50719
|
+
const tag = reader.uint32();
|
|
50720
|
+
switch (tag >>> 3) {
|
|
50721
|
+
case 1: {
|
|
50722
|
+
if (tag !== 10) {
|
|
50723
|
+
break;
|
|
50724
|
+
}
|
|
50725
|
+
message.key = reader.string();
|
|
50726
|
+
continue;
|
|
50727
|
+
}
|
|
50728
|
+
case 2: {
|
|
50729
|
+
if (tag !== 17) {
|
|
50730
|
+
break;
|
|
50731
|
+
}
|
|
50732
|
+
message.value = reader.double();
|
|
50733
|
+
continue;
|
|
50734
|
+
}
|
|
50735
|
+
}
|
|
50736
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
50737
|
+
break;
|
|
50738
|
+
}
|
|
50739
|
+
reader.skip(tag & 7);
|
|
50740
|
+
}
|
|
50741
|
+
return message;
|
|
50742
|
+
},
|
|
50743
|
+
fromJSON(object) {
|
|
50744
|
+
return {
|
|
50745
|
+
key: isSet5(object.key) ? globalThis.String(object.key) : "",
|
|
50746
|
+
value: isSet5(object.value) ? globalThis.Number(object.value) : 0
|
|
50747
|
+
};
|
|
50748
|
+
},
|
|
50749
|
+
toJSON(message) {
|
|
50750
|
+
const obj = {};
|
|
50751
|
+
if (message.key !== "") {
|
|
50752
|
+
obj.key = message.key;
|
|
50753
|
+
}
|
|
50754
|
+
if (message.value !== 0) {
|
|
50755
|
+
obj.value = message.value;
|
|
50756
|
+
}
|
|
50757
|
+
return obj;
|
|
50758
|
+
},
|
|
50759
|
+
create(base) {
|
|
50760
|
+
return WorkspaceBillingReportItem_CostByResourceFloatEntry.fromPartial(base ?? {});
|
|
50761
|
+
},
|
|
50762
|
+
fromPartial(object) {
|
|
50763
|
+
const message = createBaseWorkspaceBillingReportItem_CostByResourceFloatEntry();
|
|
50764
|
+
message.key = object.key ?? "";
|
|
50765
|
+
message.value = object.value ?? 0;
|
|
50766
|
+
return message;
|
|
50767
|
+
}
|
|
50768
|
+
};
|
|
50769
|
+
function createBaseWorkspaceBillingReportItem_CostByResourceEntry() {
|
|
50770
|
+
return { key: "", value: "" };
|
|
50771
|
+
}
|
|
50772
|
+
var WorkspaceBillingReportItem_CostByResourceEntry = {
|
|
50773
|
+
encode(message, writer = new BinaryWriter()) {
|
|
50774
|
+
if (message.key !== "") {
|
|
50775
|
+
writer.uint32(10).string(message.key);
|
|
50776
|
+
}
|
|
50777
|
+
if (message.value !== "") {
|
|
50778
|
+
writer.uint32(18).string(message.value);
|
|
50779
|
+
}
|
|
50780
|
+
return writer;
|
|
50781
|
+
},
|
|
50782
|
+
decode(input, length) {
|
|
50783
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
50784
|
+
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
50785
|
+
const message = createBaseWorkspaceBillingReportItem_CostByResourceEntry();
|
|
50786
|
+
while (reader.pos < end) {
|
|
50787
|
+
const tag = reader.uint32();
|
|
50788
|
+
switch (tag >>> 3) {
|
|
50789
|
+
case 1: {
|
|
50790
|
+
if (tag !== 10) {
|
|
50791
|
+
break;
|
|
50792
|
+
}
|
|
50793
|
+
message.key = reader.string();
|
|
50794
|
+
continue;
|
|
50795
|
+
}
|
|
50796
|
+
case 2: {
|
|
50797
|
+
if (tag !== 18) {
|
|
50798
|
+
break;
|
|
50799
|
+
}
|
|
50800
|
+
message.value = reader.string();
|
|
50801
|
+
continue;
|
|
50802
|
+
}
|
|
50803
|
+
}
|
|
50804
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
50805
|
+
break;
|
|
50806
|
+
}
|
|
50807
|
+
reader.skip(tag & 7);
|
|
50808
|
+
}
|
|
50809
|
+
return message;
|
|
50810
|
+
},
|
|
50811
|
+
fromJSON(object) {
|
|
50812
|
+
return {
|
|
50813
|
+
key: isSet5(object.key) ? globalThis.String(object.key) : "",
|
|
50814
|
+
value: isSet5(object.value) ? globalThis.String(object.value) : ""
|
|
50815
|
+
};
|
|
50816
|
+
},
|
|
50817
|
+
toJSON(message) {
|
|
50818
|
+
const obj = {};
|
|
50819
|
+
if (message.key !== "") {
|
|
50820
|
+
obj.key = message.key;
|
|
50821
|
+
}
|
|
50822
|
+
if (message.value !== "") {
|
|
50823
|
+
obj.value = message.value;
|
|
50824
|
+
}
|
|
50825
|
+
return obj;
|
|
50826
|
+
},
|
|
50827
|
+
create(base) {
|
|
50828
|
+
return WorkspaceBillingReportItem_CostByResourceEntry.fromPartial(base ?? {});
|
|
50829
|
+
},
|
|
50830
|
+
fromPartial(object) {
|
|
50831
|
+
const message = createBaseWorkspaceBillingReportItem_CostByResourceEntry();
|
|
50832
|
+
message.key = object.key ?? "";
|
|
50833
|
+
message.value = object.value ?? "";
|
|
50834
|
+
return message;
|
|
50835
|
+
}
|
|
50836
|
+
};
|
|
48921
50837
|
function createBaseWorkspaceBillingReportRequest() {
|
|
48922
|
-
return {
|
|
50838
|
+
return {
|
|
50839
|
+
startTimestamp: void 0,
|
|
50840
|
+
endTimestamp: void 0,
|
|
50841
|
+
resolution: "",
|
|
50842
|
+
tagNames: [],
|
|
50843
|
+
environmentIds: [],
|
|
50844
|
+
appIds: []
|
|
50845
|
+
};
|
|
48923
50846
|
}
|
|
48924
50847
|
var WorkspaceBillingReportRequest = {
|
|
48925
50848
|
encode(message, writer = new BinaryWriter()) {
|
|
@@ -48935,6 +50858,12 @@ var WorkspaceBillingReportRequest = {
|
|
|
48935
50858
|
for (const v of message.tagNames) {
|
|
48936
50859
|
writer.uint32(34).string(v);
|
|
48937
50860
|
}
|
|
50861
|
+
for (const v of message.environmentIds) {
|
|
50862
|
+
writer.uint32(42).string(v);
|
|
50863
|
+
}
|
|
50864
|
+
for (const v of message.appIds) {
|
|
50865
|
+
writer.uint32(50).string(v);
|
|
50866
|
+
}
|
|
48938
50867
|
return writer;
|
|
48939
50868
|
},
|
|
48940
50869
|
decode(input, length) {
|
|
@@ -48972,6 +50901,20 @@ var WorkspaceBillingReportRequest = {
|
|
|
48972
50901
|
message.tagNames.push(reader.string());
|
|
48973
50902
|
continue;
|
|
48974
50903
|
}
|
|
50904
|
+
case 5: {
|
|
50905
|
+
if (tag !== 42) {
|
|
50906
|
+
break;
|
|
50907
|
+
}
|
|
50908
|
+
message.environmentIds.push(reader.string());
|
|
50909
|
+
continue;
|
|
50910
|
+
}
|
|
50911
|
+
case 6: {
|
|
50912
|
+
if (tag !== 50) {
|
|
50913
|
+
break;
|
|
50914
|
+
}
|
|
50915
|
+
message.appIds.push(reader.string());
|
|
50916
|
+
continue;
|
|
50917
|
+
}
|
|
48975
50918
|
}
|
|
48976
50919
|
if ((tag & 7) === 4 || tag === 0) {
|
|
48977
50920
|
break;
|
|
@@ -48985,7 +50928,9 @@ var WorkspaceBillingReportRequest = {
|
|
|
48985
50928
|
startTimestamp: isSet5(object.startTimestamp) ? fromJsonTimestamp(object.startTimestamp) : void 0,
|
|
48986
50929
|
endTimestamp: isSet5(object.endTimestamp) ? fromJsonTimestamp(object.endTimestamp) : void 0,
|
|
48987
50930
|
resolution: isSet5(object.resolution) ? globalThis.String(object.resolution) : "",
|
|
48988
|
-
tagNames: globalThis.Array.isArray(object?.tagNames) ? object.tagNames.map((e) => globalThis.String(e)) : []
|
|
50931
|
+
tagNames: globalThis.Array.isArray(object?.tagNames) ? object.tagNames.map((e) => globalThis.String(e)) : [],
|
|
50932
|
+
environmentIds: globalThis.Array.isArray(object?.environmentIds) ? object.environmentIds.map((e) => globalThis.String(e)) : [],
|
|
50933
|
+
appIds: globalThis.Array.isArray(object?.appIds) ? object.appIds.map((e) => globalThis.String(e)) : []
|
|
48989
50934
|
};
|
|
48990
50935
|
},
|
|
48991
50936
|
toJSON(message) {
|
|
@@ -49002,6 +50947,12 @@ var WorkspaceBillingReportRequest = {
|
|
|
49002
50947
|
if (message.tagNames?.length) {
|
|
49003
50948
|
obj.tagNames = message.tagNames;
|
|
49004
50949
|
}
|
|
50950
|
+
if (message.environmentIds?.length) {
|
|
50951
|
+
obj.environmentIds = message.environmentIds;
|
|
50952
|
+
}
|
|
50953
|
+
if (message.appIds?.length) {
|
|
50954
|
+
obj.appIds = message.appIds;
|
|
50955
|
+
}
|
|
49005
50956
|
return obj;
|
|
49006
50957
|
},
|
|
49007
50958
|
create(base) {
|
|
@@ -49013,6 +50964,8 @@ var WorkspaceBillingReportRequest = {
|
|
|
49013
50964
|
message.endTimestamp = object.endTimestamp ?? void 0;
|
|
49014
50965
|
message.resolution = object.resolution ?? "";
|
|
49015
50966
|
message.tagNames = object.tagNames?.map((e) => e) || [];
|
|
50967
|
+
message.environmentIds = object.environmentIds?.map((e) => e) || [];
|
|
50968
|
+
message.appIds = object.appIds?.map((e) => e) || [];
|
|
49016
50969
|
return message;
|
|
49017
50970
|
}
|
|
49018
50971
|
};
|
|
@@ -49454,6 +51407,231 @@ var WorkspaceNameLookupResponse = {
|
|
|
49454
51407
|
return message;
|
|
49455
51408
|
}
|
|
49456
51409
|
};
|
|
51410
|
+
function createBaseWorkspaceSetDefaultEnvironmentRequest() {
|
|
51411
|
+
return { environmentName: "" };
|
|
51412
|
+
}
|
|
51413
|
+
var WorkspaceSetDefaultEnvironmentRequest = {
|
|
51414
|
+
encode(message, writer = new BinaryWriter()) {
|
|
51415
|
+
if (message.environmentName !== "") {
|
|
51416
|
+
writer.uint32(10).string(message.environmentName);
|
|
51417
|
+
}
|
|
51418
|
+
return writer;
|
|
51419
|
+
},
|
|
51420
|
+
decode(input, length) {
|
|
51421
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
51422
|
+
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
51423
|
+
const message = createBaseWorkspaceSetDefaultEnvironmentRequest();
|
|
51424
|
+
while (reader.pos < end) {
|
|
51425
|
+
const tag = reader.uint32();
|
|
51426
|
+
switch (tag >>> 3) {
|
|
51427
|
+
case 1: {
|
|
51428
|
+
if (tag !== 10) {
|
|
51429
|
+
break;
|
|
51430
|
+
}
|
|
51431
|
+
message.environmentName = reader.string();
|
|
51432
|
+
continue;
|
|
51433
|
+
}
|
|
51434
|
+
}
|
|
51435
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
51436
|
+
break;
|
|
51437
|
+
}
|
|
51438
|
+
reader.skip(tag & 7);
|
|
51439
|
+
}
|
|
51440
|
+
return message;
|
|
51441
|
+
},
|
|
51442
|
+
fromJSON(object) {
|
|
51443
|
+
return { environmentName: isSet5(object.environmentName) ? globalThis.String(object.environmentName) : "" };
|
|
51444
|
+
},
|
|
51445
|
+
toJSON(message) {
|
|
51446
|
+
const obj = {};
|
|
51447
|
+
if (message.environmentName !== "") {
|
|
51448
|
+
obj.environmentName = message.environmentName;
|
|
51449
|
+
}
|
|
51450
|
+
return obj;
|
|
51451
|
+
},
|
|
51452
|
+
create(base) {
|
|
51453
|
+
return WorkspaceSetDefaultEnvironmentRequest.fromPartial(base ?? {});
|
|
51454
|
+
},
|
|
51455
|
+
fromPartial(object) {
|
|
51456
|
+
const message = createBaseWorkspaceSetDefaultEnvironmentRequest();
|
|
51457
|
+
message.environmentName = object.environmentName ?? "";
|
|
51458
|
+
return message;
|
|
51459
|
+
}
|
|
51460
|
+
};
|
|
51461
|
+
function createBaseWorkspaceSetImageBuilderVersionRequest() {
|
|
51462
|
+
return { newImageBuilderVersion: "" };
|
|
51463
|
+
}
|
|
51464
|
+
var WorkspaceSetImageBuilderVersionRequest = {
|
|
51465
|
+
encode(message, writer = new BinaryWriter()) {
|
|
51466
|
+
if (message.newImageBuilderVersion !== "") {
|
|
51467
|
+
writer.uint32(10).string(message.newImageBuilderVersion);
|
|
51468
|
+
}
|
|
51469
|
+
return writer;
|
|
51470
|
+
},
|
|
51471
|
+
decode(input, length) {
|
|
51472
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
51473
|
+
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
51474
|
+
const message = createBaseWorkspaceSetImageBuilderVersionRequest();
|
|
51475
|
+
while (reader.pos < end) {
|
|
51476
|
+
const tag = reader.uint32();
|
|
51477
|
+
switch (tag >>> 3) {
|
|
51478
|
+
case 1: {
|
|
51479
|
+
if (tag !== 10) {
|
|
51480
|
+
break;
|
|
51481
|
+
}
|
|
51482
|
+
message.newImageBuilderVersion = reader.string();
|
|
51483
|
+
continue;
|
|
51484
|
+
}
|
|
51485
|
+
}
|
|
51486
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
51487
|
+
break;
|
|
51488
|
+
}
|
|
51489
|
+
reader.skip(tag & 7);
|
|
51490
|
+
}
|
|
51491
|
+
return message;
|
|
51492
|
+
},
|
|
51493
|
+
fromJSON(object) {
|
|
51494
|
+
return {
|
|
51495
|
+
newImageBuilderVersion: isSet5(object.newImageBuilderVersion) ? globalThis.String(object.newImageBuilderVersion) : ""
|
|
51496
|
+
};
|
|
51497
|
+
},
|
|
51498
|
+
toJSON(message) {
|
|
51499
|
+
const obj = {};
|
|
51500
|
+
if (message.newImageBuilderVersion !== "") {
|
|
51501
|
+
obj.newImageBuilderVersion = message.newImageBuilderVersion;
|
|
51502
|
+
}
|
|
51503
|
+
return obj;
|
|
51504
|
+
},
|
|
51505
|
+
create(base) {
|
|
51506
|
+
return WorkspaceSetImageBuilderVersionRequest.fromPartial(base ?? {});
|
|
51507
|
+
},
|
|
51508
|
+
fromPartial(object) {
|
|
51509
|
+
const message = createBaseWorkspaceSetImageBuilderVersionRequest();
|
|
51510
|
+
message.newImageBuilderVersion = object.newImageBuilderVersion ?? "";
|
|
51511
|
+
return message;
|
|
51512
|
+
}
|
|
51513
|
+
};
|
|
51514
|
+
function createBaseWorkspaceSetImageBuilderVersionResponse() {
|
|
51515
|
+
return { imageBuilderVersion: "" };
|
|
51516
|
+
}
|
|
51517
|
+
var WorkspaceSetImageBuilderVersionResponse = {
|
|
51518
|
+
encode(message, writer = new BinaryWriter()) {
|
|
51519
|
+
if (message.imageBuilderVersion !== "") {
|
|
51520
|
+
writer.uint32(10).string(message.imageBuilderVersion);
|
|
51521
|
+
}
|
|
51522
|
+
return writer;
|
|
51523
|
+
},
|
|
51524
|
+
decode(input, length) {
|
|
51525
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
51526
|
+
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
51527
|
+
const message = createBaseWorkspaceSetImageBuilderVersionResponse();
|
|
51528
|
+
while (reader.pos < end) {
|
|
51529
|
+
const tag = reader.uint32();
|
|
51530
|
+
switch (tag >>> 3) {
|
|
51531
|
+
case 1: {
|
|
51532
|
+
if (tag !== 10) {
|
|
51533
|
+
break;
|
|
51534
|
+
}
|
|
51535
|
+
message.imageBuilderVersion = reader.string();
|
|
51536
|
+
continue;
|
|
51537
|
+
}
|
|
51538
|
+
}
|
|
51539
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
51540
|
+
break;
|
|
51541
|
+
}
|
|
51542
|
+
reader.skip(tag & 7);
|
|
51543
|
+
}
|
|
51544
|
+
return message;
|
|
51545
|
+
},
|
|
51546
|
+
fromJSON(object) {
|
|
51547
|
+
return {
|
|
51548
|
+
imageBuilderVersion: isSet5(object.imageBuilderVersion) ? globalThis.String(object.imageBuilderVersion) : ""
|
|
51549
|
+
};
|
|
51550
|
+
},
|
|
51551
|
+
toJSON(message) {
|
|
51552
|
+
const obj = {};
|
|
51553
|
+
if (message.imageBuilderVersion !== "") {
|
|
51554
|
+
obj.imageBuilderVersion = message.imageBuilderVersion;
|
|
51555
|
+
}
|
|
51556
|
+
return obj;
|
|
51557
|
+
},
|
|
51558
|
+
create(base) {
|
|
51559
|
+
return WorkspaceSetImageBuilderVersionResponse.fromPartial(base ?? {});
|
|
51560
|
+
},
|
|
51561
|
+
fromPartial(object) {
|
|
51562
|
+
const message = createBaseWorkspaceSetImageBuilderVersionResponse();
|
|
51563
|
+
message.imageBuilderVersion = object.imageBuilderVersion ?? "";
|
|
51564
|
+
return message;
|
|
51565
|
+
}
|
|
51566
|
+
};
|
|
51567
|
+
function createBaseWorkspaceSettingsResponse() {
|
|
51568
|
+
return { defaultEnvironmentName: "", imageBuilderVersion: "" };
|
|
51569
|
+
}
|
|
51570
|
+
var WorkspaceSettingsResponse = {
|
|
51571
|
+
encode(message, writer = new BinaryWriter()) {
|
|
51572
|
+
if (message.defaultEnvironmentName !== "") {
|
|
51573
|
+
writer.uint32(10).string(message.defaultEnvironmentName);
|
|
51574
|
+
}
|
|
51575
|
+
if (message.imageBuilderVersion !== "") {
|
|
51576
|
+
writer.uint32(18).string(message.imageBuilderVersion);
|
|
51577
|
+
}
|
|
51578
|
+
return writer;
|
|
51579
|
+
},
|
|
51580
|
+
decode(input, length) {
|
|
51581
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
51582
|
+
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
51583
|
+
const message = createBaseWorkspaceSettingsResponse();
|
|
51584
|
+
while (reader.pos < end) {
|
|
51585
|
+
const tag = reader.uint32();
|
|
51586
|
+
switch (tag >>> 3) {
|
|
51587
|
+
case 1: {
|
|
51588
|
+
if (tag !== 10) {
|
|
51589
|
+
break;
|
|
51590
|
+
}
|
|
51591
|
+
message.defaultEnvironmentName = reader.string();
|
|
51592
|
+
continue;
|
|
51593
|
+
}
|
|
51594
|
+
case 2: {
|
|
51595
|
+
if (tag !== 18) {
|
|
51596
|
+
break;
|
|
51597
|
+
}
|
|
51598
|
+
message.imageBuilderVersion = reader.string();
|
|
51599
|
+
continue;
|
|
51600
|
+
}
|
|
51601
|
+
}
|
|
51602
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
51603
|
+
break;
|
|
51604
|
+
}
|
|
51605
|
+
reader.skip(tag & 7);
|
|
51606
|
+
}
|
|
51607
|
+
return message;
|
|
51608
|
+
},
|
|
51609
|
+
fromJSON(object) {
|
|
51610
|
+
return {
|
|
51611
|
+
defaultEnvironmentName: isSet5(object.defaultEnvironmentName) ? globalThis.String(object.defaultEnvironmentName) : "",
|
|
51612
|
+
imageBuilderVersion: isSet5(object.imageBuilderVersion) ? globalThis.String(object.imageBuilderVersion) : ""
|
|
51613
|
+
};
|
|
51614
|
+
},
|
|
51615
|
+
toJSON(message) {
|
|
51616
|
+
const obj = {};
|
|
51617
|
+
if (message.defaultEnvironmentName !== "") {
|
|
51618
|
+
obj.defaultEnvironmentName = message.defaultEnvironmentName;
|
|
51619
|
+
}
|
|
51620
|
+
if (message.imageBuilderVersion !== "") {
|
|
51621
|
+
obj.imageBuilderVersion = message.imageBuilderVersion;
|
|
51622
|
+
}
|
|
51623
|
+
return obj;
|
|
51624
|
+
},
|
|
51625
|
+
create(base) {
|
|
51626
|
+
return WorkspaceSettingsResponse.fromPartial(base ?? {});
|
|
51627
|
+
},
|
|
51628
|
+
fromPartial(object) {
|
|
51629
|
+
const message = createBaseWorkspaceSettingsResponse();
|
|
51630
|
+
message.defaultEnvironmentName = object.defaultEnvironmentName ?? "";
|
|
51631
|
+
message.imageBuilderVersion = object.imageBuilderVersion ?? "";
|
|
51632
|
+
return message;
|
|
51633
|
+
}
|
|
51634
|
+
};
|
|
49457
51635
|
var ModalClientDefinition = {
|
|
49458
51636
|
name: "ModalClient",
|
|
49459
51637
|
fullName: "modal.client.ModalClient",
|
|
@@ -49599,7 +51777,7 @@ var ModalClientDefinition = {
|
|
|
49599
51777
|
name: "AppRollback",
|
|
49600
51778
|
requestType: AppRollbackRequest,
|
|
49601
51779
|
requestStream: false,
|
|
49602
|
-
responseType:
|
|
51780
|
+
responseType: AppRollbackResponse,
|
|
49603
51781
|
responseStream: false,
|
|
49604
51782
|
options: {}
|
|
49605
51783
|
},
|
|
@@ -49826,6 +52004,15 @@ var ModalClientDefinition = {
|
|
|
49826
52004
|
responseStream: false,
|
|
49827
52005
|
options: {}
|
|
49828
52006
|
},
|
|
52007
|
+
/** Curl */
|
|
52008
|
+
curlGetAuthToken: {
|
|
52009
|
+
name: "CurlGetAuthToken",
|
|
52010
|
+
requestType: CurlAuthTokenRequest,
|
|
52011
|
+
requestStream: false,
|
|
52012
|
+
responseType: CurlAuthTokenResponse,
|
|
52013
|
+
responseStream: false,
|
|
52014
|
+
options: {}
|
|
52015
|
+
},
|
|
49829
52016
|
/** Dicts */
|
|
49830
52017
|
dictClear: {
|
|
49831
52018
|
name: "DictClear",
|
|
@@ -49957,6 +52144,22 @@ var ModalClientDefinition = {
|
|
|
49957
52144
|
responseStream: false,
|
|
49958
52145
|
options: {}
|
|
49959
52146
|
},
|
|
52147
|
+
endpointGetByName: {
|
|
52148
|
+
name: "EndpointGetByName",
|
|
52149
|
+
requestType: EndpointGetByNameRequest,
|
|
52150
|
+
requestStream: false,
|
|
52151
|
+
responseType: EndpointGetByNameResponse,
|
|
52152
|
+
responseStream: false,
|
|
52153
|
+
options: {}
|
|
52154
|
+
},
|
|
52155
|
+
endpointGetLifecycle: {
|
|
52156
|
+
name: "EndpointGetLifecycle",
|
|
52157
|
+
requestType: EndpointGetLifecycleRequest,
|
|
52158
|
+
requestStream: false,
|
|
52159
|
+
responseType: EndpointGetLifecycleResponse,
|
|
52160
|
+
responseStream: false,
|
|
52161
|
+
options: {}
|
|
52162
|
+
},
|
|
49960
52163
|
endpointList: {
|
|
49961
52164
|
name: "EndpointList",
|
|
49962
52165
|
requestType: EndpointListRequest,
|
|
@@ -49990,6 +52193,14 @@ var ModalClientDefinition = {
|
|
|
49990
52193
|
responseStream: false,
|
|
49991
52194
|
options: {}
|
|
49992
52195
|
},
|
|
52196
|
+
environmentGetBudget: {
|
|
52197
|
+
name: "EnvironmentGetBudget",
|
|
52198
|
+
requestType: EnvironmentGetBudgetRequest,
|
|
52199
|
+
requestStream: false,
|
|
52200
|
+
responseType: EnvironmentGetBudgetResponse,
|
|
52201
|
+
responseStream: false,
|
|
52202
|
+
options: {}
|
|
52203
|
+
},
|
|
49993
52204
|
environmentGetManaged: {
|
|
49994
52205
|
name: "EnvironmentGetManaged",
|
|
49995
52206
|
requestType: EnvironmentGetManagedRequest,
|
|
@@ -50022,6 +52233,14 @@ var ModalClientDefinition = {
|
|
|
50022
52233
|
responseStream: false,
|
|
50023
52234
|
options: {}
|
|
50024
52235
|
},
|
|
52236
|
+
environmentSetBudget: {
|
|
52237
|
+
name: "EnvironmentSetBudget",
|
|
52238
|
+
requestType: EnvironmentSetBudgetRequest,
|
|
52239
|
+
requestStream: false,
|
|
52240
|
+
responseType: Empty,
|
|
52241
|
+
responseStream: false,
|
|
52242
|
+
options: {}
|
|
52243
|
+
},
|
|
50025
52244
|
environmentSetManaged: {
|
|
50026
52245
|
name: "EnvironmentSetManaged",
|
|
50027
52246
|
requestType: EnvironmentSetManagedRequest,
|
|
@@ -51108,6 +53327,63 @@ var ModalClientDefinition = {
|
|
|
51108
53327
|
responseStream: false,
|
|
51109
53328
|
options: {}
|
|
51110
53329
|
},
|
|
53330
|
+
/** Webhook tokens (proxy tokens) */
|
|
53331
|
+
webhookTokenCreate: {
|
|
53332
|
+
name: "WebhookTokenCreate",
|
|
53333
|
+
requestType: WebhookTokenCreateRequest,
|
|
53334
|
+
requestStream: false,
|
|
53335
|
+
responseType: TokenCreateResponse,
|
|
53336
|
+
responseStream: false,
|
|
53337
|
+
options: {}
|
|
53338
|
+
},
|
|
53339
|
+
webhookTokenDelete: {
|
|
53340
|
+
name: "WebhookTokenDelete",
|
|
53341
|
+
requestType: TokenDeleteRequest,
|
|
53342
|
+
requestStream: false,
|
|
53343
|
+
responseType: Empty,
|
|
53344
|
+
responseStream: false,
|
|
53345
|
+
options: {}
|
|
53346
|
+
},
|
|
53347
|
+
webhookTokenEnvironmentAdd: {
|
|
53348
|
+
name: "WebhookTokenEnvironmentAdd",
|
|
53349
|
+
requestType: WebhookTokenEnvironmentAddRequest,
|
|
53350
|
+
requestStream: false,
|
|
53351
|
+
responseType: Empty,
|
|
53352
|
+
responseStream: false,
|
|
53353
|
+
options: {}
|
|
53354
|
+
},
|
|
53355
|
+
webhookTokenEnvironmentList: {
|
|
53356
|
+
name: "WebhookTokenEnvironmentList",
|
|
53357
|
+
requestType: WebhookTokenEnvironmentListRequest,
|
|
53358
|
+
requestStream: false,
|
|
53359
|
+
responseType: WebhookTokenEnvironmentListResponse,
|
|
53360
|
+
responseStream: false,
|
|
53361
|
+
options: {}
|
|
53362
|
+
},
|
|
53363
|
+
webhookTokenEnvironmentRemove: {
|
|
53364
|
+
name: "WebhookTokenEnvironmentRemove",
|
|
53365
|
+
requestType: WebhookTokenEnvironmentRemoveRequest,
|
|
53366
|
+
requestStream: false,
|
|
53367
|
+
responseType: Empty,
|
|
53368
|
+
responseStream: false,
|
|
53369
|
+
options: {}
|
|
53370
|
+
},
|
|
53371
|
+
webhookTokenList: {
|
|
53372
|
+
name: "WebhookTokenList",
|
|
53373
|
+
requestType: Empty,
|
|
53374
|
+
requestStream: false,
|
|
53375
|
+
responseType: WebhookTokenListResponse,
|
|
53376
|
+
responseStream: false,
|
|
53377
|
+
options: {}
|
|
53378
|
+
},
|
|
53379
|
+
webhookTokenListForEnvironment: {
|
|
53380
|
+
name: "WebhookTokenListForEnvironment",
|
|
53381
|
+
requestType: WebhookTokenListForEnvironmentRequest,
|
|
53382
|
+
requestStream: false,
|
|
53383
|
+
responseType: WebhookTokenListResponse,
|
|
53384
|
+
responseStream: false,
|
|
53385
|
+
options: {}
|
|
53386
|
+
},
|
|
51111
53387
|
/** Workspaces */
|
|
51112
53388
|
workspaceBillingReport: {
|
|
51113
53389
|
name: "WorkspaceBillingReport",
|
|
@@ -51140,6 +53416,30 @@ var ModalClientDefinition = {
|
|
|
51140
53416
|
responseType: WorkspaceNameLookupResponse,
|
|
51141
53417
|
responseStream: false,
|
|
51142
53418
|
options: {}
|
|
53419
|
+
},
|
|
53420
|
+
workspaceSetDefaultEnvironment: {
|
|
53421
|
+
name: "WorkspaceSetDefaultEnvironment",
|
|
53422
|
+
requestType: WorkspaceSetDefaultEnvironmentRequest,
|
|
53423
|
+
requestStream: false,
|
|
53424
|
+
responseType: Empty,
|
|
53425
|
+
responseStream: false,
|
|
53426
|
+
options: {}
|
|
53427
|
+
},
|
|
53428
|
+
workspaceSetImageBuilderVersion: {
|
|
53429
|
+
name: "WorkspaceSetImageBuilderVersion",
|
|
53430
|
+
requestType: WorkspaceSetImageBuilderVersionRequest,
|
|
53431
|
+
requestStream: false,
|
|
53432
|
+
responseType: WorkspaceSetImageBuilderVersionResponse,
|
|
53433
|
+
responseStream: false,
|
|
53434
|
+
options: {}
|
|
53435
|
+
},
|
|
53436
|
+
workspaceSettings: {
|
|
53437
|
+
name: "WorkspaceSettings",
|
|
53438
|
+
requestType: Empty,
|
|
53439
|
+
requestStream: false,
|
|
53440
|
+
responseType: WorkspaceSettingsResponse,
|
|
53441
|
+
responseStream: false,
|
|
53442
|
+
options: {}
|
|
51143
53443
|
}
|
|
51144
53444
|
}
|
|
51145
53445
|
};
|
|
@@ -54036,10 +56336,10 @@ var SandboxStdioReadV2Response = {
|
|
|
54036
56336
|
return message;
|
|
54037
56337
|
}
|
|
54038
56338
|
};
|
|
54039
|
-
function
|
|
56339
|
+
function createBaseSandboxWaitUntilReadyTcrRequest() {
|
|
54040
56340
|
return { taskId: "", timeout: 0 };
|
|
54041
56341
|
}
|
|
54042
|
-
var
|
|
56342
|
+
var SandboxWaitUntilReadyTcrRequest = {
|
|
54043
56343
|
encode(message, writer = new BinaryWriter()) {
|
|
54044
56344
|
if (message.taskId !== "") {
|
|
54045
56345
|
writer.uint32(10).string(message.taskId);
|
|
@@ -54052,7 +56352,7 @@ var SandboxWaitUntilReadyRequest2 = {
|
|
|
54052
56352
|
decode(input, length) {
|
|
54053
56353
|
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
54054
56354
|
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
54055
|
-
const message =
|
|
56355
|
+
const message = createBaseSandboxWaitUntilReadyTcrRequest();
|
|
54056
56356
|
while (reader.pos < end) {
|
|
54057
56357
|
const tag = reader.uint32();
|
|
54058
56358
|
switch (tag >>> 3) {
|
|
@@ -54095,19 +56395,19 @@ var SandboxWaitUntilReadyRequest2 = {
|
|
|
54095
56395
|
return obj;
|
|
54096
56396
|
},
|
|
54097
56397
|
create(base) {
|
|
54098
|
-
return
|
|
56398
|
+
return SandboxWaitUntilReadyTcrRequest.fromPartial(base ?? {});
|
|
54099
56399
|
},
|
|
54100
56400
|
fromPartial(object) {
|
|
54101
|
-
const message =
|
|
56401
|
+
const message = createBaseSandboxWaitUntilReadyTcrRequest();
|
|
54102
56402
|
message.taskId = object.taskId ?? "";
|
|
54103
56403
|
message.timeout = object.timeout ?? 0;
|
|
54104
56404
|
return message;
|
|
54105
56405
|
}
|
|
54106
56406
|
};
|
|
54107
|
-
function
|
|
56407
|
+
function createBaseSandboxWaitUntilReadyTcrResponse() {
|
|
54108
56408
|
return { readyAt: 0 };
|
|
54109
56409
|
}
|
|
54110
|
-
var
|
|
56410
|
+
var SandboxWaitUntilReadyTcrResponse = {
|
|
54111
56411
|
encode(message, writer = new BinaryWriter()) {
|
|
54112
56412
|
if (message.readyAt !== 0) {
|
|
54113
56413
|
writer.uint32(9).double(message.readyAt);
|
|
@@ -54117,7 +56417,7 @@ var SandboxWaitUntilReadyResponse2 = {
|
|
|
54117
56417
|
decode(input, length) {
|
|
54118
56418
|
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
54119
56419
|
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
54120
|
-
const message =
|
|
56420
|
+
const message = createBaseSandboxWaitUntilReadyTcrResponse();
|
|
54121
56421
|
while (reader.pos < end) {
|
|
54122
56422
|
const tag = reader.uint32();
|
|
54123
56423
|
switch (tag >>> 3) {
|
|
@@ -54147,16 +56447,25 @@ var SandboxWaitUntilReadyResponse2 = {
|
|
|
54147
56447
|
return obj;
|
|
54148
56448
|
},
|
|
54149
56449
|
create(base) {
|
|
54150
|
-
return
|
|
56450
|
+
return SandboxWaitUntilReadyTcrResponse.fromPartial(base ?? {});
|
|
54151
56451
|
},
|
|
54152
56452
|
fromPartial(object) {
|
|
54153
|
-
const message =
|
|
56453
|
+
const message = createBaseSandboxWaitUntilReadyTcrResponse();
|
|
54154
56454
|
message.readyAt = object.readyAt ?? 0;
|
|
54155
56455
|
return message;
|
|
54156
56456
|
}
|
|
54157
56457
|
};
|
|
54158
56458
|
function createBaseTaskContainerCreateRequest() {
|
|
54159
|
-
return {
|
|
56459
|
+
return {
|
|
56460
|
+
taskId: "",
|
|
56461
|
+
containerName: "",
|
|
56462
|
+
imageId: "",
|
|
56463
|
+
args: [],
|
|
56464
|
+
env: {},
|
|
56465
|
+
workdir: "",
|
|
56466
|
+
secretIds: [],
|
|
56467
|
+
volumeMounts: []
|
|
56468
|
+
};
|
|
54160
56469
|
}
|
|
54161
56470
|
var TaskContainerCreateRequest = {
|
|
54162
56471
|
encode(message, writer = new BinaryWriter()) {
|
|
@@ -54181,6 +56490,9 @@ var TaskContainerCreateRequest = {
|
|
|
54181
56490
|
for (const v of message.secretIds) {
|
|
54182
56491
|
writer.uint32(66).string(v);
|
|
54183
56492
|
}
|
|
56493
|
+
for (const v of message.volumeMounts) {
|
|
56494
|
+
VolumeMount.encode(v, writer.uint32(74).fork()).join();
|
|
56495
|
+
}
|
|
54184
56496
|
return writer;
|
|
54185
56497
|
},
|
|
54186
56498
|
decode(input, length) {
|
|
@@ -54242,6 +56554,13 @@ var TaskContainerCreateRequest = {
|
|
|
54242
56554
|
message.secretIds.push(reader.string());
|
|
54243
56555
|
continue;
|
|
54244
56556
|
}
|
|
56557
|
+
case 9: {
|
|
56558
|
+
if (tag !== 74) {
|
|
56559
|
+
break;
|
|
56560
|
+
}
|
|
56561
|
+
message.volumeMounts.push(VolumeMount.decode(reader, reader.uint32()));
|
|
56562
|
+
continue;
|
|
56563
|
+
}
|
|
54245
56564
|
}
|
|
54246
56565
|
if ((tag & 7) === 4 || tag === 0) {
|
|
54247
56566
|
break;
|
|
@@ -54261,7 +56580,8 @@ var TaskContainerCreateRequest = {
|
|
|
54261
56580
|
return acc;
|
|
54262
56581
|
}, {}) : {},
|
|
54263
56582
|
workdir: isSet6(object.workdir) ? globalThis.String(object.workdir) : "",
|
|
54264
|
-
secretIds: globalThis.Array.isArray(object?.secretIds) ? object.secretIds.map((e) => globalThis.String(e)) : []
|
|
56583
|
+
secretIds: globalThis.Array.isArray(object?.secretIds) ? object.secretIds.map((e) => globalThis.String(e)) : [],
|
|
56584
|
+
volumeMounts: globalThis.Array.isArray(object?.volumeMounts) ? object.volumeMounts.map((e) => VolumeMount.fromJSON(e)) : []
|
|
54265
56585
|
};
|
|
54266
56586
|
},
|
|
54267
56587
|
toJSON(message) {
|
|
@@ -54293,6 +56613,9 @@ var TaskContainerCreateRequest = {
|
|
|
54293
56613
|
if (message.secretIds?.length) {
|
|
54294
56614
|
obj.secretIds = message.secretIds;
|
|
54295
56615
|
}
|
|
56616
|
+
if (message.volumeMounts?.length) {
|
|
56617
|
+
obj.volumeMounts = message.volumeMounts.map((e) => VolumeMount.toJSON(e));
|
|
56618
|
+
}
|
|
54296
56619
|
return obj;
|
|
54297
56620
|
},
|
|
54298
56621
|
create(base) {
|
|
@@ -54312,6 +56635,7 @@ var TaskContainerCreateRequest = {
|
|
|
54312
56635
|
}, {});
|
|
54313
56636
|
message.workdir = object.workdir ?? "";
|
|
54314
56637
|
message.secretIds = object.secretIds?.map((e) => e) || [];
|
|
56638
|
+
message.volumeMounts = object.volumeMounts?.map((e) => VolumeMount.fromPartial(e)) || [];
|
|
54315
56639
|
return message;
|
|
54316
56640
|
}
|
|
54317
56641
|
};
|
|
@@ -56389,6 +58713,199 @@ var TaskMountDirectoryRequest = {
|
|
|
56389
58713
|
return message;
|
|
56390
58714
|
}
|
|
56391
58715
|
};
|
|
58716
|
+
function createBaseTaskReloadVolumesRequest() {
|
|
58717
|
+
return { taskId: "" };
|
|
58718
|
+
}
|
|
58719
|
+
var TaskReloadVolumesRequest = {
|
|
58720
|
+
encode(message, writer = new BinaryWriter()) {
|
|
58721
|
+
if (message.taskId !== "") {
|
|
58722
|
+
writer.uint32(10).string(message.taskId);
|
|
58723
|
+
}
|
|
58724
|
+
return writer;
|
|
58725
|
+
},
|
|
58726
|
+
decode(input, length) {
|
|
58727
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
58728
|
+
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
58729
|
+
const message = createBaseTaskReloadVolumesRequest();
|
|
58730
|
+
while (reader.pos < end) {
|
|
58731
|
+
const tag = reader.uint32();
|
|
58732
|
+
switch (tag >>> 3) {
|
|
58733
|
+
case 1: {
|
|
58734
|
+
if (tag !== 10) {
|
|
58735
|
+
break;
|
|
58736
|
+
}
|
|
58737
|
+
message.taskId = reader.string();
|
|
58738
|
+
continue;
|
|
58739
|
+
}
|
|
58740
|
+
}
|
|
58741
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
58742
|
+
break;
|
|
58743
|
+
}
|
|
58744
|
+
reader.skip(tag & 7);
|
|
58745
|
+
}
|
|
58746
|
+
return message;
|
|
58747
|
+
},
|
|
58748
|
+
fromJSON(object) {
|
|
58749
|
+
return { taskId: isSet6(object.taskId) ? globalThis.String(object.taskId) : "" };
|
|
58750
|
+
},
|
|
58751
|
+
toJSON(message) {
|
|
58752
|
+
const obj = {};
|
|
58753
|
+
if (message.taskId !== "") {
|
|
58754
|
+
obj.taskId = message.taskId;
|
|
58755
|
+
}
|
|
58756
|
+
return obj;
|
|
58757
|
+
},
|
|
58758
|
+
create(base) {
|
|
58759
|
+
return TaskReloadVolumesRequest.fromPartial(base ?? {});
|
|
58760
|
+
},
|
|
58761
|
+
fromPartial(object) {
|
|
58762
|
+
const message = createBaseTaskReloadVolumesRequest();
|
|
58763
|
+
message.taskId = object.taskId ?? "";
|
|
58764
|
+
return message;
|
|
58765
|
+
}
|
|
58766
|
+
};
|
|
58767
|
+
function createBaseTaskReloadVolumesResponse() {
|
|
58768
|
+
return {};
|
|
58769
|
+
}
|
|
58770
|
+
var TaskReloadVolumesResponse = {
|
|
58771
|
+
encode(_, writer = new BinaryWriter()) {
|
|
58772
|
+
return writer;
|
|
58773
|
+
},
|
|
58774
|
+
decode(input, length) {
|
|
58775
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
58776
|
+
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
58777
|
+
const message = createBaseTaskReloadVolumesResponse();
|
|
58778
|
+
while (reader.pos < end) {
|
|
58779
|
+
const tag = reader.uint32();
|
|
58780
|
+
switch (tag >>> 3) {
|
|
58781
|
+
}
|
|
58782
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
58783
|
+
break;
|
|
58784
|
+
}
|
|
58785
|
+
reader.skip(tag & 7);
|
|
58786
|
+
}
|
|
58787
|
+
return message;
|
|
58788
|
+
},
|
|
58789
|
+
fromJSON(_) {
|
|
58790
|
+
return {};
|
|
58791
|
+
},
|
|
58792
|
+
toJSON(_) {
|
|
58793
|
+
const obj = {};
|
|
58794
|
+
return obj;
|
|
58795
|
+
},
|
|
58796
|
+
create(base) {
|
|
58797
|
+
return TaskReloadVolumesResponse.fromPartial(base ?? {});
|
|
58798
|
+
},
|
|
58799
|
+
fromPartial(_) {
|
|
58800
|
+
const message = createBaseTaskReloadVolumesResponse();
|
|
58801
|
+
return message;
|
|
58802
|
+
}
|
|
58803
|
+
};
|
|
58804
|
+
function createBaseTaskSetNetworkAccessRequest() {
|
|
58805
|
+
return { taskId: "", networkAccess: void 0 };
|
|
58806
|
+
}
|
|
58807
|
+
var TaskSetNetworkAccessRequest = {
|
|
58808
|
+
encode(message, writer = new BinaryWriter()) {
|
|
58809
|
+
if (message.taskId !== "") {
|
|
58810
|
+
writer.uint32(10).string(message.taskId);
|
|
58811
|
+
}
|
|
58812
|
+
if (message.networkAccess !== void 0) {
|
|
58813
|
+
NetworkAccess.encode(message.networkAccess, writer.uint32(18).fork()).join();
|
|
58814
|
+
}
|
|
58815
|
+
return writer;
|
|
58816
|
+
},
|
|
58817
|
+
decode(input, length) {
|
|
58818
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
58819
|
+
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
58820
|
+
const message = createBaseTaskSetNetworkAccessRequest();
|
|
58821
|
+
while (reader.pos < end) {
|
|
58822
|
+
const tag = reader.uint32();
|
|
58823
|
+
switch (tag >>> 3) {
|
|
58824
|
+
case 1: {
|
|
58825
|
+
if (tag !== 10) {
|
|
58826
|
+
break;
|
|
58827
|
+
}
|
|
58828
|
+
message.taskId = reader.string();
|
|
58829
|
+
continue;
|
|
58830
|
+
}
|
|
58831
|
+
case 2: {
|
|
58832
|
+
if (tag !== 18) {
|
|
58833
|
+
break;
|
|
58834
|
+
}
|
|
58835
|
+
message.networkAccess = NetworkAccess.decode(reader, reader.uint32());
|
|
58836
|
+
continue;
|
|
58837
|
+
}
|
|
58838
|
+
}
|
|
58839
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
58840
|
+
break;
|
|
58841
|
+
}
|
|
58842
|
+
reader.skip(tag & 7);
|
|
58843
|
+
}
|
|
58844
|
+
return message;
|
|
58845
|
+
},
|
|
58846
|
+
fromJSON(object) {
|
|
58847
|
+
return {
|
|
58848
|
+
taskId: isSet6(object.taskId) ? globalThis.String(object.taskId) : "",
|
|
58849
|
+
networkAccess: isSet6(object.networkAccess) ? NetworkAccess.fromJSON(object.networkAccess) : void 0
|
|
58850
|
+
};
|
|
58851
|
+
},
|
|
58852
|
+
toJSON(message) {
|
|
58853
|
+
const obj = {};
|
|
58854
|
+
if (message.taskId !== "") {
|
|
58855
|
+
obj.taskId = message.taskId;
|
|
58856
|
+
}
|
|
58857
|
+
if (message.networkAccess !== void 0) {
|
|
58858
|
+
obj.networkAccess = NetworkAccess.toJSON(message.networkAccess);
|
|
58859
|
+
}
|
|
58860
|
+
return obj;
|
|
58861
|
+
},
|
|
58862
|
+
create(base) {
|
|
58863
|
+
return TaskSetNetworkAccessRequest.fromPartial(base ?? {});
|
|
58864
|
+
},
|
|
58865
|
+
fromPartial(object) {
|
|
58866
|
+
const message = createBaseTaskSetNetworkAccessRequest();
|
|
58867
|
+
message.taskId = object.taskId ?? "";
|
|
58868
|
+
message.networkAccess = object.networkAccess !== void 0 && object.networkAccess !== null ? NetworkAccess.fromPartial(object.networkAccess) : void 0;
|
|
58869
|
+
return message;
|
|
58870
|
+
}
|
|
58871
|
+
};
|
|
58872
|
+
function createBaseTaskSetNetworkAccessResponse() {
|
|
58873
|
+
return {};
|
|
58874
|
+
}
|
|
58875
|
+
var TaskSetNetworkAccessResponse = {
|
|
58876
|
+
encode(_, writer = new BinaryWriter()) {
|
|
58877
|
+
return writer;
|
|
58878
|
+
},
|
|
58879
|
+
decode(input, length) {
|
|
58880
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
58881
|
+
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
58882
|
+
const message = createBaseTaskSetNetworkAccessResponse();
|
|
58883
|
+
while (reader.pos < end) {
|
|
58884
|
+
const tag = reader.uint32();
|
|
58885
|
+
switch (tag >>> 3) {
|
|
58886
|
+
}
|
|
58887
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
58888
|
+
break;
|
|
58889
|
+
}
|
|
58890
|
+
reader.skip(tag & 7);
|
|
58891
|
+
}
|
|
58892
|
+
return message;
|
|
58893
|
+
},
|
|
58894
|
+
fromJSON(_) {
|
|
58895
|
+
return {};
|
|
58896
|
+
},
|
|
58897
|
+
toJSON(_) {
|
|
58898
|
+
const obj = {};
|
|
58899
|
+
return obj;
|
|
58900
|
+
},
|
|
58901
|
+
create(base) {
|
|
58902
|
+
return TaskSetNetworkAccessResponse.fromPartial(base ?? {});
|
|
58903
|
+
},
|
|
58904
|
+
fromPartial(_) {
|
|
58905
|
+
const message = createBaseTaskSetNetworkAccessResponse();
|
|
58906
|
+
return message;
|
|
58907
|
+
}
|
|
58908
|
+
};
|
|
56392
58909
|
function createBaseTaskSnapshotDirectoryRequest() {
|
|
56393
58910
|
return {
|
|
56394
58911
|
taskId: "",
|
|
@@ -56798,9 +59315,9 @@ var TaskCommandRouterDefinition = {
|
|
|
56798
59315
|
},
|
|
56799
59316
|
sandboxWaitUntilReady: {
|
|
56800
59317
|
name: "SandboxWaitUntilReady",
|
|
56801
|
-
requestType:
|
|
59318
|
+
requestType: SandboxWaitUntilReadyTcrRequest,
|
|
56802
59319
|
requestStream: false,
|
|
56803
|
-
responseType:
|
|
59320
|
+
responseType: SandboxWaitUntilReadyTcrResponse,
|
|
56804
59321
|
responseStream: false,
|
|
56805
59322
|
options: {}
|
|
56806
59323
|
},
|
|
@@ -56869,7 +59386,9 @@ var TaskCommandRouterDefinition = {
|
|
|
56869
59386
|
},
|
|
56870
59387
|
/**
|
|
56871
59388
|
* Get the current stdin write status for an exec'd command. Used to resume
|
|
56872
|
-
* a TaskExecStdinWriteStream after a stream failure.
|
|
59389
|
+
* a TaskExecStdinWriteStream after a stream failure. Evicts any in-flight
|
|
59390
|
+
* TaskExecStdinWriteStream for this exec, so it is not safe to call for
|
|
59391
|
+
* read-only observability.
|
|
56873
59392
|
*/
|
|
56874
59393
|
taskExecStdinStatus: {
|
|
56875
59394
|
name: "TaskExecStdinStatus",
|
|
@@ -56890,7 +59409,7 @@ var TaskCommandRouterDefinition = {
|
|
|
56890
59409
|
},
|
|
56891
59410
|
/**
|
|
56892
59411
|
* Stream stdin bytes to an exec'd command. First message carries the
|
|
56893
|
-
* start
|
|
59412
|
+
* start message (task_id, exec_id, offset); subsequent messages carry data.
|
|
56894
59413
|
*/
|
|
56895
59414
|
taskExecStdinWriteStream: {
|
|
56896
59415
|
name: "TaskExecStdinWriteStream",
|
|
@@ -56927,6 +59446,24 @@ var TaskCommandRouterDefinition = {
|
|
|
56927
59446
|
responseStream: false,
|
|
56928
59447
|
options: {}
|
|
56929
59448
|
},
|
|
59449
|
+
/** Reload all Volumes mounted in the task to reflect their latest committed state. */
|
|
59450
|
+
taskReloadVolumes: {
|
|
59451
|
+
name: "TaskReloadVolumes",
|
|
59452
|
+
requestType: TaskReloadVolumesRequest,
|
|
59453
|
+
requestStream: false,
|
|
59454
|
+
responseType: TaskReloadVolumesResponse,
|
|
59455
|
+
responseStream: false,
|
|
59456
|
+
options: {}
|
|
59457
|
+
},
|
|
59458
|
+
/** Replace the task's outbound network allowlist (domains + CIDRs). */
|
|
59459
|
+
taskSetNetworkAccess: {
|
|
59460
|
+
name: "TaskSetNetworkAccess",
|
|
59461
|
+
requestType: TaskSetNetworkAccessRequest,
|
|
59462
|
+
requestStream: false,
|
|
59463
|
+
responseType: TaskSetNetworkAccessResponse,
|
|
59464
|
+
responseStream: false,
|
|
59465
|
+
options: {}
|
|
59466
|
+
},
|
|
56930
59467
|
/** Snapshot a directory with a mounted image, including any local changes, into a new image. */
|
|
56931
59468
|
taskSnapshotDirectory: {
|
|
56932
59469
|
name: "TaskSnapshotDirectory",
|
|
@@ -57321,8 +59858,9 @@ var AuthTokenManager = class {
|
|
|
57321
59858
|
};
|
|
57322
59859
|
|
|
57323
59860
|
// src/version.ts
|
|
59861
|
+
var SDK_VERSION = "0.8.2";
|
|
57324
59862
|
function getSDKVersion() {
|
|
57325
|
-
return
|
|
59863
|
+
return SDK_VERSION;
|
|
57326
59864
|
}
|
|
57327
59865
|
|
|
57328
59866
|
// src/logger.ts
|
|
@@ -58218,6 +60756,40 @@ var TaskCommandRouterClientImpl = class _TaskCommandRouterClientImpl {
|
|
|
58218
60756
|
async unmountDirectory(request) {
|
|
58219
60757
|
await this.callUnary(() => this.stub.taskUnmountDirectory(request));
|
|
58220
60758
|
}
|
|
60759
|
+
async setNetworkAccess(request) {
|
|
60760
|
+
await this.callUnary(() => this.stub.taskSetNetworkAccess(request));
|
|
60761
|
+
}
|
|
60762
|
+
/** Reload all Volumes mounted in the task to reflect their latest committed state. */
|
|
60763
|
+
async reloadVolumes(request) {
|
|
60764
|
+
await this.callUnary(() => this.stub.taskReloadVolumes(request));
|
|
60765
|
+
}
|
|
60766
|
+
async sandboxWaitUntilReady(taskId, timeoutMs) {
|
|
60767
|
+
const deadlineMs = Date.now() + timeoutMs;
|
|
60768
|
+
try {
|
|
60769
|
+
return await callWithRetriesOnTransientErrors(
|
|
60770
|
+
() => this.callWithAuthRetry(() => {
|
|
60771
|
+
const remainingMs = Math.max(1, deadlineMs - Date.now());
|
|
60772
|
+
const request = SandboxWaitUntilReadyTcrRequest.create({
|
|
60773
|
+
taskId,
|
|
60774
|
+
timeout: remainingMs / 1e3
|
|
60775
|
+
});
|
|
60776
|
+
return this.stub.sandboxWaitUntilReady(request, {
|
|
60777
|
+
timeoutMs: remainingMs
|
|
60778
|
+
});
|
|
60779
|
+
}),
|
|
60780
|
+
10,
|
|
60781
|
+
2,
|
|
60782
|
+
10,
|
|
60783
|
+
deadlineMs,
|
|
60784
|
+
() => this.closed
|
|
60785
|
+
);
|
|
60786
|
+
} catch (err) {
|
|
60787
|
+
if (err instanceof RetryDeadlineExceededError) {
|
|
60788
|
+
throw new TimeoutError("Timeout expired");
|
|
60789
|
+
}
|
|
60790
|
+
throw err;
|
|
60791
|
+
}
|
|
60792
|
+
}
|
|
58221
60793
|
async refreshJwt() {
|
|
58222
60794
|
let error;
|
|
58223
60795
|
this.jwtRefreshLock = this.jwtRefreshLock.then(async () => {
|
|
@@ -59313,6 +61885,8 @@ var SB_LOGS_INITIAL_DELAY_MS = 10;
|
|
|
59313
61885
|
var SB_LOGS_DELAY_FACTOR = 2;
|
|
59314
61886
|
var SB_LOGS_MAX_RETRIES = 10;
|
|
59315
61887
|
var TTL_NO_EXPIRY_SENTINEL = -1;
|
|
61888
|
+
var CUSTOMER_SUPPLIED_ENCRYPTION_KEY_MIN_LENGTH = 16;
|
|
61889
|
+
var CUSTOMER_SUPPLIED_ENCRYPTION_KEY_MAX_LENGTH = 512;
|
|
59316
61890
|
function resolveTtlSeconds(ttlMs) {
|
|
59317
61891
|
if (ttlMs === void 0) {
|
|
59318
61892
|
return 30 * 24 * 3600;
|
|
@@ -59328,6 +61902,20 @@ function resolveTtlSeconds(ttlMs) {
|
|
|
59328
61902
|
}
|
|
59329
61903
|
return ttlMs / 1e3;
|
|
59330
61904
|
}
|
|
61905
|
+
function validateExperimentalEncryptionKey(key) {
|
|
61906
|
+
if (key === void 0) {
|
|
61907
|
+
return void 0;
|
|
61908
|
+
}
|
|
61909
|
+
if (!(key instanceof Uint8Array)) {
|
|
61910
|
+
throw new TypeError("experimentalEncryptionKey must be a Uint8Array");
|
|
61911
|
+
}
|
|
61912
|
+
if (key.length < CUSTOMER_SUPPLIED_ENCRYPTION_KEY_MIN_LENGTH || key.length > CUSTOMER_SUPPLIED_ENCRYPTION_KEY_MAX_LENGTH) {
|
|
61913
|
+
throw new InvalidError(
|
|
61914
|
+
`experimentalEncryptionKey must be between ${CUSTOMER_SUPPLIED_ENCRYPTION_KEY_MIN_LENGTH} and ${CUSTOMER_SUPPLIED_ENCRYPTION_KEY_MAX_LENGTH} bytes, got ${key.length} bytes`
|
|
61915
|
+
);
|
|
61916
|
+
}
|
|
61917
|
+
return key;
|
|
61918
|
+
}
|
|
59331
61919
|
var V1_SANDBOX_ID_ALPHABET = new Set(
|
|
59332
61920
|
"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"
|
|
59333
61921
|
);
|
|
@@ -59492,6 +62080,11 @@ async function buildSandboxCreateRequestProto(appId, imageId, params = {}) {
|
|
|
59492
62080
|
const secretIds = (params.secrets || []).map((secret) => secret.secretId);
|
|
59493
62081
|
let networkAccess;
|
|
59494
62082
|
if (params.blockNetwork) {
|
|
62083
|
+
if (params.i6pn) {
|
|
62084
|
+
throw new InvalidError(
|
|
62085
|
+
"blockNetwork disables all networking, including i6pn. To keep i6pn while blocking public egress, use an empty outbound allowlist (outboundCidrAllowlist: []) instead."
|
|
62086
|
+
);
|
|
62087
|
+
}
|
|
59495
62088
|
if (params.outboundCidrAllowlist) {
|
|
59496
62089
|
throw new Error(
|
|
59497
62090
|
"outboundCidrAllowlist cannot be used when blockNetwork is enabled"
|
|
@@ -59581,7 +62174,7 @@ async function buildSandboxCreateRequestProto(appId, imageId, params = {}) {
|
|
|
59581
62174
|
`experimental option '${name}' must be a boolean, got ${value}`
|
|
59582
62175
|
);
|
|
59583
62176
|
}
|
|
59584
|
-
acc[name] =
|
|
62177
|
+
acc[name] = String(value);
|
|
59585
62178
|
return acc;
|
|
59586
62179
|
},
|
|
59587
62180
|
{}
|
|
@@ -59618,10 +62211,11 @@ async function buildSandboxCreateRequestProto(appId, imageId, params = {}) {
|
|
|
59618
62211
|
proxyId: params.proxy?.proxyId,
|
|
59619
62212
|
readinessProbe: params.readinessProbe?.toProto(),
|
|
59620
62213
|
name: params.name,
|
|
59621
|
-
|
|
62214
|
+
experimentalOptionsV2: protoExperimentalOptions,
|
|
59622
62215
|
customDomain: params.customDomain,
|
|
59623
62216
|
includeOidcIdentityToken: params.includeOidcIdentityToken ?? false,
|
|
59624
|
-
inboundCidrAllowlist: params.inboundCidrAllowlist ?? []
|
|
62217
|
+
inboundCidrAllowlist: params.inboundCidrAllowlist ?? [],
|
|
62218
|
+
i6pnEnabled: params.i6pn ?? false
|
|
59625
62219
|
}
|
|
59626
62220
|
});
|
|
59627
62221
|
}
|
|
@@ -59635,26 +62229,6 @@ async function buildSandboxCreateV2RequestProto(appId, imageId, params = {}) {
|
|
|
59635
62229
|
if (params.customDomain) {
|
|
59636
62230
|
throw new Error("custom domains are not supported by experimentalCreate");
|
|
59637
62231
|
}
|
|
59638
|
-
if (params.proxy) {
|
|
59639
|
-
throw new Error("proxies are not supported by experimentalCreate");
|
|
59640
|
-
}
|
|
59641
|
-
if (params.readinessProbe) {
|
|
59642
|
-
throw new Error("readiness probes are not supported by experimentalCreate");
|
|
59643
|
-
}
|
|
59644
|
-
if (params.includeOidcIdentityToken) {
|
|
59645
|
-
throw new Error(
|
|
59646
|
-
"includeOidcIdentityToken is not supported by experimentalCreate"
|
|
59647
|
-
);
|
|
59648
|
-
}
|
|
59649
|
-
if (params.cloudBucketMounts) {
|
|
59650
|
-
for (const [mountPath, cbm] of Object.entries(params.cloudBucketMounts)) {
|
|
59651
|
-
if (cbm.oidcAuthRoleArn) {
|
|
59652
|
-
throw new Error(
|
|
59653
|
-
`CloudBucketMount with oidcAuthRoleArn is not supported by experimentalCreate (at mount path "${mountPath}")`
|
|
59654
|
-
);
|
|
59655
|
-
}
|
|
59656
|
-
}
|
|
59657
|
-
}
|
|
59658
62232
|
const req = await buildSandboxCreateRequestProto(appId, imageId, params);
|
|
59659
62233
|
return SandboxCreateV2Request.create({
|
|
59660
62234
|
appId: req.appId,
|
|
@@ -59708,12 +62282,11 @@ var SandboxService = class {
|
|
|
59708
62282
|
*
|
|
59709
62283
|
* Supported features include exec, encrypted tunnels, wait/poll/terminate,
|
|
59710
62284
|
* CPU and memory configuration, region placement, volumes, cloud bucket
|
|
59711
|
-
* mounts (with static credentials via {@link Secret}),
|
|
59712
|
-
* snapshots.
|
|
62285
|
+
* mounts (with static credentials via {@link Secret} or `oidcAuthRoleArn`),
|
|
62286
|
+
* OIDC identity tokens, {@link Proxy proxies}, and filesystem snapshots.
|
|
59713
62287
|
*
|
|
59714
|
-
* Features like tags, memory snapshots, GPUs, custom domains
|
|
59715
|
-
*
|
|
59716
|
-
* proxies, and readiness probes are not supported.
|
|
62288
|
+
* Features like tags, memory snapshots, GPUs, and custom domains are not
|
|
62289
|
+
* supported.
|
|
59717
62290
|
*
|
|
59718
62291
|
* V2 sandboxes created with this method are not currently returned by
|
|
59719
62292
|
* {@link SandboxService#list client.sandboxes.list()} and cannot be looked up
|
|
@@ -59836,6 +62409,41 @@ var SandboxService = class {
|
|
|
59836
62409
|
}
|
|
59837
62410
|
}
|
|
59838
62411
|
}
|
|
62412
|
+
/**
|
|
62413
|
+
* List the V2 {@link Sandbox}es in an {@link App}.
|
|
62414
|
+
*
|
|
62415
|
+
* This lists V2 Sandboxes, i.e. Sandboxes created via
|
|
62416
|
+
* {@link SandboxService#experimentalCreate client.sandboxes.experimentalCreate()}.
|
|
62417
|
+
* Such Sandboxes are not returned by
|
|
62418
|
+
* {@link SandboxService#list client.sandboxes.list()}. Filtering based on tags
|
|
62419
|
+
* is not yet supported.
|
|
62420
|
+
*
|
|
62421
|
+
* Yields {@link Sandbox} objects that are currently running in the App.
|
|
62422
|
+
*
|
|
62423
|
+
* EXPERIMENTAL: the API is subject to change.
|
|
62424
|
+
*/
|
|
62425
|
+
async *experimentalList(params) {
|
|
62426
|
+
if (!params?.appId) {
|
|
62427
|
+
throw new InvalidError(
|
|
62428
|
+
'experimentalList requires an `appId`:\n\nconst app = await modal.apps.fromName("my-app");\nmodal.sandboxes.experimentalList({ appId: app.appId });'
|
|
62429
|
+
);
|
|
62430
|
+
}
|
|
62431
|
+
let beforeTimestamp = void 0;
|
|
62432
|
+
while (true) {
|
|
62433
|
+
const resp = await this.#client.cpClient.sandboxListV2({
|
|
62434
|
+
appId: params.appId,
|
|
62435
|
+
beforeTimestamp,
|
|
62436
|
+
includeFinished: false
|
|
62437
|
+
});
|
|
62438
|
+
if (!resp.sandboxes || resp.sandboxes.length === 0) {
|
|
62439
|
+
return;
|
|
62440
|
+
}
|
|
62441
|
+
for (const info of resp.sandboxes) {
|
|
62442
|
+
yield new Sandbox2(this.#client, info.id, { isV2: true });
|
|
62443
|
+
}
|
|
62444
|
+
beforeTimestamp = resp.sandboxes[resp.sandboxes.length - 1].createdAt;
|
|
62445
|
+
}
|
|
62446
|
+
}
|
|
59839
62447
|
};
|
|
59840
62448
|
var Tunnel = class {
|
|
59841
62449
|
/** @ignore */
|
|
@@ -59954,6 +62562,27 @@ function buildTaskExecStartRequestProto(taskId, execId, command, params, contain
|
|
|
59954
62562
|
containerId: containerId ?? ""
|
|
59955
62563
|
});
|
|
59956
62564
|
}
|
|
62565
|
+
function buildTaskMountDirectoryRequestProto(taskId, path2, imageId, params) {
|
|
62566
|
+
return TaskMountDirectoryRequest.create({
|
|
62567
|
+
taskId,
|
|
62568
|
+
path: new TextEncoder().encode(path2),
|
|
62569
|
+
imageId,
|
|
62570
|
+
customerSuppliedEncryptionKey: validateExperimentalEncryptionKey(
|
|
62571
|
+
params?.experimentalEncryptionKey
|
|
62572
|
+
)
|
|
62573
|
+
});
|
|
62574
|
+
}
|
|
62575
|
+
function buildTaskSnapshotDirectoryRequestProto(taskId, path2, snapshotId, ttlSeconds, params) {
|
|
62576
|
+
return TaskSnapshotDirectoryRequest.create({
|
|
62577
|
+
taskId,
|
|
62578
|
+
path: new TextEncoder().encode(path2),
|
|
62579
|
+
snapshotId,
|
|
62580
|
+
ttlSeconds,
|
|
62581
|
+
customerSuppliedEncryptionKey: validateExperimentalEncryptionKey(
|
|
62582
|
+
params?.experimentalEncryptionKey
|
|
62583
|
+
)
|
|
62584
|
+
});
|
|
62585
|
+
}
|
|
59957
62586
|
var Sandbox2 = class _Sandbox {
|
|
59958
62587
|
#client;
|
|
59959
62588
|
sandboxId;
|
|
@@ -60245,9 +62874,16 @@ var Sandbox2 = class _Sandbox {
|
|
|
60245
62874
|
async createConnectToken(params) {
|
|
60246
62875
|
this.#ensureAttached();
|
|
60247
62876
|
this.#ensureV1("createConnectToken");
|
|
62877
|
+
const port = params?.port ?? 8080;
|
|
62878
|
+
if (!Number.isInteger(port) || port < 1 || port > 65535) {
|
|
62879
|
+
throw new InvalidError(
|
|
62880
|
+
`createConnectToken() expects \`port\` in [1, 65535], got ${port}`
|
|
62881
|
+
);
|
|
62882
|
+
}
|
|
60248
62883
|
const resp = await this.#client.cpClient.sandboxCreateConnectToken({
|
|
60249
62884
|
sandboxId: this.sandboxId,
|
|
60250
|
-
userMetadata: params?.userMetadata
|
|
62885
|
+
userMetadata: params?.userMetadata,
|
|
62886
|
+
port
|
|
60251
62887
|
});
|
|
60252
62888
|
return { url: resp.url, token: resp.token };
|
|
60253
62889
|
}
|
|
@@ -60302,35 +62938,11 @@ var Sandbox2 = class _Sandbox {
|
|
|
60302
62938
|
*/
|
|
60303
62939
|
async waitUntilReady(timeoutMs = 3e5) {
|
|
60304
62940
|
this.#ensureAttached();
|
|
60305
|
-
this.#ensureV1("waitUntilReady");
|
|
60306
62941
|
if (timeoutMs <= 0) {
|
|
60307
62942
|
throw new InvalidError(`timeoutMs must be positive, got ${timeoutMs}`);
|
|
60308
62943
|
}
|
|
60309
|
-
const
|
|
60310
|
-
|
|
60311
|
-
const remainingMs = deadline - Date.now();
|
|
60312
|
-
if (remainingMs <= 0) {
|
|
60313
|
-
throw new TimeoutError("Sandbox operation timed out");
|
|
60314
|
-
}
|
|
60315
|
-
const requestTimeoutMs = Math.min(
|
|
60316
|
-
remainingMs,
|
|
60317
|
-
5e4
|
|
60318
|
-
// Max request timeout for each gRPC call
|
|
60319
|
-
);
|
|
60320
|
-
try {
|
|
60321
|
-
const resp = await this.#client.cpClient.sandboxWaitUntilReady({
|
|
60322
|
-
sandboxId: this.sandboxId,
|
|
60323
|
-
timeout: requestTimeoutMs / 1e3
|
|
60324
|
-
});
|
|
60325
|
-
if (resp.readyAt > 0) {
|
|
60326
|
-
return;
|
|
60327
|
-
}
|
|
60328
|
-
} catch (err) {
|
|
60329
|
-
if (err instanceof ClientError14 && err.code === Status14.DEADLINE_EXCEEDED)
|
|
60330
|
-
continue;
|
|
60331
|
-
throw err;
|
|
60332
|
-
}
|
|
60333
|
-
}
|
|
62944
|
+
const [taskId, commandRouterClient] = await this.#getCommandRouter();
|
|
62945
|
+
await commandRouterClient.sandboxWaitUntilReady(taskId, timeoutMs);
|
|
60334
62946
|
}
|
|
60335
62947
|
/** Get {@link Tunnel} metadata for the Sandbox.
|
|
60336
62948
|
*
|
|
@@ -60393,8 +63005,9 @@ var Sandbox2 = class _Sandbox {
|
|
|
60393
63005
|
*
|
|
60394
63006
|
* @param path - The path where the directory should be mounted
|
|
60395
63007
|
* @param image - Optional {@link Image} to mount. If undefined, mounts an empty directory.
|
|
63008
|
+
* @param params - Optional parameters; see {@link SandboxMountImageParams}.
|
|
60396
63009
|
*/
|
|
60397
|
-
async mountImage(path2, image) {
|
|
63010
|
+
async mountImage(path2, image, params) {
|
|
60398
63011
|
this.#ensureAttached();
|
|
60399
63012
|
const [taskId, commandRouterClient] = await this.#getCommandRouter();
|
|
60400
63013
|
if (image && !image.imageId) {
|
|
@@ -60402,13 +63015,13 @@ var Sandbox2 = class _Sandbox {
|
|
|
60402
63015
|
"Image must be built before mounting. Call `image.build(app)` first."
|
|
60403
63016
|
);
|
|
60404
63017
|
}
|
|
60405
|
-
const pathBytes = new TextEncoder().encode(path2);
|
|
60406
63018
|
const imageId = image?.imageId ?? "";
|
|
60407
|
-
const request =
|
|
63019
|
+
const request = buildTaskMountDirectoryRequestProto(
|
|
60408
63020
|
taskId,
|
|
60409
|
-
|
|
60410
|
-
imageId
|
|
60411
|
-
|
|
63021
|
+
path2,
|
|
63022
|
+
imageId,
|
|
63023
|
+
params
|
|
63024
|
+
);
|
|
60412
63025
|
await commandRouterClient.mountDirectory(request);
|
|
60413
63026
|
}
|
|
60414
63027
|
/**
|
|
@@ -60426,6 +63039,48 @@ var Sandbox2 = class _Sandbox {
|
|
|
60426
63039
|
});
|
|
60427
63040
|
await commandRouterClient.unmountDirectory(request);
|
|
60428
63041
|
}
|
|
63042
|
+
/**
|
|
63043
|
+
* Updates the outbound network policy of a running Sandbox.
|
|
63044
|
+
*
|
|
63045
|
+
* Established connections that the new policy no longer permits are terminated.
|
|
63046
|
+
*
|
|
63047
|
+
* @param params - Both `outboundCidrAllowlist` and `outboundDomainAllowlist` must be provided.
|
|
63048
|
+
*/
|
|
63049
|
+
async updateNetworkPolicy(params) {
|
|
63050
|
+
this.#ensureAttached();
|
|
63051
|
+
if (params.outboundCidrAllowlist === void 0 || params.outboundDomainAllowlist === void 0) {
|
|
63052
|
+
throw new InvalidError(
|
|
63053
|
+
"updateNetworkPolicy currently requires both outboundCidrAllowlist and outboundDomainAllowlist to be set"
|
|
63054
|
+
);
|
|
63055
|
+
}
|
|
63056
|
+
const [taskId, commandRouterClient] = await this.#getCommandRouter();
|
|
63057
|
+
const request = TaskSetNetworkAccessRequest.create({
|
|
63058
|
+
taskId,
|
|
63059
|
+
networkAccess: NetworkAccess.create({
|
|
63060
|
+
networkAccessType: 3 /* ALLOWLIST */,
|
|
63061
|
+
allowedCidrs: params.outboundCidrAllowlist,
|
|
63062
|
+
allowedDomains: params.outboundDomainAllowlist
|
|
63063
|
+
})
|
|
63064
|
+
});
|
|
63065
|
+
await commandRouterClient.setNetworkAccess(request);
|
|
63066
|
+
}
|
|
63067
|
+
/**
|
|
63068
|
+
* Reload all Volumes mounted in the Sandbox.
|
|
63069
|
+
*/
|
|
63070
|
+
async reloadVolumes() {
|
|
63071
|
+
this.#ensureAttached();
|
|
63072
|
+
const taskId = await this.#getTaskId();
|
|
63073
|
+
if (this.#isV2) {
|
|
63074
|
+
const commandRouterClient = await this.#getOrCreateCommandRouterClient(taskId);
|
|
63075
|
+
await commandRouterClient.reloadVolumes(
|
|
63076
|
+
TaskReloadVolumesRequest.create({ taskId })
|
|
63077
|
+
);
|
|
63078
|
+
} else {
|
|
63079
|
+
await this.#client.cpClient.containerReloadVolumes(
|
|
63080
|
+
ContainerReloadVolumesRequest.create({ taskId })
|
|
63081
|
+
);
|
|
63082
|
+
}
|
|
63083
|
+
}
|
|
60429
63084
|
/**
|
|
60430
63085
|
* Snapshots and creates a new {@link Image} from a directory in the running sandbox.
|
|
60431
63086
|
*
|
|
@@ -60446,13 +63101,13 @@ var Sandbox2 = class _Sandbox {
|
|
|
60446
63101
|
const wireTtlSeconds = resolveTtlSeconds(params?.ttlMs);
|
|
60447
63102
|
const timeoutMs = params?.timeoutMs || 55e3;
|
|
60448
63103
|
const [taskId, commandRouterClient] = await this.#getCommandRouter();
|
|
60449
|
-
const
|
|
60450
|
-
const request = TaskSnapshotDirectoryRequest.create({
|
|
63104
|
+
const request = buildTaskSnapshotDirectoryRequestProto(
|
|
60451
63105
|
taskId,
|
|
60452
|
-
|
|
60453
|
-
|
|
60454
|
-
|
|
60455
|
-
|
|
63106
|
+
path2,
|
|
63107
|
+
uuidv42(),
|
|
63108
|
+
wireTtlSeconds,
|
|
63109
|
+
params
|
|
63110
|
+
);
|
|
60456
63111
|
const response = await commandRouterClient.snapshotDirectory(request, {
|
|
60457
63112
|
timeoutMs
|
|
60458
63113
|
});
|