confluence.js 1.5.3 → 1.6.0

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 (99) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/README.md +1 -0
  3. package/out/api/contentBody.d.ts +52 -0
  4. package/out/api/contentBody.js +26 -0
  5. package/out/api/contentBody.js.map +1 -1
  6. package/out/api/contentChildrenAndDescendants.js +2 -1
  7. package/out/api/contentChildrenAndDescendants.js.map +1 -1
  8. package/out/api/contentContentState.d.ts +30 -28
  9. package/out/api/contentContentState.js +2 -0
  10. package/out/api/contentContentState.js.map +1 -1
  11. package/out/api/contentMacroBody.d.ts +68 -0
  12. package/out/api/contentMacroBody.js +29 -0
  13. package/out/api/contentMacroBody.js.map +1 -1
  14. package/out/api/contentStates.d.ts +120 -0
  15. package/out/api/contentStates.js +88 -0
  16. package/out/api/contentStates.js.map +1 -0
  17. package/out/api/dynamicModules.js +1 -0
  18. package/out/api/dynamicModules.js.map +1 -1
  19. package/out/api/experimental.d.ts +2 -2
  20. package/out/api/index.d.ts +1 -0
  21. package/out/api/index.js +1 -0
  22. package/out/api/index.js.map +1 -1
  23. package/out/api/models/asyncContentBody.d.ts +30 -0
  24. package/out/api/models/asyncContentBody.js +3 -0
  25. package/out/api/models/asyncContentBody.js.map +1 -0
  26. package/out/api/models/asyncId.d.ts +3 -0
  27. package/out/api/models/asyncId.js +3 -0
  28. package/out/api/models/asyncId.js.map +1 -0
  29. package/out/api/models/contentBodyCreate.d.ts +1 -0
  30. package/out/api/models/contentStateResponse.d.ts +7 -0
  31. package/out/api/models/contentStateResponse.js +3 -0
  32. package/out/api/models/contentStateResponse.js.map +1 -0
  33. package/out/api/models/contentStateRestInput.d.ts +11 -0
  34. package/out/api/models/contentStateRestInput.js +3 -0
  35. package/out/api/models/contentStateRestInput.js.map +1 -0
  36. package/out/api/models/index.d.ts +16 -12
  37. package/out/api/models/index.js +16 -12
  38. package/out/api/models/index.js.map +1 -1
  39. package/out/api/parameters/asyncConvertContentBodyRequest.d.ts +38 -0
  40. package/out/api/parameters/asyncConvertContentBodyRequest.js +3 -0
  41. package/out/api/parameters/asyncConvertContentBodyRequest.js.map +1 -0
  42. package/out/api/parameters/asyncConvertContentBodyResponse.d.ts +4 -0
  43. package/out/api/parameters/asyncConvertContentBodyResponse.js +3 -0
  44. package/out/api/parameters/asyncConvertContentBodyResponse.js.map +1 -0
  45. package/out/api/parameters/getAndAsyncConvertMacroBodyByMacroId.d.ts +46 -0
  46. package/out/api/parameters/getAndAsyncConvertMacroBodyByMacroId.js +3 -0
  47. package/out/api/parameters/getAndAsyncConvertMacroBodyByMacroId.js.map +1 -0
  48. package/out/api/parameters/getAndConvertMacroBodyByMacroId.d.ts +34 -0
  49. package/out/api/parameters/getAndConvertMacroBodyByMacroId.js +3 -0
  50. package/out/api/parameters/getAndConvertMacroBodyByMacroId.js.map +1 -0
  51. package/out/api/parameters/getAvailableContentStates.d.ts +4 -2
  52. package/out/api/parameters/getContentState.d.ts +8 -4
  53. package/out/api/parameters/getSpaceContentStates.d.ts +4 -0
  54. package/out/api/parameters/getSpaceContentStates.js +3 -0
  55. package/out/api/parameters/getSpaceContentStates.js.map +1 -0
  56. package/out/api/parameters/getUser.d.ts +6 -4
  57. package/out/api/parameters/index.d.ts +5 -0
  58. package/out/api/parameters/index.js +5 -0
  59. package/out/api/parameters/index.js.map +1 -1
  60. package/out/api/parameters/movePage.d.ts +9 -5
  61. package/out/api/parameters/removeContentState.d.ts +5 -1
  62. package/out/api/parameters/setContentState.d.ts +11 -5
  63. package/out/api/settings.d.ts +2 -2
  64. package/out/api/space.d.ts +2 -2
  65. package/out/api/spaceProperties.d.ts +4 -4
  66. package/out/clients/confluenceClient.d.ts +2 -1
  67. package/out/clients/confluenceClient.js +1 -0
  68. package/out/clients/confluenceClient.js.map +1 -1
  69. package/package.json +2 -2
  70. package/src/api/contentBody.ts +100 -0
  71. package/src/api/contentChildrenAndDescendants.ts +3 -1
  72. package/src/api/contentContentState.ts +30 -28
  73. package/src/api/contentMacroBody.ts +115 -0
  74. package/src/api/contentStates.ts +252 -0
  75. package/src/api/dynamicModules.ts +1 -0
  76. package/src/api/experimental.ts +2 -2
  77. package/src/api/index.ts +1 -0
  78. package/src/api/models/asyncContentBody.ts +31 -0
  79. package/src/api/models/asyncId.ts +3 -0
  80. package/src/api/models/contentBodyCreate.ts +1 -0
  81. package/src/api/models/contentStateResponse.ts +8 -0
  82. package/src/api/models/contentStateRestInput.ts +11 -0
  83. package/src/api/models/index.ts +16 -12
  84. package/src/api/parameters/asyncConvertContentBodyRequest.ts +81 -0
  85. package/src/api/parameters/asyncConvertContentBodyResponse.ts +4 -0
  86. package/src/api/parameters/getAndAsyncConvertMacroBodyByMacroId.ts +88 -0
  87. package/src/api/parameters/getAndConvertMacroBodyByMacroId.ts +104 -0
  88. package/src/api/parameters/getAvailableContentStates.ts +5 -2
  89. package/src/api/parameters/getContentState.ts +9 -4
  90. package/src/api/parameters/getSpaceContentStates.ts +4 -0
  91. package/src/api/parameters/getUser.ts +14 -4
  92. package/src/api/parameters/index.ts +5 -0
  93. package/src/api/parameters/movePage.ts +9 -5
  94. package/src/api/parameters/removeContentState.ts +6 -1
  95. package/src/api/parameters/setContentState.ts +13 -5
  96. package/src/api/settings.ts +2 -2
  97. package/src/api/space.ts +3 -3
  98. package/src/api/spaceProperties.ts +4 -4
  99. package/src/clients/confluenceClient.ts +2 -0
@@ -11,6 +11,7 @@ export * from './contentMacroBody';
11
11
  export * from './contentPermissions';
12
12
  export * from './contentProperties';
13
13
  export * from './contentRestrictions';
14
+ export * from './contentStates';
14
15
  export * from './contentVersions';
15
16
  export * from './contentWatches';
16
17
  export * from './dynamicModules';
package/out/api/index.js CHANGED
@@ -14,6 +14,7 @@ tslib_1.__exportStar(require("./contentMacroBody"), exports);
14
14
  tslib_1.__exportStar(require("./contentPermissions"), exports);
15
15
  tslib_1.__exportStar(require("./contentProperties"), exports);
16
16
  tslib_1.__exportStar(require("./contentRestrictions"), exports);
17
+ tslib_1.__exportStar(require("./contentStates"), exports);
17
18
  tslib_1.__exportStar(require("./contentVersions"), exports);
18
19
  tslib_1.__exportStar(require("./contentWatches"), exports);
19
20
  tslib_1.__exportStar(require("./dynamicModules"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/api/index.ts"],"names":[],"mappings":";;;AAAA,sDAA4B;AAC5B,kDAAwB;AACxB,oDAA0B;AAC1B,+DAAqC;AACrC,wDAA8B;AAC9B,0EAAgD;AAChD,4DAAkC;AAClC,gEAAsC;AACtC,0DAAgC;AAChC,6DAAmC;AACnC,+DAAqC;AACrC,8DAAoC;AACpC,gEAAsC;AACtC,4DAAkC;AAClC,2DAAiC;AACjC,2DAAiC;AACjC,yDAA+B;AAC/B,kDAAwB;AACxB,wDAA8B;AAC9B,sDAA4B;AAC5B,4DAAkC;AAClC,qDAA2B;AAC3B,mDAAyB;AACzB,qDAA2B;AAC3B,kDAAwB;AACxB,6DAAmC;AACnC,4DAAkC;AAClC,0DAAgC;AAChC,qDAA2B;AAC3B,mDAAyB;AACzB,kDAAwB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/api/index.ts"],"names":[],"mappings":";;;AAAA,sDAA4B;AAC5B,kDAAwB;AACxB,oDAA0B;AAC1B,+DAAqC;AACrC,wDAA8B;AAC9B,0EAAgD;AAChD,4DAAkC;AAClC,gEAAsC;AACtC,0DAAgC;AAChC,6DAAmC;AACnC,+DAAqC;AACrC,8DAAoC;AACpC,gEAAsC;AACtC,0DAAgC;AAChC,4DAAkC;AAClC,2DAAiC;AACjC,2DAAiC;AACjC,yDAA+B;AAC/B,kDAAwB;AACxB,wDAA8B;AAC9B,sDAA4B;AAC5B,4DAAkC;AAClC,qDAA2B;AAC3B,mDAAyB;AACzB,qDAA2B;AAC3B,kDAAwB;AACxB,6DAAmC;AACnC,4DAAkC;AAClC,0DAAgC;AAChC,qDAA2B;AAC3B,mDAAyB;AACzB,kDAAwB"}
@@ -0,0 +1,30 @@
1
+ import { EmbeddedContent } from './embeddedContent';
2
+ import { GenericLinks } from './genericLinks';
3
+ import { WebResourceDependencies } from './webResourceDependencies';
4
+ export interface AsyncContentBody {
5
+ value?: string;
6
+ representation?: string;
7
+ renderTaskId?: string;
8
+ error?: string;
9
+ /**
10
+ * Rerunning is reserved for when the job is working, but there is a previous run's value in the cache. You may
11
+ * choose to continue polling, or use the cached value.
12
+ */
13
+ status?: string;
14
+ embeddedContent?: EmbeddedContent[];
15
+ webresource?: WebResourceDependencies;
16
+ mediaToken?: {
17
+ collectionIds?: string[];
18
+ contentId?: string;
19
+ expiryDateTime?: string;
20
+ fileIds?: string[];
21
+ token?: string;
22
+ };
23
+ Expandable?: {
24
+ content?: string;
25
+ embeddedContent?: string;
26
+ webresource?: string;
27
+ mediaToken?: string;
28
+ };
29
+ Links?: GenericLinks;
30
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=asyncContentBody.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"asyncContentBody.js","sourceRoot":"","sources":["../../../src/api/models/asyncContentBody.ts"],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ export interface AsyncId {
2
+ asyncId: string;
3
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=asyncId.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"asyncId.js","sourceRoot":"","sources":["../../../src/api/models/asyncId.ts"],"names":[],"mappings":""}
@@ -4,4 +4,5 @@ export interface ContentBodyCreate {
4
4
  value: string;
5
5
  /** The content format type. Set the value of this property to the name of the format being used, e.g. 'storage'. */
6
6
  representation: string;
7
+ additionalProperties?: any;
7
8
  }
@@ -0,0 +1,7 @@
1
+ import { ContentState } from './contentState';
2
+ export interface ContentStateResponse {
3
+ /** Null or content state */
4
+ contentState?: ContentState;
5
+ /** Timestamp of last publish event where content state changed */
6
+ lastUpdated?: string;
7
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=contentStateResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"contentStateResponse.js","sourceRoot":"","sources":["../../../src/api/models/contentStateResponse.ts"],"names":[],"mappings":""}
@@ -0,0 +1,11 @@
1
+ export interface ContentStateRestInput {
2
+ /** Name of content state. Maximum 20 characters. */
3
+ name?: string;
4
+ /**
5
+ * Color of state. Must be in 6 digit hex form (#FFFFFF). The default colors offered in the UI are: #ff7452 (red),
6
+ * #2684ff (blue), #ffc400 (yellow), #57d9a3 (green), and #8777d9 (purple)
7
+ */
8
+ color?: string;
9
+ /** Id of state. This can be 0,1, or 2 if you wish to specify a default space state. */
10
+ stateId?: string;
11
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=contentStateRestInput.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"contentStateRestInput.js","sourceRoot":"","sources":["../../../src/api/models/contentStateRestInput.ts"],"names":[],"mappings":""}
@@ -4,14 +4,17 @@ export * from './accountIdEmailRecordArray';
4
4
  export * from './addContentRestriction';
5
5
  export * from './addContentRestrictionUpdateArray';
6
6
  export * from './affectedObject';
7
+ export * from './appDescriptor';
8
+ export * from './asyncContentBody';
9
+ export * from './asyncId';
10
+ export * from './attachment';
7
11
  export * from './attachmentContainer';
12
+ export * from './attachmentMetadata';
8
13
  export * from './attachmentUpdate';
9
14
  export * from './auditRecord';
10
15
  export * from './auditRecordArray';
11
16
  export * from './auditRecordCreate';
12
- export * from './appDescriptor';
13
- export * from './attachment';
14
- export * from './attachmentMetadata';
17
+ export * from './availableContentStates';
15
18
  export * from './blueprintTemplate';
16
19
  export * from './blueprintTemplateArray';
17
20
  export * from './breadcrumb';
@@ -51,6 +54,11 @@ export * from './contentRestriction';
51
54
  export * from './contentRestrictionArray';
52
55
  export * from './contentRestrictionUpdate';
53
56
  export * from './contentRestrictionUpdateArray';
57
+ export * from './contentState';
58
+ export * from './contentStateContainer';
59
+ export * from './contentStateResponse';
60
+ export * from './contentStateRestInput';
61
+ export * from './contentStateSettings';
54
62
  export * from './contentTemplate';
55
63
  export * from './contentTemplateArray';
56
64
  export * from './contentTemplateBodyCreate';
@@ -87,16 +95,9 @@ export * from './labelCreateArray';
87
95
  export * from './labelDetails';
88
96
  export * from './labeledContent';
89
97
  export * from './labeledContentPageResponse';
90
- export * from './contentStateSettings';
91
98
  export * from './labeledContentType';
99
+ export * from './lifecycle';
92
100
  export * from './longTask';
93
- export * from './contentState';
94
- export * from './userPropertyCreate';
95
- export * from './userPropertyUpdate';
96
- export * from './contentStateContainer';
97
- export * from './availableContentStates';
98
- export * from './userPropertyKeyArray';
99
- export * from './userProperty';
100
101
  export * from './longTaskStatus';
101
102
  export * from './longTaskStatusArray';
102
103
  export * from './longTaskStatusWithLinks';
@@ -106,7 +107,6 @@ export * from './lookAndFeelSettings';
106
107
  export * from './lookAndFeelUpdated';
107
108
  export * from './macroInstance';
108
109
  export * from './menusLookAndFeel';
109
- export * from './lifecycle';
110
110
  export * from './message';
111
111
  export * from './migratedUser';
112
112
  export * from './migratedUserArray';
@@ -162,6 +162,10 @@ export * from './userAnonymous';
162
162
  export * from './userArray';
163
163
  export * from './userArrayWithLinks';
164
164
  export * from './userDetails';
165
+ export * from './userProperty';
166
+ export * from './userPropertyCreate';
167
+ export * from './userPropertyKeyArray';
168
+ export * from './userPropertyUpdate';
165
169
  export * from './usersUserKeys';
166
170
  export * from './userWatch';
167
171
  export * from './version';
@@ -7,14 +7,17 @@ tslib_1.__exportStar(require("./accountIdEmailRecordArray"), exports);
7
7
  tslib_1.__exportStar(require("./addContentRestriction"), exports);
8
8
  tslib_1.__exportStar(require("./addContentRestrictionUpdateArray"), exports);
9
9
  tslib_1.__exportStar(require("./affectedObject"), exports);
10
+ tslib_1.__exportStar(require("./appDescriptor"), exports);
11
+ tslib_1.__exportStar(require("./asyncContentBody"), exports);
12
+ tslib_1.__exportStar(require("./asyncId"), exports);
13
+ tslib_1.__exportStar(require("./attachment"), exports);
10
14
  tslib_1.__exportStar(require("./attachmentContainer"), exports);
15
+ tslib_1.__exportStar(require("./attachmentMetadata"), exports);
11
16
  tslib_1.__exportStar(require("./attachmentUpdate"), exports);
12
17
  tslib_1.__exportStar(require("./auditRecord"), exports);
13
18
  tslib_1.__exportStar(require("./auditRecordArray"), exports);
14
19
  tslib_1.__exportStar(require("./auditRecordCreate"), exports);
15
- tslib_1.__exportStar(require("./appDescriptor"), exports);
16
- tslib_1.__exportStar(require("./attachment"), exports);
17
- tslib_1.__exportStar(require("./attachmentMetadata"), exports);
20
+ tslib_1.__exportStar(require("./availableContentStates"), exports);
18
21
  tslib_1.__exportStar(require("./blueprintTemplate"), exports);
19
22
  tslib_1.__exportStar(require("./blueprintTemplateArray"), exports);
20
23
  tslib_1.__exportStar(require("./breadcrumb"), exports);
@@ -54,6 +57,11 @@ tslib_1.__exportStar(require("./contentRestriction"), exports);
54
57
  tslib_1.__exportStar(require("./contentRestrictionArray"), exports);
55
58
  tslib_1.__exportStar(require("./contentRestrictionUpdate"), exports);
56
59
  tslib_1.__exportStar(require("./contentRestrictionUpdateArray"), exports);
60
+ tslib_1.__exportStar(require("./contentState"), exports);
61
+ tslib_1.__exportStar(require("./contentStateContainer"), exports);
62
+ tslib_1.__exportStar(require("./contentStateResponse"), exports);
63
+ tslib_1.__exportStar(require("./contentStateRestInput"), exports);
64
+ tslib_1.__exportStar(require("./contentStateSettings"), exports);
57
65
  tslib_1.__exportStar(require("./contentTemplate"), exports);
58
66
  tslib_1.__exportStar(require("./contentTemplateArray"), exports);
59
67
  tslib_1.__exportStar(require("./contentTemplateBodyCreate"), exports);
@@ -90,16 +98,9 @@ tslib_1.__exportStar(require("./labelCreateArray"), exports);
90
98
  tslib_1.__exportStar(require("./labelDetails"), exports);
91
99
  tslib_1.__exportStar(require("./labeledContent"), exports);
92
100
  tslib_1.__exportStar(require("./labeledContentPageResponse"), exports);
93
- tslib_1.__exportStar(require("./contentStateSettings"), exports);
94
101
  tslib_1.__exportStar(require("./labeledContentType"), exports);
102
+ tslib_1.__exportStar(require("./lifecycle"), exports);
95
103
  tslib_1.__exportStar(require("./longTask"), exports);
96
- tslib_1.__exportStar(require("./contentState"), exports);
97
- tslib_1.__exportStar(require("./userPropertyCreate"), exports);
98
- tslib_1.__exportStar(require("./userPropertyUpdate"), exports);
99
- tslib_1.__exportStar(require("./contentStateContainer"), exports);
100
- tslib_1.__exportStar(require("./availableContentStates"), exports);
101
- tslib_1.__exportStar(require("./userPropertyKeyArray"), exports);
102
- tslib_1.__exportStar(require("./userProperty"), exports);
103
104
  tslib_1.__exportStar(require("./longTaskStatus"), exports);
104
105
  tslib_1.__exportStar(require("./longTaskStatusArray"), exports);
105
106
  tslib_1.__exportStar(require("./longTaskStatusWithLinks"), exports);
@@ -109,7 +110,6 @@ tslib_1.__exportStar(require("./lookAndFeelSettings"), exports);
109
110
  tslib_1.__exportStar(require("./lookAndFeelUpdated"), exports);
110
111
  tslib_1.__exportStar(require("./macroInstance"), exports);
111
112
  tslib_1.__exportStar(require("./menusLookAndFeel"), exports);
112
- tslib_1.__exportStar(require("./lifecycle"), exports);
113
113
  tslib_1.__exportStar(require("./message"), exports);
114
114
  tslib_1.__exportStar(require("./migratedUser"), exports);
115
115
  tslib_1.__exportStar(require("./migratedUserArray"), exports);
@@ -165,6 +165,10 @@ tslib_1.__exportStar(require("./userAnonymous"), exports);
165
165
  tslib_1.__exportStar(require("./userArray"), exports);
166
166
  tslib_1.__exportStar(require("./userArrayWithLinks"), exports);
167
167
  tslib_1.__exportStar(require("./userDetails"), exports);
168
+ tslib_1.__exportStar(require("./userProperty"), exports);
169
+ tslib_1.__exportStar(require("./userPropertyCreate"), exports);
170
+ tslib_1.__exportStar(require("./userPropertyKeyArray"), exports);
171
+ tslib_1.__exportStar(require("./userPropertyUpdate"), exports);
168
172
  tslib_1.__exportStar(require("./usersUserKeys"), exports);
169
173
  tslib_1.__exportStar(require("./userWatch"), exports);
170
174
  tslib_1.__exportStar(require("./version"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/api/models/index.ts"],"names":[],"mappings":";;;AAAA,sDAA4B;AAC5B,iEAAuC;AACvC,sEAA4C;AAC5C,kEAAwC;AACxC,6EAAmD;AACnD,2DAAiC;AACjC,gEAAsC;AACtC,6DAAmC;AACnC,wDAA8B;AAC9B,6DAAmC;AACnC,8DAAoC;AACpC,0DAAgC;AAChC,uDAA6B;AAC7B,+DAAqC;AACrC,8DAAoC;AACpC,mEAAyC;AACzC,uDAA6B;AAC7B,2DAAiC;AACjC,gEAAsC;AACtC,8DAAoC;AACpC,yDAA+B;AAC/B,0DAAgC;AAChC,2DAAiC;AACjC,sDAA4B;AAC5B,iEAAuC;AACvC,6DAAmC;AACnC,oDAA0B;AAC1B,yDAA+B;AAC/B,8DAAoC;AACpC,4DAAkC;AAClC,kEAAwC;AACxC,wDAA8B;AAC9B,8DAAoC;AACpC,qEAA2C;AAC3C,4DAAkC;AAClC,6DAAmC;AACnC,2DAAiC;AACjC,0DAAgC;AAChC,2DAAiC;AACjC,sDAA4B;AAC5B,+DAAqC;AACrC,4DAAkC;AAClC,wDAA8B;AAC9B,qEAA2C;AAC3C,4DAAkC;AAClC,iEAAuC;AACvC,kEAAwC;AACxC,uEAA6C;AAC7C,kEAAwC;AACxC,+DAAqC;AACrC,oEAA0C;AAC1C,qEAA2C;AAC3C,0EAAgD;AAChD,4DAAkC;AAClC,iEAAuC;AACvC,sEAA4C;AAC5C,kEAAwC;AACxC,kEAAwC;AACxC,0DAAgC;AAChC,qEAA2C;AAC3C,0EAAgD;AAChD,4DAAkC;AAClC,uEAA6C;AAC7C,4EAAkD;AAClD,4EAAkD;AAClD,8DAAoC;AACpC,y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;AACjC,mEAAyC;AACzC,6DAAmC;AACnC,iDAAuB;AACvB,6DAAmC;AACnC,6DAAmC;AACnC,kDAAwB;AACxB,uDAA6B;AAC7B,yDAA+B;AAC/B,wDAA8B;AAC9B,qEAA2C;AAC3C,iDAAuB;AACvB,0DAAgC;AAChC,sDAA4B;AAC5B,+DAAqC;AACrC,wDAA8B;AAC9B,0DAAgC;AAChC,sDAA4B;AAC5B,oDAA0B;AAC1B,yDAA+B;AAC/B,2DAAiC;AACjC,kDAAwB;AACxB,uDAA6B;AAC7B,sDAA4B;AAC5B,oEAA0C"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/api/models/index.ts"],"names":[],"mappings":";;;AAAA,sDAA4B;AAC5B,iEAAuC;AACvC,sEAA4C;AAC5C,kEAAwC;AACxC,6EAAmD;AACnD,2DAAiC;AACjC,0DAAgC;AAChC,6DAAmC;AACnC,oDAA0B;AAC1B,uDAA6B;AAC7B,gEAAsC;AACtC,+DAAqC;AACrC,6DAAmC;AACnC,wDAA8B;AAC9B,6DAAmC;AACnC,8DAAoC;AACpC,mEAAyC;AACzC,8DAAoC;AACpC,mEAAyC;AACzC,uDAA6B;AAC7B,2DAAiC;AACjC,gEAAsC;AACtC,8DAAoC;AACpC,yDAA+B;AAC/B,0DAAgC;AAChC,2DAAiC;AACjC,sDAA4B;AAC5B,iEAAuC;AACvC,6DAAmC;AACnC,oDAA0B;AAC1B,yDAA+B;AAC/B,8DAAoC;AACpC,4DAAkC;AAClC,kEAAwC;AACxC,wDAA8B;AAC9B,8DAAoC;AACpC,qEAA2C;AAC3C,4DAAkC;AAClC,6DAAmC;AACnC,2DAAiC;AACjC,0DAAgC;AAChC,2DAAiC;AACjC,sDAA4B;AAC5B,+DAAqC;AACrC,4DAAkC;AAClC,wDAA8B;AAC9B,qEAA2C;AAC3C,4DAAkC;AAClC,iEAAuC;AACvC,kEAAwC;AACxC,uEAA6C;AAC7C,kEAAwC;AACxC,+DAAqC;AACrC,oEAA0C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C,8DAAoC;AACpC,+DAAqC;AACrC,0DAAgC;AAChC,+DAAqC;AACrC,gEAAsC;AACtC,qEAA2C;AAC3C,gEAAsC;AACtC,0DAAgC;AAChC,gEAAsC;AACtC,wDAA8B;AAC9B,uDAA6B;AAC7B,4DAAkC;AAClC,2DAAiC;AACjC,mEAAyC;AACzC,6DAAmC;AACnC,iDAAuB;AACvB,6DAAmC;AACnC,6DAAmC;AACnC,kDAAwB;AACxB,uDAA6B;AAC7B,yDAA+B;AAC/B,wDAA8B;AAC9B,qEAA2C;AAC3C,iDAAuB;AACvB,0DAAgC;AAChC,sDAA4B;AAC5B,+DAAqC;AACrC,wDAA8B;AAC9B,yDAA+B;AAC/B,+DAAqC;AACrC,iEAAuC;AACvC,+DAAqC;AACrC,0DAAgC;AAChC,sDAA4B;AAC5B,oDAA0B;AAC1B,yDAA+B;AAC/B,2DAAiC;AACjC,kDAAwB;AACxB,uDAA6B;AAC7B,sDAA4B;AAC5B,oEAA0C"}
@@ -0,0 +1,38 @@
1
+ import { ContentBodyCreate } from '../models';
2
+ export interface AsyncConvertContentBodyRequest extends ContentBodyCreate {
3
+ /** The name of the target format for the content body. */
4
+ to: string;
5
+ /**
6
+ * The space key used for resolving embedded content (page includes, files, and links) in the content body. For
7
+ * example, if the source content contains the link `<ac:link><ri:page ri:content-title="Example page" /><ac:link>`
8
+ * and the `spaceKeyContext=TEST` parameter is provided, then the link will be converted to a link to the "Example
9
+ * page" page in the "TEST" space.
10
+ */
11
+ spaceKeyContext?: string;
12
+ /**
13
+ * The content ID used to find the space for resolving embedded content (page includes, files, and links) in the
14
+ * content body. For example, if the source content contains the link `<ac:link><ri:page ri:content-title="Example
15
+ * page" /><ac:link>` and the `contentIdContext=123` parameter is provided, then the link will be converted to a link
16
+ * to the "Example page" page in the same space that has the content with ID=123. Note, `spaceKeyContext` will be
17
+ * ignored if this parameter is provided.
18
+ */
19
+ contentIdContext?: string;
20
+ /**
21
+ * If this field is false, the cache will erase its current value and begin a new conversion. If this field is true,
22
+ * the cache will not erase its current value, and will set the status of the async conversion to RERUNNING. Once the
23
+ * data is updated, the status will change to COMPLETED. Large macros that take long to convert, and whose data need
24
+ * not immediately up to date (same as previous conversion's result within last 5 minutes) should set this fields to
25
+ * true. Cache values are stored per user per content body and expansions.
26
+ */
27
+ allowCache?: boolean;
28
+ /**
29
+ * Mode used for rendering embedded content, like attachments.
30
+ *
31
+ * - `current` renders the embedded content using the latest version.
32
+ * - `version-at-save` renders the embedded content using the version at
33
+ * the time of save.
34
+ */
35
+ embeddedContentRender?: string;
36
+ /** A multi-value parameter indicating which properties of the content to expand and populate. */
37
+ expand?: 'embeddedContent' | 'mediaToken' | 'webresource.superbatch.metatags' | 'webresource.superbatch.tags.all' | 'webresource.superbatch.tags.css' | 'webresource.superbatch.tags.data' | 'webresource.superbatch.tags.js' | 'webresource.superbatch.uris.all' | 'webresource.superbatch.uris.css' | 'webresource.superbatch.uris.data' | 'webresource.superbatch.uris.js' | 'webresource.tags.all' | 'webresource.tags.css' | 'webresource.tags.data' | 'webresource.tags.js' | 'webresource.uris.all' | 'webresource.uris.css' | 'webresource.uris.data' | 'webresource.uris.js' | ('embeddedContent' | 'mediaToken' | 'webresource.superbatch.metatags' | 'webresource.superbatch.tags.all' | 'webresource.superbatch.tags.css' | 'webresource.superbatch.tags.data' | 'webresource.superbatch.tags.js' | 'webresource.superbatch.uris.all' | 'webresource.superbatch.uris.css' | 'webresource.superbatch.uris.data' | 'webresource.superbatch.uris.js' | 'webresource.tags.all' | 'webresource.tags.css' | 'webresource.tags.data' | 'webresource.tags.js' | 'webresource.uris.all' | 'webresource.uris.css' | 'webresource.uris.data' | 'webresource.uris.js')[] | string | string[];
38
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=asyncConvertContentBodyRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"asyncConvertContentBodyRequest.js","sourceRoot":"","sources":["../../../src/api/parameters/asyncConvertContentBodyRequest.ts"],"names":[],"mappings":""}
@@ -0,0 +1,4 @@
1
+ export interface AsyncConvertContentBodyResponse {
2
+ /** The asyncId of the macro task to get the converted body. */
3
+ id: string;
4
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=asyncConvertContentBodyResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"asyncConvertContentBodyResponse.js","sourceRoot":"","sources":["../../../src/api/parameters/asyncConvertContentBodyResponse.ts"],"names":[],"mappings":""}
@@ -0,0 +1,46 @@
1
+ export interface GetAndAsyncConvertMacroBodyByMacroId {
2
+ /** The ID for the content that contains the macro. */
3
+ id: string;
4
+ /**
5
+ * The version of the content that contains the macro. Specifying `0` as the `version` will return the macro body for
6
+ * the latest content version.
7
+ */
8
+ version: number;
9
+ /**
10
+ * The ID of the macro. For apps, this is passed to the macro by the Connect/Forge framework. Otherwise, find the
11
+ * macro ID by querying the desired content and version, then expanding the body in storage format. For example,
12
+ * '/content/196611/version/7?expand=content.body.storage'.
13
+ */
14
+ macroId: string;
15
+ /**
16
+ * The content representation to return the macro in. Currently, the following conversions are allowed:
17
+ *
18
+ * -`export_view` - `styled_view` - `view`;
19
+ */
20
+ to: string;
21
+ /**
22
+ * If this field is false, the cache will erase its current value and begin a conversion. If this field is true, the
23
+ * cache will not erase its current value, and will set the status of the result in cache to RERUNNING. Once the data
24
+ * is updated, the status will change to COMPLETED. Large macros that take long to convert, and who want to show
25
+ * intermediate, but potentially stale data, immediately should set this field to true. Cache values are stored per
26
+ * macro per user per content and expansions.
27
+ */
28
+ allowCache?: boolean;
29
+ /**
30
+ * The space key used for resolving embedded content (page includes, files, and links) in the content body. For
31
+ * example, if the source content contains the link `<ac:link><ri:page ri:content-title="Example page" /><ac:link>`
32
+ * and the `spaceKeyContext=TEST` parameter is provided, then the link will be converted to a link to the "Example
33
+ * page" page in the "TEST" space.
34
+ */
35
+ spaceKeyContext?: string;
36
+ /**
37
+ * Mode used for rendering embedded content, like attachments.
38
+ *
39
+ * - `current` renders the embedded content using the latest version.
40
+ * - `version-at-save` renders the embedded content using the version at
41
+ * the time of save.
42
+ */
43
+ embeddedContentRender?: string;
44
+ /** A multi-value parameter indicating which properties of the content to expand and populate. */
45
+ expand?: 'embeddedContent' | 'mediaToken' | 'webresource.superbatch.metatags' | 'webresource.superbatch.tags.all' | 'webresource.superbatch.tags.css' | 'webresource.superbatch.tags.data' | 'webresource.superbatch.tags.js' | 'webresource.superbatch.uris.all' | 'webresource.superbatch.uris.css' | 'webresource.superbatch.uris.data' | 'webresource.superbatch.uris.js' | 'webresource.tags.all' | 'webresource.tags.css' | 'webresource.tags.data' | 'webresource.tags.js' | 'webresource.uris.all' | 'webresource.uris.css' | 'webresource.uris.data' | 'webresource.uris.js' | ('embeddedContent' | 'mediaToken' | 'webresource.superbatch.metatags' | 'webresource.superbatch.tags.all' | 'webresource.superbatch.tags.css' | 'webresource.superbatch.tags.data' | 'webresource.superbatch.tags.js' | 'webresource.superbatch.uris.all' | 'webresource.superbatch.uris.css' | 'webresource.superbatch.uris.data' | 'webresource.superbatch.uris.js' | 'webresource.tags.all' | 'webresource.tags.css' | 'webresource.tags.data' | 'webresource.tags.js' | 'webresource.uris.all' | 'webresource.uris.css' | 'webresource.uris.data' | 'webresource.uris.js')[] | string | string[];
46
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=getAndAsyncConvertMacroBodyByMacroId.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getAndAsyncConvertMacroBodyByMacroId.js","sourceRoot":"","sources":["../../../src/api/parameters/getAndAsyncConvertMacroBodyByMacroId.ts"],"names":[],"mappings":""}
@@ -0,0 +1,34 @@
1
+ export interface GetAndConvertMacroBodyByMacroId {
2
+ /** The ID for the content that contains the macro. */
3
+ id: string;
4
+ /**
5
+ * The version of the content that contains the macro. Specifying `0` as the `version` will return the macro body for
6
+ * the latest content version.
7
+ */
8
+ version: number;
9
+ /**
10
+ * The ID of the macro. This is usually passed by the app that the macro is in. Otherwise, find the macro ID by
11
+ * querying the desired content and version, then expanding the body in storage format. For example,
12
+ * '/content/196611/version/7?expand=content.body.storage'.
13
+ */
14
+ macroId: string;
15
+ /** The content representation to return the macro in. */
16
+ to: string;
17
+ /**
18
+ * The space key used for resolving embedded content (page includes, files, and links) in the content body. For
19
+ * example, if the source content contains the link `<ac:link><ri:page ri:content-title="Example page" /><ac:link>`
20
+ * and the `spaceKeyContext=TEST` parameter is provided, then the link will be converted to a link to the "Example
21
+ * page" page in the "TEST" space.
22
+ */
23
+ spaceKeyContext?: string;
24
+ /**
25
+ * Mode used for rendering embedded content, like attachments.
26
+ *
27
+ * - `current` renders the embedded content using the latest version.
28
+ * - `version-at-save` renders the embedded content using the version at
29
+ * the time of save.
30
+ */
31
+ embeddedContentRender?: 'current' | 'version-at-save' | string;
32
+ /** A multi-value parameter indicating which properties of the content to expand. */
33
+ expand?: 'childTypes.all' | 'childTypes.attachment' | 'childTypes.comment' | 'childTypes.page' | 'container' | 'metadata.currentuser' | 'metadata.properties' | 'metadata.labels' | 'metadata.frontend' | 'operations' | 'children.page' | 'children.attachment' | 'children.comment' | 'restrictions.read.restrictions.user' | 'restrictions.read.restrictions.group' | 'restrictions.update.restrictions.user' | 'restrictions.update.restrictions.group' | 'history' | 'history.lastUpdated' | 'history.previousVersion' | 'history.contributors' | 'history.nextVersion' | 'ancestors' | 'body' | 'body.storage' | 'body.view' | 'version' | 'descendants.page' | 'descendants.attachment' | 'descendants.comment' | 'space' | 'extensions.inlineProperties' | 'extensions.resolution' | ('childTypes.all' | 'childTypes.attachment' | 'childTypes.comment' | 'childTypes.page' | 'container' | 'metadata.currentuser' | 'metadata.properties' | 'metadata.labels' | 'metadata.frontend' | 'operations' | 'children.page' | 'children.attachment' | 'children.comment' | 'restrictions.read.restrictions.user' | 'restrictions.read.restrictions.group' | 'restrictions.update.restrictions.user' | 'restrictions.update.restrictions.group' | 'history' | 'history.lastUpdated' | 'history.previousVersion' | 'history.contributors' | 'history.nextVersion' | 'ancestors' | 'body' | 'body.storage' | 'body.view' | 'version' | 'descendants.page' | 'descendants.attachment' | 'descendants.comment' | 'space' | 'extensions.inlineProperties' | 'extensions.resolution')[] | string | string[];
34
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=getAndConvertMacroBodyByMacroId.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getAndConvertMacroBodyByMacroId.js","sourceRoot":"","sources":["../../../src/api/parameters/getAndConvertMacroBodyByMacroId.ts"],"names":[],"mappings":""}
@@ -1,4 +1,6 @@
1
1
  export interface GetAvailableContentStates {
2
- /** Id of content to get available states for */
3
- contentId: string;
2
+ /**id of content to get available states for*/
3
+ id?: string;
4
+ /** @deprecated Id of content to get available states for */
5
+ contentId?: string;
4
6
  }
@@ -1,6 +1,10 @@
1
1
  export interface GetContentState {
2
- /** The Id of the page whose content state is of interest. */
3
- contentId: string;
4
- /** Set designation=DRAFT or designation=PUBLISHED. */
5
- designation?: string;
2
+ /** The id of the content whose content state is of interest. */
3
+ id?: string;
4
+ /** Set status to one of [current,draft,archived]. */
5
+ status?: 'current' | 'draft' | 'archived' | string;
6
+ /** @deprecated The Id of the page whose content state is of interest. */
7
+ contentId?: string;
8
+ /** @deprecated Set designation=DRAFT or designation=PUBLISHED. */
9
+ designation?: 'DRAFT' | 'PUBLISHED' | string;
6
10
  }
@@ -0,0 +1,4 @@
1
+ export interface GetSpaceContentStates {
2
+ /** The key of the space to be queried for its content state settings. */
3
+ spaceKey: string;
4
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=getSpaceContentStates.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getSpaceContentStates.js","sourceRoot":"","sources":["../../../src/api/parameters/getSpaceContentStates.ts"],"names":[],"mappings":""}
@@ -20,12 +20,14 @@ export interface GetUser {
20
20
  * - `operations` returns the operations that the user is allowed to do.
21
21
  * - `details.personal` returns the 'Personal' details in the user's profile, like the 'Email' and 'Phone'. Note that
22
22
  * these fields have been deprecated due to privacy changes. See the [migration
23
- * guide](https://developer.atlassian.com/cloud/confluence/deprecation-notice-user-privacy-api-migration-guide/) for details.
23
+ * guide](https://developer.atlassian.com/cloud/confluence/deprecation-notice-user-privacy-api-migration-guide/) for
24
+ * details.
24
25
  * - `details.business` returns the 'Company' details in the user's profile, like the 'Position' and 'Department'. Note
25
26
  * that these fields have been deprecated due to privacy changes. See the [migration
26
- * guide](https://developer.atlassian.com/cloud/confluence/deprecation-notice-user-privacy-api-migration-guide/) for details.
27
- * - PersonalSpace returns the user's personal space, if it exists.
27
+ * guide](https://developer.atlassian.com/cloud/confluence/deprecation-notice-user-privacy-api-migration-guide/) for
28
+ * details.
29
+ * - `personalSpace` returns the user's personal space, if it exists.
28
30
  * - `isExternalCollaborator` returns whether the user is an external collaborator user
29
31
  */
30
- expand?: string[];
32
+ expand?: 'operations' | 'details.personal' | 'details.business' | 'personalSpace' | 'isExternalCollaborator' | ('operations' | 'details.personal' | 'details.business' | 'personalSpace' | 'isExternalCollaborator')[] | string | string[];
31
33
  }
@@ -13,6 +13,8 @@ export * from './addUserToContentRestriction';
13
13
  export * from './addUserToGroup';
14
14
  export * from './addUserToGroupByGroupId';
15
15
  export * from './archivePages';
16
+ export * from './asyncConvertContentBodyRequest';
17
+ export * from './asyncConvertContentBodyResponse';
16
18
  export * from './checkContentPermission';
17
19
  export * from './convertContentBody';
18
20
  export * from './copyPage';
@@ -48,6 +50,8 @@ export * from './exportAuditRecords';
48
50
  export * from './findSourcesForTarget';
49
51
  export * from './findTargetFromSource';
50
52
  export * from './getAllLabelContent';
53
+ export * from './getAndAsyncConvertMacroBodyByMacroId';
54
+ export * from './getAndConvertMacroBodyByMacroId';
51
55
  export * from './getAnonymousUser';
52
56
  export * from './getAttachments';
53
57
  export * from './getAuditRecords';
@@ -101,6 +105,7 @@ export * from './getRestrictions';
101
105
  export * from './getRestrictionsByOperation';
102
106
  export * from './getRestrictionsForOperation';
103
107
  export * from './getSpace';
108
+ export * from './getSpaceContentStates';
104
109
  export * from './getSpaceProperties';
105
110
  export * from './getSpaceProperty';
106
111
  export * from './getSpaces';
@@ -16,6 +16,8 @@ tslib_1.__exportStar(require("./addUserToContentRestriction"), exports);
16
16
  tslib_1.__exportStar(require("./addUserToGroup"), exports);
17
17
  tslib_1.__exportStar(require("./addUserToGroupByGroupId"), exports);
18
18
  tslib_1.__exportStar(require("./archivePages"), exports);
19
+ tslib_1.__exportStar(require("./asyncConvertContentBodyRequest"), exports);
20
+ tslib_1.__exportStar(require("./asyncConvertContentBodyResponse"), exports);
19
21
  tslib_1.__exportStar(require("./checkContentPermission"), exports);
20
22
  tslib_1.__exportStar(require("./convertContentBody"), exports);
21
23
  tslib_1.__exportStar(require("./copyPage"), exports);
@@ -51,6 +53,8 @@ tslib_1.__exportStar(require("./exportAuditRecords"), exports);
51
53
  tslib_1.__exportStar(require("./findSourcesForTarget"), exports);
52
54
  tslib_1.__exportStar(require("./findTargetFromSource"), exports);
53
55
  tslib_1.__exportStar(require("./getAllLabelContent"), exports);
56
+ tslib_1.__exportStar(require("./getAndAsyncConvertMacroBodyByMacroId"), exports);
57
+ tslib_1.__exportStar(require("./getAndConvertMacroBodyByMacroId"), exports);
54
58
  tslib_1.__exportStar(require("./getAnonymousUser"), exports);
55
59
  tslib_1.__exportStar(require("./getAttachments"), exports);
56
60
  tslib_1.__exportStar(require("./getAuditRecords"), exports);
@@ -104,6 +108,7 @@ tslib_1.__exportStar(require("./getRestrictions"), exports);
104
108
  tslib_1.__exportStar(require("./getRestrictionsByOperation"), exports);
105
109
  tslib_1.__exportStar(require("./getRestrictionsForOperation"), exports);
106
110
  tslib_1.__exportStar(require("./getSpace"), exports);
111
+ tslib_1.__exportStar(require("./getSpaceContentStates"), exports);
107
112
  tslib_1.__exportStar(require("./getSpaceProperties"), exports);
108
113
  tslib_1.__exportStar(require("./getSpaceProperty"), exports);
109
114
  tslib_1.__exportStar(require("./getSpaces"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/api/parameters/index.ts"],"names":[],"mappings":";;;AAAA,8DAAoC;AACpC,wEAA8C;AAC9C,yEAA+C;AAC/C,kFAAwD;AACxD,+DAAqC;AACrC,6DAAmC;AACnC,4DAAkC;AAClC,0DAAgC;AAChC,iEAAuC;AACvC,4DAAkC;AAClC,4DAAkC;AAClC,wEAA8C;AAC9C,2DAAiC;AACjC,oEAA0C;AAC1C,yDAA+B;AAC/B,mEAAyC;AACzC,+DAAqC;AACrC,qDAA2B;AAC3B,8DAAoC;AACpC,8DAAoC;AACpC,8DAAoC;AACpC,0DAAgC;AAChC,kEAAwC;AACxC,wEAA8C;AAC9C,kEAAwC;AACxC,wDAA8B;AAC9B,sEAA4C;AAC5C,+DAAqC;AACrC,+DAAqC;AACrC,wDAA8B;AAC9B,gEAAsC;AACtC,sEAA4C;AAC5C,+DAAqC;AACrC,mDAAyB;AACzB,0DAAgC;AAChC,kEAAwC;AACxC,iEAAuC;AACvC,iEAAuC;AACvC,2DAAiC;AACjC,+DAAqC;AACrC,+DAAqC;AACrC,wDAA8B;AAC9B,gEAAsC;AACtC,+DAAqC;AACrC,8DAAoC;AACpC,+DAAqC;AACrC,+DAAqC;AACrC,iEAAuC;AACvC,iEAAuC;AACvC,+DAAqC;AACrC,6DAAmC;AACnC,2DAAiC;AACjC,4DAAkC;AAClC,yEAA+C;AAC/C,sEAA4C;AAC5C,kEAAwC;AACxC,8DAAoC;AACpC,iEAAuC;AACvC,uDAA6B;AAC7B,2DAAiC;AACjC,qEAA2C;AAC3C,+DAAqC;AACrC,qEAA2C;AAC3C,+DAAqC;AACrC,kEAAwC;AACxC,+DAAqC;AACrC,iEAAu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AC/B,wDAA8B;AAC9B,uDAA6B;AAC7B,4DAAkC;AAClC,mEAAyC;AACzC,+DAAqC;AACrC,0DAAgC;AAChC,iEAAuC;AACvC,uEAA6C;AAC7C,0DAAgC;AAChC,kEAAwC;AACxC,kEAAwC;AACxC,8DAAoC;AACpC,sEAA4C;AAC5C,+DAAqC;AACrC,wDAA8B;AAC9B,gEAAsC;AACtC,gEAAsC;AACtC,2DAAiC;AACjC,+DAAqC;AACrC,uDAA6B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/api/parameters/index.ts"],"names":[],"mappings":";;;AAAA,8DAAoC;AACpC,wEAA8C;AAC9C,yEAA+C;AAC/C,kFAAwD;AACxD,+DAAqC;AACrC,6DAAmC;AACnC,4DAAkC;AAClC,0DAAgC;AAChC,iEAAuC;AACvC,4DAAkC;AAClC,4DAAkC;AAClC,wEAA8C;AAC9C,2DAAiC;AACjC,oEAA0C;AAC1C,yDAA+B;AAC/B,2EAAiD;AACjD,4EAAkD;AAClD,mEAAyC;AACzC,+DAAqC;AACrC,qDAA2B;AAC3B,8DAAoC;AACpC,8DAAoC;AACpC,8DAAoC;AACpC,0DAAgC;AAChC,kEAAwC;AACxC,wEAA8C;AAC9C,kEAAwC;AACxC,wDAA8B;AAC9B,sEAA4C;AAC5C,+DAAqC;AACrC,+DAAqC;AACrC,wDAA8B;AAC9B,gEAAsC;AACtC,sEAA4C;AAC5C,+DAAqC;AACrC,mDAAyB;AACzB,0DAAgC;AAChC,kEAAwC;AACxC,iEAAuC;AACvC,iEAAuC;AACvC,2DAAiC;AACjC,+DAAqC;AACrC,+DAAqC;AACrC,wDAA8B;AAC9B,gEAAsC;AACtC,+DAAqC;AACrC,8DAAoC;AACpC,+DAAqC;AACrC,+DAAqC;AACrC,iEAAuC;AACvC,iEAAuC;AACvC,+DAAqC;AACrC,iFAAuD;AACvD,4EAAkD;AAClD,6DAAmC;AACnC,2DAAiC;AACjC,4DAAkC;AAClC,yEAA+C;AAC/C,sE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AwC;AACxC,2EAAiD;AACjD,0DAAgC;AAChC,6DAAmC;AACnC,6DAAmC;AACnC,2DAAiC;AACjC,6EAAmD;AACnD,qEAA2C;AAC3C,4DAAkC;AAClC,kEAAwC;AACxC,mDAAyB;AACzB,wDAA8B;AAC9B,+DAAqC;AACrC,yDAA+B;AAC/B,wDAA8B;AAC9B,uDAA6B;AAC7B,4DAAkC;AAClC,mEAAyC;AACzC,+DAAqC;AACrC,0DAAgC;AAChC,iEAAuC;AACvC,uEAA6C;AAC7C,0DAAgC;AAChC,kEAAwC;AACxC,kEAAwC;AACxC,8DAAoC;AACpC,sEAA4C;AAC5C,+DAAqC;AACrC,wDAA8B;AAC9B,gEAAsC;AACtC,gEAAsC;AACtC,2DAAiC;AACjC,+DAAqC;AACrC,uDAA6B"}
@@ -1,12 +1,16 @@
1
1
  export interface MovePage {
2
2
  /** The ID of the page to be moved */
3
- id: string;
3
+ pageId?: string;
4
+ /** @deprecated The ID of the page to be moved */
5
+ id?: string;
4
6
  /**
5
- * The position to move the page to relative to the target page: `before` - move the page under the same parent as the
6
- * target, before the target in the list of children `after` - move the page under the same parent as the target,
7
- * after the target in the list of children `append` - move the page to be a child of the target
7
+ * The position to move the page to relative to the target page:
8
+ *
9
+ * - `before` - move the page under the same parent as the target, before the target in the list of children
10
+ * - `after` - move the page under the same parent as the target, after the target in the list of children
11
+ * - `append` - move the page to be a child of the target
8
12
  */
9
- position: string;
13
+ position: 'before' | 'after' | 'append' | string;
10
14
  /** The ID of the target page for this operation */
11
15
  targetId: string;
12
16
  }
@@ -1,4 +1,8 @@
1
1
  export interface RemoveContentState {
2
2
  /** The Id of the content whose content state is to be set. */
3
- contentId: string;
3
+ id?: string;
4
+ /** Status of content state from which to delete state. Can be draft or archived */
5
+ status?: string;
6
+ /** @deprecated The Id of the content whose content state is to be set. */
7
+ contentId?: string;
4
8
  }