@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.
@@ -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, CustomizationChoices, BulkAddCustomizationChoicesOptions, BulkAddCustomizationChoicesResponse, BulkAddCustomizationChoicesApplicationErrors, BulkAddCustomizationChoicesValidationErrors, MaskedCustomization, BulkUpdateCustomizationsOptions, BulkUpdateCustomizationsResponse, 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, 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, ReorderCustomizationChoicesApplicationErrors, ReorderCustomizationChoicesOptions, ReorderCustomizationChoicesRequest, ReorderCustomizationChoicesResponse, RequestedFields, RequestedFieldsWithLiterals, RestoreInfo, SetCustomizationChoicesRequest, SortOrder, SortOrderWithLiterals, Sorting, URI, URIs, UpdateCustomizationChoicesApplicationErrors, UpdateCustomizationChoicesOptions, UpdateCustomizationChoicesRequest, UpdateCustomizationChoicesResponse, UpdateCustomizationChoicesValidationErrors, UpdateCustomizationRequest, UpdateCustomizationResponse, WebhookIdentityType, WebhookIdentityTypeWithLiterals, utils } from './index.typings.js';
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.
@@ -101,7 +117,9 @@ interface RemoveCustomizationChoicesSignature {
101
117
  __validationErrorsType?: RemoveCustomizationChoicesValidationErrors;
102
118
  }>;
103
119
  }
104
- declare function bulkAddCustomizationChoices$1(httpClient: HttpClient): BulkAddCustomizationChoicesSignature;
120
+ declare function bulkAddCustomizationChoices$1(httpClient: HttpClient, __options?: {
121
+ validateRequestSchema?: boolean;
122
+ }): BulkAddCustomizationChoicesSignature;
105
123
  interface BulkAddCustomizationChoicesSignature {
106
124
  /**
107
125
  * Adds choices to multiple customizations.
@@ -112,7 +130,9 @@ interface BulkAddCustomizationChoicesSignature {
112
130
  __validationErrorsType?: BulkAddCustomizationChoicesValidationErrors;
113
131
  }>;
114
132
  }
115
- declare function bulkUpdateCustomizations$1(httpClient: HttpClient): BulkUpdateCustomizationsSignature;
133
+ declare function bulkUpdateCustomizations$1(httpClient: HttpClient, __options?: {
134
+ validateRequestSchema?: boolean;
135
+ }): BulkUpdateCustomizationsSignature;
116
136
  interface BulkUpdateCustomizationsSignature {
117
137
  /**
118
138
  * Updates multiple customizations.