@wix/auto_sdk_stores_customizations-v-3 1.0.31 → 1.0.33

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.
@@ -161,14 +161,14 @@ declare const bulkUpdateCustomizations: MaybeContext<BuildRESTFunction<typeof bu
161
161
  /**
162
162
  * Triggered when a customization is created.
163
163
  */
164
- declare const onCustomizationCreated: BuildEventDefinition<typeof onCustomizationCreated$1>;
164
+ declare const onCustomizationCreated: BuildEventDefinition<typeof onCustomizationCreated$1> & typeof onCustomizationCreated$1;
165
165
  /**
166
166
  * Triggered when a customization is deleted.
167
167
  */
168
- declare const onCustomizationDeleted: BuildEventDefinition<typeof onCustomizationDeleted$1>;
168
+ declare const onCustomizationDeleted: BuildEventDefinition<typeof onCustomizationDeleted$1> & typeof onCustomizationDeleted$1;
169
169
  /**
170
170
  * Triggered when a customization is updated.
171
171
  */
172
- declare const onCustomizationUpdated: BuildEventDefinition<typeof onCustomizationUpdated$1>;
172
+ declare const onCustomizationUpdated: BuildEventDefinition<typeof onCustomizationUpdated$1> & typeof onCustomizationUpdated$1;
173
173
 
174
174
  export { AddCustomizationChoicesApplicationErrors, AddCustomizationChoicesOptions, AddCustomizationChoicesResponse, AddCustomizationChoicesValidationErrors, BulkAddCustomizationChoicesApplicationErrors, BulkAddCustomizationChoicesOptions, BulkAddCustomizationChoicesResponse, BulkAddCustomizationChoicesValidationErrors, BulkCreateCustomizationsApplicationErrors, BulkCreateCustomizationsOptions, BulkCreateCustomizationsResponse, BulkCreateCustomizationsValidationErrors, BulkUpdateCustomizationsOptions, BulkUpdateCustomizationsResponse, Choice, CreateCustomizationApplicationErrors, CreateCustomizationValidationErrors, Customization, CustomizationChoices, CustomizationCreatedEnvelope, CustomizationDeletedEnvelope, CustomizationUpdatedEnvelope, CustomizationsQueryBuilder, DeleteCustomizationValidationErrors, GetCustomizationOptions, MaskedCustomization, QueryCustomizationsOptions, RemoveCustomizationChoicesApplicationErrors, RemoveCustomizationChoicesOptions, RemoveCustomizationChoicesResponse, RemoveCustomizationChoicesValidationErrors, SetCustomizationChoicesApplicationErrors, SetCustomizationChoicesOptions, SetCustomizationChoicesResponse, SetCustomizationChoicesValidationErrors, UpdateCustomization, UpdateCustomizationOptions, addCustomizationChoices, bulkAddCustomizationChoices, bulkCreateCustomizations, bulkUpdateCustomizations, createCustomization, deleteCustomization, getCustomization, onCustomizationCreated, onCustomizationDeleted, onCustomizationUpdated, queryCustomizations, removeCustomizationChoices, setCustomizationChoices, updateCustomization };
@@ -303,7 +303,7 @@ function queryCustomizations(payload) {
303
303
  function __queryCustomizations({ host }) {
304
304
  const metadata = {
305
305
  entityFqdn: "wix.stores.catalog.v3.customization",
306
- method: "POST",
306
+ method: "GET",
307
307
  methodFqn: "wix.stores.catalog.customization.v3.CustomizationService.QueryCustomizations",
308
308
  packageName: PACKAGE_NAME,
309
309
  url: resolveWixStoresCatalogCustomizationV3CustomizationServiceUrl({
@@ -311,7 +311,7 @@ function queryCustomizations(payload) {
311
311
  data: payload,
312
312
  host
313
313
  }),
314
- data: payload,
314
+ params: (0, import_rest_modules.toURLSearchParams)(payload, true),
315
315
  transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
316
316
  {
317
317
  transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
@@ -1372,9 +1372,15 @@ var setCustomizationChoices4 = /* @__PURE__ */ (0, import_rest_modules3.createRE
1372
1372
  var removeCustomizationChoices4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(removeCustomizationChoices3);
1373
1373
  var bulkAddCustomizationChoices4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(bulkAddCustomizationChoices3);
1374
1374
  var bulkUpdateCustomizations4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(bulkUpdateCustomizations3);
1375
- var onCustomizationCreated2 = (0, import_event_definition_modules.createEventModule)(onCustomizationCreated);
1376
- var onCustomizationDeleted2 = (0, import_event_definition_modules.createEventModule)(onCustomizationDeleted);
1377
- var onCustomizationUpdated2 = (0, import_event_definition_modules.createEventModule)(onCustomizationUpdated);
1375
+ var onCustomizationCreated2 = (0, import_event_definition_modules.createEventModule)(
1376
+ onCustomizationCreated
1377
+ );
1378
+ var onCustomizationDeleted2 = (0, import_event_definition_modules.createEventModule)(
1379
+ onCustomizationDeleted
1380
+ );
1381
+ var onCustomizationUpdated2 = (0, import_event_definition_modules.createEventModule)(
1382
+ onCustomizationUpdated
1383
+ );
1378
1384
  // Annotate the CommonJS export names for ESM import in node:
1379
1385
  0 && (module.exports = {
1380
1386
  ChoiceType,