@wix/blog_blog-importer
Advanced tools
Comparing version 1.0.11 to 1.0.12
import { HttpClient } from '@wix/sdk-types'; | ||
import { GetImportStatusResponse, GetImportStatusResponseNonNullableFields, GetNotImportedPostsResponse, GetNotImportedPostsResponseNonNullableFields, StartImportOptions, UploadFileForImportOptions, ValidateUrlForImportResponse } from './blog-v1-wordpress-import-blog-importer.universal'; | ||
import { GetImportStatusResponse, GetImportStatusResponseNonNullableFields, GetNotImportedPostsResponse, GetNotImportedPostsResponseNonNullableFields, StartImportOptions, UploadFileForImportOptions, UploadFileForImportResponse, ValidateUrlForImportResponse } from './blog-v1-wordpress-import-blog-importer.universal'; | ||
export declare const __metadata: { | ||
@@ -16,3 +16,3 @@ PACKAGE_NAME: string; | ||
/** */ | ||
(options?: UploadFileForImportOptions | undefined): Promise<void>; | ||
(options?: UploadFileForImportOptions | undefined): Promise<UploadFileForImportResponse>; | ||
} | ||
@@ -19,0 +19,0 @@ export declare function submitUrlForImport(httpClient: HttpClient): SubmitUrlForImportSignature; |
@@ -35,2 +35,4 @@ export interface ImportStatus { | ||
export interface UploadFileForImportResponse { | ||
/** Number of posts. */ | ||
totalPosts?: number | null; | ||
} | ||
@@ -37,0 +39,0 @@ export interface SubmitUrlForImportRequest { |
@@ -35,2 +35,4 @@ export interface ImportStatus { | ||
export interface UploadFileForImportResponse { | ||
/** Number of posts. */ | ||
totalPosts?: number | null; | ||
} | ||
@@ -109,3 +111,3 @@ export interface SubmitUrlForImportRequest { | ||
*/ | ||
export declare function uploadFileForImport(options?: UploadFileForImportOptions): Promise<void>; | ||
export declare function uploadFileForImport(options?: UploadFileForImportOptions): Promise<UploadFileForImportResponse>; | ||
export interface UploadFileForImportOptions { | ||
@@ -112,0 +114,0 @@ /** The content of the WordPress XML file. */ |
@@ -83,2 +83,3 @@ "use strict"; | ||
sideEffects?.onSuccess?.(result); | ||
return (0, rename_all_nested_keys_1.renameKeysFromRESTResponseToSDKResponse)(result.data); | ||
} | ||
@@ -85,0 +86,0 @@ catch (err) { |
import { HttpClient } from '@wix/sdk-types'; | ||
import { GetImportStatusResponse, GetImportStatusResponseNonNullableFields, GetNotImportedPostsResponse, GetNotImportedPostsResponseNonNullableFields, StartImportOptions, UploadFileForImportOptions, ValidateUrlForImportResponse } from './blog-v1-wordpress-import-blog-importer.universal'; | ||
import { GetImportStatusResponse, GetImportStatusResponseNonNullableFields, GetNotImportedPostsResponse, GetNotImportedPostsResponseNonNullableFields, StartImportOptions, UploadFileForImportOptions, UploadFileForImportResponse, ValidateUrlForImportResponse } from './blog-v1-wordpress-import-blog-importer.universal'; | ||
export declare const __metadata: { | ||
@@ -16,3 +16,3 @@ PACKAGE_NAME: string; | ||
/** */ | ||
(options?: UploadFileForImportOptions | undefined): Promise<void>; | ||
(options?: UploadFileForImportOptions | undefined): Promise<UploadFileForImportResponse>; | ||
} | ||
@@ -19,0 +19,0 @@ export declare function submitUrlForImport(httpClient: HttpClient): SubmitUrlForImportSignature; |
@@ -35,2 +35,4 @@ export interface ImportStatus { | ||
export interface UploadFileForImportResponse { | ||
/** Number of posts. */ | ||
totalPosts?: number | null; | ||
} | ||
@@ -37,0 +39,0 @@ export interface SubmitUrlForImportRequest { |
@@ -35,2 +35,4 @@ export interface ImportStatus { | ||
export interface UploadFileForImportResponse { | ||
/** Number of posts. */ | ||
totalPosts?: number | null; | ||
} | ||
@@ -109,3 +111,3 @@ export interface SubmitUrlForImportRequest { | ||
*/ | ||
export declare function uploadFileForImport(options?: UploadFileForImportOptions): Promise<void>; | ||
export declare function uploadFileForImport(options?: UploadFileForImportOptions): Promise<UploadFileForImportResponse>; | ||
export interface UploadFileForImportOptions { | ||
@@ -112,0 +114,0 @@ /** The content of the WordPress XML file. */ |
@@ -56,2 +56,3 @@ import { transformError as sdkTransformError } from '@wix/sdk-runtime/transform-error'; | ||
sideEffects?.onSuccess?.(result); | ||
return renameKeysFromRESTResponseToSDKResponse(result.data); | ||
} | ||
@@ -58,0 +59,0 @@ catch (err) { |
{ | ||
"name": "@wix/blog_blog-importer", | ||
"version": "1.0.11", | ||
"version": "1.0.12", | ||
"publishConfig": { | ||
@@ -48,3 +48,3 @@ "registry": "https://registry.npmjs.org/", | ||
}, | ||
"falconPackageHash": "6cf0f3a5af82c6a4a0752cf85bdaa9d66f203e6bf819ccb723fd87bb" | ||
"falconPackageHash": "de2b5b6d6a3d0c310bddfcd007ee35cb9a1ecd82a370bc43d0d6b78b" | ||
} |
@@ -445,2 +445,4 @@ type HostModule<T, H extends Host> = { | ||
interface UploadFileForImportResponse { | ||
/** Number of posts. */ | ||
totalPosts?: number | null; | ||
} | ||
@@ -525,3 +527,3 @@ interface SubmitUrlForImportRequest { | ||
/** */ | ||
(options?: UploadFileForImportOptions | undefined): Promise<void>; | ||
(options?: UploadFileForImportOptions | undefined): Promise<UploadFileForImportResponse>; | ||
} | ||
@@ -528,0 +530,0 @@ declare function submitUrlForImport$1(httpClient: HttpClient): SubmitUrlForImportSignature; |
@@ -445,2 +445,4 @@ type HostModule<T, H extends Host> = { | ||
interface UploadFileForImportResponse { | ||
/** Number of posts. */ | ||
totalPosts?: number | null; | ||
} | ||
@@ -525,3 +527,3 @@ interface SubmitUrlForImportRequest { | ||
/** */ | ||
(options?: UploadFileForImportOptions | undefined): Promise<void>; | ||
(options?: UploadFileForImportOptions | undefined): Promise<UploadFileForImportResponse>; | ||
} | ||
@@ -528,0 +530,0 @@ declare function submitUrlForImport$1(httpClient: HttpClient): SubmitUrlForImportSignature; |
@@ -35,2 +35,4 @@ interface ImportStatus { | ||
interface UploadFileForImportResponse { | ||
/** Number of posts. */ | ||
totalPosts?: number | null; | ||
} | ||
@@ -109,3 +111,3 @@ interface SubmitUrlForImportRequest { | ||
*/ | ||
declare function uploadFileForImport(options?: UploadFileForImportOptions): Promise<void>; | ||
declare function uploadFileForImport(options?: UploadFileForImportOptions): Promise<UploadFileForImportResponse>; | ||
interface UploadFileForImportOptions { | ||
@@ -112,0 +114,0 @@ /** The content of the WordPress XML file. */ |
@@ -35,2 +35,4 @@ interface ImportStatus$1 { | ||
interface UploadFileForImportResponse$1 { | ||
/** Number of posts. */ | ||
totalPosts?: number | null; | ||
} | ||
@@ -129,2 +131,4 @@ interface SubmitUrlForImportRequest$1 { | ||
interface UploadFileForImportResponse { | ||
/** Number of posts. */ | ||
totalPosts?: number | null; | ||
} | ||
@@ -131,0 +135,0 @@ interface SubmitUrlForImportRequest { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
160583
3218