@replit/protocol 0.4.7 → 0.4.8
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/main/index.d.ts +202 -450
- package/main/index.js +450 -939
- package/package.json +1 -2
package/main/index.js
CHANGED
|
@@ -248,6 +248,7 @@
|
|
|
248
248
|
* @property {replit.goval.api.ExternalSecretsGetResponse|replit.goval.api.IExternalSecretsGetResponse|null} [externalSecretsGetResponse] Command externalSecretsGetResponse
|
|
249
249
|
* @property {replit.goval.api.ExternalSecretsSetRequest|replit.goval.api.IExternalSecretsSetRequest|null} [externalSecretsSetRequest] Command externalSecretsSetRequest
|
|
250
250
|
* @property {replit.goval.api.ReplResourcesUpdateNotification|replit.goval.api.IReplResourcesUpdateNotification|null} [replResourcesUpdateNotification] Command replResourcesUpdateNotification
|
|
251
|
+
* @property {replit.goval.api.Pid1RefreshSecrets|replit.goval.api.IPid1RefreshSecrets|null} [pid1RefreshSecrets] Command pid1RefreshSecrets
|
|
251
252
|
* @property {string|null} [ref] Command ref
|
|
252
253
|
* @property {Object.<string,string>|null} [traceInfo] Command traceInfo
|
|
253
254
|
* @property {boolean|null} [forceTrace] Command forceTrace
|
|
@@ -1860,6 +1861,14 @@
|
|
|
1860
1861
|
*/
|
|
1861
1862
|
Command.prototype.replResourcesUpdateNotification = null;
|
|
1862
1863
|
|
|
1864
|
+
/**
|
|
1865
|
+
* Command pid1RefreshSecrets.
|
|
1866
|
+
* @member {replit.goval.api.Pid1RefreshSecrets|null|undefined} pid1RefreshSecrets
|
|
1867
|
+
* @memberof replit.goval.api.Command
|
|
1868
|
+
* @instance
|
|
1869
|
+
*/
|
|
1870
|
+
Command.prototype.pid1RefreshSecrets = null;
|
|
1871
|
+
|
|
1863
1872
|
/**
|
|
1864
1873
|
* Command ref.
|
|
1865
1874
|
* @member {string} ref
|
|
@@ -1889,12 +1898,12 @@
|
|
|
1889
1898
|
|
|
1890
1899
|
/**
|
|
1891
1900
|
* Command body.
|
|
1892
|
-
* @member {"openChan"|"openChanRes"|"closeChan"|"closeChanRes"|"containerState"|"portOpen"|"portClose"|"toast"|"protocolError"|"redirect"|"runMain"|"clear"|"eval"|"result"|"input"|"output"|"error"|"stderr"|"log"|"inputClose"|"outputBlockStartEvent"|"outputBlockEndEvent"|"exitCodeEvent"|"splitStderrRequest"|"shellMetadata"|"saneTerm"|"resizeTerm"|"state"|"ok"|"persist"|"persistMirror"|"write"|"remove"|"move"|"tryRemove"|"mkdir"|"stat"|"resetNixFilesystem"|"statRes"|"transferStart"|"transferChunk"|"transferComplete"|"transferCancel"|"transfer"|"read"|"readdir"|"files"|"file"|"checkChanges"|"changedFiles"|"lintResults"|"runContainedTest"|"testResult"|"debuggerStart"|"debuggerStep"|"debuggerStatus"|"ensurePackages"|"ping"|"pong"|"hello"|"goodbye"|"proxyGoingAway"|"hint"|"connect"|"send"|"recv"|"disconnect"|"ot"|"otstatus"|"otLinkFile"|"otLinkFileResponse"|"otNewCursor"|"otDeleteCursor"|"otFetchRequest"|"otFetchResponse"|"otTransformSelectionRequest"|"otTransformSelectionResponse"|"flush"|"otFlushNotification"|"debug"|"auth"|"execInfo"|"subscribeFile"|"fileEvent"|"roster"|"join"|"part"|"openFile"|"fileOpened"|"followUser"|"unfollowUser"|"updateSessionTimestamp"|"sessionTimestampUpdated"|"exec"|"packageSearch"|"packageSearchResp"|"packageInfo"|"packageInfoResp"|"packageAdd"|"packageAddResponse"|"packageRemove"|"packageInstall"|"packageInstallResponse"|"packageListSpecfile"|"packageListSpecfileResp"|"packageCacheSave"|"chatMessage"|"chatTyping"|"chatScrollback"|"fsSnapshot"|"fsSnapshotEvent"|"fsTakeLock"|"fsReleaseLock"|"hasCap"|"snapshotEvent"|"NoninteractiveFSChangeEvent"|"pid1Config"|"metrics"|"bootStatus"|"readMetaRequest"|"readMetaResponse"|"writeMetaRequest"|"writeMetaResponse"|"appendMetaRequest"|"appendMetaResponse"|"audio"|"pprofRequest"|"pprofResponse"|"audio2"|"PTYConfig"|"debugMain"|"debugState"|"debugMainReply"|"debugInput"|"debugOutput"|"debugStop"|"debugLeave"|"debugSessions"|"debugAddBreakpointRequest"|"debugUpdateBreakpointRequest"|"debugRemoveBreakpointRequest"|"debugBreakpointEvent"|"dotReplitGetRequest"|"dotReplitGetResponse"|"runConfigGetRequest"|"runConfigGetResponse"|"dotReplitUpdateRequest"|"dotReplitUpdateResponse"|"startLSP"|"firewallDenied"|"nixPackageAddRequest"|"nixPackageAddResponse"|"nixPackageRemoveRequest"|"nixPackageRemoveResponse"|"nixPackageListRequest"|"nixPackageListResponse"|"nixChannelsRequest"|"nixChannelsResponse"|"nixChannelLatestStableRequest"|"nixChannelLatestStableResponse"|"nixPackageSearchRequest"|"nixPackageSearchResponse"|"nixPackageInfoRequest"|"nixPackageInfoResponse"|"userEvent"|"replspaceApiOpenFile"|"replspaceApiCloseFile"|"replspaceApiGetGitHubToken"|"replspaceApiGitHubToken"|"focused"|"nixModulesGetRequest"|"nixModulesGetResponse"|"nixModulesChanged"|"nixModulesBuildRequest"|"packageSetPackagerRequest"|"packageSetPackagerResp"|"toolchainGetRequest"|"toolchainGetResponse"|"toolchainChanged"|"replspaceApiOpenMultipleFiles"|"nixModulesGetRegistryRequest"|"nixModulesGetRegistryResponse"|"replspaceApiShellTracker"|"paneMetricsTracker"|"nixModuleConfigGetRequest"|"nixModuleConfigGetResponse"|"nixModuleConfigSetRequest"|"nixModuleConfigSetResponse"|"replspaceApiSSHTokenGetRequest"|"replspaceApiSSHTokenGetResponse"|"secretsGetRequest"|"secretsGetResponse"|"secretsSetRequest"|"externalSecretsGetRequest"|"externalSecretsGetResponse"|"externalSecretsSetRequest"|"replResourcesUpdateNotification"|undefined} body
|
|
1901
|
+
* @member {"openChan"|"openChanRes"|"closeChan"|"closeChanRes"|"containerState"|"portOpen"|"portClose"|"toast"|"protocolError"|"redirect"|"runMain"|"clear"|"eval"|"result"|"input"|"output"|"error"|"stderr"|"log"|"inputClose"|"outputBlockStartEvent"|"outputBlockEndEvent"|"exitCodeEvent"|"splitStderrRequest"|"shellMetadata"|"saneTerm"|"resizeTerm"|"state"|"ok"|"persist"|"persistMirror"|"write"|"remove"|"move"|"tryRemove"|"mkdir"|"stat"|"resetNixFilesystem"|"statRes"|"transferStart"|"transferChunk"|"transferComplete"|"transferCancel"|"transfer"|"read"|"readdir"|"files"|"file"|"checkChanges"|"changedFiles"|"lintResults"|"runContainedTest"|"testResult"|"debuggerStart"|"debuggerStep"|"debuggerStatus"|"ensurePackages"|"ping"|"pong"|"hello"|"goodbye"|"proxyGoingAway"|"hint"|"connect"|"send"|"recv"|"disconnect"|"ot"|"otstatus"|"otLinkFile"|"otLinkFileResponse"|"otNewCursor"|"otDeleteCursor"|"otFetchRequest"|"otFetchResponse"|"otTransformSelectionRequest"|"otTransformSelectionResponse"|"flush"|"otFlushNotification"|"debug"|"auth"|"execInfo"|"subscribeFile"|"fileEvent"|"roster"|"join"|"part"|"openFile"|"fileOpened"|"followUser"|"unfollowUser"|"updateSessionTimestamp"|"sessionTimestampUpdated"|"exec"|"packageSearch"|"packageSearchResp"|"packageInfo"|"packageInfoResp"|"packageAdd"|"packageAddResponse"|"packageRemove"|"packageInstall"|"packageInstallResponse"|"packageListSpecfile"|"packageListSpecfileResp"|"packageCacheSave"|"chatMessage"|"chatTyping"|"chatScrollback"|"fsSnapshot"|"fsSnapshotEvent"|"fsTakeLock"|"fsReleaseLock"|"hasCap"|"snapshotEvent"|"NoninteractiveFSChangeEvent"|"pid1Config"|"metrics"|"bootStatus"|"readMetaRequest"|"readMetaResponse"|"writeMetaRequest"|"writeMetaResponse"|"appendMetaRequest"|"appendMetaResponse"|"audio"|"pprofRequest"|"pprofResponse"|"audio2"|"PTYConfig"|"debugMain"|"debugState"|"debugMainReply"|"debugInput"|"debugOutput"|"debugStop"|"debugLeave"|"debugSessions"|"debugAddBreakpointRequest"|"debugUpdateBreakpointRequest"|"debugRemoveBreakpointRequest"|"debugBreakpointEvent"|"dotReplitGetRequest"|"dotReplitGetResponse"|"runConfigGetRequest"|"runConfigGetResponse"|"dotReplitUpdateRequest"|"dotReplitUpdateResponse"|"startLSP"|"firewallDenied"|"nixPackageAddRequest"|"nixPackageAddResponse"|"nixPackageRemoveRequest"|"nixPackageRemoveResponse"|"nixPackageListRequest"|"nixPackageListResponse"|"nixChannelsRequest"|"nixChannelsResponse"|"nixChannelLatestStableRequest"|"nixChannelLatestStableResponse"|"nixPackageSearchRequest"|"nixPackageSearchResponse"|"nixPackageInfoRequest"|"nixPackageInfoResponse"|"userEvent"|"replspaceApiOpenFile"|"replspaceApiCloseFile"|"replspaceApiGetGitHubToken"|"replspaceApiGitHubToken"|"focused"|"nixModulesGetRequest"|"nixModulesGetResponse"|"nixModulesChanged"|"nixModulesBuildRequest"|"packageSetPackagerRequest"|"packageSetPackagerResp"|"toolchainGetRequest"|"toolchainGetResponse"|"toolchainChanged"|"replspaceApiOpenMultipleFiles"|"nixModulesGetRegistryRequest"|"nixModulesGetRegistryResponse"|"replspaceApiShellTracker"|"paneMetricsTracker"|"nixModuleConfigGetRequest"|"nixModuleConfigGetResponse"|"nixModuleConfigSetRequest"|"nixModuleConfigSetResponse"|"replspaceApiSSHTokenGetRequest"|"replspaceApiSSHTokenGetResponse"|"secretsGetRequest"|"secretsGetResponse"|"secretsSetRequest"|"externalSecretsGetRequest"|"externalSecretsGetResponse"|"externalSecretsSetRequest"|"replResourcesUpdateNotification"|"pid1RefreshSecrets"|undefined} body
|
|
1893
1902
|
* @memberof replit.goval.api.Command
|
|
1894
1903
|
* @instance
|
|
1895
1904
|
*/
|
|
1896
1905
|
Object.defineProperty(Command.prototype, "body", {
|
|
1897
|
-
get: $util.oneOfGetter($oneOfFields = ["openChan", "openChanRes", "closeChan", "closeChanRes", "containerState", "portOpen", "portClose", "toast", "protocolError", "redirect", "runMain", "clear", "eval", "result", "input", "output", "error", "stderr", "log", "inputClose", "outputBlockStartEvent", "outputBlockEndEvent", "exitCodeEvent", "splitStderrRequest", "shellMetadata", "saneTerm", "resizeTerm", "state", "ok", "persist", "persistMirror", "write", "remove", "move", "tryRemove", "mkdir", "stat", "resetNixFilesystem", "statRes", "transferStart", "transferChunk", "transferComplete", "transferCancel", "transfer", "read", "readdir", "files", "file", "checkChanges", "changedFiles", "lintResults", "runContainedTest", "testResult", "debuggerStart", "debuggerStep", "debuggerStatus", "ensurePackages", "ping", "pong", "hello", "goodbye", "proxyGoingAway", "hint", "connect", "send", "recv", "disconnect", "ot", "otstatus", "otLinkFile", "otLinkFileResponse", "otNewCursor", "otDeleteCursor", "otFetchRequest", "otFetchResponse", "otTransformSelectionRequest", "otTransformSelectionResponse", "flush", "otFlushNotification", "debug", "auth", "execInfo", "subscribeFile", "fileEvent", "roster", "join", "part", "openFile", "fileOpened", "followUser", "unfollowUser", "updateSessionTimestamp", "sessionTimestampUpdated", "exec", "packageSearch", "packageSearchResp", "packageInfo", "packageInfoResp", "packageAdd", "packageAddResponse", "packageRemove", "packageInstall", "packageInstallResponse", "packageListSpecfile", "packageListSpecfileResp", "packageCacheSave", "chatMessage", "chatTyping", "chatScrollback", "fsSnapshot", "fsSnapshotEvent", "fsTakeLock", "fsReleaseLock", "hasCap", "snapshotEvent", "NoninteractiveFSChangeEvent", "pid1Config", "metrics", "bootStatus", "readMetaRequest", "readMetaResponse", "writeMetaRequest", "writeMetaResponse", "appendMetaRequest", "appendMetaResponse", "audio", "pprofRequest", "pprofResponse", "audio2", "PTYConfig", "debugMain", "debugState", "debugMainReply", "debugInput", "debugOutput", "debugStop", "debugLeave", "debugSessions", "debugAddBreakpointRequest", "debugUpdateBreakpointRequest", "debugRemoveBreakpointRequest", "debugBreakpointEvent", "dotReplitGetRequest", "dotReplitGetResponse", "runConfigGetRequest", "runConfigGetResponse", "dotReplitUpdateRequest", "dotReplitUpdateResponse", "startLSP", "firewallDenied", "nixPackageAddRequest", "nixPackageAddResponse", "nixPackageRemoveRequest", "nixPackageRemoveResponse", "nixPackageListRequest", "nixPackageListResponse", "nixChannelsRequest", "nixChannelsResponse", "nixChannelLatestStableRequest", "nixChannelLatestStableResponse", "nixPackageSearchRequest", "nixPackageSearchResponse", "nixPackageInfoRequest", "nixPackageInfoResponse", "userEvent", "replspaceApiOpenFile", "replspaceApiCloseFile", "replspaceApiGetGitHubToken", "replspaceApiGitHubToken", "focused", "nixModulesGetRequest", "nixModulesGetResponse", "nixModulesChanged", "nixModulesBuildRequest", "packageSetPackagerRequest", "packageSetPackagerResp", "toolchainGetRequest", "toolchainGetResponse", "toolchainChanged", "replspaceApiOpenMultipleFiles", "nixModulesGetRegistryRequest", "nixModulesGetRegistryResponse", "replspaceApiShellTracker", "paneMetricsTracker", "nixModuleConfigGetRequest", "nixModuleConfigGetResponse", "nixModuleConfigSetRequest", "nixModuleConfigSetResponse", "replspaceApiSSHTokenGetRequest", "replspaceApiSSHTokenGetResponse", "secretsGetRequest", "secretsGetResponse", "secretsSetRequest", "externalSecretsGetRequest", "externalSecretsGetResponse", "externalSecretsSetRequest", "replResourcesUpdateNotification"]),
|
|
1906
|
+
get: $util.oneOfGetter($oneOfFields = ["openChan", "openChanRes", "closeChan", "closeChanRes", "containerState", "portOpen", "portClose", "toast", "protocolError", "redirect", "runMain", "clear", "eval", "result", "input", "output", "error", "stderr", "log", "inputClose", "outputBlockStartEvent", "outputBlockEndEvent", "exitCodeEvent", "splitStderrRequest", "shellMetadata", "saneTerm", "resizeTerm", "state", "ok", "persist", "persistMirror", "write", "remove", "move", "tryRemove", "mkdir", "stat", "resetNixFilesystem", "statRes", "transferStart", "transferChunk", "transferComplete", "transferCancel", "transfer", "read", "readdir", "files", "file", "checkChanges", "changedFiles", "lintResults", "runContainedTest", "testResult", "debuggerStart", "debuggerStep", "debuggerStatus", "ensurePackages", "ping", "pong", "hello", "goodbye", "proxyGoingAway", "hint", "connect", "send", "recv", "disconnect", "ot", "otstatus", "otLinkFile", "otLinkFileResponse", "otNewCursor", "otDeleteCursor", "otFetchRequest", "otFetchResponse", "otTransformSelectionRequest", "otTransformSelectionResponse", "flush", "otFlushNotification", "debug", "auth", "execInfo", "subscribeFile", "fileEvent", "roster", "join", "part", "openFile", "fileOpened", "followUser", "unfollowUser", "updateSessionTimestamp", "sessionTimestampUpdated", "exec", "packageSearch", "packageSearchResp", "packageInfo", "packageInfoResp", "packageAdd", "packageAddResponse", "packageRemove", "packageInstall", "packageInstallResponse", "packageListSpecfile", "packageListSpecfileResp", "packageCacheSave", "chatMessage", "chatTyping", "chatScrollback", "fsSnapshot", "fsSnapshotEvent", "fsTakeLock", "fsReleaseLock", "hasCap", "snapshotEvent", "NoninteractiveFSChangeEvent", "pid1Config", "metrics", "bootStatus", "readMetaRequest", "readMetaResponse", "writeMetaRequest", "writeMetaResponse", "appendMetaRequest", "appendMetaResponse", "audio", "pprofRequest", "pprofResponse", "audio2", "PTYConfig", "debugMain", "debugState", "debugMainReply", "debugInput", "debugOutput", "debugStop", "debugLeave", "debugSessions", "debugAddBreakpointRequest", "debugUpdateBreakpointRequest", "debugRemoveBreakpointRequest", "debugBreakpointEvent", "dotReplitGetRequest", "dotReplitGetResponse", "runConfigGetRequest", "runConfigGetResponse", "dotReplitUpdateRequest", "dotReplitUpdateResponse", "startLSP", "firewallDenied", "nixPackageAddRequest", "nixPackageAddResponse", "nixPackageRemoveRequest", "nixPackageRemoveResponse", "nixPackageListRequest", "nixPackageListResponse", "nixChannelsRequest", "nixChannelsResponse", "nixChannelLatestStableRequest", "nixChannelLatestStableResponse", "nixPackageSearchRequest", "nixPackageSearchResponse", "nixPackageInfoRequest", "nixPackageInfoResponse", "userEvent", "replspaceApiOpenFile", "replspaceApiCloseFile", "replspaceApiGetGitHubToken", "replspaceApiGitHubToken", "focused", "nixModulesGetRequest", "nixModulesGetResponse", "nixModulesChanged", "nixModulesBuildRequest", "packageSetPackagerRequest", "packageSetPackagerResp", "toolchainGetRequest", "toolchainGetResponse", "toolchainChanged", "replspaceApiOpenMultipleFiles", "nixModulesGetRegistryRequest", "nixModulesGetRegistryResponse", "replspaceApiShellTracker", "paneMetricsTracker", "nixModuleConfigGetRequest", "nixModuleConfigGetResponse", "nixModuleConfigSetRequest", "nixModuleConfigSetResponse", "replspaceApiSSHTokenGetRequest", "replspaceApiSSHTokenGetResponse", "secretsGetRequest", "secretsGetResponse", "secretsSetRequest", "externalSecretsGetRequest", "externalSecretsGetResponse", "externalSecretsSetRequest", "replResourcesUpdateNotification", "pid1RefreshSecrets"]),
|
|
1898
1907
|
set: $util.oneOfSetter($oneOfFields)
|
|
1899
1908
|
});
|
|
1900
1909
|
|
|
@@ -2320,6 +2329,8 @@
|
|
|
2320
2329
|
$root.replit.goval.api.ExternalSecretsSetRequest.encode(message.externalSecretsSetRequest, writer.uint32(/* id 471, wireType 2 =*/3770).fork()).ldelim();
|
|
2321
2330
|
if (message.replResourcesUpdateNotification != null && Object.hasOwnProperty.call(message, "replResourcesUpdateNotification"))
|
|
2322
2331
|
$root.replit.goval.api.ReplResourcesUpdateNotification.encode(message.replResourcesUpdateNotification, writer.uint32(/* id 600, wireType 2 =*/4802).fork()).ldelim();
|
|
2332
|
+
if (message.pid1RefreshSecrets != null && Object.hasOwnProperty.call(message, "pid1RefreshSecrets"))
|
|
2333
|
+
$root.replit.goval.api.Pid1RefreshSecrets.encode(message.pid1RefreshSecrets, writer.uint32(/* id 601, wireType 2 =*/4810).fork()).ldelim();
|
|
2323
2334
|
if (message.ref != null && Object.hasOwnProperty.call(message, "ref"))
|
|
2324
2335
|
writer.uint32(/* id 1000, wireType 2 =*/8002).string(message.ref);
|
|
2325
2336
|
if (message.traceInfo != null && Object.hasOwnProperty.call(message, "traceInfo"))
|
|
@@ -3157,6 +3168,10 @@
|
|
|
3157
3168
|
message.replResourcesUpdateNotification = $root.replit.goval.api.ReplResourcesUpdateNotification.decode(reader, reader.uint32());
|
|
3158
3169
|
break;
|
|
3159
3170
|
}
|
|
3171
|
+
case 601: {
|
|
3172
|
+
message.pid1RefreshSecrets = $root.replit.goval.api.Pid1RefreshSecrets.decode(reader, reader.uint32());
|
|
3173
|
+
break;
|
|
3174
|
+
}
|
|
3160
3175
|
case 1000: {
|
|
3161
3176
|
message.ref = reader.string();
|
|
3162
3177
|
break;
|
|
@@ -5164,6 +5179,16 @@
|
|
|
5164
5179
|
return "replResourcesUpdateNotification." + error;
|
|
5165
5180
|
}
|
|
5166
5181
|
}
|
|
5182
|
+
if (message.pid1RefreshSecrets != null && message.hasOwnProperty("pid1RefreshSecrets")) {
|
|
5183
|
+
if (properties.body === 1)
|
|
5184
|
+
return "body: multiple values";
|
|
5185
|
+
properties.body = 1;
|
|
5186
|
+
{
|
|
5187
|
+
var error = $root.replit.goval.api.Pid1RefreshSecrets.verify(message.pid1RefreshSecrets);
|
|
5188
|
+
if (error)
|
|
5189
|
+
return "pid1RefreshSecrets." + error;
|
|
5190
|
+
}
|
|
5191
|
+
}
|
|
5167
5192
|
if (message.ref != null && message.hasOwnProperty("ref"))
|
|
5168
5193
|
if (!$util.isString(message.ref))
|
|
5169
5194
|
return "ref: string expected";
|
|
@@ -6157,6 +6182,11 @@
|
|
|
6157
6182
|
throw TypeError(".replit.goval.api.Command.replResourcesUpdateNotification: object expected");
|
|
6158
6183
|
message.replResourcesUpdateNotification = $root.replit.goval.api.ReplResourcesUpdateNotification.fromObject(object.replResourcesUpdateNotification);
|
|
6159
6184
|
}
|
|
6185
|
+
if (object.pid1RefreshSecrets != null) {
|
|
6186
|
+
if (typeof object.pid1RefreshSecrets !== "object")
|
|
6187
|
+
throw TypeError(".replit.goval.api.Command.pid1RefreshSecrets: object expected");
|
|
6188
|
+
message.pid1RefreshSecrets = $root.replit.goval.api.Pid1RefreshSecrets.fromObject(object.pid1RefreshSecrets);
|
|
6189
|
+
}
|
|
6160
6190
|
if (object.ref != null)
|
|
6161
6191
|
message.ref = String(object.ref);
|
|
6162
6192
|
if (object.traceInfo) {
|
|
@@ -7181,6 +7211,11 @@
|
|
|
7181
7211
|
if (options.oneofs)
|
|
7182
7212
|
object.body = "replResourcesUpdateNotification";
|
|
7183
7213
|
}
|
|
7214
|
+
if (message.pid1RefreshSecrets != null && message.hasOwnProperty("pid1RefreshSecrets")) {
|
|
7215
|
+
object.pid1RefreshSecrets = $root.replit.goval.api.Pid1RefreshSecrets.toObject(message.pid1RefreshSecrets, options);
|
|
7216
|
+
if (options.oneofs)
|
|
7217
|
+
object.body = "pid1RefreshSecrets";
|
|
7218
|
+
}
|
|
7184
7219
|
if (message.ref != null && message.hasOwnProperty("ref"))
|
|
7185
7220
|
object.ref = message.ref;
|
|
7186
7221
|
var keys2;
|
|
@@ -13399,6 +13434,180 @@
|
|
|
13399
13434
|
return BootStatus;
|
|
13400
13435
|
})();
|
|
13401
13436
|
|
|
13437
|
+
api.Pid1RefreshSecrets = (function() {
|
|
13438
|
+
|
|
13439
|
+
/**
|
|
13440
|
+
* Properties of a Pid1RefreshSecrets.
|
|
13441
|
+
* @memberof replit.goval.api
|
|
13442
|
+
* @interface IPid1RefreshSecrets
|
|
13443
|
+
*/
|
|
13444
|
+
|
|
13445
|
+
/**
|
|
13446
|
+
* Constructs a new Pid1RefreshSecrets.
|
|
13447
|
+
* @memberof replit.goval.api
|
|
13448
|
+
* @classdesc Represents a Pid1RefreshSecrets.
|
|
13449
|
+
* @constructor
|
|
13450
|
+
* @param {replit.goval.api.IPid1RefreshSecrets=} [properties] Properties to set
|
|
13451
|
+
*/
|
|
13452
|
+
function Pid1RefreshSecrets(properties) {
|
|
13453
|
+
if (properties)
|
|
13454
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
13455
|
+
if (properties[keys[i]] != null)
|
|
13456
|
+
this[keys[i]] = properties[keys[i]];
|
|
13457
|
+
}
|
|
13458
|
+
|
|
13459
|
+
/**
|
|
13460
|
+
* Creates a new Pid1RefreshSecrets instance using the specified properties.
|
|
13461
|
+
* @function create
|
|
13462
|
+
* @memberof replit.goval.api.Pid1RefreshSecrets
|
|
13463
|
+
* @static
|
|
13464
|
+
* @param {replit.goval.api.IPid1RefreshSecrets=} [properties] Properties to set
|
|
13465
|
+
* @returns {replit.goval.api.Pid1RefreshSecrets} Pid1RefreshSecrets instance
|
|
13466
|
+
*/
|
|
13467
|
+
Pid1RefreshSecrets.create = function create(properties) {
|
|
13468
|
+
return Pid1RefreshSecrets.fromObject(properties);
|
|
13469
|
+
};
|
|
13470
|
+
|
|
13471
|
+
/**
|
|
13472
|
+
* Encodes the specified Pid1RefreshSecrets message. Does not implicitly {@link replit.goval.api.Pid1RefreshSecrets.verify|verify} messages.
|
|
13473
|
+
* @function encode
|
|
13474
|
+
* @memberof replit.goval.api.Pid1RefreshSecrets
|
|
13475
|
+
* @static
|
|
13476
|
+
* @param {replit.goval.api.Pid1RefreshSecrets} message Pid1RefreshSecrets message or plain object to encode
|
|
13477
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
13478
|
+
* @returns {$protobuf.Writer} Writer
|
|
13479
|
+
*/
|
|
13480
|
+
Pid1RefreshSecrets.encode = function encode(message, writer) {
|
|
13481
|
+
if (!writer)
|
|
13482
|
+
writer = $Writer.create();
|
|
13483
|
+
return writer;
|
|
13484
|
+
};
|
|
13485
|
+
|
|
13486
|
+
/**
|
|
13487
|
+
* Encodes the specified Pid1RefreshSecrets message, length delimited. Does not implicitly {@link replit.goval.api.Pid1RefreshSecrets.verify|verify} messages.
|
|
13488
|
+
* @function encodeDelimited
|
|
13489
|
+
* @memberof replit.goval.api.Pid1RefreshSecrets
|
|
13490
|
+
* @static
|
|
13491
|
+
* @param {replit.goval.api.Pid1RefreshSecrets} message Pid1RefreshSecrets message or plain object to encode
|
|
13492
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
13493
|
+
* @returns {$protobuf.Writer} Writer
|
|
13494
|
+
*/
|
|
13495
|
+
Pid1RefreshSecrets.encodeDelimited = function encodeDelimited(message, writer) {
|
|
13496
|
+
return this.encode(message, writer).ldelim();
|
|
13497
|
+
};
|
|
13498
|
+
|
|
13499
|
+
/**
|
|
13500
|
+
* Decodes a Pid1RefreshSecrets message from the specified reader or buffer.
|
|
13501
|
+
* @function decode
|
|
13502
|
+
* @memberof replit.goval.api.Pid1RefreshSecrets
|
|
13503
|
+
* @static
|
|
13504
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
13505
|
+
* @param {number} [length] Message length if known beforehand
|
|
13506
|
+
* @returns {replit.goval.api.Pid1RefreshSecrets} Pid1RefreshSecrets
|
|
13507
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
13508
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
13509
|
+
*/
|
|
13510
|
+
Pid1RefreshSecrets.decode = function decode(reader, length) {
|
|
13511
|
+
if (!(reader instanceof $Reader))
|
|
13512
|
+
reader = $Reader.create(reader);
|
|
13513
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.replit.goval.api.Pid1RefreshSecrets();
|
|
13514
|
+
while (reader.pos < end) {
|
|
13515
|
+
var tag = reader.uint32();
|
|
13516
|
+
switch (tag >>> 3) {
|
|
13517
|
+
default:
|
|
13518
|
+
reader.skipType(tag & 7);
|
|
13519
|
+
break;
|
|
13520
|
+
}
|
|
13521
|
+
}
|
|
13522
|
+
return message;
|
|
13523
|
+
};
|
|
13524
|
+
|
|
13525
|
+
/**
|
|
13526
|
+
* Decodes a Pid1RefreshSecrets message from the specified reader or buffer, length delimited.
|
|
13527
|
+
* @function decodeDelimited
|
|
13528
|
+
* @memberof replit.goval.api.Pid1RefreshSecrets
|
|
13529
|
+
* @static
|
|
13530
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
13531
|
+
* @returns {replit.goval.api.Pid1RefreshSecrets} Pid1RefreshSecrets
|
|
13532
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
13533
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
13534
|
+
*/
|
|
13535
|
+
Pid1RefreshSecrets.decodeDelimited = function decodeDelimited(reader) {
|
|
13536
|
+
if (!(reader instanceof $Reader))
|
|
13537
|
+
reader = new $Reader(reader);
|
|
13538
|
+
return this.decode(reader, reader.uint32());
|
|
13539
|
+
};
|
|
13540
|
+
|
|
13541
|
+
/**
|
|
13542
|
+
* Verifies a Pid1RefreshSecrets message.
|
|
13543
|
+
* @function verify
|
|
13544
|
+
* @memberof replit.goval.api.Pid1RefreshSecrets
|
|
13545
|
+
* @static
|
|
13546
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
13547
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
13548
|
+
*/
|
|
13549
|
+
Pid1RefreshSecrets.verify = function verify(message) {
|
|
13550
|
+
if (typeof message !== "object" || message === null)
|
|
13551
|
+
return "object expected";
|
|
13552
|
+
return null;
|
|
13553
|
+
};
|
|
13554
|
+
|
|
13555
|
+
/**
|
|
13556
|
+
* Creates a Pid1RefreshSecrets message from a plain object. Also converts values to their respective internal types.
|
|
13557
|
+
* @function fromObject
|
|
13558
|
+
* @memberof replit.goval.api.Pid1RefreshSecrets
|
|
13559
|
+
* @static
|
|
13560
|
+
* @param {Object.<string,*>} object Plain object
|
|
13561
|
+
* @returns {replit.goval.api.Pid1RefreshSecrets} Pid1RefreshSecrets
|
|
13562
|
+
*/
|
|
13563
|
+
Pid1RefreshSecrets.fromObject = function fromObject(object) {
|
|
13564
|
+
if (object instanceof $root.replit.goval.api.Pid1RefreshSecrets)
|
|
13565
|
+
return object;
|
|
13566
|
+
return new $root.replit.goval.api.Pid1RefreshSecrets();
|
|
13567
|
+
};
|
|
13568
|
+
|
|
13569
|
+
/**
|
|
13570
|
+
* Creates a plain object from a Pid1RefreshSecrets message. Also converts values to other types if specified.
|
|
13571
|
+
* @function toObject
|
|
13572
|
+
* @memberof replit.goval.api.Pid1RefreshSecrets
|
|
13573
|
+
* @static
|
|
13574
|
+
* @param {replit.goval.api.Pid1RefreshSecrets} message Pid1RefreshSecrets
|
|
13575
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
13576
|
+
* @returns {Object.<string,*>} Plain object
|
|
13577
|
+
*/
|
|
13578
|
+
Pid1RefreshSecrets.toObject = function toObject() {
|
|
13579
|
+
return {};
|
|
13580
|
+
};
|
|
13581
|
+
|
|
13582
|
+
/**
|
|
13583
|
+
* Converts this Pid1RefreshSecrets to JSON.
|
|
13584
|
+
* @function toJSON
|
|
13585
|
+
* @memberof replit.goval.api.Pid1RefreshSecrets
|
|
13586
|
+
* @instance
|
|
13587
|
+
* @returns {Object.<string,*>} JSON object
|
|
13588
|
+
*/
|
|
13589
|
+
Pid1RefreshSecrets.prototype.toJSON = function toJSON() {
|
|
13590
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
13591
|
+
};
|
|
13592
|
+
|
|
13593
|
+
/**
|
|
13594
|
+
* Gets the default type url for Pid1RefreshSecrets
|
|
13595
|
+
* @function getTypeUrl
|
|
13596
|
+
* @memberof replit.goval.api.Pid1RefreshSecrets
|
|
13597
|
+
* @static
|
|
13598
|
+
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
13599
|
+
* @returns {string} The default type url
|
|
13600
|
+
*/
|
|
13601
|
+
Pid1RefreshSecrets.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
13602
|
+
if (typeUrlPrefix === undefined) {
|
|
13603
|
+
typeUrlPrefix = "type.googleapis.com";
|
|
13604
|
+
}
|
|
13605
|
+
return typeUrlPrefix + "/replit.goval.api.Pid1RefreshSecrets";
|
|
13606
|
+
};
|
|
13607
|
+
|
|
13608
|
+
return Pid1RefreshSecrets;
|
|
13609
|
+
})();
|
|
13610
|
+
|
|
13402
13611
|
api.Pid1Config = (function() {
|
|
13403
13612
|
|
|
13404
13613
|
/**
|
|
@@ -75905,6 +76114,208 @@
|
|
|
75905
76114
|
return Takedown;
|
|
75906
76115
|
})();
|
|
75907
76116
|
|
|
76117
|
+
lore.StartViktor = (function() {
|
|
76118
|
+
|
|
76119
|
+
/**
|
|
76120
|
+
* Properties of a StartViktor.
|
|
76121
|
+
* @memberof replit.goval.api.lore
|
|
76122
|
+
* @interface IStartViktor
|
|
76123
|
+
* @property {string|null} [replId] StartViktor replId
|
|
76124
|
+
*/
|
|
76125
|
+
|
|
76126
|
+
/**
|
|
76127
|
+
* Constructs a new StartViktor.
|
|
76128
|
+
* @memberof replit.goval.api.lore
|
|
76129
|
+
* @classdesc Represents a StartViktor.
|
|
76130
|
+
* @constructor
|
|
76131
|
+
* @param {replit.goval.api.lore.IStartViktor=} [properties] Properties to set
|
|
76132
|
+
*/
|
|
76133
|
+
function StartViktor(properties) {
|
|
76134
|
+
if (properties)
|
|
76135
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
76136
|
+
if (properties[keys[i]] != null)
|
|
76137
|
+
this[keys[i]] = properties[keys[i]];
|
|
76138
|
+
}
|
|
76139
|
+
|
|
76140
|
+
/**
|
|
76141
|
+
* StartViktor replId.
|
|
76142
|
+
* @member {string} replId
|
|
76143
|
+
* @memberof replit.goval.api.lore.StartViktor
|
|
76144
|
+
* @instance
|
|
76145
|
+
*/
|
|
76146
|
+
StartViktor.prototype.replId = "";
|
|
76147
|
+
|
|
76148
|
+
/**
|
|
76149
|
+
* Creates a new StartViktor instance using the specified properties.
|
|
76150
|
+
* @function create
|
|
76151
|
+
* @memberof replit.goval.api.lore.StartViktor
|
|
76152
|
+
* @static
|
|
76153
|
+
* @param {replit.goval.api.lore.IStartViktor=} [properties] Properties to set
|
|
76154
|
+
* @returns {replit.goval.api.lore.StartViktor} StartViktor instance
|
|
76155
|
+
*/
|
|
76156
|
+
StartViktor.create = function create(properties) {
|
|
76157
|
+
return StartViktor.fromObject(properties);
|
|
76158
|
+
};
|
|
76159
|
+
|
|
76160
|
+
/**
|
|
76161
|
+
* Encodes the specified StartViktor message. Does not implicitly {@link replit.goval.api.lore.StartViktor.verify|verify} messages.
|
|
76162
|
+
* @function encode
|
|
76163
|
+
* @memberof replit.goval.api.lore.StartViktor
|
|
76164
|
+
* @static
|
|
76165
|
+
* @param {replit.goval.api.lore.StartViktor} message StartViktor message or plain object to encode
|
|
76166
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
76167
|
+
* @returns {$protobuf.Writer} Writer
|
|
76168
|
+
*/
|
|
76169
|
+
StartViktor.encode = function encode(message, writer) {
|
|
76170
|
+
if (!writer)
|
|
76171
|
+
writer = $Writer.create();
|
|
76172
|
+
if (message.replId != null && Object.hasOwnProperty.call(message, "replId"))
|
|
76173
|
+
writer.uint32(/* id 1, wireType 2 =*/10).string(message.replId);
|
|
76174
|
+
return writer;
|
|
76175
|
+
};
|
|
76176
|
+
|
|
76177
|
+
/**
|
|
76178
|
+
* Encodes the specified StartViktor message, length delimited. Does not implicitly {@link replit.goval.api.lore.StartViktor.verify|verify} messages.
|
|
76179
|
+
* @function encodeDelimited
|
|
76180
|
+
* @memberof replit.goval.api.lore.StartViktor
|
|
76181
|
+
* @static
|
|
76182
|
+
* @param {replit.goval.api.lore.StartViktor} message StartViktor message or plain object to encode
|
|
76183
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
76184
|
+
* @returns {$protobuf.Writer} Writer
|
|
76185
|
+
*/
|
|
76186
|
+
StartViktor.encodeDelimited = function encodeDelimited(message, writer) {
|
|
76187
|
+
return this.encode(message, writer).ldelim();
|
|
76188
|
+
};
|
|
76189
|
+
|
|
76190
|
+
/**
|
|
76191
|
+
* Decodes a StartViktor message from the specified reader or buffer.
|
|
76192
|
+
* @function decode
|
|
76193
|
+
* @memberof replit.goval.api.lore.StartViktor
|
|
76194
|
+
* @static
|
|
76195
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
76196
|
+
* @param {number} [length] Message length if known beforehand
|
|
76197
|
+
* @returns {replit.goval.api.lore.StartViktor} StartViktor
|
|
76198
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
76199
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
76200
|
+
*/
|
|
76201
|
+
StartViktor.decode = function decode(reader, length) {
|
|
76202
|
+
if (!(reader instanceof $Reader))
|
|
76203
|
+
reader = $Reader.create(reader);
|
|
76204
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.replit.goval.api.lore.StartViktor();
|
|
76205
|
+
while (reader.pos < end) {
|
|
76206
|
+
var tag = reader.uint32();
|
|
76207
|
+
switch (tag >>> 3) {
|
|
76208
|
+
case 1: {
|
|
76209
|
+
message.replId = reader.string();
|
|
76210
|
+
break;
|
|
76211
|
+
}
|
|
76212
|
+
default:
|
|
76213
|
+
reader.skipType(tag & 7);
|
|
76214
|
+
break;
|
|
76215
|
+
}
|
|
76216
|
+
}
|
|
76217
|
+
return message;
|
|
76218
|
+
};
|
|
76219
|
+
|
|
76220
|
+
/**
|
|
76221
|
+
* Decodes a StartViktor message from the specified reader or buffer, length delimited.
|
|
76222
|
+
* @function decodeDelimited
|
|
76223
|
+
* @memberof replit.goval.api.lore.StartViktor
|
|
76224
|
+
* @static
|
|
76225
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
76226
|
+
* @returns {replit.goval.api.lore.StartViktor} StartViktor
|
|
76227
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
76228
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
76229
|
+
*/
|
|
76230
|
+
StartViktor.decodeDelimited = function decodeDelimited(reader) {
|
|
76231
|
+
if (!(reader instanceof $Reader))
|
|
76232
|
+
reader = new $Reader(reader);
|
|
76233
|
+
return this.decode(reader, reader.uint32());
|
|
76234
|
+
};
|
|
76235
|
+
|
|
76236
|
+
/**
|
|
76237
|
+
* Verifies a StartViktor message.
|
|
76238
|
+
* @function verify
|
|
76239
|
+
* @memberof replit.goval.api.lore.StartViktor
|
|
76240
|
+
* @static
|
|
76241
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
76242
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
76243
|
+
*/
|
|
76244
|
+
StartViktor.verify = function verify(message) {
|
|
76245
|
+
if (typeof message !== "object" || message === null)
|
|
76246
|
+
return "object expected";
|
|
76247
|
+
if (message.replId != null && message.hasOwnProperty("replId"))
|
|
76248
|
+
if (!$util.isString(message.replId))
|
|
76249
|
+
return "replId: string expected";
|
|
76250
|
+
return null;
|
|
76251
|
+
};
|
|
76252
|
+
|
|
76253
|
+
/**
|
|
76254
|
+
* Creates a StartViktor message from a plain object. Also converts values to their respective internal types.
|
|
76255
|
+
* @function fromObject
|
|
76256
|
+
* @memberof replit.goval.api.lore.StartViktor
|
|
76257
|
+
* @static
|
|
76258
|
+
* @param {Object.<string,*>} object Plain object
|
|
76259
|
+
* @returns {replit.goval.api.lore.StartViktor} StartViktor
|
|
76260
|
+
*/
|
|
76261
|
+
StartViktor.fromObject = function fromObject(object) {
|
|
76262
|
+
if (object instanceof $root.replit.goval.api.lore.StartViktor)
|
|
76263
|
+
return object;
|
|
76264
|
+
var message = new $root.replit.goval.api.lore.StartViktor();
|
|
76265
|
+
if (object.replId != null)
|
|
76266
|
+
message.replId = String(object.replId);
|
|
76267
|
+
return message;
|
|
76268
|
+
};
|
|
76269
|
+
|
|
76270
|
+
/**
|
|
76271
|
+
* Creates a plain object from a StartViktor message. Also converts values to other types if specified.
|
|
76272
|
+
* @function toObject
|
|
76273
|
+
* @memberof replit.goval.api.lore.StartViktor
|
|
76274
|
+
* @static
|
|
76275
|
+
* @param {replit.goval.api.lore.StartViktor} message StartViktor
|
|
76276
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
76277
|
+
* @returns {Object.<string,*>} Plain object
|
|
76278
|
+
*/
|
|
76279
|
+
StartViktor.toObject = function toObject(message, options) {
|
|
76280
|
+
if (!options)
|
|
76281
|
+
options = {};
|
|
76282
|
+
var object = {};
|
|
76283
|
+
if (options.defaults)
|
|
76284
|
+
object.replId = "";
|
|
76285
|
+
if (message.replId != null && message.hasOwnProperty("replId"))
|
|
76286
|
+
object.replId = message.replId;
|
|
76287
|
+
return object;
|
|
76288
|
+
};
|
|
76289
|
+
|
|
76290
|
+
/**
|
|
76291
|
+
* Converts this StartViktor to JSON.
|
|
76292
|
+
* @function toJSON
|
|
76293
|
+
* @memberof replit.goval.api.lore.StartViktor
|
|
76294
|
+
* @instance
|
|
76295
|
+
* @returns {Object.<string,*>} JSON object
|
|
76296
|
+
*/
|
|
76297
|
+
StartViktor.prototype.toJSON = function toJSON() {
|
|
76298
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
76299
|
+
};
|
|
76300
|
+
|
|
76301
|
+
/**
|
|
76302
|
+
* Gets the default type url for StartViktor
|
|
76303
|
+
* @function getTypeUrl
|
|
76304
|
+
* @memberof replit.goval.api.lore.StartViktor
|
|
76305
|
+
* @static
|
|
76306
|
+
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
76307
|
+
* @returns {string} The default type url
|
|
76308
|
+
*/
|
|
76309
|
+
StartViktor.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
76310
|
+
if (typeUrlPrefix === undefined) {
|
|
76311
|
+
typeUrlPrefix = "type.googleapis.com";
|
|
76312
|
+
}
|
|
76313
|
+
return typeUrlPrefix + "/replit.goval.api.lore.StartViktor";
|
|
76314
|
+
};
|
|
76315
|
+
|
|
76316
|
+
return StartViktor;
|
|
76317
|
+
})();
|
|
76318
|
+
|
|
75908
76319
|
lore.GovalCommand = (function() {
|
|
75909
76320
|
|
|
75910
76321
|
/**
|
|
@@ -75918,6 +76329,7 @@
|
|
|
75918
76329
|
* @property {replit.goval.api.lore.UpdateReplFlags|replit.goval.api.lore.IUpdateReplFlags|null} [updateReplFlags] GovalCommand updateReplFlags
|
|
75919
76330
|
* @property {replit.goval.api.lore.SoftTakedown|replit.goval.api.lore.ISoftTakedown|null} [softTakedown] GovalCommand softTakedown
|
|
75920
76331
|
* @property {replit.goval.api.lore.Takedown|replit.goval.api.lore.ITakedown|null} [takedown] GovalCommand takedown
|
|
76332
|
+
* @property {replit.goval.api.lore.StartViktor|replit.goval.api.lore.IStartViktor|null} [startViktor] GovalCommand startViktor
|
|
75921
76333
|
*/
|
|
75922
76334
|
|
|
75923
76335
|
/**
|
|
@@ -75990,17 +76402,25 @@
|
|
|
75990
76402
|
*/
|
|
75991
76403
|
GovalCommand.prototype.takedown = null;
|
|
75992
76404
|
|
|
76405
|
+
/**
|
|
76406
|
+
* GovalCommand startViktor.
|
|
76407
|
+
* @member {replit.goval.api.lore.StartViktor|null|undefined} startViktor
|
|
76408
|
+
* @memberof replit.goval.api.lore.GovalCommand
|
|
76409
|
+
* @instance
|
|
76410
|
+
*/
|
|
76411
|
+
GovalCommand.prototype.startViktor = null;
|
|
76412
|
+
|
|
75993
76413
|
// OneOf field names bound to virtual getters and setters
|
|
75994
76414
|
var $oneOfFields;
|
|
75995
76415
|
|
|
75996
76416
|
/**
|
|
75997
76417
|
* GovalCommand command.
|
|
75998
|
-
* @member {"updateMetadata"|"partialUpdateMetadata"|"killRepl"|"updateSourceRepl"|"updateReplFlags"|"softTakedown"|"takedown"|undefined} command
|
|
76418
|
+
* @member {"updateMetadata"|"partialUpdateMetadata"|"killRepl"|"updateSourceRepl"|"updateReplFlags"|"softTakedown"|"takedown"|"startViktor"|undefined} command
|
|
75999
76419
|
* @memberof replit.goval.api.lore.GovalCommand
|
|
76000
76420
|
* @instance
|
|
76001
76421
|
*/
|
|
76002
76422
|
Object.defineProperty(GovalCommand.prototype, "command", {
|
|
76003
|
-
get: $util.oneOfGetter($oneOfFields = ["updateMetadata", "partialUpdateMetadata", "killRepl", "updateSourceRepl", "updateReplFlags", "softTakedown", "takedown"]),
|
|
76423
|
+
get: $util.oneOfGetter($oneOfFields = ["updateMetadata", "partialUpdateMetadata", "killRepl", "updateSourceRepl", "updateReplFlags", "softTakedown", "takedown", "startViktor"]),
|
|
76004
76424
|
set: $util.oneOfSetter($oneOfFields)
|
|
76005
76425
|
});
|
|
76006
76426
|
|
|
@@ -76042,6 +76462,8 @@
|
|
|
76042
76462
|
$root.replit.goval.api.lore.SoftTakedown.encode(message.softTakedown, writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim();
|
|
76043
76463
|
if (message.takedown != null && Object.hasOwnProperty.call(message, "takedown"))
|
|
76044
76464
|
$root.replit.goval.api.lore.Takedown.encode(message.takedown, writer.uint32(/* id 7, wireType 2 =*/58).fork()).ldelim();
|
|
76465
|
+
if (message.startViktor != null && Object.hasOwnProperty.call(message, "startViktor"))
|
|
76466
|
+
$root.replit.goval.api.lore.StartViktor.encode(message.startViktor, writer.uint32(/* id 9, wireType 2 =*/74).fork()).ldelim();
|
|
76045
76467
|
return writer;
|
|
76046
76468
|
};
|
|
76047
76469
|
|
|
@@ -76104,6 +76526,10 @@
|
|
|
76104
76526
|
message.takedown = $root.replit.goval.api.lore.Takedown.decode(reader, reader.uint32());
|
|
76105
76527
|
break;
|
|
76106
76528
|
}
|
|
76529
|
+
case 9: {
|
|
76530
|
+
message.startViktor = $root.replit.goval.api.lore.StartViktor.decode(reader, reader.uint32());
|
|
76531
|
+
break;
|
|
76532
|
+
}
|
|
76107
76533
|
default:
|
|
76108
76534
|
reader.skipType(tag & 7);
|
|
76109
76535
|
break;
|
|
@@ -76208,6 +76634,16 @@
|
|
|
76208
76634
|
return "takedown." + error;
|
|
76209
76635
|
}
|
|
76210
76636
|
}
|
|
76637
|
+
if (message.startViktor != null && message.hasOwnProperty("startViktor")) {
|
|
76638
|
+
if (properties.command === 1)
|
|
76639
|
+
return "command: multiple values";
|
|
76640
|
+
properties.command = 1;
|
|
76641
|
+
{
|
|
76642
|
+
var error = $root.replit.goval.api.lore.StartViktor.verify(message.startViktor);
|
|
76643
|
+
if (error)
|
|
76644
|
+
return "startViktor." + error;
|
|
76645
|
+
}
|
|
76646
|
+
}
|
|
76211
76647
|
return null;
|
|
76212
76648
|
};
|
|
76213
76649
|
|
|
@@ -76258,6 +76694,11 @@
|
|
|
76258
76694
|
throw TypeError(".replit.goval.api.lore.GovalCommand.takedown: object expected");
|
|
76259
76695
|
message.takedown = $root.replit.goval.api.lore.Takedown.fromObject(object.takedown);
|
|
76260
76696
|
}
|
|
76697
|
+
if (object.startViktor != null) {
|
|
76698
|
+
if (typeof object.startViktor !== "object")
|
|
76699
|
+
throw TypeError(".replit.goval.api.lore.GovalCommand.startViktor: object expected");
|
|
76700
|
+
message.startViktor = $root.replit.goval.api.lore.StartViktor.fromObject(object.startViktor);
|
|
76701
|
+
}
|
|
76261
76702
|
return message;
|
|
76262
76703
|
};
|
|
76263
76704
|
|
|
@@ -76309,6 +76750,11 @@
|
|
|
76309
76750
|
if (options.oneofs)
|
|
76310
76751
|
object.command = "takedown";
|
|
76311
76752
|
}
|
|
76753
|
+
if (message.startViktor != null && message.hasOwnProperty("startViktor")) {
|
|
76754
|
+
object.startViktor = $root.replit.goval.api.lore.StartViktor.toObject(message.startViktor, options);
|
|
76755
|
+
if (options.oneofs)
|
|
76756
|
+
object.command = "startViktor";
|
|
76757
|
+
}
|
|
76312
76758
|
return object;
|
|
76313
76759
|
};
|
|
76314
76760
|
|
|
@@ -78226,7 +78672,6 @@
|
|
|
78226
78672
|
* @property {string|null} [name] Cluster name
|
|
78227
78673
|
* @property {string|null} [conmanUrl] Cluster conmanUrl
|
|
78228
78674
|
* @property {string|null} [gurl] Cluster gurl
|
|
78229
|
-
* @property {string|null} [proxy] Cluster proxy
|
|
78230
78675
|
*/
|
|
78231
78676
|
|
|
78232
78677
|
/**
|
|
@@ -78267,14 +78712,6 @@
|
|
|
78267
78712
|
*/
|
|
78268
78713
|
Cluster.prototype.gurl = "";
|
|
78269
78714
|
|
|
78270
|
-
/**
|
|
78271
|
-
* Cluster proxy.
|
|
78272
|
-
* @member {string} proxy
|
|
78273
|
-
* @memberof replit.goval.api.lore.Cluster
|
|
78274
|
-
* @instance
|
|
78275
|
-
*/
|
|
78276
|
-
Cluster.prototype.proxy = "";
|
|
78277
|
-
|
|
78278
78715
|
/**
|
|
78279
78716
|
* Creates a new Cluster instance using the specified properties.
|
|
78280
78717
|
* @function create
|
|
@@ -78305,8 +78742,6 @@
|
|
|
78305
78742
|
writer.uint32(/* id 2, wireType 2 =*/18).string(message.conmanUrl);
|
|
78306
78743
|
if (message.gurl != null && Object.hasOwnProperty.call(message, "gurl"))
|
|
78307
78744
|
writer.uint32(/* id 3, wireType 2 =*/26).string(message.gurl);
|
|
78308
|
-
if (message.proxy != null && Object.hasOwnProperty.call(message, "proxy"))
|
|
78309
|
-
writer.uint32(/* id 4, wireType 2 =*/34).string(message.proxy);
|
|
78310
78745
|
return writer;
|
|
78311
78746
|
};
|
|
78312
78747
|
|
|
@@ -78353,10 +78788,6 @@
|
|
|
78353
78788
|
message.gurl = reader.string();
|
|
78354
78789
|
break;
|
|
78355
78790
|
}
|
|
78356
|
-
case 4: {
|
|
78357
|
-
message.proxy = reader.string();
|
|
78358
|
-
break;
|
|
78359
|
-
}
|
|
78360
78791
|
default:
|
|
78361
78792
|
reader.skipType(tag & 7);
|
|
78362
78793
|
break;
|
|
@@ -78401,9 +78832,6 @@
|
|
|
78401
78832
|
if (message.gurl != null && message.hasOwnProperty("gurl"))
|
|
78402
78833
|
if (!$util.isString(message.gurl))
|
|
78403
78834
|
return "gurl: string expected";
|
|
78404
|
-
if (message.proxy != null && message.hasOwnProperty("proxy"))
|
|
78405
|
-
if (!$util.isString(message.proxy))
|
|
78406
|
-
return "proxy: string expected";
|
|
78407
78835
|
return null;
|
|
78408
78836
|
};
|
|
78409
78837
|
|
|
@@ -78425,8 +78853,6 @@
|
|
|
78425
78853
|
message.conmanUrl = String(object.conmanUrl);
|
|
78426
78854
|
if (object.gurl != null)
|
|
78427
78855
|
message.gurl = String(object.gurl);
|
|
78428
|
-
if (object.proxy != null)
|
|
78429
|
-
message.proxy = String(object.proxy);
|
|
78430
78856
|
return message;
|
|
78431
78857
|
};
|
|
78432
78858
|
|
|
@@ -78447,7 +78873,6 @@
|
|
|
78447
78873
|
object.name = "";
|
|
78448
78874
|
object.conmanUrl = "";
|
|
78449
78875
|
object.gurl = "";
|
|
78450
|
-
object.proxy = "";
|
|
78451
78876
|
}
|
|
78452
78877
|
if (message.name != null && message.hasOwnProperty("name"))
|
|
78453
78878
|
object.name = message.name;
|
|
@@ -78455,8 +78880,6 @@
|
|
|
78455
78880
|
object.conmanUrl = message.conmanUrl;
|
|
78456
78881
|
if (message.gurl != null && message.hasOwnProperty("gurl"))
|
|
78457
78882
|
object.gurl = message.gurl;
|
|
78458
|
-
if (message.proxy != null && message.hasOwnProperty("proxy"))
|
|
78459
|
-
object.proxy = message.proxy;
|
|
78460
78883
|
return object;
|
|
78461
78884
|
};
|
|
78462
78885
|
|
|
@@ -85614,852 +86037,6 @@
|
|
|
85614
86037
|
return GetClustersResponse;
|
|
85615
86038
|
})();
|
|
85616
86039
|
|
|
85617
|
-
lore.PushDomainRequest = (function() {
|
|
85618
|
-
|
|
85619
|
-
/**
|
|
85620
|
-
* Properties of a PushDomainRequest.
|
|
85621
|
-
* @memberof replit.goval.api.lore
|
|
85622
|
-
* @interface IPushDomainRequest
|
|
85623
|
-
* @property {string|null} [replId] PushDomainRequest replId
|
|
85624
|
-
* @property {string|null} [domain] PushDomainRequest domain
|
|
85625
|
-
* @property {string|null} [authToken] PushDomainRequest authToken
|
|
85626
|
-
*/
|
|
85627
|
-
|
|
85628
|
-
/**
|
|
85629
|
-
* Constructs a new PushDomainRequest.
|
|
85630
|
-
* @memberof replit.goval.api.lore
|
|
85631
|
-
* @classdesc Represents a PushDomainRequest.
|
|
85632
|
-
* @constructor
|
|
85633
|
-
* @param {replit.goval.api.lore.IPushDomainRequest=} [properties] Properties to set
|
|
85634
|
-
*/
|
|
85635
|
-
function PushDomainRequest(properties) {
|
|
85636
|
-
if (properties)
|
|
85637
|
-
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
85638
|
-
if (properties[keys[i]] != null)
|
|
85639
|
-
this[keys[i]] = properties[keys[i]];
|
|
85640
|
-
}
|
|
85641
|
-
|
|
85642
|
-
/**
|
|
85643
|
-
* PushDomainRequest replId.
|
|
85644
|
-
* @member {string} replId
|
|
85645
|
-
* @memberof replit.goval.api.lore.PushDomainRequest
|
|
85646
|
-
* @instance
|
|
85647
|
-
*/
|
|
85648
|
-
PushDomainRequest.prototype.replId = "";
|
|
85649
|
-
|
|
85650
|
-
/**
|
|
85651
|
-
* PushDomainRequest domain.
|
|
85652
|
-
* @member {string} domain
|
|
85653
|
-
* @memberof replit.goval.api.lore.PushDomainRequest
|
|
85654
|
-
* @instance
|
|
85655
|
-
*/
|
|
85656
|
-
PushDomainRequest.prototype.domain = "";
|
|
85657
|
-
|
|
85658
|
-
/**
|
|
85659
|
-
* PushDomainRequest authToken.
|
|
85660
|
-
* @member {string} authToken
|
|
85661
|
-
* @memberof replit.goval.api.lore.PushDomainRequest
|
|
85662
|
-
* @instance
|
|
85663
|
-
*/
|
|
85664
|
-
PushDomainRequest.prototype.authToken = "";
|
|
85665
|
-
|
|
85666
|
-
/**
|
|
85667
|
-
* Creates a new PushDomainRequest instance using the specified properties.
|
|
85668
|
-
* @function create
|
|
85669
|
-
* @memberof replit.goval.api.lore.PushDomainRequest
|
|
85670
|
-
* @static
|
|
85671
|
-
* @param {replit.goval.api.lore.IPushDomainRequest=} [properties] Properties to set
|
|
85672
|
-
* @returns {replit.goval.api.lore.PushDomainRequest} PushDomainRequest instance
|
|
85673
|
-
*/
|
|
85674
|
-
PushDomainRequest.create = function create(properties) {
|
|
85675
|
-
return PushDomainRequest.fromObject(properties);
|
|
85676
|
-
};
|
|
85677
|
-
|
|
85678
|
-
/**
|
|
85679
|
-
* Encodes the specified PushDomainRequest message. Does not implicitly {@link replit.goval.api.lore.PushDomainRequest.verify|verify} messages.
|
|
85680
|
-
* @function encode
|
|
85681
|
-
* @memberof replit.goval.api.lore.PushDomainRequest
|
|
85682
|
-
* @static
|
|
85683
|
-
* @param {replit.goval.api.lore.PushDomainRequest} message PushDomainRequest message or plain object to encode
|
|
85684
|
-
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
85685
|
-
* @returns {$protobuf.Writer} Writer
|
|
85686
|
-
*/
|
|
85687
|
-
PushDomainRequest.encode = function encode(message, writer) {
|
|
85688
|
-
if (!writer)
|
|
85689
|
-
writer = $Writer.create();
|
|
85690
|
-
if (message.replId != null && Object.hasOwnProperty.call(message, "replId"))
|
|
85691
|
-
writer.uint32(/* id 1, wireType 2 =*/10).string(message.replId);
|
|
85692
|
-
if (message.domain != null && Object.hasOwnProperty.call(message, "domain"))
|
|
85693
|
-
writer.uint32(/* id 2, wireType 2 =*/18).string(message.domain);
|
|
85694
|
-
if (message.authToken != null && Object.hasOwnProperty.call(message, "authToken"))
|
|
85695
|
-
writer.uint32(/* id 3, wireType 2 =*/26).string(message.authToken);
|
|
85696
|
-
return writer;
|
|
85697
|
-
};
|
|
85698
|
-
|
|
85699
|
-
/**
|
|
85700
|
-
* Encodes the specified PushDomainRequest message, length delimited. Does not implicitly {@link replit.goval.api.lore.PushDomainRequest.verify|verify} messages.
|
|
85701
|
-
* @function encodeDelimited
|
|
85702
|
-
* @memberof replit.goval.api.lore.PushDomainRequest
|
|
85703
|
-
* @static
|
|
85704
|
-
* @param {replit.goval.api.lore.PushDomainRequest} message PushDomainRequest message or plain object to encode
|
|
85705
|
-
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
85706
|
-
* @returns {$protobuf.Writer} Writer
|
|
85707
|
-
*/
|
|
85708
|
-
PushDomainRequest.encodeDelimited = function encodeDelimited(message, writer) {
|
|
85709
|
-
return this.encode(message, writer).ldelim();
|
|
85710
|
-
};
|
|
85711
|
-
|
|
85712
|
-
/**
|
|
85713
|
-
* Decodes a PushDomainRequest message from the specified reader or buffer.
|
|
85714
|
-
* @function decode
|
|
85715
|
-
* @memberof replit.goval.api.lore.PushDomainRequest
|
|
85716
|
-
* @static
|
|
85717
|
-
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
85718
|
-
* @param {number} [length] Message length if known beforehand
|
|
85719
|
-
* @returns {replit.goval.api.lore.PushDomainRequest} PushDomainRequest
|
|
85720
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
85721
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
85722
|
-
*/
|
|
85723
|
-
PushDomainRequest.decode = function decode(reader, length) {
|
|
85724
|
-
if (!(reader instanceof $Reader))
|
|
85725
|
-
reader = $Reader.create(reader);
|
|
85726
|
-
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.replit.goval.api.lore.PushDomainRequest();
|
|
85727
|
-
while (reader.pos < end) {
|
|
85728
|
-
var tag = reader.uint32();
|
|
85729
|
-
switch (tag >>> 3) {
|
|
85730
|
-
case 1: {
|
|
85731
|
-
message.replId = reader.string();
|
|
85732
|
-
break;
|
|
85733
|
-
}
|
|
85734
|
-
case 2: {
|
|
85735
|
-
message.domain = reader.string();
|
|
85736
|
-
break;
|
|
85737
|
-
}
|
|
85738
|
-
case 3: {
|
|
85739
|
-
message.authToken = reader.string();
|
|
85740
|
-
break;
|
|
85741
|
-
}
|
|
85742
|
-
default:
|
|
85743
|
-
reader.skipType(tag & 7);
|
|
85744
|
-
break;
|
|
85745
|
-
}
|
|
85746
|
-
}
|
|
85747
|
-
return message;
|
|
85748
|
-
};
|
|
85749
|
-
|
|
85750
|
-
/**
|
|
85751
|
-
* Decodes a PushDomainRequest message from the specified reader or buffer, length delimited.
|
|
85752
|
-
* @function decodeDelimited
|
|
85753
|
-
* @memberof replit.goval.api.lore.PushDomainRequest
|
|
85754
|
-
* @static
|
|
85755
|
-
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
85756
|
-
* @returns {replit.goval.api.lore.PushDomainRequest} PushDomainRequest
|
|
85757
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
85758
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
85759
|
-
*/
|
|
85760
|
-
PushDomainRequest.decodeDelimited = function decodeDelimited(reader) {
|
|
85761
|
-
if (!(reader instanceof $Reader))
|
|
85762
|
-
reader = new $Reader(reader);
|
|
85763
|
-
return this.decode(reader, reader.uint32());
|
|
85764
|
-
};
|
|
85765
|
-
|
|
85766
|
-
/**
|
|
85767
|
-
* Verifies a PushDomainRequest message.
|
|
85768
|
-
* @function verify
|
|
85769
|
-
* @memberof replit.goval.api.lore.PushDomainRequest
|
|
85770
|
-
* @static
|
|
85771
|
-
* @param {Object.<string,*>} message Plain object to verify
|
|
85772
|
-
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
85773
|
-
*/
|
|
85774
|
-
PushDomainRequest.verify = function verify(message) {
|
|
85775
|
-
if (typeof message !== "object" || message === null)
|
|
85776
|
-
return "object expected";
|
|
85777
|
-
if (message.replId != null && message.hasOwnProperty("replId"))
|
|
85778
|
-
if (!$util.isString(message.replId))
|
|
85779
|
-
return "replId: string expected";
|
|
85780
|
-
if (message.domain != null && message.hasOwnProperty("domain"))
|
|
85781
|
-
if (!$util.isString(message.domain))
|
|
85782
|
-
return "domain: string expected";
|
|
85783
|
-
if (message.authToken != null && message.hasOwnProperty("authToken"))
|
|
85784
|
-
if (!$util.isString(message.authToken))
|
|
85785
|
-
return "authToken: string expected";
|
|
85786
|
-
return null;
|
|
85787
|
-
};
|
|
85788
|
-
|
|
85789
|
-
/**
|
|
85790
|
-
* Creates a PushDomainRequest message from a plain object. Also converts values to their respective internal types.
|
|
85791
|
-
* @function fromObject
|
|
85792
|
-
* @memberof replit.goval.api.lore.PushDomainRequest
|
|
85793
|
-
* @static
|
|
85794
|
-
* @param {Object.<string,*>} object Plain object
|
|
85795
|
-
* @returns {replit.goval.api.lore.PushDomainRequest} PushDomainRequest
|
|
85796
|
-
*/
|
|
85797
|
-
PushDomainRequest.fromObject = function fromObject(object) {
|
|
85798
|
-
if (object instanceof $root.replit.goval.api.lore.PushDomainRequest)
|
|
85799
|
-
return object;
|
|
85800
|
-
var message = new $root.replit.goval.api.lore.PushDomainRequest();
|
|
85801
|
-
if (object.replId != null)
|
|
85802
|
-
message.replId = String(object.replId);
|
|
85803
|
-
if (object.domain != null)
|
|
85804
|
-
message.domain = String(object.domain);
|
|
85805
|
-
if (object.authToken != null)
|
|
85806
|
-
message.authToken = String(object.authToken);
|
|
85807
|
-
return message;
|
|
85808
|
-
};
|
|
85809
|
-
|
|
85810
|
-
/**
|
|
85811
|
-
* Creates a plain object from a PushDomainRequest message. Also converts values to other types if specified.
|
|
85812
|
-
* @function toObject
|
|
85813
|
-
* @memberof replit.goval.api.lore.PushDomainRequest
|
|
85814
|
-
* @static
|
|
85815
|
-
* @param {replit.goval.api.lore.PushDomainRequest} message PushDomainRequest
|
|
85816
|
-
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
85817
|
-
* @returns {Object.<string,*>} Plain object
|
|
85818
|
-
*/
|
|
85819
|
-
PushDomainRequest.toObject = function toObject(message, options) {
|
|
85820
|
-
if (!options)
|
|
85821
|
-
options = {};
|
|
85822
|
-
var object = {};
|
|
85823
|
-
if (options.defaults) {
|
|
85824
|
-
object.replId = "";
|
|
85825
|
-
object.domain = "";
|
|
85826
|
-
object.authToken = "";
|
|
85827
|
-
}
|
|
85828
|
-
if (message.replId != null && message.hasOwnProperty("replId"))
|
|
85829
|
-
object.replId = message.replId;
|
|
85830
|
-
if (message.domain != null && message.hasOwnProperty("domain"))
|
|
85831
|
-
object.domain = message.domain;
|
|
85832
|
-
if (message.authToken != null && message.hasOwnProperty("authToken"))
|
|
85833
|
-
object.authToken = message.authToken;
|
|
85834
|
-
return object;
|
|
85835
|
-
};
|
|
85836
|
-
|
|
85837
|
-
/**
|
|
85838
|
-
* Converts this PushDomainRequest to JSON.
|
|
85839
|
-
* @function toJSON
|
|
85840
|
-
* @memberof replit.goval.api.lore.PushDomainRequest
|
|
85841
|
-
* @instance
|
|
85842
|
-
* @returns {Object.<string,*>} JSON object
|
|
85843
|
-
*/
|
|
85844
|
-
PushDomainRequest.prototype.toJSON = function toJSON() {
|
|
85845
|
-
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
85846
|
-
};
|
|
85847
|
-
|
|
85848
|
-
/**
|
|
85849
|
-
* Gets the default type url for PushDomainRequest
|
|
85850
|
-
* @function getTypeUrl
|
|
85851
|
-
* @memberof replit.goval.api.lore.PushDomainRequest
|
|
85852
|
-
* @static
|
|
85853
|
-
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
85854
|
-
* @returns {string} The default type url
|
|
85855
|
-
*/
|
|
85856
|
-
PushDomainRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
85857
|
-
if (typeUrlPrefix === undefined) {
|
|
85858
|
-
typeUrlPrefix = "type.googleapis.com";
|
|
85859
|
-
}
|
|
85860
|
-
return typeUrlPrefix + "/replit.goval.api.lore.PushDomainRequest";
|
|
85861
|
-
};
|
|
85862
|
-
|
|
85863
|
-
return PushDomainRequest;
|
|
85864
|
-
})();
|
|
85865
|
-
|
|
85866
|
-
lore.PushDomainResponse = (function() {
|
|
85867
|
-
|
|
85868
|
-
/**
|
|
85869
|
-
* Properties of a PushDomainResponse.
|
|
85870
|
-
* @memberof replit.goval.api.lore
|
|
85871
|
-
* @interface IPushDomainResponse
|
|
85872
|
-
*/
|
|
85873
|
-
|
|
85874
|
-
/**
|
|
85875
|
-
* Constructs a new PushDomainResponse.
|
|
85876
|
-
* @memberof replit.goval.api.lore
|
|
85877
|
-
* @classdesc Represents a PushDomainResponse.
|
|
85878
|
-
* @constructor
|
|
85879
|
-
* @param {replit.goval.api.lore.IPushDomainResponse=} [properties] Properties to set
|
|
85880
|
-
*/
|
|
85881
|
-
function PushDomainResponse(properties) {
|
|
85882
|
-
if (properties)
|
|
85883
|
-
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
85884
|
-
if (properties[keys[i]] != null)
|
|
85885
|
-
this[keys[i]] = properties[keys[i]];
|
|
85886
|
-
}
|
|
85887
|
-
|
|
85888
|
-
/**
|
|
85889
|
-
* Creates a new PushDomainResponse instance using the specified properties.
|
|
85890
|
-
* @function create
|
|
85891
|
-
* @memberof replit.goval.api.lore.PushDomainResponse
|
|
85892
|
-
* @static
|
|
85893
|
-
* @param {replit.goval.api.lore.IPushDomainResponse=} [properties] Properties to set
|
|
85894
|
-
* @returns {replit.goval.api.lore.PushDomainResponse} PushDomainResponse instance
|
|
85895
|
-
*/
|
|
85896
|
-
PushDomainResponse.create = function create(properties) {
|
|
85897
|
-
return PushDomainResponse.fromObject(properties);
|
|
85898
|
-
};
|
|
85899
|
-
|
|
85900
|
-
/**
|
|
85901
|
-
* Encodes the specified PushDomainResponse message. Does not implicitly {@link replit.goval.api.lore.PushDomainResponse.verify|verify} messages.
|
|
85902
|
-
* @function encode
|
|
85903
|
-
* @memberof replit.goval.api.lore.PushDomainResponse
|
|
85904
|
-
* @static
|
|
85905
|
-
* @param {replit.goval.api.lore.PushDomainResponse} message PushDomainResponse message or plain object to encode
|
|
85906
|
-
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
85907
|
-
* @returns {$protobuf.Writer} Writer
|
|
85908
|
-
*/
|
|
85909
|
-
PushDomainResponse.encode = function encode(message, writer) {
|
|
85910
|
-
if (!writer)
|
|
85911
|
-
writer = $Writer.create();
|
|
85912
|
-
return writer;
|
|
85913
|
-
};
|
|
85914
|
-
|
|
85915
|
-
/**
|
|
85916
|
-
* Encodes the specified PushDomainResponse message, length delimited. Does not implicitly {@link replit.goval.api.lore.PushDomainResponse.verify|verify} messages.
|
|
85917
|
-
* @function encodeDelimited
|
|
85918
|
-
* @memberof replit.goval.api.lore.PushDomainResponse
|
|
85919
|
-
* @static
|
|
85920
|
-
* @param {replit.goval.api.lore.PushDomainResponse} message PushDomainResponse message or plain object to encode
|
|
85921
|
-
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
85922
|
-
* @returns {$protobuf.Writer} Writer
|
|
85923
|
-
*/
|
|
85924
|
-
PushDomainResponse.encodeDelimited = function encodeDelimited(message, writer) {
|
|
85925
|
-
return this.encode(message, writer).ldelim();
|
|
85926
|
-
};
|
|
85927
|
-
|
|
85928
|
-
/**
|
|
85929
|
-
* Decodes a PushDomainResponse message from the specified reader or buffer.
|
|
85930
|
-
* @function decode
|
|
85931
|
-
* @memberof replit.goval.api.lore.PushDomainResponse
|
|
85932
|
-
* @static
|
|
85933
|
-
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
85934
|
-
* @param {number} [length] Message length if known beforehand
|
|
85935
|
-
* @returns {replit.goval.api.lore.PushDomainResponse} PushDomainResponse
|
|
85936
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
85937
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
85938
|
-
*/
|
|
85939
|
-
PushDomainResponse.decode = function decode(reader, length) {
|
|
85940
|
-
if (!(reader instanceof $Reader))
|
|
85941
|
-
reader = $Reader.create(reader);
|
|
85942
|
-
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.replit.goval.api.lore.PushDomainResponse();
|
|
85943
|
-
while (reader.pos < end) {
|
|
85944
|
-
var tag = reader.uint32();
|
|
85945
|
-
switch (tag >>> 3) {
|
|
85946
|
-
default:
|
|
85947
|
-
reader.skipType(tag & 7);
|
|
85948
|
-
break;
|
|
85949
|
-
}
|
|
85950
|
-
}
|
|
85951
|
-
return message;
|
|
85952
|
-
};
|
|
85953
|
-
|
|
85954
|
-
/**
|
|
85955
|
-
* Decodes a PushDomainResponse message from the specified reader or buffer, length delimited.
|
|
85956
|
-
* @function decodeDelimited
|
|
85957
|
-
* @memberof replit.goval.api.lore.PushDomainResponse
|
|
85958
|
-
* @static
|
|
85959
|
-
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
85960
|
-
* @returns {replit.goval.api.lore.PushDomainResponse} PushDomainResponse
|
|
85961
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
85962
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
85963
|
-
*/
|
|
85964
|
-
PushDomainResponse.decodeDelimited = function decodeDelimited(reader) {
|
|
85965
|
-
if (!(reader instanceof $Reader))
|
|
85966
|
-
reader = new $Reader(reader);
|
|
85967
|
-
return this.decode(reader, reader.uint32());
|
|
85968
|
-
};
|
|
85969
|
-
|
|
85970
|
-
/**
|
|
85971
|
-
* Verifies a PushDomainResponse message.
|
|
85972
|
-
* @function verify
|
|
85973
|
-
* @memberof replit.goval.api.lore.PushDomainResponse
|
|
85974
|
-
* @static
|
|
85975
|
-
* @param {Object.<string,*>} message Plain object to verify
|
|
85976
|
-
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
85977
|
-
*/
|
|
85978
|
-
PushDomainResponse.verify = function verify(message) {
|
|
85979
|
-
if (typeof message !== "object" || message === null)
|
|
85980
|
-
return "object expected";
|
|
85981
|
-
return null;
|
|
85982
|
-
};
|
|
85983
|
-
|
|
85984
|
-
/**
|
|
85985
|
-
* Creates a PushDomainResponse message from a plain object. Also converts values to their respective internal types.
|
|
85986
|
-
* @function fromObject
|
|
85987
|
-
* @memberof replit.goval.api.lore.PushDomainResponse
|
|
85988
|
-
* @static
|
|
85989
|
-
* @param {Object.<string,*>} object Plain object
|
|
85990
|
-
* @returns {replit.goval.api.lore.PushDomainResponse} PushDomainResponse
|
|
85991
|
-
*/
|
|
85992
|
-
PushDomainResponse.fromObject = function fromObject(object) {
|
|
85993
|
-
if (object instanceof $root.replit.goval.api.lore.PushDomainResponse)
|
|
85994
|
-
return object;
|
|
85995
|
-
return new $root.replit.goval.api.lore.PushDomainResponse();
|
|
85996
|
-
};
|
|
85997
|
-
|
|
85998
|
-
/**
|
|
85999
|
-
* Creates a plain object from a PushDomainResponse message. Also converts values to other types if specified.
|
|
86000
|
-
* @function toObject
|
|
86001
|
-
* @memberof replit.goval.api.lore.PushDomainResponse
|
|
86002
|
-
* @static
|
|
86003
|
-
* @param {replit.goval.api.lore.PushDomainResponse} message PushDomainResponse
|
|
86004
|
-
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
86005
|
-
* @returns {Object.<string,*>} Plain object
|
|
86006
|
-
*/
|
|
86007
|
-
PushDomainResponse.toObject = function toObject() {
|
|
86008
|
-
return {};
|
|
86009
|
-
};
|
|
86010
|
-
|
|
86011
|
-
/**
|
|
86012
|
-
* Converts this PushDomainResponse to JSON.
|
|
86013
|
-
* @function toJSON
|
|
86014
|
-
* @memberof replit.goval.api.lore.PushDomainResponse
|
|
86015
|
-
* @instance
|
|
86016
|
-
* @returns {Object.<string,*>} JSON object
|
|
86017
|
-
*/
|
|
86018
|
-
PushDomainResponse.prototype.toJSON = function toJSON() {
|
|
86019
|
-
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
86020
|
-
};
|
|
86021
|
-
|
|
86022
|
-
/**
|
|
86023
|
-
* Gets the default type url for PushDomainResponse
|
|
86024
|
-
* @function getTypeUrl
|
|
86025
|
-
* @memberof replit.goval.api.lore.PushDomainResponse
|
|
86026
|
-
* @static
|
|
86027
|
-
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
86028
|
-
* @returns {string} The default type url
|
|
86029
|
-
*/
|
|
86030
|
-
PushDomainResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
86031
|
-
if (typeUrlPrefix === undefined) {
|
|
86032
|
-
typeUrlPrefix = "type.googleapis.com";
|
|
86033
|
-
}
|
|
86034
|
-
return typeUrlPrefix + "/replit.goval.api.lore.PushDomainResponse";
|
|
86035
|
-
};
|
|
86036
|
-
|
|
86037
|
-
return PushDomainResponse;
|
|
86038
|
-
})();
|
|
86039
|
-
|
|
86040
|
-
lore.UnlinkDomainRequest = (function() {
|
|
86041
|
-
|
|
86042
|
-
/**
|
|
86043
|
-
* Properties of an UnlinkDomainRequest.
|
|
86044
|
-
* @memberof replit.goval.api.lore
|
|
86045
|
-
* @interface IUnlinkDomainRequest
|
|
86046
|
-
* @property {string|null} [replId] UnlinkDomainRequest replId
|
|
86047
|
-
* @property {string|null} [domain] UnlinkDomainRequest domain
|
|
86048
|
-
* @property {string|null} [authToken] UnlinkDomainRequest authToken
|
|
86049
|
-
*/
|
|
86050
|
-
|
|
86051
|
-
/**
|
|
86052
|
-
* Constructs a new UnlinkDomainRequest.
|
|
86053
|
-
* @memberof replit.goval.api.lore
|
|
86054
|
-
* @classdesc Represents an UnlinkDomainRequest.
|
|
86055
|
-
* @constructor
|
|
86056
|
-
* @param {replit.goval.api.lore.IUnlinkDomainRequest=} [properties] Properties to set
|
|
86057
|
-
*/
|
|
86058
|
-
function UnlinkDomainRequest(properties) {
|
|
86059
|
-
if (properties)
|
|
86060
|
-
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
86061
|
-
if (properties[keys[i]] != null)
|
|
86062
|
-
this[keys[i]] = properties[keys[i]];
|
|
86063
|
-
}
|
|
86064
|
-
|
|
86065
|
-
/**
|
|
86066
|
-
* UnlinkDomainRequest replId.
|
|
86067
|
-
* @member {string} replId
|
|
86068
|
-
* @memberof replit.goval.api.lore.UnlinkDomainRequest
|
|
86069
|
-
* @instance
|
|
86070
|
-
*/
|
|
86071
|
-
UnlinkDomainRequest.prototype.replId = "";
|
|
86072
|
-
|
|
86073
|
-
/**
|
|
86074
|
-
* UnlinkDomainRequest domain.
|
|
86075
|
-
* @member {string} domain
|
|
86076
|
-
* @memberof replit.goval.api.lore.UnlinkDomainRequest
|
|
86077
|
-
* @instance
|
|
86078
|
-
*/
|
|
86079
|
-
UnlinkDomainRequest.prototype.domain = "";
|
|
86080
|
-
|
|
86081
|
-
/**
|
|
86082
|
-
* UnlinkDomainRequest authToken.
|
|
86083
|
-
* @member {string} authToken
|
|
86084
|
-
* @memberof replit.goval.api.lore.UnlinkDomainRequest
|
|
86085
|
-
* @instance
|
|
86086
|
-
*/
|
|
86087
|
-
UnlinkDomainRequest.prototype.authToken = "";
|
|
86088
|
-
|
|
86089
|
-
/**
|
|
86090
|
-
* Creates a new UnlinkDomainRequest instance using the specified properties.
|
|
86091
|
-
* @function create
|
|
86092
|
-
* @memberof replit.goval.api.lore.UnlinkDomainRequest
|
|
86093
|
-
* @static
|
|
86094
|
-
* @param {replit.goval.api.lore.IUnlinkDomainRequest=} [properties] Properties to set
|
|
86095
|
-
* @returns {replit.goval.api.lore.UnlinkDomainRequest} UnlinkDomainRequest instance
|
|
86096
|
-
*/
|
|
86097
|
-
UnlinkDomainRequest.create = function create(properties) {
|
|
86098
|
-
return UnlinkDomainRequest.fromObject(properties);
|
|
86099
|
-
};
|
|
86100
|
-
|
|
86101
|
-
/**
|
|
86102
|
-
* Encodes the specified UnlinkDomainRequest message. Does not implicitly {@link replit.goval.api.lore.UnlinkDomainRequest.verify|verify} messages.
|
|
86103
|
-
* @function encode
|
|
86104
|
-
* @memberof replit.goval.api.lore.UnlinkDomainRequest
|
|
86105
|
-
* @static
|
|
86106
|
-
* @param {replit.goval.api.lore.UnlinkDomainRequest} message UnlinkDomainRequest message or plain object to encode
|
|
86107
|
-
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
86108
|
-
* @returns {$protobuf.Writer} Writer
|
|
86109
|
-
*/
|
|
86110
|
-
UnlinkDomainRequest.encode = function encode(message, writer) {
|
|
86111
|
-
if (!writer)
|
|
86112
|
-
writer = $Writer.create();
|
|
86113
|
-
if (message.replId != null && Object.hasOwnProperty.call(message, "replId"))
|
|
86114
|
-
writer.uint32(/* id 1, wireType 2 =*/10).string(message.replId);
|
|
86115
|
-
if (message.domain != null && Object.hasOwnProperty.call(message, "domain"))
|
|
86116
|
-
writer.uint32(/* id 2, wireType 2 =*/18).string(message.domain);
|
|
86117
|
-
if (message.authToken != null && Object.hasOwnProperty.call(message, "authToken"))
|
|
86118
|
-
writer.uint32(/* id 3, wireType 2 =*/26).string(message.authToken);
|
|
86119
|
-
return writer;
|
|
86120
|
-
};
|
|
86121
|
-
|
|
86122
|
-
/**
|
|
86123
|
-
* Encodes the specified UnlinkDomainRequest message, length delimited. Does not implicitly {@link replit.goval.api.lore.UnlinkDomainRequest.verify|verify} messages.
|
|
86124
|
-
* @function encodeDelimited
|
|
86125
|
-
* @memberof replit.goval.api.lore.UnlinkDomainRequest
|
|
86126
|
-
* @static
|
|
86127
|
-
* @param {replit.goval.api.lore.UnlinkDomainRequest} message UnlinkDomainRequest message or plain object to encode
|
|
86128
|
-
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
86129
|
-
* @returns {$protobuf.Writer} Writer
|
|
86130
|
-
*/
|
|
86131
|
-
UnlinkDomainRequest.encodeDelimited = function encodeDelimited(message, writer) {
|
|
86132
|
-
return this.encode(message, writer).ldelim();
|
|
86133
|
-
};
|
|
86134
|
-
|
|
86135
|
-
/**
|
|
86136
|
-
* Decodes an UnlinkDomainRequest message from the specified reader or buffer.
|
|
86137
|
-
* @function decode
|
|
86138
|
-
* @memberof replit.goval.api.lore.UnlinkDomainRequest
|
|
86139
|
-
* @static
|
|
86140
|
-
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
86141
|
-
* @param {number} [length] Message length if known beforehand
|
|
86142
|
-
* @returns {replit.goval.api.lore.UnlinkDomainRequest} UnlinkDomainRequest
|
|
86143
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
86144
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
86145
|
-
*/
|
|
86146
|
-
UnlinkDomainRequest.decode = function decode(reader, length) {
|
|
86147
|
-
if (!(reader instanceof $Reader))
|
|
86148
|
-
reader = $Reader.create(reader);
|
|
86149
|
-
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.replit.goval.api.lore.UnlinkDomainRequest();
|
|
86150
|
-
while (reader.pos < end) {
|
|
86151
|
-
var tag = reader.uint32();
|
|
86152
|
-
switch (tag >>> 3) {
|
|
86153
|
-
case 1: {
|
|
86154
|
-
message.replId = reader.string();
|
|
86155
|
-
break;
|
|
86156
|
-
}
|
|
86157
|
-
case 2: {
|
|
86158
|
-
message.domain = reader.string();
|
|
86159
|
-
break;
|
|
86160
|
-
}
|
|
86161
|
-
case 3: {
|
|
86162
|
-
message.authToken = reader.string();
|
|
86163
|
-
break;
|
|
86164
|
-
}
|
|
86165
|
-
default:
|
|
86166
|
-
reader.skipType(tag & 7);
|
|
86167
|
-
break;
|
|
86168
|
-
}
|
|
86169
|
-
}
|
|
86170
|
-
return message;
|
|
86171
|
-
};
|
|
86172
|
-
|
|
86173
|
-
/**
|
|
86174
|
-
* Decodes an UnlinkDomainRequest message from the specified reader or buffer, length delimited.
|
|
86175
|
-
* @function decodeDelimited
|
|
86176
|
-
* @memberof replit.goval.api.lore.UnlinkDomainRequest
|
|
86177
|
-
* @static
|
|
86178
|
-
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
86179
|
-
* @returns {replit.goval.api.lore.UnlinkDomainRequest} UnlinkDomainRequest
|
|
86180
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
86181
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
86182
|
-
*/
|
|
86183
|
-
UnlinkDomainRequest.decodeDelimited = function decodeDelimited(reader) {
|
|
86184
|
-
if (!(reader instanceof $Reader))
|
|
86185
|
-
reader = new $Reader(reader);
|
|
86186
|
-
return this.decode(reader, reader.uint32());
|
|
86187
|
-
};
|
|
86188
|
-
|
|
86189
|
-
/**
|
|
86190
|
-
* Verifies an UnlinkDomainRequest message.
|
|
86191
|
-
* @function verify
|
|
86192
|
-
* @memberof replit.goval.api.lore.UnlinkDomainRequest
|
|
86193
|
-
* @static
|
|
86194
|
-
* @param {Object.<string,*>} message Plain object to verify
|
|
86195
|
-
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
86196
|
-
*/
|
|
86197
|
-
UnlinkDomainRequest.verify = function verify(message) {
|
|
86198
|
-
if (typeof message !== "object" || message === null)
|
|
86199
|
-
return "object expected";
|
|
86200
|
-
if (message.replId != null && message.hasOwnProperty("replId"))
|
|
86201
|
-
if (!$util.isString(message.replId))
|
|
86202
|
-
return "replId: string expected";
|
|
86203
|
-
if (message.domain != null && message.hasOwnProperty("domain"))
|
|
86204
|
-
if (!$util.isString(message.domain))
|
|
86205
|
-
return "domain: string expected";
|
|
86206
|
-
if (message.authToken != null && message.hasOwnProperty("authToken"))
|
|
86207
|
-
if (!$util.isString(message.authToken))
|
|
86208
|
-
return "authToken: string expected";
|
|
86209
|
-
return null;
|
|
86210
|
-
};
|
|
86211
|
-
|
|
86212
|
-
/**
|
|
86213
|
-
* Creates an UnlinkDomainRequest message from a plain object. Also converts values to their respective internal types.
|
|
86214
|
-
* @function fromObject
|
|
86215
|
-
* @memberof replit.goval.api.lore.UnlinkDomainRequest
|
|
86216
|
-
* @static
|
|
86217
|
-
* @param {Object.<string,*>} object Plain object
|
|
86218
|
-
* @returns {replit.goval.api.lore.UnlinkDomainRequest} UnlinkDomainRequest
|
|
86219
|
-
*/
|
|
86220
|
-
UnlinkDomainRequest.fromObject = function fromObject(object) {
|
|
86221
|
-
if (object instanceof $root.replit.goval.api.lore.UnlinkDomainRequest)
|
|
86222
|
-
return object;
|
|
86223
|
-
var message = new $root.replit.goval.api.lore.UnlinkDomainRequest();
|
|
86224
|
-
if (object.replId != null)
|
|
86225
|
-
message.replId = String(object.replId);
|
|
86226
|
-
if (object.domain != null)
|
|
86227
|
-
message.domain = String(object.domain);
|
|
86228
|
-
if (object.authToken != null)
|
|
86229
|
-
message.authToken = String(object.authToken);
|
|
86230
|
-
return message;
|
|
86231
|
-
};
|
|
86232
|
-
|
|
86233
|
-
/**
|
|
86234
|
-
* Creates a plain object from an UnlinkDomainRequest message. Also converts values to other types if specified.
|
|
86235
|
-
* @function toObject
|
|
86236
|
-
* @memberof replit.goval.api.lore.UnlinkDomainRequest
|
|
86237
|
-
* @static
|
|
86238
|
-
* @param {replit.goval.api.lore.UnlinkDomainRequest} message UnlinkDomainRequest
|
|
86239
|
-
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
86240
|
-
* @returns {Object.<string,*>} Plain object
|
|
86241
|
-
*/
|
|
86242
|
-
UnlinkDomainRequest.toObject = function toObject(message, options) {
|
|
86243
|
-
if (!options)
|
|
86244
|
-
options = {};
|
|
86245
|
-
var object = {};
|
|
86246
|
-
if (options.defaults) {
|
|
86247
|
-
object.replId = "";
|
|
86248
|
-
object.domain = "";
|
|
86249
|
-
object.authToken = "";
|
|
86250
|
-
}
|
|
86251
|
-
if (message.replId != null && message.hasOwnProperty("replId"))
|
|
86252
|
-
object.replId = message.replId;
|
|
86253
|
-
if (message.domain != null && message.hasOwnProperty("domain"))
|
|
86254
|
-
object.domain = message.domain;
|
|
86255
|
-
if (message.authToken != null && message.hasOwnProperty("authToken"))
|
|
86256
|
-
object.authToken = message.authToken;
|
|
86257
|
-
return object;
|
|
86258
|
-
};
|
|
86259
|
-
|
|
86260
|
-
/**
|
|
86261
|
-
* Converts this UnlinkDomainRequest to JSON.
|
|
86262
|
-
* @function toJSON
|
|
86263
|
-
* @memberof replit.goval.api.lore.UnlinkDomainRequest
|
|
86264
|
-
* @instance
|
|
86265
|
-
* @returns {Object.<string,*>} JSON object
|
|
86266
|
-
*/
|
|
86267
|
-
UnlinkDomainRequest.prototype.toJSON = function toJSON() {
|
|
86268
|
-
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
86269
|
-
};
|
|
86270
|
-
|
|
86271
|
-
/**
|
|
86272
|
-
* Gets the default type url for UnlinkDomainRequest
|
|
86273
|
-
* @function getTypeUrl
|
|
86274
|
-
* @memberof replit.goval.api.lore.UnlinkDomainRequest
|
|
86275
|
-
* @static
|
|
86276
|
-
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
86277
|
-
* @returns {string} The default type url
|
|
86278
|
-
*/
|
|
86279
|
-
UnlinkDomainRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
86280
|
-
if (typeUrlPrefix === undefined) {
|
|
86281
|
-
typeUrlPrefix = "type.googleapis.com";
|
|
86282
|
-
}
|
|
86283
|
-
return typeUrlPrefix + "/replit.goval.api.lore.UnlinkDomainRequest";
|
|
86284
|
-
};
|
|
86285
|
-
|
|
86286
|
-
return UnlinkDomainRequest;
|
|
86287
|
-
})();
|
|
86288
|
-
|
|
86289
|
-
lore.UnlinkDomainResponse = (function() {
|
|
86290
|
-
|
|
86291
|
-
/**
|
|
86292
|
-
* Properties of an UnlinkDomainResponse.
|
|
86293
|
-
* @memberof replit.goval.api.lore
|
|
86294
|
-
* @interface IUnlinkDomainResponse
|
|
86295
|
-
*/
|
|
86296
|
-
|
|
86297
|
-
/**
|
|
86298
|
-
* Constructs a new UnlinkDomainResponse.
|
|
86299
|
-
* @memberof replit.goval.api.lore
|
|
86300
|
-
* @classdesc Represents an UnlinkDomainResponse.
|
|
86301
|
-
* @constructor
|
|
86302
|
-
* @param {replit.goval.api.lore.IUnlinkDomainResponse=} [properties] Properties to set
|
|
86303
|
-
*/
|
|
86304
|
-
function UnlinkDomainResponse(properties) {
|
|
86305
|
-
if (properties)
|
|
86306
|
-
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
86307
|
-
if (properties[keys[i]] != null)
|
|
86308
|
-
this[keys[i]] = properties[keys[i]];
|
|
86309
|
-
}
|
|
86310
|
-
|
|
86311
|
-
/**
|
|
86312
|
-
* Creates a new UnlinkDomainResponse instance using the specified properties.
|
|
86313
|
-
* @function create
|
|
86314
|
-
* @memberof replit.goval.api.lore.UnlinkDomainResponse
|
|
86315
|
-
* @static
|
|
86316
|
-
* @param {replit.goval.api.lore.IUnlinkDomainResponse=} [properties] Properties to set
|
|
86317
|
-
* @returns {replit.goval.api.lore.UnlinkDomainResponse} UnlinkDomainResponse instance
|
|
86318
|
-
*/
|
|
86319
|
-
UnlinkDomainResponse.create = function create(properties) {
|
|
86320
|
-
return UnlinkDomainResponse.fromObject(properties);
|
|
86321
|
-
};
|
|
86322
|
-
|
|
86323
|
-
/**
|
|
86324
|
-
* Encodes the specified UnlinkDomainResponse message. Does not implicitly {@link replit.goval.api.lore.UnlinkDomainResponse.verify|verify} messages.
|
|
86325
|
-
* @function encode
|
|
86326
|
-
* @memberof replit.goval.api.lore.UnlinkDomainResponse
|
|
86327
|
-
* @static
|
|
86328
|
-
* @param {replit.goval.api.lore.UnlinkDomainResponse} message UnlinkDomainResponse message or plain object to encode
|
|
86329
|
-
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
86330
|
-
* @returns {$protobuf.Writer} Writer
|
|
86331
|
-
*/
|
|
86332
|
-
UnlinkDomainResponse.encode = function encode(message, writer) {
|
|
86333
|
-
if (!writer)
|
|
86334
|
-
writer = $Writer.create();
|
|
86335
|
-
return writer;
|
|
86336
|
-
};
|
|
86337
|
-
|
|
86338
|
-
/**
|
|
86339
|
-
* Encodes the specified UnlinkDomainResponse message, length delimited. Does not implicitly {@link replit.goval.api.lore.UnlinkDomainResponse.verify|verify} messages.
|
|
86340
|
-
* @function encodeDelimited
|
|
86341
|
-
* @memberof replit.goval.api.lore.UnlinkDomainResponse
|
|
86342
|
-
* @static
|
|
86343
|
-
* @param {replit.goval.api.lore.UnlinkDomainResponse} message UnlinkDomainResponse message or plain object to encode
|
|
86344
|
-
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
86345
|
-
* @returns {$protobuf.Writer} Writer
|
|
86346
|
-
*/
|
|
86347
|
-
UnlinkDomainResponse.encodeDelimited = function encodeDelimited(message, writer) {
|
|
86348
|
-
return this.encode(message, writer).ldelim();
|
|
86349
|
-
};
|
|
86350
|
-
|
|
86351
|
-
/**
|
|
86352
|
-
* Decodes an UnlinkDomainResponse message from the specified reader or buffer.
|
|
86353
|
-
* @function decode
|
|
86354
|
-
* @memberof replit.goval.api.lore.UnlinkDomainResponse
|
|
86355
|
-
* @static
|
|
86356
|
-
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
86357
|
-
* @param {number} [length] Message length if known beforehand
|
|
86358
|
-
* @returns {replit.goval.api.lore.UnlinkDomainResponse} UnlinkDomainResponse
|
|
86359
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
86360
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
86361
|
-
*/
|
|
86362
|
-
UnlinkDomainResponse.decode = function decode(reader, length) {
|
|
86363
|
-
if (!(reader instanceof $Reader))
|
|
86364
|
-
reader = $Reader.create(reader);
|
|
86365
|
-
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.replit.goval.api.lore.UnlinkDomainResponse();
|
|
86366
|
-
while (reader.pos < end) {
|
|
86367
|
-
var tag = reader.uint32();
|
|
86368
|
-
switch (tag >>> 3) {
|
|
86369
|
-
default:
|
|
86370
|
-
reader.skipType(tag & 7);
|
|
86371
|
-
break;
|
|
86372
|
-
}
|
|
86373
|
-
}
|
|
86374
|
-
return message;
|
|
86375
|
-
};
|
|
86376
|
-
|
|
86377
|
-
/**
|
|
86378
|
-
* Decodes an UnlinkDomainResponse message from the specified reader or buffer, length delimited.
|
|
86379
|
-
* @function decodeDelimited
|
|
86380
|
-
* @memberof replit.goval.api.lore.UnlinkDomainResponse
|
|
86381
|
-
* @static
|
|
86382
|
-
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
86383
|
-
* @returns {replit.goval.api.lore.UnlinkDomainResponse} UnlinkDomainResponse
|
|
86384
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
86385
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
86386
|
-
*/
|
|
86387
|
-
UnlinkDomainResponse.decodeDelimited = function decodeDelimited(reader) {
|
|
86388
|
-
if (!(reader instanceof $Reader))
|
|
86389
|
-
reader = new $Reader(reader);
|
|
86390
|
-
return this.decode(reader, reader.uint32());
|
|
86391
|
-
};
|
|
86392
|
-
|
|
86393
|
-
/**
|
|
86394
|
-
* Verifies an UnlinkDomainResponse message.
|
|
86395
|
-
* @function verify
|
|
86396
|
-
* @memberof replit.goval.api.lore.UnlinkDomainResponse
|
|
86397
|
-
* @static
|
|
86398
|
-
* @param {Object.<string,*>} message Plain object to verify
|
|
86399
|
-
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
86400
|
-
*/
|
|
86401
|
-
UnlinkDomainResponse.verify = function verify(message) {
|
|
86402
|
-
if (typeof message !== "object" || message === null)
|
|
86403
|
-
return "object expected";
|
|
86404
|
-
return null;
|
|
86405
|
-
};
|
|
86406
|
-
|
|
86407
|
-
/**
|
|
86408
|
-
* Creates an UnlinkDomainResponse message from a plain object. Also converts values to their respective internal types.
|
|
86409
|
-
* @function fromObject
|
|
86410
|
-
* @memberof replit.goval.api.lore.UnlinkDomainResponse
|
|
86411
|
-
* @static
|
|
86412
|
-
* @param {Object.<string,*>} object Plain object
|
|
86413
|
-
* @returns {replit.goval.api.lore.UnlinkDomainResponse} UnlinkDomainResponse
|
|
86414
|
-
*/
|
|
86415
|
-
UnlinkDomainResponse.fromObject = function fromObject(object) {
|
|
86416
|
-
if (object instanceof $root.replit.goval.api.lore.UnlinkDomainResponse)
|
|
86417
|
-
return object;
|
|
86418
|
-
return new $root.replit.goval.api.lore.UnlinkDomainResponse();
|
|
86419
|
-
};
|
|
86420
|
-
|
|
86421
|
-
/**
|
|
86422
|
-
* Creates a plain object from an UnlinkDomainResponse message. Also converts values to other types if specified.
|
|
86423
|
-
* @function toObject
|
|
86424
|
-
* @memberof replit.goval.api.lore.UnlinkDomainResponse
|
|
86425
|
-
* @static
|
|
86426
|
-
* @param {replit.goval.api.lore.UnlinkDomainResponse} message UnlinkDomainResponse
|
|
86427
|
-
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
86428
|
-
* @returns {Object.<string,*>} Plain object
|
|
86429
|
-
*/
|
|
86430
|
-
UnlinkDomainResponse.toObject = function toObject() {
|
|
86431
|
-
return {};
|
|
86432
|
-
};
|
|
86433
|
-
|
|
86434
|
-
/**
|
|
86435
|
-
* Converts this UnlinkDomainResponse to JSON.
|
|
86436
|
-
* @function toJSON
|
|
86437
|
-
* @memberof replit.goval.api.lore.UnlinkDomainResponse
|
|
86438
|
-
* @instance
|
|
86439
|
-
* @returns {Object.<string,*>} JSON object
|
|
86440
|
-
*/
|
|
86441
|
-
UnlinkDomainResponse.prototype.toJSON = function toJSON() {
|
|
86442
|
-
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
86443
|
-
};
|
|
86444
|
-
|
|
86445
|
-
/**
|
|
86446
|
-
* Gets the default type url for UnlinkDomainResponse
|
|
86447
|
-
* @function getTypeUrl
|
|
86448
|
-
* @memberof replit.goval.api.lore.UnlinkDomainResponse
|
|
86449
|
-
* @static
|
|
86450
|
-
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
86451
|
-
* @returns {string} The default type url
|
|
86452
|
-
*/
|
|
86453
|
-
UnlinkDomainResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
86454
|
-
if (typeUrlPrefix === undefined) {
|
|
86455
|
-
typeUrlPrefix = "type.googleapis.com";
|
|
86456
|
-
}
|
|
86457
|
-
return typeUrlPrefix + "/replit.goval.api.lore.UnlinkDomainResponse";
|
|
86458
|
-
};
|
|
86459
|
-
|
|
86460
|
-
return UnlinkDomainResponse;
|
|
86461
|
-
})();
|
|
86462
|
-
|
|
86463
86040
|
lore.ExportReplRequest = (function() {
|
|
86464
86041
|
|
|
86465
86042
|
/**
|
|
@@ -88797,72 +88374,6 @@
|
|
|
88797
88374
|
* @variation 2
|
|
88798
88375
|
*/
|
|
88799
88376
|
|
|
88800
|
-
/**
|
|
88801
|
-
* Callback as used by {@link replit.goval.api.lore.Lore#pushDomain}.
|
|
88802
|
-
* @memberof replit.goval.api.lore.Lore
|
|
88803
|
-
* @typedef PushDomainCallback
|
|
88804
|
-
* @type {function}
|
|
88805
|
-
* @param {Error|null} error Error, if any
|
|
88806
|
-
* @param {replit.goval.api.lore.PushDomainResponse} [response] PushDomainResponse
|
|
88807
|
-
*/
|
|
88808
|
-
|
|
88809
|
-
/**
|
|
88810
|
-
* Calls PushDomain.
|
|
88811
|
-
* @function pushDomain
|
|
88812
|
-
* @memberof replit.goval.api.lore.Lore
|
|
88813
|
-
* @instance
|
|
88814
|
-
* @param {replit.goval.api.lore.PushDomainRequest} request PushDomainRequest message or plain object
|
|
88815
|
-
* @param {replit.goval.api.lore.Lore.PushDomainCallback} callback Node-style callback called with the error, if any, and PushDomainResponse
|
|
88816
|
-
* @returns {undefined}
|
|
88817
|
-
* @variation 1
|
|
88818
|
-
*/
|
|
88819
|
-
Object.defineProperty(Lore.prototype.pushDomain = function pushDomain(request, callback) {
|
|
88820
|
-
return this.rpcCall(pushDomain, $root.replit.goval.api.lore.PushDomainRequest, $root.replit.goval.api.lore.PushDomainResponse, request, callback);
|
|
88821
|
-
}, "name", { value: "PushDomain" });
|
|
88822
|
-
|
|
88823
|
-
/**
|
|
88824
|
-
* Calls PushDomain.
|
|
88825
|
-
* @function pushDomain
|
|
88826
|
-
* @memberof replit.goval.api.lore.Lore
|
|
88827
|
-
* @instance
|
|
88828
|
-
* @param {replit.goval.api.lore.PushDomainRequest} request PushDomainRequest message or plain object
|
|
88829
|
-
* @returns {Promise<replit.goval.api.lore.PushDomainResponse>} Promise
|
|
88830
|
-
* @variation 2
|
|
88831
|
-
*/
|
|
88832
|
-
|
|
88833
|
-
/**
|
|
88834
|
-
* Callback as used by {@link replit.goval.api.lore.Lore#unlinkDomain}.
|
|
88835
|
-
* @memberof replit.goval.api.lore.Lore
|
|
88836
|
-
* @typedef UnlinkDomainCallback
|
|
88837
|
-
* @type {function}
|
|
88838
|
-
* @param {Error|null} error Error, if any
|
|
88839
|
-
* @param {replit.goval.api.lore.UnlinkDomainResponse} [response] UnlinkDomainResponse
|
|
88840
|
-
*/
|
|
88841
|
-
|
|
88842
|
-
/**
|
|
88843
|
-
* Calls UnlinkDomain.
|
|
88844
|
-
* @function unlinkDomain
|
|
88845
|
-
* @memberof replit.goval.api.lore.Lore
|
|
88846
|
-
* @instance
|
|
88847
|
-
* @param {replit.goval.api.lore.UnlinkDomainRequest} request UnlinkDomainRequest message or plain object
|
|
88848
|
-
* @param {replit.goval.api.lore.Lore.UnlinkDomainCallback} callback Node-style callback called with the error, if any, and UnlinkDomainResponse
|
|
88849
|
-
* @returns {undefined}
|
|
88850
|
-
* @variation 1
|
|
88851
|
-
*/
|
|
88852
|
-
Object.defineProperty(Lore.prototype.unlinkDomain = function unlinkDomain(request, callback) {
|
|
88853
|
-
return this.rpcCall(unlinkDomain, $root.replit.goval.api.lore.UnlinkDomainRequest, $root.replit.goval.api.lore.UnlinkDomainResponse, request, callback);
|
|
88854
|
-
}, "name", { value: "UnlinkDomain" });
|
|
88855
|
-
|
|
88856
|
-
/**
|
|
88857
|
-
* Calls UnlinkDomain.
|
|
88858
|
-
* @function unlinkDomain
|
|
88859
|
-
* @memberof replit.goval.api.lore.Lore
|
|
88860
|
-
* @instance
|
|
88861
|
-
* @param {replit.goval.api.lore.UnlinkDomainRequest} request UnlinkDomainRequest message or plain object
|
|
88862
|
-
* @returns {Promise<replit.goval.api.lore.UnlinkDomainResponse>} Promise
|
|
88863
|
-
* @variation 2
|
|
88864
|
-
*/
|
|
88865
|
-
|
|
88866
88377
|
/**
|
|
88867
88378
|
* Callback as used by {@link replit.goval.api.lore.Lore#transferReplFromOfflineCluster}.
|
|
88868
88379
|
* @memberof replit.goval.api.lore.Lore
|