@code.store/arcxp-sdk-ts 4.6.3 → 4.8.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.
- package/dist/api/index.d.ts +4 -0
- package/dist/api/index.js +4 -0
- package/dist/api/index.js.map +1 -1
- package/dist/api/photo-center/index.d.ts +6 -0
- package/dist/api/photo-center/index.js +15 -0
- package/dist/api/photo-center/index.js.map +1 -0
- package/dist/api/photo-center/types.d.ts +1 -0
- package/dist/api/photo-center/types.js +3 -0
- package/dist/api/photo-center/types.js.map +1 -0
- package/dist/api/signing-service/index.d.ts +6 -0
- package/dist/api/signing-service/index.js +15 -0
- package/dist/api/signing-service/index.js.map +1 -0
- package/dist/api/signing-service/types.d.ts +4 -0
- package/dist/api/signing-service/types.js +3 -0
- package/dist/api/signing-service/types.js.map +1 -0
- package/dist/api/websked/index.d.ts +3 -1
- package/dist/api/websked/index.js +8 -0
- package/dist/api/websked/index.js.map +1 -1
- package/dist/api/websked/types.d.ts +154 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/api/index.d.ts
CHANGED
|
@@ -5,7 +5,9 @@ import { ArcDraft } from './draft';
|
|
|
5
5
|
import { ArcIdentity } from './identity';
|
|
6
6
|
import { ArcIFX } from './ifx';
|
|
7
7
|
import { ArcMigrationCenter } from './migration-center';
|
|
8
|
+
import { ArcProtoCenter } from './photo-center';
|
|
8
9
|
import { ArcSales } from './sales';
|
|
10
|
+
import { ArcSigningService } from './signing-service';
|
|
9
11
|
import { ArcSite } from './site';
|
|
10
12
|
import { ArcWebsked } from './websked';
|
|
11
13
|
import { WsClient } from './ws.client';
|
|
@@ -21,4 +23,6 @@ export declare const ArcAPI: (options: ArcAPIOptions) => {
|
|
|
21
23
|
Site: ArcSite;
|
|
22
24
|
Websked: ArcWebsked;
|
|
23
25
|
Content: ArcContent;
|
|
26
|
+
SigningService: ArcSigningService;
|
|
27
|
+
PhotoCenter: ArcProtoCenter;
|
|
24
28
|
};
|
package/dist/api/index.js
CHANGED
|
@@ -7,7 +7,9 @@ const draft_1 = require("./draft");
|
|
|
7
7
|
const identity_1 = require("./identity");
|
|
8
8
|
const ifx_1 = require("./ifx");
|
|
9
9
|
const migration_center_1 = require("./migration-center");
|
|
10
|
+
const photo_center_1 = require("./photo-center");
|
|
10
11
|
const sales_1 = require("./sales");
|
|
12
|
+
const signing_service_1 = require("./signing-service");
|
|
11
13
|
const site_1 = require("./site");
|
|
12
14
|
const websked_1 = require("./websked");
|
|
13
15
|
const ws_client_1 = require("./ws.client");
|
|
@@ -22,6 +24,8 @@ const ArcAPI = (options) => {
|
|
|
22
24
|
Site: new site_1.ArcSite(options),
|
|
23
25
|
Websked: new websked_1.ArcWebsked(options),
|
|
24
26
|
Content: new content_1.ArcContent(options),
|
|
27
|
+
SigningService: new signing_service_1.ArcSigningService(options),
|
|
28
|
+
PhotoCenter: new photo_center_1.ArcProtoCenter(options),
|
|
25
29
|
};
|
|
26
30
|
return {
|
|
27
31
|
...API,
|
package/dist/api/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/api/index.ts"],"names":[],"mappings":";;;AACA,qCAAqC;AACrC,uCAAuC;AACvC,mCAAmC;AACnC,yCAAyC;AACzC,+BAA+B;AAC/B,yDAAwD;AACxD,mCAAmC;AACnC,iCAAiC;AACjC,uCAAuC;AACvC,2CAAuC;AAEhC,MAAM,MAAM,GAAG,CAAC,OAAsB,EAAE,EAAE;IAC/C,MAAM,GAAG,GAAG;QACV,MAAM,EAAE,IAAI,kBAAS,CAAC,OAAO,CAAC;QAC9B,KAAK,EAAE,IAAI,gBAAQ,CAAC,OAAO,CAAC;QAC5B,QAAQ,EAAE,IAAI,sBAAW,CAAC,OAAO,CAAC;QAClC,GAAG,EAAE,IAAI,YAAM,CAAC,OAAO,CAAC;QACxB,eAAe,EAAE,IAAI,qCAAkB,CAAC,OAAO,CAAC;QAChD,KAAK,EAAE,IAAI,gBAAQ,CAAC,OAAO,CAAC;QAC5B,IAAI,EAAE,IAAI,cAAO,CAAC,OAAO,CAAC;QAC1B,OAAO,EAAE,IAAI,oBAAU,CAAC,OAAO,CAAC;QAChC,OAAO,EAAE,IAAI,oBAAU,CAAC,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/api/index.ts"],"names":[],"mappings":";;;AACA,qCAAqC;AACrC,uCAAuC;AACvC,mCAAmC;AACnC,yCAAyC;AACzC,+BAA+B;AAC/B,yDAAwD;AACxD,iDAAgD;AAChD,mCAAmC;AACnC,uDAAsD;AACtD,iCAAiC;AACjC,uCAAuC;AACvC,2CAAuC;AAEhC,MAAM,MAAM,GAAG,CAAC,OAAsB,EAAE,EAAE;IAC/C,MAAM,GAAG,GAAG;QACV,MAAM,EAAE,IAAI,kBAAS,CAAC,OAAO,CAAC;QAC9B,KAAK,EAAE,IAAI,gBAAQ,CAAC,OAAO,CAAC;QAC5B,QAAQ,EAAE,IAAI,sBAAW,CAAC,OAAO,CAAC;QAClC,GAAG,EAAE,IAAI,YAAM,CAAC,OAAO,CAAC;QACxB,eAAe,EAAE,IAAI,qCAAkB,CAAC,OAAO,CAAC;QAChD,KAAK,EAAE,IAAI,gBAAQ,CAAC,OAAO,CAAC;QAC5B,IAAI,EAAE,IAAI,cAAO,CAAC,OAAO,CAAC;QAC1B,OAAO,EAAE,IAAI,oBAAU,CAAC,OAAO,CAAC;QAChC,OAAO,EAAE,IAAI,oBAAU,CAAC,OAAO,CAAC;QAChC,cAAc,EAAE,IAAI,mCAAiB,CAAC,OAAO,CAAC;QAC9C,WAAW,EAAE,IAAI,6BAAc,CAAC,OAAO,CAAC;KACzC,CAAC;IAEF,OAAO;QACL,GAAG,GAAG;QACN,SAAS,EAAE,CAAC,GAAW,EAAE,EAAE;YACzB,MAAM,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC,CAAC;QACtD,CAAC;QACD,YAAY,EAAE,CAAC,QAA8B,GAAG,EAAE,EAAE;YAClD,MAAM,OAAO,GAAG,aAAa,OAAO,CAAC,WAAW,CAAC,gBAAgB,iDAAiD,KAAK,EAAE,CAAC;YAC1H,MAAM,OAAO,GAAG;gBACd,aAAa,EAAE,UAAU,OAAO,CAAC,WAAW,CAAC,WAAW,EAAE;aAC3D,CAAC;YACF,OAAO,IAAI,oBAAQ,CAAC,OAAO,EAAE,EAAE,OAAO,EAAE,CAAC,CAAC;QAC5C,CAAC;KACF,CAAC;AACJ,CAAC,CAAC;AA5BW,QAAA,MAAM,UA4BjB"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { AnImage } from '../../types/story';
|
|
2
|
+
import { ArcAbstractAPI, ArcAPIOptions } from '../abstract-api';
|
|
3
|
+
export declare class ArcProtoCenter extends ArcAbstractAPI {
|
|
4
|
+
constructor(options: ArcAPIOptions);
|
|
5
|
+
getImageDataById(photoId: string): Promise<AnImage>;
|
|
6
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ArcProtoCenter = void 0;
|
|
4
|
+
const abstract_api_1 = require("../abstract-api");
|
|
5
|
+
class ArcProtoCenter extends abstract_api_1.ArcAbstractAPI {
|
|
6
|
+
constructor(options) {
|
|
7
|
+
super({ ...options, apiPath: 'photo/api' });
|
|
8
|
+
}
|
|
9
|
+
async getImageDataById(photoId) {
|
|
10
|
+
const { data } = await this.client.get(`/v2/photos/${photoId}`);
|
|
11
|
+
return data;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
exports.ArcProtoCenter = ArcProtoCenter;
|
|
15
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/api/photo-center/index.ts"],"names":[],"mappings":";;;AACA,kDAAgE;AAEhE,MAAa,cAAe,SAAQ,6BAAc;IAChD,YAAY,OAAsB;QAChC,KAAK,CAAC,EAAE,GAAG,OAAO,EAAE,OAAO,EAAE,WAAW,EAAE,CAAC,CAAC;IAC9C,CAAC;IACD,KAAK,CAAC,gBAAgB,CAAC,OAAe;QACpC,MAAM,EAAE,IAAI,EAAE,GAAG,MAAM,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,cAAc,OAAO,EAAE,CAAC,CAAC;QAChE,OAAO,IAAI,CAAC;IACd,CAAC;CACF;AARD,wCAQC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/api/photo-center/types.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { ArcAbstractAPI, ArcAPIOptions } from '../abstract-api';
|
|
2
|
+
import { SignResponse } from './types';
|
|
3
|
+
export declare class ArcSigningService extends ArcAbstractAPI {
|
|
4
|
+
constructor(options: ArcAPIOptions);
|
|
5
|
+
sign(service: string, serviceVersion: string, imageId: string): Promise<SignResponse>;
|
|
6
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ArcSigningService = void 0;
|
|
4
|
+
const abstract_api_1 = require("../abstract-api");
|
|
5
|
+
class ArcSigningService extends abstract_api_1.ArcAbstractAPI {
|
|
6
|
+
constructor(options) {
|
|
7
|
+
super({ ...options, apiPath: 'signing-service' });
|
|
8
|
+
}
|
|
9
|
+
async sign(service, serviceVersion, imageId) {
|
|
10
|
+
const { data } = await this.client.get(`/v2/sign/${service}/${serviceVersion}?value=${encodeURI(imageId)}`);
|
|
11
|
+
return data;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
exports.ArcSigningService = ArcSigningService;
|
|
15
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/api/signing-service/index.ts"],"names":[],"mappings":";;;AAAA,kDAAgE;AAGhE,MAAa,iBAAkB,SAAQ,6BAAc;IACnD,YAAY,OAAsB;QAChC,KAAK,CAAC,EAAE,GAAG,OAAO,EAAE,OAAO,EAAE,iBAAiB,EAAE,CAAC,CAAC;IACpD,CAAC;IACD,KAAK,CAAC,IAAI,CAAC,OAAe,EAAE,cAAsB,EAAE,OAAe;QACjE,MAAM,EAAE,IAAI,EAAE,GAAG,MAAM,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,YAAY,OAAO,IAAI,cAAc,UAAU,SAAS,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC;QAC5G,OAAO,IAAI,CAAC;IACd,CAAC;CACF;AARD,8CAQC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/api/signing-service/types.ts"],"names":[],"mappings":""}
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { ArcAbstractAPI, ArcAPIOptions } from '../abstract-api';
|
|
2
|
-
import { CreateTaskPayload, CreateTaskResponse, ReportStatusChangePayload } from './types';
|
|
2
|
+
import { CreateTaskPayload, CreateTaskResponse, GetPublicationsResponse, ReportStatusChangePayload, SectionStoriesPayload } from './types';
|
|
3
3
|
export declare class ArcWebsked extends ArcAbstractAPI {
|
|
4
4
|
constructor(options: ArcAPIOptions);
|
|
5
5
|
reportStatusChange(payload: ReportStatusChangePayload): Promise<void>;
|
|
6
6
|
createTask(payload: CreateTaskPayload): Promise<CreateTaskResponse>;
|
|
7
|
+
getSectionStories(publicationId: string, sectionId: string, timestamp: number, includeStories?: boolean): Promise<SectionStoriesPayload>;
|
|
8
|
+
getPublications(nameRegex: string): Promise<GetPublicationsResponse>;
|
|
7
9
|
}
|
|
@@ -14,6 +14,14 @@ class ArcWebsked extends abstract_api_1.ArcAbstractAPI {
|
|
|
14
14
|
const { data } = await this.client.post('/tasks', payload);
|
|
15
15
|
return data;
|
|
16
16
|
}
|
|
17
|
+
async getSectionStories(publicationId, sectionId, timestamp, includeStories = true) {
|
|
18
|
+
const { data } = await this.client.get(`/publications/${publicationId}/sections/${sectionId}/editions/${timestamp}`, { params: { includeStories } });
|
|
19
|
+
return data;
|
|
20
|
+
}
|
|
21
|
+
async getPublications(nameRegex) {
|
|
22
|
+
const { data } = await this.client.get(`/publications`, { params: { nameRegex } });
|
|
23
|
+
return data;
|
|
24
|
+
}
|
|
17
25
|
}
|
|
18
26
|
exports.ArcWebsked = ArcWebsked;
|
|
19
27
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/api/websked/index.ts"],"names":[],"mappings":";;;AAAA,kDAAgE;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/api/websked/index.ts"],"names":[],"mappings":";;;AAAA,kDAAgE;AAShE,MAAa,UAAW,SAAQ,6BAAc;IAC5C,YAAY,OAAsB;QAChC,KAAK,CAAC,EAAE,GAAG,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,CAAC,CAAC;IAC5C,CAAC;IAED,KAAK,CAAC,kBAAkB,CAAC,OAAkC;QACzD,MAAM,EAAE,IAAI,EAAE,GAAG,MAAM,IAAI,CAAC,MAAM,CAAC,IAAI,CAAO,6BAA6B,EAAE,OAAO,CAAC,CAAC;QACtF,OAAO,IAAI,CAAC;IACd,CAAC;IAED,KAAK,CAAC,UAAU,CAAC,OAA0B;QACzC,MAAM,EAAE,IAAI,EAAE,GAAG,MAAM,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAC;QAC3D,OAAO,IAAI,CAAC;IACd,CAAC;IAED,KAAK,CAAC,iBAAiB,CACrB,aAAqB,EACrB,SAAiB,EACjB,SAAiB,EACjB,cAAc,GAAG,IAAI;QAErB,MAAM,EAAE,IAAI,EAAE,GAAG,MAAM,IAAI,CAAC,MAAM,CAAC,GAAG,CACpC,iBAAiB,aAAa,aAAa,SAAS,aAAa,SAAS,EAAE,EAC5E,EAAE,MAAM,EAAE,EAAE,cAAc,EAAE,EAAE,CAC/B,CAAC;QACF,OAAO,IAAI,CAAC;IACd,CAAC;IAED,KAAK,CAAC,eAAe,CAAC,SAAiB;QACrC,MAAM,EAAE,IAAI,EAAE,GAAG,MAAM,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,eAAe,EAAE,EAAE,MAAM,EAAE,EAAE,SAAS,EAAE,EAAE,CAAC,CAAC;QACnF,OAAO,IAAI,CAAC;IACd,CAAC;CACF;AAhCD,gCAgCC"}
|
|
@@ -58,3 +58,157 @@ export type CreateTaskPayload = {
|
|
|
58
58
|
website: string;
|
|
59
59
|
authoringApp: string;
|
|
60
60
|
};
|
|
61
|
+
export interface WebskedStory {
|
|
62
|
+
id: string;
|
|
63
|
+
analytics: null;
|
|
64
|
+
cms: string;
|
|
65
|
+
cmsEditURL: string;
|
|
66
|
+
contentType: string;
|
|
67
|
+
creators: WebskedStoryCreator[];
|
|
68
|
+
dates: WebskedStoryDates;
|
|
69
|
+
distributorId: string;
|
|
70
|
+
editors: string | null;
|
|
71
|
+
headline: string;
|
|
72
|
+
html: string;
|
|
73
|
+
location: string | null;
|
|
74
|
+
media: WebskedStoryMedia;
|
|
75
|
+
closedPlans: string[];
|
|
76
|
+
openPlans: string[] | null;
|
|
77
|
+
sections: WebskedStorySection[];
|
|
78
|
+
originatingPlan: string;
|
|
79
|
+
primarySection: WebskedStorySection;
|
|
80
|
+
slug: string | null;
|
|
81
|
+
source: string;
|
|
82
|
+
sourceId: string;
|
|
83
|
+
sourceName: string;
|
|
84
|
+
sourceType: string;
|
|
85
|
+
sponsored: boolean;
|
|
86
|
+
status: WebskedStoryStatus;
|
|
87
|
+
storyLength: WebskedStoryLength;
|
|
88
|
+
summary: string;
|
|
89
|
+
url: string;
|
|
90
|
+
usage: number | null;
|
|
91
|
+
publicationPitches: WebskedPublicationPitch[] | null;
|
|
92
|
+
pitches: WebskedPublicationPitch[] | null;
|
|
93
|
+
pitchCount: number | null;
|
|
94
|
+
kill: number | null;
|
|
95
|
+
stats: WebskedStoryStats;
|
|
96
|
+
plannedTimeChangeLog: number | null;
|
|
97
|
+
ansNote: string;
|
|
98
|
+
note: string | null;
|
|
99
|
+
tags: string[] | null;
|
|
100
|
+
promoImage: string;
|
|
101
|
+
budgetLine: string | null;
|
|
102
|
+
subtype: string;
|
|
103
|
+
subheadline: string;
|
|
104
|
+
leadArt: string | null;
|
|
105
|
+
leadArtType: string | null;
|
|
106
|
+
leadArtResizedURL: string | null;
|
|
107
|
+
ownerName: string | null;
|
|
108
|
+
}
|
|
109
|
+
export interface WebskedStoryCreator {
|
|
110
|
+
contributorId: string | null;
|
|
111
|
+
email: string | null;
|
|
112
|
+
itemRole: string | null;
|
|
113
|
+
name: string;
|
|
114
|
+
role: string;
|
|
115
|
+
}
|
|
116
|
+
export interface WebskedStoryDates {
|
|
117
|
+
created: number;
|
|
118
|
+
planned: number | null;
|
|
119
|
+
published: number;
|
|
120
|
+
scheduled: number | null;
|
|
121
|
+
updated: number;
|
|
122
|
+
websked: number;
|
|
123
|
+
firstPublish: number;
|
|
124
|
+
latestPublish: number;
|
|
125
|
+
}
|
|
126
|
+
export interface WebskedStoryMedia {
|
|
127
|
+
galleries: unknown[];
|
|
128
|
+
graphics: unknown[];
|
|
129
|
+
images: WebskedStoryImage[];
|
|
130
|
+
videos: unknown[];
|
|
131
|
+
willHaveGalleries: boolean;
|
|
132
|
+
willHaveGraphics: boolean;
|
|
133
|
+
willHaveImages: boolean;
|
|
134
|
+
willHaveVideos: boolean;
|
|
135
|
+
}
|
|
136
|
+
export interface WebskedStorySection {
|
|
137
|
+
id: string;
|
|
138
|
+
website: string;
|
|
139
|
+
name: string;
|
|
140
|
+
}
|
|
141
|
+
export interface WebskedStoryStatus {
|
|
142
|
+
publish: number;
|
|
143
|
+
publishRaw: number | null;
|
|
144
|
+
workflow: number;
|
|
145
|
+
workflowRaw: number | null;
|
|
146
|
+
live: boolean;
|
|
147
|
+
note: string | null;
|
|
148
|
+
paywallStatus: string;
|
|
149
|
+
}
|
|
150
|
+
export interface WebskedStoryLength {
|
|
151
|
+
planned: number | null;
|
|
152
|
+
actual: number | null;
|
|
153
|
+
characterCountPlanned: number | null;
|
|
154
|
+
characterCountActual: number;
|
|
155
|
+
wordCountPlanned: number | null;
|
|
156
|
+
wordCountActual: number;
|
|
157
|
+
inchCountPlanned: number | null;
|
|
158
|
+
inchCountActual: number;
|
|
159
|
+
lineCountPlanned: number | null;
|
|
160
|
+
lineCountActual: number;
|
|
161
|
+
}
|
|
162
|
+
export interface WebskedPublicationPitch {
|
|
163
|
+
publicationId: string;
|
|
164
|
+
currentStatus: string;
|
|
165
|
+
currentEdition: string;
|
|
166
|
+
}
|
|
167
|
+
export interface WebskedStoryStats {
|
|
168
|
+
deadlineMiss: number | null;
|
|
169
|
+
creationToPublish: number;
|
|
170
|
+
}
|
|
171
|
+
export interface WebskedStoryImage {
|
|
172
|
+
title: string | null;
|
|
173
|
+
caption: string;
|
|
174
|
+
url: string;
|
|
175
|
+
creators: WebskedStoryCreator[];
|
|
176
|
+
height: number;
|
|
177
|
+
width: number;
|
|
178
|
+
location: (string | null)[];
|
|
179
|
+
}
|
|
180
|
+
export type SectionStoriesPayload = {
|
|
181
|
+
id: string;
|
|
182
|
+
publicationId: string;
|
|
183
|
+
sectionId: string;
|
|
184
|
+
publicationTime: 1698138000;
|
|
185
|
+
closed: boolean;
|
|
186
|
+
finalized: boolean;
|
|
187
|
+
pitchedCount: number;
|
|
188
|
+
pitchedStories: string[];
|
|
189
|
+
note: string | null;
|
|
190
|
+
storyIds: string[];
|
|
191
|
+
stories?: WebskedStory[];
|
|
192
|
+
};
|
|
193
|
+
export interface WebskedPublication {
|
|
194
|
+
createdDate: number;
|
|
195
|
+
createdBy: string;
|
|
196
|
+
id: string;
|
|
197
|
+
name: string;
|
|
198
|
+
description: string;
|
|
199
|
+
sections: WebskedPublicationSection[];
|
|
200
|
+
website: string;
|
|
201
|
+
publicationSetId: string | null;
|
|
202
|
+
}
|
|
203
|
+
export interface WebskedPublicationSection {
|
|
204
|
+
id: string;
|
|
205
|
+
name: string;
|
|
206
|
+
daysOfWeek: number[];
|
|
207
|
+
hoursOfDay: number[];
|
|
208
|
+
backlogId: string;
|
|
209
|
+
}
|
|
210
|
+
export type GetPublicationsResponse = {
|
|
211
|
+
pageNumber: number;
|
|
212
|
+
pageSize: number;
|
|
213
|
+
results: WebskedPublication[];
|
|
214
|
+
};
|
package/dist/index.d.ts
CHANGED
|
@@ -11,4 +11,5 @@ export * from './api/migration-center/types';
|
|
|
11
11
|
export * from './api/sales/types';
|
|
12
12
|
export * from './api/websked/types';
|
|
13
13
|
export * from './api/content/types';
|
|
14
|
+
export * from './api/photo-center/types';
|
|
14
15
|
export { ArcAPI, WsClient, ContentElement, ContentElementType, ArcTypes, ArcError };
|
package/dist/index.js
CHANGED
|
@@ -45,4 +45,5 @@ __exportStar(require("./api/migration-center/types"), exports);
|
|
|
45
45
|
__exportStar(require("./api/sales/types"), exports);
|
|
46
46
|
__exportStar(require("./api/websked/types"), exports);
|
|
47
47
|
__exportStar(require("./api/content/types"), exports);
|
|
48
|
+
__exportStar(require("./api/photo-center/types"), exports);
|
|
48
49
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+BAA+B;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+BAA+B;AAgBtB,uFAhBA,YAAM,OAgBA;AAff,yDAAwE;AAe7C,+FAflB,iCAAc,OAekB;AAdzC,+CAA2C;AAc1B,yFAdR,oBAAQ,OAcQ;AAbzB,uCAAuC;AAakC,yFAbhE,gBAAQ,OAagE;AAZjF,kDAAoC;AAY2B,4BAAQ;AAVvE,uDAAqC;AACrC,oDAAkC;AAClC,mDAAiC;AACjC,kDAAgC;AAChC,+DAA6C;AAC7C,oDAAkC;AAClC,sDAAoC;AACpC,sDAAoC;AACpC,2DAAyC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@code.store/arcxp-sdk-ts",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.8.0",
|
|
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",
|