@accrescent/console-client-sdk-angular 0.10.0 → 0.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/accrescent-console-client-sdk-angular-accrescent-console-v1alpha1.mjs +175 -10
- package/fesm2022/accrescent-console-client-sdk-angular-accrescent-console-v1alpha1.mjs.map +1 -1
- package/package.json +1 -1
- package/types/accrescent-console-client-sdk-angular-accrescent-console-v1alpha1.d.ts +33 -231
|
@@ -132,7 +132,7 @@ const GetAppDraftDownloadInfoResponseSchema = /*@__PURE__*/ messageDesc(file_acc
|
|
|
132
132
|
/**
|
|
133
133
|
* Describes the file accrescent/console/v1alpha1/update_app_draft_request.proto.
|
|
134
134
|
*/
|
|
135
|
-
const file_accrescent_console_v1alpha1_update_app_draft_request = /*@__PURE__*/ fileDesc("
|
|
135
|
+
const file_accrescent_console_v1alpha1_update_app_draft_request = /*@__PURE__*/ fileDesc("CjphY2NyZXNjZW50L2NvbnNvbGUvdjFhbHBoYTEvdXBkYXRlX2FwcF9kcmFmdF9yZXF1ZXN0LnByb3RvEhthY2NyZXNjZW50LmNvbnNvbGUudjFhbHBoYTEi4AEKFVVwZGF0ZUFwcERyYWZ0UmVxdWVzdBIcCgxhcHBfZHJhZnRfaWQYASABKAlCBrpIA8gBARI2ChhkZWZhdWx0X2xpc3RpbmdfbGFuZ3VhZ2UYAiABKAlCD7pIDMgBAXIHUgVlbi1VU0gAiAEBElQKC3VwZGF0ZV9tYXNrGAMgASgLMhouZ29vZ2xlLnByb3RvYnVmLkZpZWxkTWFza0IjukggyAEB4gEaEhhkZWZhdWx0X2xpc3RpbmdfbGFuZ3VhZ2VCGwoZX2RlZmF1bHRfbGlzdGluZ19sYW5ndWFnZUJnCh9hcHAuYWNjcmVzY2VudC5jb25zb2xlLnYxYWxwaGExUAFaQmdvbGFuZy5hY2NyZXNjZW50LmFwcC9nZW5wcm90by9hY2NyZXNjZW50L2NvbnNvbGUvdjFhbHBoYTE7Y29uc29sZWIGcHJvdG8z", [file_buf_validate_validate, file_google_protobuf_field_mask]);
|
|
136
136
|
/**
|
|
137
137
|
* Describes the message accrescent.console.v1alpha1.UpdateAppDraftRequest.
|
|
138
138
|
* Use `create(UpdateAppDraftRequestSchema)` to create a new message.
|
|
@@ -197,7 +197,7 @@ const DeleteAppDraftResponseSchema = /*@__PURE__*/ messageDesc(file_accrescent_c
|
|
|
197
197
|
/**
|
|
198
198
|
* Describes the file accrescent/console/v1alpha1/create_app_draft_listing_request.proto.
|
|
199
199
|
*/
|
|
200
|
-
const file_accrescent_console_v1alpha1_create_app_draft_listing_request = /*@__PURE__*/ fileDesc("
|
|
200
|
+
const file_accrescent_console_v1alpha1_create_app_draft_listing_request = /*@__PURE__*/ fileDesc("CkJhY2NyZXNjZW50L2NvbnNvbGUvdjFhbHBoYTEvY3JlYXRlX2FwcF9kcmFmdF9saXN0aW5nX3JlcXVlc3QucHJvdG8SG2FjY3Jlc2NlbnQuY29uc29sZS52MWFscGhhMSLNAQocQ3JlYXRlQXBwRHJhZnRMaXN0aW5nUmVxdWVzdBIcCgxhcHBfZHJhZnRfaWQYASABKAlCBrpIA8gBARIhCghsYW5ndWFnZRgCIAEoCUIPukgMyAEBcgdSBWVuLVVTEh8KBG5hbWUYAyABKAlCDLpICcgBAXIEEAMYHkgAiAEBEiwKEXNob3J0X2Rlc2NyaXB0aW9uGAQgASgJQgy6SAnIAQFyBBADGFBIAYgBAUIHCgVfbmFtZUIUChJfc2hvcnRfZGVzY3JpcHRpb25CZwofYXBwLmFjY3Jlc2NlbnQuY29uc29sZS52MWFscGhhMVABWkJnb2xhbmcuYWNjcmVzY2VudC5hcHAvZ2VucHJvdG8vYWNjcmVzY2VudC9jb25zb2xlL3YxYWxwaGExO2NvbnNvbGViBnByb3RvMw", [file_buf_validate_validate]);
|
|
201
201
|
/**
|
|
202
202
|
* Describes the message accrescent.console.v1alpha1.CreateAppDraftListingRequest.
|
|
203
203
|
* Use `create(CreateAppDraftListingRequestSchema)` to create a new message.
|
|
@@ -298,7 +298,7 @@ const PublishAppDraftResponseSchema = /*@__PURE__*/ messageDesc(file_accrescent_
|
|
|
298
298
|
// SPDX-FileCopyrightText: © 2025 Logan Magee
|
|
299
299
|
//
|
|
300
300
|
// SPDX-License-Identifier: Apache-2.0
|
|
301
|
-
// @generated by protoc-gen-grpc-angular 0.
|
|
301
|
+
// @generated by protoc-gen-grpc-angular 0.4.1 with parameter "target=ts,valid_responses=true"
|
|
302
302
|
// @generated from file accrescent/console/v1alpha1/app_draft_service.proto (package accrescent.console.v1alpha1, syntax proto3)
|
|
303
303
|
/* eslint-disable */
|
|
304
304
|
const NG_APP_DRAFT_SERVICE_BASE_URL = new InjectionToken("NG_APP_DRAFT_SERVICE_BASE_URL");
|
|
@@ -310,15 +310,30 @@ const NG_APP_DRAFT_SERVICE_BASE_URL = new InjectionToken("NG_APP_DRAFT_SERVICE_B
|
|
|
310
310
|
class NgAppDraftService {
|
|
311
311
|
httpClient = inject(HttpClient);
|
|
312
312
|
baseUrl = inject(NG_APP_DRAFT_SERVICE_BASE_URL, { optional: true }) ?? "";
|
|
313
|
+
/**
|
|
314
|
+
* Creates a new app draft.
|
|
315
|
+
*
|
|
316
|
+
* @generated from rpc accrescent.console.v1alpha1.AppDraftService.CreateAppDraft
|
|
317
|
+
*/
|
|
313
318
|
createAppDraft(request) {
|
|
314
319
|
const url = `${this.baseUrl}/grpc/accrescent.console.v1alpha1/app_drafts`;
|
|
315
320
|
const json = toJson(CreateAppDraftRequestSchema, request);
|
|
316
321
|
return this.httpClient.post(url, json).pipe(map((response) => fromJson(CreateAppDraftResponseSchema, response, { ignoreUnknownFields: true })));
|
|
317
322
|
}
|
|
323
|
+
/**
|
|
324
|
+
* Gets an app draft.
|
|
325
|
+
*
|
|
326
|
+
* @generated from rpc accrescent.console.v1alpha1.AppDraftService.GetAppDraft
|
|
327
|
+
*/
|
|
318
328
|
getAppDraft(request) {
|
|
319
329
|
const url = `${this.baseUrl}/grpc/accrescent.console.v1alpha1/app_drafts/${request.appDraftId}`;
|
|
320
330
|
return this.httpClient.get(url).pipe(map((response) => fromJson(GetAppDraftResponseSchema, response, { ignoreUnknownFields: true })));
|
|
321
331
|
}
|
|
332
|
+
/**
|
|
333
|
+
* Lists app drafts.
|
|
334
|
+
*
|
|
335
|
+
* @generated from rpc accrescent.console.v1alpha1.AppDraftService.ListAppDrafts
|
|
336
|
+
*/
|
|
322
337
|
listAppDrafts(request) {
|
|
323
338
|
const url = `${this.baseUrl}/grpc/accrescent.console.v1alpha1/app_drafts`;
|
|
324
339
|
const params = {};
|
|
@@ -330,52 +345,102 @@ class NgAppDraftService {
|
|
|
330
345
|
params["pageToken"] = request.pageToken;
|
|
331
346
|
return this.httpClient.get(url, { params }).pipe(map((response) => fromJson(ListAppDraftsResponseSchema, response, { ignoreUnknownFields: true })));
|
|
332
347
|
}
|
|
348
|
+
/**
|
|
349
|
+
* Creates an app draft upload operation.
|
|
350
|
+
*
|
|
351
|
+
* @generated from rpc accrescent.console.v1alpha1.AppDraftService.CreateAppDraftUploadOperation
|
|
352
|
+
*/
|
|
333
353
|
createAppDraftUploadOperation(request) {
|
|
334
354
|
const url = `${this.baseUrl}/grpc/accrescent.console.v1alpha1/app_drafts/${request.appDraftId}/upload_operations`;
|
|
335
355
|
const json = toJson(CreateAppDraftUploadOperationRequestSchema, request);
|
|
336
356
|
const { appDraftId: _appDraftId, ...body } = json;
|
|
337
357
|
return this.httpClient.post(url, body).pipe(map((response) => fromJson(CreateAppDraftUploadOperationResponseSchema, response, { ignoreUnknownFields: true })));
|
|
338
358
|
}
|
|
359
|
+
/**
|
|
360
|
+
* Gets an app draft's download info.
|
|
361
|
+
*
|
|
362
|
+
* @generated from rpc accrescent.console.v1alpha1.AppDraftService.GetAppDraftDownloadInfo
|
|
363
|
+
*/
|
|
339
364
|
getAppDraftDownloadInfo(request) {
|
|
340
365
|
const url = `${this.baseUrl}/grpc/accrescent.console.v1alpha1/app_drafts/${request.appDraftId}/download_info`;
|
|
341
366
|
return this.httpClient.get(url).pipe(map((response) => fromJson(GetAppDraftDownloadInfoResponseSchema, response, { ignoreUnknownFields: true })));
|
|
342
367
|
}
|
|
368
|
+
/**
|
|
369
|
+
* Updates an app draft.
|
|
370
|
+
*
|
|
371
|
+
* @generated from rpc accrescent.console.v1alpha1.AppDraftService.UpdateAppDraft
|
|
372
|
+
*/
|
|
343
373
|
updateAppDraft(request) {
|
|
344
374
|
const url = `${this.baseUrl}/grpc/accrescent.console.v1alpha1/app_drafts/${request.appDraftId}`;
|
|
345
375
|
const json = toJson(UpdateAppDraftRequestSchema, request);
|
|
346
376
|
const { appDraftId: _appDraftId, ...body } = json;
|
|
347
377
|
return this.httpClient.patch(url, body).pipe(map((response) => fromJson(UpdateAppDraftResponseSchema, response, { ignoreUnknownFields: true })));
|
|
348
378
|
}
|
|
379
|
+
/**
|
|
380
|
+
* Submits an app draft for review.
|
|
381
|
+
*
|
|
382
|
+
* @generated from rpc accrescent.console.v1alpha1.AppDraftService.SubmitAppDraft
|
|
383
|
+
*/
|
|
349
384
|
submitAppDraft(request) {
|
|
350
385
|
const url = `${this.baseUrl}/grpc/accrescent.console.v1alpha1/app_drafts/${request.appDraftId}:submit`;
|
|
351
386
|
const json = toJson(SubmitAppDraftRequestSchema, request);
|
|
352
387
|
const { appDraftId: _appDraftId, ...body } = json;
|
|
353
388
|
return this.httpClient.post(url, body).pipe(map((response) => fromJson(SubmitAppDraftResponseSchema, response, { ignoreUnknownFields: true })));
|
|
354
389
|
}
|
|
390
|
+
/**
|
|
391
|
+
* Deletes an existing app draft.
|
|
392
|
+
*
|
|
393
|
+
* @generated from rpc accrescent.console.v1alpha1.AppDraftService.DeleteAppDraft
|
|
394
|
+
*/
|
|
355
395
|
deleteAppDraft(request) {
|
|
356
396
|
const url = `${this.baseUrl}/grpc/accrescent.console.v1alpha1/app_drafts/${request.appDraftId}`;
|
|
357
397
|
return this.httpClient.delete(url).pipe(map((response) => fromJson(DeleteAppDraftResponseSchema, response, { ignoreUnknownFields: true })));
|
|
358
398
|
}
|
|
399
|
+
/**
|
|
400
|
+
* Creates a new app listing for an app draft.
|
|
401
|
+
*
|
|
402
|
+
* @generated from rpc accrescent.console.v1alpha1.AppDraftService.CreateAppDraftListing
|
|
403
|
+
*/
|
|
359
404
|
createAppDraftListing(request) {
|
|
360
405
|
const url = `${this.baseUrl}/grpc/accrescent.console.v1alpha1/app_drafts/${request.appDraftId}/listings/${request.language}`;
|
|
361
406
|
const json = toJson(CreateAppDraftListingRequestSchema, request);
|
|
362
407
|
const { appDraftId: _appDraftId, language: _language, ...body } = json;
|
|
363
408
|
return this.httpClient.post(url, body).pipe(map((response) => fromJson(CreateAppDraftListingResponseSchema, response, { ignoreUnknownFields: true })));
|
|
364
409
|
}
|
|
410
|
+
/**
|
|
411
|
+
* Creates an app draft listing icon upload operation.
|
|
412
|
+
*
|
|
413
|
+
* @generated from rpc accrescent.console.v1alpha1.AppDraftService.CreateAppDraftListingIconUploadOperation
|
|
414
|
+
*/
|
|
365
415
|
createAppDraftListingIconUploadOperation(request) {
|
|
366
416
|
const url = `${this.baseUrl}/grpc/accrescent.console.v1alpha1/app_drafts/${request.appDraftId}/listings/${request.language}/icon/upload_operations`;
|
|
367
417
|
const json = toJson(CreateAppDraftListingIconUploadOperationRequestSchema, request);
|
|
368
418
|
const { appDraftId: _appDraftId, language: _language, ...body } = json;
|
|
369
419
|
return this.httpClient.post(url, body).pipe(map((response) => fromJson(CreateAppDraftListingIconUploadOperationResponseSchema, response, { ignoreUnknownFields: true })));
|
|
370
420
|
}
|
|
421
|
+
/**
|
|
422
|
+
* Gets an app draft listing icon's download info.
|
|
423
|
+
*
|
|
424
|
+
* @generated from rpc accrescent.console.v1alpha1.AppDraftService.GetAppDraftListingIconDownloadInfo
|
|
425
|
+
*/
|
|
371
426
|
getAppDraftListingIconDownloadInfo(request) {
|
|
372
427
|
const url = `${this.baseUrl}/grpc/accrescent.console.v1alpha1/app_drafts/${request.appDraftId}/listings/${request.language}/icon/download_info`;
|
|
373
428
|
return this.httpClient.get(url).pipe(map((response) => fromJson(GetAppDraftListingIconDownloadInfoResponseSchema, response, { ignoreUnknownFields: true })));
|
|
374
429
|
}
|
|
430
|
+
/**
|
|
431
|
+
* Deletes an existing app draft listing.
|
|
432
|
+
*
|
|
433
|
+
* @generated from rpc accrescent.console.v1alpha1.AppDraftService.DeleteAppDraftListing
|
|
434
|
+
*/
|
|
375
435
|
deleteAppDraftListing(request) {
|
|
376
436
|
const url = `${this.baseUrl}/grpc/accrescent.console.v1alpha1/app_drafts/${request.appDraftId}/listings/${request.language}`;
|
|
377
437
|
return this.httpClient.delete(url).pipe(map((response) => fromJson(DeleteAppDraftListingResponseSchema, response, { ignoreUnknownFields: true })));
|
|
378
438
|
}
|
|
439
|
+
/**
|
|
440
|
+
* Publishes an app draft to the app store.
|
|
441
|
+
*
|
|
442
|
+
* @generated from rpc accrescent.console.v1alpha1.AppDraftService.PublishAppDraft
|
|
443
|
+
*/
|
|
379
444
|
publishAppDraft(request) {
|
|
380
445
|
const url = `${this.baseUrl}/grpc/accrescent.console.v1alpha1/app_drafts/${request.appDraftId}:publish`;
|
|
381
446
|
const json = toJson(PublishAppDraftRequestSchema, request);
|
|
@@ -592,7 +657,7 @@ const GetAppEditDownloadInfoResponseSchema = /*@__PURE__*/ messageDesc(file_accr
|
|
|
592
657
|
/**
|
|
593
658
|
* Describes the file accrescent/console/v1alpha1/update_app_edit_request.proto.
|
|
594
659
|
*/
|
|
595
|
-
const file_accrescent_console_v1alpha1_update_app_edit_request = /*@__PURE__*/ fileDesc("
|
|
660
|
+
const file_accrescent_console_v1alpha1_update_app_edit_request = /*@__PURE__*/ fileDesc("CjlhY2NyZXNjZW50L2NvbnNvbGUvdjFhbHBoYTEvdXBkYXRlX2FwcF9lZGl0X3JlcXVlc3QucHJvdG8SG2FjY3Jlc2NlbnQuY29uc29sZS52MWFscGhhMSLeAQoUVXBkYXRlQXBwRWRpdFJlcXVlc3QSGwoLYXBwX2VkaXRfaWQYASABKAlCBrpIA8gBARI2ChhkZWZhdWx0X2xpc3RpbmdfbGFuZ3VhZ2UYAiABKAlCD7pIDMgBAXIHUgVlbi1VU0gAiAEBElQKC3VwZGF0ZV9tYXNrGAMgASgLMhouZ29vZ2xlLnByb3RvYnVmLkZpZWxkTWFza0IjukggyAEB4gEaEhhkZWZhdWx0X2xpc3RpbmdfbGFuZ3VhZ2VCGwoZX2RlZmF1bHRfbGlzdGluZ19sYW5ndWFnZUJnCh9hcHAuYWNjcmVzY2VudC5jb25zb2xlLnYxYWxwaGExUAFaQmdvbGFuZy5hY2NyZXNjZW50LmFwcC9nZW5wcm90by9hY2NyZXNjZW50L2NvbnNvbGUvdjFhbHBoYTE7Y29uc29sZWIGcHJvdG8z", [file_buf_validate_validate, file_google_protobuf_field_mask]);
|
|
596
661
|
/**
|
|
597
662
|
* Describes the message accrescent.console.v1alpha1.UpdateAppEditRequest.
|
|
598
663
|
* Use `create(UpdateAppEditRequestSchema)` to create a new message.
|
|
@@ -657,7 +722,7 @@ const DeleteAppEditResponseSchema = /*@__PURE__*/ messageDesc(file_accrescent_co
|
|
|
657
722
|
/**
|
|
658
723
|
* Describes the file accrescent/console/v1alpha1/create_app_edit_listing_request.proto.
|
|
659
724
|
*/
|
|
660
|
-
const file_accrescent_console_v1alpha1_create_app_edit_listing_request = /*@__PURE__*/ fileDesc("
|
|
725
|
+
const file_accrescent_console_v1alpha1_create_app_edit_listing_request = /*@__PURE__*/ fileDesc("CkFhY2NyZXNjZW50L2NvbnNvbGUvdjFhbHBoYTEvY3JlYXRlX2FwcF9lZGl0X2xpc3RpbmdfcmVxdWVzdC5wcm90bxIbYWNjcmVzY2VudC5jb25zb2xlLnYxYWxwaGExIssBChtDcmVhdGVBcHBFZGl0TGlzdGluZ1JlcXVlc3QSGwoLYXBwX2VkaXRfaWQYASABKAlCBrpIA8gBARIhCghsYW5ndWFnZRgCIAEoCUIPukgMyAEBcgdSBWVuLVVTEh8KBG5hbWUYAyABKAlCDLpICcgBAXIEEAMYHkgAiAEBEiwKEXNob3J0X2Rlc2NyaXB0aW9uGAQgASgJQgy6SAnIAQFyBBADGFBIAYgBAUIHCgVfbmFtZUIUChJfc2hvcnRfZGVzY3JpcHRpb25CZwofYXBwLmFjY3Jlc2NlbnQuY29uc29sZS52MWFscGhhMVABWkJnb2xhbmcuYWNjcmVzY2VudC5hcHAvZ2VucHJvdG8vYWNjcmVzY2VudC9jb25zb2xlL3YxYWxwaGExO2NvbnNvbGViBnByb3RvMw", [file_buf_validate_validate]);
|
|
661
726
|
/**
|
|
662
727
|
* Describes the message accrescent.console.v1alpha1.CreateAppEditListingRequest.
|
|
663
728
|
* Use `create(CreateAppEditListingRequestSchema)` to create a new message.
|
|
@@ -706,7 +771,7 @@ const DeleteAppEditListingResponseSchema = /*@__PURE__*/ messageDesc(file_accres
|
|
|
706
771
|
// SPDX-FileCopyrightText: © 2026 Logan Magee
|
|
707
772
|
//
|
|
708
773
|
// SPDX-License-Identifier: Apache-2.0
|
|
709
|
-
// @generated by protoc-gen-grpc-angular 0.
|
|
774
|
+
// @generated by protoc-gen-grpc-angular 0.4.1 with parameter "target=ts,valid_responses=true"
|
|
710
775
|
// @generated from file accrescent/console/v1alpha1/app_edit_service.proto (package accrescent.console.v1alpha1, syntax proto3)
|
|
711
776
|
/* eslint-disable */
|
|
712
777
|
const NG_APP_EDIT_SERVICE_BASE_URL = new InjectionToken("NG_APP_EDIT_SERVICE_BASE_URL");
|
|
@@ -718,16 +783,31 @@ const NG_APP_EDIT_SERVICE_BASE_URL = new InjectionToken("NG_APP_EDIT_SERVICE_BAS
|
|
|
718
783
|
class NgAppEditService {
|
|
719
784
|
httpClient = inject(HttpClient);
|
|
720
785
|
baseUrl = inject(NG_APP_EDIT_SERVICE_BASE_URL, { optional: true }) ?? "";
|
|
786
|
+
/**
|
|
787
|
+
* Creates a new app edit.
|
|
788
|
+
*
|
|
789
|
+
* @generated from rpc accrescent.console.v1alpha1.AppEditService.CreateAppEdit
|
|
790
|
+
*/
|
|
721
791
|
createAppEdit(request) {
|
|
722
792
|
const url = `${this.baseUrl}/grpc/accrescent.console.v1alpha1/apps/${request.appId}/edits`;
|
|
723
793
|
const json = toJson(CreateAppEditRequestSchema, request);
|
|
724
794
|
const { appId: _appId, ...body } = json;
|
|
725
795
|
return this.httpClient.post(url, body).pipe(map((response) => fromJson(CreateAppEditResponseSchema, response, { ignoreUnknownFields: true })));
|
|
726
796
|
}
|
|
797
|
+
/**
|
|
798
|
+
* Gets an app edit.
|
|
799
|
+
*
|
|
800
|
+
* @generated from rpc accrescent.console.v1alpha1.AppEditService.GetAppEdit
|
|
801
|
+
*/
|
|
727
802
|
getAppEdit(request) {
|
|
728
803
|
const url = `${this.baseUrl}/grpc/accrescent.console.v1alpha1/app_edits/${request.appEditId}`;
|
|
729
804
|
return this.httpClient.get(url).pipe(map((response) => fromJson(GetAppEditResponseSchema, response, { ignoreUnknownFields: true })));
|
|
730
805
|
}
|
|
806
|
+
/**
|
|
807
|
+
* Lists app edits.
|
|
808
|
+
*
|
|
809
|
+
* @generated from rpc accrescent.console.v1alpha1.AppEditService.ListAppEdits
|
|
810
|
+
*/
|
|
731
811
|
listAppEdits(request) {
|
|
732
812
|
const url = `${this.baseUrl}/grpc/accrescent.console.v1alpha1/app_edits`;
|
|
733
813
|
const params = {};
|
|
@@ -739,42 +819,82 @@ class NgAppEditService {
|
|
|
739
819
|
params["pageToken"] = request.pageToken;
|
|
740
820
|
return this.httpClient.get(url, { params }).pipe(map((response) => fromJson(ListAppEditsResponseSchema, response, { ignoreUnknownFields: true })));
|
|
741
821
|
}
|
|
822
|
+
/**
|
|
823
|
+
* Creates an app edit upload operation.
|
|
824
|
+
*
|
|
825
|
+
* @generated from rpc accrescent.console.v1alpha1.AppEditService.CreateAppEditUploadOperation
|
|
826
|
+
*/
|
|
742
827
|
createAppEditUploadOperation(request) {
|
|
743
828
|
const url = `${this.baseUrl}/grpc/accrescent.console.v1alpha1/app_edits/${request.appEditId}/upload_operations`;
|
|
744
829
|
const json = toJson(CreateAppEditUploadOperationRequestSchema, request);
|
|
745
830
|
const { appEditId: _appEditId, ...body } = json;
|
|
746
831
|
return this.httpClient.post(url, body).pipe(map((response) => fromJson(CreateAppEditUploadOperationResponseSchema, response, { ignoreUnknownFields: true })));
|
|
747
832
|
}
|
|
833
|
+
/**
|
|
834
|
+
* Gets an app edit's download info.
|
|
835
|
+
*
|
|
836
|
+
* @generated from rpc accrescent.console.v1alpha1.AppEditService.GetAppEditDownloadInfo
|
|
837
|
+
*/
|
|
748
838
|
getAppEditDownloadInfo(request) {
|
|
749
839
|
const url = `${this.baseUrl}/grpc/accrescent.console.v1alpha1/app_edits/${request.appEditId}/download_info`;
|
|
750
840
|
return this.httpClient.get(url).pipe(map((response) => fromJson(GetAppEditDownloadInfoResponseSchema, response, { ignoreUnknownFields: true })));
|
|
751
841
|
}
|
|
842
|
+
/**
|
|
843
|
+
* Updates an app edit.
|
|
844
|
+
*
|
|
845
|
+
* @generated from rpc accrescent.console.v1alpha1.AppEditService.UpdateAppEdit
|
|
846
|
+
*/
|
|
752
847
|
updateAppEdit(request) {
|
|
753
848
|
const url = `${this.baseUrl}/grpc/accrescent.console.v1alpha1/app_edits/${request.appEditId}`;
|
|
754
849
|
const json = toJson(UpdateAppEditRequestSchema, request);
|
|
755
850
|
const { appEditId: _appEditId, ...body } = json;
|
|
756
851
|
return this.httpClient.patch(url, body).pipe(map((response) => fromJson(UpdateAppEditResponseSchema, response, { ignoreUnknownFields: true })));
|
|
757
852
|
}
|
|
853
|
+
/**
|
|
854
|
+
* Submits an app edit.
|
|
855
|
+
*
|
|
856
|
+
* @generated from rpc accrescent.console.v1alpha1.AppEditService.SubmitAppEdit
|
|
857
|
+
*/
|
|
758
858
|
submitAppEdit(request) {
|
|
759
859
|
const url = `${this.baseUrl}/grpc/accrescent.console.v1alpha1/app_edits/${request.appEditId}:submit`;
|
|
760
860
|
const json = toJson(SubmitAppEditRequestSchema, request);
|
|
761
861
|
const { appEditId: _appEditId, ...body } = json;
|
|
762
862
|
return this.httpClient.post(url, body).pipe(map((response) => fromJson(SubmitAppEditResponseSchema, response, { ignoreUnknownFields: true })));
|
|
763
863
|
}
|
|
864
|
+
/**
|
|
865
|
+
* Deletes an app edit.
|
|
866
|
+
*
|
|
867
|
+
* @generated from rpc accrescent.console.v1alpha1.AppEditService.DeleteAppEdit
|
|
868
|
+
*/
|
|
764
869
|
deleteAppEdit(request) {
|
|
765
870
|
const url = `${this.baseUrl}/grpc/accrescent.console.v1alpha1/app_edits/${request.appEditId}`;
|
|
766
871
|
return this.httpClient.delete(url).pipe(map((response) => fromJson(DeleteAppEditResponseSchema, response, { ignoreUnknownFields: true })));
|
|
767
872
|
}
|
|
873
|
+
/**
|
|
874
|
+
* Creates a new app listing for an app edit.
|
|
875
|
+
*
|
|
876
|
+
* @generated from rpc accrescent.console.v1alpha1.AppEditService.CreateAppEditListing
|
|
877
|
+
*/
|
|
768
878
|
createAppEditListing(request) {
|
|
769
879
|
const url = `${this.baseUrl}/grpc/accrescent.console.v1alpha1/app_edits/${request.appEditId}/listings/${request.language}`;
|
|
770
880
|
const json = toJson(CreateAppEditListingRequestSchema, request);
|
|
771
881
|
const { appEditId: _appEditId, language: _language, ...body } = json;
|
|
772
882
|
return this.httpClient.post(url, body).pipe(map((response) => fromJson(CreateAppEditListingResponseSchema, response, { ignoreUnknownFields: true })));
|
|
773
883
|
}
|
|
884
|
+
/**
|
|
885
|
+
* Creates an app edit listing icon upload operation.
|
|
886
|
+
*
|
|
887
|
+
* @generated from rpc accrescent.console.v1alpha1.AppEditService.CreateAppEditListingIconUploadOperation
|
|
888
|
+
*/
|
|
774
889
|
createAppEditListingIconUploadOperation(request) {
|
|
775
890
|
const url = `${this.baseUrl}/grpc/accrescent.console.v1alpha1/app_edits/${request.appEditId}/listings/${request.language}/icon/upload_operations`;
|
|
776
891
|
return this.httpClient.post(url, null).pipe(map((response) => fromJson(CreateAppEditListingIconUploadOperationResponseSchema, response, { ignoreUnknownFields: true })));
|
|
777
892
|
}
|
|
893
|
+
/**
|
|
894
|
+
* Deletes an existing app edit listing.
|
|
895
|
+
*
|
|
896
|
+
* @generated from rpc accrescent.console.v1alpha1.AppEditService.DeleteAppEditListing
|
|
897
|
+
*/
|
|
778
898
|
deleteAppEditListing(request) {
|
|
779
899
|
const url = `${this.baseUrl}/grpc/accrescent.console.v1alpha1/app_edits/${request.appEditId}/listings/${request.language}`;
|
|
780
900
|
return this.httpClient.delete(url).pipe(map((response) => fromJson(DeleteAppEditListingResponseSchema, response, { ignoreUnknownFields: true })));
|
|
@@ -947,7 +1067,7 @@ const UpdateAppResponseSchema = /*@__PURE__*/ messageDesc(file_accrescent_consol
|
|
|
947
1067
|
// SPDX-FileCopyrightText: © 2026 Logan Magee
|
|
948
1068
|
//
|
|
949
1069
|
// SPDX-License-Identifier: Apache-2.0
|
|
950
|
-
// @generated by protoc-gen-grpc-angular 0.
|
|
1070
|
+
// @generated by protoc-gen-grpc-angular 0.4.1 with parameter "target=ts,valid_responses=true"
|
|
951
1071
|
// @generated from file accrescent/console/v1alpha1/app_service.proto (package accrescent.console.v1alpha1, syntax proto3)
|
|
952
1072
|
/* eslint-disable */
|
|
953
1073
|
const NG_APP_SERVICE_BASE_URL = new InjectionToken("NG_APP_SERVICE_BASE_URL");
|
|
@@ -959,10 +1079,20 @@ const NG_APP_SERVICE_BASE_URL = new InjectionToken("NG_APP_SERVICE_BASE_URL");
|
|
|
959
1079
|
class NgAppService {
|
|
960
1080
|
httpClient = inject(HttpClient);
|
|
961
1081
|
baseUrl = inject(NG_APP_SERVICE_BASE_URL, { optional: true }) ?? "";
|
|
1082
|
+
/**
|
|
1083
|
+
* Gets a published app.
|
|
1084
|
+
*
|
|
1085
|
+
* @generated from rpc accrescent.console.v1alpha1.AppService.GetApp
|
|
1086
|
+
*/
|
|
962
1087
|
getApp(request) {
|
|
963
1088
|
const url = `${this.baseUrl}/grpc/accrescent.console.v1alpha1/apps/${request.appId}`;
|
|
964
1089
|
return this.httpClient.get(url).pipe(map((response) => fromJson(GetAppResponseSchema, response, { ignoreUnknownFields: true })));
|
|
965
1090
|
}
|
|
1091
|
+
/**
|
|
1092
|
+
* Lists published apps.
|
|
1093
|
+
*
|
|
1094
|
+
* @generated from rpc accrescent.console.v1alpha1.AppService.ListApps
|
|
1095
|
+
*/
|
|
966
1096
|
listApps(request) {
|
|
967
1097
|
const url = `${this.baseUrl}/grpc/accrescent.console.v1alpha1/apps`;
|
|
968
1098
|
const params = {};
|
|
@@ -974,6 +1104,11 @@ class NgAppService {
|
|
|
974
1104
|
params["pageToken"] = request.pageToken;
|
|
975
1105
|
return this.httpClient.get(url, { params }).pipe(map((response) => fromJson(ListAppsResponseSchema, response, { ignoreUnknownFields: true })));
|
|
976
1106
|
}
|
|
1107
|
+
/**
|
|
1108
|
+
* Updates a published app.
|
|
1109
|
+
*
|
|
1110
|
+
* @generated from rpc accrescent.console.v1alpha1.AppService.UpdateApp
|
|
1111
|
+
*/
|
|
977
1112
|
updateApp(request) {
|
|
978
1113
|
const url = `${this.baseUrl}/grpc/accrescent.console.v1alpha1/apps/${request.appId}`;
|
|
979
1114
|
const json = toJson(UpdateAppRequestSchema, request);
|
|
@@ -1458,7 +1593,7 @@ const ListOrganizationsResponseSchema = /*@__PURE__*/ messageDesc(file_accrescen
|
|
|
1458
1593
|
// SPDX-FileCopyrightText: © 2025 Logan Magee
|
|
1459
1594
|
//
|
|
1460
1595
|
// SPDX-License-Identifier: Apache-2.0
|
|
1461
|
-
// @generated by protoc-gen-grpc-angular 0.
|
|
1596
|
+
// @generated by protoc-gen-grpc-angular 0.4.1 with parameter "target=ts,valid_responses=true"
|
|
1462
1597
|
// @generated from file accrescent/console/v1alpha1/organization_service.proto (package accrescent.console.v1alpha1, syntax proto3)
|
|
1463
1598
|
/* eslint-disable */
|
|
1464
1599
|
const NG_ORGANIZATION_SERVICE_BASE_URL = new InjectionToken("NG_ORGANIZATION_SERVICE_BASE_URL");
|
|
@@ -1470,10 +1605,20 @@ const NG_ORGANIZATION_SERVICE_BASE_URL = new InjectionToken("NG_ORGANIZATION_SER
|
|
|
1470
1605
|
class NgOrganizationService {
|
|
1471
1606
|
httpClient = inject(HttpClient);
|
|
1472
1607
|
baseUrl = inject(NG_ORGANIZATION_SERVICE_BASE_URL, { optional: true }) ?? "";
|
|
1608
|
+
/**
|
|
1609
|
+
* Gets an organization.
|
|
1610
|
+
*
|
|
1611
|
+
* @generated from rpc accrescent.console.v1alpha1.OrganizationService.GetOrganization
|
|
1612
|
+
*/
|
|
1473
1613
|
getOrganization(request) {
|
|
1474
1614
|
const url = `${this.baseUrl}/grpc/accrescent.console.v1alpha1/organizations/${request.organizationId}`;
|
|
1475
1615
|
return this.httpClient.get(url).pipe(map((response) => fromJson(GetOrganizationResponseSchema, response, { ignoreUnknownFields: true })));
|
|
1476
1616
|
}
|
|
1617
|
+
/**
|
|
1618
|
+
* Lists organizations.
|
|
1619
|
+
*
|
|
1620
|
+
* @generated from rpc accrescent.console.v1alpha1.OrganizationService.ListOrganizations
|
|
1621
|
+
*/
|
|
1477
1622
|
listOrganizations(request) {
|
|
1478
1623
|
const url = `${this.baseUrl}/grpc/accrescent.console.v1alpha1/organizations`;
|
|
1479
1624
|
const params = {};
|
|
@@ -1534,7 +1679,7 @@ const PublishAppEditResultSchema = /*@__PURE__*/ messageDesc(file_accrescent_con
|
|
|
1534
1679
|
// SPDX-FileCopyrightText: © 2025 Logan Magee
|
|
1535
1680
|
//
|
|
1536
1681
|
// SPDX-License-Identifier: Apache-2.0
|
|
1537
|
-
// @generated by protoc-gen-grpc-angular 0.
|
|
1682
|
+
// @generated by protoc-gen-grpc-angular 0.4.1 with parameter "target=ts,valid_responses=true"
|
|
1538
1683
|
// @generated from file accrescent/console/v1alpha1/review_service.proto (package accrescent.console.v1alpha1, syntax proto3)
|
|
1539
1684
|
/* eslint-disable */
|
|
1540
1685
|
const NG_REVIEW_SERVICE_BASE_URL = new InjectionToken("NG_REVIEW_SERVICE_BASE_URL");
|
|
@@ -1547,12 +1692,22 @@ const NG_REVIEW_SERVICE_BASE_URL = new InjectionToken("NG_REVIEW_SERVICE_BASE_UR
|
|
|
1547
1692
|
class NgReviewService {
|
|
1548
1693
|
httpClient = inject(HttpClient);
|
|
1549
1694
|
baseUrl = inject(NG_REVIEW_SERVICE_BASE_URL, { optional: true }) ?? "";
|
|
1695
|
+
/**
|
|
1696
|
+
* Reviews an app draft.
|
|
1697
|
+
*
|
|
1698
|
+
* @generated from rpc accrescent.console.v1alpha1.ReviewService.CreateAppDraftReview
|
|
1699
|
+
*/
|
|
1550
1700
|
createAppDraftReview(request) {
|
|
1551
1701
|
const url = `${this.baseUrl}/grpc/accrescent.console.v1alpha1/app_drafts/${request.appDraftId}/reviews`;
|
|
1552
1702
|
const json = toJson(CreateAppDraftReviewRequestSchema, request);
|
|
1553
1703
|
const { appDraftId: _appDraftId, ...body } = json;
|
|
1554
1704
|
return this.httpClient.post(url, body).pipe(map((response) => fromJson(CreateAppDraftReviewResponseSchema, response, { ignoreUnknownFields: true })));
|
|
1555
1705
|
}
|
|
1706
|
+
/**
|
|
1707
|
+
* Reviews an app edit.
|
|
1708
|
+
*
|
|
1709
|
+
* @generated from rpc accrescent.console.v1alpha1.ReviewService.CreateAppEditReview
|
|
1710
|
+
*/
|
|
1556
1711
|
createAppEditReview(request) {
|
|
1557
1712
|
const url = `${this.baseUrl}/grpc/accrescent.console.v1alpha1/app_edits/${request.appEditId}/reviews`;
|
|
1558
1713
|
const json = toJson(CreateAppEditReviewRequestSchema, request);
|
|
@@ -1663,7 +1818,7 @@ const UploadAppEditResultSchema = /*@__PURE__*/ messageDesc(file_accrescent_cons
|
|
|
1663
1818
|
// SPDX-FileCopyrightText: © 2025 Logan Magee
|
|
1664
1819
|
//
|
|
1665
1820
|
// SPDX-License-Identifier: Apache-2.0
|
|
1666
|
-
// @generated by protoc-gen-grpc-angular 0.
|
|
1821
|
+
// @generated by protoc-gen-grpc-angular 0.4.1 with parameter "target=ts,valid_responses=true"
|
|
1667
1822
|
// @generated from file accrescent/console/v1alpha1/user_service.proto (package accrescent.console.v1alpha1, syntax proto3)
|
|
1668
1823
|
/* eslint-disable */
|
|
1669
1824
|
const NG_USER_SERVICE_BASE_URL = new InjectionToken("NG_USER_SERVICE_BASE_URL");
|
|
@@ -1675,10 +1830,20 @@ const NG_USER_SERVICE_BASE_URL = new InjectionToken("NG_USER_SERVICE_BASE_URL");
|
|
|
1675
1830
|
class NgUserService {
|
|
1676
1831
|
httpClient = inject(HttpClient);
|
|
1677
1832
|
baseUrl = inject(NG_USER_SERVICE_BASE_URL, { optional: true }) ?? "";
|
|
1833
|
+
/**
|
|
1834
|
+
* Gets the user info for the currently authenticated user.
|
|
1835
|
+
*
|
|
1836
|
+
* @generated from rpc accrescent.console.v1alpha1.UserService.GetSelf
|
|
1837
|
+
*/
|
|
1678
1838
|
getSelf(request) {
|
|
1679
1839
|
const url = `${this.baseUrl}/grpc/accrescent.console.v1alpha1/user`;
|
|
1680
1840
|
return this.httpClient.get(url).pipe(map((response) => fromJson(GetSelfResponseSchema, response, { ignoreUnknownFields: true })));
|
|
1681
1841
|
}
|
|
1842
|
+
/**
|
|
1843
|
+
* Updates a user.
|
|
1844
|
+
*
|
|
1845
|
+
* @generated from rpc accrescent.console.v1alpha1.UserService.UpdateUser
|
|
1846
|
+
*/
|
|
1682
1847
|
updateUser(request) {
|
|
1683
1848
|
const url = `${this.baseUrl}/grpc/accrescent.console.v1alpha1/users/${request.userId}`;
|
|
1684
1849
|
const json = toJson(UpdateUserRequestSchema, request);
|