@wix/auto_sdk_stores_info-sections-v-3 1.0.31 → 1.0.32
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 +9 -18
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +7 -16
- package/build/cjs/index.typings.js.map +1 -1
- package/build/es/index.d.mts +9 -18
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +7 -16
- package/build/es/index.typings.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +9 -18
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +7 -16
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/es/index.d.mts +9 -18
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +7 -16
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/package.json +3 -3
|
@@ -2570,7 +2570,6 @@ interface InfoSectionUpdatedEnvelope {
|
|
|
2570
2570
|
* @slug updated
|
|
2571
2571
|
*/
|
|
2572
2572
|
declare function onInfoSectionUpdated(handler: (event: InfoSectionUpdatedEnvelope) => void | Promise<void>): void;
|
|
2573
|
-
type InfoSectionNonNullablePaths = `uniqueName` | `title`;
|
|
2574
2573
|
/**
|
|
2575
2574
|
* Creates an info section.
|
|
2576
2575
|
*
|
|
@@ -2587,7 +2586,7 @@ type InfoSectionNonNullablePaths = `uniqueName` | `title`;
|
|
|
2587
2586
|
* @returns Created info section.
|
|
2588
2587
|
* @fqn com.wix.stores.catalog.info.section.v3.InfoSectionsService.CreateInfoSection
|
|
2589
2588
|
*/
|
|
2590
|
-
declare function createInfoSection(infoSection: NonNullablePaths<InfoSection, `title` | `uniqueName`>): Promise<NonNullablePaths<InfoSection,
|
|
2589
|
+
declare function createInfoSection(infoSection: NonNullablePaths<InfoSection, `title` | `uniqueName`>): Promise<NonNullablePaths<InfoSection, `uniqueName` | `title`> & {
|
|
2591
2590
|
__validationErrorsType?: CreateInfoSectionValidationErrors;
|
|
2592
2591
|
}>;
|
|
2593
2592
|
/**
|
|
@@ -2601,7 +2600,7 @@ declare function createInfoSection(infoSection: NonNullablePaths<InfoSection, `t
|
|
|
2601
2600
|
* @returns Info section.
|
|
2602
2601
|
* @fqn com.wix.stores.catalog.info.section.v3.InfoSectionsService.GetInfoSection
|
|
2603
2602
|
*/
|
|
2604
|
-
declare function getInfoSection(infoSectionId: string, options?: GetInfoSectionOptions): Promise<NonNullablePaths<InfoSection,
|
|
2603
|
+
declare function getInfoSection(infoSectionId: string, options?: GetInfoSectionOptions): Promise<NonNullablePaths<InfoSection, `uniqueName` | `title`>>;
|
|
2605
2604
|
interface GetInfoSectionOptions {
|
|
2606
2605
|
/**
|
|
2607
2606
|
* Fields to include in the response.
|
|
@@ -2620,9 +2619,7 @@ interface GetInfoSectionOptions {
|
|
|
2620
2619
|
* @applicableIdentity APP
|
|
2621
2620
|
* @fqn com.wix.stores.catalog.info.section.v3.InfoSectionsService.GetOrCreateInfoSection
|
|
2622
2621
|
*/
|
|
2623
|
-
declare function getOrCreateInfoSection(options?: GetOrCreateInfoSectionOptions): Promise<NonNullablePaths<GetOrCreateInfoSectionResponse, {
|
|
2624
|
-
[P in InfoSectionNonNullablePaths]: `infoSection.${P}`;
|
|
2625
|
-
}[InfoSectionNonNullablePaths]> & {
|
|
2622
|
+
declare function getOrCreateInfoSection(options?: GetOrCreateInfoSectionOptions): Promise<NonNullablePaths<GetOrCreateInfoSectionResponse, `infoSection.uniqueName` | `infoSection.title`> & {
|
|
2626
2623
|
__validationErrorsType?: GetOrCreateInfoSectionValidationErrors;
|
|
2627
2624
|
}>;
|
|
2628
2625
|
interface GetOrCreateInfoSectionOptions {
|
|
@@ -2645,9 +2642,7 @@ interface GetOrCreateInfoSectionOptions {
|
|
|
2645
2642
|
* @applicableIdentity APP
|
|
2646
2643
|
* @fqn com.wix.stores.catalog.info.section.v3.InfoSectionsService.BulkGetOrCreateInfoSections
|
|
2647
2644
|
*/
|
|
2648
|
-
declare function bulkGetOrCreateInfoSections(options?: BulkGetOrCreateInfoSectionsOptions): Promise<NonNullablePaths<BulkGetOrCreateInfoSectionsResponse, `results` | `results.${number}.itemMetadata.originalIndex` | `results.${number}.itemMetadata.success` | `results.${number}.itemMetadata.error.code` | `results.${number}.itemMetadata.error.description` | {
|
|
2649
|
-
[P in InfoSectionNonNullablePaths]: `results.${number}.item.${P}`;
|
|
2650
|
-
}[InfoSectionNonNullablePaths] | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures`> & {
|
|
2645
|
+
declare function bulkGetOrCreateInfoSections(options?: BulkGetOrCreateInfoSectionsOptions): Promise<NonNullablePaths<BulkGetOrCreateInfoSectionsResponse, `results` | `results.${number}.itemMetadata.originalIndex` | `results.${number}.itemMetadata.success` | `results.${number}.itemMetadata.error.code` | `results.${number}.itemMetadata.error.description` | `results.${number}.item.uniqueName` | `results.${number}.item.title` | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures`> & {
|
|
2651
2646
|
__validationErrorsType?: BulkGetOrCreateInfoSectionsValidationErrors;
|
|
2652
2647
|
}>;
|
|
2653
2648
|
interface BulkGetOrCreateInfoSectionsOptions {
|
|
@@ -2682,7 +2677,7 @@ interface BulkGetOrCreateInfoSectionsOptions {
|
|
|
2682
2677
|
* @returns Updated info section.
|
|
2683
2678
|
* @fqn com.wix.stores.catalog.info.section.v3.InfoSectionsService.UpdateInfoSection
|
|
2684
2679
|
*/
|
|
2685
|
-
declare function updateInfoSection(_id: string, infoSection: NonNullablePaths<UpdateInfoSection, `revision`>, options?: UpdateInfoSectionOptions): Promise<NonNullablePaths<InfoSection,
|
|
2680
|
+
declare function updateInfoSection(_id: string, infoSection: NonNullablePaths<UpdateInfoSection, `revision`>, options?: UpdateInfoSectionOptions): Promise<NonNullablePaths<InfoSection, `uniqueName` | `title`>>;
|
|
2686
2681
|
interface UpdateInfoSection {
|
|
2687
2682
|
/**
|
|
2688
2683
|
* Info section ID.
|
|
@@ -2865,9 +2860,7 @@ interface InfoSectionsQueryBuilder {
|
|
|
2865
2860
|
* @applicableIdentity APP
|
|
2866
2861
|
* @fqn com.wix.stores.catalog.info.section.v3.InfoSectionsService.BulkCreateInfoSections
|
|
2867
2862
|
*/
|
|
2868
|
-
declare function bulkCreateInfoSections(infoSections: NonNullablePaths<InfoSection, `title` | `uniqueName`>[], options?: BulkCreateInfoSectionsOptions): Promise<NonNullablePaths<BulkCreateInfoSectionsResponse, `results` | `results.${number}.itemMetadata.originalIndex` | `results.${number}.itemMetadata.success` | `results.${number}.itemMetadata.error.code` | `results.${number}.itemMetadata.error.description` | {
|
|
2869
|
-
[P in InfoSectionNonNullablePaths]: `results.${number}.item.${P}`;
|
|
2870
|
-
}[InfoSectionNonNullablePaths] | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures`> & {
|
|
2863
|
+
declare function bulkCreateInfoSections(infoSections: NonNullablePaths<InfoSection, `title` | `uniqueName`>[], options?: BulkCreateInfoSectionsOptions): Promise<NonNullablePaths<BulkCreateInfoSectionsResponse, `results` | `results.${number}.itemMetadata.originalIndex` | `results.${number}.itemMetadata.success` | `results.${number}.itemMetadata.error.code` | `results.${number}.itemMetadata.error.description` | `results.${number}.item.uniqueName` | `results.${number}.item.title` | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures`> & {
|
|
2871
2864
|
__validationErrorsType?: BulkCreateInfoSectionsValidationErrors;
|
|
2872
2865
|
}>;
|
|
2873
2866
|
interface BulkCreateInfoSectionsOptions {
|
|
@@ -2893,9 +2886,7 @@ interface BulkCreateInfoSectionsOptions {
|
|
|
2893
2886
|
* @applicableIdentity APP
|
|
2894
2887
|
* @fqn com.wix.stores.catalog.info.section.v3.InfoSectionsService.BulkUpdateInfoSections
|
|
2895
2888
|
*/
|
|
2896
|
-
declare function bulkUpdateInfoSections(infoSections: NonNullablePaths<MaskedInfoSection, `infoSection._id` | `infoSection.revision`>[], options?: BulkUpdateInfoSectionsOptions): Promise<NonNullablePaths<BulkUpdateInfoSectionsResponse, `results` | `results.${number}.itemMetadata.originalIndex` | `results.${number}.itemMetadata.success` | `results.${number}.itemMetadata.error.code` | `results.${number}.itemMetadata.error.description` | {
|
|
2897
|
-
[P in InfoSectionNonNullablePaths]: `results.${number}.item.${P}`;
|
|
2898
|
-
}[InfoSectionNonNullablePaths] | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures`>>;
|
|
2889
|
+
declare function bulkUpdateInfoSections(infoSections: NonNullablePaths<MaskedInfoSection, `infoSection._id` | `infoSection.revision`>[], options?: BulkUpdateInfoSectionsOptions): Promise<NonNullablePaths<BulkUpdateInfoSectionsResponse, `results` | `results.${number}.itemMetadata.originalIndex` | `results.${number}.itemMetadata.success` | `results.${number}.itemMetadata.error.code` | `results.${number}.itemMetadata.error.description` | `results.${number}.item.uniqueName` | `results.${number}.item.title` | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures`>>;
|
|
2899
2890
|
interface BulkUpdateInfoSectionsOptions {
|
|
2900
2891
|
/**
|
|
2901
2892
|
* Whether to return the full updated info sections entities in the response.
|