@halo-dev/api-client 0.0.25 → 0.0.26
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.cjs +78 -63
- package/dist/index.d.ts +166 -109
- package/dist/index.mjs +78 -63
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1550,22 +1550,22 @@ interface Excerpt {
|
|
|
1550
1550
|
interface Extension {
|
|
1551
1551
|
/**
|
|
1552
1552
|
*
|
|
1553
|
-
* @type {
|
|
1553
|
+
* @type {Metadata}
|
|
1554
1554
|
* @memberof Extension
|
|
1555
1555
|
*/
|
|
1556
|
-
|
|
1556
|
+
metadata: Metadata;
|
|
1557
1557
|
/**
|
|
1558
1558
|
*
|
|
1559
|
-
* @type {
|
|
1559
|
+
* @type {string}
|
|
1560
1560
|
* @memberof Extension
|
|
1561
1561
|
*/
|
|
1562
|
-
|
|
1562
|
+
apiVersion: string;
|
|
1563
1563
|
/**
|
|
1564
1564
|
*
|
|
1565
1565
|
* @type {string}
|
|
1566
1566
|
* @memberof Extension
|
|
1567
1567
|
*/
|
|
1568
|
-
|
|
1568
|
+
kind: string;
|
|
1569
1569
|
}
|
|
1570
1570
|
|
|
1571
1571
|
/**
|
|
@@ -2180,6 +2180,12 @@ interface PostStatus {
|
|
|
2180
2180
|
* @memberof PostStatus
|
|
2181
2181
|
*/
|
|
2182
2182
|
inProgress?: boolean;
|
|
2183
|
+
/**
|
|
2184
|
+
*
|
|
2185
|
+
* @type {number}
|
|
2186
|
+
* @memberof PostStatus
|
|
2187
|
+
*/
|
|
2188
|
+
commentsCount?: number;
|
|
2183
2189
|
/**
|
|
2184
2190
|
*
|
|
2185
2191
|
* @type {Array<string>}
|
|
@@ -2895,6 +2901,12 @@ interface SinglePageStatus {
|
|
|
2895
2901
|
* @memberof SinglePageStatus
|
|
2896
2902
|
*/
|
|
2897
2903
|
inProgress?: boolean;
|
|
2904
|
+
/**
|
|
2905
|
+
*
|
|
2906
|
+
* @type {number}
|
|
2907
|
+
* @memberof SinglePageStatus
|
|
2908
|
+
*/
|
|
2909
|
+
commentsCount?: number;
|
|
2898
2910
|
/**
|
|
2899
2911
|
*
|
|
2900
2912
|
* @type {Array<string>}
|
|
@@ -5932,9 +5944,6 @@ declare const ApiConsoleHaloRunV1alpha1CommentApiAxiosParamCreator: (configurati
|
|
|
5932
5944
|
/**
|
|
5933
5945
|
* List comments.
|
|
5934
5946
|
* @param {'LAST_REPLY_TIME' | 'REPLY_COUNT' | 'CREATE_TIME'} [sort] Comment collation.
|
|
5935
|
-
* @param {string} [keyword] Comments filtered by keyword.
|
|
5936
|
-
* @param {boolean} [hidden] The comment is hidden from the theme side.
|
|
5937
|
-
* @param {boolean} [top] Comment top display.
|
|
5938
5947
|
* @param {boolean} [sortOrder] ascending order If it is true; otherwise, it is in descending order.
|
|
5939
5948
|
* @param {boolean} [approved] Comments approved.
|
|
5940
5949
|
* @param {boolean} [allowNotification] Send notifications when there are new replies.
|
|
@@ -5942,14 +5951,17 @@ declare const ApiConsoleHaloRunV1alpha1CommentApiAxiosParamCreator: (configurati
|
|
|
5942
5951
|
* @param {string} [ownerName] Commenter name.
|
|
5943
5952
|
* @param {string} [subjectKind] Comment subject kind.
|
|
5944
5953
|
* @param {string} [subjectName] Comment subject name.
|
|
5954
|
+
* @param {string} [keyword] Comments filtered by keyword.
|
|
5955
|
+
* @param {boolean} [hidden] The comment is hidden from the theme side.
|
|
5956
|
+
* @param {boolean} [top] Comment top display.
|
|
5945
5957
|
* @param {number} [size] Size of one page. Zero indicates no limit.
|
|
5946
|
-
* @param {number} [page] The page number. Zero indicates no page.
|
|
5947
5958
|
* @param {Array<string>} [labelSelector] Label selector for filtering.
|
|
5948
5959
|
* @param {Array<string>} [fieldSelector] Field selector for filtering.
|
|
5960
|
+
* @param {number} [page] The page number. Zero indicates no page.
|
|
5949
5961
|
* @param {*} [options] Override http request option.
|
|
5950
5962
|
* @throws {RequiredError}
|
|
5951
5963
|
*/
|
|
5952
|
-
listComments: (sort?: 'LAST_REPLY_TIME' | 'REPLY_COUNT' | 'CREATE_TIME',
|
|
5964
|
+
listComments: (sort?: 'LAST_REPLY_TIME' | 'REPLY_COUNT' | 'CREATE_TIME', sortOrder?: boolean, approved?: boolean, allowNotification?: boolean, ownerKind?: string, ownerName?: string, subjectKind?: string, subjectName?: string, keyword?: string, hidden?: boolean, top?: boolean, size?: number, labelSelector?: Array<string>, fieldSelector?: Array<string>, page?: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
5953
5965
|
};
|
|
5954
5966
|
/**
|
|
5955
5967
|
* ApiConsoleHaloRunV1alpha1CommentApi - functional programming interface
|
|
@@ -5974,9 +5986,6 @@ declare const ApiConsoleHaloRunV1alpha1CommentApiFp: (configuration?: Configurat
|
|
|
5974
5986
|
/**
|
|
5975
5987
|
* List comments.
|
|
5976
5988
|
* @param {'LAST_REPLY_TIME' | 'REPLY_COUNT' | 'CREATE_TIME'} [sort] Comment collation.
|
|
5977
|
-
* @param {string} [keyword] Comments filtered by keyword.
|
|
5978
|
-
* @param {boolean} [hidden] The comment is hidden from the theme side.
|
|
5979
|
-
* @param {boolean} [top] Comment top display.
|
|
5980
5989
|
* @param {boolean} [sortOrder] ascending order If it is true; otherwise, it is in descending order.
|
|
5981
5990
|
* @param {boolean} [approved] Comments approved.
|
|
5982
5991
|
* @param {boolean} [allowNotification] Send notifications when there are new replies.
|
|
@@ -5984,14 +5993,17 @@ declare const ApiConsoleHaloRunV1alpha1CommentApiFp: (configuration?: Configurat
|
|
|
5984
5993
|
* @param {string} [ownerName] Commenter name.
|
|
5985
5994
|
* @param {string} [subjectKind] Comment subject kind.
|
|
5986
5995
|
* @param {string} [subjectName] Comment subject name.
|
|
5996
|
+
* @param {string} [keyword] Comments filtered by keyword.
|
|
5997
|
+
* @param {boolean} [hidden] The comment is hidden from the theme side.
|
|
5998
|
+
* @param {boolean} [top] Comment top display.
|
|
5987
5999
|
* @param {number} [size] Size of one page. Zero indicates no limit.
|
|
5988
|
-
* @param {number} [page] The page number. Zero indicates no page.
|
|
5989
6000
|
* @param {Array<string>} [labelSelector] Label selector for filtering.
|
|
5990
6001
|
* @param {Array<string>} [fieldSelector] Field selector for filtering.
|
|
6002
|
+
* @param {number} [page] The page number. Zero indicates no page.
|
|
5991
6003
|
* @param {*} [options] Override http request option.
|
|
5992
6004
|
* @throws {RequiredError}
|
|
5993
6005
|
*/
|
|
5994
|
-
listComments(sort?: 'LAST_REPLY_TIME' | 'REPLY_COUNT' | 'CREATE_TIME',
|
|
6006
|
+
listComments(sort?: 'LAST_REPLY_TIME' | 'REPLY_COUNT' | 'CREATE_TIME', sortOrder?: boolean, approved?: boolean, allowNotification?: boolean, ownerKind?: string, ownerName?: string, subjectKind?: string, subjectName?: string, keyword?: string, hidden?: boolean, top?: boolean, size?: number, labelSelector?: Array<string>, fieldSelector?: Array<string>, page?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListedCommentList>>;
|
|
5995
6007
|
};
|
|
5996
6008
|
/**
|
|
5997
6009
|
* ApiConsoleHaloRunV1alpha1CommentApi - factory interface
|
|
@@ -6016,9 +6028,6 @@ declare const ApiConsoleHaloRunV1alpha1CommentApiFactory: (configuration?: Confi
|
|
|
6016
6028
|
/**
|
|
6017
6029
|
* List comments.
|
|
6018
6030
|
* @param {'LAST_REPLY_TIME' | 'REPLY_COUNT' | 'CREATE_TIME'} [sort] Comment collation.
|
|
6019
|
-
* @param {string} [keyword] Comments filtered by keyword.
|
|
6020
|
-
* @param {boolean} [hidden] The comment is hidden from the theme side.
|
|
6021
|
-
* @param {boolean} [top] Comment top display.
|
|
6022
6031
|
* @param {boolean} [sortOrder] ascending order If it is true; otherwise, it is in descending order.
|
|
6023
6032
|
* @param {boolean} [approved] Comments approved.
|
|
6024
6033
|
* @param {boolean} [allowNotification] Send notifications when there are new replies.
|
|
@@ -6026,14 +6035,17 @@ declare const ApiConsoleHaloRunV1alpha1CommentApiFactory: (configuration?: Confi
|
|
|
6026
6035
|
* @param {string} [ownerName] Commenter name.
|
|
6027
6036
|
* @param {string} [subjectKind] Comment subject kind.
|
|
6028
6037
|
* @param {string} [subjectName] Comment subject name.
|
|
6038
|
+
* @param {string} [keyword] Comments filtered by keyword.
|
|
6039
|
+
* @param {boolean} [hidden] The comment is hidden from the theme side.
|
|
6040
|
+
* @param {boolean} [top] Comment top display.
|
|
6029
6041
|
* @param {number} [size] Size of one page. Zero indicates no limit.
|
|
6030
|
-
* @param {number} [page] The page number. Zero indicates no page.
|
|
6031
6042
|
* @param {Array<string>} [labelSelector] Label selector for filtering.
|
|
6032
6043
|
* @param {Array<string>} [fieldSelector] Field selector for filtering.
|
|
6044
|
+
* @param {number} [page] The page number. Zero indicates no page.
|
|
6033
6045
|
* @param {*} [options] Override http request option.
|
|
6034
6046
|
* @throws {RequiredError}
|
|
6035
6047
|
*/
|
|
6036
|
-
listComments(sort?: 'LAST_REPLY_TIME' | 'REPLY_COUNT' | 'CREATE_TIME',
|
|
6048
|
+
listComments(sort?: 'LAST_REPLY_TIME' | 'REPLY_COUNT' | 'CREATE_TIME', sortOrder?: boolean, approved?: boolean, allowNotification?: boolean, ownerKind?: string, ownerName?: string, subjectKind?: string, subjectName?: string, keyword?: string, hidden?: boolean, top?: boolean, size?: number, labelSelector?: Array<string>, fieldSelector?: Array<string>, page?: number, options?: any): AxiosPromise<ListedCommentList>;
|
|
6037
6049
|
};
|
|
6038
6050
|
/**
|
|
6039
6051
|
* Request parameters for createComment operation in ApiConsoleHaloRunV1alpha1CommentApi.
|
|
@@ -6079,24 +6091,6 @@ interface ApiConsoleHaloRunV1alpha1CommentApiListCommentsRequest {
|
|
|
6079
6091
|
* @memberof ApiConsoleHaloRunV1alpha1CommentApiListComments
|
|
6080
6092
|
*/
|
|
6081
6093
|
readonly sort?: 'LAST_REPLY_TIME' | 'REPLY_COUNT' | 'CREATE_TIME';
|
|
6082
|
-
/**
|
|
6083
|
-
* Comments filtered by keyword.
|
|
6084
|
-
* @type {string}
|
|
6085
|
-
* @memberof ApiConsoleHaloRunV1alpha1CommentApiListComments
|
|
6086
|
-
*/
|
|
6087
|
-
readonly keyword?: string;
|
|
6088
|
-
/**
|
|
6089
|
-
* The comment is hidden from the theme side.
|
|
6090
|
-
* @type {boolean}
|
|
6091
|
-
* @memberof ApiConsoleHaloRunV1alpha1CommentApiListComments
|
|
6092
|
-
*/
|
|
6093
|
-
readonly hidden?: boolean;
|
|
6094
|
-
/**
|
|
6095
|
-
* Comment top display.
|
|
6096
|
-
* @type {boolean}
|
|
6097
|
-
* @memberof ApiConsoleHaloRunV1alpha1CommentApiListComments
|
|
6098
|
-
*/
|
|
6099
|
-
readonly top?: boolean;
|
|
6100
6094
|
/**
|
|
6101
6095
|
* ascending order If it is true; otherwise, it is in descending order.
|
|
6102
6096
|
* @type {boolean}
|
|
@@ -6140,17 +6134,29 @@ interface ApiConsoleHaloRunV1alpha1CommentApiListCommentsRequest {
|
|
|
6140
6134
|
*/
|
|
6141
6135
|
readonly subjectName?: string;
|
|
6142
6136
|
/**
|
|
6143
|
-
*
|
|
6144
|
-
* @type {
|
|
6137
|
+
* Comments filtered by keyword.
|
|
6138
|
+
* @type {string}
|
|
6145
6139
|
* @memberof ApiConsoleHaloRunV1alpha1CommentApiListComments
|
|
6146
6140
|
*/
|
|
6147
|
-
readonly
|
|
6141
|
+
readonly keyword?: string;
|
|
6148
6142
|
/**
|
|
6149
|
-
* The
|
|
6143
|
+
* The comment is hidden from the theme side.
|
|
6144
|
+
* @type {boolean}
|
|
6145
|
+
* @memberof ApiConsoleHaloRunV1alpha1CommentApiListComments
|
|
6146
|
+
*/
|
|
6147
|
+
readonly hidden?: boolean;
|
|
6148
|
+
/**
|
|
6149
|
+
* Comment top display.
|
|
6150
|
+
* @type {boolean}
|
|
6151
|
+
* @memberof ApiConsoleHaloRunV1alpha1CommentApiListComments
|
|
6152
|
+
*/
|
|
6153
|
+
readonly top?: boolean;
|
|
6154
|
+
/**
|
|
6155
|
+
* Size of one page. Zero indicates no limit.
|
|
6150
6156
|
* @type {number}
|
|
6151
6157
|
* @memberof ApiConsoleHaloRunV1alpha1CommentApiListComments
|
|
6152
6158
|
*/
|
|
6153
|
-
readonly
|
|
6159
|
+
readonly size?: number;
|
|
6154
6160
|
/**
|
|
6155
6161
|
* Label selector for filtering.
|
|
6156
6162
|
* @type {Array<string>}
|
|
@@ -6163,6 +6169,12 @@ interface ApiConsoleHaloRunV1alpha1CommentApiListCommentsRequest {
|
|
|
6163
6169
|
* @memberof ApiConsoleHaloRunV1alpha1CommentApiListComments
|
|
6164
6170
|
*/
|
|
6165
6171
|
readonly fieldSelector?: Array<string>;
|
|
6172
|
+
/**
|
|
6173
|
+
* The page number. Zero indicates no page.
|
|
6174
|
+
* @type {number}
|
|
6175
|
+
* @memberof ApiConsoleHaloRunV1alpha1CommentApiListComments
|
|
6176
|
+
*/
|
|
6177
|
+
readonly page?: number;
|
|
6166
6178
|
}
|
|
6167
6179
|
/**
|
|
6168
6180
|
* ApiConsoleHaloRunV1alpha1CommentApi - object-oriented interface
|
|
@@ -6493,17 +6505,22 @@ declare const ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator: (configuration?
|
|
|
6493
6505
|
draftPost: (postRequest: PostRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
6494
6506
|
/**
|
|
6495
6507
|
* List posts.
|
|
6496
|
-
* @param {
|
|
6497
|
-
* @param {Array<string>} [
|
|
6498
|
-
* @param {
|
|
6508
|
+
* @param {'PUBLISH_TIME' | 'CREATE_TIME'} [sort] Post collation.
|
|
6509
|
+
* @param {Array<string>} [contributor]
|
|
6510
|
+
* @param {boolean} [sortOrder] ascending order If it is true; otherwise, it is in descending order.
|
|
6511
|
+
* @param {'DRAFT' | 'PENDING_APPROVAL' | 'PUBLISHED'} [publishPhase]
|
|
6512
|
+
* @param {Array<string>} [category]
|
|
6513
|
+
* @param {Array<string>} [tag]
|
|
6514
|
+
* @param {'PUBLIC' | 'INTERNAL' | 'PRIVATE'} [visible]
|
|
6515
|
+
* @param {string} [keyword] Posts filtered by keyword.
|
|
6499
6516
|
* @param {number} [size] Size of one page. Zero indicates no limit.
|
|
6500
|
-
* @param {number} [page] The page number. Zero indicates no page.
|
|
6501
6517
|
* @param {Array<string>} [labelSelector] Label selector for filtering.
|
|
6502
6518
|
* @param {Array<string>} [fieldSelector] Field selector for filtering.
|
|
6519
|
+
* @param {number} [page] The page number. Zero indicates no page.
|
|
6503
6520
|
* @param {*} [options] Override http request option.
|
|
6504
6521
|
* @throws {RequiredError}
|
|
6505
6522
|
*/
|
|
6506
|
-
listPosts: (
|
|
6523
|
+
listPosts: (sort?: 'PUBLISH_TIME' | 'CREATE_TIME', contributor?: Array<string>, sortOrder?: boolean, publishPhase?: 'DRAFT' | 'PENDING_APPROVAL' | 'PUBLISHED', category?: Array<string>, tag?: Array<string>, visible?: 'PUBLIC' | 'INTERNAL' | 'PRIVATE', keyword?: string, size?: number, labelSelector?: Array<string>, fieldSelector?: Array<string>, page?: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
6507
6524
|
/**
|
|
6508
6525
|
* Publish a post.
|
|
6509
6526
|
* @param {string} name
|
|
@@ -6534,17 +6551,22 @@ declare const ApiConsoleHaloRunV1alpha1PostApiFp: (configuration?: Configuration
|
|
|
6534
6551
|
draftPost(postRequest: PostRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Post>>;
|
|
6535
6552
|
/**
|
|
6536
6553
|
* List posts.
|
|
6537
|
-
* @param {
|
|
6538
|
-
* @param {Array<string>} [
|
|
6539
|
-
* @param {
|
|
6554
|
+
* @param {'PUBLISH_TIME' | 'CREATE_TIME'} [sort] Post collation.
|
|
6555
|
+
* @param {Array<string>} [contributor]
|
|
6556
|
+
* @param {boolean} [sortOrder] ascending order If it is true; otherwise, it is in descending order.
|
|
6557
|
+
* @param {'DRAFT' | 'PENDING_APPROVAL' | 'PUBLISHED'} [publishPhase]
|
|
6558
|
+
* @param {Array<string>} [category]
|
|
6559
|
+
* @param {Array<string>} [tag]
|
|
6560
|
+
* @param {'PUBLIC' | 'INTERNAL' | 'PRIVATE'} [visible]
|
|
6561
|
+
* @param {string} [keyword] Posts filtered by keyword.
|
|
6540
6562
|
* @param {number} [size] Size of one page. Zero indicates no limit.
|
|
6541
|
-
* @param {number} [page] The page number. Zero indicates no page.
|
|
6542
6563
|
* @param {Array<string>} [labelSelector] Label selector for filtering.
|
|
6543
6564
|
* @param {Array<string>} [fieldSelector] Field selector for filtering.
|
|
6565
|
+
* @param {number} [page] The page number. Zero indicates no page.
|
|
6544
6566
|
* @param {*} [options] Override http request option.
|
|
6545
6567
|
* @throws {RequiredError}
|
|
6546
6568
|
*/
|
|
6547
|
-
listPosts(
|
|
6569
|
+
listPosts(sort?: 'PUBLISH_TIME' | 'CREATE_TIME', contributor?: Array<string>, sortOrder?: boolean, publishPhase?: 'DRAFT' | 'PENDING_APPROVAL' | 'PUBLISHED', category?: Array<string>, tag?: Array<string>, visible?: 'PUBLIC' | 'INTERNAL' | 'PRIVATE', keyword?: string, size?: number, labelSelector?: Array<string>, fieldSelector?: Array<string>, page?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListedPostList>>;
|
|
6548
6570
|
/**
|
|
6549
6571
|
* Publish a post.
|
|
6550
6572
|
* @param {string} name
|
|
@@ -6575,17 +6597,22 @@ declare const ApiConsoleHaloRunV1alpha1PostApiFactory: (configuration?: Configur
|
|
|
6575
6597
|
draftPost(postRequest: PostRequest, options?: any): AxiosPromise<Post>;
|
|
6576
6598
|
/**
|
|
6577
6599
|
* List posts.
|
|
6578
|
-
* @param {
|
|
6579
|
-
* @param {Array<string>} [
|
|
6580
|
-
* @param {
|
|
6600
|
+
* @param {'PUBLISH_TIME' | 'CREATE_TIME'} [sort] Post collation.
|
|
6601
|
+
* @param {Array<string>} [contributor]
|
|
6602
|
+
* @param {boolean} [sortOrder] ascending order If it is true; otherwise, it is in descending order.
|
|
6603
|
+
* @param {'DRAFT' | 'PENDING_APPROVAL' | 'PUBLISHED'} [publishPhase]
|
|
6604
|
+
* @param {Array<string>} [category]
|
|
6605
|
+
* @param {Array<string>} [tag]
|
|
6606
|
+
* @param {'PUBLIC' | 'INTERNAL' | 'PRIVATE'} [visible]
|
|
6607
|
+
* @param {string} [keyword] Posts filtered by keyword.
|
|
6581
6608
|
* @param {number} [size] Size of one page. Zero indicates no limit.
|
|
6582
|
-
* @param {number} [page] The page number. Zero indicates no page.
|
|
6583
6609
|
* @param {Array<string>} [labelSelector] Label selector for filtering.
|
|
6584
6610
|
* @param {Array<string>} [fieldSelector] Field selector for filtering.
|
|
6611
|
+
* @param {number} [page] The page number. Zero indicates no page.
|
|
6585
6612
|
* @param {*} [options] Override http request option.
|
|
6586
6613
|
* @throws {RequiredError}
|
|
6587
6614
|
*/
|
|
6588
|
-
listPosts(
|
|
6615
|
+
listPosts(sort?: 'PUBLISH_TIME' | 'CREATE_TIME', contributor?: Array<string>, sortOrder?: boolean, publishPhase?: 'DRAFT' | 'PENDING_APPROVAL' | 'PUBLISHED', category?: Array<string>, tag?: Array<string>, visible?: 'PUBLIC' | 'INTERNAL' | 'PRIVATE', keyword?: string, size?: number, labelSelector?: Array<string>, fieldSelector?: Array<string>, page?: number, options?: any): AxiosPromise<ListedPostList>;
|
|
6589
6616
|
/**
|
|
6590
6617
|
* Publish a post.
|
|
6591
6618
|
* @param {string} name
|
|
@@ -6621,36 +6648,60 @@ interface ApiConsoleHaloRunV1alpha1PostApiDraftPostRequest {
|
|
|
6621
6648
|
* @interface ApiConsoleHaloRunV1alpha1PostApiListPostsRequest
|
|
6622
6649
|
*/
|
|
6623
6650
|
interface ApiConsoleHaloRunV1alpha1PostApiListPostsRequest {
|
|
6651
|
+
/**
|
|
6652
|
+
* Post collation.
|
|
6653
|
+
* @type {'PUBLISH_TIME' | 'CREATE_TIME'}
|
|
6654
|
+
* @memberof ApiConsoleHaloRunV1alpha1PostApiListPosts
|
|
6655
|
+
*/
|
|
6656
|
+
readonly sort?: 'PUBLISH_TIME' | 'CREATE_TIME';
|
|
6624
6657
|
/**
|
|
6625
6658
|
*
|
|
6626
6659
|
* @type {Array<string>}
|
|
6627
6660
|
* @memberof ApiConsoleHaloRunV1alpha1PostApiListPosts
|
|
6628
6661
|
*/
|
|
6629
|
-
readonly
|
|
6662
|
+
readonly contributor?: Array<string>;
|
|
6663
|
+
/**
|
|
6664
|
+
* ascending order If it is true; otherwise, it is in descending order.
|
|
6665
|
+
* @type {boolean}
|
|
6666
|
+
* @memberof ApiConsoleHaloRunV1alpha1PostApiListPosts
|
|
6667
|
+
*/
|
|
6668
|
+
readonly sortOrder?: boolean;
|
|
6669
|
+
/**
|
|
6670
|
+
*
|
|
6671
|
+
* @type {'DRAFT' | 'PENDING_APPROVAL' | 'PUBLISHED'}
|
|
6672
|
+
* @memberof ApiConsoleHaloRunV1alpha1PostApiListPosts
|
|
6673
|
+
*/
|
|
6674
|
+
readonly publishPhase?: 'DRAFT' | 'PENDING_APPROVAL' | 'PUBLISHED';
|
|
6630
6675
|
/**
|
|
6631
6676
|
*
|
|
6632
6677
|
* @type {Array<string>}
|
|
6633
6678
|
* @memberof ApiConsoleHaloRunV1alpha1PostApiListPosts
|
|
6634
6679
|
*/
|
|
6635
|
-
readonly
|
|
6680
|
+
readonly category?: Array<string>;
|
|
6636
6681
|
/**
|
|
6637
6682
|
*
|
|
6638
6683
|
* @type {Array<string>}
|
|
6639
6684
|
* @memberof ApiConsoleHaloRunV1alpha1PostApiListPosts
|
|
6640
6685
|
*/
|
|
6641
|
-
readonly
|
|
6686
|
+
readonly tag?: Array<string>;
|
|
6642
6687
|
/**
|
|
6643
|
-
*
|
|
6644
|
-
* @type {
|
|
6688
|
+
*
|
|
6689
|
+
* @type {'PUBLIC' | 'INTERNAL' | 'PRIVATE'}
|
|
6645
6690
|
* @memberof ApiConsoleHaloRunV1alpha1PostApiListPosts
|
|
6646
6691
|
*/
|
|
6647
|
-
readonly
|
|
6692
|
+
readonly visible?: 'PUBLIC' | 'INTERNAL' | 'PRIVATE';
|
|
6648
6693
|
/**
|
|
6649
|
-
*
|
|
6694
|
+
* Posts filtered by keyword.
|
|
6695
|
+
* @type {string}
|
|
6696
|
+
* @memberof ApiConsoleHaloRunV1alpha1PostApiListPosts
|
|
6697
|
+
*/
|
|
6698
|
+
readonly keyword?: string;
|
|
6699
|
+
/**
|
|
6700
|
+
* Size of one page. Zero indicates no limit.
|
|
6650
6701
|
* @type {number}
|
|
6651
6702
|
* @memberof ApiConsoleHaloRunV1alpha1PostApiListPosts
|
|
6652
6703
|
*/
|
|
6653
|
-
readonly
|
|
6704
|
+
readonly size?: number;
|
|
6654
6705
|
/**
|
|
6655
6706
|
* Label selector for filtering.
|
|
6656
6707
|
* @type {Array<string>}
|
|
@@ -6663,6 +6714,12 @@ interface ApiConsoleHaloRunV1alpha1PostApiListPostsRequest {
|
|
|
6663
6714
|
* @memberof ApiConsoleHaloRunV1alpha1PostApiListPosts
|
|
6664
6715
|
*/
|
|
6665
6716
|
readonly fieldSelector?: Array<string>;
|
|
6717
|
+
/**
|
|
6718
|
+
* The page number. Zero indicates no page.
|
|
6719
|
+
* @type {number}
|
|
6720
|
+
* @memberof ApiConsoleHaloRunV1alpha1PostApiListPosts
|
|
6721
|
+
*/
|
|
6722
|
+
readonly page?: number;
|
|
6666
6723
|
}
|
|
6667
6724
|
/**
|
|
6668
6725
|
* Request parameters for publishPost operation in ApiConsoleHaloRunV1alpha1PostApi.
|
|
@@ -6746,13 +6803,13 @@ declare const ApiConsoleHaloRunV1alpha1ReplyApiAxiosParamCreator: (configuration
|
|
|
6746
6803
|
* List replies.
|
|
6747
6804
|
* @param {string} [commentName] Replies filtered by commentName.
|
|
6748
6805
|
* @param {number} [size] Size of one page. Zero indicates no limit.
|
|
6749
|
-
* @param {number} [page] The page number. Zero indicates no page.
|
|
6750
6806
|
* @param {Array<string>} [labelSelector] Label selector for filtering.
|
|
6751
6807
|
* @param {Array<string>} [fieldSelector] Field selector for filtering.
|
|
6808
|
+
* @param {number} [page] The page number. Zero indicates no page.
|
|
6752
6809
|
* @param {*} [options] Override http request option.
|
|
6753
6810
|
* @throws {RequiredError}
|
|
6754
6811
|
*/
|
|
6755
|
-
listReplies: (commentName?: string, size?: number,
|
|
6812
|
+
listReplies: (commentName?: string, size?: number, labelSelector?: Array<string>, fieldSelector?: Array<string>, page?: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
6756
6813
|
};
|
|
6757
6814
|
/**
|
|
6758
6815
|
* ApiConsoleHaloRunV1alpha1ReplyApi - functional programming interface
|
|
@@ -6763,13 +6820,13 @@ declare const ApiConsoleHaloRunV1alpha1ReplyApiFp: (configuration?: Configuratio
|
|
|
6763
6820
|
* List replies.
|
|
6764
6821
|
* @param {string} [commentName] Replies filtered by commentName.
|
|
6765
6822
|
* @param {number} [size] Size of one page. Zero indicates no limit.
|
|
6766
|
-
* @param {number} [page] The page number. Zero indicates no page.
|
|
6767
6823
|
* @param {Array<string>} [labelSelector] Label selector for filtering.
|
|
6768
6824
|
* @param {Array<string>} [fieldSelector] Field selector for filtering.
|
|
6825
|
+
* @param {number} [page] The page number. Zero indicates no page.
|
|
6769
6826
|
* @param {*} [options] Override http request option.
|
|
6770
6827
|
* @throws {RequiredError}
|
|
6771
6828
|
*/
|
|
6772
|
-
listReplies(commentName?: string, size?: number,
|
|
6829
|
+
listReplies(commentName?: string, size?: number, labelSelector?: Array<string>, fieldSelector?: Array<string>, page?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListedReplyList>>;
|
|
6773
6830
|
};
|
|
6774
6831
|
/**
|
|
6775
6832
|
* ApiConsoleHaloRunV1alpha1ReplyApi - factory interface
|
|
@@ -6780,13 +6837,13 @@ declare const ApiConsoleHaloRunV1alpha1ReplyApiFactory: (configuration?: Configu
|
|
|
6780
6837
|
* List replies.
|
|
6781
6838
|
* @param {string} [commentName] Replies filtered by commentName.
|
|
6782
6839
|
* @param {number} [size] Size of one page. Zero indicates no limit.
|
|
6783
|
-
* @param {number} [page] The page number. Zero indicates no page.
|
|
6784
6840
|
* @param {Array<string>} [labelSelector] Label selector for filtering.
|
|
6785
6841
|
* @param {Array<string>} [fieldSelector] Field selector for filtering.
|
|
6842
|
+
* @param {number} [page] The page number. Zero indicates no page.
|
|
6786
6843
|
* @param {*} [options] Override http request option.
|
|
6787
6844
|
* @throws {RequiredError}
|
|
6788
6845
|
*/
|
|
6789
|
-
listReplies(commentName?: string, size?: number,
|
|
6846
|
+
listReplies(commentName?: string, size?: number, labelSelector?: Array<string>, fieldSelector?: Array<string>, page?: number, options?: any): AxiosPromise<ListedReplyList>;
|
|
6790
6847
|
};
|
|
6791
6848
|
/**
|
|
6792
6849
|
* Request parameters for listReplies operation in ApiConsoleHaloRunV1alpha1ReplyApi.
|
|
@@ -6806,12 +6863,6 @@ interface ApiConsoleHaloRunV1alpha1ReplyApiListRepliesRequest {
|
|
|
6806
6863
|
* @memberof ApiConsoleHaloRunV1alpha1ReplyApiListReplies
|
|
6807
6864
|
*/
|
|
6808
6865
|
readonly size?: number;
|
|
6809
|
-
/**
|
|
6810
|
-
* The page number. Zero indicates no page.
|
|
6811
|
-
* @type {number}
|
|
6812
|
-
* @memberof ApiConsoleHaloRunV1alpha1ReplyApiListReplies
|
|
6813
|
-
*/
|
|
6814
|
-
readonly page?: number;
|
|
6815
6866
|
/**
|
|
6816
6867
|
* Label selector for filtering.
|
|
6817
6868
|
* @type {Array<string>}
|
|
@@ -6824,6 +6875,12 @@ interface ApiConsoleHaloRunV1alpha1ReplyApiListRepliesRequest {
|
|
|
6824
6875
|
* @memberof ApiConsoleHaloRunV1alpha1ReplyApiListReplies
|
|
6825
6876
|
*/
|
|
6826
6877
|
readonly fieldSelector?: Array<string>;
|
|
6878
|
+
/**
|
|
6879
|
+
* The page number. Zero indicates no page.
|
|
6880
|
+
* @type {number}
|
|
6881
|
+
* @memberof ApiConsoleHaloRunV1alpha1ReplyApiListReplies
|
|
6882
|
+
*/
|
|
6883
|
+
readonly page?: number;
|
|
6827
6884
|
}
|
|
6828
6885
|
/**
|
|
6829
6886
|
* ApiConsoleHaloRunV1alpha1ReplyApi - object-oriented interface
|
|
@@ -6858,13 +6915,13 @@ declare const ApiConsoleHaloRunV1alpha1SinglePageApiAxiosParamCreator: (configur
|
|
|
6858
6915
|
* List single pages.
|
|
6859
6916
|
* @param {Array<string>} [contributors]
|
|
6860
6917
|
* @param {number} [size] Size of one page. Zero indicates no limit.
|
|
6861
|
-
* @param {number} [page] The page number. Zero indicates no page.
|
|
6862
6918
|
* @param {Array<string>} [labelSelector] Label selector for filtering.
|
|
6863
6919
|
* @param {Array<string>} [fieldSelector] Field selector for filtering.
|
|
6920
|
+
* @param {number} [page] The page number. Zero indicates no page.
|
|
6864
6921
|
* @param {*} [options] Override http request option.
|
|
6865
6922
|
* @throws {RequiredError}
|
|
6866
6923
|
*/
|
|
6867
|
-
listSinglePages: (contributors?: Array<string>, size?: number,
|
|
6924
|
+
listSinglePages: (contributors?: Array<string>, size?: number, labelSelector?: Array<string>, fieldSelector?: Array<string>, page?: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
6868
6925
|
/**
|
|
6869
6926
|
* Publish a single page.
|
|
6870
6927
|
* @param {string} name
|
|
@@ -6897,13 +6954,13 @@ declare const ApiConsoleHaloRunV1alpha1SinglePageApiFp: (configuration?: Configu
|
|
|
6897
6954
|
* List single pages.
|
|
6898
6955
|
* @param {Array<string>} [contributors]
|
|
6899
6956
|
* @param {number} [size] Size of one page. Zero indicates no limit.
|
|
6900
|
-
* @param {number} [page] The page number. Zero indicates no page.
|
|
6901
6957
|
* @param {Array<string>} [labelSelector] Label selector for filtering.
|
|
6902
6958
|
* @param {Array<string>} [fieldSelector] Field selector for filtering.
|
|
6959
|
+
* @param {number} [page] The page number. Zero indicates no page.
|
|
6903
6960
|
* @param {*} [options] Override http request option.
|
|
6904
6961
|
* @throws {RequiredError}
|
|
6905
6962
|
*/
|
|
6906
|
-
listSinglePages(contributors?: Array<string>, size?: number,
|
|
6963
|
+
listSinglePages(contributors?: Array<string>, size?: number, labelSelector?: Array<string>, fieldSelector?: Array<string>, page?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListedSinglePageList>>;
|
|
6907
6964
|
/**
|
|
6908
6965
|
* Publish a single page.
|
|
6909
6966
|
* @param {string} name
|
|
@@ -6936,13 +6993,13 @@ declare const ApiConsoleHaloRunV1alpha1SinglePageApiFactory: (configuration?: Co
|
|
|
6936
6993
|
* List single pages.
|
|
6937
6994
|
* @param {Array<string>} [contributors]
|
|
6938
6995
|
* @param {number} [size] Size of one page. Zero indicates no limit.
|
|
6939
|
-
* @param {number} [page] The page number. Zero indicates no page.
|
|
6940
6996
|
* @param {Array<string>} [labelSelector] Label selector for filtering.
|
|
6941
6997
|
* @param {Array<string>} [fieldSelector] Field selector for filtering.
|
|
6998
|
+
* @param {number} [page] The page number. Zero indicates no page.
|
|
6942
6999
|
* @param {*} [options] Override http request option.
|
|
6943
7000
|
* @throws {RequiredError}
|
|
6944
7001
|
*/
|
|
6945
|
-
listSinglePages(contributors?: Array<string>, size?: number,
|
|
7002
|
+
listSinglePages(contributors?: Array<string>, size?: number, labelSelector?: Array<string>, fieldSelector?: Array<string>, page?: number, options?: any): AxiosPromise<ListedSinglePageList>;
|
|
6946
7003
|
/**
|
|
6947
7004
|
* Publish a single page.
|
|
6948
7005
|
* @param {string} name
|
|
@@ -6990,12 +7047,6 @@ interface ApiConsoleHaloRunV1alpha1SinglePageApiListSinglePagesRequest {
|
|
|
6990
7047
|
* @memberof ApiConsoleHaloRunV1alpha1SinglePageApiListSinglePages
|
|
6991
7048
|
*/
|
|
6992
7049
|
readonly size?: number;
|
|
6993
|
-
/**
|
|
6994
|
-
* The page number. Zero indicates no page.
|
|
6995
|
-
* @type {number}
|
|
6996
|
-
* @memberof ApiConsoleHaloRunV1alpha1SinglePageApiListSinglePages
|
|
6997
|
-
*/
|
|
6998
|
-
readonly page?: number;
|
|
6999
7050
|
/**
|
|
7000
7051
|
* Label selector for filtering.
|
|
7001
7052
|
* @type {Array<string>}
|
|
@@ -7008,6 +7059,12 @@ interface ApiConsoleHaloRunV1alpha1SinglePageApiListSinglePagesRequest {
|
|
|
7008
7059
|
* @memberof ApiConsoleHaloRunV1alpha1SinglePageApiListSinglePages
|
|
7009
7060
|
*/
|
|
7010
7061
|
readonly fieldSelector?: Array<string>;
|
|
7062
|
+
/**
|
|
7063
|
+
* The page number. Zero indicates no page.
|
|
7064
|
+
* @type {number}
|
|
7065
|
+
* @memberof ApiConsoleHaloRunV1alpha1SinglePageApiListSinglePages
|
|
7066
|
+
*/
|
|
7067
|
+
readonly page?: number;
|
|
7011
7068
|
}
|
|
7012
7069
|
/**
|
|
7013
7070
|
* Request parameters for publishSinglePage operation in ApiConsoleHaloRunV1alpha1SinglePageApi.
|
|
@@ -9844,16 +9901,16 @@ declare const StorageHaloRunV1alpha1AttachmentApiAxiosParamCreator: (configurati
|
|
|
9844
9901
|
*
|
|
9845
9902
|
* @param {string} [policy] Name of policy
|
|
9846
9903
|
* @param {string} [displayName] Display name of attachment
|
|
9847
|
-
* @param {string} [group] Name of group
|
|
9848
9904
|
* @param {string} [uploadedBy] Name of user who uploaded the attachment
|
|
9905
|
+
* @param {string} [group] Name of group
|
|
9849
9906
|
* @param {number} [size] Size of one page. Zero indicates no limit.
|
|
9850
|
-
* @param {number} [page] The page number. Zero indicates no page.
|
|
9851
9907
|
* @param {Array<string>} [labelSelector] Label selector for filtering.
|
|
9852
9908
|
* @param {Array<string>} [fieldSelector] Field selector for filtering.
|
|
9909
|
+
* @param {number} [page] The page number. Zero indicates no page.
|
|
9853
9910
|
* @param {*} [options] Override http request option.
|
|
9854
9911
|
* @throws {RequiredError}
|
|
9855
9912
|
*/
|
|
9856
|
-
searchAttachments: (policy?: string, displayName?: string,
|
|
9913
|
+
searchAttachments: (policy?: string, displayName?: string, uploadedBy?: string, group?: string, size?: number, labelSelector?: Array<string>, fieldSelector?: Array<string>, page?: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
9857
9914
|
/**
|
|
9858
9915
|
* Update storage.halo.run/v1alpha1/Attachment
|
|
9859
9916
|
* @param {string} name Name of attachment
|
|
@@ -9912,16 +9969,16 @@ declare const StorageHaloRunV1alpha1AttachmentApiFp: (configuration?: Configurat
|
|
|
9912
9969
|
*
|
|
9913
9970
|
* @param {string} [policy] Name of policy
|
|
9914
9971
|
* @param {string} [displayName] Display name of attachment
|
|
9915
|
-
* @param {string} [group] Name of group
|
|
9916
9972
|
* @param {string} [uploadedBy] Name of user who uploaded the attachment
|
|
9973
|
+
* @param {string} [group] Name of group
|
|
9917
9974
|
* @param {number} [size] Size of one page. Zero indicates no limit.
|
|
9918
|
-
* @param {number} [page] The page number. Zero indicates no page.
|
|
9919
9975
|
* @param {Array<string>} [labelSelector] Label selector for filtering.
|
|
9920
9976
|
* @param {Array<string>} [fieldSelector] Field selector for filtering.
|
|
9977
|
+
* @param {number} [page] The page number. Zero indicates no page.
|
|
9921
9978
|
* @param {*} [options] Override http request option.
|
|
9922
9979
|
* @throws {RequiredError}
|
|
9923
9980
|
*/
|
|
9924
|
-
searchAttachments(policy?: string, displayName?: string,
|
|
9981
|
+
searchAttachments(policy?: string, displayName?: string, uploadedBy?: string, group?: string, size?: number, labelSelector?: Array<string>, fieldSelector?: Array<string>, page?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AttachmentList>>;
|
|
9925
9982
|
/**
|
|
9926
9983
|
* Update storage.halo.run/v1alpha1/Attachment
|
|
9927
9984
|
* @param {string} name Name of attachment
|
|
@@ -9980,16 +10037,16 @@ declare const StorageHaloRunV1alpha1AttachmentApiFactory: (configuration?: Confi
|
|
|
9980
10037
|
*
|
|
9981
10038
|
* @param {string} [policy] Name of policy
|
|
9982
10039
|
* @param {string} [displayName] Display name of attachment
|
|
9983
|
-
* @param {string} [group] Name of group
|
|
9984
10040
|
* @param {string} [uploadedBy] Name of user who uploaded the attachment
|
|
10041
|
+
* @param {string} [group] Name of group
|
|
9985
10042
|
* @param {number} [size] Size of one page. Zero indicates no limit.
|
|
9986
|
-
* @param {number} [page] The page number. Zero indicates no page.
|
|
9987
10043
|
* @param {Array<string>} [labelSelector] Label selector for filtering.
|
|
9988
10044
|
* @param {Array<string>} [fieldSelector] Field selector for filtering.
|
|
10045
|
+
* @param {number} [page] The page number. Zero indicates no page.
|
|
9989
10046
|
* @param {*} [options] Override http request option.
|
|
9990
10047
|
* @throws {RequiredError}
|
|
9991
10048
|
*/
|
|
9992
|
-
searchAttachments(policy?: string, displayName?: string,
|
|
10049
|
+
searchAttachments(policy?: string, displayName?: string, uploadedBy?: string, group?: string, size?: number, labelSelector?: Array<string>, fieldSelector?: Array<string>, page?: number, options?: any): AxiosPromise<AttachmentList>;
|
|
9993
10050
|
/**
|
|
9994
10051
|
* Update storage.halo.run/v1alpha1/Attachment
|
|
9995
10052
|
* @param {string} name Name of attachment
|
|
@@ -10097,29 +10154,23 @@ interface StorageHaloRunV1alpha1AttachmentApiSearchAttachmentsRequest {
|
|
|
10097
10154
|
*/
|
|
10098
10155
|
readonly displayName?: string;
|
|
10099
10156
|
/**
|
|
10100
|
-
* Name of
|
|
10157
|
+
* Name of user who uploaded the attachment
|
|
10101
10158
|
* @type {string}
|
|
10102
10159
|
* @memberof StorageHaloRunV1alpha1AttachmentApiSearchAttachments
|
|
10103
10160
|
*/
|
|
10104
|
-
readonly
|
|
10161
|
+
readonly uploadedBy?: string;
|
|
10105
10162
|
/**
|
|
10106
|
-
* Name of
|
|
10163
|
+
* Name of group
|
|
10107
10164
|
* @type {string}
|
|
10108
10165
|
* @memberof StorageHaloRunV1alpha1AttachmentApiSearchAttachments
|
|
10109
10166
|
*/
|
|
10110
|
-
readonly
|
|
10167
|
+
readonly group?: string;
|
|
10111
10168
|
/**
|
|
10112
10169
|
* Size of one page. Zero indicates no limit.
|
|
10113
10170
|
* @type {number}
|
|
10114
10171
|
* @memberof StorageHaloRunV1alpha1AttachmentApiSearchAttachments
|
|
10115
10172
|
*/
|
|
10116
10173
|
readonly size?: number;
|
|
10117
|
-
/**
|
|
10118
|
-
* The page number. Zero indicates no page.
|
|
10119
|
-
* @type {number}
|
|
10120
|
-
* @memberof StorageHaloRunV1alpha1AttachmentApiSearchAttachments
|
|
10121
|
-
*/
|
|
10122
|
-
readonly page?: number;
|
|
10123
10174
|
/**
|
|
10124
10175
|
* Label selector for filtering.
|
|
10125
10176
|
* @type {Array<string>}
|
|
@@ -10132,6 +10183,12 @@ interface StorageHaloRunV1alpha1AttachmentApiSearchAttachmentsRequest {
|
|
|
10132
10183
|
* @memberof StorageHaloRunV1alpha1AttachmentApiSearchAttachments
|
|
10133
10184
|
*/
|
|
10134
10185
|
readonly fieldSelector?: Array<string>;
|
|
10186
|
+
/**
|
|
10187
|
+
* The page number. Zero indicates no page.
|
|
10188
|
+
* @type {number}
|
|
10189
|
+
* @memberof StorageHaloRunV1alpha1AttachmentApiSearchAttachments
|
|
10190
|
+
*/
|
|
10191
|
+
readonly page?: number;
|
|
10135
10192
|
}
|
|
10136
10193
|
/**
|
|
10137
10194
|
* Request parameters for updatestorageHaloRunV1alpha1Attachment operation in StorageHaloRunV1alpha1AttachmentApi.
|