@wix/auto_sdk_stores_customizations-v-3 1.0.108 → 1.0.109

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,5 +1,5 @@
1
1
  import { HttpClient, NonNullablePaths, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types';
2
- import { Customization, CreateCustomizationApplicationErrors, CreateCustomizationValidationErrors, GetCustomizationOptions, UpdateCustomization, UpdateCustomizationOptions, UpdateCustomizationApplicationErrors, DeleteCustomizationValidationErrors, CountCustomizationsOptions, CountCustomizationsResponse, BulkCreateCustomizationsOptions, BulkCreateCustomizationsResponse, BulkCreateCustomizationsApplicationErrors, BulkCreateCustomizationsValidationErrors, Choice, AddCustomizationChoicesOptions, AddCustomizationChoicesResponse, AddCustomizationChoicesApplicationErrors, AddCustomizationChoicesValidationErrors, SetCustomizationChoicesOptions, SetCustomizationChoicesResponse, SetCustomizationChoicesApplicationErrors, SetCustomizationChoicesValidationErrors, RemoveCustomizationChoicesOptions, RemoveCustomizationChoicesResponse, RemoveCustomizationChoicesApplicationErrors, RemoveCustomizationChoicesValidationErrors, UpdateCustomizationChoicesOptions, UpdateCustomizationChoicesResponse, UpdateCustomizationChoicesApplicationErrors, UpdateCustomizationChoicesValidationErrors, ReorderCustomizationChoicesOptions, ReorderCustomizationChoicesResponse, ReorderCustomizationChoicesApplicationErrors, CustomizationChoices, BulkAddCustomizationChoicesOptions, BulkAddCustomizationChoicesResponse, BulkAddCustomizationChoicesApplicationErrors, BulkAddCustomizationChoicesValidationErrors, MaskedCustomization, BulkUpdateCustomizationsOptions, BulkUpdateCustomizationsResponse, BulkUpdateCustomizationsApplicationErrors, CustomizationCreatedEnvelope, CustomizationDeletedEnvelope, CustomizationUpdatedEnvelope, CustomizationQuery, QueryCustomizationsOptions, typedQueryCustomizations, CustomizationsQueryBuilder } from './index.typings.js';
2
+ import { Customization, CreateCustomizationOptions, CreateCustomizationApplicationErrors, CreateCustomizationValidationErrors, GetCustomizationOptions, UpdateCustomization, UpdateCustomizationOptions, UpdateCustomizationApplicationErrors, DeleteCustomizationValidationErrors, CountCustomizationsOptions, CountCustomizationsResponse, BulkCreateCustomizationsOptions, BulkCreateCustomizationsResponse, BulkCreateCustomizationsApplicationErrors, BulkCreateCustomizationsValidationErrors, Choice, AddCustomizationChoicesOptions, AddCustomizationChoicesResponse, AddCustomizationChoicesApplicationErrors, AddCustomizationChoicesValidationErrors, SetCustomizationChoicesOptions, SetCustomizationChoicesResponse, SetCustomizationChoicesApplicationErrors, SetCustomizationChoicesValidationErrors, RemoveCustomizationChoicesOptions, RemoveCustomizationChoicesResponse, RemoveCustomizationChoicesApplicationErrors, RemoveCustomizationChoicesValidationErrors, UpdateCustomizationChoicesOptions, UpdateCustomizationChoicesResponse, UpdateCustomizationChoicesApplicationErrors, UpdateCustomizationChoicesValidationErrors, ReorderCustomizationChoicesOptions, ReorderCustomizationChoicesResponse, ReorderCustomizationChoicesApplicationErrors, CustomizationChoices, BulkAddCustomizationChoicesOptions, BulkAddCustomizationChoicesResponse, BulkAddCustomizationChoicesApplicationErrors, BulkAddCustomizationChoicesValidationErrors, MaskedCustomization, BulkUpdateCustomizationsOptions, BulkUpdateCustomizationsResponse, BulkUpdateCustomizationsApplicationErrors, CustomizationCreatedEnvelope, CustomizationDeletedEnvelope, CustomizationUpdatedEnvelope, CustomizationQuery, QueryCustomizationsOptions, typedQueryCustomizations, CustomizationsQueryBuilder } from './index.typings.js';
3
3
  export { AccountInfo, AccountInfoMetadata, ActionEvent, AddCustomizationChoicesRequest, App, ApplicationError, BaseEventMetadata, BulkActionMetadata, BulkAddCustomizationChoicesRequest, BulkCreateCustomizationsForMigrationRequest, BulkCreateCustomizationsForMigrationResponse, BulkCreateCustomizationsRequest, BulkCustomizationResult, BulkUpdateCustomizationsRequest, CatalogRollbackRequested, ChoiceIdsMismatchData, ChoiceSortStrategy, ChoiceSortStrategyWithLiterals, ChoiceType, ChoiceTypeWithLiterals, ChoiceValueOneOf, ChoicesSettings, CommonQueryWithEntityContext, CountCustomizationsRequest, CreateCustomizationRequest, CreateCustomizationResponse, CursorPaging, CursorPagingMetadata, CursorQuery, CursorQueryPagingMethodOneOf, Cursors, CustomTag, CustomizationCustomizationSettingsOneOf, CustomizationIdsWrapper, CustomizationQuerySpec, CustomizationRenderType, CustomizationRenderTypeWithLiterals, CustomizationType, CustomizationTypeSpecificSettingsOneOf, CustomizationTypeWithLiterals, CustomizationsQueryResult, DeleteCustomizationRequest, DeleteCustomizationResponse, DomainEvent, DomainEventBodyOneOf, Empty, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EventMetadata, File, FocalPoint, FreeTextSettings, GetCustomizationRequest, GetCustomizationResponse, IdentificationData, IdentificationDataIdOneOf, InvalidateCache, InvalidateCacheGetByOneOf, ItemMetadata, MaskedChoice, MessageEnvelope, ModifierSettings, MultipleColors, Page, Pages, QueryCustomizationsRequest, QueryCustomizationsResponse, RecloneSiteRequest, RecloneSiteResponse, RemoveCustomizationChoicesRequest, ReorderCustomizationChoicesRequest, RequestedFields, RequestedFieldsWithLiterals, RestoreInfo, SetCustomizationChoicesRequest, SortOrder, SortOrderWithLiterals, Sorting, URI, URIs, UpdateCustomizationChoicesRequest, UpdateCustomizationRequest, UpdateCustomizationResponse, WebhookIdentityType, WebhookIdentityTypeWithLiterals, utils } from './index.typings.js';
4
4
 
5
5
  declare function createCustomization$1(httpClient: HttpClient): CreateCustomizationSignature;
@@ -9,7 +9,7 @@ interface CreateCustomizationSignature {
9
9
  * @param - Customization to create.
10
10
  * @returns Created customization.
11
11
  */
12
- (customization: NonNullablePaths<Customization, `choicesSettings.choices` | `customizationRenderType` | `customizationType` | `freeTextInput.title` | `name`, 1>): Promise<NonNullablePaths<Customization, `freeTextInput.minCharCount` | `freeTextInput.maxCharCount` | `freeTextInput.title` | `choicesSettings.choices` | `choicesSettings.choices.${number}.colorCode` | `choicesSettings.choices.${number}._id` | `choicesSettings.choices.${number}.choiceType` | `choicesSettings.choices.${number}.name` | `name` | `customizationType` | `customizationRenderType`, 3> & {
12
+ (customization: NonNullablePaths<Customization, `choicesSettings.choices` | `customizationRenderType` | `customizationType` | `freeTextInput.title` | `name`, 1>, options?: CreateCustomizationOptions): Promise<NonNullablePaths<Customization, `freeTextInput.minCharCount` | `freeTextInput.maxCharCount` | `freeTextInput.title` | `choicesSettings.choices` | `choicesSettings.choices.${number}.colorCode` | `choicesSettings.choices.${number}._id` | `choicesSettings.choices.${number}.choiceType` | `choicesSettings.choices.${number}.name` | `name` | `customizationType` | `customizationRenderType`, 3> & {
13
13
  __applicationErrorsType?: CreateCustomizationApplicationErrors;
14
14
  __validationErrorsType?: CreateCustomizationValidationErrors;
15
15
  }>;
@@ -208,4 +208,4 @@ declare const onCustomizationDeleted: BuildEventDefinition<typeof onCustomizatio
208
208
  */
209
209
  declare const onCustomizationUpdated: BuildEventDefinition<typeof onCustomizationUpdated$1> & typeof onCustomizationUpdated$1;
210
210
 
211
- export { AddCustomizationChoicesApplicationErrors, AddCustomizationChoicesOptions, AddCustomizationChoicesResponse, AddCustomizationChoicesValidationErrors, BulkAddCustomizationChoicesApplicationErrors, BulkAddCustomizationChoicesOptions, BulkAddCustomizationChoicesResponse, BulkAddCustomizationChoicesValidationErrors, BulkCreateCustomizationsApplicationErrors, BulkCreateCustomizationsOptions, BulkCreateCustomizationsResponse, BulkCreateCustomizationsValidationErrors, BulkUpdateCustomizationsApplicationErrors, BulkUpdateCustomizationsOptions, BulkUpdateCustomizationsResponse, Choice, CountCustomizationsOptions, CountCustomizationsResponse, CreateCustomizationApplicationErrors, CreateCustomizationValidationErrors, Customization, CustomizationChoices, CustomizationCreatedEnvelope, CustomizationDeletedEnvelope, CustomizationQuery, CustomizationUpdatedEnvelope, CustomizationsQueryBuilder, DeleteCustomizationValidationErrors, GetCustomizationOptions, MaskedCustomization, QueryCustomizationsOptions, RemoveCustomizationChoicesApplicationErrors, RemoveCustomizationChoicesOptions, RemoveCustomizationChoicesResponse, RemoveCustomizationChoicesValidationErrors, ReorderCustomizationChoicesApplicationErrors, ReorderCustomizationChoicesOptions, ReorderCustomizationChoicesResponse, SetCustomizationChoicesApplicationErrors, SetCustomizationChoicesOptions, SetCustomizationChoicesResponse, SetCustomizationChoicesValidationErrors, UpdateCustomization, UpdateCustomizationApplicationErrors, UpdateCustomizationChoicesApplicationErrors, UpdateCustomizationChoicesOptions, UpdateCustomizationChoicesResponse, UpdateCustomizationChoicesValidationErrors, UpdateCustomizationOptions, addCustomizationChoices, bulkAddCustomizationChoices, bulkCreateCustomizations, bulkUpdateCustomizations, countCustomizations, createCustomization, deleteCustomization, getCustomization, onCustomizationCreated, onCustomizationDeleted, onCustomizationUpdated, queryCustomizations, removeCustomizationChoices, reorderCustomizationChoices, setCustomizationChoices, updateCustomization, updateCustomizationChoices };
211
+ export { AddCustomizationChoicesApplicationErrors, AddCustomizationChoicesOptions, AddCustomizationChoicesResponse, AddCustomizationChoicesValidationErrors, BulkAddCustomizationChoicesApplicationErrors, BulkAddCustomizationChoicesOptions, BulkAddCustomizationChoicesResponse, BulkAddCustomizationChoicesValidationErrors, BulkCreateCustomizationsApplicationErrors, BulkCreateCustomizationsOptions, BulkCreateCustomizationsResponse, BulkCreateCustomizationsValidationErrors, BulkUpdateCustomizationsApplicationErrors, BulkUpdateCustomizationsOptions, BulkUpdateCustomizationsResponse, Choice, CountCustomizationsOptions, CountCustomizationsResponse, CreateCustomizationApplicationErrors, CreateCustomizationOptions, CreateCustomizationValidationErrors, Customization, CustomizationChoices, CustomizationCreatedEnvelope, CustomizationDeletedEnvelope, CustomizationQuery, CustomizationUpdatedEnvelope, CustomizationsQueryBuilder, DeleteCustomizationValidationErrors, GetCustomizationOptions, MaskedCustomization, QueryCustomizationsOptions, RemoveCustomizationChoicesApplicationErrors, RemoveCustomizationChoicesOptions, RemoveCustomizationChoicesResponse, RemoveCustomizationChoicesValidationErrors, ReorderCustomizationChoicesApplicationErrors, ReorderCustomizationChoicesOptions, ReorderCustomizationChoicesResponse, SetCustomizationChoicesApplicationErrors, SetCustomizationChoicesOptions, SetCustomizationChoicesResponse, SetCustomizationChoicesValidationErrors, UpdateCustomization, UpdateCustomizationApplicationErrors, UpdateCustomizationChoicesApplicationErrors, UpdateCustomizationChoicesOptions, UpdateCustomizationChoicesResponse, UpdateCustomizationChoicesValidationErrors, UpdateCustomizationOptions, addCustomizationChoices, bulkAddCustomizationChoices, bulkCreateCustomizations, bulkUpdateCustomizations, countCustomizations, createCustomization, deleteCustomization, getCustomization, onCustomizationCreated, onCustomizationDeleted, onCustomizationUpdated, queryCustomizations, removeCustomizationChoices, reorderCustomizationChoices, setCustomizationChoices, updateCustomization, updateCustomizationChoices };
@@ -508,7 +508,22 @@ interface URIs {
508
508
  interface CreateCustomizationRequest {
509
509
  /** Customization to create. */
510
510
  customization: Customization;
511
+ /**
512
+ * Fields to include in the response.
513
+ *
514
+ * Supported values: `ASSIGNED_PRODUCTS_COUNT`
515
+ * @maxSize 100
516
+ */
517
+ fields?: RequestedFieldsWithLiterals[];
511
518
  }
519
+ declare enum RequestedFields {
520
+ /** Assigned products count. */
521
+ ASSIGNED_PRODUCTS_COUNT = "ASSIGNED_PRODUCTS_COUNT",
522
+ /** Returns display images for choices. */
523
+ CHOICE_DISPLAY_IMAGE = "CHOICE_DISPLAY_IMAGE"
524
+ }
525
+ /** @enumType */
526
+ type RequestedFieldsWithLiterals = RequestedFields | 'ASSIGNED_PRODUCTS_COUNT' | 'CHOICE_DISPLAY_IMAGE';
512
527
  interface CreateCustomizationResponse {
513
528
  /** Created customization. */
514
529
  customization?: Customization;
@@ -527,14 +542,6 @@ interface GetCustomizationRequest {
527
542
  */
528
543
  fields?: RequestedFieldsWithLiterals[];
529
544
  }
530
- declare enum RequestedFields {
531
- /** Assigned products count. */
532
- ASSIGNED_PRODUCTS_COUNT = "ASSIGNED_PRODUCTS_COUNT",
533
- /** Returns display images for choices. */
534
- CHOICE_DISPLAY_IMAGE = "CHOICE_DISPLAY_IMAGE"
535
- }
536
- /** @enumType */
537
- type RequestedFieldsWithLiterals = RequestedFields | 'ASSIGNED_PRODUCTS_COUNT' | 'CHOICE_DISPLAY_IMAGE';
538
545
  interface GetCustomizationResponse {
539
546
  /** Customization. */
540
547
  customization?: Customization;
@@ -707,6 +714,13 @@ interface BulkCreateCustomizationsRequest {
707
714
  * Default: `false`
708
715
  */
709
716
  returnEntity?: boolean;
717
+ /**
718
+ * Fields to include in the response.
719
+ *
720
+ * Supported values: `ASSIGNED_PRODUCTS_COUNT`
721
+ * @maxSize 100
722
+ */
723
+ fields?: RequestedFieldsWithLiterals[];
710
724
  }
711
725
  interface BulkCreateCustomizationsResponse {
712
726
  /**
@@ -1638,10 +1652,19 @@ declare function onCustomizationUpdated(handler: (event: CustomizationUpdatedEnv
1638
1652
  * @returns Created customization.
1639
1653
  * @fqn wix.stores.catalog.customization.v3.CustomizationService.CreateCustomization
1640
1654
  */
1641
- declare function createCustomization(customization: NonNullablePaths<Customization, `choicesSettings.choices` | `customizationRenderType` | `customizationType` | `freeTextInput.title` | `name`, 1>): Promise<NonNullablePaths<Customization, `freeTextInput.minCharCount` | `freeTextInput.maxCharCount` | `freeTextInput.title` | `choicesSettings.choices` | `choicesSettings.choices.${number}.colorCode` | `choicesSettings.choices.${number}._id` | `choicesSettings.choices.${number}.choiceType` | `choicesSettings.choices.${number}.name` | `name` | `customizationType` | `customizationRenderType`, 3> & {
1655
+ declare function createCustomization(customization: NonNullablePaths<Customization, `choicesSettings.choices` | `customizationRenderType` | `customizationType` | `freeTextInput.title` | `name`, 1>, options?: CreateCustomizationOptions): Promise<NonNullablePaths<Customization, `freeTextInput.minCharCount` | `freeTextInput.maxCharCount` | `freeTextInput.title` | `choicesSettings.choices` | `choicesSettings.choices.${number}.colorCode` | `choicesSettings.choices.${number}._id` | `choicesSettings.choices.${number}.choiceType` | `choicesSettings.choices.${number}.name` | `name` | `customizationType` | `customizationRenderType`, 3> & {
1642
1656
  __applicationErrorsType?: CreateCustomizationApplicationErrors;
1643
1657
  __validationErrorsType?: CreateCustomizationValidationErrors;
1644
1658
  }>;
1659
+ interface CreateCustomizationOptions {
1660
+ /**
1661
+ * Fields to include in the response.
1662
+ *
1663
+ * Supported values: `ASSIGNED_PRODUCTS_COUNT`
1664
+ * @maxSize 100
1665
+ */
1666
+ fields?: RequestedFieldsWithLiterals[];
1667
+ }
1645
1668
  /**
1646
1669
  * Retrieves a customization.
1647
1670
  * @param customizationId - Customization ID.
@@ -1983,6 +2006,13 @@ interface BulkCreateCustomizationsOptions {
1983
2006
  * Default: `false`
1984
2007
  */
1985
2008
  returnEntity?: boolean;
2009
+ /**
2010
+ * Fields to include in the response.
2011
+ *
2012
+ * Supported values: `ASSIGNED_PRODUCTS_COUNT`
2013
+ * @maxSize 100
2014
+ */
2015
+ fields?: RequestedFieldsWithLiterals[];
1986
2016
  }
1987
2017
  /**
1988
2018
  * Adds choices to a customization.
@@ -2207,4 +2237,4 @@ interface BulkUpdateCustomizationsOptions {
2207
2237
  fields?: RequestedFieldsWithLiterals[];
2208
2238
  }
2209
2239
 
2210
- export { type AccountInfo, type AccountInfoMetadata, type ActionEvent, type AddCustomizationChoicesApplicationErrors, type AddCustomizationChoicesOptions, type AddCustomizationChoicesRequest, type AddCustomizationChoicesResponse, type AddCustomizationChoicesValidationErrors, type App, type ApplicationError, type BaseEventMetadata, type BulkActionMetadata, type BulkAddCustomizationChoicesApplicationErrors, type BulkAddCustomizationChoicesOptions, type BulkAddCustomizationChoicesRequest, type BulkAddCustomizationChoicesResponse, type BulkAddCustomizationChoicesValidationErrors, type BulkCreateCustomizationsApplicationErrors, type BulkCreateCustomizationsForMigrationRequest, type BulkCreateCustomizationsForMigrationResponse, type BulkCreateCustomizationsOptions, type BulkCreateCustomizationsRequest, type BulkCreateCustomizationsResponse, type BulkCreateCustomizationsValidationErrors, type BulkCustomizationResult, type BulkUpdateCustomizationsApplicationErrors, type BulkUpdateCustomizationsOptions, type BulkUpdateCustomizationsRequest, type BulkUpdateCustomizationsResponse, type CatalogRollbackRequested, type Choice, type ChoiceIdsMismatchData, ChoiceSortStrategy, type ChoiceSortStrategyWithLiterals, ChoiceType, type ChoiceTypeWithLiterals, type ChoiceValueOneOf, type ChoicesSettings, type CommonQueryWithEntityContext, type CountCustomizationsOptions, type CountCustomizationsRequest, type CountCustomizationsResponse, type CreateCustomizationApplicationErrors, type CreateCustomizationRequest, type CreateCustomizationResponse, type CreateCustomizationValidationErrors, type CursorPaging, type CursorPagingMetadata, type CursorQuery, type CursorQueryPagingMethodOneOf, type Cursors, type CustomTag, type Customization, type CustomizationChoices, type CustomizationCreatedEnvelope, type CustomizationCustomizationSettingsOneOf, type CustomizationDeletedEnvelope, type CustomizationIdsWrapper, type CustomizationQuery, type CustomizationQuerySpec, CustomizationRenderType, type CustomizationRenderTypeWithLiterals, CustomizationType, type CustomizationTypeSpecificSettingsOneOf, type CustomizationTypeWithLiterals, type CustomizationUpdatedEnvelope, type CustomizationsQueryBuilder, type CustomizationsQueryResult, type DeleteCustomizationRequest, type DeleteCustomizationResponse, type DeleteCustomizationValidationErrors, type DomainEvent, type DomainEventBodyOneOf, type Empty, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EventMetadata, type File, type FocalPoint, type FreeTextSettings, type GetCustomizationOptions, type GetCustomizationRequest, type GetCustomizationResponse, type IdentificationData, type IdentificationDataIdOneOf, type InvalidateCache, type InvalidateCacheGetByOneOf, type ItemMetadata, type MaskedChoice, type MaskedCustomization, type MessageEnvelope, type ModifierSettings, type MultipleColors, type Page, type Pages, type QueryCustomizationsOptions, type QueryCustomizationsRequest, type QueryCustomizationsResponse, type RecloneSiteRequest, type RecloneSiteResponse, type RemoveCustomizationChoicesApplicationErrors, type RemoveCustomizationChoicesOptions, type RemoveCustomizationChoicesRequest, type RemoveCustomizationChoicesResponse, type RemoveCustomizationChoicesValidationErrors, type ReorderCustomizationChoicesApplicationErrors, type ReorderCustomizationChoicesOptions, type ReorderCustomizationChoicesRequest, type ReorderCustomizationChoicesResponse, RequestedFields, type RequestedFieldsWithLiterals, type RestoreInfo, type SetCustomizationChoicesApplicationErrors, type SetCustomizationChoicesOptions, type SetCustomizationChoicesRequest, type SetCustomizationChoicesResponse, type SetCustomizationChoicesValidationErrors, SortOrder, type SortOrderWithLiterals, type Sorting, type URI, type URIs, type UpdateCustomization, type UpdateCustomizationApplicationErrors, type UpdateCustomizationChoicesApplicationErrors, type UpdateCustomizationChoicesOptions, type UpdateCustomizationChoicesRequest, type UpdateCustomizationChoicesResponse, type UpdateCustomizationChoicesValidationErrors, type UpdateCustomizationOptions, type UpdateCustomizationRequest, type UpdateCustomizationResponse, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, addCustomizationChoices, bulkAddCustomizationChoices, bulkCreateCustomizations, bulkUpdateCustomizations, countCustomizations, createCustomization, deleteCustomization, getCustomization, onCustomizationCreated, onCustomizationDeleted, onCustomizationUpdated, queryCustomizations, removeCustomizationChoices, reorderCustomizationChoices, setCustomizationChoices, typedQueryCustomizations, updateCustomization, updateCustomizationChoices, utils };
2240
+ export { type AccountInfo, type AccountInfoMetadata, type ActionEvent, type AddCustomizationChoicesApplicationErrors, type AddCustomizationChoicesOptions, type AddCustomizationChoicesRequest, type AddCustomizationChoicesResponse, type AddCustomizationChoicesValidationErrors, type App, type ApplicationError, type BaseEventMetadata, type BulkActionMetadata, type BulkAddCustomizationChoicesApplicationErrors, type BulkAddCustomizationChoicesOptions, type BulkAddCustomizationChoicesRequest, type BulkAddCustomizationChoicesResponse, type BulkAddCustomizationChoicesValidationErrors, type BulkCreateCustomizationsApplicationErrors, type BulkCreateCustomizationsForMigrationRequest, type BulkCreateCustomizationsForMigrationResponse, type BulkCreateCustomizationsOptions, type BulkCreateCustomizationsRequest, type BulkCreateCustomizationsResponse, type BulkCreateCustomizationsValidationErrors, type BulkCustomizationResult, type BulkUpdateCustomizationsApplicationErrors, type BulkUpdateCustomizationsOptions, type BulkUpdateCustomizationsRequest, type BulkUpdateCustomizationsResponse, type CatalogRollbackRequested, type Choice, type ChoiceIdsMismatchData, ChoiceSortStrategy, type ChoiceSortStrategyWithLiterals, ChoiceType, type ChoiceTypeWithLiterals, type ChoiceValueOneOf, type ChoicesSettings, type CommonQueryWithEntityContext, type CountCustomizationsOptions, type CountCustomizationsRequest, type CountCustomizationsResponse, type CreateCustomizationApplicationErrors, type CreateCustomizationOptions, type CreateCustomizationRequest, type CreateCustomizationResponse, type CreateCustomizationValidationErrors, type CursorPaging, type CursorPagingMetadata, type CursorQuery, type CursorQueryPagingMethodOneOf, type Cursors, type CustomTag, type Customization, type CustomizationChoices, type CustomizationCreatedEnvelope, type CustomizationCustomizationSettingsOneOf, type CustomizationDeletedEnvelope, type CustomizationIdsWrapper, type CustomizationQuery, type CustomizationQuerySpec, CustomizationRenderType, type CustomizationRenderTypeWithLiterals, CustomizationType, type CustomizationTypeSpecificSettingsOneOf, type CustomizationTypeWithLiterals, type CustomizationUpdatedEnvelope, type CustomizationsQueryBuilder, type CustomizationsQueryResult, type DeleteCustomizationRequest, type DeleteCustomizationResponse, type DeleteCustomizationValidationErrors, type DomainEvent, type DomainEventBodyOneOf, type Empty, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EventMetadata, type File, type FocalPoint, type FreeTextSettings, type GetCustomizationOptions, type GetCustomizationRequest, type GetCustomizationResponse, type IdentificationData, type IdentificationDataIdOneOf, type InvalidateCache, type InvalidateCacheGetByOneOf, type ItemMetadata, type MaskedChoice, type MaskedCustomization, type MessageEnvelope, type ModifierSettings, type MultipleColors, type Page, type Pages, type QueryCustomizationsOptions, type QueryCustomizationsRequest, type QueryCustomizationsResponse, type RecloneSiteRequest, type RecloneSiteResponse, type RemoveCustomizationChoicesApplicationErrors, type RemoveCustomizationChoicesOptions, type RemoveCustomizationChoicesRequest, type RemoveCustomizationChoicesResponse, type RemoveCustomizationChoicesValidationErrors, type ReorderCustomizationChoicesApplicationErrors, type ReorderCustomizationChoicesOptions, type ReorderCustomizationChoicesRequest, type ReorderCustomizationChoicesResponse, RequestedFields, type RequestedFieldsWithLiterals, type RestoreInfo, type SetCustomizationChoicesApplicationErrors, type SetCustomizationChoicesOptions, type SetCustomizationChoicesRequest, type SetCustomizationChoicesResponse, type SetCustomizationChoicesValidationErrors, SortOrder, type SortOrderWithLiterals, type Sorting, type URI, type URIs, type UpdateCustomization, type UpdateCustomizationApplicationErrors, type UpdateCustomizationChoicesApplicationErrors, type UpdateCustomizationChoicesOptions, type UpdateCustomizationChoicesRequest, type UpdateCustomizationChoicesResponse, type UpdateCustomizationChoicesValidationErrors, type UpdateCustomizationOptions, type UpdateCustomizationRequest, type UpdateCustomizationResponse, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, addCustomizationChoices, bulkAddCustomizationChoices, bulkCreateCustomizations, bulkUpdateCustomizations, countCustomizations, createCustomization, deleteCustomization, getCustomization, onCustomizationCreated, onCustomizationDeleted, onCustomizationUpdated, queryCustomizations, removeCustomizationChoices, reorderCustomizationChoices, setCustomizationChoices, typedQueryCustomizations, updateCustomization, updateCustomizationChoices, utils };
@@ -595,7 +595,22 @@ interface URIs {
595
595
  interface CreateCustomizationRequest {
596
596
  /** Customization to create. */
597
597
  customization: Customization;
598
+ /**
599
+ * Fields to include in the response.
600
+ *
601
+ * Supported values: `ASSIGNED_PRODUCTS_COUNT`
602
+ * @maxSize 100
603
+ */
604
+ fields?: RequestedFieldsWithLiterals[];
598
605
  }
606
+ declare enum RequestedFields {
607
+ /** Assigned products count. */
608
+ ASSIGNED_PRODUCTS_COUNT = "ASSIGNED_PRODUCTS_COUNT",
609
+ /** Returns display images for choices. */
610
+ CHOICE_DISPLAY_IMAGE = "CHOICE_DISPLAY_IMAGE"
611
+ }
612
+ /** @enumType */
613
+ type RequestedFieldsWithLiterals = RequestedFields | 'ASSIGNED_PRODUCTS_COUNT' | 'CHOICE_DISPLAY_IMAGE';
599
614
  interface CreateCustomizationResponse {
600
615
  /** Created customization. */
601
616
  customization?: Customization;
@@ -614,14 +629,6 @@ interface GetCustomizationRequest {
614
629
  */
615
630
  fields?: RequestedFieldsWithLiterals[];
616
631
  }
617
- declare enum RequestedFields {
618
- /** Assigned products count. */
619
- ASSIGNED_PRODUCTS_COUNT = "ASSIGNED_PRODUCTS_COUNT",
620
- /** Returns display images for choices. */
621
- CHOICE_DISPLAY_IMAGE = "CHOICE_DISPLAY_IMAGE"
622
- }
623
- /** @enumType */
624
- type RequestedFieldsWithLiterals = RequestedFields | 'ASSIGNED_PRODUCTS_COUNT' | 'CHOICE_DISPLAY_IMAGE';
625
632
  interface GetCustomizationResponse {
626
633
  /** Customization. */
627
634
  customization?: Customization;
@@ -794,6 +801,13 @@ interface BulkCreateCustomizationsRequest {
794
801
  * Default: `false`
795
802
  */
796
803
  returnEntity?: boolean;
804
+ /**
805
+ * Fields to include in the response.
806
+ *
807
+ * Supported values: `ASSIGNED_PRODUCTS_COUNT`
808
+ * @maxSize 100
809
+ */
810
+ fields?: RequestedFieldsWithLiterals[];
797
811
  }
798
812
  interface BulkCreateCustomizationsResponse {
799
813
  /**
@@ -1,5 +1,5 @@
1
1
  import { HttpClient, NonNullablePaths, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types';
2
- import { Customization, CreateCustomizationApplicationErrors, CreateCustomizationValidationErrors, GetCustomizationOptions, UpdateCustomization, UpdateCustomizationOptions, UpdateCustomizationApplicationErrors, DeleteCustomizationValidationErrors, CountCustomizationsOptions, CountCustomizationsResponse, BulkCreateCustomizationsOptions, BulkCreateCustomizationsResponse, BulkCreateCustomizationsApplicationErrors, BulkCreateCustomizationsValidationErrors, Choice, AddCustomizationChoicesOptions, AddCustomizationChoicesResponse, AddCustomizationChoicesApplicationErrors, AddCustomizationChoicesValidationErrors, SetCustomizationChoicesOptions, SetCustomizationChoicesResponse, SetCustomizationChoicesApplicationErrors, SetCustomizationChoicesValidationErrors, RemoveCustomizationChoicesOptions, RemoveCustomizationChoicesResponse, RemoveCustomizationChoicesApplicationErrors, RemoveCustomizationChoicesValidationErrors, UpdateCustomizationChoicesOptions, UpdateCustomizationChoicesResponse, UpdateCustomizationChoicesApplicationErrors, UpdateCustomizationChoicesValidationErrors, ReorderCustomizationChoicesOptions, ReorderCustomizationChoicesResponse, ReorderCustomizationChoicesApplicationErrors, CustomizationChoices, BulkAddCustomizationChoicesOptions, BulkAddCustomizationChoicesResponse, BulkAddCustomizationChoicesApplicationErrors, BulkAddCustomizationChoicesValidationErrors, MaskedCustomization, BulkUpdateCustomizationsOptions, BulkUpdateCustomizationsResponse, BulkUpdateCustomizationsApplicationErrors, CustomizationCreatedEnvelope, CustomizationDeletedEnvelope, CustomizationUpdatedEnvelope, CustomizationQuery, QueryCustomizationsOptions, typedQueryCustomizations, CustomizationsQueryBuilder } from './index.typings.mjs';
2
+ import { Customization, CreateCustomizationOptions, CreateCustomizationApplicationErrors, CreateCustomizationValidationErrors, GetCustomizationOptions, UpdateCustomization, UpdateCustomizationOptions, UpdateCustomizationApplicationErrors, DeleteCustomizationValidationErrors, CountCustomizationsOptions, CountCustomizationsResponse, BulkCreateCustomizationsOptions, BulkCreateCustomizationsResponse, BulkCreateCustomizationsApplicationErrors, BulkCreateCustomizationsValidationErrors, Choice, AddCustomizationChoicesOptions, AddCustomizationChoicesResponse, AddCustomizationChoicesApplicationErrors, AddCustomizationChoicesValidationErrors, SetCustomizationChoicesOptions, SetCustomizationChoicesResponse, SetCustomizationChoicesApplicationErrors, SetCustomizationChoicesValidationErrors, RemoveCustomizationChoicesOptions, RemoveCustomizationChoicesResponse, RemoveCustomizationChoicesApplicationErrors, RemoveCustomizationChoicesValidationErrors, UpdateCustomizationChoicesOptions, UpdateCustomizationChoicesResponse, UpdateCustomizationChoicesApplicationErrors, UpdateCustomizationChoicesValidationErrors, ReorderCustomizationChoicesOptions, ReorderCustomizationChoicesResponse, ReorderCustomizationChoicesApplicationErrors, CustomizationChoices, BulkAddCustomizationChoicesOptions, BulkAddCustomizationChoicesResponse, BulkAddCustomizationChoicesApplicationErrors, BulkAddCustomizationChoicesValidationErrors, MaskedCustomization, BulkUpdateCustomizationsOptions, BulkUpdateCustomizationsResponse, BulkUpdateCustomizationsApplicationErrors, CustomizationCreatedEnvelope, CustomizationDeletedEnvelope, CustomizationUpdatedEnvelope, CustomizationQuery, QueryCustomizationsOptions, typedQueryCustomizations, CustomizationsQueryBuilder } from './index.typings.mjs';
3
3
  export { AccountInfo, AccountInfoMetadata, ActionEvent, AddCustomizationChoicesRequest, App, ApplicationError, BaseEventMetadata, BulkActionMetadata, BulkAddCustomizationChoicesRequest, BulkCreateCustomizationsForMigrationRequest, BulkCreateCustomizationsForMigrationResponse, BulkCreateCustomizationsRequest, BulkCustomizationResult, BulkUpdateCustomizationsRequest, CatalogRollbackRequested, ChoiceIdsMismatchData, ChoiceSortStrategy, ChoiceSortStrategyWithLiterals, ChoiceType, ChoiceTypeWithLiterals, ChoiceValueOneOf, ChoicesSettings, CommonQueryWithEntityContext, CountCustomizationsRequest, CreateCustomizationRequest, CreateCustomizationResponse, CursorPaging, CursorPagingMetadata, CursorQuery, CursorQueryPagingMethodOneOf, Cursors, CustomTag, CustomizationCustomizationSettingsOneOf, CustomizationIdsWrapper, CustomizationQuerySpec, CustomizationRenderType, CustomizationRenderTypeWithLiterals, CustomizationType, CustomizationTypeSpecificSettingsOneOf, CustomizationTypeWithLiterals, CustomizationsQueryResult, DeleteCustomizationRequest, DeleteCustomizationResponse, DomainEvent, DomainEventBodyOneOf, Empty, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EventMetadata, File, FocalPoint, FreeTextSettings, GetCustomizationRequest, GetCustomizationResponse, IdentificationData, IdentificationDataIdOneOf, InvalidateCache, InvalidateCacheGetByOneOf, ItemMetadata, MaskedChoice, MessageEnvelope, ModifierSettings, MultipleColors, Page, Pages, QueryCustomizationsRequest, QueryCustomizationsResponse, RecloneSiteRequest, RecloneSiteResponse, RemoveCustomizationChoicesRequest, ReorderCustomizationChoicesRequest, RequestedFields, RequestedFieldsWithLiterals, RestoreInfo, SetCustomizationChoicesRequest, SortOrder, SortOrderWithLiterals, Sorting, URI, URIs, UpdateCustomizationChoicesRequest, UpdateCustomizationRequest, UpdateCustomizationResponse, WebhookIdentityType, WebhookIdentityTypeWithLiterals, utils } from './index.typings.mjs';
4
4
 
5
5
  declare function createCustomization$1(httpClient: HttpClient): CreateCustomizationSignature;
@@ -9,7 +9,7 @@ interface CreateCustomizationSignature {
9
9
  * @param - Customization to create.
10
10
  * @returns Created customization.
11
11
  */
12
- (customization: NonNullablePaths<Customization, `choicesSettings.choices` | `customizationRenderType` | `customizationType` | `freeTextInput.title` | `name`, 1>): Promise<NonNullablePaths<Customization, `freeTextInput.minCharCount` | `freeTextInput.maxCharCount` | `freeTextInput.title` | `choicesSettings.choices` | `choicesSettings.choices.${number}.colorCode` | `choicesSettings.choices.${number}._id` | `choicesSettings.choices.${number}.choiceType` | `choicesSettings.choices.${number}.name` | `name` | `customizationType` | `customizationRenderType`, 3> & {
12
+ (customization: NonNullablePaths<Customization, `choicesSettings.choices` | `customizationRenderType` | `customizationType` | `freeTextInput.title` | `name`, 1>, options?: CreateCustomizationOptions): Promise<NonNullablePaths<Customization, `freeTextInput.minCharCount` | `freeTextInput.maxCharCount` | `freeTextInput.title` | `choicesSettings.choices` | `choicesSettings.choices.${number}.colorCode` | `choicesSettings.choices.${number}._id` | `choicesSettings.choices.${number}.choiceType` | `choicesSettings.choices.${number}.name` | `name` | `customizationType` | `customizationRenderType`, 3> & {
13
13
  __applicationErrorsType?: CreateCustomizationApplicationErrors;
14
14
  __validationErrorsType?: CreateCustomizationValidationErrors;
15
15
  }>;
@@ -208,4 +208,4 @@ declare const onCustomizationDeleted: BuildEventDefinition<typeof onCustomizatio
208
208
  */
209
209
  declare const onCustomizationUpdated: BuildEventDefinition<typeof onCustomizationUpdated$1> & typeof onCustomizationUpdated$1;
210
210
 
211
- export { AddCustomizationChoicesApplicationErrors, AddCustomizationChoicesOptions, AddCustomizationChoicesResponse, AddCustomizationChoicesValidationErrors, BulkAddCustomizationChoicesApplicationErrors, BulkAddCustomizationChoicesOptions, BulkAddCustomizationChoicesResponse, BulkAddCustomizationChoicesValidationErrors, BulkCreateCustomizationsApplicationErrors, BulkCreateCustomizationsOptions, BulkCreateCustomizationsResponse, BulkCreateCustomizationsValidationErrors, BulkUpdateCustomizationsApplicationErrors, BulkUpdateCustomizationsOptions, BulkUpdateCustomizationsResponse, Choice, CountCustomizationsOptions, CountCustomizationsResponse, CreateCustomizationApplicationErrors, CreateCustomizationValidationErrors, Customization, CustomizationChoices, CustomizationCreatedEnvelope, CustomizationDeletedEnvelope, CustomizationQuery, CustomizationUpdatedEnvelope, CustomizationsQueryBuilder, DeleteCustomizationValidationErrors, GetCustomizationOptions, MaskedCustomization, QueryCustomizationsOptions, RemoveCustomizationChoicesApplicationErrors, RemoveCustomizationChoicesOptions, RemoveCustomizationChoicesResponse, RemoveCustomizationChoicesValidationErrors, ReorderCustomizationChoicesApplicationErrors, ReorderCustomizationChoicesOptions, ReorderCustomizationChoicesResponse, SetCustomizationChoicesApplicationErrors, SetCustomizationChoicesOptions, SetCustomizationChoicesResponse, SetCustomizationChoicesValidationErrors, UpdateCustomization, UpdateCustomizationApplicationErrors, UpdateCustomizationChoicesApplicationErrors, UpdateCustomizationChoicesOptions, UpdateCustomizationChoicesResponse, UpdateCustomizationChoicesValidationErrors, UpdateCustomizationOptions, addCustomizationChoices, bulkAddCustomizationChoices, bulkCreateCustomizations, bulkUpdateCustomizations, countCustomizations, createCustomization, deleteCustomization, getCustomization, onCustomizationCreated, onCustomizationDeleted, onCustomizationUpdated, queryCustomizations, removeCustomizationChoices, reorderCustomizationChoices, setCustomizationChoices, updateCustomization, updateCustomizationChoices };
211
+ export { AddCustomizationChoicesApplicationErrors, AddCustomizationChoicesOptions, AddCustomizationChoicesResponse, AddCustomizationChoicesValidationErrors, BulkAddCustomizationChoicesApplicationErrors, BulkAddCustomizationChoicesOptions, BulkAddCustomizationChoicesResponse, BulkAddCustomizationChoicesValidationErrors, BulkCreateCustomizationsApplicationErrors, BulkCreateCustomizationsOptions, BulkCreateCustomizationsResponse, BulkCreateCustomizationsValidationErrors, BulkUpdateCustomizationsApplicationErrors, BulkUpdateCustomizationsOptions, BulkUpdateCustomizationsResponse, Choice, CountCustomizationsOptions, CountCustomizationsResponse, CreateCustomizationApplicationErrors, CreateCustomizationOptions, CreateCustomizationValidationErrors, Customization, CustomizationChoices, CustomizationCreatedEnvelope, CustomizationDeletedEnvelope, CustomizationQuery, CustomizationUpdatedEnvelope, CustomizationsQueryBuilder, DeleteCustomizationValidationErrors, GetCustomizationOptions, MaskedCustomization, QueryCustomizationsOptions, RemoveCustomizationChoicesApplicationErrors, RemoveCustomizationChoicesOptions, RemoveCustomizationChoicesResponse, RemoveCustomizationChoicesValidationErrors, ReorderCustomizationChoicesApplicationErrors, ReorderCustomizationChoicesOptions, ReorderCustomizationChoicesResponse, SetCustomizationChoicesApplicationErrors, SetCustomizationChoicesOptions, SetCustomizationChoicesResponse, SetCustomizationChoicesValidationErrors, UpdateCustomization, UpdateCustomizationApplicationErrors, UpdateCustomizationChoicesApplicationErrors, UpdateCustomizationChoicesOptions, UpdateCustomizationChoicesResponse, UpdateCustomizationChoicesValidationErrors, UpdateCustomizationOptions, addCustomizationChoices, bulkAddCustomizationChoices, bulkCreateCustomizations, bulkUpdateCustomizations, countCustomizations, createCustomization, deleteCustomization, getCustomization, onCustomizationCreated, onCustomizationDeleted, onCustomizationUpdated, queryCustomizations, removeCustomizationChoices, reorderCustomizationChoices, setCustomizationChoices, updateCustomization, updateCustomizationChoices };
@@ -508,7 +508,22 @@ interface URIs {
508
508
  interface CreateCustomizationRequest {
509
509
  /** Customization to create. */
510
510
  customization: Customization;
511
+ /**
512
+ * Fields to include in the response.
513
+ *
514
+ * Supported values: `ASSIGNED_PRODUCTS_COUNT`
515
+ * @maxSize 100
516
+ */
517
+ fields?: RequestedFieldsWithLiterals[];
511
518
  }
519
+ declare enum RequestedFields {
520
+ /** Assigned products count. */
521
+ ASSIGNED_PRODUCTS_COUNT = "ASSIGNED_PRODUCTS_COUNT",
522
+ /** Returns display images for choices. */
523
+ CHOICE_DISPLAY_IMAGE = "CHOICE_DISPLAY_IMAGE"
524
+ }
525
+ /** @enumType */
526
+ type RequestedFieldsWithLiterals = RequestedFields | 'ASSIGNED_PRODUCTS_COUNT' | 'CHOICE_DISPLAY_IMAGE';
512
527
  interface CreateCustomizationResponse {
513
528
  /** Created customization. */
514
529
  customization?: Customization;
@@ -527,14 +542,6 @@ interface GetCustomizationRequest {
527
542
  */
528
543
  fields?: RequestedFieldsWithLiterals[];
529
544
  }
530
- declare enum RequestedFields {
531
- /** Assigned products count. */
532
- ASSIGNED_PRODUCTS_COUNT = "ASSIGNED_PRODUCTS_COUNT",
533
- /** Returns display images for choices. */
534
- CHOICE_DISPLAY_IMAGE = "CHOICE_DISPLAY_IMAGE"
535
- }
536
- /** @enumType */
537
- type RequestedFieldsWithLiterals = RequestedFields | 'ASSIGNED_PRODUCTS_COUNT' | 'CHOICE_DISPLAY_IMAGE';
538
545
  interface GetCustomizationResponse {
539
546
  /** Customization. */
540
547
  customization?: Customization;
@@ -707,6 +714,13 @@ interface BulkCreateCustomizationsRequest {
707
714
  * Default: `false`
708
715
  */
709
716
  returnEntity?: boolean;
717
+ /**
718
+ * Fields to include in the response.
719
+ *
720
+ * Supported values: `ASSIGNED_PRODUCTS_COUNT`
721
+ * @maxSize 100
722
+ */
723
+ fields?: RequestedFieldsWithLiterals[];
710
724
  }
711
725
  interface BulkCreateCustomizationsResponse {
712
726
  /**
@@ -1638,10 +1652,19 @@ declare function onCustomizationUpdated(handler: (event: CustomizationUpdatedEnv
1638
1652
  * @returns Created customization.
1639
1653
  * @fqn wix.stores.catalog.customization.v3.CustomizationService.CreateCustomization
1640
1654
  */
1641
- declare function createCustomization(customization: NonNullablePaths<Customization, `choicesSettings.choices` | `customizationRenderType` | `customizationType` | `freeTextInput.title` | `name`, 1>): Promise<NonNullablePaths<Customization, `freeTextInput.minCharCount` | `freeTextInput.maxCharCount` | `freeTextInput.title` | `choicesSettings.choices` | `choicesSettings.choices.${number}.colorCode` | `choicesSettings.choices.${number}._id` | `choicesSettings.choices.${number}.choiceType` | `choicesSettings.choices.${number}.name` | `name` | `customizationType` | `customizationRenderType`, 3> & {
1655
+ declare function createCustomization(customization: NonNullablePaths<Customization, `choicesSettings.choices` | `customizationRenderType` | `customizationType` | `freeTextInput.title` | `name`, 1>, options?: CreateCustomizationOptions): Promise<NonNullablePaths<Customization, `freeTextInput.minCharCount` | `freeTextInput.maxCharCount` | `freeTextInput.title` | `choicesSettings.choices` | `choicesSettings.choices.${number}.colorCode` | `choicesSettings.choices.${number}._id` | `choicesSettings.choices.${number}.choiceType` | `choicesSettings.choices.${number}.name` | `name` | `customizationType` | `customizationRenderType`, 3> & {
1642
1656
  __applicationErrorsType?: CreateCustomizationApplicationErrors;
1643
1657
  __validationErrorsType?: CreateCustomizationValidationErrors;
1644
1658
  }>;
1659
+ interface CreateCustomizationOptions {
1660
+ /**
1661
+ * Fields to include in the response.
1662
+ *
1663
+ * Supported values: `ASSIGNED_PRODUCTS_COUNT`
1664
+ * @maxSize 100
1665
+ */
1666
+ fields?: RequestedFieldsWithLiterals[];
1667
+ }
1645
1668
  /**
1646
1669
  * Retrieves a customization.
1647
1670
  * @param customizationId - Customization ID.
@@ -1983,6 +2006,13 @@ interface BulkCreateCustomizationsOptions {
1983
2006
  * Default: `false`
1984
2007
  */
1985
2008
  returnEntity?: boolean;
2009
+ /**
2010
+ * Fields to include in the response.
2011
+ *
2012
+ * Supported values: `ASSIGNED_PRODUCTS_COUNT`
2013
+ * @maxSize 100
2014
+ */
2015
+ fields?: RequestedFieldsWithLiterals[];
1986
2016
  }
1987
2017
  /**
1988
2018
  * Adds choices to a customization.
@@ -2207,4 +2237,4 @@ interface BulkUpdateCustomizationsOptions {
2207
2237
  fields?: RequestedFieldsWithLiterals[];
2208
2238
  }
2209
2239
 
2210
- export { type AccountInfo, type AccountInfoMetadata, type ActionEvent, type AddCustomizationChoicesApplicationErrors, type AddCustomizationChoicesOptions, type AddCustomizationChoicesRequest, type AddCustomizationChoicesResponse, type AddCustomizationChoicesValidationErrors, type App, type ApplicationError, type BaseEventMetadata, type BulkActionMetadata, type BulkAddCustomizationChoicesApplicationErrors, type BulkAddCustomizationChoicesOptions, type BulkAddCustomizationChoicesRequest, type BulkAddCustomizationChoicesResponse, type BulkAddCustomizationChoicesValidationErrors, type BulkCreateCustomizationsApplicationErrors, type BulkCreateCustomizationsForMigrationRequest, type BulkCreateCustomizationsForMigrationResponse, type BulkCreateCustomizationsOptions, type BulkCreateCustomizationsRequest, type BulkCreateCustomizationsResponse, type BulkCreateCustomizationsValidationErrors, type BulkCustomizationResult, type BulkUpdateCustomizationsApplicationErrors, type BulkUpdateCustomizationsOptions, type BulkUpdateCustomizationsRequest, type BulkUpdateCustomizationsResponse, type CatalogRollbackRequested, type Choice, type ChoiceIdsMismatchData, ChoiceSortStrategy, type ChoiceSortStrategyWithLiterals, ChoiceType, type ChoiceTypeWithLiterals, type ChoiceValueOneOf, type ChoicesSettings, type CommonQueryWithEntityContext, type CountCustomizationsOptions, type CountCustomizationsRequest, type CountCustomizationsResponse, type CreateCustomizationApplicationErrors, type CreateCustomizationRequest, type CreateCustomizationResponse, type CreateCustomizationValidationErrors, type CursorPaging, type CursorPagingMetadata, type CursorQuery, type CursorQueryPagingMethodOneOf, type Cursors, type CustomTag, type Customization, type CustomizationChoices, type CustomizationCreatedEnvelope, type CustomizationCustomizationSettingsOneOf, type CustomizationDeletedEnvelope, type CustomizationIdsWrapper, type CustomizationQuery, type CustomizationQuerySpec, CustomizationRenderType, type CustomizationRenderTypeWithLiterals, CustomizationType, type CustomizationTypeSpecificSettingsOneOf, type CustomizationTypeWithLiterals, type CustomizationUpdatedEnvelope, type CustomizationsQueryBuilder, type CustomizationsQueryResult, type DeleteCustomizationRequest, type DeleteCustomizationResponse, type DeleteCustomizationValidationErrors, type DomainEvent, type DomainEventBodyOneOf, type Empty, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EventMetadata, type File, type FocalPoint, type FreeTextSettings, type GetCustomizationOptions, type GetCustomizationRequest, type GetCustomizationResponse, type IdentificationData, type IdentificationDataIdOneOf, type InvalidateCache, type InvalidateCacheGetByOneOf, type ItemMetadata, type MaskedChoice, type MaskedCustomization, type MessageEnvelope, type ModifierSettings, type MultipleColors, type Page, type Pages, type QueryCustomizationsOptions, type QueryCustomizationsRequest, type QueryCustomizationsResponse, type RecloneSiteRequest, type RecloneSiteResponse, type RemoveCustomizationChoicesApplicationErrors, type RemoveCustomizationChoicesOptions, type RemoveCustomizationChoicesRequest, type RemoveCustomizationChoicesResponse, type RemoveCustomizationChoicesValidationErrors, type ReorderCustomizationChoicesApplicationErrors, type ReorderCustomizationChoicesOptions, type ReorderCustomizationChoicesRequest, type ReorderCustomizationChoicesResponse, RequestedFields, type RequestedFieldsWithLiterals, type RestoreInfo, type SetCustomizationChoicesApplicationErrors, type SetCustomizationChoicesOptions, type SetCustomizationChoicesRequest, type SetCustomizationChoicesResponse, type SetCustomizationChoicesValidationErrors, SortOrder, type SortOrderWithLiterals, type Sorting, type URI, type URIs, type UpdateCustomization, type UpdateCustomizationApplicationErrors, type UpdateCustomizationChoicesApplicationErrors, type UpdateCustomizationChoicesOptions, type UpdateCustomizationChoicesRequest, type UpdateCustomizationChoicesResponse, type UpdateCustomizationChoicesValidationErrors, type UpdateCustomizationOptions, type UpdateCustomizationRequest, type UpdateCustomizationResponse, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, addCustomizationChoices, bulkAddCustomizationChoices, bulkCreateCustomizations, bulkUpdateCustomizations, countCustomizations, createCustomization, deleteCustomization, getCustomization, onCustomizationCreated, onCustomizationDeleted, onCustomizationUpdated, queryCustomizations, removeCustomizationChoices, reorderCustomizationChoices, setCustomizationChoices, typedQueryCustomizations, updateCustomization, updateCustomizationChoices, utils };
2240
+ export { type AccountInfo, type AccountInfoMetadata, type ActionEvent, type AddCustomizationChoicesApplicationErrors, type AddCustomizationChoicesOptions, type AddCustomizationChoicesRequest, type AddCustomizationChoicesResponse, type AddCustomizationChoicesValidationErrors, type App, type ApplicationError, type BaseEventMetadata, type BulkActionMetadata, type BulkAddCustomizationChoicesApplicationErrors, type BulkAddCustomizationChoicesOptions, type BulkAddCustomizationChoicesRequest, type BulkAddCustomizationChoicesResponse, type BulkAddCustomizationChoicesValidationErrors, type BulkCreateCustomizationsApplicationErrors, type BulkCreateCustomizationsForMigrationRequest, type BulkCreateCustomizationsForMigrationResponse, type BulkCreateCustomizationsOptions, type BulkCreateCustomizationsRequest, type BulkCreateCustomizationsResponse, type BulkCreateCustomizationsValidationErrors, type BulkCustomizationResult, type BulkUpdateCustomizationsApplicationErrors, type BulkUpdateCustomizationsOptions, type BulkUpdateCustomizationsRequest, type BulkUpdateCustomizationsResponse, type CatalogRollbackRequested, type Choice, type ChoiceIdsMismatchData, ChoiceSortStrategy, type ChoiceSortStrategyWithLiterals, ChoiceType, type ChoiceTypeWithLiterals, type ChoiceValueOneOf, type ChoicesSettings, type CommonQueryWithEntityContext, type CountCustomizationsOptions, type CountCustomizationsRequest, type CountCustomizationsResponse, type CreateCustomizationApplicationErrors, type CreateCustomizationOptions, type CreateCustomizationRequest, type CreateCustomizationResponse, type CreateCustomizationValidationErrors, type CursorPaging, type CursorPagingMetadata, type CursorQuery, type CursorQueryPagingMethodOneOf, type Cursors, type CustomTag, type Customization, type CustomizationChoices, type CustomizationCreatedEnvelope, type CustomizationCustomizationSettingsOneOf, type CustomizationDeletedEnvelope, type CustomizationIdsWrapper, type CustomizationQuery, type CustomizationQuerySpec, CustomizationRenderType, type CustomizationRenderTypeWithLiterals, CustomizationType, type CustomizationTypeSpecificSettingsOneOf, type CustomizationTypeWithLiterals, type CustomizationUpdatedEnvelope, type CustomizationsQueryBuilder, type CustomizationsQueryResult, type DeleteCustomizationRequest, type DeleteCustomizationResponse, type DeleteCustomizationValidationErrors, type DomainEvent, type DomainEventBodyOneOf, type Empty, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EventMetadata, type File, type FocalPoint, type FreeTextSettings, type GetCustomizationOptions, type GetCustomizationRequest, type GetCustomizationResponse, type IdentificationData, type IdentificationDataIdOneOf, type InvalidateCache, type InvalidateCacheGetByOneOf, type ItemMetadata, type MaskedChoice, type MaskedCustomization, type MessageEnvelope, type ModifierSettings, type MultipleColors, type Page, type Pages, type QueryCustomizationsOptions, type QueryCustomizationsRequest, type QueryCustomizationsResponse, type RecloneSiteRequest, type RecloneSiteResponse, type RemoveCustomizationChoicesApplicationErrors, type RemoveCustomizationChoicesOptions, type RemoveCustomizationChoicesRequest, type RemoveCustomizationChoicesResponse, type RemoveCustomizationChoicesValidationErrors, type ReorderCustomizationChoicesApplicationErrors, type ReorderCustomizationChoicesOptions, type ReorderCustomizationChoicesRequest, type ReorderCustomizationChoicesResponse, RequestedFields, type RequestedFieldsWithLiterals, type RestoreInfo, type SetCustomizationChoicesApplicationErrors, type SetCustomizationChoicesOptions, type SetCustomizationChoicesRequest, type SetCustomizationChoicesResponse, type SetCustomizationChoicesValidationErrors, SortOrder, type SortOrderWithLiterals, type Sorting, type URI, type URIs, type UpdateCustomization, type UpdateCustomizationApplicationErrors, type UpdateCustomizationChoicesApplicationErrors, type UpdateCustomizationChoicesOptions, type UpdateCustomizationChoicesRequest, type UpdateCustomizationChoicesResponse, type UpdateCustomizationChoicesValidationErrors, type UpdateCustomizationOptions, type UpdateCustomizationRequest, type UpdateCustomizationResponse, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, addCustomizationChoices, bulkAddCustomizationChoices, bulkCreateCustomizations, bulkUpdateCustomizations, countCustomizations, createCustomization, deleteCustomization, getCustomization, onCustomizationCreated, onCustomizationDeleted, onCustomizationUpdated, queryCustomizations, removeCustomizationChoices, reorderCustomizationChoices, setCustomizationChoices, typedQueryCustomizations, updateCustomization, updateCustomizationChoices, utils };
@@ -595,7 +595,22 @@ interface URIs {
595
595
  interface CreateCustomizationRequest {
596
596
  /** Customization to create. */
597
597
  customization: Customization;
598
+ /**
599
+ * Fields to include in the response.
600
+ *
601
+ * Supported values: `ASSIGNED_PRODUCTS_COUNT`
602
+ * @maxSize 100
603
+ */
604
+ fields?: RequestedFieldsWithLiterals[];
598
605
  }
606
+ declare enum RequestedFields {
607
+ /** Assigned products count. */
608
+ ASSIGNED_PRODUCTS_COUNT = "ASSIGNED_PRODUCTS_COUNT",
609
+ /** Returns display images for choices. */
610
+ CHOICE_DISPLAY_IMAGE = "CHOICE_DISPLAY_IMAGE"
611
+ }
612
+ /** @enumType */
613
+ type RequestedFieldsWithLiterals = RequestedFields | 'ASSIGNED_PRODUCTS_COUNT' | 'CHOICE_DISPLAY_IMAGE';
599
614
  interface CreateCustomizationResponse {
600
615
  /** Created customization. */
601
616
  customization?: Customization;
@@ -614,14 +629,6 @@ interface GetCustomizationRequest {
614
629
  */
615
630
  fields?: RequestedFieldsWithLiterals[];
616
631
  }
617
- declare enum RequestedFields {
618
- /** Assigned products count. */
619
- ASSIGNED_PRODUCTS_COUNT = "ASSIGNED_PRODUCTS_COUNT",
620
- /** Returns display images for choices. */
621
- CHOICE_DISPLAY_IMAGE = "CHOICE_DISPLAY_IMAGE"
622
- }
623
- /** @enumType */
624
- type RequestedFieldsWithLiterals = RequestedFields | 'ASSIGNED_PRODUCTS_COUNT' | 'CHOICE_DISPLAY_IMAGE';
625
632
  interface GetCustomizationResponse {
626
633
  /** Customization. */
627
634
  customization?: Customization;
@@ -794,6 +801,13 @@ interface BulkCreateCustomizationsRequest {
794
801
  * Default: `false`
795
802
  */
796
803
  returnEntity?: boolean;
804
+ /**
805
+ * Fields to include in the response.
806
+ *
807
+ * Supported values: `ASSIGNED_PRODUCTS_COUNT`
808
+ * @maxSize 100
809
+ */
810
+ fields?: RequestedFieldsWithLiterals[];
797
811
  }
798
812
  interface BulkCreateCustomizationsResponse {
799
813
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/auto_sdk_stores_customizations-v-3",
3
- "version": "1.0.108",
3
+ "version": "1.0.109",
4
4
  "license": "MIT",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/",
@@ -50,5 +50,5 @@
50
50
  "fqdn": "wix.stores.catalog.v3.customization"
51
51
  }
52
52
  },
53
- "falconPackageHash": "b18fa68dc1f2310513233d77261c0fcd622a2f9e1e1d04aa21728b2d"
53
+ "falconPackageHash": "a2d0b2e1ad4ee15678a5fc4133c7c8d8d848a989c7754e2a03562477"
54
54
  }