@wix/auto_sdk_stores_customizations-v-3 1.0.108 → 1.0.110
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.
- package/build/cjs/index.d.ts +4 -4
- package/build/cjs/index.js +29 -8
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +70 -10
- package/build/cjs/index.typings.js +27 -7
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +53 -9
- package/build/cjs/meta.js +12 -0
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +4 -4
- package/build/es/index.mjs +28 -8
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +70 -10
- package/build/es/index.typings.mjs +26 -7
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +53 -9
- package/build/es/meta.mjs +11 -0
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +4 -4
- package/build/internal/cjs/index.typings.d.ts +104 -11
- package/build/internal/cjs/meta.d.ts +80 -10
- package/build/internal/es/index.d.mts +4 -4
- package/build/internal/es/index.typings.d.mts +104 -11
- package/build/internal/es/meta.d.mts +80 -10
- package/package.json +2 -2
|
@@ -296,6 +296,36 @@ declare enum ChoiceSortStrategy {
|
|
|
296
296
|
}
|
|
297
297
|
/** @enumType */
|
|
298
298
|
type ChoiceSortStrategyWithLiterals = ChoiceSortStrategy | 'DEFAULT' | 'BY_NAME' | 'BY_PRODUCT_COUNT' | 'MANUAL';
|
|
299
|
+
/** Settings for FILE customizations. Used for buyer file uploads. */
|
|
300
|
+
interface FileSettings {
|
|
301
|
+
/**
|
|
302
|
+
* Title to display to customer for their file upload.
|
|
303
|
+
* @minLength 1
|
|
304
|
+
* @maxLength 100
|
|
305
|
+
*/
|
|
306
|
+
title?: string;
|
|
307
|
+
/**
|
|
308
|
+
* Accepted file types. An empty list means all types are accepted.
|
|
309
|
+
* @maxSize 6
|
|
310
|
+
*/
|
|
311
|
+
acceptedFileTypes?: AcceptedFileTypeWithLiterals[];
|
|
312
|
+
}
|
|
313
|
+
declare enum AcceptedFileType {
|
|
314
|
+
/** For example, JPG or PNG. */
|
|
315
|
+
IMAGE = "IMAGE",
|
|
316
|
+
/** For example, MP4. */
|
|
317
|
+
VIDEO = "VIDEO",
|
|
318
|
+
/** For example, MP3. */
|
|
319
|
+
AUDIO = "AUDIO",
|
|
320
|
+
/** For example, PDF. */
|
|
321
|
+
DOCUMENT = "DOCUMENT",
|
|
322
|
+
/** For example, SVG. */
|
|
323
|
+
VECTOR = "VECTOR",
|
|
324
|
+
/** For example, ZIP. */
|
|
325
|
+
ARCHIVE = "ARCHIVE"
|
|
326
|
+
}
|
|
327
|
+
/** @enumType */
|
|
328
|
+
type AcceptedFileTypeWithLiterals = AcceptedFileType | 'IMAGE' | 'VIDEO' | 'AUDIO' | 'DOCUMENT' | 'VECTOR' | 'ARCHIVE';
|
|
299
329
|
interface InvalidateCache extends InvalidateCacheGetByOneOf {
|
|
300
330
|
/**
|
|
301
331
|
* Invalidate by msId. NOT recommended, as this will invalidate the entire site cache!
|
|
@@ -456,7 +486,22 @@ interface URIs {
|
|
|
456
486
|
interface CreateCustomizationRequest {
|
|
457
487
|
/** Customization to create. */
|
|
458
488
|
customization: Customization;
|
|
489
|
+
/**
|
|
490
|
+
* Fields to include in the response.
|
|
491
|
+
*
|
|
492
|
+
* Supported values: `ASSIGNED_PRODUCTS_COUNT`
|
|
493
|
+
* @maxSize 100
|
|
494
|
+
*/
|
|
495
|
+
fields?: RequestedFieldsWithLiterals[];
|
|
496
|
+
}
|
|
497
|
+
declare enum RequestedFields {
|
|
498
|
+
/** Assigned products count. */
|
|
499
|
+
ASSIGNED_PRODUCTS_COUNT = "ASSIGNED_PRODUCTS_COUNT",
|
|
500
|
+
/** Returns display images for choices. */
|
|
501
|
+
CHOICE_DISPLAY_IMAGE = "CHOICE_DISPLAY_IMAGE"
|
|
459
502
|
}
|
|
503
|
+
/** @enumType */
|
|
504
|
+
type RequestedFieldsWithLiterals = RequestedFields | 'ASSIGNED_PRODUCTS_COUNT' | 'CHOICE_DISPLAY_IMAGE';
|
|
460
505
|
interface CreateCustomizationResponse {
|
|
461
506
|
/** Created customization. */
|
|
462
507
|
customization?: Customization;
|
|
@@ -475,14 +520,6 @@ interface GetCustomizationRequest {
|
|
|
475
520
|
*/
|
|
476
521
|
fields?: RequestedFieldsWithLiterals[];
|
|
477
522
|
}
|
|
478
|
-
declare enum RequestedFields {
|
|
479
|
-
/** Assigned products count. */
|
|
480
|
-
ASSIGNED_PRODUCTS_COUNT = "ASSIGNED_PRODUCTS_COUNT",
|
|
481
|
-
/** Returns display images for choices. */
|
|
482
|
-
CHOICE_DISPLAY_IMAGE = "CHOICE_DISPLAY_IMAGE"
|
|
483
|
-
}
|
|
484
|
-
/** @enumType */
|
|
485
|
-
type RequestedFieldsWithLiterals = RequestedFields | 'ASSIGNED_PRODUCTS_COUNT' | 'CHOICE_DISPLAY_IMAGE';
|
|
486
523
|
interface GetCustomizationResponse {
|
|
487
524
|
/** Customization. */
|
|
488
525
|
customization?: Customization;
|
|
@@ -634,6 +671,13 @@ interface BulkCreateCustomizationsRequest {
|
|
|
634
671
|
* Default: `false`
|
|
635
672
|
*/
|
|
636
673
|
returnEntity?: boolean;
|
|
674
|
+
/**
|
|
675
|
+
* Fields to include in the response.
|
|
676
|
+
*
|
|
677
|
+
* Supported values: `ASSIGNED_PRODUCTS_COUNT`
|
|
678
|
+
* @maxSize 100
|
|
679
|
+
*/
|
|
680
|
+
fields?: RequestedFieldsWithLiterals[];
|
|
637
681
|
}
|
|
638
682
|
interface BulkCreateCustomizationsResponse {
|
|
639
683
|
/**
|
|
@@ -1555,10 +1599,19 @@ declare function onCustomizationUpdated(handler: (event: CustomizationUpdatedEnv
|
|
|
1555
1599
|
* @returns Created customization.
|
|
1556
1600
|
* @fqn wix.stores.catalog.customization.v3.CustomizationService.CreateCustomization
|
|
1557
1601
|
*/
|
|
1558
|
-
declare function createCustomization(customization: NonNullablePaths<Customization, `choicesSettings.choices` | `customizationRenderType` | `customizationType` | `freeTextInput.title` | `name`, 1
|
|
1602
|
+
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> & {
|
|
1559
1603
|
__applicationErrorsType?: CreateCustomizationApplicationErrors;
|
|
1560
1604
|
__validationErrorsType?: CreateCustomizationValidationErrors;
|
|
1561
1605
|
}>;
|
|
1606
|
+
interface CreateCustomizationOptions {
|
|
1607
|
+
/**
|
|
1608
|
+
* Fields to include in the response.
|
|
1609
|
+
*
|
|
1610
|
+
* Supported values: `ASSIGNED_PRODUCTS_COUNT`
|
|
1611
|
+
* @maxSize 100
|
|
1612
|
+
*/
|
|
1613
|
+
fields?: RequestedFieldsWithLiterals[];
|
|
1614
|
+
}
|
|
1562
1615
|
/**
|
|
1563
1616
|
* Retrieves a customization.
|
|
1564
1617
|
* @param customizationId - Customization ID.
|
|
@@ -1886,6 +1939,13 @@ interface BulkCreateCustomizationsOptions {
|
|
|
1886
1939
|
* Default: `false`
|
|
1887
1940
|
*/
|
|
1888
1941
|
returnEntity?: boolean;
|
|
1942
|
+
/**
|
|
1943
|
+
* Fields to include in the response.
|
|
1944
|
+
*
|
|
1945
|
+
* Supported values: `ASSIGNED_PRODUCTS_COUNT`
|
|
1946
|
+
* @maxSize 100
|
|
1947
|
+
*/
|
|
1948
|
+
fields?: RequestedFieldsWithLiterals[];
|
|
1889
1949
|
}
|
|
1890
1950
|
/**
|
|
1891
1951
|
* Adds choices to a customization.
|
|
@@ -2110,4 +2170,4 @@ interface BulkUpdateCustomizationsOptions {
|
|
|
2110
2170
|
fields?: RequestedFieldsWithLiterals[];
|
|
2111
2171
|
}
|
|
2112
2172
|
|
|
2113
|
-
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 };
|
|
2173
|
+
export { AcceptedFileType, type AcceptedFileTypeWithLiterals, 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 FileSettings, 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 };
|
|
@@ -20,6 +20,7 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
|
20
20
|
// index.typings.ts
|
|
21
21
|
var index_typings_exports = {};
|
|
22
22
|
__export(index_typings_exports, {
|
|
23
|
+
AcceptedFileType: () => AcceptedFileType,
|
|
23
24
|
ChoiceSortStrategy: () => ChoiceSortStrategy,
|
|
24
25
|
ChoiceType: () => ChoiceType,
|
|
25
26
|
CustomizationRenderType: () => CustomizationRenderType,
|
|
@@ -755,6 +756,7 @@ var CustomizationRenderType = /* @__PURE__ */ ((CustomizationRenderType2) => {
|
|
|
755
756
|
CustomizationRenderType2["FREE_TEXT"] = "FREE_TEXT";
|
|
756
757
|
CustomizationRenderType2["TEXT_CHOICES"] = "TEXT_CHOICES";
|
|
757
758
|
CustomizationRenderType2["SWATCH_CHOICES"] = "SWATCH_CHOICES";
|
|
759
|
+
CustomizationRenderType2["FILE"] = "FILE";
|
|
758
760
|
return CustomizationRenderType2;
|
|
759
761
|
})(CustomizationRenderType || {});
|
|
760
762
|
var ChoiceType = /* @__PURE__ */ ((ChoiceType2) => {
|
|
@@ -771,6 +773,15 @@ var ChoiceSortStrategy = /* @__PURE__ */ ((ChoiceSortStrategy2) => {
|
|
|
771
773
|
ChoiceSortStrategy2["MANUAL"] = "MANUAL";
|
|
772
774
|
return ChoiceSortStrategy2;
|
|
773
775
|
})(ChoiceSortStrategy || {});
|
|
776
|
+
var AcceptedFileType = /* @__PURE__ */ ((AcceptedFileType2) => {
|
|
777
|
+
AcceptedFileType2["IMAGE"] = "IMAGE";
|
|
778
|
+
AcceptedFileType2["VIDEO"] = "VIDEO";
|
|
779
|
+
AcceptedFileType2["AUDIO"] = "AUDIO";
|
|
780
|
+
AcceptedFileType2["DOCUMENT"] = "DOCUMENT";
|
|
781
|
+
AcceptedFileType2["VECTOR"] = "VECTOR";
|
|
782
|
+
AcceptedFileType2["ARCHIVE"] = "ARCHIVE";
|
|
783
|
+
return AcceptedFileType2;
|
|
784
|
+
})(AcceptedFileType || {});
|
|
774
785
|
var RequestedFields = /* @__PURE__ */ ((RequestedFields2) => {
|
|
775
786
|
RequestedFields2["ASSIGNED_PRODUCTS_COUNT"] = "ASSIGNED_PRODUCTS_COUNT";
|
|
776
787
|
RequestedFields2["CHOICE_DISPLAY_IMAGE"] = "CHOICE_DISPLAY_IMAGE";
|
|
@@ -789,10 +800,13 @@ var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
|
|
|
789
800
|
WebhookIdentityType2["APP"] = "APP";
|
|
790
801
|
return WebhookIdentityType2;
|
|
791
802
|
})(WebhookIdentityType || {});
|
|
792
|
-
async function createCustomization2(customization) {
|
|
793
|
-
const { httpClient, sideEffects } = arguments[
|
|
803
|
+
async function createCustomization2(customization, options) {
|
|
804
|
+
const { httpClient, sideEffects } = arguments[2];
|
|
794
805
|
const payload = (0, import_transform_paths2.transformPaths)(
|
|
795
|
-
(0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
|
|
806
|
+
(0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
|
|
807
|
+
customization,
|
|
808
|
+
fields: options?.fields
|
|
809
|
+
}),
|
|
796
810
|
[
|
|
797
811
|
{
|
|
798
812
|
transformFn: import_image.transformSDKImageToRESTImage,
|
|
@@ -818,10 +832,13 @@ async function createCustomization2(customization) {
|
|
|
818
832
|
err,
|
|
819
833
|
{
|
|
820
834
|
spreadPathsToArguments: {},
|
|
821
|
-
explicitPathsToArguments: {
|
|
835
|
+
explicitPathsToArguments: {
|
|
836
|
+
customization: "$[0]",
|
|
837
|
+
fields: "$[1].fields"
|
|
838
|
+
},
|
|
822
839
|
singleArgumentUnchanged: false
|
|
823
840
|
},
|
|
824
|
-
["customization"]
|
|
841
|
+
["customization", "options"]
|
|
825
842
|
);
|
|
826
843
|
sideEffects?.onError?.(err);
|
|
827
844
|
throw transformedError;
|
|
@@ -1051,7 +1068,8 @@ async function bulkCreateCustomizations2(customizations, options) {
|
|
|
1051
1068
|
const payload = (0, import_transform_paths2.transformPaths)(
|
|
1052
1069
|
(0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
|
|
1053
1070
|
customizations,
|
|
1054
|
-
returnEntity: options?.returnEntity
|
|
1071
|
+
returnEntity: options?.returnEntity,
|
|
1072
|
+
fields: options?.fields
|
|
1055
1073
|
}),
|
|
1056
1074
|
[
|
|
1057
1075
|
{
|
|
@@ -1080,7 +1098,8 @@ async function bulkCreateCustomizations2(customizations, options) {
|
|
|
1080
1098
|
spreadPathsToArguments: {},
|
|
1081
1099
|
explicitPathsToArguments: {
|
|
1082
1100
|
customizations: "$[0]",
|
|
1083
|
-
returnEntity: "$[1].returnEntity"
|
|
1101
|
+
returnEntity: "$[1].returnEntity",
|
|
1102
|
+
fields: "$[1].fields"
|
|
1084
1103
|
},
|
|
1085
1104
|
singleArgumentUnchanged: false
|
|
1086
1105
|
},
|
|
@@ -1412,6 +1431,7 @@ async function bulkUpdateCustomizations2(customizations, options) {
|
|
|
1412
1431
|
}
|
|
1413
1432
|
// Annotate the CommonJS export names for ESM import in node:
|
|
1414
1433
|
0 && (module.exports = {
|
|
1434
|
+
AcceptedFileType,
|
|
1415
1435
|
ChoiceSortStrategy,
|
|
1416
1436
|
ChoiceType,
|
|
1417
1437
|
CustomizationRenderType,
|