@wix/auto_sdk_blog_blog-importer 1.0.13 → 1.0.15

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.
@@ -1,103 +0,0 @@
1
- interface ImportStatus {
2
- /** Import Id. */
3
- _id?: string;
4
- /** File name of wordpress xml file that is being imported. */
5
- fileName?: string;
6
- /** Status of the latest import. */
7
- status?: StatusWithLiterals;
8
- /** Total amount of entities to be imported. */
9
- importAmount?: number;
10
- /** Amount of entities imported successfully. */
11
- alreadyImportedAmount?: number;
12
- /** Amount of entities processed. */
13
- processedAmount?: number;
14
- /**
15
- * Url for the page that is being imported.
16
- * @maxLength 100
17
- */
18
- url?: string | null;
19
- }
20
- declare enum Status {
21
- UNKNOWN = "UNKNOWN",
22
- READY_TO_IMPORT = "READY_TO_IMPORT",
23
- STARTED = "STARTED",
24
- FAILED = "FAILED",
25
- DONE = "DONE",
26
- PARSING_URL = "PARSING_URL",
27
- NOT_FOUND = "NOT_FOUND"
28
- }
29
- /** @enumType */
30
- type StatusWithLiterals = Status | 'UNKNOWN' | 'READY_TO_IMPORT' | 'STARTED' | 'FAILED' | 'DONE' | 'PARSING_URL' | 'NOT_FOUND';
31
- interface StartImportRequest {
32
- /** Should publish the posts after import. */
33
- shouldPublish?: boolean | null;
34
- }
35
- interface StartImportResponse {
36
- }
37
- interface SubmitUrlForImportRequest {
38
- /**
39
- * Url to wordpress xml file.
40
- * @maxLength 100
41
- */
42
- url: string;
43
- /**
44
- * Domain of the site without www or https://.
45
- * @maxLength 100
46
- */
47
- siteDomain?: string | null;
48
- }
49
- interface SubmitUrlForImportResponse {
50
- }
51
- interface ValidateUrlForImportRequest {
52
- /**
53
- * Url for wordpress site.
54
- * @maxLength 100
55
- */
56
- url: string | null;
57
- }
58
- interface ValidateUrlForImportResponse {
59
- /** Number of posts. */
60
- totalPosts?: number | null;
61
- /**
62
- * Blog title.
63
- * @maxLength 100
64
- */
65
- blogTitle?: string | null;
66
- }
67
- interface DeleteNotImportedRequest {
68
- }
69
- interface DeleteNotImportedResponse {
70
- }
71
- interface GetImportStatusRequest {
72
- }
73
- interface GetImportStatusResponse {
74
- /** Details of import progress. */
75
- importStatus?: ImportStatus;
76
- }
77
- interface GetNotImportedPostsRequest {
78
- }
79
- interface GetNotImportedPostsResponse {
80
- /** Failed entities. */
81
- notImportedPosts?: Post[];
82
- }
83
- interface Post {
84
- /** The id of the post. */
85
- _id?: string;
86
- /** Title of the post. */
87
- title?: string;
88
- /** Url to posts in wordpress. */
89
- url?: string;
90
- }
91
- interface StartImportOptions {
92
- /** Should publish the posts after import. */
93
- shouldPublish?: boolean | null;
94
- }
95
- interface SubmitUrlForImportOptions {
96
- /**
97
- * Domain of the site without www or https://.
98
- * @maxLength 100
99
- */
100
- siteDomain?: string | null;
101
- }
102
-
103
- export { type DeleteNotImportedRequest as D, type GetImportStatusResponse as G, type ImportStatus as I, type Post as P, type StartImportOptions as S, type ValidateUrlForImportResponse as V, type SubmitUrlForImportOptions as a, type GetNotImportedPostsResponse as b, Status as c, type StartImportRequest as d, type StartImportResponse as e, type SubmitUrlForImportRequest as f, type SubmitUrlForImportResponse as g, type ValidateUrlForImportRequest as h, type DeleteNotImportedResponse as i, type GetImportStatusRequest as j, type GetNotImportedPostsRequest as k };
@@ -1,103 +0,0 @@
1
- interface ImportStatus {
2
- /** Import Id. */
3
- _id?: string;
4
- /** File name of wordpress xml file that is being imported. */
5
- fileName?: string;
6
- /** Status of the latest import. */
7
- status?: StatusWithLiterals;
8
- /** Total amount of entities to be imported. */
9
- importAmount?: number;
10
- /** Amount of entities imported successfully. */
11
- alreadyImportedAmount?: number;
12
- /** Amount of entities processed. */
13
- processedAmount?: number;
14
- /**
15
- * Url for the page that is being imported.
16
- * @maxLength 100
17
- */
18
- url?: string | null;
19
- }
20
- declare enum Status {
21
- UNKNOWN = "UNKNOWN",
22
- READY_TO_IMPORT = "READY_TO_IMPORT",
23
- STARTED = "STARTED",
24
- FAILED = "FAILED",
25
- DONE = "DONE",
26
- PARSING_URL = "PARSING_URL",
27
- NOT_FOUND = "NOT_FOUND"
28
- }
29
- /** @enumType */
30
- type StatusWithLiterals = Status | 'UNKNOWN' | 'READY_TO_IMPORT' | 'STARTED' | 'FAILED' | 'DONE' | 'PARSING_URL' | 'NOT_FOUND';
31
- interface StartImportRequest {
32
- /** Should publish the posts after import. */
33
- shouldPublish?: boolean | null;
34
- }
35
- interface StartImportResponse {
36
- }
37
- interface SubmitUrlForImportRequest {
38
- /**
39
- * Url to wordpress xml file.
40
- * @maxLength 100
41
- */
42
- url: string;
43
- /**
44
- * Domain of the site without www or https://.
45
- * @maxLength 100
46
- */
47
- siteDomain?: string | null;
48
- }
49
- interface SubmitUrlForImportResponse {
50
- }
51
- interface ValidateUrlForImportRequest {
52
- /**
53
- * Url for wordpress site.
54
- * @maxLength 100
55
- */
56
- url: string | null;
57
- }
58
- interface ValidateUrlForImportResponse {
59
- /** Number of posts. */
60
- totalPosts?: number | null;
61
- /**
62
- * Blog title.
63
- * @maxLength 100
64
- */
65
- blogTitle?: string | null;
66
- }
67
- interface DeleteNotImportedRequest {
68
- }
69
- interface DeleteNotImportedResponse {
70
- }
71
- interface GetImportStatusRequest {
72
- }
73
- interface GetImportStatusResponse {
74
- /** Details of import progress. */
75
- importStatus?: ImportStatus;
76
- }
77
- interface GetNotImportedPostsRequest {
78
- }
79
- interface GetNotImportedPostsResponse {
80
- /** Failed entities. */
81
- notImportedPosts?: Post[];
82
- }
83
- interface Post {
84
- /** The id of the post. */
85
- _id?: string;
86
- /** Title of the post. */
87
- title?: string;
88
- /** Url to posts in wordpress. */
89
- url?: string;
90
- }
91
- interface StartImportOptions {
92
- /** Should publish the posts after import. */
93
- shouldPublish?: boolean | null;
94
- }
95
- interface SubmitUrlForImportOptions {
96
- /**
97
- * Domain of the site without www or https://.
98
- * @maxLength 100
99
- */
100
- siteDomain?: string | null;
101
- }
102
-
103
- export { type DeleteNotImportedRequest as D, type GetImportStatusResponse as G, type ImportStatus as I, type Post as P, type StartImportOptions as S, type ValidateUrlForImportResponse as V, type SubmitUrlForImportOptions as a, type GetNotImportedPostsResponse as b, Status as c, type StartImportRequest as d, type StartImportResponse as e, type SubmitUrlForImportRequest as f, type SubmitUrlForImportResponse as g, type ValidateUrlForImportRequest as h, type DeleteNotImportedResponse as i, type GetImportStatusRequest as j, type GetNotImportedPostsRequest as k };