@resolution/confluence-api-client 0.7.6 → 0.7.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +11 -0
- package/lib/index.d.ts +2 -2
- package/lib/openapi/v1/services/ContentBodyService.d.ts +7 -0
- package/lib/openapi/v1/services/ContentBodyService.js +7 -0
- package/lib/openapi/v1/services/ContentBodyService.js.map +1 -1
- package/lib/openapi/v2/BaseConfluenceApiV2Client.d.ts +16 -3
- package/lib/openapi/v2/BaseConfluenceApiV2Client.js +16 -0
- package/lib/openapi/v2/BaseConfluenceApiV2Client.js.map +1 -1
- package/lib/openapi/v2/models/common.d.ts +85 -0
- package/lib/openapi/v2/models/common.js +59 -1
- package/lib/openapi/v2/models/common.js.map +1 -1
- package/lib/openapi/v2/models/eap.d.ts +9 -0
- package/lib/openapi/v2/models/eap.js +12 -0
- package/lib/openapi/v2/models/eap.js.map +1 -0
- package/lib/openapi/v2/models/space.d.ts +2 -38
- package/lib/openapi/v2/models/space.js +1 -23
- package/lib/openapi/v2/models/space.js.map +1 -1
- package/lib/openapi/v2/services/EapService.d.ts +270 -0
- package/lib/openapi/v2/services/EapService.js +327 -0
- package/lib/openapi/v2/services/EapService.js.map +1 -0
- package/lib/openapi/v2/services/SpacePermissionsService.d.ts +40 -8
- package/lib/openapi/v2/services/SpacePermissionsService.js +54 -6
- package/lib/openapi/v2/services/SpacePermissionsService.js.map +1 -1
- package/lib/openapi/v2/services/SpaceRolesService.d.ts +168 -0
- package/lib/openapi/v2/services/SpaceRolesService.js +231 -0
- package/lib/openapi/v2/services/SpaceRolesService.js.map +1 -0
- package/lib/openapi/v2/services/SpaceService.d.ts +82 -3
- package/lib/openapi/v2/services/SpaceService.js +51 -2
- package/lib/openapi/v2/services/SpaceService.js.map +1 -1
- package/lib/openapi/v2/services/WhiteboardService.d.ts +7 -0
- package/lib/openapi/v2/services/WhiteboardService.js.map +1 -1
- package/package.json +3 -3
|
@@ -1,11 +1,81 @@
|
|
|
1
1
|
import { CommonHttpService } from "../../core/CommonHttpService";
|
|
2
|
-
import { type MultiEntityLinks, type SpaceSortOrder } from "../models/common";
|
|
3
|
-
import { type
|
|
2
|
+
import { type MultiEntityLinks, type Principal, type SpaceBulk, type SpaceSortOrder } from "../models/common";
|
|
3
|
+
import { type SpaceDescriptionBodyRepresentation, type SpaceSingle } from "../models/space";
|
|
4
4
|
/**
|
|
5
5
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-space
|
|
6
6
|
* @category Services
|
|
7
7
|
*/
|
|
8
8
|
export declare class SpaceService extends CommonHttpService {
|
|
9
|
+
/**
|
|
10
|
+
* Creates a Space as specified in the payload.
|
|
11
|
+
*
|
|
12
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
13
|
+
* Permission to create spaces.
|
|
14
|
+
*
|
|
15
|
+
* @returns Returned if the requested space is created.
|
|
16
|
+
* @path POST `/spaces`
|
|
17
|
+
* @scopes-current write:space:confluence
|
|
18
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-eap#api-spaces-post
|
|
19
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-space#api-spaces-post
|
|
20
|
+
* @param params
|
|
21
|
+
*/
|
|
22
|
+
createSpace: ({ requestBody, }: {
|
|
23
|
+
requestBody: {
|
|
24
|
+
/** The name of the space to be created. */
|
|
25
|
+
name: string;
|
|
26
|
+
/**
|
|
27
|
+
* The key for the new space. See [Space
|
|
28
|
+
* Keys](https://support.atlassian.com/confluence-cloud/docs/create-a-space/). If
|
|
29
|
+
* the key property is not provided, the alias property is required to be used
|
|
30
|
+
* instead.
|
|
31
|
+
*/
|
|
32
|
+
key?: string | undefined;
|
|
33
|
+
/**
|
|
34
|
+
* This field will be used as the new identifier for the space in confluence page
|
|
35
|
+
* URLs. If the alias property is not provided, the key property is required to be
|
|
36
|
+
* used instead. Maximum 255 alphanumeric characters in length.
|
|
37
|
+
*/
|
|
38
|
+
alias?: string | undefined;
|
|
39
|
+
/**
|
|
40
|
+
* The description of the new/updated space. Note, only the 'plain' representation
|
|
41
|
+
* is currently supported.
|
|
42
|
+
*/
|
|
43
|
+
description?: ({
|
|
44
|
+
/** The space description. */
|
|
45
|
+
value?: string | undefined;
|
|
46
|
+
/** The format of the description. */
|
|
47
|
+
representation?: string | undefined;
|
|
48
|
+
} & {
|
|
49
|
+
[key: string]: unknown;
|
|
50
|
+
}) | undefined;
|
|
51
|
+
/**
|
|
52
|
+
* The role assignments for the new space. If none are provided, the Default Space
|
|
53
|
+
* Roles are applied. If roles are provided, the space is created with exactly the
|
|
54
|
+
* provided set of roles. A private space is created if only the creator is
|
|
55
|
+
* assigned to a role and it’s the Admin role. At least one Admin role assignment
|
|
56
|
+
* must be specified.
|
|
57
|
+
*/
|
|
58
|
+
roleAssignments?: ({
|
|
59
|
+
/** The principal of the role assignment. */
|
|
60
|
+
principal?: Principal | undefined;
|
|
61
|
+
/** The role to which the principal is assigned. */
|
|
62
|
+
roleId?: string | undefined;
|
|
63
|
+
} & {
|
|
64
|
+
[key: string]: unknown;
|
|
65
|
+
}) | undefined;
|
|
66
|
+
} & {
|
|
67
|
+
[key: string]: unknown;
|
|
68
|
+
};
|
|
69
|
+
}) => Promise<SpaceBulk & {
|
|
70
|
+
_links?: ({
|
|
71
|
+
/** Base url of the Confluence site. */
|
|
72
|
+
base?: string | undefined;
|
|
73
|
+
} & {
|
|
74
|
+
[key: string]: unknown;
|
|
75
|
+
}) | undefined;
|
|
76
|
+
} & {
|
|
77
|
+
[key: string]: unknown;
|
|
78
|
+
}>;
|
|
9
79
|
/**
|
|
10
80
|
* Returns a specific space.
|
|
11
81
|
*
|
|
@@ -18,7 +88,7 @@ export declare class SpaceService extends CommonHttpService {
|
|
|
18
88
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-space#api-spaces-id-get
|
|
19
89
|
* @param params
|
|
20
90
|
*/
|
|
21
|
-
getSpaceById: ({ id, descriptionFormat, includeIcon, includeOperations, includeProperties, includePermissions, includeLabels, }: {
|
|
91
|
+
getSpaceById: ({ id, descriptionFormat, includeIcon, includeOperations, includeProperties, includePermissions, includeRoleAssignments, includeLabels, }: {
|
|
22
92
|
/** The ID of the space to be returned. */
|
|
23
93
|
id: number;
|
|
24
94
|
/**
|
|
@@ -53,6 +123,15 @@ export declare class SpaceService extends CommonHttpService {
|
|
|
53
123
|
* available and a link to retrieve the rest of the results.
|
|
54
124
|
*/
|
|
55
125
|
includePermissions?: boolean | undefined;
|
|
126
|
+
/**
|
|
127
|
+
* Includes role assignments associated with this space in the response. This
|
|
128
|
+
* parameter is only accepted for EAP sites.
|
|
129
|
+
* The number of results will be limited to 50 and sorted in the default sort
|
|
130
|
+
* order.
|
|
131
|
+
* A `meta` and `_links` property will be present to indicate if more results are
|
|
132
|
+
* available and a link to retrieve the rest of the results.
|
|
133
|
+
*/
|
|
134
|
+
includeRoleAssignments?: boolean | undefined;
|
|
56
135
|
/**
|
|
57
136
|
* Includes labels associated with this space in the response.
|
|
58
137
|
* The number of results will be limited to 50 and sorted in the default sort
|
|
@@ -17,6 +17,38 @@ const validationSchemaStorage_1 = require("../validationSchemaStorage");
|
|
|
17
17
|
class SpaceService extends CommonHttpService_1.CommonHttpService {
|
|
18
18
|
constructor() {
|
|
19
19
|
super(...arguments);
|
|
20
|
+
/**
|
|
21
|
+
* Creates a Space as specified in the payload.
|
|
22
|
+
*
|
|
23
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
24
|
+
* Permission to create spaces.
|
|
25
|
+
*
|
|
26
|
+
* @returns Returned if the requested space is created.
|
|
27
|
+
* @path POST `/spaces`
|
|
28
|
+
* @scopes-current write:space:confluence
|
|
29
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-eap#api-spaces-post
|
|
30
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-space#api-spaces-post
|
|
31
|
+
* @param params
|
|
32
|
+
*/
|
|
33
|
+
this.createSpace = ({ requestBody, }) => {
|
|
34
|
+
return this.getClientInstance()
|
|
35
|
+
.request({
|
|
36
|
+
path: "/spaces",
|
|
37
|
+
method: "POST",
|
|
38
|
+
headers: {
|
|
39
|
+
"Content-Type": "application/json",
|
|
40
|
+
},
|
|
41
|
+
body: requestBody,
|
|
42
|
+
})
|
|
43
|
+
.then(this.getClientInstance().responseHandler({
|
|
44
|
+
201: {
|
|
45
|
+
"application/json": "json",
|
|
46
|
+
},
|
|
47
|
+
}))
|
|
48
|
+
.then(commonHttpClient.castResponse())
|
|
49
|
+
.then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("SpaceService.createSpace.response")))
|
|
50
|
+
.then(commonHttpClient.getBody);
|
|
51
|
+
};
|
|
20
52
|
/**
|
|
21
53
|
* Returns a specific space.
|
|
22
54
|
*
|
|
@@ -29,7 +61,7 @@ class SpaceService extends CommonHttpService_1.CommonHttpService {
|
|
|
29
61
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-space#api-spaces-id-get
|
|
30
62
|
* @param params
|
|
31
63
|
*/
|
|
32
|
-
this.getSpaceById = ({ id, descriptionFormat, includeIcon, includeOperations, includeProperties, includePermissions, includeLabels, }) => {
|
|
64
|
+
this.getSpaceById = ({ id, descriptionFormat, includeIcon, includeOperations, includeProperties, includePermissions, includeRoleAssignments, includeLabels, }) => {
|
|
33
65
|
return this.getClientInstance()
|
|
34
66
|
.request({
|
|
35
67
|
path: "/spaces/{id}",
|
|
@@ -43,6 +75,7 @@ class SpaceService extends CommonHttpService_1.CommonHttpService {
|
|
|
43
75
|
"include-operations": includeOperations,
|
|
44
76
|
"include-properties": includeProperties,
|
|
45
77
|
"include-permissions": includePermissions,
|
|
78
|
+
"include-role-assignments": includeRoleAssignments,
|
|
46
79
|
"include-labels": includeLabels,
|
|
47
80
|
},
|
|
48
81
|
})
|
|
@@ -118,6 +151,22 @@ class SpaceService extends CommonHttpService_1.CommonHttpService {
|
|
|
118
151
|
.catchall(zod_1.z.unknown()),
|
|
119
152
|
})
|
|
120
153
|
.describe("SpaceService.getSpaces.response"));
|
|
154
|
+
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("SpaceService.createSpace.response", zod_1.z
|
|
155
|
+
.object({
|
|
156
|
+
status: zod_1.z.literal(201),
|
|
157
|
+
mediaType: zod_1.z.literal("application/json"),
|
|
158
|
+
body: zod_1.z.intersection(validationSchemaStorage_1.validationSchemaStorage.lazy("SpaceBulk"), zod_1.z
|
|
159
|
+
.object({
|
|
160
|
+
_links: zod_1.z
|
|
161
|
+
.object({
|
|
162
|
+
base: zod_1.z.string().optional(),
|
|
163
|
+
})
|
|
164
|
+
.catchall(zod_1.z.unknown())
|
|
165
|
+
.optional(),
|
|
166
|
+
})
|
|
167
|
+
.catchall(zod_1.z.unknown())),
|
|
168
|
+
})
|
|
169
|
+
.describe("SpaceService.createSpace.response"));
|
|
121
170
|
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("SpaceService.getSpaceById.response", zod_1.z
|
|
122
171
|
.object({
|
|
123
172
|
status: zod_1.z.literal(200),
|
|
@@ -135,8 +184,8 @@ class SpaceService extends CommonHttpService_1.CommonHttpService {
|
|
|
135
184
|
})
|
|
136
185
|
.describe("SpaceService.getSpaceById.response"));
|
|
137
186
|
validationSchemaStorage_1.validationSchemaStorage.registerOnce([
|
|
138
|
-
space_1.registerSpaceValidationSchemas,
|
|
139
187
|
common_1.registerCommonValidationSchemas,
|
|
188
|
+
space_1.registerSpaceValidationSchemas,
|
|
140
189
|
]);
|
|
141
190
|
}
|
|
142
191
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SpaceService.js","sourceRoot":"","sources":["../../../../src/openapi/v2/services/SpaceService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,6BAAwB;AAExB,gEAAgE;AAChE,oEAAiE;AACjE,
|
|
1
|
+
{"version":3,"file":"SpaceService.js","sourceRoot":"","sources":["../../../../src/openapi/v2/services/SpaceService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,6BAAwB;AAExB,gEAAgE;AAChE,oEAAiE;AACjE,6CAM0B;AAC1B,2CAIyB;AACzB,wEAAqE;AACrE;;;GAGG;AACH,MAAa,YAAa,SAAQ,qCAAiB;IAAnD;;QACE;;;;;;;;;;;;WAYG;QACH,gBAAW,GAAG,CAAC,EACb,WAAW,GAgDZ,EAYC,EAAE;YACF,OAAO,IAAI,CAAC,iBAAiB,EAAE;iBAC5B,OAAO,CAAC;gBACP,IAAI,EAAE,SAAS;gBACf,MAAM,EAAE,MAAM;gBACd,OAAO,EAAE;oBACP,cAAc,EAAE,kBAAkB;iBACnC;gBACD,IAAI,EAAE,WAAW;aAClB,CAAC;iBACD,IAAI,CACH,IAAI,CAAC,iBAAiB,EAAE,CAAC,eAAe,CAAC;gBACvC,GAAG,EAAE;oBACH,kBAAkB,EAAE,MAAM;iBAC3B;aACF,CAAC,CACH;iBACA,IAAI,CACH,gBAAgB,CAAC,YAAY,EAazB,CACL;iBACA,IAAI,CACH,IAAI,CAAC,iBAAiB,EAAE,CAAC,UAAU,CACjC,iDAAuB,CAAC,SAAS,CAC/B,mCAAmC,CACpC,CACF,CACF;iBACA,IAAI,CAAC,gBAAgB,CAAC,OAAO,CAAC,CAAC;QACpC,CAAC,CAAC;QACF;;;;;;;;;;;WAWG;QACH,iBAAY,GAAG,CAAC,EACd,EAAE,EACF,iBAAiB,EACjB,WAAW,EACX,iBAAiB,EACjB,iBAAiB,EACjB,kBAAkB,EAClB,sBAAsB,EACtB,aAAa,GAqDd,EAYC,EAAE;YACF,OAAO,IAAI,CAAC,iBAAiB,EAAE;iBAC5B,OAAO,CAAC;gBACP,IAAI,EAAE,cAAc;gBACpB,MAAM,EAAE,KAAK;gBACb,UAAU,EAAE;oBACV,EAAE;iBACH;gBACD,KAAK,EAAE;oBACL,oBAA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BAC5B,CAAC;qBACD,QAAQ,CAAC,OAAC,CAAC,OAAO,EAAE,CAAC;qBACrB,QAAQ,EAAE;aACd,CAAC;iBACD,QAAQ,CAAC,OAAC,CAAC,OAAO,EAAE,CAAC,CACzB;SACF,CAAC;aACD,QAAQ,CAAC,mCAAmC,CAAC,CACjD,CAAC;QACF,iDAAuB,CAAC,kBAAkB,CACxC,oCAAoC,EACpC,OAAC;aACE,MAAM,CAAC;YACN,MAAM,EAAE,OAAC,CAAC,OAAO,CAAC,GAAG,CAAC;YACtB,SAAS,EAAE,OAAC,CAAC,OAAO,CAAC,kBAAkB,CAAC;YACxC,IAAI,EAAE,OAAC,CAAC,YAAY,CAClB,iDAAuB,CAAC,IAAI,CAAC,aAAa,CAAC,EAC3C,OAAC;iBACE,MAAM,CAAC;gBACN,MAAM,EAAE,OAAC;qBACN,MAAM,CAAC;oBACN,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;iBAC5B,CAAC;qBACD,QAAQ,CAAC,OAAC,CAAC,OAAO,EAAE,CAAC;qBACrB,QAAQ,EAAE;aACd,CAAC;iBACD,QAAQ,CAAC,OAAC,CAAC,OAAO,EAAE,CAAC,CACzB;SACF,CAAC;aACD,QAAQ,CAAC,oCAAoC,CAAC,CAClD,CAAC;QACF,iDAAuB,CAAC,YAAY,CAAC;YACnC,wCAA+B;YAC/B,sCAA8B;SAC/B,CAAC,CAAC;IACL,CAAC;CACF;AAvcD,oCAucC"}
|
|
@@ -31,6 +31,13 @@ export declare class WhiteboardService extends CommonHttpService {
|
|
|
31
31
|
title?: string | undefined;
|
|
32
32
|
/** The parent content ID of the whiteboard. */
|
|
33
33
|
parentId?: string | undefined;
|
|
34
|
+
/** Providing a template key will add that template to the new whiteboard. */
|
|
35
|
+
templateKey?: "timeline" | "2x2-prioritization" | "4ls-retro" | "annual-calendar" | "brainwriting" | "concept-map" | "crazy-8s" | "daily-sync" | "disruptive-brainstorm" | "dot-voting" | "elevator-pitch" | "flow-chart" | "gap-analysis" | "ice-breakers" | "incident-postmortem" | "journey-mapping-kit" | "kanban-board" | "lean-coffee" | "network-of-teams" | "org-chart" | "pi-planning" | "prioritization" | "prioritization-experiment" | "product-roadmap" | "product-vision-board" | "rice" | "sailboat-retro" | "service-blueprint" | "simple-retrospective" | "sprint-planning" | "sticky-note-pack" | "swimlanes" | "team-formation-guide" | "timeline-workflow" | "user-story-map" | "workflow" | "vision-board" | "venn-diagram" | "storyboard" | "action-plan" | "root-cause-analysis" | "executive-summary" | "stakeholder-mapping" | "annual-calendar-2025-2026" | "health-monitor" | "okr-planning" | "swot-analysis" | "poker-planning" | "fishbone-diagram" | "risk-assessment" | "bounded-context" | "hopes-and-fears" | "swimlane-vertical" | undefined;
|
|
36
|
+
/**
|
|
37
|
+
* If you provide a templateKey, the locale determines the language for creating
|
|
38
|
+
* the template. If you omit the locale, the user's locale is used.
|
|
39
|
+
*/
|
|
40
|
+
locale?: "en-US" | "cs-CZ" | "da-DK" | "de-DE" | "es-ES" | "fr-FR" | "it-IT" | "nb-NO" | "nl-NL" | "hu-HU" | "pl-PL" | "ru-RU" | "sv-SE" | "tr-TR" | "en-GB" | "pt-BR" | "zh-CN" | "zh-TW" | "fi-FI" | "ja-JP" | "ko-KR" | undefined;
|
|
34
41
|
} & {
|
|
35
42
|
[key: string]: unknown;
|
|
36
43
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WhiteboardService.js","sourceRoot":"","sources":["../../../../src/openapi/v2/services/WhiteboardService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,6BAAwB;AAExB,gEAAgE;AAChE,oEAAiE;AACjE,qDAG8B;AAC9B,wEAAqE;AACrE;;;GAGG;AACH,MAAa,iBAAkB,SAAQ,qCAAiB;IAAxD;;QACE;;;;;;;;;;;;WAYG;QACH,qBAAgB,GAAG,CAAC,EAClB,OAAO,EAAE,YAAY,EACrB,WAAW,
|
|
1
|
+
{"version":3,"file":"WhiteboardService.js","sourceRoot":"","sources":["../../../../src/openapi/v2/services/WhiteboardService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,6BAAwB;AAExB,gEAAgE;AAChE,oEAAiE;AACjE,qDAG8B;AAC9B,wEAAqE;AACrE;;;GAGG;AACH,MAAa,iBAAkB,SAAQ,qCAAiB;IAAxD;;QACE;;;;;;;;;;;;WAYG;QACH,qBAAgB,GAAG,CAAC,EAClB,OAAO,EAAE,YAAY,EACrB,WAAW,GAkGZ,EAYC,EAAE;YACF,OAAO,IAAI,CAAC,iBAAiB,EAAE;iBAC5B,OAAO,CAAC;gBACP,IAAI,EAAE,cAAc;gBACpB,MAAM,EAAE,MAAM;gBACd,KAAK,EAAE;oBACL,OAAO,EAAE,YAAY;iBACtB;gBACD,OAAO,EAAE;oBACP,cAAc,EAAE,kBAAkB;iBACnC;gBACD,IAAI,EAAE,WAAW;aAClB,CAAC;iBACD,IAAI,CACH,IAAI,CAAC,iBAAiB,EAAE,CAAC,eAAe,CAAC;gBACvC,GAAG,EAAE;oBACH,kBAAkB,EAAE,MAAM;iBAC3B;aACF,CAAC,CACH;iBACA,IAAI,CACH,gBAAgB,CAAC,YAAY,EAazB,CACL;iBACA,IAAI,CACH,IAAI,CAAC,iBAAiB,EAAE,CAAC,UAAU,CACjC,iDAAuB,CAAC,SAAS,CAC/B,6CAA6C,CAC9C,CACF,CACF;iBACA,IAAI,CAAC,gBAAgB,CAAC,OAAO,CAAC,CAAC;QACpC,CAAC,CAAC;QACF;;;;;;;;;;;;;;WAcG;QACH,qBAAgB,GAAG,CAAC,EAClB,EAAE,GAIH,EAAiB,EAAE;YAClB,OAAO,IAAI,CAAC,iBAAiB,EAAE;iBAC5B,OAAO,CAAC;gBACP,IAAI,EAAE,mBAAmB;gBACzB,MAAM,EAAE,QAAQ;gBAChB,UAAU,EAAE;oBACV,EAAE;iBACH;aACF,CAAC;iBACD,IAAI,C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AAC,CACzB;SACF,CAAC;aACD,QAAQ,CAAC,6CAA6C,CAAC,CAC3D,CAAC;QACF,iDAAuB,CAAC,kBAAkB,CACxC,8CAA8C,EAC9C,OAAC;aACE,MAAM,CAAC;YACN,MAAM,EAAE,OAAC,CAAC,OAAO,CAAC,GAAG,CAAC;YACtB,SAAS,EAAE,OAAC,CAAC,OAAO,CAAC,kBAAkB,CAAC;YACxC,IAAI,EAAE,OAAC,CAAC,YAAY,CAClB,iDAAuB,CAAC,IAAI,CAAC,kBAAkB,CAAC,EAChD,OAAC;iBACE,MAAM,CAAC;gBACN,MAAM,EAAE,OAAC;qBACN,MAAM,CAAC;oBACN,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;iBAC5B,CAAC;qBACD,QAAQ,CAAC,OAAC,CAAC,OAAO,EAAE,CAAC;qBACrB,QAAQ,EAAE;aACd,CAAC;iBACD,QAAQ,CAAC,OAAC,CAAC,OAAO,EAAE,CAAC,CACzB;SACF,CAAC;aACD,QAAQ,CAAC,8CAA8C,CAAC,CAC5D,CAAC;QACF,iDAAuB,CAAC,YAAY,CAAC,CAAC,gDAAmC,CAAC,CAAC,CAAC;IAC9E,CAAC;CACF;AA/TD,8CA+TC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@resolution/confluence-api-client",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.7",
|
|
4
4
|
"description": "Confluence API Client based on OpenAPI Schema from Atlassian.",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"types": "lib/index.d.ts",
|
|
@@ -37,10 +37,10 @@
|
|
|
37
37
|
},
|
|
38
38
|
"homepage": "https://bitbucket.org/resolutiongmbh/atlassian-api-clients#readme",
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@resolution/atlassian-api-common": "^0.7.
|
|
40
|
+
"@resolution/atlassian-api-common": "^0.7.7"
|
|
41
41
|
},
|
|
42
42
|
"publishConfig": {
|
|
43
43
|
"access": "public"
|
|
44
44
|
},
|
|
45
|
-
"gitHead": "
|
|
45
|
+
"gitHead": "063bbf905db1d1bad85c3f942244e8a1e833303e"
|
|
46
46
|
}
|