@accrescent/console-client-sdk-angular 0.6.1 → 0.8.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.
Files changed (21) hide show
  1. package/LICENSE +201 -0
  2. package/fesm2022/accrescent-console-client-sdk-angular-accrescent-console-v1alpha1.mjs +1880 -0
  3. package/fesm2022/accrescent-console-client-sdk-angular-accrescent-console-v1alpha1.mjs.map +1 -0
  4. package/fesm2022/accrescent-console-client-sdk-angular-buf-validate.mjs +364 -0
  5. package/fesm2022/accrescent-console-client-sdk-angular-buf-validate.mjs.map +1 -0
  6. package/fesm2022/accrescent-console-client-sdk-angular-google-api.mjs +584 -0
  7. package/fesm2022/accrescent-console-client-sdk-angular-google-api.mjs.map +1 -0
  8. package/fesm2022/accrescent-console-client-sdk-angular-google-longrunning.mjs +94 -0
  9. package/fesm2022/accrescent-console-client-sdk-angular-google-longrunning.mjs.map +1 -0
  10. package/fesm2022/accrescent-console-client-sdk-angular-google-rpc.mjs +32 -0
  11. package/fesm2022/accrescent-console-client-sdk-angular-google-rpc.mjs.map +1 -0
  12. package/fesm2022/accrescent-console-client-sdk-angular.mjs +3 -2282
  13. package/fesm2022/accrescent-console-client-sdk-angular.mjs.map +1 -1
  14. package/package.json +27 -10
  15. package/types/accrescent-console-client-sdk-angular-accrescent-console-v1alpha1.d.ts +3021 -0
  16. package/types/accrescent-console-client-sdk-angular-buf-validate.d.ts +4770 -0
  17. package/types/accrescent-console-client-sdk-angular-google-api.d.ts +1489 -0
  18. package/types/accrescent-console-client-sdk-angular-google-longrunning.d.ts +401 -0
  19. package/types/accrescent-console-client-sdk-angular-google-rpc.d.ts +52 -0
  20. package/types/accrescent-console-client-sdk-angular.d.ts +1 -1977
  21. package/README.md +0 -185
@@ -1,1978 +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\&#39;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\&#39;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\&#39;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\&#39;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\&#39;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
-
1598
- /**
1599
- * Accrescent console API
1600
- *
1601
- * Contact: contact@accrescent.app
1602
- *
1603
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1604
- * https://openapi-generator.tech
1605
- * Do not edit the class manually.
1606
- */
1607
-
1608
- /**
1609
- * Response to getting an organization.
1610
- */
1611
- interface V1alpha1GetOrganizationResponse {
1612
- organization: V1alpha1Organization;
1613
- }
1614
-
1615
- /**
1616
- * Accrescent console API
1617
- *
1618
- * Contact: contact@accrescent.app
1619
- *
1620
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1621
- * https://openapi-generator.tech
1622
- * Do not edit the class manually.
1623
- */
1624
-
1625
- /**
1626
- * Response to listing organizations.
1627
- */
1628
- interface V1alpha1ListOrganizationsResponse {
1629
- /**
1630
- * The organizations matching the request parameters.
1631
- */
1632
- organizations: Array<V1alpha1Organization>;
1633
- /**
1634
- * An opaque token which, if passed to another invocation of ListOrganizations, will return the next page of organizations.
1635
- */
1636
- nextPageToken?: string;
1637
- }
1638
-
1639
- declare class OrganizationsService extends BaseService {
1640
- protected httpClient: HttpClient;
1641
- constructor(httpClient: HttpClient, basePath: string | string[], configuration?: Configuration);
1642
- /**
1643
- * Gets an organization.
1644
- * @endpoint get /grpc/accrescent.console.v1alpha1/organizations/{organizationId}
1645
- * @param organizationId The ID of the organization to retrieve.
1646
- * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
1647
- * @param reportProgress flag to report request and response progress.
1648
- * @param options additional options
1649
- */
1650
- organizationServiceGetOrganization(organizationId: string, observe?: 'body', reportProgress?: boolean, options?: {
1651
- httpHeaderAccept?: 'application/json';
1652
- context?: HttpContext;
1653
- transferCache?: boolean;
1654
- }): Observable<V1alpha1GetOrganizationResponse>;
1655
- organizationServiceGetOrganization(organizationId: string, observe?: 'response', reportProgress?: boolean, options?: {
1656
- httpHeaderAccept?: 'application/json';
1657
- context?: HttpContext;
1658
- transferCache?: boolean;
1659
- }): Observable<HttpResponse<V1alpha1GetOrganizationResponse>>;
1660
- organizationServiceGetOrganization(organizationId: string, observe?: 'events', reportProgress?: boolean, options?: {
1661
- httpHeaderAccept?: 'application/json';
1662
- context?: HttpContext;
1663
- transferCache?: boolean;
1664
- }): Observable<HttpEvent<V1alpha1GetOrganizationResponse>>;
1665
- /**
1666
- * Lists organizations.
1667
- * @endpoint get /grpc/accrescent.console.v1alpha1/organizations
1668
- * @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.
1669
- * @param pageToken An opaque page continuation token returned in a previous ListOrganizationsResponse. If unspecified, the first page is returned.
1670
- * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
1671
- * @param reportProgress flag to report request and response progress.
1672
- * @param options additional options
1673
- */
1674
- organizationServiceListOrganizations(pageSize?: number, pageToken?: string, observe?: 'body', reportProgress?: boolean, options?: {
1675
- httpHeaderAccept?: 'application/json';
1676
- context?: HttpContext;
1677
- transferCache?: boolean;
1678
- }): Observable<V1alpha1ListOrganizationsResponse>;
1679
- organizationServiceListOrganizations(pageSize?: number, pageToken?: string, observe?: 'response', reportProgress?: boolean, options?: {
1680
- httpHeaderAccept?: 'application/json';
1681
- context?: HttpContext;
1682
- transferCache?: boolean;
1683
- }): Observable<HttpResponse<V1alpha1ListOrganizationsResponse>>;
1684
- organizationServiceListOrganizations(pageSize?: number, pageToken?: string, observe?: 'events', reportProgress?: boolean, options?: {
1685
- httpHeaderAccept?: 'application/json';
1686
- context?: HttpContext;
1687
- transferCache?: boolean;
1688
- }): Observable<HttpEvent<V1alpha1ListOrganizationsResponse>>;
1689
- static ɵfac: i0.ɵɵFactoryDeclaration<OrganizationsService, [null, { optional: true; }, { optional: true; }]>;
1690
- static ɵprov: i0.ɵɵInjectableDeclaration<OrganizationsService>;
1691
- }
1692
-
1693
- /**
1694
- * Accrescent console API
1695
- *
1696
- * Contact: contact@accrescent.app
1697
- *
1698
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1699
- * https://openapi-generator.tech
1700
- * Do not edit the class manually.
1701
- */
1702
- /**
1703
- * A reason for rejecting the item in review.
1704
- */
1705
- interface V1alpha1RejectionReason {
1706
- /**
1707
- * The English explanation of the rejection reason.
1708
- */
1709
- reason: string;
1710
- }
1711
-
1712
- /**
1713
- * Accrescent console API
1714
- *
1715
- * Contact: contact@accrescent.app
1716
- *
1717
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1718
- * https://openapi-generator.tech
1719
- * Do not edit the class manually.
1720
- */
1721
-
1722
- /**
1723
- * Request defining parameters for creating an app draft review.
1724
- */
1725
- interface ReviewServiceCreateAppDraftReviewBody {
1726
- /**
1727
- * Whether the app draft should be approved. If false, it is rejected.
1728
- */
1729
- approved: boolean;
1730
- /**
1731
- * The list of reasons for rejection if the review is a rejection.
1732
- */
1733
- rejectionReasons: Array<V1alpha1RejectionReason>;
1734
- }
1735
-
1736
- /**
1737
- * Accrescent console API
1738
- *
1739
- * Contact: contact@accrescent.app
1740
- *
1741
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1742
- * https://openapi-generator.tech
1743
- * Do not edit the class manually.
1744
- */
1745
-
1746
- /**
1747
- * Request defining parameters for creating an app edit review.
1748
- */
1749
- interface ReviewServiceCreateAppEditReviewBody {
1750
- /**
1751
- * Whether the app edit should be approved. If false, it is rejected.
1752
- */
1753
- approved: boolean;
1754
- /**
1755
- * The list of reasons for rejection if the review is a rejection.
1756
- */
1757
- rejectionReasons: Array<V1alpha1RejectionReason>;
1758
- }
1759
-
1760
- declare class ReviewsService extends BaseService {
1761
- protected httpClient: HttpClient;
1762
- constructor(httpClient: HttpClient, basePath: string | string[], configuration?: Configuration);
1763
- /**
1764
- * Reviews an app draft.
1765
- * @endpoint post /grpc/accrescent.console.v1alpha1/app_drafts/{appDraftId}/reviews
1766
- * @param appDraftId The ID of the app draft to create a review for.
1767
- * @param body
1768
- * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
1769
- * @param reportProgress flag to report request and response progress.
1770
- * @param options additional options
1771
- */
1772
- reviewServiceCreateAppDraftReview(appDraftId: string, body: ReviewServiceCreateAppDraftReviewBody, observe?: 'body', reportProgress?: boolean, options?: {
1773
- httpHeaderAccept?: 'application/json';
1774
- context?: HttpContext;
1775
- transferCache?: boolean;
1776
- }): Observable<object>;
1777
- reviewServiceCreateAppDraftReview(appDraftId: string, body: ReviewServiceCreateAppDraftReviewBody, observe?: 'response', reportProgress?: boolean, options?: {
1778
- httpHeaderAccept?: 'application/json';
1779
- context?: HttpContext;
1780
- transferCache?: boolean;
1781
- }): Observable<HttpResponse<object>>;
1782
- reviewServiceCreateAppDraftReview(appDraftId: string, body: ReviewServiceCreateAppDraftReviewBody, observe?: 'events', reportProgress?: boolean, options?: {
1783
- httpHeaderAccept?: 'application/json';
1784
- context?: HttpContext;
1785
- transferCache?: boolean;
1786
- }): Observable<HttpEvent<object>>;
1787
- /**
1788
- * Reviews an app edit.
1789
- * @endpoint post /grpc/accrescent.console.v1alpha1/app_edits/{appEditId}/reviews
1790
- * @param appEditId The ID of the app edit to create a review for.
1791
- * @param body
1792
- * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
1793
- * @param reportProgress flag to report request and response progress.
1794
- * @param options additional options
1795
- */
1796
- reviewServiceCreateAppEditReview(appEditId: string, body: ReviewServiceCreateAppEditReviewBody, observe?: 'body', reportProgress?: boolean, options?: {
1797
- httpHeaderAccept?: 'application/json';
1798
- context?: HttpContext;
1799
- transferCache?: boolean;
1800
- }): Observable<object>;
1801
- reviewServiceCreateAppEditReview(appEditId: string, body: ReviewServiceCreateAppEditReviewBody, observe?: 'response', reportProgress?: boolean, options?: {
1802
- httpHeaderAccept?: 'application/json';
1803
- context?: HttpContext;
1804
- transferCache?: boolean;
1805
- }): Observable<HttpResponse<object>>;
1806
- reviewServiceCreateAppEditReview(appEditId: string, body: ReviewServiceCreateAppEditReviewBody, observe?: 'events', reportProgress?: boolean, options?: {
1807
- httpHeaderAccept?: 'application/json';
1808
- context?: HttpContext;
1809
- transferCache?: boolean;
1810
- }): Observable<HttpEvent<object>>;
1811
- static ɵfac: i0.ɵɵFactoryDeclaration<ReviewsService, [null, { optional: true; }, { optional: true; }]>;
1812
- static ɵprov: i0.ɵɵInjectableDeclaration<ReviewsService>;
1813
- }
1814
-
1815
- /**
1816
- * Accrescent console API
1817
- *
1818
- * Contact: contact@accrescent.app
1819
- *
1820
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1821
- * https://openapi-generator.tech
1822
- * Do not edit the class manually.
1823
- */
1824
- /**
1825
- * A user authorization role. - USER_ROLE_UNSPECIFIED: The unspecified value. - USER_ROLE_REVIEWER: An app reviewer. - USER_ROLE_PUBLISHER: An app publisher.
1826
- */
1827
- declare const V1alpha1UserRole: {
1828
- readonly UserRoleUnspecified: "USER_ROLE_UNSPECIFIED";
1829
- readonly UserRoleReviewer: "USER_ROLE_REVIEWER";
1830
- readonly UserRolePublisher: "USER_ROLE_PUBLISHER";
1831
- readonly UnknownDefaultOpenApi: "11184809";
1832
- };
1833
- type V1alpha1UserRole = typeof V1alpha1UserRole[keyof typeof V1alpha1UserRole];
1834
-
1835
- /**
1836
- * Accrescent console API
1837
- *
1838
- * Contact: contact@accrescent.app
1839
- *
1840
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1841
- * https://openapi-generator.tech
1842
- * Do not edit the class manually.
1843
- */
1844
-
1845
- /**
1846
- * Request defining parameters for updating a user.
1847
- */
1848
- interface UserServiceUpdateUserBody {
1849
- /**
1850
- * The user\'s roles.
1851
- */
1852
- roles: Array<V1alpha1UserRole>;
1853
- /**
1854
- * The list of fields to update. Required to enforce forward-compatible use by clients.
1855
- */
1856
- updateMask: string;
1857
- }
1858
-
1859
- /**
1860
- * Accrescent console API
1861
- *
1862
- * Contact: contact@accrescent.app
1863
- *
1864
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1865
- * https://openapi-generator.tech
1866
- * Do not edit the class manually.
1867
- */
1868
-
1869
- /**
1870
- * A console user.
1871
- */
1872
- interface V1alpha1User {
1873
- /**
1874
- * The user\'s unique ID.
1875
- */
1876
- id: string;
1877
- /**
1878
- * The user\'s email.
1879
- */
1880
- email: string;
1881
- /**
1882
- * The user\'s roles.
1883
- */
1884
- roles: Array<V1alpha1UserRole>;
1885
- }
1886
-
1887
- /**
1888
- * Accrescent console API
1889
- *
1890
- * Contact: contact@accrescent.app
1891
- *
1892
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1893
- * https://openapi-generator.tech
1894
- * Do not edit the class manually.
1895
- */
1896
-
1897
- /**
1898
- * Response to getting the currently authenticated user.
1899
- */
1900
- interface V1alpha1GetSelfResponse {
1901
- user: V1alpha1User;
1902
- }
1903
-
1904
- declare class UsersService extends BaseService {
1905
- protected httpClient: HttpClient;
1906
- constructor(httpClient: HttpClient, basePath: string | string[], configuration?: Configuration);
1907
- /**
1908
- * Gets the user info for the currently authenticated user.
1909
- * @endpoint get /grpc/accrescent.console.v1alpha1/user
1910
- * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
1911
- * @param reportProgress flag to report request and response progress.
1912
- * @param options additional options
1913
- */
1914
- userServiceGetSelf(observe?: 'body', reportProgress?: boolean, options?: {
1915
- httpHeaderAccept?: 'application/json';
1916
- context?: HttpContext;
1917
- transferCache?: boolean;
1918
- }): Observable<V1alpha1GetSelfResponse>;
1919
- userServiceGetSelf(observe?: 'response', reportProgress?: boolean, options?: {
1920
- httpHeaderAccept?: 'application/json';
1921
- context?: HttpContext;
1922
- transferCache?: boolean;
1923
- }): Observable<HttpResponse<V1alpha1GetSelfResponse>>;
1924
- userServiceGetSelf(observe?: 'events', reportProgress?: boolean, options?: {
1925
- httpHeaderAccept?: 'application/json';
1926
- context?: HttpContext;
1927
- transferCache?: boolean;
1928
- }): Observable<HttpEvent<V1alpha1GetSelfResponse>>;
1929
- /**
1930
- * Updates a user.
1931
- * @endpoint patch /grpc/accrescent.console.v1alpha1/users/{userId}
1932
- * @param userId The ID of the user to update.
1933
- * @param body
1934
- * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
1935
- * @param reportProgress flag to report request and response progress.
1936
- * @param options additional options
1937
- */
1938
- userServiceUpdateUser(userId: string, body: UserServiceUpdateUserBody, observe?: 'body', reportProgress?: boolean, options?: {
1939
- httpHeaderAccept?: 'application/json';
1940
- context?: HttpContext;
1941
- transferCache?: boolean;
1942
- }): Observable<object>;
1943
- userServiceUpdateUser(userId: string, body: UserServiceUpdateUserBody, observe?: 'response', reportProgress?: boolean, options?: {
1944
- httpHeaderAccept?: 'application/json';
1945
- context?: HttpContext;
1946
- transferCache?: boolean;
1947
- }): Observable<HttpResponse<object>>;
1948
- userServiceUpdateUser(userId: string, body: UserServiceUpdateUserBody, observe?: 'events', reportProgress?: boolean, options?: {
1949
- httpHeaderAccept?: 'application/json';
1950
- context?: HttpContext;
1951
- transferCache?: boolean;
1952
- }): Observable<HttpEvent<object>>;
1953
- static ɵfac: i0.ɵɵFactoryDeclaration<UsersService, [null, { optional: true; }, { optional: true; }]>;
1954
- static ɵprov: i0.ɵɵInjectableDeclaration<UsersService>;
1955
- }
1956
-
1957
- declare const APIS: (typeof AppDraftsService | typeof AppEditsService | typeof AppsService | typeof OrganizationsService | typeof ReviewsService | typeof UsersService)[];
1958
-
1959
- declare const BASE_PATH: InjectionToken<string>;
1960
- declare const COLLECTION_FORMATS: {
1961
- csv: string;
1962
- tsv: string;
1963
- ssv: string;
1964
- pipes: string;
1965
- };
1966
-
1967
- declare class ApiModule {
1968
- static forRoot(configurationFactory: () => Configuration): ModuleWithProviders<ApiModule>;
1969
- constructor(parentModule: ApiModule, http: HttpClient);
1970
- static ɵfac: i0.ɵɵFactoryDeclaration<ApiModule, [{ optional: true; skipSelf: true; }, { optional: true; }]>;
1971
- static ɵmod: i0.ɵɵNgModuleDeclaration<ApiModule, never, never, never>;
1972
- static ɵinj: i0.ɵɵInjectorDeclaration<ApiModule>;
1973
- }
1974
-
1975
- declare function provideApi(configOrBasePath: string | ConfigurationParameters): EnvironmentProviders;
1976
-
1977
- export { APIS, ApiModule, AppDraftsService, AppEditsService, AppsService, BASE_PATH, COLLECTION_FORMATS, Configuration, OrganizationsService, ReviewsService, UsersService, V1alpha1UserRole, provideApi };
1978
- 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 { };