@replit/protocol 0.3.55 → 0.3.57
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 +318 -2
- package/main/index.js +752 -4
- package/package.json +1 -1
package/main/index.d.ts
CHANGED
|
@@ -606,6 +606,15 @@ export namespace replit {
|
|
|
606
606
|
/** Command replspaceApiSSHTokenGetResponse */
|
|
607
607
|
replspaceApiSSHTokenGetResponse?: (replit.goval.api.ReplspaceApiSSHTokenGetResponse|replit.goval.api.IReplspaceApiSSHTokenGetResponse|null);
|
|
608
608
|
|
|
609
|
+
/** Command secretsGetRequest */
|
|
610
|
+
secretsGetRequest?: (replit.goval.api.SecretsGetRequest|replit.goval.api.ISecretsGetRequest|null);
|
|
611
|
+
|
|
612
|
+
/** Command secretsGetResponse */
|
|
613
|
+
secretsGetResponse?: (replit.goval.api.SecretsGetResponse|replit.goval.api.ISecretsGetResponse|null);
|
|
614
|
+
|
|
615
|
+
/** Command secretsSetRequest */
|
|
616
|
+
secretsSetRequest?: (replit.goval.api.SecretsSetRequest|replit.goval.api.ISecretsSetRequest|null);
|
|
617
|
+
|
|
609
618
|
/** Command ref */
|
|
610
619
|
ref?: (string|null);
|
|
611
620
|
|
|
@@ -1219,6 +1228,15 @@ export namespace replit {
|
|
|
1219
1228
|
/** Command replspaceApiSSHTokenGetResponse. */
|
|
1220
1229
|
public replspaceApiSSHTokenGetResponse?: (replit.goval.api.ReplspaceApiSSHTokenGetResponse|null);
|
|
1221
1230
|
|
|
1231
|
+
/** Command secretsGetRequest. */
|
|
1232
|
+
public secretsGetRequest?: (replit.goval.api.SecretsGetRequest|null);
|
|
1233
|
+
|
|
1234
|
+
/** Command secretsGetResponse. */
|
|
1235
|
+
public secretsGetResponse?: (replit.goval.api.SecretsGetResponse|null);
|
|
1236
|
+
|
|
1237
|
+
/** Command secretsSetRequest. */
|
|
1238
|
+
public secretsSetRequest?: (replit.goval.api.SecretsSetRequest|null);
|
|
1239
|
+
|
|
1222
1240
|
/** Command ref. */
|
|
1223
1241
|
public ref: string;
|
|
1224
1242
|
|
|
@@ -1229,7 +1247,7 @@ export namespace replit {
|
|
|
1229
1247
|
public forceTrace: boolean;
|
|
1230
1248
|
|
|
1231
1249
|
/** Command body. */
|
|
1232
|
-
public body?: ("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"|"fileAuthReq"|"fileAuthRes"|"mutliFileAuthRes"|"listObjects"|"listObjectsResp"|"ot"|"otstatus"|"otLinkFile"|"otLinkFileResponse"|"otNewCursor"|"otDeleteCursor"|"otFetchRequest"|"otFetchResponse"|"otTransformSelectionRequest"|"otTransformSelectionResponse"|"flush"|"debug"|"startVCR"|"readVCR"|"VCRLog"|"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"|"nixModuleConfigGetRequest"|"nixModuleConfigGetResponse"|"nixModuleConfigSetRequest"|"nixModuleConfigSetResponse"|"replspaceApiSSHTokenGetRequest"|"replspaceApiSSHTokenGetResponse");
|
|
1250
|
+
public body?: ("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"|"fileAuthReq"|"fileAuthRes"|"mutliFileAuthRes"|"listObjects"|"listObjectsResp"|"ot"|"otstatus"|"otLinkFile"|"otLinkFileResponse"|"otNewCursor"|"otDeleteCursor"|"otFetchRequest"|"otFetchResponse"|"otTransformSelectionRequest"|"otTransformSelectionResponse"|"flush"|"debug"|"startVCR"|"readVCR"|"VCRLog"|"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"|"nixModuleConfigGetRequest"|"nixModuleConfigGetResponse"|"nixModuleConfigSetRequest"|"nixModuleConfigSetResponse"|"replspaceApiSSHTokenGetRequest"|"replspaceApiSSHTokenGetResponse"|"secretsGetRequest"|"secretsGetResponse"|"secretsSetRequest");
|
|
1233
1251
|
|
|
1234
1252
|
/**
|
|
1235
1253
|
* Creates a new Command instance using the specified properties.
|
|
@@ -23978,6 +23996,9 @@ export namespace replit {
|
|
|
23978
23996
|
|
|
23979
23997
|
/** ReplspaceApiSSHTokenGetResponse token */
|
|
23980
23998
|
token?: (string|null);
|
|
23999
|
+
|
|
24000
|
+
/** ReplspaceApiSSHTokenGetResponse sshHostname */
|
|
24001
|
+
sshHostname?: (string|null);
|
|
23981
24002
|
}
|
|
23982
24003
|
|
|
23983
24004
|
/** Represents a ReplspaceApiSSHTokenGetResponse. */
|
|
@@ -23995,6 +24016,9 @@ export namespace replit {
|
|
|
23995
24016
|
/** ReplspaceApiSSHTokenGetResponse token. */
|
|
23996
24017
|
public token: string;
|
|
23997
24018
|
|
|
24019
|
+
/** ReplspaceApiSSHTokenGetResponse sshHostname. */
|
|
24020
|
+
public sshHostname: string;
|
|
24021
|
+
|
|
23998
24022
|
/**
|
|
23999
24023
|
* Creates a new ReplspaceApiSSHTokenGetResponse instance using the specified properties.
|
|
24000
24024
|
* @param [properties] Properties to set
|
|
@@ -26955,6 +26979,291 @@ export namespace replit {
|
|
|
26955
26979
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
26956
26980
|
}
|
|
26957
26981
|
|
|
26982
|
+
/** Properties of a SecretsGetRequest. */
|
|
26983
|
+
interface ISecretsGetRequest {
|
|
26984
|
+
}
|
|
26985
|
+
|
|
26986
|
+
/** Represents a SecretsGetRequest. */
|
|
26987
|
+
class SecretsGetRequest {
|
|
26988
|
+
|
|
26989
|
+
/**
|
|
26990
|
+
* Constructs a new SecretsGetRequest.
|
|
26991
|
+
* @param [properties] Properties to set
|
|
26992
|
+
*/
|
|
26993
|
+
private constructor(properties?: replit.goval.api.ISecretsGetRequest);
|
|
26994
|
+
|
|
26995
|
+
/**
|
|
26996
|
+
* Creates a new SecretsGetRequest instance using the specified properties.
|
|
26997
|
+
* @param [properties] Properties to set
|
|
26998
|
+
* @returns SecretsGetRequest instance
|
|
26999
|
+
*/
|
|
27000
|
+
public static create(properties?: replit.goval.api.ISecretsGetRequest): replit.goval.api.SecretsGetRequest;
|
|
27001
|
+
|
|
27002
|
+
/**
|
|
27003
|
+
* Encodes the specified SecretsGetRequest message. Does not implicitly {@link replit.goval.api.SecretsGetRequest.verify|verify} messages.
|
|
27004
|
+
* @param message SecretsGetRequest message or plain object to encode
|
|
27005
|
+
* @param [writer] Writer to encode to
|
|
27006
|
+
* @returns Writer
|
|
27007
|
+
*/
|
|
27008
|
+
public static encode(message: replit.goval.api.SecretsGetRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
27009
|
+
|
|
27010
|
+
/**
|
|
27011
|
+
* Encodes the specified SecretsGetRequest message, length delimited. Does not implicitly {@link replit.goval.api.SecretsGetRequest.verify|verify} messages.
|
|
27012
|
+
* @param message SecretsGetRequest message or plain object to encode
|
|
27013
|
+
* @param [writer] Writer to encode to
|
|
27014
|
+
* @returns Writer
|
|
27015
|
+
*/
|
|
27016
|
+
public static encodeDelimited(message: replit.goval.api.SecretsGetRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
27017
|
+
|
|
27018
|
+
/**
|
|
27019
|
+
* Decodes a SecretsGetRequest message from the specified reader or buffer.
|
|
27020
|
+
* @param reader Reader or buffer to decode from
|
|
27021
|
+
* @param [length] Message length if known beforehand
|
|
27022
|
+
* @returns SecretsGetRequest
|
|
27023
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
27024
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
27025
|
+
*/
|
|
27026
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replit.goval.api.SecretsGetRequest;
|
|
27027
|
+
|
|
27028
|
+
/**
|
|
27029
|
+
* Decodes a SecretsGetRequest message from the specified reader or buffer, length delimited.
|
|
27030
|
+
* @param reader Reader or buffer to decode from
|
|
27031
|
+
* @returns SecretsGetRequest
|
|
27032
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
27033
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
27034
|
+
*/
|
|
27035
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replit.goval.api.SecretsGetRequest;
|
|
27036
|
+
|
|
27037
|
+
/**
|
|
27038
|
+
* Verifies a SecretsGetRequest message.
|
|
27039
|
+
* @param message Plain object to verify
|
|
27040
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
27041
|
+
*/
|
|
27042
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
27043
|
+
|
|
27044
|
+
/**
|
|
27045
|
+
* Creates a SecretsGetRequest message from a plain object. Also converts values to their respective internal types.
|
|
27046
|
+
* @param object Plain object
|
|
27047
|
+
* @returns SecretsGetRequest
|
|
27048
|
+
*/
|
|
27049
|
+
public static fromObject(object: { [k: string]: any }): replit.goval.api.SecretsGetRequest;
|
|
27050
|
+
|
|
27051
|
+
/**
|
|
27052
|
+
* Creates a plain object from a SecretsGetRequest message. Also converts values to other types if specified.
|
|
27053
|
+
* @param message SecretsGetRequest
|
|
27054
|
+
* @param [options] Conversion options
|
|
27055
|
+
* @returns Plain object
|
|
27056
|
+
*/
|
|
27057
|
+
public static toObject(message: replit.goval.api.SecretsGetRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
27058
|
+
|
|
27059
|
+
/**
|
|
27060
|
+
* Converts this SecretsGetRequest to JSON.
|
|
27061
|
+
* @returns JSON object
|
|
27062
|
+
*/
|
|
27063
|
+
public toJSON(): { [k: string]: any };
|
|
27064
|
+
|
|
27065
|
+
/**
|
|
27066
|
+
* Gets the default type url for SecretsGetRequest
|
|
27067
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
27068
|
+
* @returns The default type url
|
|
27069
|
+
*/
|
|
27070
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
27071
|
+
}
|
|
27072
|
+
|
|
27073
|
+
/** Properties of a SecretsGetResponse. */
|
|
27074
|
+
interface ISecretsGetResponse {
|
|
27075
|
+
|
|
27076
|
+
/** SecretsGetResponse contents */
|
|
27077
|
+
contents?: (string|null);
|
|
27078
|
+
}
|
|
27079
|
+
|
|
27080
|
+
/** Represents a SecretsGetResponse. */
|
|
27081
|
+
class SecretsGetResponse {
|
|
27082
|
+
|
|
27083
|
+
/**
|
|
27084
|
+
* Constructs a new SecretsGetResponse.
|
|
27085
|
+
* @param [properties] Properties to set
|
|
27086
|
+
*/
|
|
27087
|
+
private constructor(properties?: replit.goval.api.ISecretsGetResponse);
|
|
27088
|
+
|
|
27089
|
+
/** SecretsGetResponse contents. */
|
|
27090
|
+
public contents: string;
|
|
27091
|
+
|
|
27092
|
+
/**
|
|
27093
|
+
* Creates a new SecretsGetResponse instance using the specified properties.
|
|
27094
|
+
* @param [properties] Properties to set
|
|
27095
|
+
* @returns SecretsGetResponse instance
|
|
27096
|
+
*/
|
|
27097
|
+
public static create(properties?: replit.goval.api.ISecretsGetResponse): replit.goval.api.SecretsGetResponse;
|
|
27098
|
+
|
|
27099
|
+
/**
|
|
27100
|
+
* Encodes the specified SecretsGetResponse message. Does not implicitly {@link replit.goval.api.SecretsGetResponse.verify|verify} messages.
|
|
27101
|
+
* @param message SecretsGetResponse message or plain object to encode
|
|
27102
|
+
* @param [writer] Writer to encode to
|
|
27103
|
+
* @returns Writer
|
|
27104
|
+
*/
|
|
27105
|
+
public static encode(message: replit.goval.api.SecretsGetResponse, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
27106
|
+
|
|
27107
|
+
/**
|
|
27108
|
+
* Encodes the specified SecretsGetResponse message, length delimited. Does not implicitly {@link replit.goval.api.SecretsGetResponse.verify|verify} messages.
|
|
27109
|
+
* @param message SecretsGetResponse message or plain object to encode
|
|
27110
|
+
* @param [writer] Writer to encode to
|
|
27111
|
+
* @returns Writer
|
|
27112
|
+
*/
|
|
27113
|
+
public static encodeDelimited(message: replit.goval.api.SecretsGetResponse, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
27114
|
+
|
|
27115
|
+
/**
|
|
27116
|
+
* Decodes a SecretsGetResponse message from the specified reader or buffer.
|
|
27117
|
+
* @param reader Reader or buffer to decode from
|
|
27118
|
+
* @param [length] Message length if known beforehand
|
|
27119
|
+
* @returns SecretsGetResponse
|
|
27120
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
27121
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
27122
|
+
*/
|
|
27123
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replit.goval.api.SecretsGetResponse;
|
|
27124
|
+
|
|
27125
|
+
/**
|
|
27126
|
+
* Decodes a SecretsGetResponse message from the specified reader or buffer, length delimited.
|
|
27127
|
+
* @param reader Reader or buffer to decode from
|
|
27128
|
+
* @returns SecretsGetResponse
|
|
27129
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
27130
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
27131
|
+
*/
|
|
27132
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replit.goval.api.SecretsGetResponse;
|
|
27133
|
+
|
|
27134
|
+
/**
|
|
27135
|
+
* Verifies a SecretsGetResponse message.
|
|
27136
|
+
* @param message Plain object to verify
|
|
27137
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
27138
|
+
*/
|
|
27139
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
27140
|
+
|
|
27141
|
+
/**
|
|
27142
|
+
* Creates a SecretsGetResponse message from a plain object. Also converts values to their respective internal types.
|
|
27143
|
+
* @param object Plain object
|
|
27144
|
+
* @returns SecretsGetResponse
|
|
27145
|
+
*/
|
|
27146
|
+
public static fromObject(object: { [k: string]: any }): replit.goval.api.SecretsGetResponse;
|
|
27147
|
+
|
|
27148
|
+
/**
|
|
27149
|
+
* Creates a plain object from a SecretsGetResponse message. Also converts values to other types if specified.
|
|
27150
|
+
* @param message SecretsGetResponse
|
|
27151
|
+
* @param [options] Conversion options
|
|
27152
|
+
* @returns Plain object
|
|
27153
|
+
*/
|
|
27154
|
+
public static toObject(message: replit.goval.api.SecretsGetResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
27155
|
+
|
|
27156
|
+
/**
|
|
27157
|
+
* Converts this SecretsGetResponse to JSON.
|
|
27158
|
+
* @returns JSON object
|
|
27159
|
+
*/
|
|
27160
|
+
public toJSON(): { [k: string]: any };
|
|
27161
|
+
|
|
27162
|
+
/**
|
|
27163
|
+
* Gets the default type url for SecretsGetResponse
|
|
27164
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
27165
|
+
* @returns The default type url
|
|
27166
|
+
*/
|
|
27167
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
27168
|
+
}
|
|
27169
|
+
|
|
27170
|
+
/** Properties of a SecretsSetRequest. */
|
|
27171
|
+
interface ISecretsSetRequest {
|
|
27172
|
+
|
|
27173
|
+
/** SecretsSetRequest contents */
|
|
27174
|
+
contents?: (string|null);
|
|
27175
|
+
}
|
|
27176
|
+
|
|
27177
|
+
/** Represents a SecretsSetRequest. */
|
|
27178
|
+
class SecretsSetRequest {
|
|
27179
|
+
|
|
27180
|
+
/**
|
|
27181
|
+
* Constructs a new SecretsSetRequest.
|
|
27182
|
+
* @param [properties] Properties to set
|
|
27183
|
+
*/
|
|
27184
|
+
private constructor(properties?: replit.goval.api.ISecretsSetRequest);
|
|
27185
|
+
|
|
27186
|
+
/** SecretsSetRequest contents. */
|
|
27187
|
+
public contents: string;
|
|
27188
|
+
|
|
27189
|
+
/**
|
|
27190
|
+
* Creates a new SecretsSetRequest instance using the specified properties.
|
|
27191
|
+
* @param [properties] Properties to set
|
|
27192
|
+
* @returns SecretsSetRequest instance
|
|
27193
|
+
*/
|
|
27194
|
+
public static create(properties?: replit.goval.api.ISecretsSetRequest): replit.goval.api.SecretsSetRequest;
|
|
27195
|
+
|
|
27196
|
+
/**
|
|
27197
|
+
* Encodes the specified SecretsSetRequest message. Does not implicitly {@link replit.goval.api.SecretsSetRequest.verify|verify} messages.
|
|
27198
|
+
* @param message SecretsSetRequest message or plain object to encode
|
|
27199
|
+
* @param [writer] Writer to encode to
|
|
27200
|
+
* @returns Writer
|
|
27201
|
+
*/
|
|
27202
|
+
public static encode(message: replit.goval.api.SecretsSetRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
27203
|
+
|
|
27204
|
+
/**
|
|
27205
|
+
* Encodes the specified SecretsSetRequest message, length delimited. Does not implicitly {@link replit.goval.api.SecretsSetRequest.verify|verify} messages.
|
|
27206
|
+
* @param message SecretsSetRequest message or plain object to encode
|
|
27207
|
+
* @param [writer] Writer to encode to
|
|
27208
|
+
* @returns Writer
|
|
27209
|
+
*/
|
|
27210
|
+
public static encodeDelimited(message: replit.goval.api.SecretsSetRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
27211
|
+
|
|
27212
|
+
/**
|
|
27213
|
+
* Decodes a SecretsSetRequest message from the specified reader or buffer.
|
|
27214
|
+
* @param reader Reader or buffer to decode from
|
|
27215
|
+
* @param [length] Message length if known beforehand
|
|
27216
|
+
* @returns SecretsSetRequest
|
|
27217
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
27218
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
27219
|
+
*/
|
|
27220
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replit.goval.api.SecretsSetRequest;
|
|
27221
|
+
|
|
27222
|
+
/**
|
|
27223
|
+
* Decodes a SecretsSetRequest message from the specified reader or buffer, length delimited.
|
|
27224
|
+
* @param reader Reader or buffer to decode from
|
|
27225
|
+
* @returns SecretsSetRequest
|
|
27226
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
27227
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
27228
|
+
*/
|
|
27229
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replit.goval.api.SecretsSetRequest;
|
|
27230
|
+
|
|
27231
|
+
/**
|
|
27232
|
+
* Verifies a SecretsSetRequest message.
|
|
27233
|
+
* @param message Plain object to verify
|
|
27234
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
27235
|
+
*/
|
|
27236
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
27237
|
+
|
|
27238
|
+
/**
|
|
27239
|
+
* Creates a SecretsSetRequest message from a plain object. Also converts values to their respective internal types.
|
|
27240
|
+
* @param object Plain object
|
|
27241
|
+
* @returns SecretsSetRequest
|
|
27242
|
+
*/
|
|
27243
|
+
public static fromObject(object: { [k: string]: any }): replit.goval.api.SecretsSetRequest;
|
|
27244
|
+
|
|
27245
|
+
/**
|
|
27246
|
+
* Creates a plain object from a SecretsSetRequest message. Also converts values to other types if specified.
|
|
27247
|
+
* @param message SecretsSetRequest
|
|
27248
|
+
* @param [options] Conversion options
|
|
27249
|
+
* @returns Plain object
|
|
27250
|
+
*/
|
|
27251
|
+
public static toObject(message: replit.goval.api.SecretsSetRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
27252
|
+
|
|
27253
|
+
/**
|
|
27254
|
+
* Converts this SecretsSetRequest to JSON.
|
|
27255
|
+
* @returns JSON object
|
|
27256
|
+
*/
|
|
27257
|
+
public toJSON(): { [k: string]: any };
|
|
27258
|
+
|
|
27259
|
+
/**
|
|
27260
|
+
* Gets the default type url for SecretsSetRequest
|
|
27261
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
27262
|
+
* @returns The default type url
|
|
27263
|
+
*/
|
|
27264
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
27265
|
+
}
|
|
27266
|
+
|
|
26958
27267
|
/** Properties of a TLSCertificate. */
|
|
26959
27268
|
interface ITLSCertificate {
|
|
26960
27269
|
|
|
@@ -27757,6 +28066,7 @@ export namespace replit {
|
|
|
27757
28066
|
ANY_REPLID = 2,
|
|
27758
28067
|
ANY_USER = 3,
|
|
27759
28068
|
ANY_USER_ID = 11,
|
|
28069
|
+
ANY_ORG = 12,
|
|
27760
28070
|
ANY_CLUSTER = 4,
|
|
27761
28071
|
ANY_SUBCLUSTER = 9
|
|
27762
28072
|
}
|
|
@@ -27773,6 +28083,9 @@ export namespace replit {
|
|
|
27773
28083
|
/** CertificateClaim userId */
|
|
27774
28084
|
userId?: (number|null);
|
|
27775
28085
|
|
|
28086
|
+
/** CertificateClaim org */
|
|
28087
|
+
org?: (replit.goval.api.repl.Org|replit.goval.api.repl.IOrg|null);
|
|
28088
|
+
|
|
27776
28089
|
/** CertificateClaim cluster */
|
|
27777
28090
|
cluster?: (string|null);
|
|
27778
28091
|
|
|
@@ -27804,6 +28117,9 @@ export namespace replit {
|
|
|
27804
28117
|
/** CertificateClaim userId. */
|
|
27805
28118
|
public userId?: (number|null);
|
|
27806
28119
|
|
|
28120
|
+
/** CertificateClaim org. */
|
|
28121
|
+
public org?: (replit.goval.api.repl.Org|null);
|
|
28122
|
+
|
|
27807
28123
|
/** CertificateClaim cluster. */
|
|
27808
28124
|
public cluster?: (string|null);
|
|
27809
28125
|
|
|
@@ -27817,7 +28133,7 @@ export namespace replit {
|
|
|
27817
28133
|
public flag?: (replit.goval.api.FlagClaim|null);
|
|
27818
28134
|
|
|
27819
28135
|
/** CertificateClaim claim. */
|
|
27820
|
-
public claim?: ("replid"|"user"|"userId"|"cluster"|"subcluster"|"deployment"|"flag");
|
|
28136
|
+
public claim?: ("replid"|"user"|"userId"|"org"|"cluster"|"subcluster"|"deployment"|"flag");
|
|
27821
28137
|
|
|
27822
28138
|
/**
|
|
27823
28139
|
* Creates a new CertificateClaim instance using the specified properties.
|