@wix/auto_sdk_stores_customizations-v-3 1.0.78 → 1.0.79

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.
@@ -353,9 +353,9 @@ declare const QueryCustomizationsRequest: z.ZodObject<{
353
353
  sort: z.ZodOptional<z.ZodArray<z.ZodObject<{
354
354
  fieldName: z.ZodOptional<z.ZodEnum<{
355
355
  _id: "_id";
356
- name: "name";
357
356
  _createdDate: "_createdDate";
358
357
  _updatedDate: "_updatedDate";
358
+ name: "name";
359
359
  }>>;
360
360
  order: z.ZodOptional<z.ZodEnum<{
361
361
  ASC: "ASC";
@@ -2,7 +2,9 @@ import { HttpClient, NonNullablePaths, EventDefinition, MaybeContext, BuildRESTF
2
2
  import { Customization, CreateCustomizationApplicationErrors, CreateCustomizationValidationErrors, GetCustomizationOptions, UpdateCustomization, UpdateCustomizationOptions, DeleteCustomizationValidationErrors, 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, 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, ChoiceIdsMismatchData, ChoiceSortStrategy, ChoiceSortStrategyWithLiterals, ChoiceType, ChoiceTypeWithLiterals, ChoiceValueOneOf, ChoicesSettings, CommonQueryWithEntityContext, CreateCustomizationRequest, CreateCustomizationResponse, CursorPaging, CursorPagingMetadata, CursorQuery, CursorQueryPagingMethodOneOf, Cursors, CustomTag, CustomizationCustomizationSettingsOneOf, CustomizationIdsWrapper, CustomizationQuerySpec, CustomizationRenderType, CustomizationRenderTypeWithLiterals, CustomizationType, CustomizationTypeWithLiterals, CustomizationsQueryResult, DeleteCustomizationRequest, DeleteCustomizationResponse, DomainEvent, DomainEventBodyOneOf, Empty, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EventMetadata, File, FocalPoint, FreeTextSettings, GetCustomizationRequest, GetCustomizationResponse, IdentificationData, IdentificationDataIdOneOf, InvalidateCache, InvalidateCacheGetByOneOf, ItemMetadata, MaskedChoice, MessageEnvelope, 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
- declare function createCustomization$1(httpClient: HttpClient): CreateCustomizationSignature;
5
+ declare function createCustomization$1(httpClient: HttpClient, __options?: {
6
+ validateRequestSchema?: boolean;
7
+ }): CreateCustomizationSignature;
6
8
  interface CreateCustomizationSignature {
7
9
  /**
8
10
  * Creates a customization.
@@ -14,7 +16,9 @@ interface CreateCustomizationSignature {
14
16
  __validationErrorsType?: CreateCustomizationValidationErrors;
15
17
  }>;
16
18
  }
17
- declare function getCustomization$1(httpClient: HttpClient): GetCustomizationSignature;
19
+ declare function getCustomization$1(httpClient: HttpClient, __options?: {
20
+ validateRequestSchema?: boolean;
21
+ }): GetCustomizationSignature;
18
22
  interface GetCustomizationSignature {
19
23
  /**
20
24
  * Retrieves a customization.
@@ -23,7 +27,9 @@ interface GetCustomizationSignature {
23
27
  */
24
28
  (customizationId: string, options?: GetCustomizationOptions): 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`, 5>>;
25
29
  }
26
- declare function updateCustomization$1(httpClient: HttpClient): UpdateCustomizationSignature;
30
+ declare function updateCustomization$1(httpClient: HttpClient, __options?: {
31
+ validateRequestSchema?: boolean;
32
+ }): UpdateCustomizationSignature;
27
33
  interface UpdateCustomizationSignature {
28
34
  /**
29
35
  * Updates a customization.
@@ -36,7 +42,9 @@ interface UpdateCustomizationSignature {
36
42
  */
37
43
  (_id: string, customization: NonNullablePaths<UpdateCustomization, `revision`, 2>, options?: UpdateCustomizationOptions): 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`, 5>>;
38
44
  }
39
- declare function deleteCustomization$1(httpClient: HttpClient): DeleteCustomizationSignature;
45
+ declare function deleteCustomization$1(httpClient: HttpClient, __options?: {
46
+ validateRequestSchema?: boolean;
47
+ }): DeleteCustomizationSignature;
40
48
  interface DeleteCustomizationSignature {
41
49
  /**
42
50
  * Deletes a customization.
@@ -50,7 +58,9 @@ interface DeleteCustomizationSignature {
50
58
  __validationErrorsType?: DeleteCustomizationValidationErrors;
51
59
  }>;
52
60
  }
53
- declare function bulkCreateCustomizations$1(httpClient: HttpClient): BulkCreateCustomizationsSignature;
61
+ declare function bulkCreateCustomizations$1(httpClient: HttpClient, __options?: {
62
+ validateRequestSchema?: boolean;
63
+ }): BulkCreateCustomizationsSignature;
54
64
  interface BulkCreateCustomizationsSignature {
55
65
  /**
56
66
  * Creates multiple customizations.
@@ -61,7 +71,9 @@ interface BulkCreateCustomizationsSignature {
61
71
  __validationErrorsType?: BulkCreateCustomizationsValidationErrors;
62
72
  }>;
63
73
  }
64
- declare function addCustomizationChoices$1(httpClient: HttpClient): AddCustomizationChoicesSignature;
74
+ declare function addCustomizationChoices$1(httpClient: HttpClient, __options?: {
75
+ validateRequestSchema?: boolean;
76
+ }): AddCustomizationChoicesSignature;
65
77
  interface AddCustomizationChoicesSignature {
66
78
  /**
67
79
  * Adds choices to a customization.
@@ -73,7 +85,9 @@ interface AddCustomizationChoicesSignature {
73
85
  __validationErrorsType?: AddCustomizationChoicesValidationErrors;
74
86
  }>;
75
87
  }
76
- declare function setCustomizationChoices$1(httpClient: HttpClient): SetCustomizationChoicesSignature;
88
+ declare function setCustomizationChoices$1(httpClient: HttpClient, __options?: {
89
+ validateRequestSchema?: boolean;
90
+ }): SetCustomizationChoicesSignature;
77
91
  interface SetCustomizationChoicesSignature {
78
92
  /**
79
93
  * Sets a customization's choices. Any and all existing choices will be overridden.
@@ -87,7 +101,9 @@ interface SetCustomizationChoicesSignature {
87
101
  __validationErrorsType?: SetCustomizationChoicesValidationErrors;
88
102
  }>;
89
103
  }
90
- declare function removeCustomizationChoices$1(httpClient: HttpClient): RemoveCustomizationChoicesSignature;
104
+ declare function removeCustomizationChoices$1(httpClient: HttpClient, __options?: {
105
+ validateRequestSchema?: boolean;
106
+ }): RemoveCustomizationChoicesSignature;
91
107
  interface RemoveCustomizationChoicesSignature {
92
108
  /**
93
109
  * Removes choices from a customization.
@@ -102,7 +118,9 @@ interface RemoveCustomizationChoicesSignature {
102
118
  }>;
103
119
  }
104
120
  /** @internal */
105
- declare function updateCustomizationChoices$1(httpClient: HttpClient): UpdateCustomizationChoicesSignature;
121
+ declare function updateCustomizationChoices$1(httpClient: HttpClient, __options?: {
122
+ validateRequestSchema?: boolean;
123
+ }): UpdateCustomizationChoicesSignature;
106
124
  interface UpdateCustomizationChoicesSignature {
107
125
  /**
108
126
  * Updates properties of existing choices in a customization.
@@ -120,7 +138,9 @@ interface UpdateCustomizationChoicesSignature {
120
138
  }>;
121
139
  }
122
140
  /** @internal */
123
- declare function reorderCustomizationChoices$1(httpClient: HttpClient): ReorderCustomizationChoicesSignature;
141
+ declare function reorderCustomizationChoices$1(httpClient: HttpClient, __options?: {
142
+ validateRequestSchema?: boolean;
143
+ }): ReorderCustomizationChoicesSignature;
124
144
  interface ReorderCustomizationChoicesSignature {
125
145
  /**
126
146
  * Reorders a customization's choices. The new order is persisted and reflected in the customization's choices list.
@@ -134,7 +154,9 @@ interface ReorderCustomizationChoicesSignature {
134
154
  __applicationErrorsType?: ReorderCustomizationChoicesApplicationErrors;
135
155
  }>;
136
156
  }
137
- declare function bulkAddCustomizationChoices$1(httpClient: HttpClient): BulkAddCustomizationChoicesSignature;
157
+ declare function bulkAddCustomizationChoices$1(httpClient: HttpClient, __options?: {
158
+ validateRequestSchema?: boolean;
159
+ }): BulkAddCustomizationChoicesSignature;
138
160
  interface BulkAddCustomizationChoicesSignature {
139
161
  /**
140
162
  * Adds choices to multiple customizations.
@@ -145,7 +167,9 @@ interface BulkAddCustomizationChoicesSignature {
145
167
  __validationErrorsType?: BulkAddCustomizationChoicesValidationErrors;
146
168
  }>;
147
169
  }
148
- declare function bulkUpdateCustomizations$1(httpClient: HttpClient): BulkUpdateCustomizationsSignature;
170
+ declare function bulkUpdateCustomizations$1(httpClient: HttpClient, __options?: {
171
+ validateRequestSchema?: boolean;
172
+ }): BulkUpdateCustomizationsSignature;
149
173
  interface BulkUpdateCustomizationsSignature {
150
174
  /**
151
175
  * Updates multiple customizations.