@accrescent/console-client-sdk-angular 0.7.0 → 0.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +201 -0
- package/fesm2022/accrescent-console-client-sdk-angular-accrescent-console-v1alpha1.mjs +1880 -0
- package/fesm2022/accrescent-console-client-sdk-angular-accrescent-console-v1alpha1.mjs.map +1 -0
- package/fesm2022/accrescent-console-client-sdk-angular-buf-validate.mjs +364 -0
- package/fesm2022/accrescent-console-client-sdk-angular-buf-validate.mjs.map +1 -0
- package/fesm2022/accrescent-console-client-sdk-angular-google-api.mjs +584 -0
- package/fesm2022/accrescent-console-client-sdk-angular-google-api.mjs.map +1 -0
- package/fesm2022/accrescent-console-client-sdk-angular-google-longrunning.mjs +94 -0
- package/fesm2022/accrescent-console-client-sdk-angular-google-longrunning.mjs.map +1 -0
- package/fesm2022/accrescent-console-client-sdk-angular-google-rpc.mjs +32 -0
- package/fesm2022/accrescent-console-client-sdk-angular-google-rpc.mjs.map +1 -0
- package/fesm2022/accrescent-console-client-sdk-angular.mjs +3 -2282
- package/fesm2022/accrescent-console-client-sdk-angular.mjs.map +1 -1
- package/package.json +28 -10
- package/types/accrescent-console-client-sdk-angular-accrescent-console-v1alpha1.d.ts +3021 -0
- package/types/accrescent-console-client-sdk-angular-buf-validate.d.ts +4770 -0
- package/types/accrescent-console-client-sdk-angular-google-api.d.ts +1489 -0
- package/types/accrescent-console-client-sdk-angular-google-longrunning.d.ts +401 -0
- package/types/accrescent-console-client-sdk-angular-google-rpc.d.ts +52 -0
- package/types/accrescent-console-client-sdk-angular.d.ts +1 -1985
- package/README.md +0 -185
|
@@ -1,1986 +1,2 @@
|
|
|
1
|
-
import { HttpParameterCodec, HttpParams, HttpHeaders, HttpClient, HttpContext, HttpResponse, HttpEvent } from '@angular/common/http';
|
|
2
|
-
import { Observable } from 'rxjs';
|
|
3
|
-
import * as i0 from '@angular/core';
|
|
4
|
-
import { InjectionToken, ModuleWithProviders, EnvironmentProviders } from '@angular/core';
|
|
5
1
|
|
|
6
|
-
|
|
7
|
-
* Accrescent console API
|
|
8
|
-
*
|
|
9
|
-
* Contact: contact@accrescent.app
|
|
10
|
-
*
|
|
11
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
-
* https://openapi-generator.tech
|
|
13
|
-
* Do not edit the class manually.
|
|
14
|
-
*/
|
|
15
|
-
/**
|
|
16
|
-
* Request defining parameters for creating an app listing for an app draft.
|
|
17
|
-
*/
|
|
18
|
-
interface AppDraftServiceCreateAppDraftListingBody {
|
|
19
|
-
/**
|
|
20
|
-
* The proper name of the app, possibly including very short descriptive text (e.g. \"SecureChat - Secure Texting\").
|
|
21
|
-
*/
|
|
22
|
-
name: string;
|
|
23
|
-
/**
|
|
24
|
-
* A short description of the app to be shown in headers and small screen spaces.
|
|
25
|
-
*/
|
|
26
|
-
shortDescription: string;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
/**
|
|
30
|
-
* Accrescent console API
|
|
31
|
-
*
|
|
32
|
-
* Contact: contact@accrescent.app
|
|
33
|
-
*
|
|
34
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
35
|
-
* https://openapi-generator.tech
|
|
36
|
-
* Do not edit the class manually.
|
|
37
|
-
*/
|
|
38
|
-
/**
|
|
39
|
-
* Request defining parameters for updating an app draft.
|
|
40
|
-
*/
|
|
41
|
-
interface AppDraftServiceUpdateAppDraftBody {
|
|
42
|
-
/**
|
|
43
|
-
* The draft\'s default listing language. Required because no other fields are supported for update yet.
|
|
44
|
-
*/
|
|
45
|
-
defaultListingLanguage: string;
|
|
46
|
-
/**
|
|
47
|
-
* The list of fields to update. Required to enforce forward-compatible use by clients.
|
|
48
|
-
*/
|
|
49
|
-
updateMask: string;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
/**
|
|
53
|
-
* Accrescent console API
|
|
54
|
-
*
|
|
55
|
-
* Contact: contact@accrescent.app
|
|
56
|
-
*
|
|
57
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
58
|
-
* https://openapi-generator.tech
|
|
59
|
-
* Do not edit the class manually.
|
|
60
|
-
*/
|
|
61
|
-
/**
|
|
62
|
-
* `Any` contains an arbitrary serialized protocol buffer message along with a URL that describes the type of the serialized message. Protobuf library provides support to pack/unpack Any values in the form of utility functions or additional generated methods of the Any type. Example 1: Pack and unpack a message in C++. Foo foo = ...; Any any; any.PackFrom(foo); ... if (any.UnpackTo(&foo)) { ... } Example 2: Pack and unpack a message in Java. Foo foo = ...; Any any = Any.pack(foo); ... if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } // or ... if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() any.Pack(foo) ... if any.Is(Foo.DESCRIPTOR): any.Unpack(foo) ... Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} any, err := anypb.New(foo) if err != nil { ... } ... foo := &pb.Foo{} if err := any.UnmarshalTo(foo); err != nil { ... } The pack methods provided by protobuf library will by default use \'type.googleapis.com/full.type.name\' as the type URL and the unpack methods only use the fully qualified type name after the last \'/\' in the type URL, for example \"foo.bar.com/x/y.z\" will yield type name \"y.z\". JSON ==== The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an additional field `@type` which contains the type URL. Example: package google.profile; message Person { string first_name = 1; string last_name = 2; } { \"@type\": \"type.googleapis.com/google.profile.Person\", \"firstName\": <string>, \"lastName\": <string> } If the embedded message type is well-known and has a custom JSON representation, that representation will be embedded adding a field `value` which holds the custom JSON in addition to the `@type` field. Example (for message [google.protobuf.Duration][]): { \"@type\": \"type.googleapis.com/google.protobuf.Duration\", \"value\": \"1.212s\" }
|
|
63
|
-
*/
|
|
64
|
-
interface ProtobufAny {
|
|
65
|
-
[key: string]: object | any;
|
|
66
|
-
/**
|
|
67
|
-
* A URL/resource name that uniquely identifies the type of the serialized protocol buffer message. This string must contain at least one \"/\" character. The last segment of the URL\'s path must represent the fully qualified name of the type (as in `path/google.protobuf.Duration`). The name should be in a canonical form (e.g., leading \".\" is not accepted). In practice, teams usually precompile into the binary all types that they expect it to use in the context of Any. However, for URLs which use the scheme `http`, `https`, or no scheme, one can optionally set up a type server that maps type URLs to message definitions as follows: * If no scheme is provided, `https` is assumed. * An HTTP GET on the URL must yield a [google.protobuf.Type][] value in binary format, or produce an error. * Applications are allowed to cache lookup results based on the URL, or have them precompiled into a binary to avoid any lookup. Therefore, binary compatibility needs to be preserved on changes to types. (Use versioned type names to manage breaking changes.) Note: this functionality is not currently available in the official protobuf release, and it is not used for type URLs beginning with type.googleapis.com. As of May 2023, there are no widely used type server implementations and no plans to implement one. Schemes other than `http`, `https` (or the empty scheme) might be used with implementation specific semantics.
|
|
68
|
-
*/
|
|
69
|
-
'@type'?: string;
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
/**
|
|
73
|
-
* Accrescent console API
|
|
74
|
-
*
|
|
75
|
-
* Contact: contact@accrescent.app
|
|
76
|
-
*
|
|
77
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
78
|
-
* https://openapi-generator.tech
|
|
79
|
-
* Do not edit the class manually.
|
|
80
|
-
*/
|
|
81
|
-
|
|
82
|
-
/**
|
|
83
|
-
* The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).
|
|
84
|
-
*/
|
|
85
|
-
interface RpcStatus {
|
|
86
|
-
/**
|
|
87
|
-
* The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code].
|
|
88
|
-
*/
|
|
89
|
-
code?: number;
|
|
90
|
-
/**
|
|
91
|
-
* A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client.
|
|
92
|
-
*/
|
|
93
|
-
message?: string;
|
|
94
|
-
/**
|
|
95
|
-
* A list of messages that carry the error details. There is a common set of message types for APIs to use.
|
|
96
|
-
*/
|
|
97
|
-
details?: Array<ProtobufAny>;
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
/**
|
|
101
|
-
* Accrescent console API
|
|
102
|
-
*
|
|
103
|
-
* Contact: contact@accrescent.app
|
|
104
|
-
*
|
|
105
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
106
|
-
* https://openapi-generator.tech
|
|
107
|
-
* Do not edit the class manually.
|
|
108
|
-
*/
|
|
109
|
-
|
|
110
|
-
/**
|
|
111
|
-
* This resource represents a long-running operation that is the result of a network API call.
|
|
112
|
-
*/
|
|
113
|
-
interface GoogleLongrunningOperation {
|
|
114
|
-
/**
|
|
115
|
-
* The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
|
|
116
|
-
*/
|
|
117
|
-
name?: string;
|
|
118
|
-
metadata?: ProtobufAny;
|
|
119
|
-
/**
|
|
120
|
-
* If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
|
|
121
|
-
*/
|
|
122
|
-
done?: boolean;
|
|
123
|
-
error?: RpcStatus;
|
|
124
|
-
response?: ProtobufAny;
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
/**
|
|
128
|
-
* Accrescent console API
|
|
129
|
-
*
|
|
130
|
-
* Contact: contact@accrescent.app
|
|
131
|
-
*
|
|
132
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
133
|
-
* https://openapi-generator.tech
|
|
134
|
-
* Do not edit the class manually.
|
|
135
|
-
*/
|
|
136
|
-
|
|
137
|
-
/**
|
|
138
|
-
* Response to creating an app draft listing icon upload operation.
|
|
139
|
-
*/
|
|
140
|
-
interface V1alpha1CreateAppDraftListingIconUploadOperationResponse {
|
|
141
|
-
/**
|
|
142
|
-
* An HTTP or HTTPS URL at which the icon can be submitted with an HTTP PUT request.
|
|
143
|
-
*/
|
|
144
|
-
uploadUrl: string;
|
|
145
|
-
processingOperation: GoogleLongrunningOperation;
|
|
146
|
-
}
|
|
147
|
-
|
|
148
|
-
/**
|
|
149
|
-
* Accrescent console API
|
|
150
|
-
*
|
|
151
|
-
* Contact: contact@accrescent.app
|
|
152
|
-
*
|
|
153
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
154
|
-
* https://openapi-generator.tech
|
|
155
|
-
* Do not edit the class manually.
|
|
156
|
-
*/
|
|
157
|
-
/**
|
|
158
|
-
* Request defining parameters for creating an app draft.
|
|
159
|
-
*/
|
|
160
|
-
interface V1alpha1CreateAppDraftRequest {
|
|
161
|
-
/**
|
|
162
|
-
* The ID of the organization to create this app draft under.
|
|
163
|
-
*/
|
|
164
|
-
organizationId: string;
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
/**
|
|
168
|
-
* Accrescent console API
|
|
169
|
-
*
|
|
170
|
-
* Contact: contact@accrescent.app
|
|
171
|
-
*
|
|
172
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
173
|
-
* https://openapi-generator.tech
|
|
174
|
-
* Do not edit the class manually.
|
|
175
|
-
*/
|
|
176
|
-
/**
|
|
177
|
-
* Response to creating a new app draft.
|
|
178
|
-
*/
|
|
179
|
-
interface V1alpha1CreateAppDraftResponse {
|
|
180
|
-
/**
|
|
181
|
-
* The unique ID of the created app draft.
|
|
182
|
-
*/
|
|
183
|
-
appDraftId: string;
|
|
184
|
-
}
|
|
185
|
-
|
|
186
|
-
/**
|
|
187
|
-
* Accrescent console API
|
|
188
|
-
*
|
|
189
|
-
* Contact: contact@accrescent.app
|
|
190
|
-
*
|
|
191
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
192
|
-
* https://openapi-generator.tech
|
|
193
|
-
* Do not edit the class manually.
|
|
194
|
-
*/
|
|
195
|
-
|
|
196
|
-
/**
|
|
197
|
-
* Response to creating an app draft upload operation.
|
|
198
|
-
*/
|
|
199
|
-
interface V1alpha1CreateAppDraftUploadOperationResponse {
|
|
200
|
-
/**
|
|
201
|
-
* An HTTP or HTTPS URL at which an APK set can be submitted with an HTTP PUT request.
|
|
202
|
-
*/
|
|
203
|
-
apkSetUploadUrl: string;
|
|
204
|
-
processingOperation: GoogleLongrunningOperation;
|
|
205
|
-
}
|
|
206
|
-
|
|
207
|
-
/**
|
|
208
|
-
* Accrescent console API
|
|
209
|
-
*
|
|
210
|
-
* Contact: contact@accrescent.app
|
|
211
|
-
*
|
|
212
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
213
|
-
* https://openapi-generator.tech
|
|
214
|
-
* Do not edit the class manually.
|
|
215
|
-
*/
|
|
216
|
-
/**
|
|
217
|
-
* Response to getting an app draft\'s download info.
|
|
218
|
-
*/
|
|
219
|
-
interface V1alpha1GetAppDraftDownloadInfoResponse {
|
|
220
|
-
/**
|
|
221
|
-
* The URL of the APK set which can be retrieved with a simple HTTP GET.
|
|
222
|
-
*/
|
|
223
|
-
apkSetUrl: string;
|
|
224
|
-
}
|
|
225
|
-
|
|
226
|
-
/**
|
|
227
|
-
* Accrescent console API
|
|
228
|
-
*
|
|
229
|
-
* Contact: contact@accrescent.app
|
|
230
|
-
*
|
|
231
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
232
|
-
* https://openapi-generator.tech
|
|
233
|
-
* Do not edit the class manually.
|
|
234
|
-
*/
|
|
235
|
-
/**
|
|
236
|
-
* Response to getting an app draft listing icon\'s download info.
|
|
237
|
-
*/
|
|
238
|
-
interface V1alpha1GetAppDraftListingIconDownloadInfoResponse {
|
|
239
|
-
/**
|
|
240
|
-
* The URL of the icon which can be retrieved with a simple HTTP GET.
|
|
241
|
-
*/
|
|
242
|
-
iconUrl: string;
|
|
243
|
-
}
|
|
244
|
-
|
|
245
|
-
/**
|
|
246
|
-
* Accrescent console API
|
|
247
|
-
*
|
|
248
|
-
* Contact: contact@accrescent.app
|
|
249
|
-
*
|
|
250
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
251
|
-
* https://openapi-generator.tech
|
|
252
|
-
* Do not edit the class manually.
|
|
253
|
-
*/
|
|
254
|
-
/**
|
|
255
|
-
* An app package.
|
|
256
|
-
*/
|
|
257
|
-
interface V1alpha1AppPackage {
|
|
258
|
-
/**
|
|
259
|
-
* The app package\'s Android application ID.
|
|
260
|
-
*/
|
|
261
|
-
appId: string;
|
|
262
|
-
/**
|
|
263
|
-
* The app package\'s version code.
|
|
264
|
-
*/
|
|
265
|
-
versionCode: string;
|
|
266
|
-
/**
|
|
267
|
-
* The app package\'s version name.
|
|
268
|
-
*/
|
|
269
|
-
versionName: string;
|
|
270
|
-
/**
|
|
271
|
-
* The app package\'s target SDK.
|
|
272
|
-
*/
|
|
273
|
-
targetSdk: string;
|
|
274
|
-
}
|
|
275
|
-
|
|
276
|
-
/**
|
|
277
|
-
* Accrescent console API
|
|
278
|
-
*
|
|
279
|
-
* Contact: contact@accrescent.app
|
|
280
|
-
*
|
|
281
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
282
|
-
* https://openapi-generator.tech
|
|
283
|
-
* Do not edit the class manually.
|
|
284
|
-
*/
|
|
285
|
-
|
|
286
|
-
/**
|
|
287
|
-
* An app draft.
|
|
288
|
-
*/
|
|
289
|
-
interface V1alpha1AppDraft {
|
|
290
|
-
/**
|
|
291
|
-
* The app draft\'s unique ID.
|
|
292
|
-
*/
|
|
293
|
-
id: string;
|
|
294
|
-
/**
|
|
295
|
-
* The timestamp at which the app draft was created.
|
|
296
|
-
*/
|
|
297
|
-
createdAt: string;
|
|
298
|
-
/**
|
|
299
|
-
* The draft\'s default listing language, if set.
|
|
300
|
-
*/
|
|
301
|
-
defaultListingLanguage?: string;
|
|
302
|
-
appPackage?: V1alpha1AppPackage;
|
|
303
|
-
/**
|
|
304
|
-
* The timestamp at which the app draft has been submitted for review, if applicable.
|
|
305
|
-
*/
|
|
306
|
-
submittedAt?: string;
|
|
307
|
-
/**
|
|
308
|
-
* The timestamp at which the app draft has been published, if applicable.
|
|
309
|
-
*/
|
|
310
|
-
publishedAt?: string;
|
|
311
|
-
}
|
|
312
|
-
|
|
313
|
-
/**
|
|
314
|
-
* Accrescent console API
|
|
315
|
-
*
|
|
316
|
-
* Contact: contact@accrescent.app
|
|
317
|
-
*
|
|
318
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
319
|
-
* https://openapi-generator.tech
|
|
320
|
-
* Do not edit the class manually.
|
|
321
|
-
*/
|
|
322
|
-
|
|
323
|
-
/**
|
|
324
|
-
* Response to getting an app draft.
|
|
325
|
-
*/
|
|
326
|
-
interface V1alpha1GetAppDraftResponse {
|
|
327
|
-
draft: V1alpha1AppDraft;
|
|
328
|
-
}
|
|
329
|
-
|
|
330
|
-
/**
|
|
331
|
-
* Accrescent console API
|
|
332
|
-
*
|
|
333
|
-
* Contact: contact@accrescent.app
|
|
334
|
-
*
|
|
335
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
336
|
-
* https://openapi-generator.tech
|
|
337
|
-
* Do not edit the class manually.
|
|
338
|
-
*/
|
|
339
|
-
|
|
340
|
-
/**
|
|
341
|
-
* Response to listing app drafts.
|
|
342
|
-
*/
|
|
343
|
-
interface V1alpha1ListAppDraftsResponse {
|
|
344
|
-
/**
|
|
345
|
-
* The app drafts matching the request parameters.
|
|
346
|
-
*/
|
|
347
|
-
appDrafts: Array<V1alpha1AppDraft>;
|
|
348
|
-
/**
|
|
349
|
-
* An opaque token which, if passed to another invocation of ListAppDrafts, will return the next page of app drafts.
|
|
350
|
-
*/
|
|
351
|
-
nextPageToken?: string;
|
|
352
|
-
}
|
|
353
|
-
|
|
354
|
-
/**
|
|
355
|
-
* Accrescent console API
|
|
356
|
-
*
|
|
357
|
-
* Contact: contact@accrescent.app
|
|
358
|
-
*
|
|
359
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
360
|
-
* https://openapi-generator.tech
|
|
361
|
-
* Do not edit the class manually.
|
|
362
|
-
*/
|
|
363
|
-
|
|
364
|
-
/**
|
|
365
|
-
* Response to publishing an app draft.
|
|
366
|
-
*/
|
|
367
|
-
interface V1alpha1PublishAppDraftResponse {
|
|
368
|
-
operation: GoogleLongrunningOperation;
|
|
369
|
-
}
|
|
370
|
-
|
|
371
|
-
/**
|
|
372
|
-
* Standard parameter styles defined by OpenAPI spec
|
|
373
|
-
*/
|
|
374
|
-
type StandardParamStyle = 'matrix' | 'label' | 'form' | 'simple' | 'spaceDelimited' | 'pipeDelimited' | 'deepObject';
|
|
375
|
-
/**
|
|
376
|
-
* The OpenAPI standard {@link StandardParamStyle}s may be extended by custom styles by the user.
|
|
377
|
-
*/
|
|
378
|
-
type ParamStyle = StandardParamStyle | string;
|
|
379
|
-
/**
|
|
380
|
-
* Standard parameter locations defined by OpenAPI spec
|
|
381
|
-
*/
|
|
382
|
-
type ParamLocation = 'query' | 'header' | 'path' | 'cookie';
|
|
383
|
-
/**
|
|
384
|
-
* Standard types as defined in <a href="https://swagger.io/specification/#data-types">OpenAPI Specification: Data Types</a>
|
|
385
|
-
*/
|
|
386
|
-
type StandardDataType = "integer" | "number" | "boolean" | "string" | "object" | "array";
|
|
387
|
-
/**
|
|
388
|
-
* Standard {@link DataType}s plus your own types/classes.
|
|
389
|
-
*/
|
|
390
|
-
type DataType = StandardDataType | string;
|
|
391
|
-
/**
|
|
392
|
-
* Standard formats as defined in <a href="https://swagger.io/specification/#data-types">OpenAPI Specification: Data Types</a>
|
|
393
|
-
*/
|
|
394
|
-
type StandardDataFormat = "int32" | "int64" | "float" | "double" | "byte" | "binary" | "date" | "date-time" | "password";
|
|
395
|
-
type DataFormat = StandardDataFormat | string;
|
|
396
|
-
/**
|
|
397
|
-
* The parameter to encode.
|
|
398
|
-
*/
|
|
399
|
-
interface Param {
|
|
400
|
-
name: string;
|
|
401
|
-
value: unknown;
|
|
402
|
-
in: ParamLocation;
|
|
403
|
-
style: ParamStyle;
|
|
404
|
-
explode: boolean;
|
|
405
|
-
dataType: DataType;
|
|
406
|
-
dataFormat: DataFormat | undefined;
|
|
407
|
-
}
|
|
408
|
-
|
|
409
|
-
declare enum QueryParamStyle {
|
|
410
|
-
Json = 0,
|
|
411
|
-
Form = 1,
|
|
412
|
-
DeepObject = 2,
|
|
413
|
-
SpaceDelimited = 3,
|
|
414
|
-
PipeDelimited = 4
|
|
415
|
-
}
|
|
416
|
-
type Delimiter = "," | " " | "|" | "\t";
|
|
417
|
-
interface ParamOptions {
|
|
418
|
-
/** When true, serialized as multiple repeated key=value pairs. When false, serialized as a single key with joined values using `delimiter`. */
|
|
419
|
-
explode?: boolean;
|
|
420
|
-
/** Delimiter used when explode=false. The delimiter itself is inserted unencoded between encoded values. */
|
|
421
|
-
delimiter?: Delimiter;
|
|
422
|
-
}
|
|
423
|
-
declare class OpenApiHttpParams {
|
|
424
|
-
private params;
|
|
425
|
-
private defaults;
|
|
426
|
-
private encoder;
|
|
427
|
-
/**
|
|
428
|
-
* @param encoder Parameter serializer
|
|
429
|
-
* @param defaults Global defaults used when a specific parameter has no explicit options.
|
|
430
|
-
* By OpenAPI default, explode is true for query params with style=form.
|
|
431
|
-
*/
|
|
432
|
-
constructor(encoder?: HttpParameterCodec, defaults?: {
|
|
433
|
-
explode?: boolean;
|
|
434
|
-
delimiter?: Delimiter;
|
|
435
|
-
});
|
|
436
|
-
private resolveOptions;
|
|
437
|
-
/**
|
|
438
|
-
* Replace the parameter's values and (optionally) its options.
|
|
439
|
-
* Options are stored per-parameter (not global).
|
|
440
|
-
*/
|
|
441
|
-
set(key: string, values: string[] | string, options?: ParamOptions): this;
|
|
442
|
-
/**
|
|
443
|
-
* Append a single value to the parameter. If the parameter didn't exist it will be created
|
|
444
|
-
* and use resolved options (global defaults merged with any provided options).
|
|
445
|
-
*/
|
|
446
|
-
append(key: string, value: string, options?: ParamOptions): this;
|
|
447
|
-
/**
|
|
448
|
-
* Serialize to a query string according to per-parameter OpenAPI options.
|
|
449
|
-
* - If explode=true for that parameter → repeated key=value pairs (each value encoded).
|
|
450
|
-
* - If explode=false for that parameter → single key=value where values are individually encoded
|
|
451
|
-
* and joined using the configured delimiter. The delimiter character is inserted AS-IS
|
|
452
|
-
* (not percent-encoded).
|
|
453
|
-
*/
|
|
454
|
-
toString(): string;
|
|
455
|
-
/**
|
|
456
|
-
* Return parameters as a plain record.
|
|
457
|
-
* - If a parameter has exactly one value, returns that value directly.
|
|
458
|
-
* - If a parameter has multiple values, returns a readonly array of values.
|
|
459
|
-
*/
|
|
460
|
-
toRecord(): Record<string, string | number | boolean | ReadonlyArray<string | number | boolean>>;
|
|
461
|
-
/**
|
|
462
|
-
* Return an Angular's HttpParams with an identity parameter codec as the parameters are already encoded.
|
|
463
|
-
*/
|
|
464
|
-
toHttpParams(): HttpParams;
|
|
465
|
-
}
|
|
466
|
-
|
|
467
|
-
interface ConfigurationParameters {
|
|
468
|
-
/**
|
|
469
|
-
* @deprecated Since 5.0. Use credentials instead
|
|
470
|
-
*/
|
|
471
|
-
apiKeys?: {
|
|
472
|
-
[key: string]: string;
|
|
473
|
-
};
|
|
474
|
-
username?: string;
|
|
475
|
-
password?: string;
|
|
476
|
-
/**
|
|
477
|
-
* @deprecated Since 5.0. Use credentials instead
|
|
478
|
-
*/
|
|
479
|
-
accessToken?: string | (() => string);
|
|
480
|
-
basePath?: string;
|
|
481
|
-
withCredentials?: boolean;
|
|
482
|
-
/**
|
|
483
|
-
* Takes care of encoding query- and form-parameters.
|
|
484
|
-
*/
|
|
485
|
-
encoder?: HttpParameterCodec;
|
|
486
|
-
/**
|
|
487
|
-
* Override the default method for encoding path parameters in various
|
|
488
|
-
* <a href="https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md#style-values">styles</a>.
|
|
489
|
-
* <p>
|
|
490
|
-
* See {@link README.md} for more details
|
|
491
|
-
* </p>
|
|
492
|
-
*/
|
|
493
|
-
encodeParam?: (param: Param) => string;
|
|
494
|
-
/**
|
|
495
|
-
* The keys are the names in the securitySchemes section of the OpenAPI
|
|
496
|
-
* document. They should map to the value used for authentication
|
|
497
|
-
* minus any standard prefixes such as 'Basic' or 'Bearer'.
|
|
498
|
-
*/
|
|
499
|
-
credentials?: {
|
|
500
|
-
[key: string]: string | (() => string | undefined);
|
|
501
|
-
};
|
|
502
|
-
}
|
|
503
|
-
declare class Configuration {
|
|
504
|
-
/**
|
|
505
|
-
* @deprecated Since 5.0. Use credentials instead
|
|
506
|
-
*/
|
|
507
|
-
apiKeys?: {
|
|
508
|
-
[key: string]: string;
|
|
509
|
-
};
|
|
510
|
-
username?: string;
|
|
511
|
-
password?: string;
|
|
512
|
-
/**
|
|
513
|
-
* @deprecated Since 5.0. Use credentials instead
|
|
514
|
-
*/
|
|
515
|
-
accessToken?: string | (() => string);
|
|
516
|
-
basePath?: string;
|
|
517
|
-
withCredentials?: boolean;
|
|
518
|
-
/**
|
|
519
|
-
* Takes care of encoding query- and form-parameters.
|
|
520
|
-
*/
|
|
521
|
-
encoder?: HttpParameterCodec;
|
|
522
|
-
/**
|
|
523
|
-
* Encoding of various path parameter
|
|
524
|
-
* <a href="https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md#style-values">styles</a>.
|
|
525
|
-
* <p>
|
|
526
|
-
* See {@link README.md} for more details
|
|
527
|
-
* </p>
|
|
528
|
-
*/
|
|
529
|
-
encodeParam: (param: Param) => string;
|
|
530
|
-
/**
|
|
531
|
-
* The keys are the names in the securitySchemes section of the OpenAPI
|
|
532
|
-
* document. They should map to the value used for authentication
|
|
533
|
-
* minus any standard prefixes such as 'Basic' or 'Bearer'.
|
|
534
|
-
*/
|
|
535
|
-
credentials: {
|
|
536
|
-
[key: string]: string | (() => string | undefined);
|
|
537
|
-
};
|
|
538
|
-
constructor({ accessToken, apiKeys, basePath, credentials, encodeParam, encoder, password, username, withCredentials }?: ConfigurationParameters);
|
|
539
|
-
/**
|
|
540
|
-
* Select the correct content-type to use for a request.
|
|
541
|
-
* Uses {@link Configuration#isJsonMime} to determine the correct content-type.
|
|
542
|
-
* If no content type is found return the first found type if the contentTypes is not empty
|
|
543
|
-
* @param contentTypes - the array of content types that are available for selection
|
|
544
|
-
* @returns the selected content-type or <code>undefined</code> if no selection could be made.
|
|
545
|
-
*/
|
|
546
|
-
selectHeaderContentType(contentTypes: string[]): string | undefined;
|
|
547
|
-
/**
|
|
548
|
-
* Select the correct accept content-type to use for a request.
|
|
549
|
-
* Uses {@link Configuration#isJsonMime} to determine the correct accept content-type.
|
|
550
|
-
* If no content type is found return the first found type if the contentTypes is not empty
|
|
551
|
-
* @param accepts - the array of content types that are available for selection.
|
|
552
|
-
* @returns the selected content-type or <code>undefined</code> if no selection could be made.
|
|
553
|
-
*/
|
|
554
|
-
selectHeaderAccept(accepts: string[]): string | undefined;
|
|
555
|
-
/**
|
|
556
|
-
* Check if the given MIME is a JSON MIME.
|
|
557
|
-
* JSON MIME examples:
|
|
558
|
-
* application/json
|
|
559
|
-
* application/json; charset=UTF8
|
|
560
|
-
* APPLICATION/JSON
|
|
561
|
-
* application/vnd.company+json
|
|
562
|
-
* @param mime - MIME (Multipurpose Internet Mail Extensions)
|
|
563
|
-
* @return True if the given MIME is JSON, false otherwise.
|
|
564
|
-
*/
|
|
565
|
-
isJsonMime(mime: string): boolean;
|
|
566
|
-
lookupCredential(key: string): string | undefined;
|
|
567
|
-
addCredentialToHeaders(credentialKey: string, headerName: string, headers: HttpHeaders, prefix?: string): HttpHeaders;
|
|
568
|
-
addCredentialToQuery(credentialKey: string, paramName: string, query: OpenApiHttpParams): OpenApiHttpParams;
|
|
569
|
-
private defaultEncodeParam;
|
|
570
|
-
}
|
|
571
|
-
|
|
572
|
-
/**
|
|
573
|
-
* Accrescent console API
|
|
574
|
-
*
|
|
575
|
-
* Contact: contact@accrescent.app
|
|
576
|
-
*
|
|
577
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
578
|
-
* https://openapi-generator.tech
|
|
579
|
-
* Do not edit the class manually.
|
|
580
|
-
*/
|
|
581
|
-
|
|
582
|
-
declare class BaseService {
|
|
583
|
-
protected basePath: string;
|
|
584
|
-
defaultHeaders: HttpHeaders;
|
|
585
|
-
configuration: Configuration;
|
|
586
|
-
encoder: HttpParameterCodec;
|
|
587
|
-
constructor(basePath?: string | string[], configuration?: Configuration);
|
|
588
|
-
protected canConsumeForm(consumes: string[]): boolean;
|
|
589
|
-
protected addToHttpParams(httpParams: OpenApiHttpParams, key: string, value: any | null | undefined, paramStyle: QueryParamStyle, explode: boolean): OpenApiHttpParams;
|
|
590
|
-
}
|
|
591
|
-
|
|
592
|
-
declare class AppDraftsService extends BaseService {
|
|
593
|
-
protected httpClient: HttpClient;
|
|
594
|
-
constructor(httpClient: HttpClient, basePath: string | string[], configuration?: Configuration);
|
|
595
|
-
/**
|
|
596
|
-
* Creates a new app draft.
|
|
597
|
-
* @endpoint post /grpc/accrescent.console.v1alpha1/app_drafts
|
|
598
|
-
* @param body Request defining parameters for creating an app draft.
|
|
599
|
-
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
600
|
-
* @param reportProgress flag to report request and response progress.
|
|
601
|
-
* @param options additional options
|
|
602
|
-
*/
|
|
603
|
-
appDraftServiceCreateAppDraft(body: V1alpha1CreateAppDraftRequest, observe?: 'body', reportProgress?: boolean, options?: {
|
|
604
|
-
httpHeaderAccept?: 'application/json';
|
|
605
|
-
context?: HttpContext;
|
|
606
|
-
transferCache?: boolean;
|
|
607
|
-
}): Observable<V1alpha1CreateAppDraftResponse>;
|
|
608
|
-
appDraftServiceCreateAppDraft(body: V1alpha1CreateAppDraftRequest, observe?: 'response', reportProgress?: boolean, options?: {
|
|
609
|
-
httpHeaderAccept?: 'application/json';
|
|
610
|
-
context?: HttpContext;
|
|
611
|
-
transferCache?: boolean;
|
|
612
|
-
}): Observable<HttpResponse<V1alpha1CreateAppDraftResponse>>;
|
|
613
|
-
appDraftServiceCreateAppDraft(body: V1alpha1CreateAppDraftRequest, observe?: 'events', reportProgress?: boolean, options?: {
|
|
614
|
-
httpHeaderAccept?: 'application/json';
|
|
615
|
-
context?: HttpContext;
|
|
616
|
-
transferCache?: boolean;
|
|
617
|
-
}): Observable<HttpEvent<V1alpha1CreateAppDraftResponse>>;
|
|
618
|
-
/**
|
|
619
|
-
* Creates a new app listing for an app draft.
|
|
620
|
-
* @endpoint post /grpc/accrescent.console.v1alpha1/app_drafts/{appDraftId}/listings/{language}
|
|
621
|
-
* @param appDraftId The app draft to create the app listing for.
|
|
622
|
-
* @param language The language of this listing\'s fields as a BCP-47 tag.
|
|
623
|
-
* @param body
|
|
624
|
-
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
625
|
-
* @param reportProgress flag to report request and response progress.
|
|
626
|
-
* @param options additional options
|
|
627
|
-
*/
|
|
628
|
-
appDraftServiceCreateAppDraftListing(appDraftId: string, language: string, body: AppDraftServiceCreateAppDraftListingBody, observe?: 'body', reportProgress?: boolean, options?: {
|
|
629
|
-
httpHeaderAccept?: 'application/json';
|
|
630
|
-
context?: HttpContext;
|
|
631
|
-
transferCache?: boolean;
|
|
632
|
-
}): Observable<object>;
|
|
633
|
-
appDraftServiceCreateAppDraftListing(appDraftId: string, language: string, body: AppDraftServiceCreateAppDraftListingBody, observe?: 'response', reportProgress?: boolean, options?: {
|
|
634
|
-
httpHeaderAccept?: 'application/json';
|
|
635
|
-
context?: HttpContext;
|
|
636
|
-
transferCache?: boolean;
|
|
637
|
-
}): Observable<HttpResponse<object>>;
|
|
638
|
-
appDraftServiceCreateAppDraftListing(appDraftId: string, language: string, body: AppDraftServiceCreateAppDraftListingBody, observe?: 'events', reportProgress?: boolean, options?: {
|
|
639
|
-
httpHeaderAccept?: 'application/json';
|
|
640
|
-
context?: HttpContext;
|
|
641
|
-
transferCache?: boolean;
|
|
642
|
-
}): Observable<HttpEvent<object>>;
|
|
643
|
-
/**
|
|
644
|
-
* Creates an app draft listing icon upload operation.
|
|
645
|
-
* @endpoint post /grpc/accrescent.console.v1alpha1/app_drafts/{appDraftId}/listings/{language}/icon/upload_operations
|
|
646
|
-
* @param appDraftId The ID of the app draft to create an icon upload operation for.
|
|
647
|
-
* @param language The language of the app listing to create an icon upload operation for.
|
|
648
|
-
* @param body
|
|
649
|
-
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
650
|
-
* @param reportProgress flag to report request and response progress.
|
|
651
|
-
* @param options additional options
|
|
652
|
-
*/
|
|
653
|
-
appDraftServiceCreateAppDraftListingIconUploadOperation(appDraftId: string, language: string, body: object, observe?: 'body', reportProgress?: boolean, options?: {
|
|
654
|
-
httpHeaderAccept?: 'application/json';
|
|
655
|
-
context?: HttpContext;
|
|
656
|
-
transferCache?: boolean;
|
|
657
|
-
}): Observable<V1alpha1CreateAppDraftListingIconUploadOperationResponse>;
|
|
658
|
-
appDraftServiceCreateAppDraftListingIconUploadOperation(appDraftId: string, language: string, body: object, observe?: 'response', reportProgress?: boolean, options?: {
|
|
659
|
-
httpHeaderAccept?: 'application/json';
|
|
660
|
-
context?: HttpContext;
|
|
661
|
-
transferCache?: boolean;
|
|
662
|
-
}): Observable<HttpResponse<V1alpha1CreateAppDraftListingIconUploadOperationResponse>>;
|
|
663
|
-
appDraftServiceCreateAppDraftListingIconUploadOperation(appDraftId: string, language: string, body: object, observe?: 'events', reportProgress?: boolean, options?: {
|
|
664
|
-
httpHeaderAccept?: 'application/json';
|
|
665
|
-
context?: HttpContext;
|
|
666
|
-
transferCache?: boolean;
|
|
667
|
-
}): Observable<HttpEvent<V1alpha1CreateAppDraftListingIconUploadOperationResponse>>;
|
|
668
|
-
/**
|
|
669
|
-
* Creates an app draft upload operation.
|
|
670
|
-
* @endpoint post /grpc/accrescent.console.v1alpha1/app_drafts/{appDraftId}/upload_operations
|
|
671
|
-
* @param appDraftId The ID of the app draft to create an upload operation for.
|
|
672
|
-
* @param body
|
|
673
|
-
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
674
|
-
* @param reportProgress flag to report request and response progress.
|
|
675
|
-
* @param options additional options
|
|
676
|
-
*/
|
|
677
|
-
appDraftServiceCreateAppDraftUploadOperation(appDraftId: string, body: object, observe?: 'body', reportProgress?: boolean, options?: {
|
|
678
|
-
httpHeaderAccept?: 'application/json';
|
|
679
|
-
context?: HttpContext;
|
|
680
|
-
transferCache?: boolean;
|
|
681
|
-
}): Observable<V1alpha1CreateAppDraftUploadOperationResponse>;
|
|
682
|
-
appDraftServiceCreateAppDraftUploadOperation(appDraftId: string, body: object, observe?: 'response', reportProgress?: boolean, options?: {
|
|
683
|
-
httpHeaderAccept?: 'application/json';
|
|
684
|
-
context?: HttpContext;
|
|
685
|
-
transferCache?: boolean;
|
|
686
|
-
}): Observable<HttpResponse<V1alpha1CreateAppDraftUploadOperationResponse>>;
|
|
687
|
-
appDraftServiceCreateAppDraftUploadOperation(appDraftId: string, body: object, observe?: 'events', reportProgress?: boolean, options?: {
|
|
688
|
-
httpHeaderAccept?: 'application/json';
|
|
689
|
-
context?: HttpContext;
|
|
690
|
-
transferCache?: boolean;
|
|
691
|
-
}): Observable<HttpEvent<V1alpha1CreateAppDraftUploadOperationResponse>>;
|
|
692
|
-
/**
|
|
693
|
-
* Deletes an existing app draft.
|
|
694
|
-
* @endpoint delete /grpc/accrescent.console.v1alpha1/app_drafts/{appDraftId}
|
|
695
|
-
* @param appDraftId The ID of the app draft to delete.
|
|
696
|
-
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
697
|
-
* @param reportProgress flag to report request and response progress.
|
|
698
|
-
* @param options additional options
|
|
699
|
-
*/
|
|
700
|
-
appDraftServiceDeleteAppDraft(appDraftId: string, observe?: 'body', reportProgress?: boolean, options?: {
|
|
701
|
-
httpHeaderAccept?: 'application/json';
|
|
702
|
-
context?: HttpContext;
|
|
703
|
-
transferCache?: boolean;
|
|
704
|
-
}): Observable<object>;
|
|
705
|
-
appDraftServiceDeleteAppDraft(appDraftId: string, observe?: 'response', reportProgress?: boolean, options?: {
|
|
706
|
-
httpHeaderAccept?: 'application/json';
|
|
707
|
-
context?: HttpContext;
|
|
708
|
-
transferCache?: boolean;
|
|
709
|
-
}): Observable<HttpResponse<object>>;
|
|
710
|
-
appDraftServiceDeleteAppDraft(appDraftId: string, observe?: 'events', reportProgress?: boolean, options?: {
|
|
711
|
-
httpHeaderAccept?: 'application/json';
|
|
712
|
-
context?: HttpContext;
|
|
713
|
-
transferCache?: boolean;
|
|
714
|
-
}): Observable<HttpEvent<object>>;
|
|
715
|
-
/**
|
|
716
|
-
* Deletes an existing app draft listing.
|
|
717
|
-
* @endpoint delete /grpc/accrescent.console.v1alpha1/app_drafts/{appDraftId}/listings/{language}
|
|
718
|
-
* @param appDraftId The ID of the app draft the listing is associated with.
|
|
719
|
-
* @param language The BCP-47 language tag of the listing to delete.
|
|
720
|
-
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
721
|
-
* @param reportProgress flag to report request and response progress.
|
|
722
|
-
* @param options additional options
|
|
723
|
-
*/
|
|
724
|
-
appDraftServiceDeleteAppDraftListing(appDraftId: string, language: string, observe?: 'body', reportProgress?: boolean, options?: {
|
|
725
|
-
httpHeaderAccept?: 'application/json';
|
|
726
|
-
context?: HttpContext;
|
|
727
|
-
transferCache?: boolean;
|
|
728
|
-
}): Observable<object>;
|
|
729
|
-
appDraftServiceDeleteAppDraftListing(appDraftId: string, language: string, observe?: 'response', reportProgress?: boolean, options?: {
|
|
730
|
-
httpHeaderAccept?: 'application/json';
|
|
731
|
-
context?: HttpContext;
|
|
732
|
-
transferCache?: boolean;
|
|
733
|
-
}): Observable<HttpResponse<object>>;
|
|
734
|
-
appDraftServiceDeleteAppDraftListing(appDraftId: string, language: string, observe?: 'events', reportProgress?: boolean, options?: {
|
|
735
|
-
httpHeaderAccept?: 'application/json';
|
|
736
|
-
context?: HttpContext;
|
|
737
|
-
transferCache?: boolean;
|
|
738
|
-
}): Observable<HttpEvent<object>>;
|
|
739
|
-
/**
|
|
740
|
-
* Gets an app draft.
|
|
741
|
-
* @endpoint get /grpc/accrescent.console.v1alpha1/app_drafts/{appDraftId}
|
|
742
|
-
* @param appDraftId The ID of the app draft to retrieve.
|
|
743
|
-
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
744
|
-
* @param reportProgress flag to report request and response progress.
|
|
745
|
-
* @param options additional options
|
|
746
|
-
*/
|
|
747
|
-
appDraftServiceGetAppDraft(appDraftId: string, observe?: 'body', reportProgress?: boolean, options?: {
|
|
748
|
-
httpHeaderAccept?: 'application/json';
|
|
749
|
-
context?: HttpContext;
|
|
750
|
-
transferCache?: boolean;
|
|
751
|
-
}): Observable<V1alpha1GetAppDraftResponse>;
|
|
752
|
-
appDraftServiceGetAppDraft(appDraftId: string, observe?: 'response', reportProgress?: boolean, options?: {
|
|
753
|
-
httpHeaderAccept?: 'application/json';
|
|
754
|
-
context?: HttpContext;
|
|
755
|
-
transferCache?: boolean;
|
|
756
|
-
}): Observable<HttpResponse<V1alpha1GetAppDraftResponse>>;
|
|
757
|
-
appDraftServiceGetAppDraft(appDraftId: string, observe?: 'events', reportProgress?: boolean, options?: {
|
|
758
|
-
httpHeaderAccept?: 'application/json';
|
|
759
|
-
context?: HttpContext;
|
|
760
|
-
transferCache?: boolean;
|
|
761
|
-
}): Observable<HttpEvent<V1alpha1GetAppDraftResponse>>;
|
|
762
|
-
/**
|
|
763
|
-
* Gets an app draft\'s download info.
|
|
764
|
-
* @endpoint get /grpc/accrescent.console.v1alpha1/app_drafts/{appDraftId}/download_info
|
|
765
|
-
* @param appDraftId The ID of the app draft to get download info for.
|
|
766
|
-
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
767
|
-
* @param reportProgress flag to report request and response progress.
|
|
768
|
-
* @param options additional options
|
|
769
|
-
*/
|
|
770
|
-
appDraftServiceGetAppDraftDownloadInfo(appDraftId: string, observe?: 'body', reportProgress?: boolean, options?: {
|
|
771
|
-
httpHeaderAccept?: 'application/json';
|
|
772
|
-
context?: HttpContext;
|
|
773
|
-
transferCache?: boolean;
|
|
774
|
-
}): Observable<V1alpha1GetAppDraftDownloadInfoResponse>;
|
|
775
|
-
appDraftServiceGetAppDraftDownloadInfo(appDraftId: string, observe?: 'response', reportProgress?: boolean, options?: {
|
|
776
|
-
httpHeaderAccept?: 'application/json';
|
|
777
|
-
context?: HttpContext;
|
|
778
|
-
transferCache?: boolean;
|
|
779
|
-
}): Observable<HttpResponse<V1alpha1GetAppDraftDownloadInfoResponse>>;
|
|
780
|
-
appDraftServiceGetAppDraftDownloadInfo(appDraftId: string, observe?: 'events', reportProgress?: boolean, options?: {
|
|
781
|
-
httpHeaderAccept?: 'application/json';
|
|
782
|
-
context?: HttpContext;
|
|
783
|
-
transferCache?: boolean;
|
|
784
|
-
}): Observable<HttpEvent<V1alpha1GetAppDraftDownloadInfoResponse>>;
|
|
785
|
-
/**
|
|
786
|
-
* Gets an app draft listing icon\'s download info.
|
|
787
|
-
* @endpoint get /grpc/accrescent.console.v1alpha1/app_drafts/{appDraftId}/listings/{language}/icon/download_info
|
|
788
|
-
* @param appDraftId The ID of the app draft of the listing to get icon download info for.
|
|
789
|
-
* @param language The language of the listing to get icon download info for.
|
|
790
|
-
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
791
|
-
* @param reportProgress flag to report request and response progress.
|
|
792
|
-
* @param options additional options
|
|
793
|
-
*/
|
|
794
|
-
appDraftServiceGetAppDraftListingIconDownloadInfo(appDraftId: string, language: string, observe?: 'body', reportProgress?: boolean, options?: {
|
|
795
|
-
httpHeaderAccept?: 'application/json';
|
|
796
|
-
context?: HttpContext;
|
|
797
|
-
transferCache?: boolean;
|
|
798
|
-
}): Observable<V1alpha1GetAppDraftListingIconDownloadInfoResponse>;
|
|
799
|
-
appDraftServiceGetAppDraftListingIconDownloadInfo(appDraftId: string, language: string, observe?: 'response', reportProgress?: boolean, options?: {
|
|
800
|
-
httpHeaderAccept?: 'application/json';
|
|
801
|
-
context?: HttpContext;
|
|
802
|
-
transferCache?: boolean;
|
|
803
|
-
}): Observable<HttpResponse<V1alpha1GetAppDraftListingIconDownloadInfoResponse>>;
|
|
804
|
-
appDraftServiceGetAppDraftListingIconDownloadInfo(appDraftId: string, language: string, observe?: 'events', reportProgress?: boolean, options?: {
|
|
805
|
-
httpHeaderAccept?: 'application/json';
|
|
806
|
-
context?: HttpContext;
|
|
807
|
-
transferCache?: boolean;
|
|
808
|
-
}): Observable<HttpEvent<V1alpha1GetAppDraftListingIconDownloadInfoResponse>>;
|
|
809
|
-
/**
|
|
810
|
-
* Lists app drafts.
|
|
811
|
-
* @endpoint get /grpc/accrescent.console.v1alpha1/app_drafts
|
|
812
|
-
* @param organizationId The organization containing the drafts to list.
|
|
813
|
-
* @param pageSize The maximum number of app drafts to return in the response. If unspecified, defaults to 50. All requests with a higher page size will be capped to 50.
|
|
814
|
-
* @param pageToken An opaque page continuation token returned in a previous ListAppDraftsResponse. If unspecified, the first page is returned.
|
|
815
|
-
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
816
|
-
* @param reportProgress flag to report request and response progress.
|
|
817
|
-
* @param options additional options
|
|
818
|
-
*/
|
|
819
|
-
appDraftServiceListAppDrafts(organizationId: string, pageSize?: number, pageToken?: string, observe?: 'body', reportProgress?: boolean, options?: {
|
|
820
|
-
httpHeaderAccept?: 'application/json';
|
|
821
|
-
context?: HttpContext;
|
|
822
|
-
transferCache?: boolean;
|
|
823
|
-
}): Observable<V1alpha1ListAppDraftsResponse>;
|
|
824
|
-
appDraftServiceListAppDrafts(organizationId: string, pageSize?: number, pageToken?: string, observe?: 'response', reportProgress?: boolean, options?: {
|
|
825
|
-
httpHeaderAccept?: 'application/json';
|
|
826
|
-
context?: HttpContext;
|
|
827
|
-
transferCache?: boolean;
|
|
828
|
-
}): Observable<HttpResponse<V1alpha1ListAppDraftsResponse>>;
|
|
829
|
-
appDraftServiceListAppDrafts(organizationId: string, pageSize?: number, pageToken?: string, observe?: 'events', reportProgress?: boolean, options?: {
|
|
830
|
-
httpHeaderAccept?: 'application/json';
|
|
831
|
-
context?: HttpContext;
|
|
832
|
-
transferCache?: boolean;
|
|
833
|
-
}): Observable<HttpEvent<V1alpha1ListAppDraftsResponse>>;
|
|
834
|
-
/**
|
|
835
|
-
* Publishes an app draft to the app store.
|
|
836
|
-
* @endpoint post /grpc/accrescent.console.v1alpha1/app_drafts/{appDraftId}:publish
|
|
837
|
-
* @param appDraftId The ID of the app draft to publish.
|
|
838
|
-
* @param body
|
|
839
|
-
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
840
|
-
* @param reportProgress flag to report request and response progress.
|
|
841
|
-
* @param options additional options
|
|
842
|
-
*/
|
|
843
|
-
appDraftServicePublishAppDraft(appDraftId: string, body: object, observe?: 'body', reportProgress?: boolean, options?: {
|
|
844
|
-
httpHeaderAccept?: 'application/json';
|
|
845
|
-
context?: HttpContext;
|
|
846
|
-
transferCache?: boolean;
|
|
847
|
-
}): Observable<V1alpha1PublishAppDraftResponse>;
|
|
848
|
-
appDraftServicePublishAppDraft(appDraftId: string, body: object, observe?: 'response', reportProgress?: boolean, options?: {
|
|
849
|
-
httpHeaderAccept?: 'application/json';
|
|
850
|
-
context?: HttpContext;
|
|
851
|
-
transferCache?: boolean;
|
|
852
|
-
}): Observable<HttpResponse<V1alpha1PublishAppDraftResponse>>;
|
|
853
|
-
appDraftServicePublishAppDraft(appDraftId: string, body: object, observe?: 'events', reportProgress?: boolean, options?: {
|
|
854
|
-
httpHeaderAccept?: 'application/json';
|
|
855
|
-
context?: HttpContext;
|
|
856
|
-
transferCache?: boolean;
|
|
857
|
-
}): Observable<HttpEvent<V1alpha1PublishAppDraftResponse>>;
|
|
858
|
-
/**
|
|
859
|
-
* Submits an app draft for review.
|
|
860
|
-
* @endpoint post /grpc/accrescent.console.v1alpha1/app_drafts/{appDraftId}:submit
|
|
861
|
-
* @param appDraftId The ID of the app draft to submit.
|
|
862
|
-
* @param body
|
|
863
|
-
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
864
|
-
* @param reportProgress flag to report request and response progress.
|
|
865
|
-
* @param options additional options
|
|
866
|
-
*/
|
|
867
|
-
appDraftServiceSubmitAppDraft(appDraftId: string, body: object, observe?: 'body', reportProgress?: boolean, options?: {
|
|
868
|
-
httpHeaderAccept?: 'application/json';
|
|
869
|
-
context?: HttpContext;
|
|
870
|
-
transferCache?: boolean;
|
|
871
|
-
}): Observable<object>;
|
|
872
|
-
appDraftServiceSubmitAppDraft(appDraftId: string, body: object, observe?: 'response', reportProgress?: boolean, options?: {
|
|
873
|
-
httpHeaderAccept?: 'application/json';
|
|
874
|
-
context?: HttpContext;
|
|
875
|
-
transferCache?: boolean;
|
|
876
|
-
}): Observable<HttpResponse<object>>;
|
|
877
|
-
appDraftServiceSubmitAppDraft(appDraftId: string, body: object, observe?: 'events', reportProgress?: boolean, options?: {
|
|
878
|
-
httpHeaderAccept?: 'application/json';
|
|
879
|
-
context?: HttpContext;
|
|
880
|
-
transferCache?: boolean;
|
|
881
|
-
}): Observable<HttpEvent<object>>;
|
|
882
|
-
/**
|
|
883
|
-
* Updates an app draft.
|
|
884
|
-
* @endpoint patch /grpc/accrescent.console.v1alpha1/app_drafts/{appDraftId}
|
|
885
|
-
* @param appDraftId The ID of the app draft to update.
|
|
886
|
-
* @param body
|
|
887
|
-
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
888
|
-
* @param reportProgress flag to report request and response progress.
|
|
889
|
-
* @param options additional options
|
|
890
|
-
*/
|
|
891
|
-
appDraftServiceUpdateAppDraft(appDraftId: string, body: AppDraftServiceUpdateAppDraftBody, observe?: 'body', reportProgress?: boolean, options?: {
|
|
892
|
-
httpHeaderAccept?: 'application/json';
|
|
893
|
-
context?: HttpContext;
|
|
894
|
-
transferCache?: boolean;
|
|
895
|
-
}): Observable<object>;
|
|
896
|
-
appDraftServiceUpdateAppDraft(appDraftId: string, body: AppDraftServiceUpdateAppDraftBody, observe?: 'response', reportProgress?: boolean, options?: {
|
|
897
|
-
httpHeaderAccept?: 'application/json';
|
|
898
|
-
context?: HttpContext;
|
|
899
|
-
transferCache?: boolean;
|
|
900
|
-
}): Observable<HttpResponse<object>>;
|
|
901
|
-
appDraftServiceUpdateAppDraft(appDraftId: string, body: AppDraftServiceUpdateAppDraftBody, observe?: 'events', reportProgress?: boolean, options?: {
|
|
902
|
-
httpHeaderAccept?: 'application/json';
|
|
903
|
-
context?: HttpContext;
|
|
904
|
-
transferCache?: boolean;
|
|
905
|
-
}): Observable<HttpEvent<object>>;
|
|
906
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AppDraftsService, [null, { optional: true; }, { optional: true; }]>;
|
|
907
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<AppDraftsService>;
|
|
908
|
-
}
|
|
909
|
-
|
|
910
|
-
/**
|
|
911
|
-
* Accrescent console API
|
|
912
|
-
*
|
|
913
|
-
* Contact: contact@accrescent.app
|
|
914
|
-
*
|
|
915
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
916
|
-
* https://openapi-generator.tech
|
|
917
|
-
* Do not edit the class manually.
|
|
918
|
-
*/
|
|
919
|
-
/**
|
|
920
|
-
* Request defining parameters for creating an app listing for an app edit.
|
|
921
|
-
*/
|
|
922
|
-
interface AppEditServiceCreateAppEditListingBody {
|
|
923
|
-
/**
|
|
924
|
-
* The proper name of the app, possibly including very short descriptive text (e.g. \"SecureChat - Secure Texting\").
|
|
925
|
-
*/
|
|
926
|
-
name: string;
|
|
927
|
-
/**
|
|
928
|
-
* A short description of the app to be shown in headers and small screen spaces.
|
|
929
|
-
*/
|
|
930
|
-
shortDescription: string;
|
|
931
|
-
}
|
|
932
|
-
|
|
933
|
-
/**
|
|
934
|
-
* Accrescent console API
|
|
935
|
-
*
|
|
936
|
-
* Contact: contact@accrescent.app
|
|
937
|
-
*
|
|
938
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
939
|
-
* https://openapi-generator.tech
|
|
940
|
-
* Do not edit the class manually.
|
|
941
|
-
*/
|
|
942
|
-
/**
|
|
943
|
-
* Request defining parameters for updating an app edit.
|
|
944
|
-
*/
|
|
945
|
-
interface AppEditServiceUpdateAppEditBody {
|
|
946
|
-
/**
|
|
947
|
-
* The edit\'s default listing language. Required because no other fields are supported for update yet.
|
|
948
|
-
*/
|
|
949
|
-
defaultListingLanguage: string;
|
|
950
|
-
/**
|
|
951
|
-
* The list of fields to update. Required to enforce forward-compatible use by clients.
|
|
952
|
-
*/
|
|
953
|
-
updateMask: string;
|
|
954
|
-
}
|
|
955
|
-
|
|
956
|
-
/**
|
|
957
|
-
* Accrescent console API
|
|
958
|
-
*
|
|
959
|
-
* Contact: contact@accrescent.app
|
|
960
|
-
*
|
|
961
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
962
|
-
* https://openapi-generator.tech
|
|
963
|
-
* Do not edit the class manually.
|
|
964
|
-
*/
|
|
965
|
-
|
|
966
|
-
/**
|
|
967
|
-
* Response to creating an app edit listing icon upload operation.
|
|
968
|
-
*/
|
|
969
|
-
interface V1alpha1CreateAppEditListingIconUploadOperationResponse {
|
|
970
|
-
/**
|
|
971
|
-
* An HTTP or HTTPS URL at which the icon can be submitted with an HTTP PUT request.
|
|
972
|
-
*/
|
|
973
|
-
uploadUrl: string;
|
|
974
|
-
processingOperation: GoogleLongrunningOperation;
|
|
975
|
-
}
|
|
976
|
-
|
|
977
|
-
/**
|
|
978
|
-
* Accrescent console API
|
|
979
|
-
*
|
|
980
|
-
* Contact: contact@accrescent.app
|
|
981
|
-
*
|
|
982
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
983
|
-
* https://openapi-generator.tech
|
|
984
|
-
* Do not edit the class manually.
|
|
985
|
-
*/
|
|
986
|
-
/**
|
|
987
|
-
* Response to creating a new app edit.
|
|
988
|
-
*/
|
|
989
|
-
interface V1alpha1CreateAppEditResponse {
|
|
990
|
-
/**
|
|
991
|
-
* The unique ID of the created app edit.
|
|
992
|
-
*/
|
|
993
|
-
appEditId: string;
|
|
994
|
-
}
|
|
995
|
-
|
|
996
|
-
/**
|
|
997
|
-
* Accrescent console API
|
|
998
|
-
*
|
|
999
|
-
* Contact: contact@accrescent.app
|
|
1000
|
-
*
|
|
1001
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1002
|
-
* https://openapi-generator.tech
|
|
1003
|
-
* Do not edit the class manually.
|
|
1004
|
-
*/
|
|
1005
|
-
|
|
1006
|
-
/**
|
|
1007
|
-
* Response to creating an app edit upload operation.
|
|
1008
|
-
*/
|
|
1009
|
-
interface V1alpha1CreateAppEditUploadOperationResponse {
|
|
1010
|
-
/**
|
|
1011
|
-
* An HTTP or HTTPS URL at which an APK set can be submitted with an HTTP PUT request.
|
|
1012
|
-
*/
|
|
1013
|
-
apkSetUploadUrl: string;
|
|
1014
|
-
processingOperation: GoogleLongrunningOperation;
|
|
1015
|
-
}
|
|
1016
|
-
|
|
1017
|
-
/**
|
|
1018
|
-
* Accrescent console API
|
|
1019
|
-
*
|
|
1020
|
-
* Contact: contact@accrescent.app
|
|
1021
|
-
*
|
|
1022
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1023
|
-
* https://openapi-generator.tech
|
|
1024
|
-
* Do not edit the class manually.
|
|
1025
|
-
*/
|
|
1026
|
-
/**
|
|
1027
|
-
* Response to getting an app edit\'s download info.
|
|
1028
|
-
*/
|
|
1029
|
-
interface V1alpha1GetAppEditDownloadInfoResponse {
|
|
1030
|
-
/**
|
|
1031
|
-
* The URL of the APK set which can be retrieved with a simple HTTP GET.
|
|
1032
|
-
*/
|
|
1033
|
-
apkSetUrl: string;
|
|
1034
|
-
}
|
|
1035
|
-
|
|
1036
|
-
/**
|
|
1037
|
-
* Accrescent console API
|
|
1038
|
-
*
|
|
1039
|
-
* Contact: contact@accrescent.app
|
|
1040
|
-
*
|
|
1041
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1042
|
-
* https://openapi-generator.tech
|
|
1043
|
-
* Do not edit the class manually.
|
|
1044
|
-
*/
|
|
1045
|
-
|
|
1046
|
-
/**
|
|
1047
|
-
* An app edit.
|
|
1048
|
-
*/
|
|
1049
|
-
interface V1alpha1AppEdit {
|
|
1050
|
-
/**
|
|
1051
|
-
* The app edit\'s unique ID.
|
|
1052
|
-
*/
|
|
1053
|
-
id: string;
|
|
1054
|
-
/**
|
|
1055
|
-
* The timestamp at which the app edit was created.
|
|
1056
|
-
*/
|
|
1057
|
-
createdAt: string;
|
|
1058
|
-
/**
|
|
1059
|
-
* The app edit\'s default listing language.
|
|
1060
|
-
*/
|
|
1061
|
-
defaultListingLanguage: string;
|
|
1062
|
-
appPackage: V1alpha1AppPackage;
|
|
1063
|
-
/**
|
|
1064
|
-
* The timestamp at which the app edit has been submitted, if applicable.
|
|
1065
|
-
*/
|
|
1066
|
-
submittedAt?: string;
|
|
1067
|
-
/**
|
|
1068
|
-
* The timestamp at which the app edit has been published, if applicable.
|
|
1069
|
-
*/
|
|
1070
|
-
publishedAt?: string;
|
|
1071
|
-
}
|
|
1072
|
-
|
|
1073
|
-
/**
|
|
1074
|
-
* Accrescent console API
|
|
1075
|
-
*
|
|
1076
|
-
* Contact: contact@accrescent.app
|
|
1077
|
-
*
|
|
1078
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1079
|
-
* https://openapi-generator.tech
|
|
1080
|
-
* Do not edit the class manually.
|
|
1081
|
-
*/
|
|
1082
|
-
|
|
1083
|
-
/**
|
|
1084
|
-
* Response to getting an app edit.
|
|
1085
|
-
*/
|
|
1086
|
-
interface V1alpha1GetAppEditResponse {
|
|
1087
|
-
appEdit: V1alpha1AppEdit;
|
|
1088
|
-
}
|
|
1089
|
-
|
|
1090
|
-
/**
|
|
1091
|
-
* Accrescent console API
|
|
1092
|
-
*
|
|
1093
|
-
* Contact: contact@accrescent.app
|
|
1094
|
-
*
|
|
1095
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1096
|
-
* https://openapi-generator.tech
|
|
1097
|
-
* Do not edit the class manually.
|
|
1098
|
-
*/
|
|
1099
|
-
|
|
1100
|
-
/**
|
|
1101
|
-
* Response to listing app edits.
|
|
1102
|
-
*/
|
|
1103
|
-
interface V1alpha1ListAppEditsResponse {
|
|
1104
|
-
/**
|
|
1105
|
-
* The app drafts matching the request parameters.
|
|
1106
|
-
*/
|
|
1107
|
-
appEdits: Array<V1alpha1AppEdit>;
|
|
1108
|
-
/**
|
|
1109
|
-
* An opaque token which, if passed to another invocation of ListAppEdits, will return the next page of app edits.
|
|
1110
|
-
*/
|
|
1111
|
-
nextPageToken?: string;
|
|
1112
|
-
}
|
|
1113
|
-
|
|
1114
|
-
/**
|
|
1115
|
-
* Accrescent console API
|
|
1116
|
-
*
|
|
1117
|
-
* Contact: contact@accrescent.app
|
|
1118
|
-
*
|
|
1119
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1120
|
-
* https://openapi-generator.tech
|
|
1121
|
-
* Do not edit the class manually.
|
|
1122
|
-
*/
|
|
1123
|
-
|
|
1124
|
-
/**
|
|
1125
|
-
* Response to submitting an app edit.
|
|
1126
|
-
*/
|
|
1127
|
-
interface V1alpha1SubmitAppEditResponse {
|
|
1128
|
-
operation?: GoogleLongrunningOperation;
|
|
1129
|
-
}
|
|
1130
|
-
|
|
1131
|
-
declare class AppEditsService extends BaseService {
|
|
1132
|
-
protected httpClient: HttpClient;
|
|
1133
|
-
constructor(httpClient: HttpClient, basePath: string | string[], configuration?: Configuration);
|
|
1134
|
-
/**
|
|
1135
|
-
* Creates a new app edit.
|
|
1136
|
-
* @endpoint post /grpc/accrescent.console.v1alpha1/apps/{appId}/edits
|
|
1137
|
-
* @param appId The ID of the app to create an edit for.
|
|
1138
|
-
* @param body
|
|
1139
|
-
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
1140
|
-
* @param reportProgress flag to report request and response progress.
|
|
1141
|
-
* @param options additional options
|
|
1142
|
-
*/
|
|
1143
|
-
appEditServiceCreateAppEdit(appId: string, body: object, observe?: 'body', reportProgress?: boolean, options?: {
|
|
1144
|
-
httpHeaderAccept?: 'application/json';
|
|
1145
|
-
context?: HttpContext;
|
|
1146
|
-
transferCache?: boolean;
|
|
1147
|
-
}): Observable<V1alpha1CreateAppEditResponse>;
|
|
1148
|
-
appEditServiceCreateAppEdit(appId: string, body: object, observe?: 'response', reportProgress?: boolean, options?: {
|
|
1149
|
-
httpHeaderAccept?: 'application/json';
|
|
1150
|
-
context?: HttpContext;
|
|
1151
|
-
transferCache?: boolean;
|
|
1152
|
-
}): Observable<HttpResponse<V1alpha1CreateAppEditResponse>>;
|
|
1153
|
-
appEditServiceCreateAppEdit(appId: string, body: object, observe?: 'events', reportProgress?: boolean, options?: {
|
|
1154
|
-
httpHeaderAccept?: 'application/json';
|
|
1155
|
-
context?: HttpContext;
|
|
1156
|
-
transferCache?: boolean;
|
|
1157
|
-
}): Observable<HttpEvent<V1alpha1CreateAppEditResponse>>;
|
|
1158
|
-
/**
|
|
1159
|
-
* Creates a new app listing for an app edit.
|
|
1160
|
-
* @endpoint post /grpc/accrescent.console.v1alpha1/app_edits/{appEditId}/listings/{language}
|
|
1161
|
-
* @param appEditId The app edit to create the app listing for.
|
|
1162
|
-
* @param language The language of this listing\'s fields as a BCP-47 tag.
|
|
1163
|
-
* @param body
|
|
1164
|
-
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
1165
|
-
* @param reportProgress flag to report request and response progress.
|
|
1166
|
-
* @param options additional options
|
|
1167
|
-
*/
|
|
1168
|
-
appEditServiceCreateAppEditListing(appEditId: string, language: string, body: AppEditServiceCreateAppEditListingBody, observe?: 'body', reportProgress?: boolean, options?: {
|
|
1169
|
-
httpHeaderAccept?: 'application/json';
|
|
1170
|
-
context?: HttpContext;
|
|
1171
|
-
transferCache?: boolean;
|
|
1172
|
-
}): Observable<object>;
|
|
1173
|
-
appEditServiceCreateAppEditListing(appEditId: string, language: string, body: AppEditServiceCreateAppEditListingBody, observe?: 'response', reportProgress?: boolean, options?: {
|
|
1174
|
-
httpHeaderAccept?: 'application/json';
|
|
1175
|
-
context?: HttpContext;
|
|
1176
|
-
transferCache?: boolean;
|
|
1177
|
-
}): Observable<HttpResponse<object>>;
|
|
1178
|
-
appEditServiceCreateAppEditListing(appEditId: string, language: string, body: AppEditServiceCreateAppEditListingBody, observe?: 'events', reportProgress?: boolean, options?: {
|
|
1179
|
-
httpHeaderAccept?: 'application/json';
|
|
1180
|
-
context?: HttpContext;
|
|
1181
|
-
transferCache?: boolean;
|
|
1182
|
-
}): Observable<HttpEvent<object>>;
|
|
1183
|
-
/**
|
|
1184
|
-
* Creates an app edit listing icon upload operation.
|
|
1185
|
-
* @endpoint post /grpc/accrescent.console.v1alpha1/app_edits/{appEditId}/listings/{language}/icon/upload_operations
|
|
1186
|
-
* @param appEditId The ID of the app edit to create an icon upload operation for.
|
|
1187
|
-
* @param language The language of the app listing to create an icon upload operation for.
|
|
1188
|
-
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
1189
|
-
* @param reportProgress flag to report request and response progress.
|
|
1190
|
-
* @param options additional options
|
|
1191
|
-
*/
|
|
1192
|
-
appEditServiceCreateAppEditListingIconUploadOperation(appEditId: string, language: string, observe?: 'body', reportProgress?: boolean, options?: {
|
|
1193
|
-
httpHeaderAccept?: 'application/json';
|
|
1194
|
-
context?: HttpContext;
|
|
1195
|
-
transferCache?: boolean;
|
|
1196
|
-
}): Observable<V1alpha1CreateAppEditListingIconUploadOperationResponse>;
|
|
1197
|
-
appEditServiceCreateAppEditListingIconUploadOperation(appEditId: string, language: string, observe?: 'response', reportProgress?: boolean, options?: {
|
|
1198
|
-
httpHeaderAccept?: 'application/json';
|
|
1199
|
-
context?: HttpContext;
|
|
1200
|
-
transferCache?: boolean;
|
|
1201
|
-
}): Observable<HttpResponse<V1alpha1CreateAppEditListingIconUploadOperationResponse>>;
|
|
1202
|
-
appEditServiceCreateAppEditListingIconUploadOperation(appEditId: string, language: string, observe?: 'events', reportProgress?: boolean, options?: {
|
|
1203
|
-
httpHeaderAccept?: 'application/json';
|
|
1204
|
-
context?: HttpContext;
|
|
1205
|
-
transferCache?: boolean;
|
|
1206
|
-
}): Observable<HttpEvent<V1alpha1CreateAppEditListingIconUploadOperationResponse>>;
|
|
1207
|
-
/**
|
|
1208
|
-
* Creates an app edit upload operation.
|
|
1209
|
-
* @endpoint post /grpc/accrescent.console.v1alpha1/app_edits/{appEditId}/upload_operations
|
|
1210
|
-
* @param appEditId The ID of the app edit to create an upload operation for.
|
|
1211
|
-
* @param body
|
|
1212
|
-
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
1213
|
-
* @param reportProgress flag to report request and response progress.
|
|
1214
|
-
* @param options additional options
|
|
1215
|
-
*/
|
|
1216
|
-
appEditServiceCreateAppEditUploadOperation(appEditId: string, body: object, observe?: 'body', reportProgress?: boolean, options?: {
|
|
1217
|
-
httpHeaderAccept?: 'application/json';
|
|
1218
|
-
context?: HttpContext;
|
|
1219
|
-
transferCache?: boolean;
|
|
1220
|
-
}): Observable<V1alpha1CreateAppEditUploadOperationResponse>;
|
|
1221
|
-
appEditServiceCreateAppEditUploadOperation(appEditId: string, body: object, observe?: 'response', reportProgress?: boolean, options?: {
|
|
1222
|
-
httpHeaderAccept?: 'application/json';
|
|
1223
|
-
context?: HttpContext;
|
|
1224
|
-
transferCache?: boolean;
|
|
1225
|
-
}): Observable<HttpResponse<V1alpha1CreateAppEditUploadOperationResponse>>;
|
|
1226
|
-
appEditServiceCreateAppEditUploadOperation(appEditId: string, body: object, observe?: 'events', reportProgress?: boolean, options?: {
|
|
1227
|
-
httpHeaderAccept?: 'application/json';
|
|
1228
|
-
context?: HttpContext;
|
|
1229
|
-
transferCache?: boolean;
|
|
1230
|
-
}): Observable<HttpEvent<V1alpha1CreateAppEditUploadOperationResponse>>;
|
|
1231
|
-
/**
|
|
1232
|
-
* Deletes an app edit.
|
|
1233
|
-
* @endpoint delete /grpc/accrescent.console.v1alpha1/app_edits/{appEditId}
|
|
1234
|
-
* @param appEditId The ID of the app edit to delete.
|
|
1235
|
-
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
1236
|
-
* @param reportProgress flag to report request and response progress.
|
|
1237
|
-
* @param options additional options
|
|
1238
|
-
*/
|
|
1239
|
-
appEditServiceDeleteAppEdit(appEditId: string, observe?: 'body', reportProgress?: boolean, options?: {
|
|
1240
|
-
httpHeaderAccept?: 'application/json';
|
|
1241
|
-
context?: HttpContext;
|
|
1242
|
-
transferCache?: boolean;
|
|
1243
|
-
}): Observable<object>;
|
|
1244
|
-
appEditServiceDeleteAppEdit(appEditId: string, observe?: 'response', reportProgress?: boolean, options?: {
|
|
1245
|
-
httpHeaderAccept?: 'application/json';
|
|
1246
|
-
context?: HttpContext;
|
|
1247
|
-
transferCache?: boolean;
|
|
1248
|
-
}): Observable<HttpResponse<object>>;
|
|
1249
|
-
appEditServiceDeleteAppEdit(appEditId: string, observe?: 'events', reportProgress?: boolean, options?: {
|
|
1250
|
-
httpHeaderAccept?: 'application/json';
|
|
1251
|
-
context?: HttpContext;
|
|
1252
|
-
transferCache?: boolean;
|
|
1253
|
-
}): Observable<HttpEvent<object>>;
|
|
1254
|
-
/**
|
|
1255
|
-
* Deletes an existing app edit listing.
|
|
1256
|
-
* @endpoint delete /grpc/accrescent.console.v1alpha1/app_edits/{appEditId}/listings/{language}
|
|
1257
|
-
* @param appEditId The ID of the app edit the listing is associated with.
|
|
1258
|
-
* @param language The BCP-47 language tag of the listing to delete.
|
|
1259
|
-
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
1260
|
-
* @param reportProgress flag to report request and response progress.
|
|
1261
|
-
* @param options additional options
|
|
1262
|
-
*/
|
|
1263
|
-
appEditServiceDeleteAppEditListing(appEditId: string, language: string, observe?: 'body', reportProgress?: boolean, options?: {
|
|
1264
|
-
httpHeaderAccept?: 'application/json';
|
|
1265
|
-
context?: HttpContext;
|
|
1266
|
-
transferCache?: boolean;
|
|
1267
|
-
}): Observable<object>;
|
|
1268
|
-
appEditServiceDeleteAppEditListing(appEditId: string, language: string, observe?: 'response', reportProgress?: boolean, options?: {
|
|
1269
|
-
httpHeaderAccept?: 'application/json';
|
|
1270
|
-
context?: HttpContext;
|
|
1271
|
-
transferCache?: boolean;
|
|
1272
|
-
}): Observable<HttpResponse<object>>;
|
|
1273
|
-
appEditServiceDeleteAppEditListing(appEditId: string, language: string, observe?: 'events', reportProgress?: boolean, options?: {
|
|
1274
|
-
httpHeaderAccept?: 'application/json';
|
|
1275
|
-
context?: HttpContext;
|
|
1276
|
-
transferCache?: boolean;
|
|
1277
|
-
}): Observable<HttpEvent<object>>;
|
|
1278
|
-
/**
|
|
1279
|
-
* Gets an app edit.
|
|
1280
|
-
* @endpoint get /grpc/accrescent.console.v1alpha1/app_edits/{appEditId}
|
|
1281
|
-
* @param appEditId The ID of the app edit to retrieve.
|
|
1282
|
-
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
1283
|
-
* @param reportProgress flag to report request and response progress.
|
|
1284
|
-
* @param options additional options
|
|
1285
|
-
*/
|
|
1286
|
-
appEditServiceGetAppEdit(appEditId: string, observe?: 'body', reportProgress?: boolean, options?: {
|
|
1287
|
-
httpHeaderAccept?: 'application/json';
|
|
1288
|
-
context?: HttpContext;
|
|
1289
|
-
transferCache?: boolean;
|
|
1290
|
-
}): Observable<V1alpha1GetAppEditResponse>;
|
|
1291
|
-
appEditServiceGetAppEdit(appEditId: string, observe?: 'response', reportProgress?: boolean, options?: {
|
|
1292
|
-
httpHeaderAccept?: 'application/json';
|
|
1293
|
-
context?: HttpContext;
|
|
1294
|
-
transferCache?: boolean;
|
|
1295
|
-
}): Observable<HttpResponse<V1alpha1GetAppEditResponse>>;
|
|
1296
|
-
appEditServiceGetAppEdit(appEditId: string, observe?: 'events', reportProgress?: boolean, options?: {
|
|
1297
|
-
httpHeaderAccept?: 'application/json';
|
|
1298
|
-
context?: HttpContext;
|
|
1299
|
-
transferCache?: boolean;
|
|
1300
|
-
}): Observable<HttpEvent<V1alpha1GetAppEditResponse>>;
|
|
1301
|
-
/**
|
|
1302
|
-
* Gets an app edit\'s download info.
|
|
1303
|
-
* @endpoint get /grpc/accrescent.console.v1alpha1/app_edits/{appEditId}/download_info
|
|
1304
|
-
* @param appEditId The ID of the app edit to get download info for.
|
|
1305
|
-
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
1306
|
-
* @param reportProgress flag to report request and response progress.
|
|
1307
|
-
* @param options additional options
|
|
1308
|
-
*/
|
|
1309
|
-
appEditServiceGetAppEditDownloadInfo(appEditId: string, observe?: 'body', reportProgress?: boolean, options?: {
|
|
1310
|
-
httpHeaderAccept?: 'application/json';
|
|
1311
|
-
context?: HttpContext;
|
|
1312
|
-
transferCache?: boolean;
|
|
1313
|
-
}): Observable<V1alpha1GetAppEditDownloadInfoResponse>;
|
|
1314
|
-
appEditServiceGetAppEditDownloadInfo(appEditId: string, observe?: 'response', reportProgress?: boolean, options?: {
|
|
1315
|
-
httpHeaderAccept?: 'application/json';
|
|
1316
|
-
context?: HttpContext;
|
|
1317
|
-
transferCache?: boolean;
|
|
1318
|
-
}): Observable<HttpResponse<V1alpha1GetAppEditDownloadInfoResponse>>;
|
|
1319
|
-
appEditServiceGetAppEditDownloadInfo(appEditId: string, observe?: 'events', reportProgress?: boolean, options?: {
|
|
1320
|
-
httpHeaderAccept?: 'application/json';
|
|
1321
|
-
context?: HttpContext;
|
|
1322
|
-
transferCache?: boolean;
|
|
1323
|
-
}): Observable<HttpEvent<V1alpha1GetAppEditDownloadInfoResponse>>;
|
|
1324
|
-
/**
|
|
1325
|
-
* Lists app edits.
|
|
1326
|
-
* @endpoint get /grpc/accrescent.console.v1alpha1/app_edits
|
|
1327
|
-
* @param appId The app containing the edits to list.
|
|
1328
|
-
* @param pageSize The maximum number of app edits to return in the response. If unspecified, defaults to 50. All requests with a higher page size will be capped to 50.
|
|
1329
|
-
* @param pageToken An opaque page continuation token returned in a previous ListAppEditsResponse. If unspecified, the first page is returned.
|
|
1330
|
-
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
1331
|
-
* @param reportProgress flag to report request and response progress.
|
|
1332
|
-
* @param options additional options
|
|
1333
|
-
*/
|
|
1334
|
-
appEditServiceListAppEdits(appId: string, pageSize?: number, pageToken?: string, observe?: 'body', reportProgress?: boolean, options?: {
|
|
1335
|
-
httpHeaderAccept?: 'application/json';
|
|
1336
|
-
context?: HttpContext;
|
|
1337
|
-
transferCache?: boolean;
|
|
1338
|
-
}): Observable<V1alpha1ListAppEditsResponse>;
|
|
1339
|
-
appEditServiceListAppEdits(appId: string, pageSize?: number, pageToken?: string, observe?: 'response', reportProgress?: boolean, options?: {
|
|
1340
|
-
httpHeaderAccept?: 'application/json';
|
|
1341
|
-
context?: HttpContext;
|
|
1342
|
-
transferCache?: boolean;
|
|
1343
|
-
}): Observable<HttpResponse<V1alpha1ListAppEditsResponse>>;
|
|
1344
|
-
appEditServiceListAppEdits(appId: string, pageSize?: number, pageToken?: string, observe?: 'events', reportProgress?: boolean, options?: {
|
|
1345
|
-
httpHeaderAccept?: 'application/json';
|
|
1346
|
-
context?: HttpContext;
|
|
1347
|
-
transferCache?: boolean;
|
|
1348
|
-
}): Observable<HttpEvent<V1alpha1ListAppEditsResponse>>;
|
|
1349
|
-
/**
|
|
1350
|
-
* Submits an app edit.
|
|
1351
|
-
* @endpoint post /grpc/accrescent.console.v1alpha1/app_edits/{appEditId}:submit
|
|
1352
|
-
* @param appEditId The ID of the app edit to submit.
|
|
1353
|
-
* @param body
|
|
1354
|
-
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
1355
|
-
* @param reportProgress flag to report request and response progress.
|
|
1356
|
-
* @param options additional options
|
|
1357
|
-
*/
|
|
1358
|
-
appEditServiceSubmitAppEdit(appEditId: string, body: object, observe?: 'body', reportProgress?: boolean, options?: {
|
|
1359
|
-
httpHeaderAccept?: 'application/json';
|
|
1360
|
-
context?: HttpContext;
|
|
1361
|
-
transferCache?: boolean;
|
|
1362
|
-
}): Observable<V1alpha1SubmitAppEditResponse>;
|
|
1363
|
-
appEditServiceSubmitAppEdit(appEditId: string, body: object, observe?: 'response', reportProgress?: boolean, options?: {
|
|
1364
|
-
httpHeaderAccept?: 'application/json';
|
|
1365
|
-
context?: HttpContext;
|
|
1366
|
-
transferCache?: boolean;
|
|
1367
|
-
}): Observable<HttpResponse<V1alpha1SubmitAppEditResponse>>;
|
|
1368
|
-
appEditServiceSubmitAppEdit(appEditId: string, body: object, observe?: 'events', reportProgress?: boolean, options?: {
|
|
1369
|
-
httpHeaderAccept?: 'application/json';
|
|
1370
|
-
context?: HttpContext;
|
|
1371
|
-
transferCache?: boolean;
|
|
1372
|
-
}): Observable<HttpEvent<V1alpha1SubmitAppEditResponse>>;
|
|
1373
|
-
/**
|
|
1374
|
-
* Updates an app edit.
|
|
1375
|
-
* @endpoint patch /grpc/accrescent.console.v1alpha1/app_edits/{appEditId}
|
|
1376
|
-
* @param appEditId The ID of the app draft to update.
|
|
1377
|
-
* @param body
|
|
1378
|
-
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
1379
|
-
* @param reportProgress flag to report request and response progress.
|
|
1380
|
-
* @param options additional options
|
|
1381
|
-
*/
|
|
1382
|
-
appEditServiceUpdateAppEdit(appEditId: string, body: AppEditServiceUpdateAppEditBody, observe?: 'body', reportProgress?: boolean, options?: {
|
|
1383
|
-
httpHeaderAccept?: 'application/json';
|
|
1384
|
-
context?: HttpContext;
|
|
1385
|
-
transferCache?: boolean;
|
|
1386
|
-
}): Observable<object>;
|
|
1387
|
-
appEditServiceUpdateAppEdit(appEditId: string, body: AppEditServiceUpdateAppEditBody, observe?: 'response', reportProgress?: boolean, options?: {
|
|
1388
|
-
httpHeaderAccept?: 'application/json';
|
|
1389
|
-
context?: HttpContext;
|
|
1390
|
-
transferCache?: boolean;
|
|
1391
|
-
}): Observable<HttpResponse<object>>;
|
|
1392
|
-
appEditServiceUpdateAppEdit(appEditId: string, body: AppEditServiceUpdateAppEditBody, observe?: 'events', reportProgress?: boolean, options?: {
|
|
1393
|
-
httpHeaderAccept?: 'application/json';
|
|
1394
|
-
context?: HttpContext;
|
|
1395
|
-
transferCache?: boolean;
|
|
1396
|
-
}): Observable<HttpEvent<object>>;
|
|
1397
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AppEditsService, [null, { optional: true; }, { optional: true; }]>;
|
|
1398
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<AppEditsService>;
|
|
1399
|
-
}
|
|
1400
|
-
|
|
1401
|
-
/**
|
|
1402
|
-
* Accrescent console API
|
|
1403
|
-
*
|
|
1404
|
-
* Contact: contact@accrescent.app
|
|
1405
|
-
*
|
|
1406
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1407
|
-
* https://openapi-generator.tech
|
|
1408
|
-
* Do not edit the class manually.
|
|
1409
|
-
*/
|
|
1410
|
-
/**
|
|
1411
|
-
* Request defining parameters for updating a published app.
|
|
1412
|
-
*/
|
|
1413
|
-
interface AppServiceUpdateAppBody {
|
|
1414
|
-
/**
|
|
1415
|
-
* Whether the app is publicly listed on the store.
|
|
1416
|
-
*/
|
|
1417
|
-
publiclyListed: boolean;
|
|
1418
|
-
/**
|
|
1419
|
-
* The list of fields to update. Required to enforce forward-compatible use by clients.
|
|
1420
|
-
*/
|
|
1421
|
-
updateMask: string;
|
|
1422
|
-
}
|
|
1423
|
-
|
|
1424
|
-
/**
|
|
1425
|
-
* Accrescent console API
|
|
1426
|
-
*
|
|
1427
|
-
* Contact: contact@accrescent.app
|
|
1428
|
-
*
|
|
1429
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1430
|
-
* https://openapi-generator.tech
|
|
1431
|
-
* Do not edit the class manually.
|
|
1432
|
-
*/
|
|
1433
|
-
/**
|
|
1434
|
-
* A published app.
|
|
1435
|
-
*/
|
|
1436
|
-
interface V1alpha1App {
|
|
1437
|
-
/**
|
|
1438
|
-
* The app\'s unique ID.
|
|
1439
|
-
*/
|
|
1440
|
-
id: string;
|
|
1441
|
-
/**
|
|
1442
|
-
* The app\'s default listing language.
|
|
1443
|
-
*/
|
|
1444
|
-
defaultListingLanguage: string;
|
|
1445
|
-
/**
|
|
1446
|
-
* Whether the app is publicly listed on the store.
|
|
1447
|
-
*/
|
|
1448
|
-
publiclyListed: boolean;
|
|
1449
|
-
}
|
|
1450
|
-
|
|
1451
|
-
/**
|
|
1452
|
-
* Accrescent console API
|
|
1453
|
-
*
|
|
1454
|
-
* Contact: contact@accrescent.app
|
|
1455
|
-
*
|
|
1456
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1457
|
-
* https://openapi-generator.tech
|
|
1458
|
-
* Do not edit the class manually.
|
|
1459
|
-
*/
|
|
1460
|
-
|
|
1461
|
-
/**
|
|
1462
|
-
* Response to getting an app.
|
|
1463
|
-
*/
|
|
1464
|
-
interface V1alpha1GetAppResponse {
|
|
1465
|
-
app: V1alpha1App;
|
|
1466
|
-
}
|
|
1467
|
-
|
|
1468
|
-
/**
|
|
1469
|
-
* Accrescent console API
|
|
1470
|
-
*
|
|
1471
|
-
* Contact: contact@accrescent.app
|
|
1472
|
-
*
|
|
1473
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1474
|
-
* https://openapi-generator.tech
|
|
1475
|
-
* Do not edit the class manually.
|
|
1476
|
-
*/
|
|
1477
|
-
|
|
1478
|
-
/**
|
|
1479
|
-
* Response to listing published apps.
|
|
1480
|
-
*/
|
|
1481
|
-
interface V1alpha1ListAppsResponse {
|
|
1482
|
-
/**
|
|
1483
|
-
* The apps matching the request parameters.
|
|
1484
|
-
*/
|
|
1485
|
-
apps: Array<V1alpha1App>;
|
|
1486
|
-
/**
|
|
1487
|
-
* An opaque token which, if passed to another invocation of ListApps, will return the next page of organizations.
|
|
1488
|
-
*/
|
|
1489
|
-
nextPageToken?: string;
|
|
1490
|
-
}
|
|
1491
|
-
|
|
1492
|
-
declare class AppsService extends BaseService {
|
|
1493
|
-
protected httpClient: HttpClient;
|
|
1494
|
-
constructor(httpClient: HttpClient, basePath: string | string[], configuration?: Configuration);
|
|
1495
|
-
/**
|
|
1496
|
-
* Gets a published app.
|
|
1497
|
-
* @endpoint get /grpc/accrescent.console.v1alpha1/apps/{appId}
|
|
1498
|
-
* @param appId The ID of the app to retrieve.
|
|
1499
|
-
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
1500
|
-
* @param reportProgress flag to report request and response progress.
|
|
1501
|
-
* @param options additional options
|
|
1502
|
-
*/
|
|
1503
|
-
appServiceGetApp(appId: string, observe?: 'body', reportProgress?: boolean, options?: {
|
|
1504
|
-
httpHeaderAccept?: 'application/json';
|
|
1505
|
-
context?: HttpContext;
|
|
1506
|
-
transferCache?: boolean;
|
|
1507
|
-
}): Observable<V1alpha1GetAppResponse>;
|
|
1508
|
-
appServiceGetApp(appId: string, observe?: 'response', reportProgress?: boolean, options?: {
|
|
1509
|
-
httpHeaderAccept?: 'application/json';
|
|
1510
|
-
context?: HttpContext;
|
|
1511
|
-
transferCache?: boolean;
|
|
1512
|
-
}): Observable<HttpResponse<V1alpha1GetAppResponse>>;
|
|
1513
|
-
appServiceGetApp(appId: string, observe?: 'events', reportProgress?: boolean, options?: {
|
|
1514
|
-
httpHeaderAccept?: 'application/json';
|
|
1515
|
-
context?: HttpContext;
|
|
1516
|
-
transferCache?: boolean;
|
|
1517
|
-
}): Observable<HttpEvent<V1alpha1GetAppResponse>>;
|
|
1518
|
-
/**
|
|
1519
|
-
* Lists published apps.
|
|
1520
|
-
* @endpoint get /grpc/accrescent.console.v1alpha1/apps
|
|
1521
|
-
* @param organizationId The organization containing the apps to list.
|
|
1522
|
-
* @param pageSize The maximum number of apps to return in the response. If unspecified, defaults to 50. All requests with a higher page size will be capped to 50.
|
|
1523
|
-
* @param pageToken An opaque page continuation token returned in a previous ListAppsResponse. If unspecified, the first page is returned.
|
|
1524
|
-
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
1525
|
-
* @param reportProgress flag to report request and response progress.
|
|
1526
|
-
* @param options additional options
|
|
1527
|
-
*/
|
|
1528
|
-
appServiceListApps(organizationId: string, pageSize?: number, pageToken?: string, observe?: 'body', reportProgress?: boolean, options?: {
|
|
1529
|
-
httpHeaderAccept?: 'application/json';
|
|
1530
|
-
context?: HttpContext;
|
|
1531
|
-
transferCache?: boolean;
|
|
1532
|
-
}): Observable<V1alpha1ListAppsResponse>;
|
|
1533
|
-
appServiceListApps(organizationId: string, pageSize?: number, pageToken?: string, observe?: 'response', reportProgress?: boolean, options?: {
|
|
1534
|
-
httpHeaderAccept?: 'application/json';
|
|
1535
|
-
context?: HttpContext;
|
|
1536
|
-
transferCache?: boolean;
|
|
1537
|
-
}): Observable<HttpResponse<V1alpha1ListAppsResponse>>;
|
|
1538
|
-
appServiceListApps(organizationId: string, pageSize?: number, pageToken?: string, observe?: 'events', reportProgress?: boolean, options?: {
|
|
1539
|
-
httpHeaderAccept?: 'application/json';
|
|
1540
|
-
context?: HttpContext;
|
|
1541
|
-
transferCache?: boolean;
|
|
1542
|
-
}): Observable<HttpEvent<V1alpha1ListAppsResponse>>;
|
|
1543
|
-
/**
|
|
1544
|
-
* Updates a published app.
|
|
1545
|
-
* @endpoint patch /grpc/accrescent.console.v1alpha1/apps/{appId}
|
|
1546
|
-
* @param appId The ID of the app to update.
|
|
1547
|
-
* @param body
|
|
1548
|
-
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
1549
|
-
* @param reportProgress flag to report request and response progress.
|
|
1550
|
-
* @param options additional options
|
|
1551
|
-
*/
|
|
1552
|
-
appServiceUpdateApp(appId: string, body: AppServiceUpdateAppBody, observe?: 'body', reportProgress?: boolean, options?: {
|
|
1553
|
-
httpHeaderAccept?: 'application/json';
|
|
1554
|
-
context?: HttpContext;
|
|
1555
|
-
transferCache?: boolean;
|
|
1556
|
-
}): Observable<object>;
|
|
1557
|
-
appServiceUpdateApp(appId: string, body: AppServiceUpdateAppBody, observe?: 'response', reportProgress?: boolean, options?: {
|
|
1558
|
-
httpHeaderAccept?: 'application/json';
|
|
1559
|
-
context?: HttpContext;
|
|
1560
|
-
transferCache?: boolean;
|
|
1561
|
-
}): Observable<HttpResponse<object>>;
|
|
1562
|
-
appServiceUpdateApp(appId: string, body: AppServiceUpdateAppBody, observe?: 'events', reportProgress?: boolean, options?: {
|
|
1563
|
-
httpHeaderAccept?: 'application/json';
|
|
1564
|
-
context?: HttpContext;
|
|
1565
|
-
transferCache?: boolean;
|
|
1566
|
-
}): Observable<HttpEvent<object>>;
|
|
1567
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AppsService, [null, { optional: true; }, { optional: true; }]>;
|
|
1568
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<AppsService>;
|
|
1569
|
-
}
|
|
1570
|
-
|
|
1571
|
-
/**
|
|
1572
|
-
* Accrescent console API
|
|
1573
|
-
*
|
|
1574
|
-
* Contact: contact@accrescent.app
|
|
1575
|
-
*
|
|
1576
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1577
|
-
* https://openapi-generator.tech
|
|
1578
|
-
* Do not edit the class manually.
|
|
1579
|
-
*/
|
|
1580
|
-
/**
|
|
1581
|
-
* An organization of users.
|
|
1582
|
-
*/
|
|
1583
|
-
interface V1alpha1Organization {
|
|
1584
|
-
/**
|
|
1585
|
-
* The organization\'s unique ID.
|
|
1586
|
-
*/
|
|
1587
|
-
id: string;
|
|
1588
|
-
/**
|
|
1589
|
-
* The maximum number of published apps allowed to exist under this organization.
|
|
1590
|
-
*/
|
|
1591
|
-
publishedAppLimit: number;
|
|
1592
|
-
/**
|
|
1593
|
-
* The current number of published apps in this organization.
|
|
1594
|
-
*/
|
|
1595
|
-
publishedAppCount: number;
|
|
1596
|
-
/**
|
|
1597
|
-
* The maximum number of active app drafts allowed to exist under this organization.
|
|
1598
|
-
*/
|
|
1599
|
-
activeAppDraftLimit: number;
|
|
1600
|
-
/**
|
|
1601
|
-
* The current number of active app drafts in this organization.
|
|
1602
|
-
*/
|
|
1603
|
-
activeAppDraftCount: number;
|
|
1604
|
-
}
|
|
1605
|
-
|
|
1606
|
-
/**
|
|
1607
|
-
* Accrescent console API
|
|
1608
|
-
*
|
|
1609
|
-
* Contact: contact@accrescent.app
|
|
1610
|
-
*
|
|
1611
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1612
|
-
* https://openapi-generator.tech
|
|
1613
|
-
* Do not edit the class manually.
|
|
1614
|
-
*/
|
|
1615
|
-
|
|
1616
|
-
/**
|
|
1617
|
-
* Response to getting an organization.
|
|
1618
|
-
*/
|
|
1619
|
-
interface V1alpha1GetOrganizationResponse {
|
|
1620
|
-
organization: V1alpha1Organization;
|
|
1621
|
-
}
|
|
1622
|
-
|
|
1623
|
-
/**
|
|
1624
|
-
* Accrescent console API
|
|
1625
|
-
*
|
|
1626
|
-
* Contact: contact@accrescent.app
|
|
1627
|
-
*
|
|
1628
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1629
|
-
* https://openapi-generator.tech
|
|
1630
|
-
* Do not edit the class manually.
|
|
1631
|
-
*/
|
|
1632
|
-
|
|
1633
|
-
/**
|
|
1634
|
-
* Response to listing organizations.
|
|
1635
|
-
*/
|
|
1636
|
-
interface V1alpha1ListOrganizationsResponse {
|
|
1637
|
-
/**
|
|
1638
|
-
* The organizations matching the request parameters.
|
|
1639
|
-
*/
|
|
1640
|
-
organizations: Array<V1alpha1Organization>;
|
|
1641
|
-
/**
|
|
1642
|
-
* An opaque token which, if passed to another invocation of ListOrganizations, will return the next page of organizations.
|
|
1643
|
-
*/
|
|
1644
|
-
nextPageToken?: string;
|
|
1645
|
-
}
|
|
1646
|
-
|
|
1647
|
-
declare class OrganizationsService extends BaseService {
|
|
1648
|
-
protected httpClient: HttpClient;
|
|
1649
|
-
constructor(httpClient: HttpClient, basePath: string | string[], configuration?: Configuration);
|
|
1650
|
-
/**
|
|
1651
|
-
* Gets an organization.
|
|
1652
|
-
* @endpoint get /grpc/accrescent.console.v1alpha1/organizations/{organizationId}
|
|
1653
|
-
* @param organizationId The ID of the organization to retrieve.
|
|
1654
|
-
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
1655
|
-
* @param reportProgress flag to report request and response progress.
|
|
1656
|
-
* @param options additional options
|
|
1657
|
-
*/
|
|
1658
|
-
organizationServiceGetOrganization(organizationId: string, observe?: 'body', reportProgress?: boolean, options?: {
|
|
1659
|
-
httpHeaderAccept?: 'application/json';
|
|
1660
|
-
context?: HttpContext;
|
|
1661
|
-
transferCache?: boolean;
|
|
1662
|
-
}): Observable<V1alpha1GetOrganizationResponse>;
|
|
1663
|
-
organizationServiceGetOrganization(organizationId: string, observe?: 'response', reportProgress?: boolean, options?: {
|
|
1664
|
-
httpHeaderAccept?: 'application/json';
|
|
1665
|
-
context?: HttpContext;
|
|
1666
|
-
transferCache?: boolean;
|
|
1667
|
-
}): Observable<HttpResponse<V1alpha1GetOrganizationResponse>>;
|
|
1668
|
-
organizationServiceGetOrganization(organizationId: string, observe?: 'events', reportProgress?: boolean, options?: {
|
|
1669
|
-
httpHeaderAccept?: 'application/json';
|
|
1670
|
-
context?: HttpContext;
|
|
1671
|
-
transferCache?: boolean;
|
|
1672
|
-
}): Observable<HttpEvent<V1alpha1GetOrganizationResponse>>;
|
|
1673
|
-
/**
|
|
1674
|
-
* Lists organizations.
|
|
1675
|
-
* @endpoint get /grpc/accrescent.console.v1alpha1/organizations
|
|
1676
|
-
* @param pageSize The maximum number of organizations to return in the response. If unspecified, defaults to 50. All requests with a higher page size will be capped to 50.
|
|
1677
|
-
* @param pageToken An opaque page continuation token returned in a previous ListOrganizationsResponse. If unspecified, the first page is returned.
|
|
1678
|
-
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
1679
|
-
* @param reportProgress flag to report request and response progress.
|
|
1680
|
-
* @param options additional options
|
|
1681
|
-
*/
|
|
1682
|
-
organizationServiceListOrganizations(pageSize?: number, pageToken?: string, observe?: 'body', reportProgress?: boolean, options?: {
|
|
1683
|
-
httpHeaderAccept?: 'application/json';
|
|
1684
|
-
context?: HttpContext;
|
|
1685
|
-
transferCache?: boolean;
|
|
1686
|
-
}): Observable<V1alpha1ListOrganizationsResponse>;
|
|
1687
|
-
organizationServiceListOrganizations(pageSize?: number, pageToken?: string, observe?: 'response', reportProgress?: boolean, options?: {
|
|
1688
|
-
httpHeaderAccept?: 'application/json';
|
|
1689
|
-
context?: HttpContext;
|
|
1690
|
-
transferCache?: boolean;
|
|
1691
|
-
}): Observable<HttpResponse<V1alpha1ListOrganizationsResponse>>;
|
|
1692
|
-
organizationServiceListOrganizations(pageSize?: number, pageToken?: string, observe?: 'events', reportProgress?: boolean, options?: {
|
|
1693
|
-
httpHeaderAccept?: 'application/json';
|
|
1694
|
-
context?: HttpContext;
|
|
1695
|
-
transferCache?: boolean;
|
|
1696
|
-
}): Observable<HttpEvent<V1alpha1ListOrganizationsResponse>>;
|
|
1697
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<OrganizationsService, [null, { optional: true; }, { optional: true; }]>;
|
|
1698
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<OrganizationsService>;
|
|
1699
|
-
}
|
|
1700
|
-
|
|
1701
|
-
/**
|
|
1702
|
-
* Accrescent console API
|
|
1703
|
-
*
|
|
1704
|
-
* Contact: contact@accrescent.app
|
|
1705
|
-
*
|
|
1706
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1707
|
-
* https://openapi-generator.tech
|
|
1708
|
-
* Do not edit the class manually.
|
|
1709
|
-
*/
|
|
1710
|
-
/**
|
|
1711
|
-
* A reason for rejecting the item in review.
|
|
1712
|
-
*/
|
|
1713
|
-
interface V1alpha1RejectionReason {
|
|
1714
|
-
/**
|
|
1715
|
-
* The English explanation of the rejection reason.
|
|
1716
|
-
*/
|
|
1717
|
-
reason: string;
|
|
1718
|
-
}
|
|
1719
|
-
|
|
1720
|
-
/**
|
|
1721
|
-
* Accrescent console API
|
|
1722
|
-
*
|
|
1723
|
-
* Contact: contact@accrescent.app
|
|
1724
|
-
*
|
|
1725
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1726
|
-
* https://openapi-generator.tech
|
|
1727
|
-
* Do not edit the class manually.
|
|
1728
|
-
*/
|
|
1729
|
-
|
|
1730
|
-
/**
|
|
1731
|
-
* Request defining parameters for creating an app draft review.
|
|
1732
|
-
*/
|
|
1733
|
-
interface ReviewServiceCreateAppDraftReviewBody {
|
|
1734
|
-
/**
|
|
1735
|
-
* Whether the app draft should be approved. If false, it is rejected.
|
|
1736
|
-
*/
|
|
1737
|
-
approved: boolean;
|
|
1738
|
-
/**
|
|
1739
|
-
* The list of reasons for rejection if the review is a rejection.
|
|
1740
|
-
*/
|
|
1741
|
-
rejectionReasons: Array<V1alpha1RejectionReason>;
|
|
1742
|
-
}
|
|
1743
|
-
|
|
1744
|
-
/**
|
|
1745
|
-
* Accrescent console API
|
|
1746
|
-
*
|
|
1747
|
-
* Contact: contact@accrescent.app
|
|
1748
|
-
*
|
|
1749
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1750
|
-
* https://openapi-generator.tech
|
|
1751
|
-
* Do not edit the class manually.
|
|
1752
|
-
*/
|
|
1753
|
-
|
|
1754
|
-
/**
|
|
1755
|
-
* Request defining parameters for creating an app edit review.
|
|
1756
|
-
*/
|
|
1757
|
-
interface ReviewServiceCreateAppEditReviewBody {
|
|
1758
|
-
/**
|
|
1759
|
-
* Whether the app edit should be approved. If false, it is rejected.
|
|
1760
|
-
*/
|
|
1761
|
-
approved: boolean;
|
|
1762
|
-
/**
|
|
1763
|
-
* The list of reasons for rejection if the review is a rejection.
|
|
1764
|
-
*/
|
|
1765
|
-
rejectionReasons: Array<V1alpha1RejectionReason>;
|
|
1766
|
-
}
|
|
1767
|
-
|
|
1768
|
-
declare class ReviewsService extends BaseService {
|
|
1769
|
-
protected httpClient: HttpClient;
|
|
1770
|
-
constructor(httpClient: HttpClient, basePath: string | string[], configuration?: Configuration);
|
|
1771
|
-
/**
|
|
1772
|
-
* Reviews an app draft.
|
|
1773
|
-
* @endpoint post /grpc/accrescent.console.v1alpha1/app_drafts/{appDraftId}/reviews
|
|
1774
|
-
* @param appDraftId The ID of the app draft to create a review for.
|
|
1775
|
-
* @param body
|
|
1776
|
-
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
1777
|
-
* @param reportProgress flag to report request and response progress.
|
|
1778
|
-
* @param options additional options
|
|
1779
|
-
*/
|
|
1780
|
-
reviewServiceCreateAppDraftReview(appDraftId: string, body: ReviewServiceCreateAppDraftReviewBody, observe?: 'body', reportProgress?: boolean, options?: {
|
|
1781
|
-
httpHeaderAccept?: 'application/json';
|
|
1782
|
-
context?: HttpContext;
|
|
1783
|
-
transferCache?: boolean;
|
|
1784
|
-
}): Observable<object>;
|
|
1785
|
-
reviewServiceCreateAppDraftReview(appDraftId: string, body: ReviewServiceCreateAppDraftReviewBody, observe?: 'response', reportProgress?: boolean, options?: {
|
|
1786
|
-
httpHeaderAccept?: 'application/json';
|
|
1787
|
-
context?: HttpContext;
|
|
1788
|
-
transferCache?: boolean;
|
|
1789
|
-
}): Observable<HttpResponse<object>>;
|
|
1790
|
-
reviewServiceCreateAppDraftReview(appDraftId: string, body: ReviewServiceCreateAppDraftReviewBody, observe?: 'events', reportProgress?: boolean, options?: {
|
|
1791
|
-
httpHeaderAccept?: 'application/json';
|
|
1792
|
-
context?: HttpContext;
|
|
1793
|
-
transferCache?: boolean;
|
|
1794
|
-
}): Observable<HttpEvent<object>>;
|
|
1795
|
-
/**
|
|
1796
|
-
* Reviews an app edit.
|
|
1797
|
-
* @endpoint post /grpc/accrescent.console.v1alpha1/app_edits/{appEditId}/reviews
|
|
1798
|
-
* @param appEditId The ID of the app edit to create a review for.
|
|
1799
|
-
* @param body
|
|
1800
|
-
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
1801
|
-
* @param reportProgress flag to report request and response progress.
|
|
1802
|
-
* @param options additional options
|
|
1803
|
-
*/
|
|
1804
|
-
reviewServiceCreateAppEditReview(appEditId: string, body: ReviewServiceCreateAppEditReviewBody, observe?: 'body', reportProgress?: boolean, options?: {
|
|
1805
|
-
httpHeaderAccept?: 'application/json';
|
|
1806
|
-
context?: HttpContext;
|
|
1807
|
-
transferCache?: boolean;
|
|
1808
|
-
}): Observable<object>;
|
|
1809
|
-
reviewServiceCreateAppEditReview(appEditId: string, body: ReviewServiceCreateAppEditReviewBody, observe?: 'response', reportProgress?: boolean, options?: {
|
|
1810
|
-
httpHeaderAccept?: 'application/json';
|
|
1811
|
-
context?: HttpContext;
|
|
1812
|
-
transferCache?: boolean;
|
|
1813
|
-
}): Observable<HttpResponse<object>>;
|
|
1814
|
-
reviewServiceCreateAppEditReview(appEditId: string, body: ReviewServiceCreateAppEditReviewBody, observe?: 'events', reportProgress?: boolean, options?: {
|
|
1815
|
-
httpHeaderAccept?: 'application/json';
|
|
1816
|
-
context?: HttpContext;
|
|
1817
|
-
transferCache?: boolean;
|
|
1818
|
-
}): Observable<HttpEvent<object>>;
|
|
1819
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ReviewsService, [null, { optional: true; }, { optional: true; }]>;
|
|
1820
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ReviewsService>;
|
|
1821
|
-
}
|
|
1822
|
-
|
|
1823
|
-
/**
|
|
1824
|
-
* Accrescent console API
|
|
1825
|
-
*
|
|
1826
|
-
* Contact: contact@accrescent.app
|
|
1827
|
-
*
|
|
1828
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1829
|
-
* https://openapi-generator.tech
|
|
1830
|
-
* Do not edit the class manually.
|
|
1831
|
-
*/
|
|
1832
|
-
/**
|
|
1833
|
-
* A user authorization role. - USER_ROLE_UNSPECIFIED: The unspecified value. - USER_ROLE_REVIEWER: An app reviewer. - USER_ROLE_PUBLISHER: An app publisher.
|
|
1834
|
-
*/
|
|
1835
|
-
declare const V1alpha1UserRole: {
|
|
1836
|
-
readonly UserRoleUnspecified: "USER_ROLE_UNSPECIFIED";
|
|
1837
|
-
readonly UserRoleReviewer: "USER_ROLE_REVIEWER";
|
|
1838
|
-
readonly UserRolePublisher: "USER_ROLE_PUBLISHER";
|
|
1839
|
-
readonly UnknownDefaultOpenApi: "11184809";
|
|
1840
|
-
};
|
|
1841
|
-
type V1alpha1UserRole = typeof V1alpha1UserRole[keyof typeof V1alpha1UserRole];
|
|
1842
|
-
|
|
1843
|
-
/**
|
|
1844
|
-
* Accrescent console API
|
|
1845
|
-
*
|
|
1846
|
-
* Contact: contact@accrescent.app
|
|
1847
|
-
*
|
|
1848
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1849
|
-
* https://openapi-generator.tech
|
|
1850
|
-
* Do not edit the class manually.
|
|
1851
|
-
*/
|
|
1852
|
-
|
|
1853
|
-
/**
|
|
1854
|
-
* Request defining parameters for updating a user.
|
|
1855
|
-
*/
|
|
1856
|
-
interface UserServiceUpdateUserBody {
|
|
1857
|
-
/**
|
|
1858
|
-
* The user\'s roles.
|
|
1859
|
-
*/
|
|
1860
|
-
roles: Array<V1alpha1UserRole>;
|
|
1861
|
-
/**
|
|
1862
|
-
* The list of fields to update. Required to enforce forward-compatible use by clients.
|
|
1863
|
-
*/
|
|
1864
|
-
updateMask: string;
|
|
1865
|
-
}
|
|
1866
|
-
|
|
1867
|
-
/**
|
|
1868
|
-
* Accrescent console API
|
|
1869
|
-
*
|
|
1870
|
-
* Contact: contact@accrescent.app
|
|
1871
|
-
*
|
|
1872
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1873
|
-
* https://openapi-generator.tech
|
|
1874
|
-
* Do not edit the class manually.
|
|
1875
|
-
*/
|
|
1876
|
-
|
|
1877
|
-
/**
|
|
1878
|
-
* A console user.
|
|
1879
|
-
*/
|
|
1880
|
-
interface V1alpha1User {
|
|
1881
|
-
/**
|
|
1882
|
-
* The user\'s unique ID.
|
|
1883
|
-
*/
|
|
1884
|
-
id: string;
|
|
1885
|
-
/**
|
|
1886
|
-
* The user\'s email.
|
|
1887
|
-
*/
|
|
1888
|
-
email: string;
|
|
1889
|
-
/**
|
|
1890
|
-
* The user\'s roles.
|
|
1891
|
-
*/
|
|
1892
|
-
roles: Array<V1alpha1UserRole>;
|
|
1893
|
-
}
|
|
1894
|
-
|
|
1895
|
-
/**
|
|
1896
|
-
* Accrescent console API
|
|
1897
|
-
*
|
|
1898
|
-
* Contact: contact@accrescent.app
|
|
1899
|
-
*
|
|
1900
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1901
|
-
* https://openapi-generator.tech
|
|
1902
|
-
* Do not edit the class manually.
|
|
1903
|
-
*/
|
|
1904
|
-
|
|
1905
|
-
/**
|
|
1906
|
-
* Response to getting the currently authenticated user.
|
|
1907
|
-
*/
|
|
1908
|
-
interface V1alpha1GetSelfResponse {
|
|
1909
|
-
user: V1alpha1User;
|
|
1910
|
-
}
|
|
1911
|
-
|
|
1912
|
-
declare class UsersService extends BaseService {
|
|
1913
|
-
protected httpClient: HttpClient;
|
|
1914
|
-
constructor(httpClient: HttpClient, basePath: string | string[], configuration?: Configuration);
|
|
1915
|
-
/**
|
|
1916
|
-
* Gets the user info for the currently authenticated user.
|
|
1917
|
-
* @endpoint get /grpc/accrescent.console.v1alpha1/user
|
|
1918
|
-
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
1919
|
-
* @param reportProgress flag to report request and response progress.
|
|
1920
|
-
* @param options additional options
|
|
1921
|
-
*/
|
|
1922
|
-
userServiceGetSelf(observe?: 'body', reportProgress?: boolean, options?: {
|
|
1923
|
-
httpHeaderAccept?: 'application/json';
|
|
1924
|
-
context?: HttpContext;
|
|
1925
|
-
transferCache?: boolean;
|
|
1926
|
-
}): Observable<V1alpha1GetSelfResponse>;
|
|
1927
|
-
userServiceGetSelf(observe?: 'response', reportProgress?: boolean, options?: {
|
|
1928
|
-
httpHeaderAccept?: 'application/json';
|
|
1929
|
-
context?: HttpContext;
|
|
1930
|
-
transferCache?: boolean;
|
|
1931
|
-
}): Observable<HttpResponse<V1alpha1GetSelfResponse>>;
|
|
1932
|
-
userServiceGetSelf(observe?: 'events', reportProgress?: boolean, options?: {
|
|
1933
|
-
httpHeaderAccept?: 'application/json';
|
|
1934
|
-
context?: HttpContext;
|
|
1935
|
-
transferCache?: boolean;
|
|
1936
|
-
}): Observable<HttpEvent<V1alpha1GetSelfResponse>>;
|
|
1937
|
-
/**
|
|
1938
|
-
* Updates a user.
|
|
1939
|
-
* @endpoint patch /grpc/accrescent.console.v1alpha1/users/{userId}
|
|
1940
|
-
* @param userId The ID of the user to update.
|
|
1941
|
-
* @param body
|
|
1942
|
-
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
1943
|
-
* @param reportProgress flag to report request and response progress.
|
|
1944
|
-
* @param options additional options
|
|
1945
|
-
*/
|
|
1946
|
-
userServiceUpdateUser(userId: string, body: UserServiceUpdateUserBody, observe?: 'body', reportProgress?: boolean, options?: {
|
|
1947
|
-
httpHeaderAccept?: 'application/json';
|
|
1948
|
-
context?: HttpContext;
|
|
1949
|
-
transferCache?: boolean;
|
|
1950
|
-
}): Observable<object>;
|
|
1951
|
-
userServiceUpdateUser(userId: string, body: UserServiceUpdateUserBody, observe?: 'response', reportProgress?: boolean, options?: {
|
|
1952
|
-
httpHeaderAccept?: 'application/json';
|
|
1953
|
-
context?: HttpContext;
|
|
1954
|
-
transferCache?: boolean;
|
|
1955
|
-
}): Observable<HttpResponse<object>>;
|
|
1956
|
-
userServiceUpdateUser(userId: string, body: UserServiceUpdateUserBody, observe?: 'events', reportProgress?: boolean, options?: {
|
|
1957
|
-
httpHeaderAccept?: 'application/json';
|
|
1958
|
-
context?: HttpContext;
|
|
1959
|
-
transferCache?: boolean;
|
|
1960
|
-
}): Observable<HttpEvent<object>>;
|
|
1961
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<UsersService, [null, { optional: true; }, { optional: true; }]>;
|
|
1962
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<UsersService>;
|
|
1963
|
-
}
|
|
1964
|
-
|
|
1965
|
-
declare const APIS: (typeof AppDraftsService | typeof AppEditsService | typeof AppsService | typeof OrganizationsService | typeof ReviewsService | typeof UsersService)[];
|
|
1966
|
-
|
|
1967
|
-
declare const BASE_PATH: InjectionToken<string>;
|
|
1968
|
-
declare const COLLECTION_FORMATS: {
|
|
1969
|
-
csv: string;
|
|
1970
|
-
tsv: string;
|
|
1971
|
-
ssv: string;
|
|
1972
|
-
pipes: string;
|
|
1973
|
-
};
|
|
1974
|
-
|
|
1975
|
-
declare class ApiModule {
|
|
1976
|
-
static forRoot(configurationFactory: () => Configuration): ModuleWithProviders<ApiModule>;
|
|
1977
|
-
constructor(parentModule: ApiModule, http: HttpClient);
|
|
1978
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ApiModule, [{ optional: true; skipSelf: true; }, { optional: true; }]>;
|
|
1979
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ApiModule, never, never, never>;
|
|
1980
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<ApiModule>;
|
|
1981
|
-
}
|
|
1982
|
-
|
|
1983
|
-
declare function provideApi(configOrBasePath: string | ConfigurationParameters): EnvironmentProviders;
|
|
1984
|
-
|
|
1985
|
-
export { APIS, ApiModule, AppDraftsService, AppEditsService, AppsService, BASE_PATH, COLLECTION_FORMATS, Configuration, OrganizationsService, ReviewsService, UsersService, V1alpha1UserRole, provideApi };
|
|
1986
|
-
export type { AppDraftServiceCreateAppDraftListingBody, AppDraftServiceUpdateAppDraftBody, AppEditServiceCreateAppEditListingBody, AppEditServiceUpdateAppEditBody, AppServiceUpdateAppBody, ConfigurationParameters, DataFormat, DataType, GoogleLongrunningOperation, Param, ParamLocation, ParamStyle, ProtobufAny, ReviewServiceCreateAppDraftReviewBody, ReviewServiceCreateAppEditReviewBody, RpcStatus, StandardDataFormat, StandardDataType, StandardParamStyle, UserServiceUpdateUserBody, V1alpha1App, V1alpha1AppDraft, V1alpha1AppEdit, V1alpha1AppPackage, V1alpha1CreateAppDraftListingIconUploadOperationResponse, V1alpha1CreateAppDraftRequest, V1alpha1CreateAppDraftResponse, V1alpha1CreateAppDraftUploadOperationResponse, V1alpha1CreateAppEditListingIconUploadOperationResponse, V1alpha1CreateAppEditResponse, V1alpha1CreateAppEditUploadOperationResponse, V1alpha1GetAppDraftDownloadInfoResponse, V1alpha1GetAppDraftListingIconDownloadInfoResponse, V1alpha1GetAppDraftResponse, V1alpha1GetAppEditDownloadInfoResponse, V1alpha1GetAppEditResponse, V1alpha1GetAppResponse, V1alpha1GetOrganizationResponse, V1alpha1GetSelfResponse, V1alpha1ListAppDraftsResponse, V1alpha1ListAppEditsResponse, V1alpha1ListAppsResponse, V1alpha1ListOrganizationsResponse, V1alpha1Organization, V1alpha1PublishAppDraftResponse, V1alpha1RejectionReason, V1alpha1SubmitAppEditResponse, V1alpha1User };
|
|
2
|
+
export { };
|