@toshicloud/sdk 0.4.0 → 0.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +102 -19
- package/dist/client.d.ts +40 -4
- package/dist/client.js +35 -4
- package/dist/errors.d.ts +99 -0
- package/dist/errors.js +208 -0
- package/dist/gen/toshi/permission_pb.d.ts +244 -0
- package/dist/gen/toshi/permission_pb.js +94 -0
- package/dist/gen/toshi/workspace/v1/account_pb.d.ts +590 -0
- package/dist/gen/toshi/workspace/v1/account_pb.js +75 -0
- package/dist/gen/toshi/workspace/v1/artifacts_pb.d.ts +14 -8
- package/dist/gen/toshi/workspace/v1/artifacts_pb.js +10 -7
- package/dist/gen/toshi/workspace/v1/audit_events_pb.d.ts +191 -6
- package/dist/gen/toshi/workspace/v1/audit_events_pb.js +12 -1
- package/dist/gen/toshi/workspace/v1/channels_pb.d.ts +1194 -21
- package/dist/gen/toshi/workspace/v1/channels_pb.js +186 -39
- package/dist/gen/toshi/workspace/v1/connections_pb.d.ts +1481 -0
- package/dist/gen/toshi/workspace/v1/connections_pb.js +208 -0
- package/dist/gen/toshi/workspace/v1/discovery_pb.d.ts +924 -0
- package/dist/gen/toshi/workspace/v1/discovery_pb.js +231 -0
- package/dist/gen/toshi/workspace/v1/display_pb.d.ts +198 -15
- package/dist/gen/toshi/workspace/v1/display_pb.js +53 -2
- package/dist/gen/toshi/workspace/v1/domains_pb.d.ts +864 -0
- package/dist/gen/toshi/workspace/v1/domains_pb.js +152 -0
- package/dist/gen/toshi/workspace/v1/fillers_pb.d.ts +12 -4
- package/dist/gen/toshi/workspace/v1/fillers_pb.js +2 -1
- package/dist/gen/toshi/workspace/v1/grants_pb.d.ts +1297 -0
- package/dist/gen/toshi/workspace/v1/grants_pb.js +271 -0
- package/dist/gen/toshi/workspace/v1/hostjobs_pb.d.ts +315 -15
- package/dist/gen/toshi/workspace/v1/hostjobs_pb.js +11 -5
- package/dist/gen/toshi/workspace/v1/hosts_pb.d.ts +196 -7
- package/dist/gen/toshi/workspace/v1/hosts_pb.js +13 -7
- package/dist/gen/toshi/workspace/v1/images_pb.d.ts +1463 -0
- package/dist/gen/toshi/workspace/v1/images_pb.js +263 -0
- package/dist/gen/toshi/workspace/v1/products_pb.d.ts +506 -0
- package/dist/gen/toshi/workspace/v1/products_pb.js +60 -0
- package/dist/gen/toshi/workspace/v1/projects_pb.d.ts +1474 -99
- package/dist/gen/toshi/workspace/v1/projects_pb.js +151 -33
- package/dist/gen/toshi/workspace/v1/recordings_pb.d.ts +181 -14
- package/dist/gen/toshi/workspace/v1/recordings_pb.js +55 -14
- package/dist/gen/toshi/workspace/v1/roles_pb.d.ts +1994 -0
- package/dist/gen/toshi/workspace/v1/roles_pb.js +355 -0
- package/dist/gen/toshi/workspace/v1/secrets_pb.d.ts +314 -8
- package/dist/gen/toshi/workspace/v1/secrets_pb.js +43 -18
- package/dist/gen/toshi/workspace/v1/storage_providers_pb.d.ts +14 -0
- package/dist/gen/toshi/workspace/v1/storage_providers_pb.js +2 -1
- package/dist/gen/toshi/workspace/v1/tokens_pb.d.ts +434 -5
- package/dist/gen/toshi/workspace/v1/tokens_pb.js +66 -8
- package/dist/gen/toshi/workspace/v1/triggers_pb.d.ts +1099 -0
- package/dist/gen/toshi/workspace/v1/triggers_pb.js +185 -0
- package/dist/gen/toshi/workspace/v1/volumes_pb.d.ts +1052 -33
- package/dist/gen/toshi/workspace/v1/volumes_pb.js +170 -11
- package/dist/gen/toshi/workspace/v1/webhook_pb.d.ts +66 -8
- package/dist/gen/toshi/workspace/v1/webhook_pb.js +5 -4
- package/dist/gen/toshi/workspace/v1/workloads_pb.d.ts +2043 -54
- package/dist/gen/toshi/workspace/v1/workloads_pb.js +205 -54
- package/dist/gen/toshi/workspace/v1/workspace_pb.d.ts +6292 -939
- package/dist/gen/toshi/workspace/v1/workspace_pb.js +801 -88
- package/dist/gen/toshi/workspace/v1/workspace_service_pb.d.ts +2176 -630
- package/dist/gen/toshi/workspace/v1/workspace_service_pb.js +192 -74
- package/dist/index.d.ts +10 -1
- package/dist/index.js +10 -1
- package/dist/interceptors.d.ts +11 -1
- package/dist/interceptors.js +38 -4
- package/dist/retry.d.ts +18 -0
- package/dist/retry.js +228 -22
- package/dist/test/procedures.js +100 -5
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/dist/wait.d.ts +4 -0
- package/dist/wait.js +24 -1
- package/package.json +3 -2
|
@@ -0,0 +1,231 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.16.0 with parameter "target=ts,json_types=true,import_extension=js"
|
|
2
|
+
// @generated from file toshi/workspace/v1/discovery.proto (package toshi.workspace.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
import { enumDesc, fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
|
|
5
|
+
import { file_toshi_permission } from "../../permission_pb.js";
|
|
6
|
+
/**
|
|
7
|
+
* Describes the file toshi/workspace/v1/discovery.proto.
|
|
8
|
+
*/
|
|
9
|
+
export const file_toshi_workspace_v1_discovery = /*@__PURE__*/ fileDesc("CiJ0b3NoaS93b3Jrc3BhY2UvdjEvZGlzY292ZXJ5LnByb3RvEhJ0b3NoaS53b3Jrc3BhY2UudjEiNwoPRGlzY292ZXJSZXF1ZXN0Eg8KB3Byb2plY3QYASABKAkSEwoLZW52aXJvbm1lbnQYAiABKAkivAEKEERpc2NvdmVyUmVzcG9uc2USNwoIcHJvZHVjdHMYASADKAsyJS50b3NoaS53b3Jrc3BhY2UudjEuRGlzY292ZXJlZFByb2R1Y3QSEwoLcGVybWlzc2lvbnMYAiADKAkSMQoIdmVyc2lvbnMYAyABKAsyHy50b3NoaS53b3Jrc3BhY2UudjEuQVBJVmVyc2lvbnMSGAoQcmVnaXN0cnlfYWRkcmVzcxgEIAEoCRINCgVjYWxscxgFIAMoCSL9AgoRRGlzY292ZXJlZFByb2R1Y3QSCgoCaWQYASABKAkSDwoHdmVyc2lvbhgCIAEoCRIMCgRkb2NzGAMgASgJEg8KB2VuYWJsZWQYBCABKAgSNAoIZmVhdHVyZXMYBSADKAsyIi50b3NoaS53b3Jrc3BhY2UudjEuUHJvZHVjdEZlYXR1cmUSLwoFc3RhdGUYBiABKA4yIC50b3NoaS53b3Jrc3BhY2UudjEuUHJvZHVjdFN0YXRlEjgKCHN1cmZhY2VzGAggASgLMiYudG9zaGkud29ya3NwYWNlLnYxLkRpc2NvdmVyZWRTdXJmYWNlcxIRCglhdmFpbGFibGUYCiABKAgSNwoJc3RhYmlsaXR5GAsgASgOMiQudG9zaGkud29ya3NwYWNlLnYxLlByb2R1Y3RTdGFiaWxpdHkSFwoPcmVtb3ZhbF92ZXJzaW9uGAwgASgJSgQIBxAISgQICRAKUgZzd2l0Y2hSEmluc3RhbGxhdGlvbl9zdGF0ZSJIChJEaXNjb3ZlcmVkU3VyZmFjZXMSCwoDYXBpGAEgASgJSgQIAhADSgQIAxAESgQIBBAFUgNjbGlSCWRhc2hib2FyZFIDc2RrIqEDCg5Qcm9kdWN0RmVhdHVyZRILCgNrZXkYASABKAkSNAoEdHlwZRgCIAEoDjImLnRvc2hpLndvcmtzcGFjZS52MS5Qcm9kdWN0RmVhdHVyZVR5cGUSDgoGdmFsdWVzGAMgAygJEhIKCm5hcnJvd2FibGUYBCABKAgSNQoLZW50aXRsZW1lbnQYBSABKAsyIC50b3NoaS53b3Jrc3BhY2UudjEuRmVhdHVyZVZhbHVlEjEKB3NldHRpbmcYBiABKAsyIC50b3NoaS53b3Jrc3BhY2UudjEuRmVhdHVyZVZhbHVlEjMKCWVmZmVjdGl2ZRgHIAEoCzIgLnRvc2hpLndvcmtzcGFjZS52MS5GZWF0dXJlVmFsdWUSNwoNZGVmYXVsdF92YWx1ZRgIIAEoCzIgLnRvc2hpLndvcmtzcGFjZS52MS5GZWF0dXJlVmFsdWUSCwoDbWF4GAkgASgDEhAKCHBsYW5fa2V5GAogASgJEjEKBnNvdXJjZRgLIAEoDjIhLnRvc2hpLndvcmtzcGFjZS52MS5GZWF0dXJlU291cmNlInsKDEZlYXR1cmVWYWx1ZRIOCgRib29sGAEgASgISAASDwoFY291bnQYAiABKANIABIxCgVyYW5nZRgDIAEoCzIgLnRvc2hpLndvcmtzcGFjZS52MS5GZWF0dXJlUmFuZ2VIABIOCgR0ZXh0GAQgASgJSABCBwoFdmFsdWUiKAoMRmVhdHVyZVJhbmdlEgsKA21pbhgBIAEoAxILCgNtYXgYAiABKAMiMQoLQVBJVmVyc2lvbnMSCwoDYXBpGAEgASgJEhUKDWNvbnRyb2xfcGxhbmUYAiABKAkqngEKDFByb2R1Y3RTdGF0ZRIdChlQUk9EVUNUX1NUQVRFX1VOU1BFQ0lGSUVEEAASGQoVUFJPRFVDVF9TVEFURV9FTkFCTEVEEAESHQoZUFJPRFVDVF9TVEFURV9OT19ORVdfV09SSxACEhoKFlBST0RVQ1RfU1RBVEVfRFJBSU5JTkcQAxIZChVQUk9EVUNUX1NUQVRFX1NUT1BQRUQQBCquAQoQUHJvZHVjdFN0YWJpbGl0eRIhCh1QUk9EVUNUX1NUQUJJTElUWV9VTlNQRUNJRklFRBAAEhsKF1BST0RVQ1RfU1RBQklMSVRZX0FMUEhBEAESGgoWUFJPRFVDVF9TVEFCSUxJVFlfQkVUQRACEhwKGFBST0RVQ1RfU1RBQklMSVRZX1NUQUJMRRADEiAKHFBST0RVQ1RfU1RBQklMSVRZX0RFUFJFQ0FURUQQBCqeAQoNRmVhdHVyZVNvdXJjZRIeChpGRUFUVVJFX1NPVVJDRV9VTlNQRUNJRklFRBAAEhsKF0ZFQVRVUkVfU09VUkNFX09WRVJSSURFEAESFwoTRkVBVFVSRV9TT1VSQ0VfUExBThACEhsKF0ZFQVRVUkVfU09VUkNFX1BMQU5fS0VZEAMSGgoWRkVBVFVSRV9TT1VSQ0VfREVGQVVMVBAEKtkBChJQcm9kdWN0RmVhdHVyZVR5cGUSJAogUFJPRFVDVF9GRUFUVVJFX1RZUEVfVU5TUEVDSUZJRUQQABIdChlQUk9EVUNUX0ZFQVRVUkVfVFlQRV9CT09MEAESHgoaUFJPRFVDVF9GRUFUVVJFX1RZUEVfQ09VTlQQAhIeChpQUk9EVUNUX0ZFQVRVUkVfVFlQRV9SQU5HRRADEh0KGVBST0RVQ1RfRkVBVFVSRV9UWVBFX0VOVU0QBBIfChtQUk9EVUNUX0ZFQVRVUkVfVFlQRV9TVFJJTkcQBTKMAQoQRGlzY292ZXJ5U2VydmljZRJ4CghEaXNjb3ZlchIjLnRvc2hpLndvcmtzcGFjZS52MS5EaXNjb3ZlclJlcXVlc3QaJC50b3NoaS53b3Jrc3BhY2UudjEuRGlzY292ZXJSZXNwb25zZSIhwvMYDndvcmtzcGFjZS5yZWFkyvMYC2Vudmlyb25tZW50QiJaIGdvLnRvc2hpY2xvdWQuaW8vYXBpL3dvcmtzcGFjZXYxYgZwcm90bzM", [file_toshi_permission]);
|
|
10
|
+
/**
|
|
11
|
+
* Describes the message toshi.workspace.v1.DiscoverRequest.
|
|
12
|
+
* Use `create(DiscoverRequestSchema)` to create a new message.
|
|
13
|
+
*/
|
|
14
|
+
export const DiscoverRequestSchema = /*@__PURE__*/ messageDesc(file_toshi_workspace_v1_discovery, 0);
|
|
15
|
+
/**
|
|
16
|
+
* Describes the message toshi.workspace.v1.DiscoverResponse.
|
|
17
|
+
* Use `create(DiscoverResponseSchema)` to create a new message.
|
|
18
|
+
*/
|
|
19
|
+
export const DiscoverResponseSchema = /*@__PURE__*/ messageDesc(file_toshi_workspace_v1_discovery, 1);
|
|
20
|
+
/**
|
|
21
|
+
* Describes the message toshi.workspace.v1.DiscoveredProduct.
|
|
22
|
+
* Use `create(DiscoveredProductSchema)` to create a new message.
|
|
23
|
+
*/
|
|
24
|
+
export const DiscoveredProductSchema = /*@__PURE__*/ messageDesc(file_toshi_workspace_v1_discovery, 2);
|
|
25
|
+
/**
|
|
26
|
+
* Describes the message toshi.workspace.v1.DiscoveredSurfaces.
|
|
27
|
+
* Use `create(DiscoveredSurfacesSchema)` to create a new message.
|
|
28
|
+
*/
|
|
29
|
+
export const DiscoveredSurfacesSchema = /*@__PURE__*/ messageDesc(file_toshi_workspace_v1_discovery, 3);
|
|
30
|
+
/**
|
|
31
|
+
* Describes the message toshi.workspace.v1.ProductFeature.
|
|
32
|
+
* Use `create(ProductFeatureSchema)` to create a new message.
|
|
33
|
+
*/
|
|
34
|
+
export const ProductFeatureSchema = /*@__PURE__*/ messageDesc(file_toshi_workspace_v1_discovery, 4);
|
|
35
|
+
/**
|
|
36
|
+
* Describes the message toshi.workspace.v1.FeatureValue.
|
|
37
|
+
* Use `create(FeatureValueSchema)` to create a new message.
|
|
38
|
+
*/
|
|
39
|
+
export const FeatureValueSchema = /*@__PURE__*/ messageDesc(file_toshi_workspace_v1_discovery, 5);
|
|
40
|
+
/**
|
|
41
|
+
* Describes the message toshi.workspace.v1.FeatureRange.
|
|
42
|
+
* Use `create(FeatureRangeSchema)` to create a new message.
|
|
43
|
+
*/
|
|
44
|
+
export const FeatureRangeSchema = /*@__PURE__*/ messageDesc(file_toshi_workspace_v1_discovery, 6);
|
|
45
|
+
/**
|
|
46
|
+
* Describes the message toshi.workspace.v1.APIVersions.
|
|
47
|
+
* Use `create(APIVersionsSchema)` to create a new message.
|
|
48
|
+
*/
|
|
49
|
+
export const APIVersionsSchema = /*@__PURE__*/ messageDesc(file_toshi_workspace_v1_discovery, 7);
|
|
50
|
+
/**
|
|
51
|
+
* ProductState is where a product is in the deployment's lifecycle. A
|
|
52
|
+
* product the config turns off goes from no new work through draining to
|
|
53
|
+
* stopped as its work ends, and back to enabled when the config turns it on
|
|
54
|
+
* again. None of the states deletes the product's data.
|
|
55
|
+
*
|
|
56
|
+
* @generated from enum toshi.workspace.v1.ProductState
|
|
57
|
+
*/
|
|
58
|
+
export var ProductState;
|
|
59
|
+
(function (ProductState) {
|
|
60
|
+
/**
|
|
61
|
+
* @generated from enum value: PRODUCT_STATE_UNSPECIFIED = 0;
|
|
62
|
+
*/
|
|
63
|
+
ProductState[ProductState["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
|
64
|
+
/**
|
|
65
|
+
* The config turns the product on: it takes new work.
|
|
66
|
+
*
|
|
67
|
+
* @generated from enum value: PRODUCT_STATE_ENABLED = 1;
|
|
68
|
+
*/
|
|
69
|
+
ProductState[ProductState["ENABLED"] = 1] = "ENABLED";
|
|
70
|
+
/**
|
|
71
|
+
* Turned off, with work it accepted that has not started: it takes no new
|
|
72
|
+
* work, and that work still runs.
|
|
73
|
+
*
|
|
74
|
+
* @generated from enum value: PRODUCT_STATE_NO_NEW_WORK = 2;
|
|
75
|
+
*/
|
|
76
|
+
ProductState[ProductState["NO_NEW_WORK"] = 2] = "NO_NEW_WORK";
|
|
77
|
+
/**
|
|
78
|
+
* Turned off, with its last work running: that work ends as it would
|
|
79
|
+
* have.
|
|
80
|
+
*
|
|
81
|
+
* @generated from enum value: PRODUCT_STATE_DRAINING = 3;
|
|
82
|
+
*/
|
|
83
|
+
ProductState[ProductState["DRAINING"] = 3] = "DRAINING";
|
|
84
|
+
/**
|
|
85
|
+
* Turned off, with nothing left to finish.
|
|
86
|
+
*
|
|
87
|
+
* @generated from enum value: PRODUCT_STATE_STOPPED = 4;
|
|
88
|
+
*/
|
|
89
|
+
ProductState[ProductState["STOPPED"] = 4] = "STOPPED";
|
|
90
|
+
})(ProductState || (ProductState = {}));
|
|
91
|
+
/**
|
|
92
|
+
* Describes the enum toshi.workspace.v1.ProductState.
|
|
93
|
+
*/
|
|
94
|
+
export const ProductStateSchema = /*@__PURE__*/ enumDesc(file_toshi_workspace_v1_discovery, 0);
|
|
95
|
+
/**
|
|
96
|
+
* ProductStability is how mature a product is. A deployment's
|
|
97
|
+
* products.min_stability turns off a product below it, as the operator's
|
|
98
|
+
* switch does.
|
|
99
|
+
*
|
|
100
|
+
* @generated from enum toshi.workspace.v1.ProductStability
|
|
101
|
+
*/
|
|
102
|
+
export var ProductStability;
|
|
103
|
+
(function (ProductStability) {
|
|
104
|
+
/**
|
|
105
|
+
* @generated from enum value: PRODUCT_STABILITY_UNSPECIFIED = 0;
|
|
106
|
+
*/
|
|
107
|
+
ProductStability[ProductStability["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
|
108
|
+
/**
|
|
109
|
+
* May change or go away in any release.
|
|
110
|
+
*
|
|
111
|
+
* @generated from enum value: PRODUCT_STABILITY_ALPHA = 1;
|
|
112
|
+
*/
|
|
113
|
+
ProductStability[ProductStability["ALPHA"] = 1] = "ALPHA";
|
|
114
|
+
/**
|
|
115
|
+
* Complete; its configuration and API may still change between minor
|
|
116
|
+
* releases, with notice.
|
|
117
|
+
*
|
|
118
|
+
* @generated from enum value: PRODUCT_STABILITY_BETA = 2;
|
|
119
|
+
*/
|
|
120
|
+
ProductStability[ProductStability["BETA"] = 2] = "BETA";
|
|
121
|
+
/**
|
|
122
|
+
* Changes only compatibly within a major version.
|
|
123
|
+
*
|
|
124
|
+
* @generated from enum value: PRODUCT_STABILITY_STABLE = 3;
|
|
125
|
+
*/
|
|
126
|
+
ProductStability[ProductStability["STABLE"] = 3] = "STABLE";
|
|
127
|
+
/**
|
|
128
|
+
* Works as it did until its removal version.
|
|
129
|
+
*
|
|
130
|
+
* @generated from enum value: PRODUCT_STABILITY_DEPRECATED = 4;
|
|
131
|
+
*/
|
|
132
|
+
ProductStability[ProductStability["DEPRECATED"] = 4] = "DEPRECATED";
|
|
133
|
+
})(ProductStability || (ProductStability = {}));
|
|
134
|
+
/**
|
|
135
|
+
* Describes the enum toshi.workspace.v1.ProductStability.
|
|
136
|
+
*/
|
|
137
|
+
export const ProductStabilitySchema = /*@__PURE__*/ enumDesc(file_toshi_workspace_v1_discovery, 1);
|
|
138
|
+
/**
|
|
139
|
+
* FeatureSource is where a workspace's entitlement to a feature comes from,
|
|
140
|
+
* the first that applies in this order: the operator's override, the
|
|
141
|
+
* value its plan gives the feature, the plan key the feature falls back
|
|
142
|
+
* to, and the feature's default.
|
|
143
|
+
*
|
|
144
|
+
* @generated from enum toshi.workspace.v1.FeatureSource
|
|
145
|
+
*/
|
|
146
|
+
export var FeatureSource;
|
|
147
|
+
(function (FeatureSource) {
|
|
148
|
+
/**
|
|
149
|
+
* @generated from enum value: FEATURE_SOURCE_UNSPECIFIED = 0;
|
|
150
|
+
*/
|
|
151
|
+
FeatureSource[FeatureSource["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
|
152
|
+
/**
|
|
153
|
+
* The operator's override for the workspace.
|
|
154
|
+
*
|
|
155
|
+
* @generated from enum value: FEATURE_SOURCE_OVERRIDE = 1;
|
|
156
|
+
*/
|
|
157
|
+
FeatureSource[FeatureSource["OVERRIDE"] = 1] = "OVERRIDE";
|
|
158
|
+
/**
|
|
159
|
+
* The value the workspace's plan gives the feature.
|
|
160
|
+
*
|
|
161
|
+
* @generated from enum value: FEATURE_SOURCE_PLAN = 2;
|
|
162
|
+
*/
|
|
163
|
+
FeatureSource[FeatureSource["PLAN"] = 2] = "PLAN";
|
|
164
|
+
/**
|
|
165
|
+
* The value of the plan key the feature falls back to, which the
|
|
166
|
+
* workspace's plan sets.
|
|
167
|
+
*
|
|
168
|
+
* @generated from enum value: FEATURE_SOURCE_PLAN_KEY = 3;
|
|
169
|
+
*/
|
|
170
|
+
FeatureSource[FeatureSource["PLAN_KEY"] = 3] = "PLAN_KEY";
|
|
171
|
+
/**
|
|
172
|
+
* The feature's default in its product's manifest.
|
|
173
|
+
*
|
|
174
|
+
* @generated from enum value: FEATURE_SOURCE_DEFAULT = 4;
|
|
175
|
+
*/
|
|
176
|
+
FeatureSource[FeatureSource["DEFAULT"] = 4] = "DEFAULT";
|
|
177
|
+
})(FeatureSource || (FeatureSource = {}));
|
|
178
|
+
/**
|
|
179
|
+
* Describes the enum toshi.workspace.v1.FeatureSource.
|
|
180
|
+
*/
|
|
181
|
+
export const FeatureSourceSchema = /*@__PURE__*/ enumDesc(file_toshi_workspace_v1_discovery, 2);
|
|
182
|
+
/**
|
|
183
|
+
* ProductFeatureType is the type of a feature's value.
|
|
184
|
+
*
|
|
185
|
+
* @generated from enum toshi.workspace.v1.ProductFeatureType
|
|
186
|
+
*/
|
|
187
|
+
export var ProductFeatureType;
|
|
188
|
+
(function (ProductFeatureType) {
|
|
189
|
+
/**
|
|
190
|
+
* @generated from enum value: PRODUCT_FEATURE_TYPE_UNSPECIFIED = 0;
|
|
191
|
+
*/
|
|
192
|
+
ProductFeatureType[ProductFeatureType["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
|
193
|
+
/**
|
|
194
|
+
* @generated from enum value: PRODUCT_FEATURE_TYPE_BOOL = 1;
|
|
195
|
+
*/
|
|
196
|
+
ProductFeatureType[ProductFeatureType["BOOL"] = 1] = "BOOL";
|
|
197
|
+
/**
|
|
198
|
+
* @generated from enum value: PRODUCT_FEATURE_TYPE_COUNT = 2;
|
|
199
|
+
*/
|
|
200
|
+
ProductFeatureType[ProductFeatureType["COUNT"] = 2] = "COUNT";
|
|
201
|
+
/**
|
|
202
|
+
* @generated from enum value: PRODUCT_FEATURE_TYPE_RANGE = 3;
|
|
203
|
+
*/
|
|
204
|
+
ProductFeatureType[ProductFeatureType["RANGE"] = 3] = "RANGE";
|
|
205
|
+
/**
|
|
206
|
+
* @generated from enum value: PRODUCT_FEATURE_TYPE_ENUM = 4;
|
|
207
|
+
*/
|
|
208
|
+
ProductFeatureType[ProductFeatureType["ENUM"] = 4] = "ENUM";
|
|
209
|
+
/**
|
|
210
|
+
* @generated from enum value: PRODUCT_FEATURE_TYPE_STRING = 5;
|
|
211
|
+
*/
|
|
212
|
+
ProductFeatureType[ProductFeatureType["STRING"] = 5] = "STRING";
|
|
213
|
+
})(ProductFeatureType || (ProductFeatureType = {}));
|
|
214
|
+
/**
|
|
215
|
+
* Describes the enum toshi.workspace.v1.ProductFeatureType.
|
|
216
|
+
*/
|
|
217
|
+
export const ProductFeatureTypeSchema = /*@__PURE__*/ enumDesc(file_toshi_workspace_v1_discovery, 3);
|
|
218
|
+
/**
|
|
219
|
+
* DiscoveryService tells a client what this deployment serves and what the
|
|
220
|
+
* caller may do in the workspace, in one call: the products the build
|
|
221
|
+
* includes, where each is in the deployment's lifecycle and whether the
|
|
222
|
+
* workspace has it on, each feature's entitlement, setting and effective
|
|
223
|
+
* value, the caller's permissions and the versions of the API and the
|
|
224
|
+
* control plane. A client
|
|
225
|
+
* reads it to decide what to show and what to call.
|
|
226
|
+
*
|
|
227
|
+
* The caller's credential names the workspace, as for WorkloadService.
|
|
228
|
+
*
|
|
229
|
+
* @generated from service toshi.workspace.v1.DiscoveryService
|
|
230
|
+
*/
|
|
231
|
+
export const DiscoveryService = /*@__PURE__*/ serviceDesc(file_toshi_workspace_v1_discovery, 0);
|
|
@@ -28,7 +28,9 @@ export type DisplaySession = Message<"toshi.workspace.v1.DisplaySession"> & {
|
|
|
28
28
|
mode: DisplayMode;
|
|
29
29
|
/**
|
|
30
30
|
* For an agent's run: whether a person may take the input from the
|
|
31
|
-
* agent.
|
|
31
|
+
* agent. A person's DISPLAY_MODE_WITH_INPUT open on the job closes this
|
|
32
|
+
* session with close_reason taken_over when it is a program's session
|
|
33
|
+
* with input that allows it, and is refused when it does not.
|
|
32
34
|
*
|
|
33
35
|
* @generated from field: bool allow_takeover = 4;
|
|
34
36
|
*/
|
|
@@ -74,15 +76,17 @@ export type DisplaySession = Message<"toshi.workspace.v1.DisplaySession"> & {
|
|
|
74
76
|
* Why it closed: closed, idle, expired, suspended, ended (its job
|
|
75
77
|
* stopped running where the session was opened), protocol_error (the
|
|
76
78
|
* viewer sent what the relay does not accept), unavailable (the job's
|
|
77
|
-
* host did not open the screen)
|
|
78
|
-
*
|
|
79
|
+
* host did not open the screen), shutdown (the control plane stopped),
|
|
80
|
+
* grant_revoked (it was opened through a grant that ended) or
|
|
81
|
+
* taken_over (a person's session with input took its input). Empty while
|
|
82
|
+
* it is open.
|
|
79
83
|
*
|
|
80
84
|
* @generated from field: string close_reason = 12;
|
|
81
85
|
*/
|
|
82
86
|
closeReason: string;
|
|
83
87
|
/**
|
|
84
|
-
* Who opened it, as the audit log names the caller: the
|
|
85
|
-
*
|
|
88
|
+
* Who opened it, as the audit log names the caller: the user ID of the
|
|
89
|
+
* signed-in person for DISPLAY_OPENER_PERSON, the API token's id for
|
|
86
90
|
* DISPLAY_OPENER_PROGRAM.
|
|
87
91
|
*
|
|
88
92
|
* @generated from field: string opener_id = 13;
|
|
@@ -102,6 +106,28 @@ export type DisplaySession = Message<"toshi.workspace.v1.DisplaySession"> & {
|
|
|
102
106
|
* @generated from field: string attach_token_id = 15;
|
|
103
107
|
*/
|
|
104
108
|
attachTokenId: string;
|
|
109
|
+
/**
|
|
110
|
+
* The grant through which another workspace opened the session, or
|
|
111
|
+
* empty for one the job's own workspace opened.
|
|
112
|
+
*
|
|
113
|
+
* @generated from field: string grant_id = 16;
|
|
114
|
+
*/
|
|
115
|
+
grantId: string;
|
|
116
|
+
/**
|
|
117
|
+
* Whether the screen is being recorded now, for the session's viewer to
|
|
118
|
+
* show beside it.
|
|
119
|
+
*
|
|
120
|
+
* @generated from field: toshi.workspace.v1.DisplayRecordingState recording_state = 17;
|
|
121
|
+
*/
|
|
122
|
+
recordingState: DisplayRecordingState;
|
|
123
|
+
/**
|
|
124
|
+
* While recording_state is DISPLAY_RECORDING_STATE_QUOTA_REACHED, the
|
|
125
|
+
* cap that holds the recording back, as the sandbox's
|
|
126
|
+
* recording_stopped_reason says it; empty in every other state.
|
|
127
|
+
*
|
|
128
|
+
* @generated from field: string recording_stopped_reason = 18;
|
|
129
|
+
*/
|
|
130
|
+
recordingStoppedReason: string;
|
|
105
131
|
};
|
|
106
132
|
/**
|
|
107
133
|
* @generated from message toshi.workspace.v1.DisplaySession
|
|
@@ -126,7 +152,9 @@ export type DisplaySessionJson = {
|
|
|
126
152
|
mode?: DisplayModeJson;
|
|
127
153
|
/**
|
|
128
154
|
* For an agent's run: whether a person may take the input from the
|
|
129
|
-
* agent.
|
|
155
|
+
* agent. A person's DISPLAY_MODE_WITH_INPUT open on the job closes this
|
|
156
|
+
* session with close_reason taken_over when it is a program's session
|
|
157
|
+
* with input that allows it, and is refused when it does not.
|
|
130
158
|
*
|
|
131
159
|
* @generated from field: bool allow_takeover = 4;
|
|
132
160
|
*/
|
|
@@ -172,15 +200,17 @@ export type DisplaySessionJson = {
|
|
|
172
200
|
* Why it closed: closed, idle, expired, suspended, ended (its job
|
|
173
201
|
* stopped running where the session was opened), protocol_error (the
|
|
174
202
|
* viewer sent what the relay does not accept), unavailable (the job's
|
|
175
|
-
* host did not open the screen)
|
|
176
|
-
*
|
|
203
|
+
* host did not open the screen), shutdown (the control plane stopped),
|
|
204
|
+
* grant_revoked (it was opened through a grant that ended) or
|
|
205
|
+
* taken_over (a person's session with input took its input). Empty while
|
|
206
|
+
* it is open.
|
|
177
207
|
*
|
|
178
208
|
* @generated from field: string close_reason = 12;
|
|
179
209
|
*/
|
|
180
210
|
closeReason?: string;
|
|
181
211
|
/**
|
|
182
|
-
* Who opened it, as the audit log names the caller: the
|
|
183
|
-
*
|
|
212
|
+
* Who opened it, as the audit log names the caller: the user ID of the
|
|
213
|
+
* signed-in person for DISPLAY_OPENER_PERSON, the API token's id for
|
|
184
214
|
* DISPLAY_OPENER_PROGRAM.
|
|
185
215
|
*
|
|
186
216
|
* @generated from field: string opener_id = 13;
|
|
@@ -200,6 +230,28 @@ export type DisplaySessionJson = {
|
|
|
200
230
|
* @generated from field: string attach_token_id = 15;
|
|
201
231
|
*/
|
|
202
232
|
attachTokenId?: string;
|
|
233
|
+
/**
|
|
234
|
+
* The grant through which another workspace opened the session, or
|
|
235
|
+
* empty for one the job's own workspace opened.
|
|
236
|
+
*
|
|
237
|
+
* @generated from field: string grant_id = 16;
|
|
238
|
+
*/
|
|
239
|
+
grantId?: string;
|
|
240
|
+
/**
|
|
241
|
+
* Whether the screen is being recorded now, for the session's viewer to
|
|
242
|
+
* show beside it.
|
|
243
|
+
*
|
|
244
|
+
* @generated from field: toshi.workspace.v1.DisplayRecordingState recording_state = 17;
|
|
245
|
+
*/
|
|
246
|
+
recordingState?: DisplayRecordingStateJson;
|
|
247
|
+
/**
|
|
248
|
+
* While recording_state is DISPLAY_RECORDING_STATE_QUOTA_REACHED, the
|
|
249
|
+
* cap that holds the recording back, as the sandbox's
|
|
250
|
+
* recording_stopped_reason says it; empty in every other state.
|
|
251
|
+
*
|
|
252
|
+
* @generated from field: string recording_stopped_reason = 18;
|
|
253
|
+
*/
|
|
254
|
+
recordingStoppedReason?: string;
|
|
203
255
|
};
|
|
204
256
|
/**
|
|
205
257
|
* Describes the message toshi.workspace.v1.DisplaySession.
|
|
@@ -239,7 +291,8 @@ export type OpenDisplaySessionRequest = Message<"toshi.workspace.v1.OpenDisplayS
|
|
|
239
291
|
*/
|
|
240
292
|
mode: DisplayMode;
|
|
241
293
|
/**
|
|
242
|
-
* The idle close, at most the plan's; unset is the
|
|
294
|
+
* The idle close, at least 1 second and at most the plan's; unset is the
|
|
295
|
+
* plan's.
|
|
243
296
|
*
|
|
244
297
|
* @generated from field: google.protobuf.Duration idle_close = 4;
|
|
245
298
|
*/
|
|
@@ -252,6 +305,13 @@ export type OpenDisplaySessionRequest = Message<"toshi.workspace.v1.OpenDisplayS
|
|
|
252
305
|
* @generated from field: string request_key = 6;
|
|
253
306
|
*/
|
|
254
307
|
requestKey: string;
|
|
308
|
+
/**
|
|
309
|
+
* A grant the caller's workspace received, to act on the owner's
|
|
310
|
+
* sandbox's job through it (docs/grants.md).
|
|
311
|
+
*
|
|
312
|
+
* @generated from field: string grant = 7;
|
|
313
|
+
*/
|
|
314
|
+
grant: string;
|
|
255
315
|
};
|
|
256
316
|
/**
|
|
257
317
|
* @generated from message toshi.workspace.v1.OpenDisplaySessionRequest
|
|
@@ -270,7 +330,8 @@ export type OpenDisplaySessionRequestJson = {
|
|
|
270
330
|
*/
|
|
271
331
|
mode?: DisplayModeJson;
|
|
272
332
|
/**
|
|
273
|
-
* The idle close, at most the plan's; unset is the
|
|
333
|
+
* The idle close, at least 1 second and at most the plan's; unset is the
|
|
334
|
+
* plan's.
|
|
274
335
|
*
|
|
275
336
|
* @generated from field: google.protobuf.Duration idle_close = 4;
|
|
276
337
|
*/
|
|
@@ -283,6 +344,13 @@ export type OpenDisplaySessionRequestJson = {
|
|
|
283
344
|
* @generated from field: string request_key = 6;
|
|
284
345
|
*/
|
|
285
346
|
requestKey?: string;
|
|
347
|
+
/**
|
|
348
|
+
* A grant the caller's workspace received, to act on the owner's
|
|
349
|
+
* sandbox's job through it (docs/grants.md).
|
|
350
|
+
*
|
|
351
|
+
* @generated from field: string grant = 7;
|
|
352
|
+
*/
|
|
353
|
+
grant?: string;
|
|
286
354
|
};
|
|
287
355
|
/**
|
|
288
356
|
* Describes the message toshi.workspace.v1.OpenDisplaySessionRequest.
|
|
@@ -370,6 +438,13 @@ export type GetDisplaySessionRequest = Message<"toshi.workspace.v1.GetDisplaySes
|
|
|
370
438
|
* @generated from field: string session_id = 1;
|
|
371
439
|
*/
|
|
372
440
|
sessionId: string;
|
|
441
|
+
/**
|
|
442
|
+
* A grant the caller's workspace received: the call then reaches the
|
|
443
|
+
* sessions opened through that grant (docs/grants.md).
|
|
444
|
+
*
|
|
445
|
+
* @generated from field: string grant = 2;
|
|
446
|
+
*/
|
|
447
|
+
grant: string;
|
|
373
448
|
};
|
|
374
449
|
/**
|
|
375
450
|
* @generated from message toshi.workspace.v1.GetDisplaySessionRequest
|
|
@@ -379,6 +454,13 @@ export type GetDisplaySessionRequestJson = {
|
|
|
379
454
|
* @generated from field: string session_id = 1;
|
|
380
455
|
*/
|
|
381
456
|
sessionId?: string;
|
|
457
|
+
/**
|
|
458
|
+
* A grant the caller's workspace received: the call then reaches the
|
|
459
|
+
* sessions opened through that grant (docs/grants.md).
|
|
460
|
+
*
|
|
461
|
+
* @generated from field: string grant = 2;
|
|
462
|
+
*/
|
|
463
|
+
grant?: string;
|
|
382
464
|
};
|
|
383
465
|
/**
|
|
384
466
|
* Describes the message toshi.workspace.v1.GetDisplaySessionRequest.
|
|
@@ -440,6 +522,13 @@ export type ListDisplaySessionsRequest = Message<"toshi.workspace.v1.ListDisplay
|
|
|
440
522
|
* @generated from field: string page_token = 4;
|
|
441
523
|
*/
|
|
442
524
|
pageToken: string;
|
|
525
|
+
/**
|
|
526
|
+
* A grant the caller's workspace received: the call then reaches the
|
|
527
|
+
* sessions opened through that grant (docs/grants.md).
|
|
528
|
+
*
|
|
529
|
+
* @generated from field: string grant = 5;
|
|
530
|
+
*/
|
|
531
|
+
grant: string;
|
|
443
532
|
};
|
|
444
533
|
/**
|
|
445
534
|
* @generated from message toshi.workspace.v1.ListDisplaySessionsRequest
|
|
@@ -469,6 +558,13 @@ export type ListDisplaySessionsRequestJson = {
|
|
|
469
558
|
* @generated from field: string page_token = 4;
|
|
470
559
|
*/
|
|
471
560
|
pageToken?: string;
|
|
561
|
+
/**
|
|
562
|
+
* A grant the caller's workspace received: the call then reaches the
|
|
563
|
+
* sessions opened through that grant (docs/grants.md).
|
|
564
|
+
*
|
|
565
|
+
* @generated from field: string grant = 5;
|
|
566
|
+
*/
|
|
567
|
+
grant?: string;
|
|
472
568
|
};
|
|
473
569
|
/**
|
|
474
570
|
* Describes the message toshi.workspace.v1.ListDisplaySessionsRequest.
|
|
@@ -522,6 +618,13 @@ export type CloseDisplaySessionRequest = Message<"toshi.workspace.v1.CloseDispla
|
|
|
522
618
|
* @generated from field: string session_id = 1;
|
|
523
619
|
*/
|
|
524
620
|
sessionId: string;
|
|
621
|
+
/**
|
|
622
|
+
* A grant the caller's workspace received: the call then reaches the
|
|
623
|
+
* sessions opened through that grant (docs/grants.md).
|
|
624
|
+
*
|
|
625
|
+
* @generated from field: string grant = 2;
|
|
626
|
+
*/
|
|
627
|
+
grant: string;
|
|
525
628
|
};
|
|
526
629
|
/**
|
|
527
630
|
* @generated from message toshi.workspace.v1.CloseDisplaySessionRequest
|
|
@@ -531,6 +634,13 @@ export type CloseDisplaySessionRequestJson = {
|
|
|
531
634
|
* @generated from field: string session_id = 1;
|
|
532
635
|
*/
|
|
533
636
|
sessionId?: string;
|
|
637
|
+
/**
|
|
638
|
+
* A grant the caller's workspace received: the call then reaches the
|
|
639
|
+
* sessions opened through that grant (docs/grants.md).
|
|
640
|
+
*
|
|
641
|
+
* @generated from field: string grant = 2;
|
|
642
|
+
*/
|
|
643
|
+
grant?: string;
|
|
534
644
|
};
|
|
535
645
|
/**
|
|
536
646
|
* Describes the message toshi.workspace.v1.CloseDisplaySessionRequest.
|
|
@@ -1005,6 +1115,64 @@ export type DisplaySessionStateJson = "DISPLAY_SESSION_STATE_UNSPECIFIED" | "DIS
|
|
|
1005
1115
|
* Describes the enum toshi.workspace.v1.DisplaySessionState.
|
|
1006
1116
|
*/
|
|
1007
1117
|
export declare const DisplaySessionStateSchema: GenEnum<DisplaySessionState, DisplaySessionStateJson>;
|
|
1118
|
+
/**
|
|
1119
|
+
* DisplayRecordingState says whether the screen a session views is being
|
|
1120
|
+
* recorded now. It describes the job or sandbox, not the viewer: every
|
|
1121
|
+
* session of the same screen has the same state. The first that holds is
|
|
1122
|
+
* the state, in this order.
|
|
1123
|
+
*
|
|
1124
|
+
* @generated from enum toshi.workspace.v1.DisplayRecordingState
|
|
1125
|
+
*/
|
|
1126
|
+
export declare enum DisplayRecordingState {
|
|
1127
|
+
/**
|
|
1128
|
+
* Never sent.
|
|
1129
|
+
*
|
|
1130
|
+
* @generated from enum value: DISPLAY_RECORDING_STATE_UNSPECIFIED = 0;
|
|
1131
|
+
*/
|
|
1132
|
+
UNSPECIFIED = 0,
|
|
1133
|
+
/**
|
|
1134
|
+
* Nothing is recorded: the recording policy is off, the workspace
|
|
1135
|
+
* switched recording off, or the host boots no desktop for it.
|
|
1136
|
+
*
|
|
1137
|
+
* @generated from enum value: DISPLAY_RECORDING_STATE_OFF = 1;
|
|
1138
|
+
*/
|
|
1139
|
+
OFF = 1,
|
|
1140
|
+
/**
|
|
1141
|
+
* A recording cap holds the recording back; recording_stopped_reason
|
|
1142
|
+
* says which.
|
|
1143
|
+
*
|
|
1144
|
+
* @generated from enum value: DISPLAY_RECORDING_STATE_QUOTA_REACHED = 2;
|
|
1145
|
+
*/
|
|
1146
|
+
QUOTA_REACHED = 2,
|
|
1147
|
+
/**
|
|
1148
|
+
* A person controls the screen and is not recorded: the workspace
|
|
1149
|
+
* keeps no screenshots of a person's control, the person paused it, or
|
|
1150
|
+
* the pause reached its limit and the control has not ended yet.
|
|
1151
|
+
*
|
|
1152
|
+
* @generated from enum value: DISPLAY_RECORDING_STATE_PRIVATE = 3;
|
|
1153
|
+
*/
|
|
1154
|
+
PRIVATE = 3,
|
|
1155
|
+
/**
|
|
1156
|
+
* Any other time: a strip is capturing, or the next one is still to
|
|
1157
|
+
* start.
|
|
1158
|
+
*
|
|
1159
|
+
* @generated from enum value: DISPLAY_RECORDING_STATE_RECORDING = 4;
|
|
1160
|
+
*/
|
|
1161
|
+
RECORDING = 4
|
|
1162
|
+
}
|
|
1163
|
+
/**
|
|
1164
|
+
* DisplayRecordingState says whether the screen a session views is being
|
|
1165
|
+
* recorded now. It describes the job or sandbox, not the viewer: every
|
|
1166
|
+
* session of the same screen has the same state. The first that holds is
|
|
1167
|
+
* the state, in this order.
|
|
1168
|
+
*
|
|
1169
|
+
* @generated from enum toshi.workspace.v1.DisplayRecordingState
|
|
1170
|
+
*/
|
|
1171
|
+
export type DisplayRecordingStateJson = "DISPLAY_RECORDING_STATE_UNSPECIFIED" | "DISPLAY_RECORDING_STATE_OFF" | "DISPLAY_RECORDING_STATE_QUOTA_REACHED" | "DISPLAY_RECORDING_STATE_PRIVATE" | "DISPLAY_RECORDING_STATE_RECORDING";
|
|
1172
|
+
/**
|
|
1173
|
+
* Describes the enum toshi.workspace.v1.DisplayRecordingState.
|
|
1174
|
+
*/
|
|
1175
|
+
export declare const DisplayRecordingStateSchema: GenEnum<DisplayRecordingState, DisplayRecordingStateJson>;
|
|
1008
1176
|
/**
|
|
1009
1177
|
* DisplayOpener is how a session was opened.
|
|
1010
1178
|
*
|
|
@@ -1062,7 +1230,19 @@ export declare const DisplayService: GenService<{
|
|
|
1062
1230
|
* OpenDisplaySession opens a session on a running job and returns its
|
|
1063
1231
|
* URL and token. A job that is not running, or one beyond the plan's
|
|
1064
1232
|
* viewers, or a second session with input on a job, fails with
|
|
1065
|
-
* FAILED_PRECONDITION. A session
|
|
1233
|
+
* FAILED_PRECONDITION. A session with input on a Windows VM whose host's
|
|
1234
|
+
* pool does not set display_input fails with FAILED_PRECONDITION and the
|
|
1235
|
+
* reason DISPLAY_INPUT_NOT_ENABLED. A job on a cloud pool's Windows opens
|
|
1236
|
+
* no session of either mode: FAILED_PRECONDITION with the reason
|
|
1237
|
+
* TOSHI_LICENSED_WINDOWS. On a host whose pool has licence = "toshi" only
|
|
1238
|
+
* a person who holds a live desktop seat in the workspace opens one (a
|
|
1239
|
+
* sign-in, or that person's own access token); anyone else fails with
|
|
1240
|
+
* FAILED_PRECONDITION and the reason DESKTOP_SEAT_PERSON_REQUIRED for a
|
|
1241
|
+
* caller that is not a person (a workspace token, a product token, a
|
|
1242
|
+
* workload) or DESKTOP_SEAT_REQUIRED for a person without a seat. An
|
|
1243
|
+
* input or screenshot call there by anyone but the session's opener is
|
|
1244
|
+
* checked the same way.
|
|
1245
|
+
* A session ends when it is closed, when no bytes
|
|
1066
1246
|
* of the screen's protocol go either way for its idle close, when its
|
|
1067
1247
|
* token expires before it attaches, when its job stops running on the
|
|
1068
1248
|
* VM it was opened on, or when the workspace is suspended.
|
|
@@ -1116,7 +1296,8 @@ export declare const DisplayService: GenService<{
|
|
|
1116
1296
|
};
|
|
1117
1297
|
/**
|
|
1118
1298
|
* SendDisplayKeys presses and releases keys on the screen. A view-only
|
|
1119
|
-
* session refuses it with FAILED_PRECONDITION
|
|
1299
|
+
* session refuses it with FAILED_PRECONDITION, with the reason
|
|
1300
|
+
* DISPLAY_INPUT_NOT_ENABLED on a Windows VM that takes no input.
|
|
1120
1301
|
*
|
|
1121
1302
|
* @generated from rpc toshi.workspace.v1.DisplayService.SendDisplayKeys
|
|
1122
1303
|
*/
|
|
@@ -1127,7 +1308,9 @@ export declare const DisplayService: GenService<{
|
|
|
1127
1308
|
};
|
|
1128
1309
|
/**
|
|
1129
1310
|
* SendDisplayPointer moves the pointer and presses or releases its
|
|
1130
|
-
* buttons. A view-only session refuses it with FAILED_PRECONDITION
|
|
1311
|
+
* buttons. A view-only session refuses it with FAILED_PRECONDITION, with
|
|
1312
|
+
* the reason DISPLAY_INPUT_NOT_ENABLED on a Windows VM that takes no
|
|
1313
|
+
* input.
|
|
1131
1314
|
*
|
|
1132
1315
|
* @generated from rpc toshi.workspace.v1.DisplayService.SendDisplayPointer
|
|
1133
1316
|
*/
|