confluence.js 1.3.0 → 1.3.1
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/out/api/audit.js +6 -6
- package/out/api/content.js +10 -10
- package/out/api/contentAttachments.js +6 -6
- package/out/api/contentBody.js +1 -1
- package/out/api/contentChildrenAndDescendants.js +7 -7
- package/out/api/contentComments.js +1 -1
- package/out/api/contentLabels.js +4 -4
- package/out/api/contentMacroBody.js +1 -1
- package/out/api/contentPermissions.js +1 -1
- package/out/api/contentProperties.js +6 -6
- package/out/api/contentRestrictions.js +15 -15
- package/out/api/contentVersions.js +4 -4
- package/out/api/contentWatches.js +12 -12
- package/out/api/dynamicModules.js +3 -3
- package/out/api/experimental.js +5 -5
- package/out/api/group.js +15 -15
- package/out/api/inlineTasks.js +3 -3
- package/out/api/labelInfo.js +1 -1
- package/out/api/longRunningTask.js +2 -2
- package/out/api/relation.js +5 -5
- package/out/api/search.d.ts +2 -2
- package/out/api/search.js +3 -2
- package/out/api/settings.js +6 -6
- package/out/api/space.js +9 -10
- package/out/api/spacePermissions.js +3 -3
- package/out/api/spaceProperties.js +6 -6
- package/out/api/spaceSettings.js +2 -2
- package/out/api/template.js +6 -6
- package/out/api/themes.js +6 -6
- package/out/api/users.js +8 -8
- package/out/clients/baseClient.js +6 -2
- package/package.json +3 -3
- package/src/api/audit.ts +6 -6
- package/src/api/content.ts +10 -10
- package/src/api/contentAttachments.ts +6 -6
- package/src/api/contentBody.ts +1 -1
- package/src/api/contentChildrenAndDescendants.ts +7 -7
- package/src/api/contentComments.ts +1 -1
- package/src/api/contentLabels.ts +4 -4
- package/src/api/contentMacroBody.ts +1 -1
- package/src/api/contentPermissions.ts +1 -1
- package/src/api/contentProperties.ts +6 -6
- package/src/api/contentRestrictions.ts +15 -15
- package/src/api/contentVersions.ts +4 -4
- package/src/api/contentWatches.ts +12 -12
- package/src/api/dynamicModules.ts +3 -3
- package/src/api/experimental.ts +5 -5
- package/src/api/group.ts +16 -15
- package/src/api/inlineTasks.ts +3 -3
- package/src/api/labelInfo.ts +1 -1
- package/src/api/longRunningTask.ts +2 -2
- package/src/api/relation.ts +5 -5
- package/src/api/search.ts +6 -4
- package/src/api/settings.ts +6 -6
- package/src/api/space.ts +9 -9
- package/src/api/spacePermissions.ts +3 -3
- package/src/api/spaceProperties.ts +6 -6
- package/src/api/spaceSettings.ts +2 -2
- package/src/api/template.ts +6 -6
- package/src/api/themes.ts +6 -6
- package/src/api/users.ts +8 -8
- package/src/clients/baseClient.ts +6 -2
package/out/api/themes.js
CHANGED
|
@@ -16,7 +16,7 @@ class Themes {
|
|
|
16
16
|
limit: parameters === null || parameters === void 0 ? void 0 : parameters.limit,
|
|
17
17
|
},
|
|
18
18
|
};
|
|
19
|
-
return this.client.sendRequest(config, callback
|
|
19
|
+
return this.client.sendRequest(config, callback);
|
|
20
20
|
});
|
|
21
21
|
}
|
|
22
22
|
getGlobalTheme(callback) {
|
|
@@ -25,7 +25,7 @@ class Themes {
|
|
|
25
25
|
url: '/api/settings/theme/selected',
|
|
26
26
|
method: 'GET',
|
|
27
27
|
};
|
|
28
|
-
return this.client.sendRequest(config, callback
|
|
28
|
+
return this.client.sendRequest(config, callback);
|
|
29
29
|
});
|
|
30
30
|
}
|
|
31
31
|
getTheme(parameters, callback) {
|
|
@@ -34,7 +34,7 @@ class Themes {
|
|
|
34
34
|
url: `/api/settings/theme/${parameters.themeKey}`,
|
|
35
35
|
method: 'GET',
|
|
36
36
|
};
|
|
37
|
-
return this.client.sendRequest(config, callback
|
|
37
|
+
return this.client.sendRequest(config, callback);
|
|
38
38
|
});
|
|
39
39
|
}
|
|
40
40
|
getSpaceTheme(parameters, callback) {
|
|
@@ -43,7 +43,7 @@ class Themes {
|
|
|
43
43
|
url: `/api/space/${parameters.spaceKey}/theme`,
|
|
44
44
|
method: 'GET',
|
|
45
45
|
};
|
|
46
|
-
return this.client.sendRequest(config, callback
|
|
46
|
+
return this.client.sendRequest(config, callback);
|
|
47
47
|
});
|
|
48
48
|
}
|
|
49
49
|
setSpaceTheme(parameters, callback) {
|
|
@@ -55,7 +55,7 @@ class Themes {
|
|
|
55
55
|
themeKey: parameters.themeKey,
|
|
56
56
|
},
|
|
57
57
|
};
|
|
58
|
-
return this.client.sendRequest(config, callback
|
|
58
|
+
return this.client.sendRequest(config, callback);
|
|
59
59
|
});
|
|
60
60
|
}
|
|
61
61
|
resetSpaceTheme(parameters, callback) {
|
|
@@ -64,7 +64,7 @@ class Themes {
|
|
|
64
64
|
url: `/api/space/${parameters.spaceKey}/theme`,
|
|
65
65
|
method: 'DELETE',
|
|
66
66
|
};
|
|
67
|
-
return this.client.sendRequest(config, callback
|
|
67
|
+
return this.client.sendRequest(config, callback);
|
|
68
68
|
});
|
|
69
69
|
}
|
|
70
70
|
}
|
package/out/api/users.js
CHANGED
|
@@ -18,7 +18,7 @@ class Users {
|
|
|
18
18
|
expand: parameters.expand,
|
|
19
19
|
},
|
|
20
20
|
};
|
|
21
|
-
return this.client.sendRequest(config, callback
|
|
21
|
+
return this.client.sendRequest(config, callback);
|
|
22
22
|
});
|
|
23
23
|
}
|
|
24
24
|
getAnonymousUser(parameters, callback) {
|
|
@@ -30,7 +30,7 @@ class Users {
|
|
|
30
30
|
expand: parameters === null || parameters === void 0 ? void 0 : parameters.expand,
|
|
31
31
|
},
|
|
32
32
|
};
|
|
33
|
-
return this.client.sendRequest(config, callback
|
|
33
|
+
return this.client.sendRequest(config, callback);
|
|
34
34
|
});
|
|
35
35
|
}
|
|
36
36
|
getCurrentUser(parameters, callback) {
|
|
@@ -42,7 +42,7 @@ class Users {
|
|
|
42
42
|
expand: parameters === null || parameters === void 0 ? void 0 : parameters.expand,
|
|
43
43
|
},
|
|
44
44
|
};
|
|
45
|
-
return this.client.sendRequest(config, callback
|
|
45
|
+
return this.client.sendRequest(config, callback);
|
|
46
46
|
});
|
|
47
47
|
}
|
|
48
48
|
getGroupMembershipsForUser(parameters, callback) {
|
|
@@ -58,7 +58,7 @@ class Users {
|
|
|
58
58
|
limit: parameters.limit,
|
|
59
59
|
},
|
|
60
60
|
};
|
|
61
|
-
return this.client.sendRequest(config, callback
|
|
61
|
+
return this.client.sendRequest(config, callback);
|
|
62
62
|
});
|
|
63
63
|
}
|
|
64
64
|
getBulkUserLookup(parameters, callback) {
|
|
@@ -72,7 +72,7 @@ class Users {
|
|
|
72
72
|
limit: parameters.limit,
|
|
73
73
|
},
|
|
74
74
|
};
|
|
75
|
-
return this.client.sendRequest(config, callback
|
|
75
|
+
return this.client.sendRequest(config, callback);
|
|
76
76
|
});
|
|
77
77
|
}
|
|
78
78
|
getPrivacyUnsafeUserEmail(parameters, callback) {
|
|
@@ -84,7 +84,7 @@ class Users {
|
|
|
84
84
|
accountId: parameters.accountId,
|
|
85
85
|
},
|
|
86
86
|
};
|
|
87
|
-
return this.client.sendRequest(config, callback
|
|
87
|
+
return this.client.sendRequest(config, callback);
|
|
88
88
|
});
|
|
89
89
|
}
|
|
90
90
|
getPrivacyUnsafeUserEmailBulk(parameters, callback) {
|
|
@@ -96,7 +96,7 @@ class Users {
|
|
|
96
96
|
accountId: parameters.accountId,
|
|
97
97
|
},
|
|
98
98
|
};
|
|
99
|
-
return this.client.sendRequest(config, callback
|
|
99
|
+
return this.client.sendRequest(config, callback);
|
|
100
100
|
});
|
|
101
101
|
}
|
|
102
102
|
getBulkUserMigration(parameters, callback) {
|
|
@@ -111,7 +111,7 @@ class Users {
|
|
|
111
111
|
limit: parameters.limit,
|
|
112
112
|
},
|
|
113
113
|
};
|
|
114
|
-
return this.client.sendRequest(config, callback
|
|
114
|
+
return this.client.sendRequest(config, callback);
|
|
115
115
|
});
|
|
116
116
|
}
|
|
117
117
|
}
|
|
@@ -17,7 +17,7 @@ class BaseClient {
|
|
|
17
17
|
const parts = [];
|
|
18
18
|
Object.entries(parameters).forEach(([key, value]) => {
|
|
19
19
|
if (value === null || typeof value === 'undefined') {
|
|
20
|
-
return
|
|
20
|
+
return;
|
|
21
21
|
}
|
|
22
22
|
if (Array.isArray(value)) {
|
|
23
23
|
// eslint-disable-next-line no-param-reassign
|
|
@@ -31,8 +31,12 @@ class BaseClient {
|
|
|
31
31
|
// eslint-disable-next-line no-param-reassign
|
|
32
32
|
value = JSON.stringify(value);
|
|
33
33
|
}
|
|
34
|
+
else if (value instanceof Function) {
|
|
35
|
+
const part = value();
|
|
36
|
+
return part && parts.push(part);
|
|
37
|
+
}
|
|
34
38
|
parts.push(`${this.encode(key)}=${this.encode(value)}`);
|
|
35
|
-
return
|
|
39
|
+
return;
|
|
36
40
|
});
|
|
37
41
|
return parts.join('&');
|
|
38
42
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "confluence.js",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.1",
|
|
4
4
|
"description": "confluence.js is a powerful Node.JS/Browser module that allows you to interact with the Confluence API very easily",
|
|
5
5
|
"author": "Vladislav Tupikin <mrrefactoring@yandex.ru>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -45,14 +45,14 @@
|
|
|
45
45
|
"eslint-config-airbnb-typescript": "^16.1.0",
|
|
46
46
|
"eslint-import-resolver-typescript": "^2.5.0",
|
|
47
47
|
"eslint-plugin-import": "^2.25.3",
|
|
48
|
-
"jest": "^27.4.
|
|
48
|
+
"jest": "^27.4.4",
|
|
49
49
|
"prettier": "^2.5.1",
|
|
50
50
|
"prettier-plugin-jsdoc": "^0.3.30",
|
|
51
51
|
"sinon": "^12.0.1",
|
|
52
52
|
"ts-jest": "^27.1.1",
|
|
53
53
|
"typedoc": "^0.22.10",
|
|
54
54
|
"typedoc-plugin-extras": "^2.2.1",
|
|
55
|
-
"typescript": "^4.5.
|
|
55
|
+
"typescript": "^4.5.3"
|
|
56
56
|
},
|
|
57
57
|
"dependencies": {
|
|
58
58
|
"atlassian-jwt": "^2.0.2",
|
package/src/api/audit.ts
CHANGED
|
@@ -45,7 +45,7 @@ export class Audit {
|
|
|
45
45
|
},
|
|
46
46
|
};
|
|
47
47
|
|
|
48
|
-
return this.client.sendRequest(config, callback
|
|
48
|
+
return this.client.sendRequest(config, callback);
|
|
49
49
|
}
|
|
50
50
|
|
|
51
51
|
/**
|
|
@@ -87,7 +87,7 @@ export class Audit {
|
|
|
87
87
|
},
|
|
88
88
|
};
|
|
89
89
|
|
|
90
|
-
return this.client.sendRequest(config, callback
|
|
90
|
+
return this.client.sendRequest(config, callback);
|
|
91
91
|
}
|
|
92
92
|
|
|
93
93
|
/**
|
|
@@ -120,7 +120,7 @@ export class Audit {
|
|
|
120
120
|
},
|
|
121
121
|
};
|
|
122
122
|
|
|
123
|
-
return this.client.sendRequest(config, callback
|
|
123
|
+
return this.client.sendRequest(config, callback);
|
|
124
124
|
}
|
|
125
125
|
|
|
126
126
|
/**
|
|
@@ -143,7 +143,7 @@ export class Audit {
|
|
|
143
143
|
method: 'GET',
|
|
144
144
|
};
|
|
145
145
|
|
|
146
|
-
return this.client.sendRequest(config, callback
|
|
146
|
+
return this.client.sendRequest(config, callback);
|
|
147
147
|
}
|
|
148
148
|
|
|
149
149
|
/**
|
|
@@ -177,7 +177,7 @@ export class Audit {
|
|
|
177
177
|
},
|
|
178
178
|
};
|
|
179
179
|
|
|
180
|
-
return this.client.sendRequest(config, callback
|
|
180
|
+
return this.client.sendRequest(config, callback);
|
|
181
181
|
}
|
|
182
182
|
|
|
183
183
|
/**
|
|
@@ -224,6 +224,6 @@ export class Audit {
|
|
|
224
224
|
},
|
|
225
225
|
};
|
|
226
226
|
|
|
227
|
-
return this.client.sendRequest(config, callback
|
|
227
|
+
return this.client.sendRequest(config, callback);
|
|
228
228
|
}
|
|
229
229
|
}
|
package/src/api/content.ts
CHANGED
|
@@ -49,7 +49,7 @@ export class Content {
|
|
|
49
49
|
},
|
|
50
50
|
};
|
|
51
51
|
|
|
52
|
-
return this.client.sendRequest(config, callback
|
|
52
|
+
return this.client.sendRequest(config, callback);
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
/**
|
|
@@ -99,7 +99,7 @@ export class Content {
|
|
|
99
99
|
},
|
|
100
100
|
};
|
|
101
101
|
|
|
102
|
-
return this.client.sendRequest(config, callback
|
|
102
|
+
return this.client.sendRequest(config, callback);
|
|
103
103
|
}
|
|
104
104
|
|
|
105
105
|
/**
|
|
@@ -138,7 +138,7 @@ export class Content {
|
|
|
138
138
|
},
|
|
139
139
|
};
|
|
140
140
|
|
|
141
|
-
return this.client.sendRequest(config, callback
|
|
141
|
+
return this.client.sendRequest(config, callback);
|
|
142
142
|
}
|
|
143
143
|
|
|
144
144
|
/**
|
|
@@ -185,7 +185,7 @@ export class Content {
|
|
|
185
185
|
},
|
|
186
186
|
};
|
|
187
187
|
|
|
188
|
-
return this.client.sendRequest(config, callback
|
|
188
|
+
return this.client.sendRequest(config, callback);
|
|
189
189
|
}
|
|
190
190
|
|
|
191
191
|
/**
|
|
@@ -230,7 +230,7 @@ export class Content {
|
|
|
230
230
|
},
|
|
231
231
|
};
|
|
232
232
|
|
|
233
|
-
return this.client.sendRequest(config, callback
|
|
233
|
+
return this.client.sendRequest(config, callback);
|
|
234
234
|
}
|
|
235
235
|
|
|
236
236
|
/**
|
|
@@ -286,7 +286,7 @@ export class Content {
|
|
|
286
286
|
},
|
|
287
287
|
};
|
|
288
288
|
|
|
289
|
-
return this.client.sendRequest(config, callback
|
|
289
|
+
return this.client.sendRequest(config, callback);
|
|
290
290
|
}
|
|
291
291
|
|
|
292
292
|
/**
|
|
@@ -323,7 +323,7 @@ export class Content {
|
|
|
323
323
|
},
|
|
324
324
|
};
|
|
325
325
|
|
|
326
|
-
return this.client.sendRequest(config, callback
|
|
326
|
+
return this.client.sendRequest(config, callback);
|
|
327
327
|
}
|
|
328
328
|
|
|
329
329
|
/**
|
|
@@ -365,7 +365,7 @@ export class Content {
|
|
|
365
365
|
},
|
|
366
366
|
};
|
|
367
367
|
|
|
368
|
-
return this.client.sendRequest(config, callback
|
|
368
|
+
return this.client.sendRequest(config, callback);
|
|
369
369
|
}
|
|
370
370
|
|
|
371
371
|
/**
|
|
@@ -401,7 +401,7 @@ export class Content {
|
|
|
401
401
|
},
|
|
402
402
|
};
|
|
403
403
|
|
|
404
|
-
return this.client.sendRequest(config, callback
|
|
404
|
+
return this.client.sendRequest(config, callback);
|
|
405
405
|
}
|
|
406
406
|
|
|
407
407
|
/**
|
|
@@ -434,6 +434,6 @@ export class Content {
|
|
|
434
434
|
},
|
|
435
435
|
};
|
|
436
436
|
|
|
437
|
-
return this.client.sendRequest(config, callback
|
|
437
|
+
return this.client.sendRequest(config, callback);
|
|
438
438
|
}
|
|
439
439
|
}
|
|
@@ -44,7 +44,7 @@ export class ContentAttachments {
|
|
|
44
44
|
},
|
|
45
45
|
};
|
|
46
46
|
|
|
47
|
-
return this.client.sendRequest(config, callback
|
|
47
|
+
return this.client.sendRequest(config, callback);
|
|
48
48
|
}
|
|
49
49
|
|
|
50
50
|
/**
|
|
@@ -136,7 +136,7 @@ export class ContentAttachments {
|
|
|
136
136
|
},
|
|
137
137
|
};
|
|
138
138
|
|
|
139
|
-
return this.client.sendRequest(config, callback
|
|
139
|
+
return this.client.sendRequest(config, callback);
|
|
140
140
|
}
|
|
141
141
|
|
|
142
142
|
/**
|
|
@@ -230,7 +230,7 @@ export class ContentAttachments {
|
|
|
230
230
|
},
|
|
231
231
|
};
|
|
232
232
|
|
|
233
|
-
return this.client.sendRequest(config, callback
|
|
233
|
+
return this.client.sendRequest(config, callback);
|
|
234
234
|
}
|
|
235
235
|
|
|
236
236
|
/**
|
|
@@ -263,7 +263,7 @@ export class ContentAttachments {
|
|
|
263
263
|
data: parameters.body,
|
|
264
264
|
};
|
|
265
265
|
|
|
266
|
-
return this.client.sendRequest(config, callback
|
|
266
|
+
return this.client.sendRequest(config, callback);
|
|
267
267
|
}
|
|
268
268
|
|
|
269
269
|
/**
|
|
@@ -358,7 +358,7 @@ export class ContentAttachments {
|
|
|
358
358
|
},
|
|
359
359
|
};
|
|
360
360
|
|
|
361
|
-
return this.client.sendRequest(config, callback
|
|
361
|
+
return this.client.sendRequest(config, callback);
|
|
362
362
|
}
|
|
363
363
|
|
|
364
364
|
/** Redirects the client to a URL that serves an attachment's binary data. */
|
|
@@ -381,6 +381,6 @@ export class ContentAttachments {
|
|
|
381
381
|
},
|
|
382
382
|
};
|
|
383
383
|
|
|
384
|
-
return this.client.sendRequest(config, callback
|
|
384
|
+
return this.client.sendRequest(config, callback);
|
|
385
385
|
}
|
|
386
386
|
}
|
package/src/api/contentBody.ts
CHANGED
|
@@ -64,7 +64,7 @@ export class ContentChildrenAndDescendants {
|
|
|
64
64
|
},
|
|
65
65
|
};
|
|
66
66
|
|
|
67
|
-
return this.client.sendRequest(config, callback
|
|
67
|
+
return this.client.sendRequest(config, callback);
|
|
68
68
|
}
|
|
69
69
|
|
|
70
70
|
/**
|
|
@@ -97,7 +97,7 @@ export class ContentChildrenAndDescendants {
|
|
|
97
97
|
method: 'PUT',
|
|
98
98
|
};
|
|
99
99
|
|
|
100
|
-
return this.client.sendRequest(config, callback
|
|
100
|
+
return this.client.sendRequest(config, callback);
|
|
101
101
|
}
|
|
102
102
|
|
|
103
103
|
/**
|
|
@@ -156,7 +156,7 @@ export class ContentChildrenAndDescendants {
|
|
|
156
156
|
},
|
|
157
157
|
};
|
|
158
158
|
|
|
159
|
-
return this.client.sendRequest(config, callback
|
|
159
|
+
return this.client.sendRequest(config, callback);
|
|
160
160
|
}
|
|
161
161
|
|
|
162
162
|
/**
|
|
@@ -215,7 +215,7 @@ export class ContentChildrenAndDescendants {
|
|
|
215
215
|
},
|
|
216
216
|
};
|
|
217
217
|
|
|
218
|
-
return this.client.sendRequest(config, callback
|
|
218
|
+
return this.client.sendRequest(config, callback);
|
|
219
219
|
}
|
|
220
220
|
|
|
221
221
|
/** @deprecated This API will be removed in the next major version. Use `getDescendantsOfType` method instead. */
|
|
@@ -292,7 +292,7 @@ export class ContentChildrenAndDescendants {
|
|
|
292
292
|
},
|
|
293
293
|
};
|
|
294
294
|
|
|
295
|
-
return this.client.sendRequest(config, callback
|
|
295
|
+
return this.client.sendRequest(config, callback);
|
|
296
296
|
}
|
|
297
297
|
|
|
298
298
|
/**
|
|
@@ -329,7 +329,7 @@ export class ContentChildrenAndDescendants {
|
|
|
329
329
|
},
|
|
330
330
|
};
|
|
331
331
|
|
|
332
|
-
return this.client.sendRequest(config, callback
|
|
332
|
+
return this.client.sendRequest(config, callback);
|
|
333
333
|
}
|
|
334
334
|
|
|
335
335
|
/**
|
|
@@ -372,6 +372,6 @@ export class ContentChildrenAndDescendants {
|
|
|
372
372
|
data: parameters.bodyParameters,
|
|
373
373
|
};
|
|
374
374
|
|
|
375
|
-
return this.client.sendRequest(config, callback
|
|
375
|
+
return this.client.sendRequest(config, callback);
|
|
376
376
|
}
|
|
377
377
|
}
|
package/src/api/contentLabels.ts
CHANGED
|
@@ -41,7 +41,7 @@ export class ContentLabels {
|
|
|
41
41
|
},
|
|
42
42
|
};
|
|
43
43
|
|
|
44
|
-
return this.client.sendRequest(config, callback
|
|
44
|
+
return this.client.sendRequest(config, callback);
|
|
45
45
|
}
|
|
46
46
|
|
|
47
47
|
/**
|
|
@@ -87,7 +87,7 @@ export class ContentLabels {
|
|
|
87
87
|
data: parameters.body,
|
|
88
88
|
};
|
|
89
89
|
|
|
90
|
-
return this.client.sendRequest(config, callback
|
|
90
|
+
return this.client.sendRequest(config, callback);
|
|
91
91
|
}
|
|
92
92
|
|
|
93
93
|
/**
|
|
@@ -128,7 +128,7 @@ export class ContentLabels {
|
|
|
128
128
|
},
|
|
129
129
|
};
|
|
130
130
|
|
|
131
|
-
return this.client.sendRequest(config, callback
|
|
131
|
+
return this.client.sendRequest(config, callback);
|
|
132
132
|
}
|
|
133
133
|
|
|
134
134
|
/**
|
|
@@ -165,6 +165,6 @@ export class ContentLabels {
|
|
|
165
165
|
method: 'DELETE',
|
|
166
166
|
};
|
|
167
167
|
|
|
168
|
-
return this.client.sendRequest(config, callback
|
|
168
|
+
return this.client.sendRequest(config, callback);
|
|
169
169
|
}
|
|
170
170
|
}
|
|
@@ -44,7 +44,7 @@ export class ContentProperties {
|
|
|
44
44
|
},
|
|
45
45
|
};
|
|
46
46
|
|
|
47
|
-
return this.client.sendRequest(config, callback
|
|
47
|
+
return this.client.sendRequest(config, callback);
|
|
48
48
|
}
|
|
49
49
|
|
|
50
50
|
/**
|
|
@@ -92,7 +92,7 @@ export class ContentProperties {
|
|
|
92
92
|
},
|
|
93
93
|
};
|
|
94
94
|
|
|
95
|
-
return this.client.sendRequest(config, callback
|
|
95
|
+
return this.client.sendRequest(config, callback);
|
|
96
96
|
}
|
|
97
97
|
|
|
98
98
|
/**
|
|
@@ -130,7 +130,7 @@ export class ContentProperties {
|
|
|
130
130
|
},
|
|
131
131
|
};
|
|
132
132
|
|
|
133
|
-
return this.client.sendRequest(config, callback
|
|
133
|
+
return this.client.sendRequest(config, callback);
|
|
134
134
|
}
|
|
135
135
|
|
|
136
136
|
/**
|
|
@@ -177,7 +177,7 @@ export class ContentProperties {
|
|
|
177
177
|
},
|
|
178
178
|
};
|
|
179
179
|
|
|
180
|
-
return this.client.sendRequest(config, callback
|
|
180
|
+
return this.client.sendRequest(config, callback);
|
|
181
181
|
}
|
|
182
182
|
|
|
183
183
|
/**
|
|
@@ -215,7 +215,7 @@ export class ContentProperties {
|
|
|
215
215
|
},
|
|
216
216
|
};
|
|
217
217
|
|
|
218
|
-
return this.client.sendRequest(config, callback
|
|
218
|
+
return this.client.sendRequest(config, callback);
|
|
219
219
|
}
|
|
220
220
|
|
|
221
221
|
/**
|
|
@@ -244,6 +244,6 @@ export class ContentProperties {
|
|
|
244
244
|
method: 'DELETE',
|
|
245
245
|
};
|
|
246
246
|
|
|
247
|
-
return this.client.sendRequest(config, callback
|
|
247
|
+
return this.client.sendRequest(config, callback);
|
|
248
248
|
}
|
|
249
249
|
}
|
|
@@ -39,7 +39,7 @@ export class ContentRestrictions {
|
|
|
39
39
|
},
|
|
40
40
|
};
|
|
41
41
|
|
|
42
|
-
return this.client.sendRequest(config, callback
|
|
42
|
+
return this.client.sendRequest(config, callback);
|
|
43
43
|
}
|
|
44
44
|
|
|
45
45
|
/**
|
|
@@ -73,7 +73,7 @@ export class ContentRestrictions {
|
|
|
73
73
|
data: parameters.body,
|
|
74
74
|
};
|
|
75
75
|
|
|
76
|
-
return this.client.sendRequest(config, callback
|
|
76
|
+
return this.client.sendRequest(config, callback);
|
|
77
77
|
}
|
|
78
78
|
|
|
79
79
|
/**
|
|
@@ -109,7 +109,7 @@ export class ContentRestrictions {
|
|
|
109
109
|
data: parameters.body,
|
|
110
110
|
};
|
|
111
111
|
|
|
112
|
-
return this.client.sendRequest(config, callback
|
|
112
|
+
return this.client.sendRequest(config, callback);
|
|
113
113
|
}
|
|
114
114
|
|
|
115
115
|
/**
|
|
@@ -142,7 +142,7 @@ export class ContentRestrictions {
|
|
|
142
142
|
},
|
|
143
143
|
};
|
|
144
144
|
|
|
145
|
-
return this.client.sendRequest(config, callback
|
|
145
|
+
return this.client.sendRequest(config, callback);
|
|
146
146
|
}
|
|
147
147
|
|
|
148
148
|
/**
|
|
@@ -179,7 +179,7 @@ export class ContentRestrictions {
|
|
|
179
179
|
},
|
|
180
180
|
};
|
|
181
181
|
|
|
182
|
-
return this.client.sendRequest(config, callback
|
|
182
|
+
return this.client.sendRequest(config, callback);
|
|
183
183
|
}
|
|
184
184
|
|
|
185
185
|
/**
|
|
@@ -214,7 +214,7 @@ export class ContentRestrictions {
|
|
|
214
214
|
},
|
|
215
215
|
};
|
|
216
216
|
|
|
217
|
-
return this.client.sendRequest(config, callback
|
|
217
|
+
return this.client.sendRequest(config, callback);
|
|
218
218
|
}
|
|
219
219
|
|
|
220
220
|
/**
|
|
@@ -258,7 +258,7 @@ export class ContentRestrictions {
|
|
|
258
258
|
method: 'GET',
|
|
259
259
|
};
|
|
260
260
|
|
|
261
|
-
return this.client.sendRequest(config, callback
|
|
261
|
+
return this.client.sendRequest(config, callback);
|
|
262
262
|
}
|
|
263
263
|
|
|
264
264
|
/**
|
|
@@ -288,7 +288,7 @@ export class ContentRestrictions {
|
|
|
288
288
|
method: 'PUT',
|
|
289
289
|
};
|
|
290
290
|
|
|
291
|
-
return this.client.sendRequest(config, callback
|
|
291
|
+
return this.client.sendRequest(config, callback);
|
|
292
292
|
}
|
|
293
293
|
|
|
294
294
|
/**
|
|
@@ -312,7 +312,7 @@ export class ContentRestrictions {
|
|
|
312
312
|
method: 'DELETE',
|
|
313
313
|
};
|
|
314
314
|
|
|
315
|
-
return this.client.sendRequest(config, callback
|
|
315
|
+
return this.client.sendRequest(config, callback);
|
|
316
316
|
}
|
|
317
317
|
|
|
318
318
|
/**
|
|
@@ -356,7 +356,7 @@ export class ContentRestrictions {
|
|
|
356
356
|
method: 'GET',
|
|
357
357
|
};
|
|
358
358
|
|
|
359
|
-
return this.client.sendRequest(config, callback
|
|
359
|
+
return this.client.sendRequest(config, callback);
|
|
360
360
|
}
|
|
361
361
|
|
|
362
362
|
/**
|
|
@@ -388,7 +388,7 @@ export class ContentRestrictions {
|
|
|
388
388
|
method: 'PUT',
|
|
389
389
|
};
|
|
390
390
|
|
|
391
|
-
return this.client.sendRequest(config, callback
|
|
391
|
+
return this.client.sendRequest(config, callback);
|
|
392
392
|
}
|
|
393
393
|
|
|
394
394
|
/**
|
|
@@ -412,7 +412,7 @@ export class ContentRestrictions {
|
|
|
412
412
|
method: 'DELETE',
|
|
413
413
|
};
|
|
414
414
|
|
|
415
|
-
return this.client.sendRequest(config, callback
|
|
415
|
+
return this.client.sendRequest(config, callback);
|
|
416
416
|
}
|
|
417
417
|
|
|
418
418
|
/**
|
|
@@ -463,7 +463,7 @@ export class ContentRestrictions {
|
|
|
463
463
|
},
|
|
464
464
|
};
|
|
465
465
|
|
|
466
|
-
return this.client.sendRequest(config, callback
|
|
466
|
+
return this.client.sendRequest(config, callback);
|
|
467
467
|
}
|
|
468
468
|
|
|
469
469
|
/**
|
|
@@ -498,7 +498,7 @@ export class ContentRestrictions {
|
|
|
498
498
|
},
|
|
499
499
|
};
|
|
500
500
|
|
|
501
|
-
return this.client.sendRequest(config, callback
|
|
501
|
+
return this.client.sendRequest(config, callback);
|
|
502
502
|
}
|
|
503
503
|
|
|
504
504
|
/**
|
|
@@ -533,6 +533,6 @@ export class ContentRestrictions {
|
|
|
533
533
|
},
|
|
534
534
|
};
|
|
535
535
|
|
|
536
|
-
return this.client.sendRequest(config, callback
|
|
536
|
+
return this.client.sendRequest(config, callback);
|
|
537
537
|
}
|
|
538
538
|
}
|