@code.store/arcxp-sdk-ts 4.24.1 → 4.25.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api/author/index.d.ts +2 -2
- package/dist/api/author/index.js +3 -3
- package/dist/api/author/index.js.map +1 -1
- package/dist/api/author/types.d.ts +10 -0
- package/dist/api/author/types.js +1 -0
- package/dist/api/content/types.d.ts +1 -0
- package/dist/api/migration-center/types.d.ts +19 -18
- package/dist/api/migration-center/types.js.map +1 -1
- package/dist/api/site/index.d.ts +4 -1
- package/dist/api/site/index.js +12 -0
- package/dist/api/site/index.js.map +1 -1
- package/dist/api/site/types.d.ts +16 -0
- package/dist/api/tags/index.d.ts +3 -2
- package/dist/api/tags/index.js +5 -1
- package/dist/api/tags/index.js.map +1 -1
- package/dist/api/tags/types.d.ts +16 -5
- package/dist/utils/arc/ans.d.ts +2 -0
- package/dist/utils/arc/ans.js +14 -0
- package/dist/utils/arc/ans.js.map +1 -0
- package/dist/utils/arc/index.d.ts +2 -0
- package/dist/utils/arc/index.js +2 -0
- package/dist/utils/arc/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ArcAbstractAPI, ArcAPIOptions } from '../abstract-api';
|
|
2
|
-
import {
|
|
2
|
+
import { ListAuthorsParams, ListAuthorsResponse } from './types';
|
|
3
3
|
export declare class ArcAuthor extends ArcAbstractAPI {
|
|
4
4
|
constructor(options: ArcAPIOptions);
|
|
5
|
-
listAuthors(): Promise<
|
|
5
|
+
listAuthors(params?: ListAuthorsParams): Promise<ListAuthorsResponse>;
|
|
6
6
|
delete(userId: string): Promise<void>;
|
|
7
7
|
}
|
package/dist/api/author/index.js
CHANGED
|
@@ -6,9 +6,9 @@ class ArcAuthor extends abstract_api_1.ArcAbstractAPI {
|
|
|
6
6
|
constructor(options) {
|
|
7
7
|
super({ ...options, apiPath: 'author' });
|
|
8
8
|
}
|
|
9
|
-
async listAuthors() {
|
|
10
|
-
const { data } = await this.client.get(`/v2/author-service
|
|
11
|
-
return data
|
|
9
|
+
async listAuthors(params) {
|
|
10
|
+
const { data } = await this.client.get(`/v2/author-service`, { params });
|
|
11
|
+
return data;
|
|
12
12
|
}
|
|
13
13
|
async delete(userId) {
|
|
14
14
|
const { data } = await this.client.delete(`/v2/author-service/${userId}`);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/api/author/index.ts"],"names":[],"mappings":";;;AAAA,kDAAgE;AAGhE,MAAa,SAAU,SAAQ,6BAAc;IAC3C,YAAY,OAAsB;QAChC,KAAK,CAAC,EAAE,GAAG,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,CAAC,CAAC;IAC3C,CAAC;IAED,KAAK,CAAC,WAAW;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/api/author/index.ts"],"names":[],"mappings":";;;AAAA,kDAAgE;AAGhE,MAAa,SAAU,SAAQ,6BAAc;IAC3C,YAAY,OAAsB;QAChC,KAAK,CAAC,EAAE,GAAG,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,CAAC,CAAC;IAC3C,CAAC;IAED,KAAK,CAAC,WAAW,CAAC,MAA0B;QAC1C,MAAM,EAAE,IAAI,EAAE,GAAG,MAAM,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,oBAAoB,EAAE,EAAE,MAAM,EAAE,CAAC,CAAC;QAEzE,OAAO,IAAI,CAAC;IACd,CAAC;IAED,KAAK,CAAC,MAAM,CAAC,MAAc;QACzB,MAAM,EAAE,IAAI,EAAE,GAAG,MAAM,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,sBAAsB,MAAM,EAAE,CAAC,CAAC;QAE1E,OAAO,IAAI,CAAC;IACd,CAAC;CACF;AAhBD,8BAgBC"}
|
package/dist/api/author/types.js
CHANGED
|
@@ -10,30 +10,31 @@ export type AuthorANS = {
|
|
|
10
10
|
firstName: string;
|
|
11
11
|
lastName: string;
|
|
12
12
|
byline: string;
|
|
13
|
+
slug: string;
|
|
13
14
|
email: string;
|
|
14
|
-
|
|
15
|
+
image?: string;
|
|
16
|
+
affiliations?: string;
|
|
15
17
|
author_type?: string;
|
|
16
|
-
education
|
|
18
|
+
education?: {
|
|
17
19
|
name: string;
|
|
18
20
|
}[];
|
|
19
|
-
awards
|
|
21
|
+
awards?: {
|
|
20
22
|
name: string;
|
|
21
23
|
}[];
|
|
22
|
-
bio_page
|
|
23
|
-
bio
|
|
24
|
-
longBio
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
status: boolean;
|
|
24
|
+
bio_page?: string;
|
|
25
|
+
bio?: string;
|
|
26
|
+
longBio?: string;
|
|
27
|
+
native_app_rendering?: boolean;
|
|
28
|
+
fuzzy_match?: boolean;
|
|
29
|
+
contributor?: boolean;
|
|
30
|
+
location?: string;
|
|
31
|
+
role?: string;
|
|
32
|
+
expertise?: string;
|
|
33
|
+
personal_website?: string;
|
|
34
|
+
twitter?: string;
|
|
35
|
+
facebook?: string;
|
|
36
|
+
linkedin?: string;
|
|
37
|
+
status?: boolean;
|
|
37
38
|
};
|
|
38
39
|
export type CirculationReference = {
|
|
39
40
|
document_id: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/api/migration-center/types.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/api/migration-center/types.ts"],"names":[],"mappings":";;;AAqFA,IAAY,OAQX;AARD,WAAY,OAAO;IACjB,0BAAe,CAAA;IACf,0BAAe,CAAA;IACf,sBAAW,CAAA;IACX,4BAAiB,CAAA;IACjB,8BAAmB,CAAA;IACnB,0BAAe,CAAA;IACf,gCAAqB,CAAA;AACvB,CAAC,EARW,OAAO,uBAAP,OAAO,QAQlB;AAED,IAAY,eAcX;AAdD,WAAY,eAAe;IACzB,sCAAmB,CAAA;IACnB,oCAAiB,CAAA;IACjB,4CAAyB,CAAA;IACzB,0CAAuB,CAAA;IACvB,0CAAuB,CAAA;IACvB,0CAAuB,CAAA;IACvB,0CAAuB,CAAA;IACvB,0CAAuB,CAAA;IACvB,0CAAuB,CAAA;IACvB,8CAA2B,CAAA;IAC3B,4CAAyB,CAAA;IACzB,sCAAmB,CAAA;IACnB,wDAAqC,CAAA;AACvC,CAAC,EAdW,eAAe,+BAAf,eAAe,QAc1B;AA4DD,IAAY,aAIX;AAJD,WAAY,aAAa;IACvB,0CAAyB,CAAA;IACzB,0CAAyB,CAAA;IACzB,0BAAS,CAAA;AACX,CAAC,EAJW,aAAa,6BAAb,aAAa,QAIxB;AAED,IAAY,gBAGX;AAHD,WAAY,gBAAgB;IAC1B,+BAAW,CAAA;IACX,iCAAa,CAAA;AACf,CAAC,EAHW,gBAAgB,gCAAhB,gBAAgB,QAG3B"}
|
package/dist/api/site/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Section, SetSection } from '../../types/section';
|
|
2
2
|
import { ArcAbstractAPI, ArcAPIOptions } from '../abstract-api';
|
|
3
|
-
import { GetSectionsResponse, Website } from './types';
|
|
3
|
+
import { GetLinksParams, GetLinksResponse, GetSectionsResponse, Link, Website } from './types';
|
|
4
4
|
export declare class ArcSite extends ArcAbstractAPI {
|
|
5
5
|
constructor(options: ArcAPIOptions);
|
|
6
6
|
getSections(website: string, offset?: number): Promise<GetSectionsResponse>;
|
|
@@ -8,4 +8,7 @@ export declare class ArcSite extends ArcAbstractAPI {
|
|
|
8
8
|
deleteSection(id: string, website: string): Promise<void>;
|
|
9
9
|
putSection(section: SetSection): Promise<any>;
|
|
10
10
|
getWebsites(): Promise<Website[]>;
|
|
11
|
+
putLink(link: Link): Promise<Link>;
|
|
12
|
+
deleteLink(id: string, website: string): Promise<any>;
|
|
13
|
+
getLinks(params: GetLinksParams): Promise<GetLinksResponse>;
|
|
11
14
|
}
|
package/dist/api/site/index.js
CHANGED
|
@@ -27,6 +27,18 @@ class ArcSite extends abstract_api_1.ArcAbstractAPI {
|
|
|
27
27
|
const { data } = await this.client.get('/website');
|
|
28
28
|
return data;
|
|
29
29
|
}
|
|
30
|
+
async putLink(link) {
|
|
31
|
+
const { data } = await this.client.put(`/website/${link._website}/link/${link._id}`, link);
|
|
32
|
+
return data;
|
|
33
|
+
}
|
|
34
|
+
async deleteLink(id, website) {
|
|
35
|
+
const { data } = await this.client.delete(`/website/${website}/link/${id}`);
|
|
36
|
+
return data;
|
|
37
|
+
}
|
|
38
|
+
async getLinks(params) {
|
|
39
|
+
const { data } = await this.client.get(`/website/${params.website}/link`, { params });
|
|
40
|
+
return data;
|
|
41
|
+
}
|
|
30
42
|
}
|
|
31
43
|
exports.ArcSite = ArcSite;
|
|
32
44
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/api/site/index.ts"],"names":[],"mappings":";;;AACA,kDAAgE;AAGhE,MAAa,OAAQ,SAAQ,6BAAc;IACzC,YAAY,OAAsB;QAChC,KAAK,CAAC,EAAE,GAAG,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,CAAC,CAAC;IAC5C,CAAC;IAED,KAAK,CAAC,WAAW,CAAC,OAAe,EAAE,MAAe;QAChD,MAAM,EAAE,IAAI,EAAE,GAAG,MAAM,IAAI,CAAC,MAAM,CAAC,GAAG,CAAsB,YAAY,OAAO,UAAU,EAAE;YACzF,MAAM,EAAE,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,EAAE;SACtC,CAAC,CAAC;QAEH,OAAO,IAAI,CAAC;IACd,CAAC;IAED,KAAK,CAAC,UAAU,CAAC,EAAU,EAAE,OAAe;QAC1C,MAAM,EAAE,IAAI,EAAE,GAAG,MAAM,IA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M,CAAC,OAAO,OAAO,EAAE,EAAE,MAAM,EAAE,CAAC,CAAC;QAExG,OAAO,IAAI,CAAC;IACd,CAAC;CACF;AApDD,0BAoDC"}
|
package/dist/api/site/types.d.ts
CHANGED
|
@@ -13,3 +13,19 @@ export type GetSectionsResponse = {
|
|
|
13
13
|
total_count: number;
|
|
14
14
|
q_results: Section[];
|
|
15
15
|
};
|
|
16
|
+
export type Link = {
|
|
17
|
+
_id: string;
|
|
18
|
+
_website: string;
|
|
19
|
+
url: string;
|
|
20
|
+
display_name: string;
|
|
21
|
+
parent: Record<string, string | number | boolean>;
|
|
22
|
+
order: Record<string, string | number | boolean>;
|
|
23
|
+
};
|
|
24
|
+
export type GetLinksParams = {
|
|
25
|
+
website: string;
|
|
26
|
+
offset?: number;
|
|
27
|
+
limit?: number;
|
|
28
|
+
};
|
|
29
|
+
export type GetLinksResponse = {
|
|
30
|
+
q_results: Link[];
|
|
31
|
+
};
|
package/dist/api/tags/index.d.ts
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { ArcAbstractAPI, ArcAPIOptions } from '../abstract-api';
|
|
2
|
-
import { DeleteTagRequest,
|
|
2
|
+
import { DeleteTagRequest, GetAllTagsParams, AddTagRequest, GetTagsResponse, AddTagsResponse, DeleteTagsResponse, SearchTagsParams } from './types';
|
|
3
3
|
export declare class ArcTags extends ArcAbstractAPI {
|
|
4
4
|
constructor(options: ArcAPIOptions);
|
|
5
|
-
|
|
5
|
+
getAllTags(params: GetAllTagsParams): Promise<GetTagsResponse>;
|
|
6
|
+
searchTags(params: SearchTagsParams): Promise<GetTagsResponse>;
|
|
6
7
|
addTags(payload: AddTagRequest): Promise<AddTagsResponse>;
|
|
7
8
|
deleteTags(payload: DeleteTagRequest): Promise<DeleteTagsResponse>;
|
|
8
9
|
}
|
package/dist/api/tags/index.js
CHANGED
|
@@ -6,7 +6,11 @@ class ArcTags extends abstract_api_1.ArcAbstractAPI {
|
|
|
6
6
|
constructor(options) {
|
|
7
7
|
super({ ...options, apiPath: 'tags' });
|
|
8
8
|
}
|
|
9
|
-
async
|
|
9
|
+
async getAllTags(params) {
|
|
10
|
+
const { data } = await this.client.get(`/`, { params });
|
|
11
|
+
return data;
|
|
12
|
+
}
|
|
13
|
+
async searchTags(params) {
|
|
10
14
|
const { data } = await this.client.get(`/search`, { params });
|
|
11
15
|
return data;
|
|
12
16
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/api/tags/index.ts"],"names":[],"mappings":";;;AAAA,kDAAgE;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/api/tags/index.ts"],"names":[],"mappings":";;;AAAA,kDAAgE;AAWhE,MAAa,OAAQ,SAAQ,6BAAc;IACzC,YAAY,OAAsB;QAChC,KAAK,CAAC,EAAE,GAAG,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,CAAC,CAAC;IACzC,CAAC;IAED,KAAK,CAAC,UAAU,CAAC,MAAwB;QACvC,MAAM,EAAE,IAAI,EAAE,GAAG,MAAM,IAAI,CAAC,MAAM,CAAC,GAAG,CAAkB,GAAG,EAAE,EAAE,MAAM,EAAE,CAAC,CAAC;QACzE,OAAO,IAAI,CAAC;IACd,CAAC;IAED,KAAK,CAAC,UAAU,CAAC,MAAwB;QACvC,MAAM,EAAE,IAAI,EAAE,GAAG,MAAM,IAAI,CAAC,MAAM,CAAC,GAAG,CAAkB,SAAS,EAAE,EAAE,MAAM,EAAE,CAAC,CAAC;QAC/E,OAAO,IAAI,CAAC;IACd,CAAC;IAED,KAAK,CAAC,OAAO,CAAC,OAAsB;QAClC,MAAM,EAAE,IAAI,EAAE,GAAG,MAAM,IAAI,CAAC,MAAM,CAAC,IAAI,CAAkB,MAAM,EAAE,OAAO,CAAC,CAAC;QAC1E,OAAO,IAAI,CAAC;IACd,CAAC;IAED,KAAK,CAAC,UAAU,CAAC,OAAyB;QACxC,MAAM,EAAE,IAAI,EAAE,GAAG,MAAM,IAAI,CAAC,MAAM,CAAC,IAAI,CAAqB,SAAS,EAAE,OAAO,CAAC,CAAC;QAChF,OAAO,IAAI,CAAC;IACd,CAAC;CACF;AAxBD,0BAwBC"}
|
package/dist/api/tags/types.d.ts
CHANGED
|
@@ -9,15 +9,26 @@ export type Tag = {
|
|
|
9
9
|
*/
|
|
10
10
|
path: string;
|
|
11
11
|
};
|
|
12
|
-
export type
|
|
12
|
+
export type SearchTagsParams = {
|
|
13
13
|
term?: string;
|
|
14
14
|
/**
|
|
15
|
-
|
|
16
|
-
|
|
15
|
+
* Should always set to /.
|
|
16
|
+
*/
|
|
17
17
|
path?: string;
|
|
18
18
|
/**
|
|
19
|
-
|
|
20
|
-
|
|
19
|
+
* Limit the number of items to return. Does not currently work. Check the documentation
|
|
20
|
+
*/
|
|
21
|
+
size?: number;
|
|
22
|
+
};
|
|
23
|
+
export type GetAllTagsParams = {
|
|
24
|
+
from?: string;
|
|
25
|
+
/**
|
|
26
|
+
* Should always set to /.
|
|
27
|
+
*/
|
|
28
|
+
path?: string;
|
|
29
|
+
/**
|
|
30
|
+
* Limit the number of items to return. Does not currently work. Check the documentation
|
|
31
|
+
*/
|
|
21
32
|
size?: number;
|
|
22
33
|
};
|
|
23
34
|
export type GetTagsResponse = {
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.reference = void 0;
|
|
4
|
+
const reference = (ref) => {
|
|
5
|
+
return {
|
|
6
|
+
_id: ref.id,
|
|
7
|
+
type: 'reference',
|
|
8
|
+
referent: {
|
|
9
|
+
...ref,
|
|
10
|
+
},
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
exports.reference = reference;
|
|
14
|
+
//# sourceMappingURL=ans.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ans.js","sourceRoot":"","sources":["../../../src/utils/arc/ans.ts"],"names":[],"mappings":";;;AAEO,MAAM,SAAS,GAAG,CAAC,GAAmD,EAAsC,EAAE;IACnH,OAAO;QACL,GAAG,EAAE,GAAG,CAAC,EAAE;QACX,IAAI,EAAE,WAAoB;QAC1B,QAAQ,EAAE;YACR,GAAG,GAAG;SACP;KACF,CAAC;AACJ,CAAC,CAAC;AARW,QAAA,SAAS,aAQpB"}
|
package/dist/utils/arc/index.js
CHANGED
|
@@ -26,10 +26,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
26
26
|
exports.ArcUtils = void 0;
|
|
27
27
|
const generate_id_1 = require("./generate-id");
|
|
28
28
|
const content = __importStar(require("./content"));
|
|
29
|
+
const ans = __importStar(require("./ans"));
|
|
29
30
|
exports.ArcUtils = {
|
|
30
31
|
common: {
|
|
31
32
|
generateArcId: generate_id_1.generateArcId,
|
|
32
33
|
},
|
|
34
|
+
ans,
|
|
33
35
|
content,
|
|
34
36
|
};
|
|
35
37
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/utils/arc/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+CAA8C;AAC9C,mDAAqC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/utils/arc/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+CAA8C;AAC9C,mDAAqC;AACrC,2CAA6B;AAEhB,QAAA,QAAQ,GAAG;IACtB,MAAM,EAAE;QACN,aAAa,EAAb,2BAAa;KACd;IACD,GAAG;IACH,OAAO;CACR,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@code.store/arcxp-sdk-ts",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.25.1",
|
|
4
4
|
"description": "A strongly typed set of ArcXP API's and utilities reduce the amount of work required to develop with ArcXP, starting with reducing the boilerplate code you have to write.",
|
|
5
5
|
"type": "commonjs",
|
|
6
6
|
"main": "./dist/index.js",
|