@resolution/confluence-api-client 0.4.4 → 0.4.6
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/CHANGELOG.md +22 -0
- package/README.md +60 -1
- package/lib/openapi/v1/BaseConfluenceApiV1Client.d.ts +32 -33
- package/lib/openapi/v1/BaseConfluenceApiV1Client.js +151 -88
- package/lib/openapi/v1/BaseConfluenceApiV1Client.js.map +1 -1
- package/lib/openapi/v1/core/CommonHttpService.d.ts +2 -0
- package/lib/openapi/v1/core/CommonHttpService.js +9 -0
- package/lib/openapi/v1/core/CommonHttpService.js.map +1 -1
- package/lib/openapi/v1/services/AnalyticsService.d.ts +10 -10
- package/lib/openapi/v1/services/AnalyticsService.js +62 -59
- package/lib/openapi/v1/services/AnalyticsService.js.map +1 -1
- package/lib/openapi/v1/services/AuditService.d.ts +25 -25
- package/lib/openapi/v1/services/AuditService.js +205 -202
- package/lib/openapi/v1/services/AuditService.js.map +1 -1
- package/lib/openapi/v1/services/ContentAttachmentsService.d.ts +20 -20
- package/lib/openapi/v1/services/ContentAttachmentsService.js +317 -314
- package/lib/openapi/v1/services/ContentAttachmentsService.js.map +1 -1
- package/lib/openapi/v1/services/ContentBodyService.d.ts +15 -15
- package/lib/openapi/v1/services/ContentBodyService.js +140 -137
- package/lib/openapi/v1/services/ContentBodyService.js.map +1 -1
- package/lib/openapi/v1/services/ContentChildrenAndDescendantsService.d.ts +27 -27
- package/lib/openapi/v1/services/ContentChildrenAndDescendantsService.js +391 -388
- package/lib/openapi/v1/services/ContentChildrenAndDescendantsService.js.map +1 -1
- package/lib/openapi/v1/services/ContentCommentsService.d.ts +8 -8
- package/lib/openapi/v1/services/ContentCommentsService.js +49 -46
- package/lib/openapi/v1/services/ContentCommentsService.js.map +1 -1
- package/lib/openapi/v1/services/ContentLabelsService.d.ts +11 -11
- package/lib/openapi/v1/services/ContentLabelsService.js +150 -147
- package/lib/openapi/v1/services/ContentLabelsService.js.map +1 -1
- package/lib/openapi/v1/services/ContentMacroBodyService.d.ts +13 -13
- package/lib/openapi/v1/services/ContentMacroBodyService.js +155 -152
- package/lib/openapi/v1/services/ContentMacroBodyService.js.map +1 -1
- package/lib/openapi/v1/services/ContentPermissionsService.d.ts +2 -2
- package/lib/openapi/v1/services/ContentPermissionsService.js +48 -45
- package/lib/openapi/v1/services/ContentPermissionsService.js.map +1 -1
- package/lib/openapi/v1/services/ContentPropertiesService.d.ts +18 -18
- package/lib/openapi/v1/services/ContentPropertiesService.js +237 -234
- package/lib/openapi/v1/services/ContentPropertiesService.js.map +1 -1
- package/lib/openapi/v1/services/ContentRestrictionsService.d.ts +49 -49
- package/lib/openapi/v1/services/ContentRestrictionsService.js +505 -502
- package/lib/openapi/v1/services/ContentRestrictionsService.js.map +1 -1
- package/lib/openapi/v1/services/ContentService.d.ts +50 -50
- package/lib/openapi/v1/services/ContentService.js +475 -472
- package/lib/openapi/v1/services/ContentService.js.map +1 -1
- package/lib/openapi/v1/services/ContentStatesService.d.ts +25 -25
- package/lib/openapi/v1/services/ContentStatesService.js +359 -356
- package/lib/openapi/v1/services/ContentStatesService.js.map +1 -1
- package/lib/openapi/v1/services/ContentVersionsService.d.ts +13 -13
- package/lib/openapi/v1/services/ContentVersionsService.js +144 -141
- package/lib/openapi/v1/services/ContentVersionsService.js.map +1 -1
- package/lib/openapi/v1/services/ContentWatchesService.d.ts +57 -57
- package/lib/openapi/v1/services/ContentWatchesService.js +454 -451
- package/lib/openapi/v1/services/ContentWatchesService.js.map +1 -1
- package/lib/openapi/v1/services/DynamicModulesService.d.ts +5 -5
- package/lib/openapi/v1/services/DynamicModulesService.js +70 -67
- package/lib/openapi/v1/services/DynamicModulesService.js.map +1 -1
- package/lib/openapi/v1/services/ExperimentalService.d.ts +12 -12
- package/lib/openapi/v1/services/ExperimentalService.js +151 -148
- package/lib/openapi/v1/services/ExperimentalService.js.map +1 -1
- package/lib/openapi/v1/services/GroupService.d.ts +52 -52
- package/lib/openapi/v1/services/GroupService.js +445 -442
- package/lib/openapi/v1/services/GroupService.js.map +1 -1
- package/lib/openapi/v1/services/InlineTasksService.d.ts +20 -20
- package/lib/openapi/v1/services/InlineTasksService.js +118 -115
- package/lib/openapi/v1/services/InlineTasksService.js.map +1 -1
- package/lib/openapi/v1/services/LabelInfoService.d.ts +5 -5
- package/lib/openapi/v1/services/LabelInfoService.js +37 -34
- package/lib/openapi/v1/services/LabelInfoService.js.map +1 -1
- package/lib/openapi/v1/services/LongRunningTaskService.d.ts +8 -6
- package/lib/openapi/v1/services/LongRunningTaskService.js +67 -63
- package/lib/openapi/v1/services/LongRunningTaskService.js.map +1 -1
- package/lib/openapi/v1/services/RelationService.d.ts +37 -37
- package/lib/openapi/v1/services/RelationService.js +231 -228
- package/lib/openapi/v1/services/RelationService.js.map +1 -1
- package/lib/openapi/v1/services/SearchService.d.ts +20 -20
- package/lib/openapi/v1/services/SearchService.js +136 -133
- package/lib/openapi/v1/services/SearchService.js.map +1 -1
- package/lib/openapi/v1/services/SettingsService.d.ts +15 -15
- package/lib/openapi/v1/services/SettingsService.js +204 -201
- package/lib/openapi/v1/services/SettingsService.js.map +1 -1
- package/lib/openapi/v1/services/SpacePermissionsService.d.ts +6 -6
- package/lib/openapi/v1/services/SpacePermissionsService.js +99 -96
- package/lib/openapi/v1/services/SpacePermissionsService.js.map +1 -1
- package/lib/openapi/v1/services/SpacePropertiesService.d.ts +16 -16
- package/lib/openapi/v1/services/SpacePropertiesService.js +227 -224
- package/lib/openapi/v1/services/SpacePropertiesService.js.map +1 -1
- package/lib/openapi/v1/services/SpaceService.d.ts +38 -38
- package/lib/openapi/v1/services/SpaceService.js +320 -317
- package/lib/openapi/v1/services/SpaceService.js.map +1 -1
- package/lib/openapi/v1/services/SpaceSettingsService.d.ts +4 -4
- package/lib/openapi/v1/services/SpaceSettingsService.js +68 -65
- package/lib/openapi/v1/services/SpaceSettingsService.js.map +1 -1
- package/lib/openapi/v1/services/TemplateService.d.ts +20 -20
- package/lib/openapi/v1/services/TemplateService.js +214 -211
- package/lib/openapi/v1/services/TemplateService.js.map +1 -1
- package/lib/openapi/v1/services/ThemesService.d.ts +13 -13
- package/lib/openapi/v1/services/ThemesService.js +179 -176
- package/lib/openapi/v1/services/ThemesService.js.map +1 -1
- package/lib/openapi/v1/services/UserPropertiesService.d.ts +12 -12
- package/lib/openapi/v1/services/UserPropertiesService.js +165 -162
- package/lib/openapi/v1/services/UserPropertiesService.js.map +1 -1
- package/lib/openapi/v1/services/UsersService.d.ts +21 -21
- package/lib/openapi/v1/services/UsersService.js +229 -226
- package/lib/openapi/v1/services/UsersService.js.map +1 -1
- package/lib/openapi/v2/BaseConfluenceApiV2Client.d.ts +23 -24
- package/lib/openapi/v2/BaseConfluenceApiV2Client.js +92 -47
- package/lib/openapi/v2/BaseConfluenceApiV2Client.js.map +1 -1
- package/lib/openapi/v2/core/CommonHttpService.d.ts +2 -0
- package/lib/openapi/v2/core/CommonHttpService.js +9 -0
- package/lib/openapi/v2/core/CommonHttpService.js.map +1 -1
- package/lib/openapi/v2/models/user.d.ts +0 -2
- package/lib/openapi/v2/models/user.js +0 -2
- package/lib/openapi/v2/models/user.js.map +1 -1
- package/lib/openapi/v2/services/AncestorsService.d.ts +17 -17
- package/lib/openapi/v2/services/AncestorsService.js +174 -171
- package/lib/openapi/v2/services/AncestorsService.js.map +1 -1
- package/lib/openapi/v2/services/AttachmentService.d.ts +62 -62
- package/lib/openapi/v2/services/AttachmentService.js +261 -258
- package/lib/openapi/v2/services/AttachmentService.js.map +1 -1
- package/lib/openapi/v2/services/BlogPostService.d.ts +70 -70
- package/lib/openapi/v2/services/BlogPostService.js +270 -267
- package/lib/openapi/v2/services/BlogPostService.js.map +1 -1
- package/lib/openapi/v2/services/ChildrenService.d.ts +14 -14
- package/lib/openapi/v2/services/ChildrenService.js +77 -74
- package/lib/openapi/v2/services/ChildrenService.js.map +1 -1
- package/lib/openapi/v2/services/ClassificationLevelService.d.ts +21 -21
- package/lib/openapi/v2/services/ClassificationLevelService.js +304 -301
- package/lib/openapi/v2/services/ClassificationLevelService.js.map +1 -1
- package/lib/openapi/v2/services/CommentService.d.ts +136 -136
- package/lib/openapi/v2/services/CommentService.js +635 -632
- package/lib/openapi/v2/services/CommentService.js.map +1 -1
- package/lib/openapi/v2/services/ContentPropertiesService.d.ts +128 -128
- package/lib/openapi/v2/services/ContentPropertiesService.js +1242 -1239
- package/lib/openapi/v2/services/ContentPropertiesService.js.map +1 -1
- package/lib/openapi/v2/services/ContentService.d.ts +2 -2
- package/lib/openapi/v2/services/ContentService.js +40 -37
- package/lib/openapi/v2/services/ContentService.js.map +1 -1
- package/lib/openapi/v2/services/CustomContentService.d.ts +72 -72
- package/lib/openapi/v2/services/CustomContentService.js +299 -296
- package/lib/openapi/v2/services/CustomContentService.js.map +1 -1
- package/lib/openapi/v2/services/DataPoliciesService.d.ts +10 -10
- package/lib/openapi/v2/services/DataPoliciesService.js +67 -64
- package/lib/openapi/v2/services/DataPoliciesService.js.map +1 -1
- package/lib/openapi/v2/services/DatabaseService.d.ts +17 -17
- package/lib/openapi/v2/services/DatabaseService.js +90 -87
- package/lib/openapi/v2/services/DatabaseService.js.map +1 -1
- package/lib/openapi/v2/services/LabelService.d.ts +57 -57
- package/lib/openapi/v2/services/LabelService.js +263 -260
- package/lib/openapi/v2/services/LabelService.js.map +1 -1
- package/lib/openapi/v2/services/LikeService.d.ts +36 -36
- package/lib/openapi/v2/services/LikeService.js +250 -247
- package/lib/openapi/v2/services/LikeService.js.map +1 -1
- package/lib/openapi/v2/services/OperationService.d.ts +20 -20
- package/lib/openapi/v2/services/OperationService.js +298 -295
- package/lib/openapi/v2/services/OperationService.js.map +1 -1
- package/lib/openapi/v2/services/PageService.d.ts +73 -73
- package/lib/openapi/v2/services/PageService.js +272 -269
- package/lib/openapi/v2/services/PageService.js.map +1 -1
- package/lib/openapi/v2/services/SmartLinkService.d.ts +19 -17
- package/lib/openapi/v2/services/SmartLinkService.js +92 -89
- package/lib/openapi/v2/services/SmartLinkService.js.map +1 -1
- package/lib/openapi/v2/services/SpacePermissionsService.d.ts +6 -6
- package/lib/openapi/v2/services/SpacePermissionsService.js +35 -32
- package/lib/openapi/v2/services/SpacePermissionsService.js.map +1 -1
- package/lib/openapi/v2/services/SpacePropertiesService.d.ts +15 -15
- package/lib/openapi/v2/services/SpacePropertiesService.js +165 -162
- package/lib/openapi/v2/services/SpacePropertiesService.js.map +1 -1
- package/lib/openapi/v2/services/SpaceService.d.ts +28 -28
- package/lib/openapi/v2/services/SpaceService.js +83 -80
- package/lib/openapi/v2/services/SpaceService.js.map +1 -1
- package/lib/openapi/v2/services/TaskService.d.ts +40 -40
- package/lib/openapi/v2/services/TaskService.js +120 -117
- package/lib/openapi/v2/services/TaskService.js.map +1 -1
- package/lib/openapi/v2/services/UserService.d.ts +11 -11
- package/lib/openapi/v2/services/UserService.js +91 -88
- package/lib/openapi/v2/services/UserService.js.map +1 -1
- package/lib/openapi/v2/services/VersionService.d.ts +59 -59
- package/lib/openapi/v2/services/VersionService.js +395 -392
- package/lib/openapi/v2/services/VersionService.js.map +1 -1
- package/lib/openapi/v2/services/WhiteboardService.d.ts +17 -17
- package/lib/openapi/v2/services/WhiteboardService.js +90 -87
- package/lib/openapi/v2/services/WhiteboardService.js.map +1 -1
- package/package.json +4 -3
|
@@ -16,28 +16,28 @@ export declare class LabelService extends CommonHttpService {
|
|
|
16
16
|
* @scopes-current read:attachment:confluence
|
|
17
17
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-label#api-attachments-id-labels-get
|
|
18
18
|
*/
|
|
19
|
-
getAttachmentLabels({ id, prefix, sort, cursor, limit, }: {
|
|
19
|
+
getAttachmentLabels: ({ id, prefix, sort, cursor, limit, }: {
|
|
20
20
|
/** The ID of the attachment for which labels should be returned. */
|
|
21
21
|
id: number;
|
|
22
22
|
/** Filter the results to labels based on their prefix. */
|
|
23
|
-
prefix?: "
|
|
23
|
+
prefix?: "global" | "my" | "team" | "system" | undefined;
|
|
24
24
|
/** Used to sort the result by a particular field. */
|
|
25
|
-
sort?: string;
|
|
25
|
+
sort?: string | undefined;
|
|
26
26
|
/**
|
|
27
27
|
* Used for pagination, this opaque cursor will be returned in the `next` URL in
|
|
28
28
|
* the `Link` response header. Use the relative URL in the `Link` header to
|
|
29
29
|
* retrieve the `next` set of results.
|
|
30
30
|
*/
|
|
31
|
-
cursor?: string;
|
|
31
|
+
cursor?: string | undefined;
|
|
32
32
|
/**
|
|
33
33
|
* Maximum number of labels per result to return. If more results exist, use the
|
|
34
34
|
* `Link` header to retrieve a relative URL that will return the next set of
|
|
35
35
|
* results.
|
|
36
36
|
*/
|
|
37
|
-
limit?: number;
|
|
38
|
-
})
|
|
39
|
-
results?: Label[];
|
|
40
|
-
_links?: MultiEntityLinks;
|
|
37
|
+
limit?: number | undefined;
|
|
38
|
+
}) => Promise<{
|
|
39
|
+
results?: Label[] | undefined;
|
|
40
|
+
_links?: MultiEntityLinks | undefined;
|
|
41
41
|
} & {
|
|
42
42
|
[key: string]: unknown;
|
|
43
43
|
}>;
|
|
@@ -54,28 +54,28 @@ export declare class LabelService extends CommonHttpService {
|
|
|
54
54
|
* @scopes-current read:page:confluence
|
|
55
55
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-label#api-blogposts-id-labels-get
|
|
56
56
|
*/
|
|
57
|
-
getBlogPostLabels({ id, prefix, sort, cursor, limit, }: {
|
|
57
|
+
getBlogPostLabels: ({ id, prefix, sort, cursor, limit, }: {
|
|
58
58
|
/** The ID of the blog post for which labels should be returned. */
|
|
59
59
|
id: number;
|
|
60
60
|
/** Filter the results to labels based on their prefix. */
|
|
61
|
-
prefix?: "
|
|
61
|
+
prefix?: "global" | "my" | "team" | "system" | undefined;
|
|
62
62
|
/** Used to sort the result by a particular field. */
|
|
63
|
-
sort?: string;
|
|
63
|
+
sort?: string | undefined;
|
|
64
64
|
/**
|
|
65
65
|
* Used for pagination, this opaque cursor will be returned in the `next` URL in
|
|
66
66
|
* the `Link` response header. Use the relative URL in the `Link` header to
|
|
67
67
|
* retrieve the `next` set of results.
|
|
68
68
|
*/
|
|
69
|
-
cursor?: string;
|
|
69
|
+
cursor?: string | undefined;
|
|
70
70
|
/**
|
|
71
71
|
* Maximum number of labels per result to return. If more results exist, use the
|
|
72
72
|
* `Link` header to retrieve a relative URL that will return the next set of
|
|
73
73
|
* results.
|
|
74
74
|
*/
|
|
75
|
-
limit?: number;
|
|
76
|
-
})
|
|
77
|
-
results?: Label[];
|
|
78
|
-
_links?: MultiEntityLinks;
|
|
75
|
+
limit?: number | undefined;
|
|
76
|
+
}) => Promise<{
|
|
77
|
+
results?: Label[] | undefined;
|
|
78
|
+
_links?: MultiEntityLinks | undefined;
|
|
79
79
|
} & {
|
|
80
80
|
[key: string]: unknown;
|
|
81
81
|
}>;
|
|
@@ -93,28 +93,28 @@ export declare class LabelService extends CommonHttpService {
|
|
|
93
93
|
* @scopes-current read:custom-content:confluence
|
|
94
94
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-label#api-custom-content-id-labels-get
|
|
95
95
|
*/
|
|
96
|
-
getCustomContentLabels({ id, prefix, sort, cursor, limit, }: {
|
|
96
|
+
getCustomContentLabels: ({ id, prefix, sort, cursor, limit, }: {
|
|
97
97
|
/** The ID of the custom content for which labels should be returned. */
|
|
98
98
|
id: number;
|
|
99
99
|
/** Filter the results to labels based on their prefix. */
|
|
100
|
-
prefix?: "
|
|
100
|
+
prefix?: "global" | "my" | "team" | "system" | undefined;
|
|
101
101
|
/** Used to sort the result by a particular field. */
|
|
102
|
-
sort?: string;
|
|
102
|
+
sort?: string | undefined;
|
|
103
103
|
/**
|
|
104
104
|
* Used for pagination, this opaque cursor will be returned in the `next` URL in
|
|
105
105
|
* the `Link` response header. Use the relative URL in the `Link` header to
|
|
106
106
|
* retrieve the `next` set of results.
|
|
107
107
|
*/
|
|
108
|
-
cursor?: string;
|
|
108
|
+
cursor?: string | undefined;
|
|
109
109
|
/**
|
|
110
110
|
* Maximum number of labels per result to return. If more results exist, use the
|
|
111
111
|
* `Link` header to retrieve a relative URL that will return the next set of
|
|
112
112
|
* results.
|
|
113
113
|
*/
|
|
114
|
-
limit?: number;
|
|
115
|
-
})
|
|
116
|
-
results?: Label[];
|
|
117
|
-
_links?: MultiEntityLinks;
|
|
114
|
+
limit?: number | undefined;
|
|
115
|
+
}) => Promise<{
|
|
116
|
+
results?: Label[] | undefined;
|
|
117
|
+
_links?: MultiEntityLinks | undefined;
|
|
118
118
|
} & {
|
|
119
119
|
[key: string]: unknown;
|
|
120
120
|
}>;
|
|
@@ -132,31 +132,31 @@ export declare class LabelService extends CommonHttpService {
|
|
|
132
132
|
* @scopes-current read:label:confluence
|
|
133
133
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-label#api-labels-get
|
|
134
134
|
*/
|
|
135
|
-
getLabels({ labelId, prefix, cursor, sort, limit, }?: {
|
|
135
|
+
getLabels: ({ labelId, prefix, cursor, sort, limit, }?: {
|
|
136
136
|
/** Filters on label ID. Multiple IDs can be specified as a comma-separated list. */
|
|
137
|
-
labelId?: number[];
|
|
137
|
+
labelId?: number[] | undefined;
|
|
138
138
|
/**
|
|
139
139
|
* Filters on label prefix. Multiple IDs can be specified as a comma-separated
|
|
140
140
|
* list.
|
|
141
141
|
*/
|
|
142
|
-
prefix?: string[];
|
|
142
|
+
prefix?: string[] | undefined;
|
|
143
143
|
/**
|
|
144
144
|
* Used for pagination, this opaque cursor will be returned in the `next` URL in
|
|
145
145
|
* the `Link` response header. Use the relative URL in the `Link` header to
|
|
146
146
|
* retrieve the `next` set of results.
|
|
147
147
|
*/
|
|
148
|
-
cursor?: string;
|
|
148
|
+
cursor?: string | undefined;
|
|
149
149
|
/** Used to sort the result by a particular field. */
|
|
150
|
-
sort?: string;
|
|
150
|
+
sort?: string | undefined;
|
|
151
151
|
/**
|
|
152
152
|
* Maximum number of labels per result to return. If more results exist, use the
|
|
153
153
|
* `Link` header to retrieve a relative URL that will return the next set of
|
|
154
154
|
* results.
|
|
155
155
|
*/
|
|
156
|
-
limit?: number;
|
|
157
|
-
})
|
|
158
|
-
results?: Label[];
|
|
159
|
-
_links?: MultiEntityLinks;
|
|
156
|
+
limit?: number | undefined;
|
|
157
|
+
}) => Promise<{
|
|
158
|
+
results?: Label[] | undefined;
|
|
159
|
+
_links?: MultiEntityLinks | undefined;
|
|
160
160
|
} & {
|
|
161
161
|
[key: string]: unknown;
|
|
162
162
|
}>;
|
|
@@ -173,28 +173,28 @@ export declare class LabelService extends CommonHttpService {
|
|
|
173
173
|
* @scopes-current read:page:confluence
|
|
174
174
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-label#api-pages-id-labels-get
|
|
175
175
|
*/
|
|
176
|
-
getPageLabels({ id, prefix, sort, cursor, limit, }: {
|
|
176
|
+
getPageLabels: ({ id, prefix, sort, cursor, limit, }: {
|
|
177
177
|
/** The ID of the page for which labels should be returned. */
|
|
178
178
|
id: number;
|
|
179
179
|
/** Filter the results to labels based on their prefix. */
|
|
180
|
-
prefix?: "
|
|
180
|
+
prefix?: "global" | "my" | "team" | "system" | undefined;
|
|
181
181
|
/** Used to sort the result by a particular field. */
|
|
182
|
-
sort?: string;
|
|
182
|
+
sort?: string | undefined;
|
|
183
183
|
/**
|
|
184
184
|
* Used for pagination, this opaque cursor will be returned in the `next` URL in
|
|
185
185
|
* the `Link` response header. Use the relative URL in the `Link` header to
|
|
186
186
|
* retrieve the `next` set of results.
|
|
187
187
|
*/
|
|
188
|
-
cursor?: string;
|
|
188
|
+
cursor?: string | undefined;
|
|
189
189
|
/**
|
|
190
190
|
* Maximum number of labels per result to return. If more results exist, use the
|
|
191
191
|
* `Link` header to retrieve a relative URL that will return the next set of
|
|
192
192
|
* results.
|
|
193
193
|
*/
|
|
194
|
-
limit?: number;
|
|
195
|
-
})
|
|
196
|
-
results?: Label[];
|
|
197
|
-
_links?: MultiEntityLinks;
|
|
194
|
+
limit?: number | undefined;
|
|
195
|
+
}) => Promise<{
|
|
196
|
+
results?: Label[] | undefined;
|
|
197
|
+
_links?: MultiEntityLinks | undefined;
|
|
198
198
|
} & {
|
|
199
199
|
[key: string]: unknown;
|
|
200
200
|
}>;
|
|
@@ -212,28 +212,28 @@ export declare class LabelService extends CommonHttpService {
|
|
|
212
212
|
* @scopes-current read:space:confluence
|
|
213
213
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-label#api-spaces-id-content-labels-get
|
|
214
214
|
*/
|
|
215
|
-
getSpaceContentLabels({ id, prefix, sort, cursor, limit, }: {
|
|
215
|
+
getSpaceContentLabels: ({ id, prefix, sort, cursor, limit, }: {
|
|
216
216
|
/** The ID of the space for which labels should be returned. */
|
|
217
217
|
id: number;
|
|
218
218
|
/** Filter the results to labels based on their prefix. */
|
|
219
|
-
prefix?: "my" | "team";
|
|
219
|
+
prefix?: "my" | "team" | undefined;
|
|
220
220
|
/** Used to sort the result by a particular field. */
|
|
221
|
-
sort?: string;
|
|
221
|
+
sort?: string | undefined;
|
|
222
222
|
/**
|
|
223
223
|
* Used for pagination, this opaque cursor will be returned in the `next` URL in
|
|
224
224
|
* the `Link` response header. Use the relative URL in the `Link` header to
|
|
225
225
|
* retrieve the `next` set of results.
|
|
226
226
|
*/
|
|
227
|
-
cursor?: string;
|
|
227
|
+
cursor?: string | undefined;
|
|
228
228
|
/**
|
|
229
229
|
* Maximum number of labels per result to return. If more results exist, use the
|
|
230
230
|
* `Link` header to retrieve a relative URL that will return the next set of
|
|
231
231
|
* results.
|
|
232
232
|
*/
|
|
233
|
-
limit?: number;
|
|
234
|
-
})
|
|
235
|
-
results?: Label[];
|
|
236
|
-
_links?: MultiEntityLinks;
|
|
233
|
+
limit?: number | undefined;
|
|
234
|
+
}) => Promise<{
|
|
235
|
+
results?: Label[] | undefined;
|
|
236
|
+
_links?: MultiEntityLinks | undefined;
|
|
237
237
|
} & {
|
|
238
238
|
[key: string]: unknown;
|
|
239
239
|
}>;
|
|
@@ -250,28 +250,28 @@ export declare class LabelService extends CommonHttpService {
|
|
|
250
250
|
* @scopes-current read:space:confluence
|
|
251
251
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-label#api-spaces-id-labels-get
|
|
252
252
|
*/
|
|
253
|
-
getSpaceLabels({ id, prefix, sort, cursor, limit, }: {
|
|
253
|
+
getSpaceLabels: ({ id, prefix, sort, cursor, limit, }: {
|
|
254
254
|
/** The ID of the space for which labels should be returned. */
|
|
255
255
|
id: number;
|
|
256
256
|
/** Filter the results to labels based on their prefix. */
|
|
257
|
-
prefix?: "my" | "team";
|
|
257
|
+
prefix?: "my" | "team" | undefined;
|
|
258
258
|
/** Used to sort the result by a particular field. */
|
|
259
|
-
sort?: string;
|
|
259
|
+
sort?: string | undefined;
|
|
260
260
|
/**
|
|
261
261
|
* Used for pagination, this opaque cursor will be returned in the `next` URL in
|
|
262
262
|
* the `Link` response header. Use the relative URL in the `Link` header to
|
|
263
263
|
* retrieve the `next` set of results.
|
|
264
264
|
*/
|
|
265
|
-
cursor?: string;
|
|
265
|
+
cursor?: string | undefined;
|
|
266
266
|
/**
|
|
267
267
|
* Maximum number of labels per result to return. If more results exist, use the
|
|
268
268
|
* `Link` header to retrieve a relative URL that will return the next set of
|
|
269
269
|
* results.
|
|
270
270
|
*/
|
|
271
|
-
limit?: number;
|
|
272
|
-
})
|
|
273
|
-
results?: Label[];
|
|
274
|
-
_links?: MultiEntityLinks;
|
|
271
|
+
limit?: number | undefined;
|
|
272
|
+
}) => Promise<{
|
|
273
|
+
results?: Label[] | undefined;
|
|
274
|
+
_links?: MultiEntityLinks | undefined;
|
|
275
275
|
} & {
|
|
276
276
|
[key: string]: unknown;
|
|
277
277
|
}>;
|