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.
Files changed (74) hide show
  1. package/CHANGELOG.md +7 -3
  2. package/out/api/audit.d.ts +24 -12
  3. package/out/api/audit.js.map +1 -1
  4. package/out/api/content.d.ts +18 -12
  5. package/out/api/content.js.map +1 -1
  6. package/out/api/contentAttachments.d.ts +14 -8
  7. package/out/api/contentAttachments.js.map +1 -1
  8. package/out/api/contentBody.js +2 -4
  9. package/out/api/contentBody.js.map +1 -1
  10. package/out/api/contentMacroBody.d.ts +4 -2
  11. package/out/api/contentMacroBody.js.map +1 -1
  12. package/out/api/contentRestrictions.d.ts +16 -8
  13. package/out/api/contentRestrictions.js.map +1 -1
  14. package/out/api/contentWatches.d.ts +16 -8
  15. package/out/api/contentWatches.js.map +1 -1
  16. package/out/api/parameters/convertContentBody.d.ts +16 -2
  17. package/out/api/relation.d.ts +8 -4
  18. package/out/api/relation.js.map +1 -1
  19. package/out/api/settings.d.ts +4 -2
  20. package/out/api/settings.js.map +1 -1
  21. package/out/api/space.d.ts +4 -2
  22. package/out/api/space.js.map +1 -1
  23. package/out/api/template.d.ts +16 -8
  24. package/out/api/template.js.map +1 -1
  25. package/out/clients/baseClient.js +3 -1
  26. package/out/clients/baseClient.js.map +1 -1
  27. package/out/clients/serverClient.js.map +1 -1
  28. package/out/server/audit.js +6 -6
  29. package/out/server/audit.js.map +1 -1
  30. package/out/server/content.d.ts +34 -262
  31. package/out/server/content.js +32 -32
  32. package/out/server/content.js.map +1 -1
  33. package/out/server/contentBody.d.ts +2 -12
  34. package/out/server/contentBody.js +2 -1
  35. package/out/server/contentBody.js.map +1 -1
  36. package/out/server/group.js +3 -3
  37. package/out/server/group.js.map +1 -1
  38. package/out/server/longTask.js +2 -2
  39. package/out/server/longTask.js.map +1 -1
  40. package/out/server/parameters/convertContentBody.d.ts +16 -0
  41. package/out/server/search.d.ts +2 -22
  42. package/out/server/search.js +1 -1
  43. package/out/server/search.js.map +1 -1
  44. package/out/server/space.d.ts +12 -94
  45. package/out/server/space.js +14 -14
  46. package/out/server/space.js.map +1 -1
  47. package/out/server/user.d.ts +8 -152
  48. package/out/server/user.js +10 -10
  49. package/out/server/user.js.map +1 -1
  50. package/package.json +10 -10
  51. package/src/api/audit.ts +24 -12
  52. package/src/api/content.ts +23 -17
  53. package/src/api/contentAttachments.ts +19 -13
  54. package/src/api/contentBody.ts +2 -0
  55. package/src/api/contentMacroBody.ts +4 -2
  56. package/src/api/contentRestrictions.ts +16 -8
  57. package/src/api/contentWatches.ts +16 -8
  58. package/src/api/parameters/convertContentBody.ts +39 -2
  59. package/src/api/relation.ts +8 -4
  60. package/src/api/settings.ts +4 -2
  61. package/src/api/space.ts +4 -2
  62. package/src/api/template.ts +16 -8
  63. package/src/clients/baseClient.ts +5 -10
  64. package/src/clients/client.ts +1 -5
  65. package/src/clients/serverClient.ts +1 -10
  66. package/src/server/audit.ts +6 -6
  67. package/src/server/content.ts +70 -295
  68. package/src/server/contentBody.ts +4 -13
  69. package/src/server/group.ts +3 -3
  70. package/src/server/longTask.ts +2 -2
  71. package/src/server/parameters/convertContentBody.ts +37 -0
  72. package/src/server/search.ts +3 -23
  73. package/src/server/space.ts +26 -108
  74. package/src/server/user.ts +18 -162
package/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ### 1.5.3
4
+
5
+ `expand` property added to `convertContentBody` method to `ContentBody` API. Thanks to [Federico Gonzalez](https://github.com/FedeG) for report.
6
+
3
7
  ### 1.5.2
4
8
 
5
9
  `multipart/form-data` added to some required endpoints. Thank you, [Gonzalo Garcia](https://github.com/ggarcia24) for reporting issue and creating PR :)
@@ -10,7 +14,7 @@ Dependencies updated
10
14
 
11
15
  ### 1.5.0
12
16
 
13
- `ContentAttachments` fixes for all attachments. ([#23](https://github.com/MrRefactoring/confluence.js/issues/23) Thanks [Anton](https://github.com/tester22) for catching)
17
+ `ContentAttachments` fixes for all attachments. ([#23](https://github.com/MrRefactoring/confluence.js/issues/23) Thanks to [Anton](https://github.com/tester22) for catching)
14
18
 
15
19
  ### 1.4.1
16
20
 
@@ -33,8 +37,8 @@ Dependencies updated
33
37
  ### 1.3.0
34
38
 
35
39
  - Telemetry removed (deprecated)
36
- - Fixed bug with spaceKeys in `client.space.getSpaces` ([#14](https://github.com/MrRefactoring/confluence.js/issues/14) Thanks [David Sanchez](https://github.com/emulienfou) for catching)
37
- - Fixed bug with attachment download ([#15](https://github.com/MrRefactoring/confluence.js/issues/15) Thanks [Martin Reinhardt](https://github.com/hypery2k) for catching)
40
+ - Fixed bug with spaceKeys in `client.space.getSpaces` ([#14](https://github.com/MrRefactoring/confluence.js/issues/14) Thanks to [David Sanchez](https://github.com/emulienfou) for catching)
41
+ - Fixed bug with attachment download ([#15](https://github.com/MrRefactoring/confluence.js/issues/15) Thanks to [Martin Reinhardt](https://github.com/hypery2k) for catching)
38
42
 
39
43
  ### 1.2.2
40
44
 
@@ -10,7 +10,8 @@ export declare class Audit {
10
10
  * like space exports, group membership changes, app installations, etc. For more information, see [Audit
11
11
  * log](https://confluence.atlassian.com/confcloud/audit-log-802164269.html) in the Confluence administrator's guide.
12
12
  *
13
- * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: 'Confluence Administrator' global permission.
13
+ * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: 'Confluence Administrator' global
14
+ * permission.
14
15
  */
15
16
  getAuditRecords<T = Models.AuditRecordArray>(parameters: Parameters.GetAuditRecords | undefined, callback: Callback<T>): Promise<void>;
16
17
  /**
@@ -18,57 +19,66 @@ export declare class Audit {
18
19
  * like space exports, group membership changes, app installations, etc. For more information, see [Audit
19
20
  * log](https://confluence.atlassian.com/confcloud/audit-log-802164269.html) in the Confluence administrator's guide.
20
21
  *
21
- * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: 'Confluence Administrator' global permission.
22
+ * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: 'Confluence Administrator' global
23
+ * permission.
22
24
  */
23
25
  getAuditRecords<T = Models.AuditRecordArray>(parameters?: Parameters.GetAuditRecords, callback?: never): Promise<T>;
24
26
  /**
25
27
  * Creates a record in the audit log.
26
28
  *
27
- * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: 'Confluence Administrator' global permission.
29
+ * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: 'Confluence Administrator' global
30
+ * permission.
28
31
  */
29
32
  createAuditRecord<T = Models.AuditRecord>(parameters: Parameters.CreateAuditRecord | undefined, callback: Callback<T>): Promise<void>;
30
33
  /**
31
34
  * Creates a record in the audit log.
32
35
  *
33
- * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: 'Confluence Administrator' global permission.
36
+ * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: 'Confluence Administrator' global
37
+ * permission.
34
38
  */
35
39
  createAuditRecord<T = Models.AuditRecord>(parameters?: Parameters.CreateAuditRecord, callback?: never): Promise<T>;
36
40
  /**
37
41
  * Exports audit records as a CSV file or ZIP file.
38
42
  *
39
- * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: 'Confluence Administrator' global permission.
43
+ * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: 'Confluence Administrator' global
44
+ * permission.
40
45
  */
41
46
  exportAuditRecords<T = unknown>(parameters: Parameters.ExportAuditRecords | undefined, callback: Callback<T>): Promise<void>;
42
47
  /**
43
48
  * Exports audit records as a CSV file or ZIP file.
44
49
  *
45
- * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: 'Confluence Administrator' global permission.
50
+ * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: 'Confluence Administrator' global
51
+ * permission.
46
52
  */
47
53
  exportAuditRecords<T = unknown>(parameters?: Parameters.ExportAuditRecords, callback?: never): Promise<T>;
48
54
  /**
49
55
  * Returns the retention period for records in the audit log. The retention period is how long an audit record is kept
50
56
  * for, from creation date until it is deleted.
51
57
  *
52
- * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: 'Confluence Administrator' global permission.
58
+ * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: 'Confluence Administrator' global
59
+ * permission.
53
60
  */
54
61
  getRetentionPeriod<T = Models.RetentionPeriod>(callback: Callback<T>): Promise<void>;
55
62
  /**
56
63
  * Returns the retention period for records in the audit log. The retention period is how long an audit record is kept
57
64
  * for, from creation date until it is deleted.
58
65
  *
59
- * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: 'Confluence Administrator' global permission.
66
+ * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: 'Confluence Administrator' global
67
+ * permission.
60
68
  */
61
69
  getRetentionPeriod<T = Models.RetentionPeriod>(callback?: never): Promise<T>;
62
70
  /**
63
71
  * Sets the retention period for records in the audit log. The retention period can be set to a maximum of 20 years.
64
72
  *
65
- * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: 'Confluence Administrator' global permission.
73
+ * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: 'Confluence Administrator' global
74
+ * permission.
66
75
  */
67
76
  setRetentionPeriod<T = Models.RetentionPeriod>(parameters: Parameters.SetRetentionPeriod | undefined, callback: Callback<T>): Promise<void>;
68
77
  /**
69
78
  * Sets the retention period for records in the audit log. The retention period can be set to a maximum of 20 years.
70
79
  *
71
- * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: 'Confluence Administrator' global permission.
80
+ * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: 'Confluence Administrator' global
81
+ * permission.
72
82
  */
73
83
  setRetentionPeriod<T = Models.RetentionPeriod>(parameters?: Parameters.SetRetentionPeriod, callback?: never): Promise<T>;
74
84
  /**
@@ -79,7 +89,8 @@ export declare class Audit {
79
89
  * more information, see [Audit log](https://confluence.atlassian.com/confcloud/audit-log-802164269.html) in the
80
90
  * Confluence administrator's guide.
81
91
  *
82
- * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: 'Confluence Administrator' global permission.
92
+ * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: 'Confluence Administrator' global
93
+ * permission.
83
94
  */
84
95
  getAuditRecordsForTimePeriod<T = Models.AuditRecordArray>(parameters: Parameters.GetAuditRecordsForTimePeriod | undefined, callback: Callback<T>): Promise<void>;
85
96
  /**
@@ -90,7 +101,8 @@ export declare class Audit {
90
101
  * more information, see [Audit log](https://confluence.atlassian.com/confcloud/audit-log-802164269.html) in the
91
102
  * Confluence administrator's guide.
92
103
  *
93
- * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: 'Confluence Administrator' global permission.
104
+ * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: 'Confluence Administrator' global
105
+ * permission.
94
106
  */
95
107
  getAuditRecordsForTimePeriod<T = Models.AuditRecordArray>(parameters?: Parameters.GetAuditRecordsForTimePeriod, callback?: never): Promise<T>;
96
108
  }
@@ -1 +1 @@
1
- {"version":3,"file":"audit.js","sourceRoot":"","sources":["../../src/api/audit.ts"],"names":[],"mappings":";;;;AAMA,MAAa,KAAK;IAChB,YAAoB,MAAc;QAAd,WAAM,GAAN,MAAM,CAAQ;IAAG,CAAC;IAwBhC,eAAe,CACnB,UAAuC,EACvC,QAAsB;;YAEtB,MAAM,MAAM,GAAkB;gBAC5B,GAAG,EAAE,YAAY;gBACjB,MAAM,EAAE,KAAK;gBACb,MAAM,EAAE;oBACN,SAAS,EAAE,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,SAAS;oBAChC,OAAO,EAAE,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,OAAO;oBAC5B,YAAY,EAAE,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,YAAY;oBACtC,KAAK,EAAE,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,KAAK;oBACxB,KAAK,EAAE,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,KAAK;iBACzB;aACF,CAAC;YAEF,OAAO,IAAI,CAAC,MAAM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OAAO,IAAI,CAAC,MAAM,CAAC,WAAW,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;QACnD,CAAC;KAAA;IAsBK,kBAAkB,CACtB,UAA0C,EAC1C,QAAsB;;YAEtB,MAAM,MAAM,GAAkB;gBAC5B,GAAG,EAAE,sBAAsB;gBAC3B,MAAM,EAAE,KAAK;gBACb,IAAI,EAAE;oBACJ,MAAM,EAAE,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,MAAM;oBAC1B,KAAK,EAAE,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,KAAK;iBACzB;aACF,CAAC;YAEF,OAAO,IAAI,CAAC,MAAM,CAAC,WAAW,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;QACnD,CAAC;KAAA;IAgCK,4BAA4B,CAChC,UAAoD,EACpD,QAAsB;;YAEtB,MAAM,MAAM,GAAkB;gBAC5B,GAAG,EAAE,kBAAkB;gBACvB,MAAM,EAAE,KAAK;gBACb,MAAM,EAAE;oBACN,MAAM,EAAE,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,MAAM;oBAC1B,KAAK,EAAE,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,KAAK;oBACxB,YAAY,EAAE,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,YAAY;oBACtC,KAAK,EAAE,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,KAAK;oBACxB,KAAK,EAAE,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,KAAK;iBACzB;aACF,CAAC;YAEF,OAAO,IAAI,CAAC,MAAM,CAAC,WAAW,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;QACnD,CAAC;KAAA;CACF;AA1OD,sBA0OC"}
@@ -75,7 +75,8 @@ export declare class Content {
75
75
  archivePages<T = Models.LongTask>(parameters: Parameters.ArchivePages, callback?: never): Promise<T>;
76
76
  /**
77
77
  * Publishes a legacy draft of a page created from a blueprint. Legacy drafts will eventually be removed in favor of
78
- * shared drafts. For now, this method works the same as [Publish shared draft](#api-content-blueprint-instance-draftId-put).
78
+ * shared drafts. For now, this method works the same as [Publish shared
79
+ * draft](#api-content-blueprint-instance-draftId-put).
79
80
  *
80
81
  * By default, the following objects are expanded: `body.storage`, `history`, `space`, `version`, `ancestors`.
81
82
  *
@@ -85,7 +86,8 @@ export declare class Content {
85
86
  publishLegacyDraft<T = Models.Content>(parameters: Parameters.PublishLegacyDraft, callback: Callback<T>): Promise<void>;
86
87
  /**
87
88
  * Publishes a legacy draft of a page created from a blueprint. Legacy drafts will eventually be removed in favor of
88
- * shared drafts. For now, this method works the same as [Publish shared draft](#api-content-blueprint-instance-draftId-put).
89
+ * shared drafts. For now, this method works the same as [Publish shared
90
+ * draft](#api-content-blueprint-instance-draftId-put).
89
91
  *
90
92
  * By default, the following objects are expanded: `body.storage`, `history`, `space`, `version`, `ancestors`.
91
93
  *
@@ -118,9 +120,9 @@ export declare class Content {
118
120
  * When additional results are available, returns `next` and `prev` URLs to retrieve them in subsequent calls. The
119
121
  * URLs each contain a cursor that points to the appropriate set of results. Use `limit` to specify the number of
120
122
  * results returned in each call. Example subsequent call (taken from example response):
121
- * ```
122
- * https://your-domain.atlassian.net/wiki/rest/api/content/search?cql=type=page&limit=25&cursor=raNDoMsTRiNg
123
- * ```
123
+ *
124
+ * https://your-domain.atlassian.net/wiki/rest/api/content/search?cql=type=page&limit=25&cursor=raNDoMsTRiNg
125
+ *
124
126
  * The response to this will have a `prev` URL similar to the `next` in the example response.
125
127
  *
126
128
  * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to access the Confluence site
@@ -134,9 +136,9 @@ export declare class Content {
134
136
  * When additional results are available, returns `next` and `prev` URLs to retrieve them in subsequent calls. The
135
137
  * URLs each contain a cursor that points to the appropriate set of results. Use `limit` to specify the number of
136
138
  * results returned in each call. Example subsequent call (taken from example response):
137
- * ```
138
- * https://your-domain.atlassian.net/wiki/rest/api/content/search?cql=type=page&limit=25&cursor=raNDoMsTRiNg
139
- * ```
139
+ *
140
+ * https://your-domain.atlassian.net/wiki/rest/api/content/search?cql=type=page&limit=25&cursor=raNDoMsTRiNg
141
+ *
140
142
  * The response to this will have a `prev` URL similar to the `next` in the example response.
141
143
  *
142
144
  * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to access the Confluence site
@@ -180,11 +182,13 @@ export declare class Content {
180
182
  */
181
183
  updateContent<T = Models.Content>(parameters: Parameters.UpdateContent, callback?: never): Promise<T>;
182
184
  /**
183
- * Moves a piece of content to the space's trash or purges it from the trash, depending on the content's type and status:
185
+ * Moves a piece of content to the space's trash or purges it from the trash, depending on the content's type and
186
+ * status:
184
187
  *
185
188
  * - If the content's type is `page` or `blogpost` and its status is `current`, it will be trashed.
186
189
  * - If the content's type is `page` or `blogpost` and its status is `trashed`, the content will be purged from the
187
- * trash and deleted permanently. Note, you must also set the `status` query parameter to `trashed` in your request.
190
+ * trash and deleted permanently. Note, you must also set the `status` query parameter to `trashed` in your
191
+ * request.
188
192
  * - If the content's type is `comment` or `attachment`, it will be deleted permanently without being trashed.
189
193
  *
190
194
  * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: 'Delete' permission for the space that the
@@ -192,11 +196,13 @@ export declare class Content {
192
196
  */
193
197
  deleteContent<T = void>(parameters: Parameters.DeleteContent, callback: Callback<T>): Promise<void>;
194
198
  /**
195
- * Moves a piece of content to the space's trash or purges it from the trash, depending on the content's type and status:
199
+ * Moves a piece of content to the space's trash or purges it from the trash, depending on the content's type and
200
+ * status:
196
201
  *
197
202
  * - If the content's type is `page` or `blogpost` and its status is `current`, it will be trashed.
198
203
  * - If the content's type is `page` or `blogpost` and its status is `trashed`, the content will be purged from the
199
- * trash and deleted permanently. Note, you must also set the `status` query parameter to `trashed` in your request.
204
+ * trash and deleted permanently. Note, you must also set the `status` query parameter to `trashed` in your
205
+ * request.
200
206
  * - If the content's type is `comment` or `attachment`, it will be deleted permanently without being trashed.
201
207
  *
202
208
  * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: 'Delete' permission for the space that the
@@ -1 +1 @@
1
- {"version":3,"file":"content.js","sourceRoot":"","sources":["../../src/api/content.ts"],"names":[],"mappings":";;;;AAMA,MAAa,OAAO;IAClB,YAAoB,MAAc;QAAd,WAAM,GAAN,MAAM,CAAQ;IAAG,CAAC;IAuBhC,UAAU,CACd,UAAkC,EAClC,QAAsB;;YAEtB,MAAM,MAAM,GAAkB;gBAC5B,GAAG,EAAE,cAAc;gBACnB,MAAM,EAAE,KAAK;gBACb,MAAM,EAAE;oBACN,IAAI,EAAE,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,IAAI;oBACtB,QAAQ,EAAE,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,QAAQ;oBAC9B,KAAK,EAAE,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,KAAK;oBACxB,MAAM,EAAE,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,MAAM;oBAC1B,UAAU,EAAE,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,UAAU;oBAClC,OAAO,EAAE,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,OAAO;oBAC5B,OAAO,EAAE,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,OAAO;oBAC5B,KAAK,EAAE,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,KAAK;oBACxB,KAAK,EAAE,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,KAAK;oBACxB,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;IA+BK,aAAa,CACjB,UAAqC,EACrC,QAAsB;;YAEtB,MAAM,MAAM,GAAkB;gBAC5B,GAAG,EAAE,cAAc;gBACnB,MAAM,EAAE,MAAM;gBACd,MAAM,EAAE;oBAC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BAAoB,CACxB,UAA2C,EAC3C,QAAsB;;YAEtB,MAAM,MAAM,GAAkB;gBAC5B,GAAG,EAAE,gBAAgB,UAAU,CAAC,EAAE,UAAU;gBAC5C,MAAM,EAAE,KAAK;gBACb,MAAM,EAAE;oBACN,MAAM,EAAE,UAAU,CAAC,MAAM;iBAC1B;aACF,CAAC;YAEF,OAAO,IAAI,CAAC,MAAM,CAAC,WAAW,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;QACnD,CAAC;KAAA;CACF;AAtbD,0BAsbC"}
@@ -26,14 +26,16 @@ export declare class ContentAttachments {
26
26
  getAttachments<T = Models.ContentArray<Models.Attachment>>(parameters: Parameters.GetAttachments, callback?: never): Promise<T>;
27
27
  /**
28
28
  * Adds an attachment to a piece of content. This method only adds a new attachment. If you want to update an existing
29
- * attachment, use [Create or update attachments](https://developer.atlassian.com/cloud/confluence/rest/api-group-content---attachments/#api-wiki-rest-api-content-id-child-attachment-put).
29
+ * attachment, use [Create or update
30
+ * attachments](https://developer.atlassian.com/cloud/confluence/rest/api-group-content---attachments/#api-wiki-rest-api-content-id-child-attachment-put).
30
31
  *
31
32
  * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to update the content.
32
33
  */
33
34
  createAttachments<T = Models.ContentArray<Models.CreatedAttachment>>(parameters: Parameters.CreateAttachments, callback: Callback<T>): Promise<void>;
34
35
  /**
35
36
  * Adds an attachment to a piece of content. This method only adds a new attachment. If you want to update an existing
36
- * attachment, use [Create or update attachments](https://developer.atlassian.com/cloud/confluence/rest/api-group-content---attachments/#api-wiki-rest-api-content-id-child-attachment-put).
37
+ * attachment, use [Create or update
38
+ * attachments](https://developer.atlassian.com/cloud/confluence/rest/api-group-content---attachments/#api-wiki-rest-api-content-id-child-attachment-put).
37
39
  *
38
40
  * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to update the content.
39
41
  */
@@ -67,19 +69,23 @@ export declare class ContentAttachments {
67
69
  */
68
70
  updateAttachmentProperties<T = Models.CreatedAttachment>(parameters: Parameters.UpdateAttachmentProperties, callback?: never): Promise<T>;
69
71
  /**
70
- * Updates the binary data of an attachment, given the attachment ID, and optionally the comment and the minor edit field.
72
+ * Updates the binary data of an attachment, given the attachment ID, and optionally the comment and the minor edit
73
+ * field.
71
74
  *
72
- * This method is essentially the same as [Create or update attachments](https://developer.atlassian.com/cloud/confluence/rest/api-group-content---attachments/#api-wiki-rest-api-content-id-child-attachment-put), except
73
- * that it matches the attachment ID rather than the name.
75
+ * This method is essentially the same as [Create or update
76
+ * attachments](https://developer.atlassian.com/cloud/confluence/rest/api-group-content---attachments/#api-wiki-rest-api-content-id-child-attachment-put),
77
+ * except that it matches the attachment ID rather than the name.
74
78
  *
75
79
  * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to update the content.
76
80
  */
77
81
  updateAttachmentData<T = Models.CreatedAttachment>(parameters: Parameters.UpdateAttachmentData, callback: Callback<T>): Promise<void>;
78
82
  /**
79
- * Updates the binary data of an attachment, given the attachment ID, and optionally the comment and the minor edit field.
83
+ * Updates the binary data of an attachment, given the attachment ID, and optionally the comment and the minor edit
84
+ * field.
80
85
  *
81
- * This method is essentially the same as [Create or update attachments](https://developer.atlassian.com/cloud/confluence/rest/api-group-content---attachments/#api-wiki-rest-api-content-id-child-attachment-put), except
82
- * that it matches the attachment ID rather than the name.
86
+ * This method is essentially the same as [Create or update
87
+ * attachments](https://developer.atlassian.com/cloud/confluence/rest/api-group-content---attachments/#api-wiki-rest-api-content-id-child-attachment-put),
88
+ * except that it matches the attachment ID rather than the name.
83
89
  *
84
90
  * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to update the content.
85
91
  */
@@ -1 +1 @@
1
- {"version":3,"file":"contentAttachments.js","sourceRoot":"","sources":["../../src/api/contentAttachments.ts"],"names":[],"mappings":";;;;AAAA,sCAAsC;AAOtC,MAAa,kBAAkB;IAC7B,YAAoB,MAAc;QAAd,WAAM,GAAN,MAAM,CAAQ;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,UAAyC,EACzC,QAAsB;;YAEtB,MAAM,MAAM,GAAkB;gBAC5B,GAAG,EAAE,gBAAgB,UAAU,CAAC,EAAE,qBAAqB,UAAU,CAAC,YAAY,WAAW;gBACzF,MAAM,EAAE,KAAK;gBACb,YAAY,EAAE,aAAa;gBAC3B,MAAM,EAAE;oBACN,OAAO,EAAE,UAAU,CAAC,OAAO;iBAC5B;aACF,CAAC;YAEF,OAAO,IAAI,CAAC,MAAM,CAAC,WAAW,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;QACnD,CAAC;KAAA;CACF;AAhRD,gDAgRC"}
@@ -15,11 +15,9 @@ class ContentBody {
15
15
  spaceKeyContext: parameters.spaceKeyContext,
16
16
  contentIdContext: parameters.contentIdContext,
17
17
  embeddedContentRender: parameters.embeddedContentRender,
18
+ expand: parameters.expand,
18
19
  },
19
- data: {
20
- value: parameters.value,
21
- representation: parameters.representation,
22
- },
20
+ data: Object.assign({ value: parameters.value, representation: parameters.representation }, parameters.additionalProperties),
23
21
  };
24
22
  return this.client.sendRequest(config, callback);
25
23
  });
@@ -1 +1 @@
1
- {"version":3,"file":"contentBody.js","sourceRoot":"","sources":["../../src/api/contentBody.ts"],"names":[],"mappings":";;;;AAMA,MAAa,WAAW;IACtB,YAAoB,MAAc;QAAd,WAAM,GAAN,MAAM,CAAQ;IAAG,CAAC;IAsChC,kBAAkB,CACtB,UAAyC,EACzC,QAAsB;;YAEtB,MAAM,MAAM,GAAkB;gBAC5B,GAAG,EAAE,4BAA4B,UAAU,CAAC,EAAE,EAAE;gBAChD,MAAM,EAAE,MAAM;gBACd,MAAM,EAAE;oBACN,eAAe,EAAE,UAAU,CAAC,eAAe;oBAC3C,gBAAgB,EAAE,UAAU,CAAC,gBAAgB;oBAC7C,qBAAqB,EAAE,UAAU,CAAC,qBAAqB;iBACxD;gBACD,IAAI,EAAE;oBACJ,KAAK,EAAE,UAAU,CAAC,KAAK;oBACvB,cAAc,EAAE,UAAU,CAAC,cAAc;iBAC1C;aACF,CAAC;YAEF,OAAO,IAAI,CAAC,MAAM,CAAC,WAAW,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;QACnD,CAAC;KAAA;CACF;AA3DD,kCA2DC"}
1
+ {"version":3,"file":"contentBody.js","sourceRoot":"","sources":["../../src/api/contentBody.ts"],"names":[],"mappings":";;;;AAMA,MAAa,WAAW;IACtB,YAAoB,MAAc;QAAd,WAAM,GAAN,MAAM,CAAQ;IAAG,CAAC;IAsChC,kBAAkB,CACtB,UAAyC,EACzC,QAAsB;;YAEtB,MAAM,MAAM,GAAkB;gBAC5B,GAAG,EAAE,4BAA4B,UAAU,CAAC,EAAE,EAAE;gBAChD,MAAM,EAAE,MAAM;gBACd,MAAM,EAAE;oBACN,eAAe,EAAE,UAAU,CAAC,eAAe;oBAC3C,gBAAgB,EAAE,UAAU,CAAC,gBAAgB;oBAC7C,qBAAqB,EAAE,UAAU,CAAC,qBAAqB;oBACvD,MAAM,EAAE,UAAU,CAAC,MAAM;iBAC1B;gBACD,IAAI,kBACF,KAAK,EAAE,UAAU,CAAC,KAAK,EACvB,cAAc,EAAE,UAAU,CAAC,cAAc,IACtC,UAAU,CAAC,oBAAoB,CACnC;aACF,CAAC;YAEF,OAAO,IAAI,CAAC,MAAM,CAAC,WAAW,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;QACnD,CAAC;KAAA;CACF;AA7DD,kCA6DC"}
@@ -18,7 +18,8 @@ export declare class ContentMacroBody {
18
18
  * macro ID is found. This check will eventually become redundant, as macro IDs are generated for pages and
19
19
  * transparently propagate out to all instances.
20
20
  *
21
- * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to view the content that the macro is in.
21
+ * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to view the content that the
22
+ * macro is in.
22
23
  */
23
24
  getMacroBodyByMacroId<T = Models.MacroInstance>(parameters: Parameters.GetMacroBodyByMacroId, callback: Callback<T>): Promise<void>;
24
25
  /**
@@ -34,7 +35,8 @@ export declare class ContentMacroBody {
34
35
  * macro ID is found. This check will eventually become redundant, as macro IDs are generated for pages and
35
36
  * transparently propagate out to all instances.
36
37
  *
37
- * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to view the content that the macro is in.
38
+ * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to view the content that the
39
+ * macro is in.
38
40
  */
39
41
  getMacroBodyByMacroId<T = Models.MacroInstance>(parameters: Parameters.GetMacroBodyByMacroId, callback?: never): Promise<T>;
40
42
  }
@@ -1 +1 @@
1
- {"version":3,"file":"contentMacroBody.js","sourceRoot":"","sources":["../../src/api/contentMacroBody.ts"],"names":[],"mappings":";;;;AAMA,MAAa,gBAAgB;IAC3B,YAAoB,MAAc;QAAd,WAAM,GAAN,MAAM,CAAQ;IAAG,CAAC;IAwChC,qBAAqB,CACzB,UAA4C,EAC5C,QAAsB;;YAEtB,MAAM,MAAM,GAAkB;gBAC5B,GAAG,EAAE,gBAAgB,UAAU,CAAC,EAAE,YAAY,UAAU,CAAC,OAAO,aAAa,UAAU,CAAC,OAAO,EAAE;gBACjG,MAAM,EAAE,KAAK;aACd,CAAC;YAEF,OAAO,IAAI,CAAC,MAAM,CAAC,WAAW,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;QACnD,CAAC;KAAA;CACF;AApDD,4CAoDC"}
1
+ {"version":3,"file":"contentMacroBody.js","sourceRoot":"","sources":["../../src/api/contentMacroBody.ts"],"names":[],"mappings":";;;;AAMA,MAAa,gBAAgB;IAC3B,YAAoB,MAAc;QAAd,WAAM,GAAN,MAAM,CAAQ;IAAG,CAAC;IA0ChC,qBAAqB,CACzB,UAA4C,EAC5C,QAAsB;;YAEtB,MAAM,MAAM,GAAkB;gBAC5B,GAAG,EAAE,gBAAgB,UAAU,CAAC,EAAE,YAAY,UAAU,CAAC,OAAO,aAAa,UAAU,CAAC,OAAO,EAAE;gBACjG,MAAM,EAAE,KAAK;aACd,CAAC;YAEF,OAAO,IAAI,CAAC,MAAM,CAAC,WAAW,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;QACnD,CAAC;KAAA;CACF;AAtDD,4CAsDC"}
@@ -110,25 +110,29 @@ export declare class ContentRestrictions {
110
110
  */
111
111
  getContentRestrictionStatusForGroup<T = unknown>(parameters: Parameters.GetContentRestrictionStatusForGroup, callback?: never): Promise<T>;
112
112
  /**
113
- * Adds a group to a content restriction. That is, grant read or update permission to the group for a piece of content.
113
+ * Adds a group to a content restriction. That is, grant read or update permission to the group for a piece of
114
+ * content.
114
115
  *
115
116
  * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to edit the content.
116
117
  */
117
118
  addGroupToContentRestriction<T = unknown>(parameters: Parameters.AddGroupToContentRestriction, callback: Callback<T>): Promise<void>;
118
119
  /**
119
- * Adds a group to a content restriction. That is, grant read or update permission to the group for a piece of content.
120
+ * Adds a group to a content restriction. That is, grant read or update permission to the group for a piece of
121
+ * content.
120
122
  *
121
123
  * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to edit the content.
122
124
  */
123
125
  addGroupToContentRestriction<T = unknown>(parameters: Parameters.AddGroupToContentRestriction, callback?: never): Promise<T>;
124
126
  /**
125
- * Removes a group from a content restriction. That is, remove read or update permission for the group for a piece of content.
127
+ * Removes a group from a content restriction. That is, remove read or update permission for the group for a piece of
128
+ * content.
126
129
  *
127
130
  * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to edit the content.
128
131
  */
129
132
  removeGroupByName<T = unknown>(parameters: Parameters.RemoveGroupByName, callback: Callback<T>): Promise<void>;
130
133
  /**
131
- * Removes a group from a content restriction. That is, remove read or update permission for the group for a piece of content.
134
+ * Removes a group from a content restriction. That is, remove read or update permission for the group for a piece of
135
+ * content.
132
136
  *
133
137
  * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to edit the content.
134
138
  */
@@ -174,13 +178,15 @@ export declare class ContentRestrictions {
174
178
  */
175
179
  addGroupToContentRestrictionByGroupId<T = unknown>(parameters: Parameters.AddGroupToContentRestrictionByGroupId, callback?: never): Promise<T>;
176
180
  /**
177
- * Removes a group from a content restriction. That is, remove read or update permission for the group for a piece of content.
181
+ * Removes a group from a content restriction. That is, remove read or update permission for the group for a piece of
182
+ * content.
178
183
  *
179
184
  * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to edit the content.
180
185
  */
181
186
  removeGroupById<T = unknown>(parameters: Parameters.RemoveGroupById, callback: Callback<T>): Promise<void>;
182
187
  /**
183
- * Removes a group from a content restriction. That is, remove read or update permission for the group for a piece of content.
188
+ * Removes a group from a content restriction. That is, remove read or update permission for the group for a piece of
189
+ * content.
184
190
  *
185
191
  * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to edit the content.
186
192
  */
@@ -226,13 +232,15 @@ export declare class ContentRestrictions {
226
232
  */
227
233
  addUserToContentRestriction<T = unknown>(parameters: Parameters.AddUserToContentRestriction, callback?: never): Promise<T>;
228
234
  /**
229
- * Removes a group from a content restriction. That is, remove read or update permission for the group for a piece of content.
235
+ * Removes a group from a content restriction. That is, remove read or update permission for the group for a piece of
236
+ * content.
230
237
  *
231
238
  * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to edit the content.
232
239
  */
233
240
  removeUserFromContentRestriction<T = unknown>(parameters: Parameters.RemoveUserFromContentRestriction, callback: Callback<T>): Promise<void>;
234
241
  /**
235
- * Removes a group from a content restriction. That is, remove read or update permission for the group for a piece of content.
242
+ * Removes a group from a content restriction. That is, remove read or update permission for the group for a piece of
243
+ * content.
236
244
  *
237
245
  * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to edit the content.
238
246
  */
@@ -1 +1 @@
1
- {"version":3,"file":"contentRestrictions.js","sourceRoot":"","sources":["../../src/api/contentRestrictions.ts"],"names":[],"mappings":";;;;AAMA,MAAa,mBAAmB;IAC9B,YAAoB,MAAc;QAAd,WAAM,GAAN,MAAM,CAAQ;IAAG,CAAC;IAo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,MAAM,EAAE,QAAQ,CAAC,CAAC;QACnD,CAAC;KAAA;IAoBK,2BAA2B,CAC/B,UAAkD,EAClD,QAAsB;;YAEtB,MAAM,MAAM,GAAkB;gBAC5B,GAAG,EAAE,gBAAgB,UAAU,CAAC,EAAE,4BAA4B,UAAU,CAAC,YAAY,OAAO;gBAC5F,MAAM,EAAE,KAAK;gBACb,MAAM,EAAE;oBACN,GAAG,EAAE,UAAU,CAAC,GAAG;oBACnB,QAAQ,EAAE,UAAU,CAAC,QAAQ;oBAC7B,SAAS,EAAE,UAAU,CAAC,SAAS;iBAChC;aACF,CAAC;YAEF,OAAO,IAAI,CAAC,MAAM,CAAC,WAAW,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;QACnD,CAAC;KAAA;IAsBK,gCAAgC,CACpC,UAAuD,EACvD,QAAsB;;YAEtB,MAAM,MAAM,GAAkB;gBAC5B,GAAG,EAAE,gBAAgB,UAAU,CAAC,EAAE,4BAA4B,UAAU,CAAC,YAAY,OAAO;gBAC5F,MAAM,EAAE,QAAQ;gBAChB,MAAM,EAAE;oBACN,GAAG,EAAE,UAAU,CAAC,GAAG;oBACnB,QAAQ,EAAE,UAAU,CAAC,QAAQ;oBAC7B,SAAS,EAAE,UAAU,CAAC,SAAS;iBAChC;aACF,CAAC;YAEF,OAAO,IAAI,CAAC,MAAM,CAAC,WAAW,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;QACnD,CAAC;KAAA;CACF;AA3hBD,kDA2hBC"}
@@ -6,7 +6,8 @@ export declare class ContentWatches {
6
6
  private client;
7
7
  constructor(client: Client);
8
8
  /**
9
- * Returns the watches for a page. A user that watches a page will receive receive notifications when the page is updated.
9
+ * Returns the watches for a page. A user that watches a page will receive receive notifications when the page is
10
+ * updated.
10
11
  *
11
12
  * If you want to manage watches for a page, use the following `user` methods:
12
13
  *
@@ -19,7 +20,8 @@ export declare class ContentWatches {
19
20
  */
20
21
  getWatchesForPage<T = Models.WatchArray>(parameters: Parameters.GetWatchesForPage, callback: Callback<T>): Promise<void>;
21
22
  /**
22
- * Returns the watches for a page. A user that watches a page will receive receive notifications when the page is updated.
23
+ * Returns the watches for a page. A user that watches a page will receive receive notifications when the page is
24
+ * updated.
23
25
  *
24
26
  * If you want to manage watches for a page, use the following `user` methods:
25
27
  *
@@ -89,7 +91,8 @@ export declare class ContentWatches {
89
91
  * - Specify a user via a query parameter: Use the `accountId` to identify the user.
90
92
  * - Do not specify a user: The currently logged-in user will be used.
91
93
  *
92
- * Note, you must add the `X-Atlassian-Token: no-check` header when making a request, as this operation has XSRF protection.
94
+ * Note, you must add the `X-Atlassian-Token: no-check` header when making a request, as this operation has XSRF
95
+ * protection.
93
96
  *
94
97
  * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: 'Confluence Administrator' global permission
95
98
  * if specifying a user, otherwise permission to access the Confluence site ('Can use' global permission).
@@ -101,7 +104,8 @@ export declare class ContentWatches {
101
104
  * - Specify a user via a query parameter: Use the `accountId` to identify the user.
102
105
  * - Do not specify a user: The currently logged-in user will be used.
103
106
  *
104
- * Note, you must add the `X-Atlassian-Token: no-check` header when making a request, as this operation has XSRF protection.
107
+ * Note, you must add the `X-Atlassian-Token: no-check` header when making a request, as this operation has XSRF
108
+ * protection.
105
109
  *
106
110
  * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: 'Confluence Administrator' global permission
107
111
  * if specifying a user, otherwise permission to access the Confluence site ('Can use' global permission).
@@ -153,7 +157,8 @@ export declare class ContentWatches {
153
157
  * - Specify a user via a query parameter: Use the `accountId` to identify the user.
154
158
  * - Do not specify a user: The currently logged-in user will be used.
155
159
  *
156
- * Note, you must add the `X-Atlassian-Token: no-check` header when making a request, as this operation has XSRF protection.
160
+ * Note, you must add the `X-Atlassian-Token: no-check` header when making a request, as this operation has XSRF
161
+ * protection.
157
162
  *
158
163
  * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: 'Confluence Administrator' global permission
159
164
  * if specifying a user, otherwise permission to access the Confluence site ('Can use' global permission).
@@ -165,7 +170,8 @@ export declare class ContentWatches {
165
170
  * - Specify a user via a query parameter: Use the `accountId` to identify the user.
166
171
  * - Do not specify a user: The currently logged-in user will be used.
167
172
  *
168
- * Note, you must add the `X-Atlassian-Token: no-check` header when making a request, as this operation has XSRF protection.
173
+ * Note, you must add the `X-Atlassian-Token: no-check` header when making a request, as this operation has XSRF
174
+ * protection.
169
175
  *
170
176
  * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: 'Confluence Administrator' global permission
171
177
  * if specifying a user, otherwise permission to access the Confluence site ('Can use' global permission).
@@ -217,7 +223,8 @@ export declare class ContentWatches {
217
223
  * - Specify a user via a query parameter: Use the `accountId` to identify the user.
218
224
  * - Do not specify a user: The currently logged-in user will be used.
219
225
  *
220
- * Note, you must add the `X-Atlassian-Token: no-check` header when making a request, as this operation has XSRF protection.
226
+ * Note, you must add the `X-Atlassian-Token: no-check` header when making a request, as this operation has XSRF
227
+ * protection.
221
228
  *
222
229
  * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: 'Confluence Administrator' global permission
223
230
  * if specifying a user, otherwise permission to access the Confluence site ('Can use' global permission).
@@ -229,7 +236,8 @@ export declare class ContentWatches {
229
236
  * - Specify a user via a query parameter: Use the `accountId` to identify the user.
230
237
  * - Do not specify a user: The currently logged-in user will be used.
231
238
  *
232
- * Note, you must add the `X-Atlassian-Token: no-check` header when making a request, as this operation has XSRF protection.
239
+ * Note, you must add the `X-Atlassian-Token: no-check` header when making a request, as this operation has XSRF
240
+ * protection.
233
241
  *
234
242
  * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: 'Confluence Administrator' global permission
235
243
  * if specifying a user, otherwise permission to access the Confluence site ('Can use' global permission).
@@ -1 +1 @@
1
- {"version":3,"file":"contentWatches.js","sourceRoot":"","sources":["../../src/api/contentWatches.ts"],"names":[],"mappings":";;;;AAMA,MAAa,cAAc;IACzB,YAAoB,MAAc;QAAd,WAAM,GAAN,MAAM,CAAQ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M,EAAE,QAAQ,CAAC,CAAC;QACnD,CAAC;KAAA;CACF;AA9eD,wCA8eC"}
@@ -2,8 +2,21 @@ import { ContentBodyCreate } from '../models';
2
2
  export interface ConvertContentBody extends ContentBodyCreate {
3
3
  /** The name of the target format for the content body. */
4
4
  to: string;
5
- /** A multi-value parameter indicating which properties of the content to expand. */
6
- expand?: string[];
5
+ /**
6
+ * A multi-value parameter indicating which properties of the content to expand. Expands are dependent on the to
7
+ * conversion format and may be irrelevant for certain conversions (e.g. macroRenderedOutput is redundant when
8
+ * converting to view format).
9
+ *
10
+ * - `webresource` returns JS and CSS resources necessary for displaying nested content in `view` format
11
+ * - `webresource.superbatch.uris.js` returns all common JS dependencies
12
+ * - `webresource.superbatch.uris.css` returns all common CSS dependencies
13
+ * - `webresource.uris.js` returns JS dependencies specific to conversion
14
+ * - `webresource.uris.css` returns CSS dependencies specific to conversion
15
+ * - `embeddedContent` returns metadata for nested content (e.g. page included using page include macro)
16
+ * - `mediaToken` returns JWT token for retrieving attachment data from Media API
17
+ * - `macroRenderedOutput` additionally converts body to view format
18
+ */
19
+ expand?: 'webresource' | 'webresource.superbatch.uris.js' | 'webresource.superbatch.uris.css' | 'webresource.uris.js' | 'webresource.uris.css' | 'embeddedContent' | 'mediaToken' | 'macroRenderedOutput' | ('webresource' | 'webresource.superbatch.uris.js' | 'webresource.superbatch.uris.css' | 'webresource.uris.js' | 'webresource.uris.css' | 'embeddedContent' | 'mediaToken' | 'macroRenderedOutput')[] | string | string[];
7
20
  /**
8
21
  * The space key used for resolving embedded content (page includes, files, and links) in the content body. For
9
22
  * example, if the source content contains the link `<ac:link><ri:page ri:content-title="Example page" /><ac:link>`
@@ -26,4 +39,5 @@ export interface ConvertContentBody extends ContentBodyCreate {
26
39
  * - `version-at-save` renders the embedded content using the version at the time of save.
27
40
  */
28
41
  embeddedContentRender?: string;
42
+ additionalProperties?: any[];
29
43
  }