@wix/auto_sdk_site-import_imports 1.0.6 → 1.0.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/build/cjs/index.d.ts +1 -1
- package/build/cjs/index.js +12 -2
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +51 -1
- package/build/cjs/index.typings.js +12 -2
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +40 -1
- package/build/cjs/meta.js +8 -0
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +1 -1
- package/build/es/index.mjs +11 -2
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +51 -1
- package/build/es/index.typings.mjs +11 -2
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +40 -1
- package/build/es/meta.mjs +7 -0
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +1 -1
- package/build/internal/cjs/index.typings.d.ts +51 -1
- package/build/internal/cjs/meta.d.ts +40 -1
- package/build/internal/es/index.d.mts +1 -1
- package/build/internal/es/index.typings.d.mts +51 -1
- package/build/internal/es/meta.d.mts +40 -1
- package/package.json +2 -2
package/build/cjs/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HttpClient, NonNullablePaths, MaybeContext, BuildRESTFunction } from '@wix/sdk-types';
|
|
2
2
|
import { StartImportOptions, StartImportResponse, GetImportStatusOptions, GetImportStatusResponse, GetImportDebugResponse, CancelImportResponse, SendImportMessageResponse, StartFrontendPreviewResponse, GetImportSourceOptions, GetImportSourceResponse, GetImportSourceFileOptions, GetImportSourceFileResponse, GetImportSourceForSiteOptions, GetImportSourceForSiteResponse, GetImportSourceFileForSiteOptions, GetImportSourceFileForSiteResponse, SearchImportSourceOptions, SearchImportSourceResponse, SearchImportSourceForSiteOptions, SearchImportSourceForSiteResponse, GetImportBySiteOptions, GetImportBySiteResponse } from './index.typings.js';
|
|
3
|
-
export { CancelImportRequest, ClaudeResultSummary, FailedTaskDetail, GetImportBySiteRequest, GetImportDebugRequest, GetImportSourceFileForSiteRequest, GetImportSourceFileRequest, GetImportSourceForSiteRequest, GetImportSourceRequest, GetImportStatusRequest, Import, ImportActivity, ImportActivityKind, ImportActivityKindWithLiterals, ImportArtifact, ImportArtifactFormat, ImportArtifactFormatWithLiterals, ImportStatus, ImportStatusWithLiterals, ImportTodo, ImportTodoStatus, ImportTodoStatusWithLiterals, SearchImportSourceForSiteRequest, SearchImportSourceRequest, SearchMatch, SendImportMessageRequest, SourceChange, SourceChangeStatus, SourceChangeStatusWithLiterals, SourceConfidence, SourceConfidenceWithLiterals, SourceFile, SourceMatch, SourcePlatform, SourcePlatformWithLiterals, SourceSyncMode, SourceSyncModeWithLiterals, StartFrontendPreviewRequest, StartImportRequest, TaskDebug } from './index.typings.js';
|
|
3
|
+
export { CancelImportRequest, ClaudeResultSummary, FailedTaskDetail, GetImportBySiteRequest, GetImportDebugRequest, GetImportSourceFileForSiteRequest, GetImportSourceFileRequest, GetImportSourceForSiteRequest, GetImportSourceRequest, GetImportStatusRequest, Import, ImportActivity, ImportActivityKind, ImportActivityKindWithLiterals, ImportArtifact, ImportArtifactFormat, ImportArtifactFormatWithLiterals, ImportDestination, ImportDestinationWithLiterals, ImportStatus, ImportStatusWithLiterals, ImportTodo, ImportTodoStatus, ImportTodoStatusWithLiterals, SearchImportSourceForSiteRequest, SearchImportSourceRequest, SearchMatch, SendImportMessageRequest, SourceChange, SourceChangeStatus, SourceChangeStatusWithLiterals, SourceConfidence, SourceConfidenceWithLiterals, SourceFile, SourceMatch, SourcePlatform, SourcePlatformWithLiterals, SourceSyncMode, SourceSyncModeWithLiterals, StartFrontendPreviewRequest, StartImportRequest, TaskDebug } from './index.typings.js';
|
|
4
4
|
|
|
5
5
|
declare function startImport$1(httpClient: HttpClient): StartImportSignature;
|
|
6
6
|
interface StartImportSignature {
|
package/build/cjs/index.js
CHANGED
|
@@ -22,6 +22,7 @@ var index_exports = {};
|
|
|
22
22
|
__export(index_exports, {
|
|
23
23
|
ImportActivityKind: () => ImportActivityKind,
|
|
24
24
|
ImportArtifactFormat: () => ImportArtifactFormat,
|
|
25
|
+
ImportDestination: () => ImportDestination,
|
|
25
26
|
ImportStatus: () => ImportStatus,
|
|
26
27
|
ImportTodoStatus: () => ImportTodoStatus,
|
|
27
28
|
SourceChangeStatus: () => SourceChangeStatus,
|
|
@@ -383,6 +384,12 @@ function getImportBySite(payload) {
|
|
|
383
384
|
}
|
|
384
385
|
|
|
385
386
|
// src/ecom-site-import-v1-import-imports.universal.ts
|
|
387
|
+
var ImportDestination = /* @__PURE__ */ ((ImportDestination2) => {
|
|
388
|
+
ImportDestination2["UNKNOWN_IMPORT_DESTINATION"] = "UNKNOWN_IMPORT_DESTINATION";
|
|
389
|
+
ImportDestination2["NEW_SITE"] = "NEW_SITE";
|
|
390
|
+
ImportDestination2["CONTEXT_SITE"] = "CONTEXT_SITE";
|
|
391
|
+
return ImportDestination2;
|
|
392
|
+
})(ImportDestination || {});
|
|
386
393
|
var SourcePlatform = /* @__PURE__ */ ((SourcePlatform2) => {
|
|
387
394
|
SourcePlatform2["UNKNOWN_SOURCE_PLATFORM"] = "UNKNOWN_SOURCE_PLATFORM";
|
|
388
395
|
SourcePlatform2["SHOPIFY"] = "SHOPIFY";
|
|
@@ -449,7 +456,8 @@ async function startImport2(request, options) {
|
|
|
449
456
|
request,
|
|
450
457
|
sourceUrl: options?.sourceUrl,
|
|
451
458
|
fileUrls: options?.fileUrls,
|
|
452
|
-
forceNew: options?.forceNew
|
|
459
|
+
forceNew: options?.forceNew,
|
|
460
|
+
destination: options?.destination
|
|
453
461
|
});
|
|
454
462
|
const reqOpts = startImport(payload);
|
|
455
463
|
sideEffects?.onSiteCall?.();
|
|
@@ -466,7 +474,8 @@ async function startImport2(request, options) {
|
|
|
466
474
|
request: "$[0]",
|
|
467
475
|
sourceUrl: "$[1].sourceUrl",
|
|
468
476
|
fileUrls: "$[1].fileUrls",
|
|
469
|
-
forceNew: "$[1].forceNew"
|
|
477
|
+
forceNew: "$[1].forceNew",
|
|
478
|
+
destination: "$[1].destination"
|
|
470
479
|
},
|
|
471
480
|
singleArgumentUnchanged: false
|
|
472
481
|
},
|
|
@@ -974,6 +983,7 @@ var getImportBySite4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule
|
|
|
974
983
|
0 && (module.exports = {
|
|
975
984
|
ImportActivityKind,
|
|
976
985
|
ImportArtifactFormat,
|
|
986
|
+
ImportDestination,
|
|
977
987
|
ImportStatus,
|
|
978
988
|
ImportTodoStatus,
|
|
979
989
|
SourceChangeStatus,
|