confluence.js 1.5.2 → 1.5.3
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 +7 -3
- package/out/api/audit.d.ts +24 -12
- package/out/api/audit.js.map +1 -1
- package/out/api/content.d.ts +18 -12
- package/out/api/content.js.map +1 -1
- package/out/api/contentAttachments.d.ts +14 -8
- package/out/api/contentAttachments.js.map +1 -1
- package/out/api/contentBody.js +2 -4
- package/out/api/contentBody.js.map +1 -1
- package/out/api/contentMacroBody.d.ts +4 -2
- package/out/api/contentMacroBody.js.map +1 -1
- package/out/api/contentRestrictions.d.ts +16 -8
- package/out/api/contentRestrictions.js.map +1 -1
- package/out/api/contentWatches.d.ts +16 -8
- package/out/api/contentWatches.js.map +1 -1
- package/out/api/parameters/convertContentBody.d.ts +16 -2
- package/out/api/relation.d.ts +8 -4
- package/out/api/relation.js.map +1 -1
- package/out/api/settings.d.ts +4 -2
- package/out/api/settings.js.map +1 -1
- package/out/api/space.d.ts +4 -2
- package/out/api/space.js.map +1 -1
- package/out/api/template.d.ts +16 -8
- package/out/api/template.js.map +1 -1
- package/out/clients/baseClient.js +3 -1
- package/out/clients/baseClient.js.map +1 -1
- package/out/clients/serverClient.js.map +1 -1
- package/out/server/audit.js +6 -6
- package/out/server/audit.js.map +1 -1
- package/out/server/content.d.ts +34 -262
- package/out/server/content.js +32 -32
- package/out/server/content.js.map +1 -1
- package/out/server/contentBody.d.ts +2 -12
- package/out/server/contentBody.js +2 -1
- package/out/server/contentBody.js.map +1 -1
- package/out/server/group.js +3 -3
- package/out/server/group.js.map +1 -1
- package/out/server/longTask.js +2 -2
- package/out/server/longTask.js.map +1 -1
- package/out/server/parameters/convertContentBody.d.ts +16 -0
- package/out/server/search.d.ts +2 -22
- package/out/server/search.js +1 -1
- package/out/server/search.js.map +1 -1
- package/out/server/space.d.ts +12 -94
- package/out/server/space.js +14 -14
- package/out/server/space.js.map +1 -1
- package/out/server/user.d.ts +8 -152
- package/out/server/user.js +10 -10
- package/out/server/user.js.map +1 -1
- package/package.json +10 -10
- package/src/api/audit.ts +24 -12
- package/src/api/content.ts +23 -17
- package/src/api/contentAttachments.ts +19 -13
- package/src/api/contentBody.ts +2 -0
- package/src/api/contentMacroBody.ts +4 -2
- package/src/api/contentRestrictions.ts +16 -8
- package/src/api/contentWatches.ts +16 -8
- package/src/api/parameters/convertContentBody.ts +39 -2
- package/src/api/relation.ts +8 -4
- package/src/api/settings.ts +4 -2
- package/src/api/space.ts +4 -2
- package/src/api/template.ts +16 -8
- package/src/clients/baseClient.ts +5 -10
- package/src/clients/client.ts +1 -5
- package/src/clients/serverClient.ts +1 -10
- package/src/server/audit.ts +6 -6
- package/src/server/content.ts +70 -295
- package/src/server/contentBody.ts +4 -13
- package/src/server/group.ts +3 -3
- package/src/server/longTask.ts +2 -2
- package/src/server/parameters/convertContentBody.ts +37 -0
- package/src/server/search.ts +3 -23
- package/src/server/space.ts +26 -108
- package/src/server/user.ts +18 -162
package/out/server/space.d.ts
CHANGED
|
@@ -6,21 +6,9 @@ import { Pagination } from '../pagination';
|
|
|
6
6
|
export declare class Space {
|
|
7
7
|
private client;
|
|
8
8
|
constructor(client: Client);
|
|
9
|
-
/**
|
|
10
|
-
* Returns information about a number of spaces.
|
|
11
|
-
*
|
|
12
|
-
* Example request URI(s):
|
|
13
|
-
*
|
|
14
|
-
* - http://example.com/rest/api/space?spaceKey=TST&spaceKey=ds
|
|
15
|
-
*/
|
|
9
|
+
/** Returns information about a number of spaces. */
|
|
16
10
|
getSpaces<T = Pagination<Models.Space>>(parameters: Parameters.GetSpaces | undefined, callback: Callback<T>): Promise<void>;
|
|
17
|
-
/**
|
|
18
|
-
* Returns information about a number of spaces.
|
|
19
|
-
*
|
|
20
|
-
* Example request URI(s):
|
|
21
|
-
*
|
|
22
|
-
* - http://example.com/rest/api/space?spaceKey=TST&spaceKey=ds
|
|
23
|
-
*/
|
|
11
|
+
/** Returns information about a number of spaces. */
|
|
24
12
|
getSpaces<T = Pagination<Models.Space>>(parameters?: Parameters.GetSpaces, callback?: never): Promise<T>;
|
|
25
13
|
/**
|
|
26
14
|
* Creates a new Space.
|
|
@@ -46,23 +34,9 @@ export declare class Space {
|
|
|
46
34
|
* The incoming Space does not include an id, but must include a Key and Name, and should include a Description.
|
|
47
35
|
*/
|
|
48
36
|
createPrivateSpace<T = Models.Space>(parameters: Parameters.CreatePrivateSpace, callback?: never): Promise<T>;
|
|
49
|
-
/**
|
|
50
|
-
* Returns information about a space.
|
|
51
|
-
*
|
|
52
|
-
* @example
|
|
53
|
-
* Example request URI(s):
|
|
54
|
-
*
|
|
55
|
-
* - http://example.com/rest/api/space/TST?expand=description
|
|
56
|
-
*/
|
|
37
|
+
/** Returns information about a space. */
|
|
57
38
|
getSpace<T = Models.Space>(parameters: Parameters.GetSpace, callback: Callback<T>): Promise<void>;
|
|
58
|
-
/**
|
|
59
|
-
* Returns information about a space.
|
|
60
|
-
*
|
|
61
|
-
* @example
|
|
62
|
-
* Example request URI(s):
|
|
63
|
-
*
|
|
64
|
-
* - http://example.com/rest/api/space/TST?expand=description
|
|
65
|
-
*/
|
|
39
|
+
/** Returns information about a space. */
|
|
66
40
|
getSpace<T = Models.Space>(parameters: Parameters.GetSpace, callback?: never): Promise<T>;
|
|
67
41
|
/** Updates a Space. Currently only the Space name, description and homepage can be updated. */
|
|
68
42
|
updateSpace<T = Models.Space>(parameters: Parameters.UpdateSpace, callback: Callback<T>): Promise<void>;
|
|
@@ -82,81 +56,25 @@ export declare class Space {
|
|
|
82
56
|
* Clients can follow the status link in the response and poll it until the task completes. Responses
|
|
83
57
|
*/
|
|
84
58
|
deleteSpace<T = Models.DeletedSpace>(parameters: Parameters.DeleteSpace, callback?: never): Promise<T>;
|
|
85
|
-
/**
|
|
86
|
-
* Returns the content in this given space
|
|
87
|
-
*
|
|
88
|
-
* @example
|
|
89
|
-
* Example request URI(s):
|
|
90
|
-
*
|
|
91
|
-
* - http://example.com/rest/api/space/TEST/content?expand=history
|
|
92
|
-
*/
|
|
59
|
+
/** Returns the content in this given space */
|
|
93
60
|
getContentForSpace<T = Pagination<Models.Content>>(parameters: Parameters.GetContentForSpace, callback: Callback<T>): Promise<void>;
|
|
94
|
-
/**
|
|
95
|
-
* Returns the content in this given space
|
|
96
|
-
*
|
|
97
|
-
* @example
|
|
98
|
-
* Example request URI(s):
|
|
99
|
-
*
|
|
100
|
-
* - http://example.com/rest/api/space/TEST/content?expand=history
|
|
101
|
-
*/
|
|
61
|
+
/** Returns the content in this given space */
|
|
102
62
|
getContentForSpace<T = Pagination<Models.Content>>(parameters: Parameters.GetContentForSpace, callback?: never): Promise<T>;
|
|
103
|
-
/**
|
|
104
|
-
* Returns the content in this given space with the given type
|
|
105
|
-
*
|
|
106
|
-
* @example
|
|
107
|
-
* Example request URI(s):
|
|
108
|
-
*
|
|
109
|
-
* - http://example.com/rest/api/space/TEST/content/page?expand=history
|
|
110
|
-
*/
|
|
63
|
+
/** Returns the content in this given space with the given type */
|
|
111
64
|
getContentByType<T = Pagination<Models.Content>>(parameters: Parameters.GetContentByType, callback: Callback<T>): Promise<void>;
|
|
112
|
-
/**
|
|
113
|
-
* Returns the content in this given space with the given type
|
|
114
|
-
*
|
|
115
|
-
* @example
|
|
116
|
-
* Example request URI(s):
|
|
117
|
-
*
|
|
118
|
-
* - http://example.com/rest/api/space/TEST/content/page?expand=history
|
|
119
|
-
*/
|
|
65
|
+
/** Returns the content in this given space with the given type */
|
|
120
66
|
getContentByType<T = Pagination<Models.Content>>(parameters: Parameters.GetContentByType, callback?: never): Promise<T>;
|
|
121
|
-
/**
|
|
122
|
-
* Returns a paginated list of space properties.
|
|
123
|
-
*
|
|
124
|
-
* @example
|
|
125
|
-
* Example request URI:
|
|
126
|
-
*
|
|
127
|
-
* - http://example.com/rest/experimental/space/TST/property?expand=space,version
|
|
128
|
-
*/
|
|
67
|
+
/** Returns a paginated list of space properties. */
|
|
129
68
|
getSpaceProperties<T = Pagination<Models.SpaceProperty>>(parameters: Parameters.GetSpaceProperties, callback: Callback<T>): Promise<void>;
|
|
130
|
-
/**
|
|
131
|
-
* Returns a paginated list of space properties.
|
|
132
|
-
*
|
|
133
|
-
* @example
|
|
134
|
-
* Example request URI:
|
|
135
|
-
*
|
|
136
|
-
* - http://example.com/rest/experimental/space/TST/property?expand=space,version
|
|
137
|
-
*/
|
|
69
|
+
/** Returns a paginated list of space properties. */
|
|
138
70
|
getSpaceProperties<T = Pagination<Models.SpaceProperty>>(parameters: Parameters.GetSpaceProperties, callback?: never): Promise<T>;
|
|
139
71
|
/** Creates a new space property. */
|
|
140
72
|
createSpaceProperty<T = Models.SpaceProperty>(parameters: Parameters.CreateSpaceProperty, callback: Callback<T>): Promise<void>;
|
|
141
73
|
/** Creates a new space property. */
|
|
142
74
|
createSpaceProperty<T = Models.SpaceProperty>(parameters: Parameters.CreateSpaceProperty, callback?: never): Promise<T>;
|
|
143
|
-
/**
|
|
144
|
-
* Returns a paginated list of space properties.
|
|
145
|
-
*
|
|
146
|
-
* @example
|
|
147
|
-
* Example request URI:
|
|
148
|
-
*
|
|
149
|
-
* - http://example.com/rest/experimental/space/TST/property?expand=space,version
|
|
150
|
-
*/
|
|
75
|
+
/** Returns a paginated list of space properties. */
|
|
151
76
|
getSpaceProperty<T = Models.SpaceProperty>(parameters: Parameters.GetSpaceProperty, callback: Callback<T>): Promise<void>;
|
|
152
|
-
/**
|
|
153
|
-
* Returns a paginated list of space properties.
|
|
154
|
-
*
|
|
155
|
-
* @example
|
|
156
|
-
* Example request URI:
|
|
157
|
-
*
|
|
158
|
-
* - http://example.com/rest/experimental/space/TST/property?expand=space,version
|
|
159
|
-
*/
|
|
77
|
+
/** Returns a paginated list of space properties. */
|
|
160
78
|
getSpaceProperty<T = Models.SpaceProperty>(parameters: Parameters.GetSpaceProperty, callback?: never): Promise<T>;
|
|
161
79
|
/** Creates a new space property. */
|
|
162
80
|
createSpacePropertyForKey<T = Models.SpaceProperty>(parameters: Parameters.CreateSpacePropertyForKey, callback: Callback<T>): Promise<void>;
|
package/out/server/space.js
CHANGED
|
@@ -22,7 +22,7 @@ class Space {
|
|
|
22
22
|
limit: parameters === null || parameters === void 0 ? void 0 : parameters.limit,
|
|
23
23
|
},
|
|
24
24
|
};
|
|
25
|
-
return this.client.sendRequest(config, callback
|
|
25
|
+
return this.client.sendRequest(config, callback);
|
|
26
26
|
});
|
|
27
27
|
}
|
|
28
28
|
createSpace(parameters, callback) {
|
|
@@ -37,7 +37,7 @@ class Space {
|
|
|
37
37
|
permissions: parameters.permissions,
|
|
38
38
|
},
|
|
39
39
|
};
|
|
40
|
-
return this.client.sendRequest(config, callback
|
|
40
|
+
return this.client.sendRequest(config, callback);
|
|
41
41
|
});
|
|
42
42
|
}
|
|
43
43
|
createPrivateSpace(parameters, callback) {
|
|
@@ -51,7 +51,7 @@ class Space {
|
|
|
51
51
|
description: parameters.description,
|
|
52
52
|
},
|
|
53
53
|
};
|
|
54
|
-
return this.client.sendRequest(config, callback
|
|
54
|
+
return this.client.sendRequest(config, callback);
|
|
55
55
|
});
|
|
56
56
|
}
|
|
57
57
|
getSpace(parameters, callback) {
|
|
@@ -63,7 +63,7 @@ class Space {
|
|
|
63
63
|
expand: parameters.expand,
|
|
64
64
|
},
|
|
65
65
|
};
|
|
66
|
-
return this.client.sendRequest(config, callback
|
|
66
|
+
return this.client.sendRequest(config, callback);
|
|
67
67
|
});
|
|
68
68
|
}
|
|
69
69
|
updateSpace(parameters, callback) {
|
|
@@ -77,7 +77,7 @@ class Space {
|
|
|
77
77
|
homepage: parameters.homepage,
|
|
78
78
|
},
|
|
79
79
|
};
|
|
80
|
-
return this.client.sendRequest(config, callback
|
|
80
|
+
return this.client.sendRequest(config, callback);
|
|
81
81
|
});
|
|
82
82
|
}
|
|
83
83
|
deleteSpace(parameters, callback) {
|
|
@@ -86,7 +86,7 @@ class Space {
|
|
|
86
86
|
url: `/rest/api/space/${parameters.spaceKey}`,
|
|
87
87
|
method: 'DELETE',
|
|
88
88
|
};
|
|
89
|
-
return this.client.sendRequest(config, callback
|
|
89
|
+
return this.client.sendRequest(config, callback);
|
|
90
90
|
});
|
|
91
91
|
}
|
|
92
92
|
getContentForSpace(parameters, callback) {
|
|
@@ -101,7 +101,7 @@ class Space {
|
|
|
101
101
|
limit: parameters.limit,
|
|
102
102
|
},
|
|
103
103
|
};
|
|
104
|
-
return this.client.sendRequest(config, callback
|
|
104
|
+
return this.client.sendRequest(config, callback);
|
|
105
105
|
});
|
|
106
106
|
}
|
|
107
107
|
getContentByType(parameters, callback) {
|
|
@@ -116,7 +116,7 @@ class Space {
|
|
|
116
116
|
limit: parameters.limit,
|
|
117
117
|
},
|
|
118
118
|
};
|
|
119
|
-
return this.client.sendRequest(config, callback
|
|
119
|
+
return this.client.sendRequest(config, callback);
|
|
120
120
|
});
|
|
121
121
|
}
|
|
122
122
|
getSpaceProperties(parameters, callback) {
|
|
@@ -130,7 +130,7 @@ class Space {
|
|
|
130
130
|
limit: parameters.limit,
|
|
131
131
|
},
|
|
132
132
|
};
|
|
133
|
-
return this.client.sendRequest(config, callback
|
|
133
|
+
return this.client.sendRequest(config, callback);
|
|
134
134
|
});
|
|
135
135
|
}
|
|
136
136
|
createSpaceProperty(parameters, callback) {
|
|
@@ -143,7 +143,7 @@ class Space {
|
|
|
143
143
|
value: parameters.value,
|
|
144
144
|
},
|
|
145
145
|
};
|
|
146
|
-
return this.client.sendRequest(config, callback
|
|
146
|
+
return this.client.sendRequest(config, callback);
|
|
147
147
|
});
|
|
148
148
|
}
|
|
149
149
|
getSpaceProperty(parameters, callback) {
|
|
@@ -155,7 +155,7 @@ class Space {
|
|
|
155
155
|
expand: parameters.expand,
|
|
156
156
|
},
|
|
157
157
|
};
|
|
158
|
-
return this.client.sendRequest(config, callback
|
|
158
|
+
return this.client.sendRequest(config, callback);
|
|
159
159
|
});
|
|
160
160
|
}
|
|
161
161
|
createSpacePropertyForKey(parameters, callback) {
|
|
@@ -167,7 +167,7 @@ class Space {
|
|
|
167
167
|
value: parameters.value,
|
|
168
168
|
},
|
|
169
169
|
};
|
|
170
|
-
return this.client.sendRequest(config, callback
|
|
170
|
+
return this.client.sendRequest(config, callback);
|
|
171
171
|
});
|
|
172
172
|
}
|
|
173
173
|
updateSpaceProperty(parameters, callback) {
|
|
@@ -176,7 +176,7 @@ class Space {
|
|
|
176
176
|
url: `/rest/api/space/${parameters.spaceKey}/property/${parameters.key}`,
|
|
177
177
|
method: 'PUT',
|
|
178
178
|
};
|
|
179
|
-
return this.client.sendRequest(config, callback
|
|
179
|
+
return this.client.sendRequest(config, callback);
|
|
180
180
|
});
|
|
181
181
|
}
|
|
182
182
|
deleteSpaceProperty(parameters, callback) {
|
|
@@ -185,7 +185,7 @@ class Space {
|
|
|
185
185
|
url: `/rest/api/space/${parameters.spaceKey}/property/${parameters.key}`,
|
|
186
186
|
method: 'DELETE',
|
|
187
187
|
};
|
|
188
|
-
return this.client.sendRequest(config, callback
|
|
188
|
+
return this.client.sendRequest(config, callback);
|
|
189
189
|
});
|
|
190
190
|
}
|
|
191
191
|
}
|
package/out/server/space.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"space.js","sourceRoot":"","sources":["../../src/server/space.ts"],"names":[],"mappings":";;;;AAOA,MAAa,KAAK;IAChB,YAAoB,MAAc;QAAd,WAAM,GAAN,MAAM,CAAQ;IAAG,CAAC;
|
|
1
|
+
{"version":3,"file":"space.js","sourceRoot":"","sources":["../../src/server/space.ts"],"names":[],"mappings":";;;;AAOA,MAAa,KAAK;IAChB,YAAoB,MAAc;QAAd,WAAM,GAAN,MAAM,CAAQ;IAAG,CAAC;IAShC,SAAS,CACb,UAAiC,EACjC,QAAsB;;YAEtB,MAAM,MAAM,GAAkB;gBAC5B,GAAG,EAAE,iBAAiB;gBACtB,MAAM,EAAE,KAAK;gBACb,MAAM,EAAE;oBACN,QAAQ,EAAE,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,QAAQ;oBAC9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,EAC1C,QAAsB;;YAEtB,MAAM,MAAM,GAAkB;gBAC5B,GAAG,EAAE,mBAAmB,UAAU,CAAC,QAAQ,aAAa,UAAU,CAAC,GAAG,EAAE;gBACxE,MAAM,EAAE,QAAQ;aACjB,CAAC;YAEF,OAAO,IAAI,CAAC,MAAM,CAAC,WAAW,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;QACnD,CAAC;KAAA;CACF;AAnWD,sBAmWC"}
|
package/out/server/user.d.ts
CHANGED
|
@@ -6,81 +6,21 @@ import { Pagination } from '../pagination';
|
|
|
6
6
|
export declare class User {
|
|
7
7
|
private client;
|
|
8
8
|
constructor(client: Client);
|
|
9
|
-
/**
|
|
10
|
-
* Get information about a user identified by either user key or username.
|
|
11
|
-
*
|
|
12
|
-
* @example
|
|
13
|
-
* Example request URI(s):
|
|
14
|
-
*
|
|
15
|
-
* - http://example.com/rest/api/user?username=jblogs
|
|
16
|
-
* - http://example.com/rest/api/user?key=402880824ff933a4014ff9345d7c0002
|
|
17
|
-
*/
|
|
9
|
+
/** Get information about a user identified by either user key or username. */
|
|
18
10
|
getUser<T = Models.User>(parameters: Parameters.GetUser | undefined, callback: Callback<T>): Promise<void>;
|
|
19
|
-
/**
|
|
20
|
-
* Get information about a user identified by either user key or username.
|
|
21
|
-
*
|
|
22
|
-
* @example
|
|
23
|
-
* Example request URI(s):
|
|
24
|
-
*
|
|
25
|
-
* - http://example.com/rest/api/user?username=jblogs
|
|
26
|
-
* - http://example.com/rest/api/user?key=402880824ff933a4014ff9345d7c0002
|
|
27
|
-
*/
|
|
11
|
+
/** Get information about a user identified by either user key or username. */
|
|
28
12
|
getUser<T = Models.User>(parameters?: Parameters.GetUser, callback?: never): Promise<T>;
|
|
29
|
-
/**
|
|
30
|
-
* Get information about the how anonymous is represented in confluence
|
|
31
|
-
*
|
|
32
|
-
* @example
|
|
33
|
-
* Example request URI(s):
|
|
34
|
-
*
|
|
35
|
-
* - http://example.com/rest/api/user/anonymous
|
|
36
|
-
*/
|
|
13
|
+
/** Get information about the how anonymous is represented in confluence */
|
|
37
14
|
getAnonymousUser<T = Models.UserAnonymous>(callback: Callback<T>): Promise<void>;
|
|
38
|
-
/**
|
|
39
|
-
* Get information about the how anonymous is represented in confluence
|
|
40
|
-
*
|
|
41
|
-
* @example
|
|
42
|
-
* Example request URI(s):
|
|
43
|
-
*
|
|
44
|
-
* - http://example.com/rest/api/user/anonymous
|
|
45
|
-
*/
|
|
15
|
+
/** Get information about the how anonymous is represented in confluence */
|
|
46
16
|
getAnonymousUser<T = Models.UserAnonymous>(callback?: never): Promise<T>;
|
|
47
|
-
/**
|
|
48
|
-
* Get information about the current logged in user.
|
|
49
|
-
*
|
|
50
|
-
* @example
|
|
51
|
-
* Example request URI(s):
|
|
52
|
-
*
|
|
53
|
-
* - http://example.com/rest/api/user/current
|
|
54
|
-
*/
|
|
17
|
+
/** Get information about the current logged-in user. */
|
|
55
18
|
getCurrentUser<T = Models.User>(parameters: Parameters.GetCurrentUser | undefined, callback: Callback<T>): Promise<void>;
|
|
56
|
-
/**
|
|
57
|
-
* Get information about the current logged in user.
|
|
58
|
-
*
|
|
59
|
-
* @example
|
|
60
|
-
* Example request URI(s):
|
|
61
|
-
*
|
|
62
|
-
* - http://example.com/rest/api/user/current
|
|
63
|
-
*/
|
|
19
|
+
/** Get information about the current logged-in user. */
|
|
64
20
|
getCurrentUser<T = Models.User>(parameters?: Parameters.GetCurrentUser, callback?: never): Promise<T>;
|
|
65
|
-
/**
|
|
66
|
-
* Get a paginated collection of groups that the given user is a member of
|
|
67
|
-
*
|
|
68
|
-
* @example
|
|
69
|
-
* Example request URI(s):
|
|
70
|
-
*
|
|
71
|
-
* http://example.com/rest/api/user/memberof?username=jblogs
|
|
72
|
-
* http://example.com/rest/api/user/memberof?key=402880824ff933a4014ff9345d7c0002
|
|
73
|
-
*/
|
|
21
|
+
/** Get a paginated collection of groups that the given user is a member of */
|
|
74
22
|
getGroupMembershipsForUser<T = Pagination<Models.Group>>(parameters: Parameters.GetGroups | undefined, callback: Callback<T>): Promise<void>;
|
|
75
|
-
/**
|
|
76
|
-
* Get a paginated collection of groups that the given user is a member of
|
|
77
|
-
*
|
|
78
|
-
* @example
|
|
79
|
-
* Example request URI(s):
|
|
80
|
-
*
|
|
81
|
-
* http://example.com/rest/api/user/memberof?username=jblogs
|
|
82
|
-
* http://example.com/rest/api/user/memberof?key=402880824ff933a4014ff9345d7c0002
|
|
83
|
-
*/
|
|
23
|
+
/** Get a paginated collection of groups that the given user is a member of */
|
|
84
24
|
getGroupMembershipsForUser<T = Pagination<Models.Group>>(parameters?: Parameters.GetGroups, callback?: never): Promise<T>;
|
|
85
25
|
/**
|
|
86
26
|
* Get information about whether a user is watching a specified content.
|
|
@@ -88,13 +28,6 @@ export declare class User {
|
|
|
88
28
|
* User is optional. If not specified, currently logged-in user will be used. Otherwise, it can be specified by either
|
|
89
29
|
* user key or username. When a user is specified and is different from the logged-in user, the logged-in user needs
|
|
90
30
|
* to be a Confluence administrator.
|
|
91
|
-
*
|
|
92
|
-
* @example
|
|
93
|
-
* Example request URI(s):
|
|
94
|
-
*
|
|
95
|
-
* - http://example.com/rest/api/user/watch/content/131213
|
|
96
|
-
* - http://example.com/rest/api/user/watch/content/131213?username=jblogs
|
|
97
|
-
* - http://example.com/rest/api/user/watch/content/131213?key=ff8080815a58e24c015a58e263710000
|
|
98
31
|
*/
|
|
99
32
|
getContentWatchStatus<T = Models.UserWatch>(parameters: Parameters.GetContentWatchStatus, callback: Callback<T>): Promise<void>;
|
|
100
33
|
/**
|
|
@@ -103,13 +36,6 @@ export declare class User {
|
|
|
103
36
|
* User is optional. If not specified, currently logged-in user will be used. Otherwise, it can be specified by either
|
|
104
37
|
* user key or username. When a user is specified and is different from the logged-in user, the logged-in user needs
|
|
105
38
|
* to be a Confluence administrator.
|
|
106
|
-
*
|
|
107
|
-
* @example
|
|
108
|
-
* Example request URI(s):
|
|
109
|
-
*
|
|
110
|
-
* - http://example.com/rest/api/user/watch/content/131213
|
|
111
|
-
* - http://example.com/rest/api/user/watch/content/131213?username=jblogs
|
|
112
|
-
* - http://example.com/rest/api/user/watch/content/131213?key=ff8080815a58e24c015a58e263710000
|
|
113
39
|
*/
|
|
114
40
|
getContentWatchStatus<T = Models.UserWatch>(parameters: Parameters.GetContentWatchStatus, callback?: never): Promise<T>;
|
|
115
41
|
/**
|
|
@@ -118,13 +44,6 @@ export declare class User {
|
|
|
118
44
|
* User is optional. If not specified, currently logged-in user will be used. Otherwise, it can be specified by either
|
|
119
45
|
* user key or username. When a user is specified and is different from the logged-in user, the logged-in user needs
|
|
120
46
|
* to be a Confluence administrator.
|
|
121
|
-
*
|
|
122
|
-
* @example
|
|
123
|
-
* Example request URI(s):
|
|
124
|
-
*
|
|
125
|
-
* - POST http://example.com/rest/api/user/watch/content/131213
|
|
126
|
-
* - POST http://example.com/rest/api/user/watch/content/131213?username=jblogs
|
|
127
|
-
* - POST http://example.com/rest/api/user/watch/content/131213?key=ff8080815a58e24c015a58e263710000
|
|
128
47
|
*/
|
|
129
48
|
addContentWatcher<T = void>(parameters: Parameters.AddContentWatcher, callback: Callback<T>): Promise<void>;
|
|
130
49
|
/**
|
|
@@ -133,13 +52,6 @@ export declare class User {
|
|
|
133
52
|
* User is optional. If not specified, currently logged-in user will be used. Otherwise, it can be specified by either
|
|
134
53
|
* user key or username. When a user is specified and is different from the logged-in user, the logged-in user needs
|
|
135
54
|
* to be a Confluence administrator.
|
|
136
|
-
*
|
|
137
|
-
* @example
|
|
138
|
-
* Example request URI(s):
|
|
139
|
-
*
|
|
140
|
-
* - POST http://example.com/rest/api/user/watch/content/131213
|
|
141
|
-
* - POST http://example.com/rest/api/user/watch/content/131213?username=jblogs
|
|
142
|
-
* - POST http://example.com/rest/api/user/watch/content/131213?key=ff8080815a58e24c015a58e263710000
|
|
143
55
|
*/
|
|
144
56
|
addContentWatcher<T = void>(parameters: Parameters.AddContentWatcher, callback?: never): Promise<T>;
|
|
145
57
|
/**
|
|
@@ -148,13 +60,6 @@ export declare class User {
|
|
|
148
60
|
* User is optional. If not specified, currently logged-in user will be used. Otherwise, it can be specified by either
|
|
149
61
|
* user key or username. When a user is specified and is different from the logged-in user, the logged-in user needs
|
|
150
62
|
* to be a Confluence administrator.
|
|
151
|
-
*
|
|
152
|
-
* @example
|
|
153
|
-
* Example request URI(s):
|
|
154
|
-
*
|
|
155
|
-
* - DELETE http://example.com/rest/api/user/watch/content/131213
|
|
156
|
-
* - DELETE http://example.com/rest/api/user/watch/content/131213?username=jblogs
|
|
157
|
-
* - DELETE http://example.com/rest/api/user/watch/content/131213?key=ff8080815a58e24c015a58e263710000
|
|
158
63
|
*/
|
|
159
64
|
removeContentWatcher<T = void>(parameters: Parameters.RemoveContentWatcher, callback: Callback<T>): Promise<void>;
|
|
160
65
|
/**
|
|
@@ -163,13 +68,6 @@ export declare class User {
|
|
|
163
68
|
* User is optional. If not specified, currently logged-in user will be used. Otherwise, it can be specified by either
|
|
164
69
|
* user key or username. When a user is specified and is different from the logged-in user, the logged-in user needs
|
|
165
70
|
* to be a Confluence administrator.
|
|
166
|
-
*
|
|
167
|
-
* @example
|
|
168
|
-
* Example request URI(s):
|
|
169
|
-
*
|
|
170
|
-
* - DELETE http://example.com/rest/api/user/watch/content/131213
|
|
171
|
-
* - DELETE http://example.com/rest/api/user/watch/content/131213?username=jblogs
|
|
172
|
-
* - DELETE http://example.com/rest/api/user/watch/content/131213?key=ff8080815a58e24c015a58e263710000
|
|
173
71
|
*/
|
|
174
72
|
removeContentWatcher<T = void>(parameters: Parameters.RemoveContentWatcher, callback?: never): Promise<T>;
|
|
175
73
|
/**
|
|
@@ -178,13 +76,6 @@ export declare class User {
|
|
|
178
76
|
* User is optional. If not specified, currently logged-in user will be used. Otherwise, it can be specified by either
|
|
179
77
|
* user key or username. When a user is specified and is different from the logged-in user, the logged-in user needs
|
|
180
78
|
* to be a Confluence administrator.
|
|
181
|
-
*
|
|
182
|
-
* @example
|
|
183
|
-
* Example request URI(s):
|
|
184
|
-
*
|
|
185
|
-
* - http://example.com/rest/api/user/watch/space/SPACEKEY
|
|
186
|
-
* - http://example.com/rest/api/user/watch/space/SPACEKEY?username=jblogs
|
|
187
|
-
* - http://example.com/rest/api/user/watch/space/SPACEKEY?key=ff8080815a58e24c015a58e263710000
|
|
188
79
|
*/
|
|
189
80
|
isWatchingSpace<T = Models.UserWatch>(parameters: Parameters.IsWatchingSpace, callback: Callback<T>): Promise<void>;
|
|
190
81
|
/**
|
|
@@ -193,13 +84,6 @@ export declare class User {
|
|
|
193
84
|
* User is optional. If not specified, currently logged-in user will be used. Otherwise, it can be specified by either
|
|
194
85
|
* user key or username. When a user is specified and is different from the logged-in user, the logged-in user needs
|
|
195
86
|
* to be a Confluence administrator.
|
|
196
|
-
*
|
|
197
|
-
* @example
|
|
198
|
-
* Example request URI(s):
|
|
199
|
-
*
|
|
200
|
-
* - http://example.com/rest/api/user/watch/space/SPACEKEY
|
|
201
|
-
* - http://example.com/rest/api/user/watch/space/SPACEKEY?username=jblogs
|
|
202
|
-
* - http://example.com/rest/api/user/watch/space/SPACEKEY?key=ff8080815a58e24c015a58e263710000
|
|
203
87
|
*/
|
|
204
88
|
isWatchingSpace<T = Models.UserWatch>(parameters: Parameters.IsWatchingSpace, callback?: never): Promise<T>;
|
|
205
89
|
/**
|
|
@@ -208,13 +92,6 @@ export declare class User {
|
|
|
208
92
|
* User is optional. If not specified, currently logged-in user will be used. Otherwise, it can be specified by either
|
|
209
93
|
* user key or username. When a user is specified and is different from the logged-in user, the logged-in user needs
|
|
210
94
|
* to be a Confluence administrator.
|
|
211
|
-
*
|
|
212
|
-
* @example
|
|
213
|
-
* Example request URI(s):
|
|
214
|
-
*
|
|
215
|
-
* - POST http://example.com/rest/api/user/watch/space/SPACEKEY
|
|
216
|
-
* - POST http://example.com/rest/api/user/watch/space/SPACEKEY?username=jblogs
|
|
217
|
-
* - POST http://example.com/rest/api/user/watch/space/SPACEKEY?key=ff8080815a58e24c015a58e263710000
|
|
218
95
|
*/
|
|
219
96
|
addSpaceWatch<T = void>(parameters: Parameters.AddSpaceWatch, callback: Callback<T>): Promise<void>;
|
|
220
97
|
/**
|
|
@@ -223,13 +100,6 @@ export declare class User {
|
|
|
223
100
|
* User is optional. If not specified, currently logged-in user will be used. Otherwise, it can be specified by either
|
|
224
101
|
* user key or username. When a user is specified and is different from the logged-in user, the logged-in user needs
|
|
225
102
|
* to be a Confluence administrator.
|
|
226
|
-
*
|
|
227
|
-
* @example
|
|
228
|
-
* Example request URI(s):
|
|
229
|
-
*
|
|
230
|
-
* - POST http://example.com/rest/api/user/watch/space/SPACEKEY
|
|
231
|
-
* - POST http://example.com/rest/api/user/watch/space/SPACEKEY?username=jblogs
|
|
232
|
-
* - POST http://example.com/rest/api/user/watch/space/SPACEKEY?key=ff8080815a58e24c015a58e263710000
|
|
233
103
|
*/
|
|
234
104
|
addSpaceWatch<T = void>(parameters: Parameters.AddSpaceWatch, callback?: never): Promise<T>;
|
|
235
105
|
/**
|
|
@@ -238,13 +108,6 @@ export declare class User {
|
|
|
238
108
|
* User is optional. If not specified, currently logged-in user will be used. Otherwise, it can be specified by either
|
|
239
109
|
* user key or username. When a user is specified and is different from the logged-in user, the logged-in user needs
|
|
240
110
|
* to be a Confluence administrator.
|
|
241
|
-
*
|
|
242
|
-
* @example
|
|
243
|
-
* Example request URI(s):
|
|
244
|
-
*
|
|
245
|
-
* - DELETE http://example.com/rest/api/user/watch/space/SPACEKEY
|
|
246
|
-
* - DELETE http://example.com/rest/api/user/watch/space/SPACEKEY?username=jblogs
|
|
247
|
-
* - DELETE http://example.com/rest/api/user/watch/space/SPACEKEY?key=ff8080815a58e24c015a58e263710000
|
|
248
111
|
*/
|
|
249
112
|
removeSpaceWatch<T = void>(parameters: Parameters.RemoveSpaceWatch, callback: Callback<T>): Promise<void>;
|
|
250
113
|
/**
|
|
@@ -253,13 +116,6 @@ export declare class User {
|
|
|
253
116
|
* User is optional. If not specified, currently logged-in user will be used. Otherwise, it can be specified by either
|
|
254
117
|
* user key or username. When a user is specified and is different from the logged-in user, the logged-in user needs
|
|
255
118
|
* to be a Confluence administrator.
|
|
256
|
-
*
|
|
257
|
-
* @example
|
|
258
|
-
* Example request URI(s):
|
|
259
|
-
*
|
|
260
|
-
* - DELETE http://example.com/rest/api/user/watch/space/SPACEKEY
|
|
261
|
-
* - DELETE http://example.com/rest/api/user/watch/space/SPACEKEY?username=jblogs
|
|
262
|
-
* - DELETE http://example.com/rest/api/user/watch/space/SPACEKEY?key=ff8080815a58e24c015a58e263710000
|
|
263
119
|
*/
|
|
264
120
|
removeSpaceWatch<T = void>(parameters: Parameters.RemoveSpaceWatch, callback?: never): Promise<T>;
|
|
265
121
|
}
|
package/out/server/user.js
CHANGED
|
@@ -17,7 +17,7 @@ class User {
|
|
|
17
17
|
expand: parameters === null || parameters === void 0 ? void 0 : parameters.expand,
|
|
18
18
|
},
|
|
19
19
|
};
|
|
20
|
-
return this.client.sendRequest(config, callback
|
|
20
|
+
return this.client.sendRequest(config, callback);
|
|
21
21
|
});
|
|
22
22
|
}
|
|
23
23
|
getAnonymousUser(callback) {
|
|
@@ -26,7 +26,7 @@ class User {
|
|
|
26
26
|
url: '/rest/api/user/anonymous',
|
|
27
27
|
method: 'GET',
|
|
28
28
|
};
|
|
29
|
-
return this.client.sendRequest(config, callback
|
|
29
|
+
return this.client.sendRequest(config, callback);
|
|
30
30
|
});
|
|
31
31
|
}
|
|
32
32
|
getCurrentUser(parameters, callback) {
|
|
@@ -38,7 +38,7 @@ class User {
|
|
|
38
38
|
expand: parameters === null || parameters === void 0 ? void 0 : parameters.expand,
|
|
39
39
|
},
|
|
40
40
|
};
|
|
41
|
-
return this.client.sendRequest(config, callback
|
|
41
|
+
return this.client.sendRequest(config, callback);
|
|
42
42
|
});
|
|
43
43
|
}
|
|
44
44
|
getGroupMembershipsForUser(parameters, callback) {
|
|
@@ -54,7 +54,7 @@ class User {
|
|
|
54
54
|
limit: parameters === null || parameters === void 0 ? void 0 : parameters.limit,
|
|
55
55
|
},
|
|
56
56
|
};
|
|
57
|
-
return this.client.sendRequest(config, callback
|
|
57
|
+
return this.client.sendRequest(config, callback);
|
|
58
58
|
});
|
|
59
59
|
}
|
|
60
60
|
getContentWatchStatus(parameters, callback) {
|
|
@@ -67,7 +67,7 @@ class User {
|
|
|
67
67
|
username: parameters.username,
|
|
68
68
|
},
|
|
69
69
|
};
|
|
70
|
-
return this.client.sendRequest(config, callback
|
|
70
|
+
return this.client.sendRequest(config, callback);
|
|
71
71
|
});
|
|
72
72
|
}
|
|
73
73
|
addContentWatcher(parameters, callback) {
|
|
@@ -80,7 +80,7 @@ class User {
|
|
|
80
80
|
username: parameters.username,
|
|
81
81
|
},
|
|
82
82
|
};
|
|
83
|
-
return this.client.sendRequest(config, callback
|
|
83
|
+
return this.client.sendRequest(config, callback);
|
|
84
84
|
});
|
|
85
85
|
}
|
|
86
86
|
removeContentWatcher(parameters, callback) {
|
|
@@ -93,7 +93,7 @@ class User {
|
|
|
93
93
|
username: parameters.username,
|
|
94
94
|
},
|
|
95
95
|
};
|
|
96
|
-
return this.client.sendRequest(config, callback
|
|
96
|
+
return this.client.sendRequest(config, callback);
|
|
97
97
|
});
|
|
98
98
|
}
|
|
99
99
|
isWatchingSpace(parameters, callback) {
|
|
@@ -106,7 +106,7 @@ class User {
|
|
|
106
106
|
username: parameters.username,
|
|
107
107
|
},
|
|
108
108
|
};
|
|
109
|
-
return this.client.sendRequest(config, callback
|
|
109
|
+
return this.client.sendRequest(config, callback);
|
|
110
110
|
});
|
|
111
111
|
}
|
|
112
112
|
addSpaceWatch(parameters, callback) {
|
|
@@ -119,7 +119,7 @@ class User {
|
|
|
119
119
|
username: parameters.username,
|
|
120
120
|
},
|
|
121
121
|
};
|
|
122
|
-
return this.client.sendRequest(config, callback
|
|
122
|
+
return this.client.sendRequest(config, callback);
|
|
123
123
|
});
|
|
124
124
|
}
|
|
125
125
|
removeSpaceWatch(parameters, callback) {
|
|
@@ -132,7 +132,7 @@ class User {
|
|
|
132
132
|
username: parameters.username,
|
|
133
133
|
},
|
|
134
134
|
};
|
|
135
|
-
return this.client.sendRequest(config, callback
|
|
135
|
+
return this.client.sendRequest(config, callback);
|
|
136
136
|
});
|
|
137
137
|
}
|
|
138
138
|
}
|
package/out/server/user.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"user.js","sourceRoot":"","sources":["../../src/server/user.ts"],"names":[],"mappings":";;;;AAOA,MAAa,IAAI;IACf,YAAoB,MAAc;QAAd,WAAM,GAAN,MAAM,CAAQ;IAAG,CAAC;
|
|
1
|
+
{"version":3,"file":"user.js","sourceRoot":"","sources":["../../src/server/user.ts"],"names":[],"mappings":";;;;AAOA,MAAa,IAAI;IACf,YAAoB,MAAc;QAAd,WAAM,GAAN,MAAM,CAAQ;IAAG,CAAC;IAMhC,OAAO,CAAkB,UAA+B,EAAE,QAAsB;;YACpF,MAAM,MAAM,GAAkB;gBAC5B,GAAG,EAAE,gBAAgB;gBACrB,MAAM,EAAE,KAAK;gBACb,MAAM,EAAE;oBACN,GAAG,EAAE,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,GAAG;oBACpB,QAAQ,EAAE,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,QAAQ;oBAC9B,MAAM,EAAE,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,MAAM;iBAC3B;aACF,CAAC;YAEF,OAAO,IAAI,CAAC,MAAM,CAAC,WAAW,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;QACnD,CAAC;KAAA;IAMK,gBAAgB,CAA2B,QAAsB;;YACrE,MAAM,MAAM,GAAkB;gBAC5B,GAAG,EAAE,0BAA0B;gBAC/B,MAAM,EAAE,KAAK;aACd,CAAC;YAEF,OAAO,IAAI,CAAC,MAAM,CAAC,WAAW,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;QACnD,CAAC;KAAA;IASK,cAAc,CAClB,UAAsC,EACtC,QAAsB;;YAEtB,MA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