@halo-dev/api-client 0.0.1 → 0.0.4

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/dist/index.d.ts CHANGED
@@ -118,6 +118,19 @@ declare class BaseAPI {
118
118
  constructor(configuration?: Configuration, basePath?: string, axios?: AxiosInstance);
119
119
  }
120
120
 
121
+ /**
122
+ *
123
+ * @export
124
+ * @interface ChangePasswordRequest
125
+ */
126
+ interface ChangePasswordRequest {
127
+ /**
128
+ * New password.
129
+ * @type {string}
130
+ * @memberof ChangePasswordRequest
131
+ */
132
+ password: string;
133
+ }
121
134
  /**
122
135
  *
123
136
  * @export
@@ -263,123 +276,18 @@ interface License {
263
276
  * @interface Link
264
277
  */
265
278
  interface Link {
266
- /**
267
- *
268
- * @type {LinkSpec}
269
- * @memberof Link
270
- */
271
- spec?: LinkSpec;
272
- /**
273
- *
274
- * @type {string}
275
- * @memberof Link
276
- */
277
- apiVersion: string;
278
279
  /**
279
280
  *
280
281
  * @type {string}
281
282
  * @memberof Link
282
283
  */
283
- kind: string;
284
+ href?: string;
284
285
  /**
285
286
  *
286
- * @type {Metadata}
287
+ * @type {boolean}
287
288
  * @memberof Link
288
289
  */
289
- metadata: Metadata;
290
- }
291
- /**
292
- *
293
- * @export
294
- * @interface LinkGroup
295
- */
296
- interface LinkGroup {
297
- /**
298
- *
299
- * @type {LinkGroupSpec}
300
- * @memberof LinkGroup
301
- */
302
- spec?: LinkGroupSpec;
303
- /**
304
- *
305
- * @type {string}
306
- * @memberof LinkGroup
307
- */
308
- apiVersion: string;
309
- /**
310
- *
311
- * @type {string}
312
- * @memberof LinkGroup
313
- */
314
- kind: string;
315
- /**
316
- *
317
- * @type {Metadata}
318
- * @memberof LinkGroup
319
- */
320
- metadata: Metadata;
321
- }
322
- /**
323
- *
324
- * @export
325
- * @interface LinkGroupSpec
326
- */
327
- interface LinkGroupSpec {
328
- /**
329
- *
330
- * @type {string}
331
- * @memberof LinkGroupSpec
332
- */
333
- displayName: string;
334
- /**
335
- *
336
- * @type {number}
337
- * @memberof LinkGroupSpec
338
- */
339
- priority?: number;
340
- }
341
- /**
342
- *
343
- * @export
344
- * @interface LinkSpec
345
- */
346
- interface LinkSpec {
347
- /**
348
- *
349
- * @type {string}
350
- * @memberof LinkSpec
351
- */
352
- url: string;
353
- /**
354
- *
355
- * @type {string}
356
- * @memberof LinkSpec
357
- */
358
- displayName: string;
359
- /**
360
- *
361
- * @type {string}
362
- * @memberof LinkSpec
363
- */
364
- logo?: string;
365
- /**
366
- *
367
- * @type {string}
368
- * @memberof LinkSpec
369
- */
370
- description?: string;
371
- /**
372
- *
373
- * @type {string}
374
- * @memberof LinkSpec
375
- */
376
- groupName?: string;
377
- /**
378
- *
379
- * @type {number}
380
- * @memberof LinkSpec
381
- */
382
- priority?: number;
290
+ templated?: boolean;
383
291
  }
384
292
  /**
385
293
  *
@@ -752,6 +660,7 @@ interface PluginSpec {
752
660
  *
753
661
  * @type {string}
754
662
  * @memberof PluginSpec
663
+ * @deprecated
755
664
  */
756
665
  pluginClass?: string;
757
666
  /**
@@ -760,12 +669,6 @@ interface PluginSpec {
760
669
  * @memberof PluginSpec
761
670
  */
762
671
  enabled?: boolean;
763
- /**
764
- *
765
- * @type {Array<string>}
766
- * @memberof PluginSpec
767
- */
768
- extensionLocations?: Array<string>;
769
672
  /**
770
673
  *
771
674
  * @type {string}
@@ -874,62 +777,6 @@ interface PolicyRule {
874
777
  */
875
778
  verbs?: Array<string>;
876
779
  }
877
- /**
878
- *
879
- * @export
880
- * @interface Post
881
- */
882
- interface Post {
883
- /**
884
- *
885
- * @type {PostSpec}
886
- * @memberof Post
887
- */
888
- spec?: PostSpec;
889
- /**
890
- *
891
- * @type {string}
892
- * @memberof Post
893
- */
894
- apiVersion: string;
895
- /**
896
- *
897
- * @type {string}
898
- * @memberof Post
899
- */
900
- kind: string;
901
- /**
902
- *
903
- * @type {Metadata}
904
- * @memberof Post
905
- */
906
- metadata: Metadata;
907
- }
908
- /**
909
- *
910
- * @export
911
- * @interface PostSpec
912
- */
913
- interface PostSpec {
914
- /**
915
- *
916
- * @type {string}
917
- * @memberof PostSpec
918
- */
919
- title?: string;
920
- /**
921
- *
922
- * @type {string}
923
- * @memberof PostSpec
924
- */
925
- content?: string;
926
- /**
927
- *
928
- * @type {string}
929
- * @memberof PostSpec
930
- */
931
- keyword?: string;
932
- }
933
780
  /**
934
781
  *
935
782
  * @export
@@ -1466,6 +1313,25 @@ interface UserList {
1466
1313
  */
1467
1314
  hasPrevious: boolean;
1468
1315
  }
1316
+ /**
1317
+ *
1318
+ * @export
1319
+ * @interface UserPermission
1320
+ */
1321
+ interface UserPermission {
1322
+ /**
1323
+ *
1324
+ * @type {Set<Role>}
1325
+ * @memberof UserPermission
1326
+ */
1327
+ roles: Set<Role>;
1328
+ /**
1329
+ *
1330
+ * @type {Set<string>}
1331
+ * @memberof UserPermission
1332
+ */
1333
+ uiPermissions: Set<string>;
1334
+ }
1469
1335
  /**
1470
1336
  *
1471
1337
  * @export
@@ -1553,666 +1419,334 @@ interface UserStatus {
1553
1419
  loginHistories?: Array<LoginHistory>;
1554
1420
  }
1555
1421
  /**
1556
- * ApiHaloRunV1alpha1UserApi - axios parameter creator
1557
- * @export
1558
- */
1559
- declare const ApiHaloRunV1alpha1UserApiAxiosParamCreator: (configuration?: Configuration) => {
1560
- /**
1561
- * Get current user detail
1562
- * @param {*} [options] Override http request option.
1563
- * @throws {RequiredError}
1564
- */
1565
- getCurrentUserDetail: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
1566
- /**
1567
- * Get permissions of user
1568
- * @param {string} name User name
1569
- * @param {*} [options] Override http request option.
1570
- * @throws {RequiredError}
1571
- */
1572
- getPermissions: (name: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
1573
- /**
1574
- * Grant permissions to user
1575
- * @param {string} name User name
1576
- * @param {GrantRequest} grantRequest
1577
- * @param {*} [options] Override http request option.
1578
- * @throws {RequiredError}
1579
- */
1580
- grantPermission: (name: string, grantRequest: GrantRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
1581
- };
1582
- /**
1583
- * ApiHaloRunV1alpha1UserApi - functional programming interface
1584
- * @export
1585
- */
1586
- declare const ApiHaloRunV1alpha1UserApiFp: (configuration?: Configuration) => {
1587
- /**
1588
- * Get current user detail
1589
- * @param {*} [options] Override http request option.
1590
- * @throws {RequiredError}
1591
- */
1592
- getCurrentUserDetail(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<User>>;
1593
- /**
1594
- * Get permissions of user
1595
- * @param {string} name User name
1596
- * @param {*} [options] Override http request option.
1597
- * @throws {RequiredError}
1598
- */
1599
- getPermissions(name: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>>;
1600
- /**
1601
- * Grant permissions to user
1602
- * @param {string} name User name
1603
- * @param {GrantRequest} grantRequest
1604
- * @param {*} [options] Override http request option.
1605
- * @throws {RequiredError}
1606
- */
1607
- grantPermission(name: string, grantRequest: GrantRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<User>>;
1608
- };
1609
- /**
1610
- * ApiHaloRunV1alpha1UserApi - factory interface
1611
- * @export
1612
- */
1613
- declare const ApiHaloRunV1alpha1UserApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
1614
- /**
1615
- * Get current user detail
1616
- * @param {*} [options] Override http request option.
1617
- * @throws {RequiredError}
1618
- */
1619
- getCurrentUserDetail(options?: any): AxiosPromise<User>;
1620
- /**
1621
- * Get permissions of user
1622
- * @param {string} name User name
1623
- * @param {*} [options] Override http request option.
1624
- * @throws {RequiredError}
1625
- */
1626
- getPermissions(name: string, options?: any): AxiosPromise<string>;
1627
- /**
1628
- * Grant permissions to user
1629
- * @param {string} name User name
1630
- * @param {GrantRequest} grantRequest
1631
- * @param {*} [options] Override http request option.
1632
- * @throws {RequiredError}
1633
- */
1634
- grantPermission(name: string, grantRequest: GrantRequest, options?: any): AxiosPromise<User>;
1635
- };
1636
- /**
1637
- * ApiHaloRunV1alpha1UserApi - object-oriented interface
1422
+ * ActuatorApi - axios parameter creator
1638
1423
  * @export
1639
- * @class ApiHaloRunV1alpha1UserApi
1640
- * @extends {BaseAPI}
1641
1424
  */
1642
- declare class ApiHaloRunV1alpha1UserApi extends BaseAPI {
1425
+ declare const ActuatorApiAxiosParamCreator: (configuration?: Configuration) => {
1643
1426
  /**
1644
- * Get current user detail
1645
- * @param {*} [options] Override http request option.
1646
- * @throws {RequiredError}
1647
- * @memberof ApiHaloRunV1alpha1UserApi
1648
- */
1649
- getCurrentUserDetail(options?: AxiosRequestConfig): Promise<axios.AxiosResponse<User, any>>;
1650
- /**
1651
- * Get permissions of user
1652
- * @param {string} name User name
1653
- * @param {*} [options] Override http request option.
1654
- * @throws {RequiredError}
1655
- * @memberof ApiHaloRunV1alpha1UserApi
1656
- */
1657
- getPermissions(name: string, options?: AxiosRequestConfig): Promise<axios.AxiosResponse<string, any>>;
1658
- /**
1659
- * Grant permissions to user
1660
- * @param {string} name User name
1661
- * @param {GrantRequest} grantRequest
1662
- * @param {*} [options] Override http request option.
1663
- * @throws {RequiredError}
1664
- * @memberof ApiHaloRunV1alpha1UserApi
1665
- */
1666
- grantPermission(name: string, grantRequest: GrantRequest, options?: AxiosRequestConfig): Promise<axios.AxiosResponse<User, any>>;
1667
- }
1668
- /**
1669
- * CoreHaloRunV1alpha1LinkApi - axios parameter creator
1670
- * @export
1671
- */
1672
- declare const CoreHaloRunV1alpha1LinkApiAxiosParamCreator: (configuration?: Configuration) => {
1673
- /**
1674
- * Create core.halo.run/v1alpha1/Link
1675
- * @param {Link} [link] Fresh link
1676
- * @param {*} [options] Override http request option.
1677
- * @throws {RequiredError}
1678
- */
1679
- createcoreHaloRunV1alpha1Link: (link?: Link, options?: AxiosRequestConfig) => Promise<RequestArgs>;
1680
- /**
1681
- * Delete core.halo.run/v1alpha1/Link
1682
- * @param {string} name Name of link
1683
- * @param {*} [options] Override http request option.
1684
- * @throws {RequiredError}
1685
- */
1686
- deletecoreHaloRunV1alpha1Link: (name: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
1687
- /**
1688
- * Get core.halo.run/v1alpha1/Link
1689
- * @param {string} name Name of link
1427
+ *
1428
+ * @summary Actuator web endpoint \'health\'
1690
1429
  * @param {*} [options] Override http request option.
1691
1430
  * @throws {RequiredError}
1692
1431
  */
1693
- getcoreHaloRunV1alpha1Link: (name: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
1432
+ health: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
1694
1433
  /**
1695
- * List core.halo.run/v1alpha1/Link
1696
- * @param {number} [page] Page index
1697
- * @param {number} [size] Size of one page
1698
- * @param {string} [sort] Sort by some fields. Like metadata.name,desc
1434
+ *
1435
+ * @summary Actuator web endpoint \'health-path\'
1436
+ * @param {string} path
1699
1437
  * @param {*} [options] Override http request option.
1700
1438
  * @throws {RequiredError}
1701
1439
  */
1702
- listcoreHaloRunV1alpha1Link: (page?: number, size?: number, sort?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
1440
+ healthPath: (path: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
1703
1441
  /**
1704
- * Update core.halo.run/v1alpha1/Link
1705
- * @param {string} name Name of link
1706
- * @param {Link} [link] Updated link
1442
+ *
1443
+ * @summary Actuator root web endpoint
1707
1444
  * @param {*} [options] Override http request option.
1708
1445
  * @throws {RequiredError}
1709
1446
  */
1710
- updatecoreHaloRunV1alpha1Link: (name: string, link?: Link, options?: AxiosRequestConfig) => Promise<RequestArgs>;
1447
+ links: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
1711
1448
  };
1712
1449
  /**
1713
- * CoreHaloRunV1alpha1LinkApi - functional programming interface
1450
+ * ActuatorApi - functional programming interface
1714
1451
  * @export
1715
1452
  */
1716
- declare const CoreHaloRunV1alpha1LinkApiFp: (configuration?: Configuration) => {
1717
- /**
1718
- * Create core.halo.run/v1alpha1/Link
1719
- * @param {Link} [link] Fresh link
1720
- * @param {*} [options] Override http request option.
1721
- * @throws {RequiredError}
1722
- */
1723
- createcoreHaloRunV1alpha1Link(link?: Link, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Link>>;
1453
+ declare const ActuatorApiFp: (configuration?: Configuration) => {
1724
1454
  /**
1725
- * Delete core.halo.run/v1alpha1/Link
1726
- * @param {string} name Name of link
1727
- * @param {*} [options] Override http request option.
1728
- * @throws {RequiredError}
1729
- */
1730
- deletecoreHaloRunV1alpha1Link(name: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
1731
- /**
1732
- * Get core.halo.run/v1alpha1/Link
1733
- * @param {string} name Name of link
1455
+ *
1456
+ * @summary Actuator web endpoint \'health\'
1734
1457
  * @param {*} [options] Override http request option.
1735
1458
  * @throws {RequiredError}
1736
1459
  */
1737
- getcoreHaloRunV1alpha1Link(name: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Link>>;
1460
+ health(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
1738
1461
  /**
1739
- * List core.halo.run/v1alpha1/Link
1740
- * @param {number} [page] Page index
1741
- * @param {number} [size] Size of one page
1742
- * @param {string} [sort] Sort by some fields. Like metadata.name,desc
1462
+ *
1463
+ * @summary Actuator web endpoint \'health-path\'
1464
+ * @param {string} path
1743
1465
  * @param {*} [options] Override http request option.
1744
1466
  * @throws {RequiredError}
1745
1467
  */
1746
- listcoreHaloRunV1alpha1Link(page?: number, size?: number, sort?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>>;
1468
+ healthPath(path: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
1747
1469
  /**
1748
- * Update core.halo.run/v1alpha1/Link
1749
- * @param {string} name Name of link
1750
- * @param {Link} [link] Updated link
1470
+ *
1471
+ * @summary Actuator root web endpoint
1751
1472
  * @param {*} [options] Override http request option.
1752
1473
  * @throws {RequiredError}
1753
1474
  */
1754
- updatecoreHaloRunV1alpha1Link(name: string, link?: Link, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Link>>;
1475
+ links(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{
1476
+ [key: string]: {
1477
+ [key: string]: Link;
1478
+ };
1479
+ }>>;
1755
1480
  };
1756
1481
  /**
1757
- * CoreHaloRunV1alpha1LinkApi - factory interface
1482
+ * ActuatorApi - factory interface
1758
1483
  * @export
1759
1484
  */
1760
- declare const CoreHaloRunV1alpha1LinkApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
1761
- /**
1762
- * Create core.halo.run/v1alpha1/Link
1763
- * @param {Link} [link] Fresh link
1764
- * @param {*} [options] Override http request option.
1765
- * @throws {RequiredError}
1766
- */
1767
- createcoreHaloRunV1alpha1Link(link?: Link, options?: any): AxiosPromise<Link>;
1485
+ declare const ActuatorApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
1768
1486
  /**
1769
- * Delete core.halo.run/v1alpha1/Link
1770
- * @param {string} name Name of link
1771
- * @param {*} [options] Override http request option.
1772
- * @throws {RequiredError}
1773
- */
1774
- deletecoreHaloRunV1alpha1Link(name: string, options?: any): AxiosPromise<void>;
1775
- /**
1776
- * Get core.halo.run/v1alpha1/Link
1777
- * @param {string} name Name of link
1487
+ *
1488
+ * @summary Actuator web endpoint \'health\'
1778
1489
  * @param {*} [options] Override http request option.
1779
1490
  * @throws {RequiredError}
1780
1491
  */
1781
- getcoreHaloRunV1alpha1Link(name: string, options?: any): AxiosPromise<Link>;
1492
+ health(options?: any): AxiosPromise<object>;
1782
1493
  /**
1783
- * List core.halo.run/v1alpha1/Link
1784
- * @param {number} [page] Page index
1785
- * @param {number} [size] Size of one page
1786
- * @param {string} [sort] Sort by some fields. Like metadata.name,desc
1494
+ *
1495
+ * @summary Actuator web endpoint \'health-path\'
1496
+ * @param {string} path
1787
1497
  * @param {*} [options] Override http request option.
1788
1498
  * @throws {RequiredError}
1789
1499
  */
1790
- listcoreHaloRunV1alpha1Link(page?: number, size?: number, sort?: string, options?: any): AxiosPromise<string>;
1500
+ healthPath(path: string, options?: any): AxiosPromise<object>;
1791
1501
  /**
1792
- * Update core.halo.run/v1alpha1/Link
1793
- * @param {string} name Name of link
1794
- * @param {Link} [link] Updated link
1502
+ *
1503
+ * @summary Actuator root web endpoint
1795
1504
  * @param {*} [options] Override http request option.
1796
1505
  * @throws {RequiredError}
1797
1506
  */
1798
- updatecoreHaloRunV1alpha1Link(name: string, link?: Link, options?: any): AxiosPromise<Link>;
1507
+ links(options?: any): AxiosPromise<{
1508
+ [key: string]: {
1509
+ [key: string]: Link;
1510
+ };
1511
+ }>;
1799
1512
  };
1800
1513
  /**
1801
- * CoreHaloRunV1alpha1LinkApi - object-oriented interface
1514
+ * ActuatorApi - object-oriented interface
1802
1515
  * @export
1803
- * @class CoreHaloRunV1alpha1LinkApi
1516
+ * @class ActuatorApi
1804
1517
  * @extends {BaseAPI}
1805
1518
  */
1806
- declare class CoreHaloRunV1alpha1LinkApi extends BaseAPI {
1519
+ declare class ActuatorApi extends BaseAPI {
1807
1520
  /**
1808
- * Create core.halo.run/v1alpha1/Link
1809
- * @param {Link} [link] Fresh link
1810
- * @param {*} [options] Override http request option.
1811
- * @throws {RequiredError}
1812
- * @memberof CoreHaloRunV1alpha1LinkApi
1813
- */
1814
- createcoreHaloRunV1alpha1Link(link?: Link, options?: AxiosRequestConfig): Promise<axios.AxiosResponse<Link, any>>;
1815
- /**
1816
- * Delete core.halo.run/v1alpha1/Link
1817
- * @param {string} name Name of link
1818
- * @param {*} [options] Override http request option.
1819
- * @throws {RequiredError}
1820
- * @memberof CoreHaloRunV1alpha1LinkApi
1821
- */
1822
- deletecoreHaloRunV1alpha1Link(name: string, options?: AxiosRequestConfig): Promise<axios.AxiosResponse<void, any>>;
1823
- /**
1824
- * Get core.halo.run/v1alpha1/Link
1825
- * @param {string} name Name of link
1521
+ *
1522
+ * @summary Actuator web endpoint \'health\'
1826
1523
  * @param {*} [options] Override http request option.
1827
1524
  * @throws {RequiredError}
1828
- * @memberof CoreHaloRunV1alpha1LinkApi
1525
+ * @memberof ActuatorApi
1829
1526
  */
1830
- getcoreHaloRunV1alpha1Link(name: string, options?: AxiosRequestConfig): Promise<axios.AxiosResponse<Link, any>>;
1527
+ health(options?: AxiosRequestConfig): Promise<axios.AxiosResponse<object, any>>;
1831
1528
  /**
1832
- * List core.halo.run/v1alpha1/Link
1833
- * @param {number} [page] Page index
1834
- * @param {number} [size] Size of one page
1835
- * @param {string} [sort] Sort by some fields. Like metadata.name,desc
1529
+ *
1530
+ * @summary Actuator web endpoint \'health-path\'
1531
+ * @param {string} path
1836
1532
  * @param {*} [options] Override http request option.
1837
1533
  * @throws {RequiredError}
1838
- * @memberof CoreHaloRunV1alpha1LinkApi
1534
+ * @memberof ActuatorApi
1839
1535
  */
1840
- listcoreHaloRunV1alpha1Link(page?: number, size?: number, sort?: string, options?: AxiosRequestConfig): Promise<axios.AxiosResponse<string, any>>;
1536
+ healthPath(path: string, options?: AxiosRequestConfig): Promise<axios.AxiosResponse<object, any>>;
1841
1537
  /**
1842
- * Update core.halo.run/v1alpha1/Link
1843
- * @param {string} name Name of link
1844
- * @param {Link} [link] Updated link
1538
+ *
1539
+ * @summary Actuator root web endpoint
1845
1540
  * @param {*} [options] Override http request option.
1846
1541
  * @throws {RequiredError}
1847
- * @memberof CoreHaloRunV1alpha1LinkApi
1542
+ * @memberof ActuatorApi
1848
1543
  */
1849
- updatecoreHaloRunV1alpha1Link(name: string, link?: Link, options?: AxiosRequestConfig): Promise<axios.AxiosResponse<Link, any>>;
1544
+ links(options?: AxiosRequestConfig): Promise<axios.AxiosResponse<{
1545
+ [key: string]: {
1546
+ [key: string]: Link;
1547
+ };
1548
+ }, any>>;
1850
1549
  }
1851
1550
  /**
1852
- * CoreHaloRunV1alpha1LinkGroupApi - axios parameter creator
1551
+ * ApiHaloRunV1alpha1PluginApi - axios parameter creator
1853
1552
  * @export
1854
1553
  */
1855
- declare const CoreHaloRunV1alpha1LinkGroupApiAxiosParamCreator: (configuration?: Configuration) => {
1856
- /**
1857
- * Create core.halo.run/v1alpha1/LinkGroup
1858
- * @param {LinkGroup} [linkGroup] Fresh linkgroup
1859
- * @param {*} [options] Override http request option.
1860
- * @throws {RequiredError}
1861
- */
1862
- createcoreHaloRunV1alpha1LinkGroup: (linkGroup?: LinkGroup, options?: AxiosRequestConfig) => Promise<RequestArgs>;
1863
- /**
1864
- * Delete core.halo.run/v1alpha1/LinkGroup
1865
- * @param {string} name Name of linkgroup
1866
- * @param {*} [options] Override http request option.
1867
- * @throws {RequiredError}
1868
- */
1869
- deletecoreHaloRunV1alpha1LinkGroup: (name: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
1554
+ declare const ApiHaloRunV1alpha1PluginApiAxiosParamCreator: (configuration?: Configuration) => {
1870
1555
  /**
1871
- * Get core.halo.run/v1alpha1/LinkGroup
1872
- * @param {string} name Name of linkgroup
1556
+ * Install a plugin by uploading a Jar file.
1557
+ * @param {any} file
1873
1558
  * @param {*} [options] Override http request option.
1874
1559
  * @throws {RequiredError}
1875
1560
  */
1876
- getcoreHaloRunV1alpha1LinkGroup: (name: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
1877
- /**
1878
- * List core.halo.run/v1alpha1/LinkGroup
1879
- * @param {number} [page] Page index
1880
- * @param {number} [size] Size of one page
1881
- * @param {string} [sort] Sort by some fields. Like metadata.name,desc
1882
- * @param {*} [options] Override http request option.
1883
- * @throws {RequiredError}
1884
- */
1885
- listcoreHaloRunV1alpha1LinkGroup: (page?: number, size?: number, sort?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
1886
- /**
1887
- * Update core.halo.run/v1alpha1/LinkGroup
1888
- * @param {string} name Name of linkgroup
1889
- * @param {LinkGroup} [linkGroup] Updated linkgroup
1890
- * @param {*} [options] Override http request option.
1891
- * @throws {RequiredError}
1892
- */
1893
- updatecoreHaloRunV1alpha1LinkGroup: (name: string, linkGroup?: LinkGroup, options?: AxiosRequestConfig) => Promise<RequestArgs>;
1561
+ installPlugin: (file: any, options?: AxiosRequestConfig) => Promise<RequestArgs>;
1894
1562
  };
1895
1563
  /**
1896
- * CoreHaloRunV1alpha1LinkGroupApi - functional programming interface
1564
+ * ApiHaloRunV1alpha1PluginApi - functional programming interface
1897
1565
  * @export
1898
1566
  */
1899
- declare const CoreHaloRunV1alpha1LinkGroupApiFp: (configuration?: Configuration) => {
1900
- /**
1901
- * Create core.halo.run/v1alpha1/LinkGroup
1902
- * @param {LinkGroup} [linkGroup] Fresh linkgroup
1903
- * @param {*} [options] Override http request option.
1904
- * @throws {RequiredError}
1905
- */
1906
- createcoreHaloRunV1alpha1LinkGroup(linkGroup?: LinkGroup, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LinkGroup>>;
1907
- /**
1908
- * Delete core.halo.run/v1alpha1/LinkGroup
1909
- * @param {string} name Name of linkgroup
1910
- * @param {*} [options] Override http request option.
1911
- * @throws {RequiredError}
1912
- */
1913
- deletecoreHaloRunV1alpha1LinkGroup(name: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
1914
- /**
1915
- * Get core.halo.run/v1alpha1/LinkGroup
1916
- * @param {string} name Name of linkgroup
1917
- * @param {*} [options] Override http request option.
1918
- * @throws {RequiredError}
1919
- */
1920
- getcoreHaloRunV1alpha1LinkGroup(name: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LinkGroup>>;
1921
- /**
1922
- * List core.halo.run/v1alpha1/LinkGroup
1923
- * @param {number} [page] Page index
1924
- * @param {number} [size] Size of one page
1925
- * @param {string} [sort] Sort by some fields. Like metadata.name,desc
1926
- * @param {*} [options] Override http request option.
1927
- * @throws {RequiredError}
1928
- */
1929
- listcoreHaloRunV1alpha1LinkGroup(page?: number, size?: number, sort?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>>;
1567
+ declare const ApiHaloRunV1alpha1PluginApiFp: (configuration?: Configuration) => {
1930
1568
  /**
1931
- * Update core.halo.run/v1alpha1/LinkGroup
1932
- * @param {string} name Name of linkgroup
1933
- * @param {LinkGroup} [linkGroup] Updated linkgroup
1569
+ * Install a plugin by uploading a Jar file.
1570
+ * @param {any} file
1934
1571
  * @param {*} [options] Override http request option.
1935
1572
  * @throws {RequiredError}
1936
1573
  */
1937
- updatecoreHaloRunV1alpha1LinkGroup(name: string, linkGroup?: LinkGroup, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LinkGroup>>;
1574
+ installPlugin(file: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
1938
1575
  };
1939
1576
  /**
1940
- * CoreHaloRunV1alpha1LinkGroupApi - factory interface
1577
+ * ApiHaloRunV1alpha1PluginApi - factory interface
1941
1578
  * @export
1942
1579
  */
1943
- declare const CoreHaloRunV1alpha1LinkGroupApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
1944
- /**
1945
- * Create core.halo.run/v1alpha1/LinkGroup
1946
- * @param {LinkGroup} [linkGroup] Fresh linkgroup
1947
- * @param {*} [options] Override http request option.
1948
- * @throws {RequiredError}
1949
- */
1950
- createcoreHaloRunV1alpha1LinkGroup(linkGroup?: LinkGroup, options?: any): AxiosPromise<LinkGroup>;
1580
+ declare const ApiHaloRunV1alpha1PluginApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
1951
1581
  /**
1952
- * Delete core.halo.run/v1alpha1/LinkGroup
1953
- * @param {string} name Name of linkgroup
1582
+ * Install a plugin by uploading a Jar file.
1583
+ * @param {any} file
1954
1584
  * @param {*} [options] Override http request option.
1955
1585
  * @throws {RequiredError}
1956
1586
  */
1957
- deletecoreHaloRunV1alpha1LinkGroup(name: string, options?: any): AxiosPromise<void>;
1958
- /**
1959
- * Get core.halo.run/v1alpha1/LinkGroup
1960
- * @param {string} name Name of linkgroup
1961
- * @param {*} [options] Override http request option.
1962
- * @throws {RequiredError}
1963
- */
1964
- getcoreHaloRunV1alpha1LinkGroup(name: string, options?: any): AxiosPromise<LinkGroup>;
1965
- /**
1966
- * List core.halo.run/v1alpha1/LinkGroup
1967
- * @param {number} [page] Page index
1968
- * @param {number} [size] Size of one page
1969
- * @param {string} [sort] Sort by some fields. Like metadata.name,desc
1970
- * @param {*} [options] Override http request option.
1971
- * @throws {RequiredError}
1972
- */
1973
- listcoreHaloRunV1alpha1LinkGroup(page?: number, size?: number, sort?: string, options?: any): AxiosPromise<string>;
1974
- /**
1975
- * Update core.halo.run/v1alpha1/LinkGroup
1976
- * @param {string} name Name of linkgroup
1977
- * @param {LinkGroup} [linkGroup] Updated linkgroup
1978
- * @param {*} [options] Override http request option.
1979
- * @throws {RequiredError}
1980
- */
1981
- updatecoreHaloRunV1alpha1LinkGroup(name: string, linkGroup?: LinkGroup, options?: any): AxiosPromise<LinkGroup>;
1587
+ installPlugin(file: any, options?: any): AxiosPromise<void>;
1982
1588
  };
1983
1589
  /**
1984
- * CoreHaloRunV1alpha1LinkGroupApi - object-oriented interface
1590
+ * ApiHaloRunV1alpha1PluginApi - object-oriented interface
1985
1591
  * @export
1986
- * @class CoreHaloRunV1alpha1LinkGroupApi
1592
+ * @class ApiHaloRunV1alpha1PluginApi
1987
1593
  * @extends {BaseAPI}
1988
1594
  */
1989
- declare class CoreHaloRunV1alpha1LinkGroupApi extends BaseAPI {
1990
- /**
1991
- * Create core.halo.run/v1alpha1/LinkGroup
1992
- * @param {LinkGroup} [linkGroup] Fresh linkgroup
1993
- * @param {*} [options] Override http request option.
1994
- * @throws {RequiredError}
1995
- * @memberof CoreHaloRunV1alpha1LinkGroupApi
1996
- */
1997
- createcoreHaloRunV1alpha1LinkGroup(linkGroup?: LinkGroup, options?: AxiosRequestConfig): Promise<axios.AxiosResponse<LinkGroup, any>>;
1998
- /**
1999
- * Delete core.halo.run/v1alpha1/LinkGroup
2000
- * @param {string} name Name of linkgroup
2001
- * @param {*} [options] Override http request option.
2002
- * @throws {RequiredError}
2003
- * @memberof CoreHaloRunV1alpha1LinkGroupApi
2004
- */
2005
- deletecoreHaloRunV1alpha1LinkGroup(name: string, options?: AxiosRequestConfig): Promise<axios.AxiosResponse<void, any>>;
1595
+ declare class ApiHaloRunV1alpha1PluginApi extends BaseAPI {
2006
1596
  /**
2007
- * Get core.halo.run/v1alpha1/LinkGroup
2008
- * @param {string} name Name of linkgroup
1597
+ * Install a plugin by uploading a Jar file.
1598
+ * @param {any} file
2009
1599
  * @param {*} [options] Override http request option.
2010
1600
  * @throws {RequiredError}
2011
- * @memberof CoreHaloRunV1alpha1LinkGroupApi
1601
+ * @memberof ApiHaloRunV1alpha1PluginApi
2012
1602
  */
2013
- getcoreHaloRunV1alpha1LinkGroup(name: string, options?: AxiosRequestConfig): Promise<axios.AxiosResponse<LinkGroup, any>>;
2014
- /**
2015
- * List core.halo.run/v1alpha1/LinkGroup
2016
- * @param {number} [page] Page index
2017
- * @param {number} [size] Size of one page
2018
- * @param {string} [sort] Sort by some fields. Like metadata.name,desc
2019
- * @param {*} [options] Override http request option.
2020
- * @throws {RequiredError}
2021
- * @memberof CoreHaloRunV1alpha1LinkGroupApi
2022
- */
2023
- listcoreHaloRunV1alpha1LinkGroup(page?: number, size?: number, sort?: string, options?: AxiosRequestConfig): Promise<axios.AxiosResponse<string, any>>;
2024
- /**
2025
- * Update core.halo.run/v1alpha1/LinkGroup
2026
- * @param {string} name Name of linkgroup
2027
- * @param {LinkGroup} [linkGroup] Updated linkgroup
2028
- * @param {*} [options] Override http request option.
2029
- * @throws {RequiredError}
2030
- * @memberof CoreHaloRunV1alpha1LinkGroupApi
2031
- */
2032
- updatecoreHaloRunV1alpha1LinkGroup(name: string, linkGroup?: LinkGroup, options?: AxiosRequestConfig): Promise<axios.AxiosResponse<LinkGroup, any>>;
1603
+ installPlugin(file: any, options?: AxiosRequestConfig): Promise<axios.AxiosResponse<void, any>>;
2033
1604
  }
2034
1605
  /**
2035
- * CoreHaloRunV1alpha1PostApi - axios parameter creator
1606
+ * ApiHaloRunV1alpha1UserApi - axios parameter creator
2036
1607
  * @export
2037
1608
  */
2038
- declare const CoreHaloRunV1alpha1PostApiAxiosParamCreator: (configuration?: Configuration) => {
2039
- /**
2040
- * Create core.halo.run/v1alpha1/Post
2041
- * @param {Post} [post] Fresh post
2042
- * @param {*} [options] Override http request option.
2043
- * @throws {RequiredError}
2044
- */
2045
- createcoreHaloRunV1alpha1Post: (post?: Post, options?: AxiosRequestConfig) => Promise<RequestArgs>;
1609
+ declare const ApiHaloRunV1alpha1UserApiAxiosParamCreator: (configuration?: Configuration) => {
2046
1610
  /**
2047
- * Delete core.halo.run/v1alpha1/Post
2048
- * @param {string} name Name of post
1611
+ * Change password of user.
1612
+ * @param {string} name Name of user. If the name is equal to \&#39;-\&#39;, it will change the password of current user.
1613
+ * @param {ChangePasswordRequest} changePasswordRequest
2049
1614
  * @param {*} [options] Override http request option.
2050
1615
  * @throws {RequiredError}
2051
1616
  */
2052
- deletecoreHaloRunV1alpha1Post: (name: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
1617
+ changePassword: (name: string, changePasswordRequest: ChangePasswordRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
2053
1618
  /**
2054
- * Get core.halo.run/v1alpha1/Post
2055
- * @param {string} name Name of post
1619
+ * Get current user detail
2056
1620
  * @param {*} [options] Override http request option.
2057
1621
  * @throws {RequiredError}
2058
1622
  */
2059
- getcoreHaloRunV1alpha1Post: (name: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
1623
+ getCurrentUserDetail: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
2060
1624
  /**
2061
- * List core.halo.run/v1alpha1/Post
2062
- * @param {number} [page] Page index
2063
- * @param {number} [size] Size of one page
2064
- * @param {string} [sort] Sort by some fields. Like metadata.name,desc
1625
+ * Get permissions of user
1626
+ * @param {string} name User name
2065
1627
  * @param {*} [options] Override http request option.
2066
1628
  * @throws {RequiredError}
2067
1629
  */
2068
- listcoreHaloRunV1alpha1Post: (page?: number, size?: number, sort?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
1630
+ getPermissions: (name: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
2069
1631
  /**
2070
- * Update core.halo.run/v1alpha1/Post
2071
- * @param {string} name Name of post
2072
- * @param {Post} [post] Updated post
1632
+ * Grant permissions to user
1633
+ * @param {string} name User name
1634
+ * @param {GrantRequest} grantRequest
2073
1635
  * @param {*} [options] Override http request option.
2074
1636
  * @throws {RequiredError}
2075
1637
  */
2076
- updatecoreHaloRunV1alpha1Post: (name: string, post?: Post, options?: AxiosRequestConfig) => Promise<RequestArgs>;
1638
+ grantPermission: (name: string, grantRequest: GrantRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
2077
1639
  };
2078
1640
  /**
2079
- * CoreHaloRunV1alpha1PostApi - functional programming interface
1641
+ * ApiHaloRunV1alpha1UserApi - functional programming interface
2080
1642
  * @export
2081
1643
  */
2082
- declare const CoreHaloRunV1alpha1PostApiFp: (configuration?: Configuration) => {
2083
- /**
2084
- * Create core.halo.run/v1alpha1/Post
2085
- * @param {Post} [post] Fresh post
2086
- * @param {*} [options] Override http request option.
2087
- * @throws {RequiredError}
2088
- */
2089
- createcoreHaloRunV1alpha1Post(post?: Post, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Post>>;
1644
+ declare const ApiHaloRunV1alpha1UserApiFp: (configuration?: Configuration) => {
2090
1645
  /**
2091
- * Delete core.halo.run/v1alpha1/Post
2092
- * @param {string} name Name of post
1646
+ * Change password of user.
1647
+ * @param {string} name Name of user. If the name is equal to \&#39;-\&#39;, it will change the password of current user.
1648
+ * @param {ChangePasswordRequest} changePasswordRequest
2093
1649
  * @param {*} [options] Override http request option.
2094
1650
  * @throws {RequiredError}
2095
1651
  */
2096
- deletecoreHaloRunV1alpha1Post(name: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
1652
+ changePassword(name: string, changePasswordRequest: ChangePasswordRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<User>>;
2097
1653
  /**
2098
- * Get core.halo.run/v1alpha1/Post
2099
- * @param {string} name Name of post
1654
+ * Get current user detail
2100
1655
  * @param {*} [options] Override http request option.
2101
1656
  * @throws {RequiredError}
2102
1657
  */
2103
- getcoreHaloRunV1alpha1Post(name: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Post>>;
1658
+ getCurrentUserDetail(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<User>>;
2104
1659
  /**
2105
- * List core.halo.run/v1alpha1/Post
2106
- * @param {number} [page] Page index
2107
- * @param {number} [size] Size of one page
2108
- * @param {string} [sort] Sort by some fields. Like metadata.name,desc
1660
+ * Get permissions of user
1661
+ * @param {string} name User name
2109
1662
  * @param {*} [options] Override http request option.
2110
1663
  * @throws {RequiredError}
2111
1664
  */
2112
- listcoreHaloRunV1alpha1Post(page?: number, size?: number, sort?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>>;
1665
+ getPermissions(name: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserPermission>>;
2113
1666
  /**
2114
- * Update core.halo.run/v1alpha1/Post
2115
- * @param {string} name Name of post
2116
- * @param {Post} [post] Updated post
1667
+ * Grant permissions to user
1668
+ * @param {string} name User name
1669
+ * @param {GrantRequest} grantRequest
2117
1670
  * @param {*} [options] Override http request option.
2118
1671
  * @throws {RequiredError}
2119
1672
  */
2120
- updatecoreHaloRunV1alpha1Post(name: string, post?: Post, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Post>>;
1673
+ grantPermission(name: string, grantRequest: GrantRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<User>>;
2121
1674
  };
2122
1675
  /**
2123
- * CoreHaloRunV1alpha1PostApi - factory interface
1676
+ * ApiHaloRunV1alpha1UserApi - factory interface
2124
1677
  * @export
2125
1678
  */
2126
- declare const CoreHaloRunV1alpha1PostApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
2127
- /**
2128
- * Create core.halo.run/v1alpha1/Post
2129
- * @param {Post} [post] Fresh post
2130
- * @param {*} [options] Override http request option.
2131
- * @throws {RequiredError}
2132
- */
2133
- createcoreHaloRunV1alpha1Post(post?: Post, options?: any): AxiosPromise<Post>;
1679
+ declare const ApiHaloRunV1alpha1UserApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
2134
1680
  /**
2135
- * Delete core.halo.run/v1alpha1/Post
2136
- * @param {string} name Name of post
1681
+ * Change password of user.
1682
+ * @param {string} name Name of user. If the name is equal to \&#39;-\&#39;, it will change the password of current user.
1683
+ * @param {ChangePasswordRequest} changePasswordRequest
2137
1684
  * @param {*} [options] Override http request option.
2138
1685
  * @throws {RequiredError}
2139
1686
  */
2140
- deletecoreHaloRunV1alpha1Post(name: string, options?: any): AxiosPromise<void>;
1687
+ changePassword(name: string, changePasswordRequest: ChangePasswordRequest, options?: any): AxiosPromise<User>;
2141
1688
  /**
2142
- * Get core.halo.run/v1alpha1/Post
2143
- * @param {string} name Name of post
1689
+ * Get current user detail
2144
1690
  * @param {*} [options] Override http request option.
2145
1691
  * @throws {RequiredError}
2146
1692
  */
2147
- getcoreHaloRunV1alpha1Post(name: string, options?: any): AxiosPromise<Post>;
1693
+ getCurrentUserDetail(options?: any): AxiosPromise<User>;
2148
1694
  /**
2149
- * List core.halo.run/v1alpha1/Post
2150
- * @param {number} [page] Page index
2151
- * @param {number} [size] Size of one page
2152
- * @param {string} [sort] Sort by some fields. Like metadata.name,desc
1695
+ * Get permissions of user
1696
+ * @param {string} name User name
2153
1697
  * @param {*} [options] Override http request option.
2154
1698
  * @throws {RequiredError}
2155
1699
  */
2156
- listcoreHaloRunV1alpha1Post(page?: number, size?: number, sort?: string, options?: any): AxiosPromise<string>;
1700
+ getPermissions(name: string, options?: any): AxiosPromise<UserPermission>;
2157
1701
  /**
2158
- * Update core.halo.run/v1alpha1/Post
2159
- * @param {string} name Name of post
2160
- * @param {Post} [post] Updated post
1702
+ * Grant permissions to user
1703
+ * @param {string} name User name
1704
+ * @param {GrantRequest} grantRequest
2161
1705
  * @param {*} [options] Override http request option.
2162
1706
  * @throws {RequiredError}
2163
1707
  */
2164
- updatecoreHaloRunV1alpha1Post(name: string, post?: Post, options?: any): AxiosPromise<Post>;
1708
+ grantPermission(name: string, grantRequest: GrantRequest, options?: any): AxiosPromise<User>;
2165
1709
  };
2166
1710
  /**
2167
- * CoreHaloRunV1alpha1PostApi - object-oriented interface
1711
+ * ApiHaloRunV1alpha1UserApi - object-oriented interface
2168
1712
  * @export
2169
- * @class CoreHaloRunV1alpha1PostApi
1713
+ * @class ApiHaloRunV1alpha1UserApi
2170
1714
  * @extends {BaseAPI}
2171
1715
  */
2172
- declare class CoreHaloRunV1alpha1PostApi extends BaseAPI {
2173
- /**
2174
- * Create core.halo.run/v1alpha1/Post
2175
- * @param {Post} [post] Fresh post
2176
- * @param {*} [options] Override http request option.
2177
- * @throws {RequiredError}
2178
- * @memberof CoreHaloRunV1alpha1PostApi
2179
- */
2180
- createcoreHaloRunV1alpha1Post(post?: Post, options?: AxiosRequestConfig): Promise<axios.AxiosResponse<Post, any>>;
1716
+ declare class ApiHaloRunV1alpha1UserApi extends BaseAPI {
2181
1717
  /**
2182
- * Delete core.halo.run/v1alpha1/Post
2183
- * @param {string} name Name of post
1718
+ * Change password of user.
1719
+ * @param {string} name Name of user. If the name is equal to \&#39;-\&#39;, it will change the password of current user.
1720
+ * @param {ChangePasswordRequest} changePasswordRequest
2184
1721
  * @param {*} [options] Override http request option.
2185
1722
  * @throws {RequiredError}
2186
- * @memberof CoreHaloRunV1alpha1PostApi
1723
+ * @memberof ApiHaloRunV1alpha1UserApi
2187
1724
  */
2188
- deletecoreHaloRunV1alpha1Post(name: string, options?: AxiosRequestConfig): Promise<axios.AxiosResponse<void, any>>;
1725
+ changePassword(name: string, changePasswordRequest: ChangePasswordRequest, options?: AxiosRequestConfig): Promise<axios.AxiosResponse<User, any>>;
2189
1726
  /**
2190
- * Get core.halo.run/v1alpha1/Post
2191
- * @param {string} name Name of post
1727
+ * Get current user detail
2192
1728
  * @param {*} [options] Override http request option.
2193
1729
  * @throws {RequiredError}
2194
- * @memberof CoreHaloRunV1alpha1PostApi
1730
+ * @memberof ApiHaloRunV1alpha1UserApi
2195
1731
  */
2196
- getcoreHaloRunV1alpha1Post(name: string, options?: AxiosRequestConfig): Promise<axios.AxiosResponse<Post, any>>;
1732
+ getCurrentUserDetail(options?: AxiosRequestConfig): Promise<axios.AxiosResponse<User, any>>;
2197
1733
  /**
2198
- * List core.halo.run/v1alpha1/Post
2199
- * @param {number} [page] Page index
2200
- * @param {number} [size] Size of one page
2201
- * @param {string} [sort] Sort by some fields. Like metadata.name,desc
1734
+ * Get permissions of user
1735
+ * @param {string} name User name
2202
1736
  * @param {*} [options] Override http request option.
2203
1737
  * @throws {RequiredError}
2204
- * @memberof CoreHaloRunV1alpha1PostApi
1738
+ * @memberof ApiHaloRunV1alpha1UserApi
2205
1739
  */
2206
- listcoreHaloRunV1alpha1Post(page?: number, size?: number, sort?: string, options?: AxiosRequestConfig): Promise<axios.AxiosResponse<string, any>>;
1740
+ getPermissions(name: string, options?: AxiosRequestConfig): Promise<axios.AxiosResponse<UserPermission, any>>;
2207
1741
  /**
2208
- * Update core.halo.run/v1alpha1/Post
2209
- * @param {string} name Name of post
2210
- * @param {Post} [post] Updated post
1742
+ * Grant permissions to user
1743
+ * @param {string} name User name
1744
+ * @param {GrantRequest} grantRequest
2211
1745
  * @param {*} [options] Override http request option.
2212
1746
  * @throws {RequiredError}
2213
- * @memberof CoreHaloRunV1alpha1PostApi
1747
+ * @memberof ApiHaloRunV1alpha1UserApi
2214
1748
  */
2215
- updatecoreHaloRunV1alpha1Post(name: string, post?: Post, options?: AxiosRequestConfig): Promise<axios.AxiosResponse<Post, any>>;
1749
+ grantPermission(name: string, grantRequest: GrantRequest, options?: AxiosRequestConfig): Promise<axios.AxiosResponse<User, any>>;
2216
1750
  }
2217
1751
  /**
2218
1752
  * PluginHaloRunV1alpha1PluginApi - axios parameter creator
@@ -3679,4 +3213,4 @@ declare class V1alpha1UserApi extends BaseAPI {
3679
3213
  updatev1alpha1User(name: string, user?: User, options?: AxiosRequestConfig): Promise<axios.AxiosResponse<User, any>>;
3680
3214
  }
3681
3215
 
3682
- export { ApiHaloRunV1alpha1UserApi, ApiHaloRunV1alpha1UserApiAxiosParamCreator, ApiHaloRunV1alpha1UserApiFactory, ApiHaloRunV1alpha1UserApiFp, ConfigMap, ConfigMapList, Configuration, ConfigurationParameters, CoreHaloRunV1alpha1LinkApi, CoreHaloRunV1alpha1LinkApiAxiosParamCreator, CoreHaloRunV1alpha1LinkApiFactory, CoreHaloRunV1alpha1LinkApiFp, CoreHaloRunV1alpha1LinkGroupApi, CoreHaloRunV1alpha1LinkGroupApiAxiosParamCreator, CoreHaloRunV1alpha1LinkGroupApiFactory, CoreHaloRunV1alpha1LinkGroupApiFp, CoreHaloRunV1alpha1PostApi, CoreHaloRunV1alpha1PostApiAxiosParamCreator, CoreHaloRunV1alpha1PostApiFactory, CoreHaloRunV1alpha1PostApiFp, FileReverseProxyProvider, GrantRequest, License, Link, LinkGroup, LinkGroupSpec, LinkSpec, LoginHistory, Metadata, PersonalAccessToken, PersonalAccessTokenList, PersonalAccessTokenSpec, Plugin, PluginHaloRunV1alpha1PluginApi, PluginHaloRunV1alpha1PluginApiAxiosParamCreator, PluginHaloRunV1alpha1PluginApiFactory, PluginHaloRunV1alpha1PluginApiFp, PluginHaloRunV1alpha1ReverseProxyApi, PluginHaloRunV1alpha1ReverseProxyApiAxiosParamCreator, PluginHaloRunV1alpha1ReverseProxyApiFactory, PluginHaloRunV1alpha1ReverseProxyApiFp, PluginList, PluginSpec, PluginStatus, PluginStatusPhaseEnum, PolicyRule, Post, PostSpec, ReverseProxy, ReverseProxyList, ReverseProxyRule, Role, RoleBinding, RoleBindingList, RoleList, RoleRef, Setting, SettingList, SettingSpec, Subject, User, UserList, UserSpec, UserStatus, V1alpha1ConfigMapApi, V1alpha1ConfigMapApiAxiosParamCreator, V1alpha1ConfigMapApiFactory, V1alpha1ConfigMapApiFp, V1alpha1PersonalAccessTokenApi, V1alpha1PersonalAccessTokenApiAxiosParamCreator, V1alpha1PersonalAccessTokenApiFactory, V1alpha1PersonalAccessTokenApiFp, V1alpha1RoleApi, V1alpha1RoleApiAxiosParamCreator, V1alpha1RoleApiFactory, V1alpha1RoleApiFp, V1alpha1RoleBindingApi, V1alpha1RoleBindingApiAxiosParamCreator, V1alpha1RoleBindingApiFactory, V1alpha1RoleBindingApiFp, V1alpha1SettingApi, V1alpha1SettingApiAxiosParamCreator, V1alpha1SettingApiFactory, V1alpha1SettingApiFp, V1alpha1UserApi, V1alpha1UserApiAxiosParamCreator, V1alpha1UserApiFactory, V1alpha1UserApiFp };
3216
+ export { ActuatorApi, ActuatorApiAxiosParamCreator, ActuatorApiFactory, ActuatorApiFp, ApiHaloRunV1alpha1PluginApi, ApiHaloRunV1alpha1PluginApiAxiosParamCreator, ApiHaloRunV1alpha1PluginApiFactory, ApiHaloRunV1alpha1PluginApiFp, ApiHaloRunV1alpha1UserApi, ApiHaloRunV1alpha1UserApiAxiosParamCreator, ApiHaloRunV1alpha1UserApiFactory, ApiHaloRunV1alpha1UserApiFp, ChangePasswordRequest, ConfigMap, ConfigMapList, Configuration, ConfigurationParameters, FileReverseProxyProvider, GrantRequest, License, Link, LoginHistory, Metadata, PersonalAccessToken, PersonalAccessTokenList, PersonalAccessTokenSpec, Plugin, PluginHaloRunV1alpha1PluginApi, PluginHaloRunV1alpha1PluginApiAxiosParamCreator, PluginHaloRunV1alpha1PluginApiFactory, PluginHaloRunV1alpha1PluginApiFp, PluginHaloRunV1alpha1ReverseProxyApi, PluginHaloRunV1alpha1ReverseProxyApiAxiosParamCreator, PluginHaloRunV1alpha1ReverseProxyApiFactory, PluginHaloRunV1alpha1ReverseProxyApiFp, PluginList, PluginSpec, PluginStatus, PluginStatusPhaseEnum, PolicyRule, ReverseProxy, ReverseProxyList, ReverseProxyRule, Role, RoleBinding, RoleBindingList, RoleList, RoleRef, Setting, SettingList, SettingSpec, Subject, User, UserList, UserPermission, UserSpec, UserStatus, V1alpha1ConfigMapApi, V1alpha1ConfigMapApiAxiosParamCreator, V1alpha1ConfigMapApiFactory, V1alpha1ConfigMapApiFp, V1alpha1PersonalAccessTokenApi, V1alpha1PersonalAccessTokenApiAxiosParamCreator, V1alpha1PersonalAccessTokenApiFactory, V1alpha1PersonalAccessTokenApiFp, V1alpha1RoleApi, V1alpha1RoleApiAxiosParamCreator, V1alpha1RoleApiFactory, V1alpha1RoleApiFp, V1alpha1RoleBindingApi, V1alpha1RoleBindingApiAxiosParamCreator, V1alpha1RoleBindingApiFactory, V1alpha1RoleBindingApiFp, V1alpha1SettingApi, V1alpha1SettingApiAxiosParamCreator, V1alpha1SettingApiFactory, V1alpha1SettingApiFp, V1alpha1UserApi, V1alpha1UserApiAxiosParamCreator, V1alpha1UserApiFactory, V1alpha1UserApiFp };