@wix/auto_sdk_stores_read-only-variants-v-3 1.0.2 → 1.0.3

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 +1 @@
1
- {"version":3,"file":"index.typings.js","sourceRoot":"","sources":["../../index.typings.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gHAA8F"}
1
+ {"version":3,"file":"index.typings.js","sourceRoot":"","sources":["../../index.typings.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAKA,gHAA8F"}
@@ -1781,7 +1781,7 @@ export interface Node extends NodeDataOneOf {
1781
1781
  /** Node type. Use `APP_EMBED` for nodes that embed content from other Wix apps. Use `EMBED` to embed content in [oEmbed](https://oembed.com/) format. */
1782
1782
  type?: NodeType;
1783
1783
  /** Node ID. */
1784
- _id?: string;
1784
+ id?: string;
1785
1785
  /** A list of child nodes. */
1786
1786
  nodes?: Node[];
1787
1787
  /** Padding and background color styling for the node. */
@@ -2198,7 +2198,7 @@ export interface FileSource extends FileSourceDataOneOf {
2198
2198
  */
2199
2199
  custom?: string | null;
2200
2200
  /** An ID that's resolved to a URL by a resolver function. */
2201
- _id?: string | null;
2201
+ id?: string | null;
2202
2202
  /** Indicates whether the file's source is private. Defaults to `false`. */
2203
2203
  private?: boolean | null;
2204
2204
  }
@@ -2212,7 +2212,7 @@ export interface FileSourceDataOneOf {
2212
2212
  */
2213
2213
  custom?: string | null;
2214
2214
  /** An ID that's resolved to a URL by a resolver function. */
2215
- _id?: string | null;
2215
+ id?: string | null;
2216
2216
  }
2217
2217
  export interface PDFSettings {
2218
2218
  /**
@@ -2615,7 +2615,7 @@ export interface Permissions {
2615
2615
  }
2616
2616
  export interface Option {
2617
2617
  /** Option ID. */
2618
- _id?: string | null;
2618
+ id?: string | null;
2619
2619
  /** Option title. */
2620
2620
  title?: string | null;
2621
2621
  /** The image displayed with the option. */
@@ -2712,7 +2712,7 @@ export interface OptionDesign {
2712
2712
  }
2713
2713
  export interface Poll {
2714
2714
  /** Poll ID. */
2715
- _id?: string | null;
2715
+ id?: string | null;
2716
2716
  /** Poll title. */
2717
2717
  title?: string | null;
2718
2718
  /** Poll creator ID. */
@@ -2823,7 +2823,7 @@ export interface MentionData {
2823
2823
  /** The version of the user's name that appears after the `@` character in the mention. */
2824
2824
  slug?: string;
2825
2825
  /** Mentioned user's ID. */
2826
- _id?: string | null;
2826
+ id?: string | null;
2827
2827
  }
2828
2828
  export interface FontSizeData {
2829
2829
  /** The units used for the font size. */
@@ -2837,7 +2837,7 @@ export declare enum FontType {
2837
2837
  }
2838
2838
  export interface SpoilerData {
2839
2839
  /** Spoiler ID. */
2840
- _id?: string | null;
2840
+ id?: string | null;
2841
2841
  }
2842
2842
  export interface AppEmbedData extends AppEmbedDataAppDataOneOf {
2843
2843
  /** Data for embedded Wix Bookings content. */
@@ -1 +1 @@
1
- {"version":3,"file":"index.typings.js","sourceRoot":"","sources":["../../index.typings.ts"],"names":[],"mappings":"AAAA,cAAc,+EAA+E,CAAC"}
1
+ {"version":3,"file":"index.typings.js","sourceRoot":"","sources":["../../index.typings.ts"],"names":[],"mappings":"AAKA,cAAc,+EAA+E,CAAC"}
@@ -1781,7 +1781,7 @@ export interface Node extends NodeDataOneOf {
1781
1781
  /** Node type. Use `APP_EMBED` for nodes that embed content from other Wix apps. Use `EMBED` to embed content in [oEmbed](https://oembed.com/) format. */
1782
1782
  type?: NodeType;
1783
1783
  /** Node ID. */
1784
- _id?: string;
1784
+ id?: string;
1785
1785
  /** A list of child nodes. */
1786
1786
  nodes?: Node[];
1787
1787
  /** Padding and background color styling for the node. */
@@ -2198,7 +2198,7 @@ export interface FileSource extends FileSourceDataOneOf {
2198
2198
  */
2199
2199
  custom?: string | null;
2200
2200
  /** An ID that's resolved to a URL by a resolver function. */
2201
- _id?: string | null;
2201
+ id?: string | null;
2202
2202
  /** Indicates whether the file's source is private. Defaults to `false`. */
2203
2203
  private?: boolean | null;
2204
2204
  }
@@ -2212,7 +2212,7 @@ export interface FileSourceDataOneOf {
2212
2212
  */
2213
2213
  custom?: string | null;
2214
2214
  /** An ID that's resolved to a URL by a resolver function. */
2215
- _id?: string | null;
2215
+ id?: string | null;
2216
2216
  }
2217
2217
  export interface PDFSettings {
2218
2218
  /**
@@ -2615,7 +2615,7 @@ export interface Permissions {
2615
2615
  }
2616
2616
  export interface Option {
2617
2617
  /** Option ID. */
2618
- _id?: string | null;
2618
+ id?: string | null;
2619
2619
  /** Option title. */
2620
2620
  title?: string | null;
2621
2621
  /** The image displayed with the option. */
@@ -2712,7 +2712,7 @@ export interface OptionDesign {
2712
2712
  }
2713
2713
  export interface Poll {
2714
2714
  /** Poll ID. */
2715
- _id?: string | null;
2715
+ id?: string | null;
2716
2716
  /** Poll title. */
2717
2717
  title?: string | null;
2718
2718
  /** Poll creator ID. */
@@ -2823,7 +2823,7 @@ export interface MentionData {
2823
2823
  /** The version of the user's name that appears after the `@` character in the mention. */
2824
2824
  slug?: string;
2825
2825
  /** Mentioned user's ID. */
2826
- _id?: string | null;
2826
+ id?: string | null;
2827
2827
  }
2828
2828
  export interface FontSizeData {
2829
2829
  /** The units used for the font size. */
@@ -2837,7 +2837,7 @@ export declare enum FontType {
2837
2837
  }
2838
2838
  export interface SpoilerData {
2839
2839
  /** Spoiler ID. */
2840
- _id?: string | null;
2840
+ id?: string | null;
2841
2841
  }
2842
2842
  export interface AppEmbedData extends AppEmbedDataAppDataOneOf {
2843
2843
  /** Data for embedded Wix Bookings content. */
@@ -1 +1,50 @@
1
+ import { SearchVariantsResponse, SearchVariantsOptions } from './src/stores-catalog-v3-read-only-variant-read-only-variants-v-3.universal';
1
2
  export * from './src/stores-catalog-v3-read-only-variant-read-only-variants-v-3.universal.js';
3
+ /**
4
+ * Search Variants using [WQL - Wix Query Language](https://dev.wix.com/api/rest/getting-started/api-query-language)
5
+ * >**Notes:**
6
+ * + If you don't have permissions to read non visible products then variants related to non-visible products will be filtered out from response.
7
+ * In such case non visible variants also will be filtered out.
8
+ * @internal
9
+ * @documentationMaturity preview
10
+ * @permissionId WIX_STORES.READ_ONLY_VARIANT_READ
11
+ * @permissionId WIX_STORES.READ_ONLY_VARIANT_READ_HIDDEN
12
+ * @permissionScope Manage Stores - all permissions
13
+ * @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
14
+ * @permissionScope Manage Stores
15
+ * @permissionScopeId SCOPE.STORES.MANAGE-STORES
16
+ * @permissionScope Read products in v3 catalog
17
+ * @permissionScopeId SCOPE.STORES.PRODUCT_READ
18
+ * @permissionScope Read v3 catalog
19
+ * @permissionScopeId SCOPE.STORES.CATALOG_READ
20
+ * @permissionScope Manage Products
21
+ * @permissionScopeId SCOPE.DC-STORES.MANAGE-PRODUCTS
22
+ * @permissionScope Read Stores - all read permissions
23
+ * @permissionScopeId SCOPE.DC-STORES-MEGA.READ-STORES
24
+ * @permissionScope Read Products
25
+ * @permissionScopeId SCOPE.DC-STORES.READ-PRODUCTS
26
+ * @permissionScope Product v3 read admin
27
+ * @permissionScopeId SCOPE.STORES.PRODUCT_READ_ADMIN
28
+ * @permissionScope Manage Restaurants - all permissions
29
+ * @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
30
+ * @permissionScope Manage v3 catalog
31
+ * @permissionScopeId SCOPE.STORES.CATALOG_WRITE
32
+ * @permissionScope Manage Orders
33
+ * @permissionScopeId SCOPE.DC-STORES.MANAGE-ORDERS
34
+ * @permissionScope Manage Stores - all permissions
35
+ * @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
36
+ * @permissionScope Manage Stores
37
+ * @permissionScopeId SCOPE.STORES.MANAGE-STORES
38
+ * @permissionScope Manage Products
39
+ * @permissionScopeId SCOPE.DC-STORES.MANAGE-PRODUCTS
40
+ * @permissionScope Read Stores - all read permissions
41
+ * @permissionScopeId SCOPE.DC-STORES-MEGA.READ-STORES
42
+ * @permissionScope Read Products
43
+ * @permissionScopeId SCOPE.DC-STORES.READ-PRODUCTS
44
+ * @permissionScope Product v3 read admin
45
+ * @permissionScopeId SCOPE.STORES.PRODUCT_READ_ADMIN
46
+ * @applicableIdentity APP
47
+ * @applicableIdentity VISITOR
48
+ * @fqn com.wix.stores.catalog.product.variants.reader.api.v3.ProductVariantsReader.SearchVariants
49
+ */
50
+ export declare function searchVariants(options: SearchVariantsOptions): Promise<SearchVariantsResponse>;
@@ -1 +1 @@
1
- {"version":3,"file":"index.typings.js","sourceRoot":"","sources":["../../../index.typings.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gHAA8F"}
1
+ {"version":3,"file":"index.typings.js","sourceRoot":"","sources":["../../../index.typings.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAKA,gHAA8F"}
@@ -1788,7 +1788,7 @@ export interface Node extends NodeDataOneOf {
1788
1788
  /** Node type. Use `APP_EMBED` for nodes that embed content from other Wix apps. Use `EMBED` to embed content in [oEmbed](https://oembed.com/) format. */
1789
1789
  type?: NodeType;
1790
1790
  /** Node ID. */
1791
- _id?: string;
1791
+ id?: string;
1792
1792
  /** A list of child nodes. */
1793
1793
  nodes?: Node[];
1794
1794
  /** Padding and background color styling for the node. */
@@ -2205,7 +2205,7 @@ export interface FileSource extends FileSourceDataOneOf {
2205
2205
  */
2206
2206
  custom?: string | null;
2207
2207
  /** An ID that's resolved to a URL by a resolver function. */
2208
- _id?: string | null;
2208
+ id?: string | null;
2209
2209
  /** Indicates whether the file's source is private. Defaults to `false`. */
2210
2210
  private?: boolean | null;
2211
2211
  }
@@ -2219,7 +2219,7 @@ export interface FileSourceDataOneOf {
2219
2219
  */
2220
2220
  custom?: string | null;
2221
2221
  /** An ID that's resolved to a URL by a resolver function. */
2222
- _id?: string | null;
2222
+ id?: string | null;
2223
2223
  }
2224
2224
  export interface PDFSettings {
2225
2225
  /**
@@ -2622,7 +2622,7 @@ export interface Permissions {
2622
2622
  }
2623
2623
  export interface Option {
2624
2624
  /** Option ID. */
2625
- _id?: string | null;
2625
+ id?: string | null;
2626
2626
  /** Option title. */
2627
2627
  title?: string | null;
2628
2628
  /** The image displayed with the option. */
@@ -2719,7 +2719,7 @@ export interface OptionDesign {
2719
2719
  }
2720
2720
  export interface Poll {
2721
2721
  /** Poll ID. */
2722
- _id?: string | null;
2722
+ id?: string | null;
2723
2723
  /** Poll title. */
2724
2724
  title?: string | null;
2725
2725
  /** Poll creator ID. */
@@ -2830,7 +2830,7 @@ export interface MentionData {
2830
2830
  /** The version of the user's name that appears after the `@` character in the mention. */
2831
2831
  slug?: string;
2832
2832
  /** Mentioned user's ID. */
2833
- _id?: string | null;
2833
+ id?: string | null;
2834
2834
  }
2835
2835
  export interface FontSizeData {
2836
2836
  /** The units used for the font size. */
@@ -2844,7 +2844,7 @@ export declare enum FontType {
2844
2844
  }
2845
2845
  export interface SpoilerData {
2846
2846
  /** Spoiler ID. */
2847
- _id?: string | null;
2847
+ id?: string | null;
2848
2848
  }
2849
2849
  export interface AppEmbedData extends AppEmbedDataAppDataOneOf {
2850
2850
  /** Data for embedded Wix Bookings content. */
@@ -1 +1,50 @@
1
+ import { SearchVariantsResponse, SearchVariantsOptions } from './src/stores-catalog-v3-read-only-variant-read-only-variants-v-3.universal';
1
2
  export * from './src/stores-catalog-v3-read-only-variant-read-only-variants-v-3.universal.js';
3
+ /**
4
+ * Search Variants using [WQL - Wix Query Language](https://dev.wix.com/api/rest/getting-started/api-query-language)
5
+ * >**Notes:**
6
+ * + If you don't have permissions to read non visible products then variants related to non-visible products will be filtered out from response.
7
+ * In such case non visible variants also will be filtered out.
8
+ * @internal
9
+ * @documentationMaturity preview
10
+ * @permissionId WIX_STORES.READ_ONLY_VARIANT_READ
11
+ * @permissionId WIX_STORES.READ_ONLY_VARIANT_READ_HIDDEN
12
+ * @permissionScope Manage Stores - all permissions
13
+ * @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
14
+ * @permissionScope Manage Stores
15
+ * @permissionScopeId SCOPE.STORES.MANAGE-STORES
16
+ * @permissionScope Read products in v3 catalog
17
+ * @permissionScopeId SCOPE.STORES.PRODUCT_READ
18
+ * @permissionScope Read v3 catalog
19
+ * @permissionScopeId SCOPE.STORES.CATALOG_READ
20
+ * @permissionScope Manage Products
21
+ * @permissionScopeId SCOPE.DC-STORES.MANAGE-PRODUCTS
22
+ * @permissionScope Read Stores - all read permissions
23
+ * @permissionScopeId SCOPE.DC-STORES-MEGA.READ-STORES
24
+ * @permissionScope Read Products
25
+ * @permissionScopeId SCOPE.DC-STORES.READ-PRODUCTS
26
+ * @permissionScope Product v3 read admin
27
+ * @permissionScopeId SCOPE.STORES.PRODUCT_READ_ADMIN
28
+ * @permissionScope Manage Restaurants - all permissions
29
+ * @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
30
+ * @permissionScope Manage v3 catalog
31
+ * @permissionScopeId SCOPE.STORES.CATALOG_WRITE
32
+ * @permissionScope Manage Orders
33
+ * @permissionScopeId SCOPE.DC-STORES.MANAGE-ORDERS
34
+ * @permissionScope Manage Stores - all permissions
35
+ * @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
36
+ * @permissionScope Manage Stores
37
+ * @permissionScopeId SCOPE.STORES.MANAGE-STORES
38
+ * @permissionScope Manage Products
39
+ * @permissionScopeId SCOPE.DC-STORES.MANAGE-PRODUCTS
40
+ * @permissionScope Read Stores - all read permissions
41
+ * @permissionScopeId SCOPE.DC-STORES-MEGA.READ-STORES
42
+ * @permissionScope Read Products
43
+ * @permissionScopeId SCOPE.DC-STORES.READ-PRODUCTS
44
+ * @permissionScope Product v3 read admin
45
+ * @permissionScopeId SCOPE.STORES.PRODUCT_READ_ADMIN
46
+ * @applicableIdentity APP
47
+ * @applicableIdentity VISITOR
48
+ * @fqn com.wix.stores.catalog.product.variants.reader.api.v3.ProductVariantsReader.SearchVariants
49
+ */
50
+ export declare function searchVariants(options: SearchVariantsOptions): Promise<SearchVariantsResponse>;
@@ -1 +1 @@
1
- {"version":3,"file":"index.typings.js","sourceRoot":"","sources":["../../../index.typings.ts"],"names":[],"mappings":"AAAA,cAAc,+EAA+E,CAAC"}
1
+ {"version":3,"file":"index.typings.js","sourceRoot":"","sources":["../../../index.typings.ts"],"names":[],"mappings":"AAKA,cAAc,+EAA+E,CAAC"}
@@ -1788,7 +1788,7 @@ export interface Node extends NodeDataOneOf {
1788
1788
  /** Node type. Use `APP_EMBED` for nodes that embed content from other Wix apps. Use `EMBED` to embed content in [oEmbed](https://oembed.com/) format. */
1789
1789
  type?: NodeType;
1790
1790
  /** Node ID. */
1791
- _id?: string;
1791
+ id?: string;
1792
1792
  /** A list of child nodes. */
1793
1793
  nodes?: Node[];
1794
1794
  /** Padding and background color styling for the node. */
@@ -2205,7 +2205,7 @@ export interface FileSource extends FileSourceDataOneOf {
2205
2205
  */
2206
2206
  custom?: string | null;
2207
2207
  /** An ID that's resolved to a URL by a resolver function. */
2208
- _id?: string | null;
2208
+ id?: string | null;
2209
2209
  /** Indicates whether the file's source is private. Defaults to `false`. */
2210
2210
  private?: boolean | null;
2211
2211
  }
@@ -2219,7 +2219,7 @@ export interface FileSourceDataOneOf {
2219
2219
  */
2220
2220
  custom?: string | null;
2221
2221
  /** An ID that's resolved to a URL by a resolver function. */
2222
- _id?: string | null;
2222
+ id?: string | null;
2223
2223
  }
2224
2224
  export interface PDFSettings {
2225
2225
  /**
@@ -2622,7 +2622,7 @@ export interface Permissions {
2622
2622
  }
2623
2623
  export interface Option {
2624
2624
  /** Option ID. */
2625
- _id?: string | null;
2625
+ id?: string | null;
2626
2626
  /** Option title. */
2627
2627
  title?: string | null;
2628
2628
  /** The image displayed with the option. */
@@ -2719,7 +2719,7 @@ export interface OptionDesign {
2719
2719
  }
2720
2720
  export interface Poll {
2721
2721
  /** Poll ID. */
2722
- _id?: string | null;
2722
+ id?: string | null;
2723
2723
  /** Poll title. */
2724
2724
  title?: string | null;
2725
2725
  /** Poll creator ID. */
@@ -2830,7 +2830,7 @@ export interface MentionData {
2830
2830
  /** The version of the user's name that appears after the `@` character in the mention. */
2831
2831
  slug?: string;
2832
2832
  /** Mentioned user's ID. */
2833
- _id?: string | null;
2833
+ id?: string | null;
2834
2834
  }
2835
2835
  export interface FontSizeData {
2836
2836
  /** The units used for the font size. */
@@ -2844,7 +2844,7 @@ export declare enum FontType {
2844
2844
  }
2845
2845
  export interface SpoilerData {
2846
2846
  /** Spoiler ID. */
2847
- _id?: string | null;
2847
+ id?: string | null;
2848
2848
  }
2849
2849
  export interface AppEmbedData extends AppEmbedDataAppDataOneOf {
2850
2850
  /** Data for embedded Wix Bookings content. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/auto_sdk_stores_read-only-variants-v-3",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org/",
6
6
  "access": "public"
@@ -29,7 +29,7 @@
29
29
  ],
30
30
  "dependencies": {
31
31
  "@wix/sdk-runtime": "^0.3.49",
32
- "@wix/sdk-types": "^1.13.21"
32
+ "@wix/sdk-types": "^1.13.23"
33
33
  },
34
34
  "devDependencies": {
35
35
  "typescript": "^5.3.2"
@@ -48,5 +48,5 @@
48
48
  "fqdn": "wix.stores.catalog.v3.read_only_variant"
49
49
  }
50
50
  },
51
- "falconPackageHash": "9ec9058be7351666afc83268b04f474c424220b16264a78af8d137e4"
51
+ "falconPackageHash": "9c0ba7630c2c94e3e07ed763c29a097a482bd3e4efac9f84141bfffe"
52
52
  }