@accrescent/console-client-sdk-angular 0.1.0 → 0.3.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@accrescent/console-client-sdk-angular",
3
- "version": "0.1.0",
3
+ "version": "0.3.0",
4
4
  "description": "OpenAPI client for @accrescent/console-client-sdk-angular",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {
@@ -13,17 +13,17 @@
13
13
  ],
14
14
  "license": "Apache-2.0",
15
15
  "peerDependencies": {
16
- "@angular/core": "^20.0.0",
16
+ "@angular/core": "^21.0.0",
17
17
  "rxjs": "^7.4.0"
18
18
  },
19
19
  "module": "fesm2022/accrescent-console-client-sdk-angular.mjs",
20
- "typings": "index.d.ts",
20
+ "typings": "types/accrescent-console-client-sdk-angular.d.ts",
21
21
  "exports": {
22
22
  "./package.json": {
23
23
  "default": "./package.json"
24
24
  },
25
25
  ".": {
26
- "types": "./index.d.ts",
26
+ "types": "./types/accrescent-console-client-sdk-angular.d.ts",
27
27
  "default": "./fesm2022/accrescent-console-client-sdk-angular.mjs"
28
28
  }
29
29
  },
@@ -19,11 +19,11 @@ interface AppDraftServiceCreateAppDraftListingBody {
19
19
  /**
20
20
  * The proper name of the app, possibly including very short descriptive text (e.g. \"SecureChat - Secure Texting\").
21
21
  */
22
- name?: string;
22
+ name: string;
23
23
  /**
24
24
  * A short description of the app to be shown in headers and small screen spaces.
25
25
  */
26
- shortDescription?: string;
26
+ shortDescription: string;
27
27
  }
28
28
 
29
29
  /**
@@ -42,11 +42,11 @@ interface AppDraftServiceUpdateAppDraftBody {
42
42
  /**
43
43
  * The draft\'s default listing language. Required because no other fields are supported for update yet.
44
44
  */
45
- defaultListingLanguage?: string;
45
+ defaultListingLanguage: string;
46
46
  /**
47
47
  * The list of fields to update. Required to enforce forward-compatible use by clients.
48
48
  */
49
- updateMask?: string;
49
+ updateMask: string;
50
50
  }
51
51
 
52
52
  /**
@@ -141,8 +141,8 @@ interface V1alpha1CreateAppDraftListingIconUploadOperationResponse {
141
141
  /**
142
142
  * An HTTP or HTTPS URL at which the icon can be submitted with an HTTP PUT request.
143
143
  */
144
- uploadUrl?: string;
145
- processingOperation?: GoogleLongrunningOperation;
144
+ uploadUrl: string;
145
+ processingOperation: GoogleLongrunningOperation;
146
146
  }
147
147
 
148
148
  /**
@@ -161,7 +161,7 @@ interface V1alpha1CreateAppDraftRequest {
161
161
  /**
162
162
  * The ID of the organization to create this app draft under.
163
163
  */
164
- organizationId?: string;
164
+ organizationId: string;
165
165
  }
166
166
 
167
167
  /**
@@ -180,7 +180,7 @@ interface V1alpha1CreateAppDraftResponse {
180
180
  /**
181
181
  * The unique ID of the created app draft.
182
182
  */
183
- appDraftId?: string;
183
+ appDraftId: string;
184
184
  }
185
185
 
186
186
  /**
@@ -200,8 +200,8 @@ interface V1alpha1CreateAppDraftUploadOperationResponse {
200
200
  /**
201
201
  * An HTTP or HTTPS URL at which an APK set can be submitted with an HTTP PUT request.
202
202
  */
203
- apkSetUploadUrl?: string;
204
- processingOperation?: GoogleLongrunningOperation;
203
+ apkSetUploadUrl: string;
204
+ processingOperation: GoogleLongrunningOperation;
205
205
  }
206
206
 
207
207
  /**
@@ -220,7 +220,7 @@ interface V1alpha1GetAppDraftDownloadInfoResponse {
220
220
  /**
221
221
  * The URL of the APK set which can be retrieved with a simple HTTP GET.
222
222
  */
223
- apkSetUrl?: string;
223
+ apkSetUrl: string;
224
224
  }
225
225
 
226
226
  /**
@@ -239,7 +239,7 @@ interface V1alpha1GetAppDraftListingIconDownloadInfoResponse {
239
239
  /**
240
240
  * The URL of the icon which can be retrieved with a simple HTTP GET.
241
241
  */
242
- iconUrl?: string;
242
+ iconUrl: string;
243
243
  }
244
244
 
245
245
  /**
@@ -258,19 +258,19 @@ interface V1alpha1AppPackage {
258
258
  /**
259
259
  * The app package\'s Android application ID.
260
260
  */
261
- appId?: string;
261
+ appId: string;
262
262
  /**
263
263
  * The app package\'s version code.
264
264
  */
265
- versionCode?: string;
265
+ versionCode: string;
266
266
  /**
267
267
  * The app package\'s version name.
268
268
  */
269
- versionName?: string;
269
+ versionName: string;
270
270
  /**
271
271
  * The app package\'s target SDK.
272
272
  */
273
- targetSdk?: string;
273
+ targetSdk: string;
274
274
  }
275
275
 
276
276
  /**
@@ -290,11 +290,11 @@ interface V1alpha1AppDraft {
290
290
  /**
291
291
  * The app draft\'s unique ID.
292
292
  */
293
- id?: string;
293
+ id: string;
294
294
  /**
295
295
  * The timestamp at which the app draft was created.
296
296
  */
297
- createdAt?: string;
297
+ createdAt: string;
298
298
  /**
299
299
  * The draft\'s default listing language, if set.
300
300
  */
@@ -324,7 +324,7 @@ interface V1alpha1AppDraft {
324
324
  * Response to getting an app draft.
325
325
  */
326
326
  interface V1alpha1GetAppDraftResponse {
327
- draft?: V1alpha1AppDraft;
327
+ draft: V1alpha1AppDraft;
328
328
  }
329
329
 
330
330
  /**
@@ -344,7 +344,7 @@ interface V1alpha1ListAppDraftsResponse {
344
344
  /**
345
345
  * The app drafts matching the request parameters.
346
346
  */
347
- appDrafts?: Array<V1alpha1AppDraft>;
347
+ appDrafts: Array<V1alpha1AppDraft>;
348
348
  /**
349
349
  * An opaque token which, if passed to another invocation of ListAppDrafts, will return the next page of app drafts.
350
350
  */
@@ -365,7 +365,7 @@ interface V1alpha1ListAppDraftsResponse {
365
365
  * Response to publishing an app draft.
366
366
  */
367
367
  interface V1alpha1PublishAppDraftResponse {
368
- operation?: GoogleLongrunningOperation;
368
+ operation: GoogleLongrunningOperation;
369
369
  }
370
370
 
371
371
  /**
@@ -809,23 +809,24 @@ declare class AppDraftsService extends BaseService {
809
809
  /**
810
810
  * Lists app drafts.
811
811
  * @endpoint get /grpc/accrescent.console.v1alpha1/app_drafts
812
+ * @param organizationId The organization containing the drafts to list.
812
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.
813
814
  * @param pageToken An opaque page continuation token returned in a previous ListAppDraftsResponse. If unspecified, the first page is returned.
814
815
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
815
816
  * @param reportProgress flag to report request and response progress.
816
817
  * @param options additional options
817
818
  */
818
- appDraftServiceListAppDrafts(pageSize?: number, pageToken?: string, observe?: 'body', reportProgress?: boolean, options?: {
819
+ appDraftServiceListAppDrafts(organizationId: string, pageSize?: number, pageToken?: string, observe?: 'body', reportProgress?: boolean, options?: {
819
820
  httpHeaderAccept?: 'application/json';
820
821
  context?: HttpContext;
821
822
  transferCache?: boolean;
822
823
  }): Observable<V1alpha1ListAppDraftsResponse>;
823
- appDraftServiceListAppDrafts(pageSize?: number, pageToken?: string, observe?: 'response', reportProgress?: boolean, options?: {
824
+ appDraftServiceListAppDrafts(organizationId: string, pageSize?: number, pageToken?: string, observe?: 'response', reportProgress?: boolean, options?: {
824
825
  httpHeaderAccept?: 'application/json';
825
826
  context?: HttpContext;
826
827
  transferCache?: boolean;
827
828
  }): Observable<HttpResponse<V1alpha1ListAppDraftsResponse>>;
828
- appDraftServiceListAppDrafts(pageSize?: number, pageToken?: string, observe?: 'events', reportProgress?: boolean, options?: {
829
+ appDraftServiceListAppDrafts(organizationId: string, pageSize?: number, pageToken?: string, observe?: 'events', reportProgress?: boolean, options?: {
829
830
  httpHeaderAccept?: 'application/json';
830
831
  context?: HttpContext;
831
832
  transferCache?: boolean;
@@ -922,11 +923,11 @@ interface AppEditServiceCreateAppEditListingBody {
922
923
  /**
923
924
  * The proper name of the app, possibly including very short descriptive text (e.g. \"SecureChat - Secure Texting\").
924
925
  */
925
- name?: string;
926
+ name: string;
926
927
  /**
927
928
  * A short description of the app to be shown in headers and small screen spaces.
928
929
  */
929
- shortDescription?: string;
930
+ shortDescription: string;
930
931
  }
931
932
 
932
933
  /**
@@ -945,11 +946,11 @@ interface AppEditServiceUpdateAppEditBody {
945
946
  /**
946
947
  * The edit\'s default listing language. Required because no other fields are supported for update yet.
947
948
  */
948
- defaultListingLanguage?: string;
949
+ defaultListingLanguage: string;
949
950
  /**
950
951
  * The list of fields to update. Required to enforce forward-compatible use by clients.
951
952
  */
952
- updateMask?: string;
953
+ updateMask: string;
953
954
  }
954
955
 
955
956
  /**
@@ -969,8 +970,8 @@ interface V1alpha1CreateAppEditListingIconUploadOperationResponse {
969
970
  /**
970
971
  * An HTTP or HTTPS URL at which the icon can be submitted with an HTTP PUT request.
971
972
  */
972
- uploadUrl?: string;
973
- processingOperation?: GoogleLongrunningOperation;
973
+ uploadUrl: string;
974
+ processingOperation: GoogleLongrunningOperation;
974
975
  }
975
976
 
976
977
  /**
@@ -989,7 +990,7 @@ interface V1alpha1CreateAppEditResponse {
989
990
  /**
990
991
  * The unique ID of the created app edit.
991
992
  */
992
- appEditId?: string;
993
+ appEditId: string;
993
994
  }
994
995
 
995
996
  /**
@@ -1009,8 +1010,8 @@ interface V1alpha1CreateAppEditUploadOperationResponse {
1009
1010
  /**
1010
1011
  * An HTTP or HTTPS URL at which an APK set can be submitted with an HTTP PUT request.
1011
1012
  */
1012
- apkSetUploadUrl?: string;
1013
- processingOperation?: GoogleLongrunningOperation;
1013
+ apkSetUploadUrl: string;
1014
+ processingOperation: GoogleLongrunningOperation;
1014
1015
  }
1015
1016
 
1016
1017
  /**
@@ -1029,7 +1030,7 @@ interface V1alpha1GetAppEditDownloadInfoResponse {
1029
1030
  /**
1030
1031
  * The URL of the APK set which can be retrieved with a simple HTTP GET.
1031
1032
  */
1032
- apkSetUrl?: string;
1033
+ apkSetUrl: string;
1033
1034
  }
1034
1035
 
1035
1036
  /**
@@ -1049,16 +1050,16 @@ interface V1alpha1AppEdit {
1049
1050
  /**
1050
1051
  * The app edit\'s unique ID.
1051
1052
  */
1052
- id?: string;
1053
+ id: string;
1053
1054
  /**
1054
1055
  * The timestamp at which the app edit was created.
1055
1056
  */
1056
- createdAt?: string;
1057
+ createdAt: string;
1057
1058
  /**
1058
1059
  * The app edit\'s default listing language.
1059
1060
  */
1060
- defaultListingLanguage?: string;
1061
- appPackage?: V1alpha1AppPackage;
1061
+ defaultListingLanguage: string;
1062
+ appPackage: V1alpha1AppPackage;
1062
1063
  /**
1063
1064
  * The timestamp at which the app edit has been submitted, if applicable.
1064
1065
  */
@@ -1083,7 +1084,7 @@ interface V1alpha1AppEdit {
1083
1084
  * Response to getting an app edit.
1084
1085
  */
1085
1086
  interface V1alpha1GetAppEditResponse {
1086
- appEdit?: V1alpha1AppEdit;
1087
+ appEdit: V1alpha1AppEdit;
1087
1088
  }
1088
1089
 
1089
1090
  /**
@@ -1103,7 +1104,7 @@ interface V1alpha1ListAppEditsResponse {
1103
1104
  /**
1104
1105
  * The app drafts matching the request parameters.
1105
1106
  */
1106
- appEdits?: Array<V1alpha1AppEdit>;
1107
+ appEdits: Array<V1alpha1AppEdit>;
1107
1108
  /**
1108
1109
  * An opaque token which, if passed to another invocation of ListAppEdits, will return the next page of app edits.
1109
1110
  */
@@ -1330,17 +1331,17 @@ declare class AppEditsService extends BaseService {
1330
1331
  * @param reportProgress flag to report request and response progress.
1331
1332
  * @param options additional options
1332
1333
  */
1333
- appEditServiceListAppEdits(appId?: string, pageSize?: number, pageToken?: string, observe?: 'body', reportProgress?: boolean, options?: {
1334
+ appEditServiceListAppEdits(appId: string, pageSize?: number, pageToken?: string, observe?: 'body', reportProgress?: boolean, options?: {
1334
1335
  httpHeaderAccept?: 'application/json';
1335
1336
  context?: HttpContext;
1336
1337
  transferCache?: boolean;
1337
1338
  }): Observable<V1alpha1ListAppEditsResponse>;
1338
- appEditServiceListAppEdits(appId?: string, pageSize?: number, pageToken?: string, observe?: 'response', reportProgress?: boolean, options?: {
1339
+ appEditServiceListAppEdits(appId: string, pageSize?: number, pageToken?: string, observe?: 'response', reportProgress?: boolean, options?: {
1339
1340
  httpHeaderAccept?: 'application/json';
1340
1341
  context?: HttpContext;
1341
1342
  transferCache?: boolean;
1342
1343
  }): Observable<HttpResponse<V1alpha1ListAppEditsResponse>>;
1343
- appEditServiceListAppEdits(appId?: string, pageSize?: number, pageToken?: string, observe?: 'events', reportProgress?: boolean, options?: {
1344
+ appEditServiceListAppEdits(appId: string, pageSize?: number, pageToken?: string, observe?: 'events', reportProgress?: boolean, options?: {
1344
1345
  httpHeaderAccept?: 'application/json';
1345
1346
  context?: HttpContext;
1346
1347
  transferCache?: boolean;
@@ -1413,11 +1414,11 @@ interface AppServiceUpdateAppBody {
1413
1414
  /**
1414
1415
  * Whether the app is publicly listed on the store.
1415
1416
  */
1416
- publiclyListed?: boolean;
1417
+ publiclyListed: boolean;
1417
1418
  /**
1418
1419
  * The list of fields to update. Required to enforce forward-compatible use by clients.
1419
1420
  */
1420
- updateMask?: string;
1421
+ updateMask: string;
1421
1422
  }
1422
1423
 
1423
1424
  /**
@@ -1436,15 +1437,15 @@ interface V1alpha1App {
1436
1437
  /**
1437
1438
  * The app\'s unique ID.
1438
1439
  */
1439
- id?: string;
1440
+ id: string;
1440
1441
  /**
1441
1442
  * The app\'s default listing language.
1442
1443
  */
1443
- defaultListingLanguage?: string;
1444
+ defaultListingLanguage: string;
1444
1445
  /**
1445
1446
  * Whether the app is publicly listed on the store.
1446
1447
  */
1447
- publiclyListed?: boolean;
1448
+ publiclyListed: boolean;
1448
1449
  }
1449
1450
 
1450
1451
  /**
@@ -1461,7 +1462,7 @@ interface V1alpha1App {
1461
1462
  * Response to getting an app.
1462
1463
  */
1463
1464
  interface V1alpha1GetAppResponse {
1464
- app?: V1alpha1App;
1465
+ app: V1alpha1App;
1465
1466
  }
1466
1467
 
1467
1468
  /**
@@ -1481,7 +1482,7 @@ interface V1alpha1ListAppsResponse {
1481
1482
  /**
1482
1483
  * The apps matching the request parameters.
1483
1484
  */
1484
- apps?: Array<V1alpha1App>;
1485
+ apps: Array<V1alpha1App>;
1485
1486
  /**
1486
1487
  * An opaque token which, if passed to another invocation of ListApps, will return the next page of organizations.
1487
1488
  */
@@ -1517,23 +1518,24 @@ declare class AppsService extends BaseService {
1517
1518
  /**
1518
1519
  * Lists published apps.
1519
1520
  * @endpoint get /grpc/accrescent.console.v1alpha1/apps
1521
+ * @param organizationId The organization containing the apps to list.
1520
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.
1521
1523
  * @param pageToken An opaque page continuation token returned in a previous ListAppsResponse. If unspecified, the first page is returned.
1522
1524
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
1523
1525
  * @param reportProgress flag to report request and response progress.
1524
1526
  * @param options additional options
1525
1527
  */
1526
- appServiceListApps(pageSize?: number, pageToken?: string, observe?: 'body', reportProgress?: boolean, options?: {
1528
+ appServiceListApps(organizationId: string, pageSize?: number, pageToken?: string, observe?: 'body', reportProgress?: boolean, options?: {
1527
1529
  httpHeaderAccept?: 'application/json';
1528
1530
  context?: HttpContext;
1529
1531
  transferCache?: boolean;
1530
1532
  }): Observable<V1alpha1ListAppsResponse>;
1531
- appServiceListApps(pageSize?: number, pageToken?: string, observe?: 'response', reportProgress?: boolean, options?: {
1533
+ appServiceListApps(organizationId: string, pageSize?: number, pageToken?: string, observe?: 'response', reportProgress?: boolean, options?: {
1532
1534
  httpHeaderAccept?: 'application/json';
1533
1535
  context?: HttpContext;
1534
1536
  transferCache?: boolean;
1535
1537
  }): Observable<HttpResponse<V1alpha1ListAppsResponse>>;
1536
- appServiceListApps(pageSize?: number, pageToken?: string, observe?: 'events', reportProgress?: boolean, options?: {
1538
+ appServiceListApps(organizationId: string, pageSize?: number, pageToken?: string, observe?: 'events', reportProgress?: boolean, options?: {
1537
1539
  httpHeaderAccept?: 'application/json';
1538
1540
  context?: HttpContext;
1539
1541
  transferCache?: boolean;
@@ -1582,7 +1584,7 @@ interface V1alpha1Organization {
1582
1584
  /**
1583
1585
  * The organization\'s unique ID.
1584
1586
  */
1585
- id?: string;
1587
+ id: string;
1586
1588
  }
1587
1589
 
1588
1590
  /**
@@ -1602,7 +1604,7 @@ interface V1alpha1ListOrganizationsResponse {
1602
1604
  /**
1603
1605
  * The organizations matching the request parameters.
1604
1606
  */
1605
- organizations?: Array<V1alpha1Organization>;
1607
+ organizations: Array<V1alpha1Organization>;
1606
1608
  /**
1607
1609
  * An opaque token which, if passed to another invocation of ListOrganizations, will return the next page of organizations.
1608
1610
  */
@@ -1615,23 +1617,24 @@ declare class OrganizationsService extends BaseService {
1615
1617
  /**
1616
1618
  * Lists organizations.
1617
1619
  * @endpoint get /grpc/accrescent.console.v1alpha1/organizations
1620
+ * @param userId The user to list organizations for. The response will contain the organizations this user is a member of.
1618
1621
  * @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.
1619
1622
  * @param pageToken An opaque page continuation token returned in a previous ListOrganizationsResponse. If unspecified, the first page is returned.
1620
1623
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
1621
1624
  * @param reportProgress flag to report request and response progress.
1622
1625
  * @param options additional options
1623
1626
  */
1624
- organizationServiceListOrganizations(pageSize?: number, pageToken?: string, observe?: 'body', reportProgress?: boolean, options?: {
1627
+ organizationServiceListOrganizations(userId: string, pageSize?: number, pageToken?: string, observe?: 'body', reportProgress?: boolean, options?: {
1625
1628
  httpHeaderAccept?: 'application/json';
1626
1629
  context?: HttpContext;
1627
1630
  transferCache?: boolean;
1628
1631
  }): Observable<V1alpha1ListOrganizationsResponse>;
1629
- organizationServiceListOrganizations(pageSize?: number, pageToken?: string, observe?: 'response', reportProgress?: boolean, options?: {
1632
+ organizationServiceListOrganizations(userId: string, pageSize?: number, pageToken?: string, observe?: 'response', reportProgress?: boolean, options?: {
1630
1633
  httpHeaderAccept?: 'application/json';
1631
1634
  context?: HttpContext;
1632
1635
  transferCache?: boolean;
1633
1636
  }): Observable<HttpResponse<V1alpha1ListOrganizationsResponse>>;
1634
- organizationServiceListOrganizations(pageSize?: number, pageToken?: string, observe?: 'events', reportProgress?: boolean, options?: {
1637
+ organizationServiceListOrganizations(userId: string, pageSize?: number, pageToken?: string, observe?: 'events', reportProgress?: boolean, options?: {
1635
1638
  httpHeaderAccept?: 'application/json';
1636
1639
  context?: HttpContext;
1637
1640
  transferCache?: boolean;
@@ -1656,7 +1659,7 @@ interface V1alpha1RejectionReason {
1656
1659
  /**
1657
1660
  * The English explanation of the rejection reason.
1658
1661
  */
1659
- reason?: string;
1662
+ reason: string;
1660
1663
  }
1661
1664
 
1662
1665
  /**
@@ -1676,11 +1679,11 @@ interface ReviewServiceCreateAppDraftReviewBody {
1676
1679
  /**
1677
1680
  * Whether the app draft should be approved. If false, it is rejected.
1678
1681
  */
1679
- approved?: boolean;
1682
+ approved: boolean;
1680
1683
  /**
1681
1684
  * The list of reasons for rejection if the review is a rejection.
1682
1685
  */
1683
- rejectionReasons?: Array<V1alpha1RejectionReason>;
1686
+ rejectionReasons: Array<V1alpha1RejectionReason>;
1684
1687
  }
1685
1688
 
1686
1689
  /**
@@ -1700,11 +1703,11 @@ interface ReviewServiceCreateAppEditReviewBody {
1700
1703
  /**
1701
1704
  * Whether the app edit should be approved. If false, it is rejected.
1702
1705
  */
1703
- approved?: boolean;
1706
+ approved: boolean;
1704
1707
  /**
1705
1708
  * The list of reasons for rejection if the review is a rejection.
1706
1709
  */
1707
- rejectionReasons?: Array<V1alpha1RejectionReason>;
1710
+ rejectionReasons: Array<V1alpha1RejectionReason>;
1708
1711
  }
1709
1712
 
1710
1713
  declare class ReviewsService extends BaseService {
@@ -1799,11 +1802,11 @@ interface UserServiceUpdateUserBody {
1799
1802
  /**
1800
1803
  * The user\'s roles.
1801
1804
  */
1802
- roles?: Array<V1alpha1UserRole>;
1805
+ roles: Array<V1alpha1UserRole>;
1803
1806
  /**
1804
1807
  * The list of fields to update. Required to enforce forward-compatible use by clients.
1805
1808
  */
1806
- updateMask?: string;
1809
+ updateMask: string;
1807
1810
  }
1808
1811
 
1809
1812
  /**
@@ -1823,15 +1826,15 @@ interface V1alpha1User {
1823
1826
  /**
1824
1827
  * The user\'s unique ID.
1825
1828
  */
1826
- id?: string;
1829
+ id: string;
1827
1830
  /**
1828
1831
  * The user\'s email.
1829
1832
  */
1830
- email?: string;
1833
+ email: string;
1831
1834
  /**
1832
1835
  * The user\'s roles.
1833
1836
  */
1834
- roles?: Array<V1alpha1UserRole>;
1837
+ roles: Array<V1alpha1UserRole>;
1835
1838
  }
1836
1839
 
1837
1840
  /**
@@ -1848,7 +1851,7 @@ interface V1alpha1User {
1848
1851
  * Response to getting the currently authenticated user.
1849
1852
  */
1850
1853
  interface V1alpha1GetSelfResponse {
1851
- user?: V1alpha1User;
1854
+ user: V1alpha1User;
1852
1855
  }
1853
1856
 
1854
1857
  declare class UsersService extends BaseService {