@wix/auto_sdk_stores_customizations-v-3 1.0.21 → 1.0.23
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 +29 -9
- package/build/cjs/index.js +1 -0
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/meta.d.ts +1 -1
- package/build/cjs/{stores-catalog-v3-customization-customizations-v-3.universal-CT4feroB.d.ts → stores-catalog-v3-customization-customizations-v-3.universal-DHhFp3oV.d.ts} +108 -1
- package/build/es/index.d.mts +29 -9
- package/build/es/index.mjs +1 -0
- package/build/es/index.mjs.map +1 -1
- package/build/es/meta.d.mts +1 -1
- package/build/es/{stores-catalog-v3-customization-customizations-v-3.universal-CT4feroB.d.mts → stores-catalog-v3-customization-customizations-v-3.universal-DHhFp3oV.d.mts} +108 -1
- package/build/internal/cjs/index.d.ts +29 -9
- package/build/internal/cjs/index.js +1 -0
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +1 -1
- package/build/internal/cjs/{stores-catalog-v3-customization-customizations-v-3.universal-CT4feroB.d.ts → stores-catalog-v3-customization-customizations-v-3.universal-DHhFp3oV.d.ts} +108 -1
- package/build/internal/es/index.d.mts +29 -9
- package/build/internal/es/index.mjs +1 -0
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +1 -1
- package/build/internal/es/{stores-catalog-v3-customization-customizations-v-3.universal-CT4feroB.d.mts → stores-catalog-v3-customization-customizations-v-3.universal-DHhFp3oV.d.mts} +108 -1
- package/package.json +3 -3
package/build/es/meta.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a2 as CreateCustomizationRequest$1, a3 as CreateCustomizationResponse$1, a4 as GetCustomizationRequest$1, a5 as GetCustomizationResponse$1, a6 as UpdateCustomizationRequest$1, a7 as UpdateCustomizationResponse$1, a8 as DeleteCustomizationRequest$1, a9 as DeleteCustomizationResponse$1, aa as QueryCustomizationsRequest$1, af as QueryCustomizationsResponse$1, ai as BulkCreateCustomizationsRequest$1, e as BulkCreateCustomizationsResponse$1, ao as AddCustomizationChoicesRequest$1, i as AddCustomizationChoicesResponse$1, ap as SetCustomizationChoicesRequest$1, l as SetCustomizationChoicesResponse$1, aq as RemoveCustomizationChoicesRequest$1, o as RemoveCustomizationChoicesResponse$1, ar as BulkAddCustomizationChoicesRequest$1, t as BulkAddCustomizationChoicesResponse$1, as as BulkUpdateCustomizationsRequest$1, x as BulkUpdateCustomizationsResponse$1 } from './stores-catalog-v3-customization-customizations-v-3.universal-DHhFp3oV.mjs';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Customizations include options and modifiers which can later be applied to products.
|
|
@@ -861,6 +861,113 @@ declare enum WebhookIdentityType {
|
|
|
861
861
|
}
|
|
862
862
|
/** @enumType */
|
|
863
863
|
type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
|
|
864
|
+
type CreateCustomizationApplicationErrors = {
|
|
865
|
+
code?: 'OPTIONS_LIMIT_EXCEEDED';
|
|
866
|
+
description?: string;
|
|
867
|
+
data?: Record<string, any>;
|
|
868
|
+
} | {
|
|
869
|
+
code?: 'MODIFIERS_LIMIT_EXCEEDED';
|
|
870
|
+
description?: string;
|
|
871
|
+
data?: Record<string, any>;
|
|
872
|
+
} | {
|
|
873
|
+
code?: 'INVALID_CUSTOMIZATION_RENDER_TYPE';
|
|
874
|
+
description?: string;
|
|
875
|
+
data?: Record<string, any>;
|
|
876
|
+
} | {
|
|
877
|
+
code?: 'INVALID_FREE_TEXT_SETTINGS';
|
|
878
|
+
description?: string;
|
|
879
|
+
data?: Record<string, any>;
|
|
880
|
+
};
|
|
881
|
+
type CreateCustomizationValidationErrors = {
|
|
882
|
+
ruleName?: 'ONLY_SPACES_STRING_ERROR';
|
|
883
|
+
} | {
|
|
884
|
+
ruleName?: 'DUPLICATE_CHOICE_NAME';
|
|
885
|
+
};
|
|
886
|
+
type DeleteCustomizationValidationErrors = {
|
|
887
|
+
ruleName?: 'NOT_ALLOWED_DELETE_CUSTOMIZATION_ASSIGNED_TO_PRODUCT';
|
|
888
|
+
};
|
|
889
|
+
type BulkCreateCustomizationsApplicationErrors = {
|
|
890
|
+
code?: 'OPTIONS_LIMIT_EXCEEDED';
|
|
891
|
+
description?: string;
|
|
892
|
+
data?: Record<string, any>;
|
|
893
|
+
} | {
|
|
894
|
+
code?: 'MODIFIERS_LIMIT_EXCEEDED';
|
|
895
|
+
description?: string;
|
|
896
|
+
data?: Record<string, any>;
|
|
897
|
+
} | {
|
|
898
|
+
code?: 'DOESNT_SUPPORT_CHOICES';
|
|
899
|
+
description?: string;
|
|
900
|
+
data?: Record<string, any>;
|
|
901
|
+
} | {
|
|
902
|
+
code?: 'CHOICES_LIMIT_EXCEEDED';
|
|
903
|
+
description?: string;
|
|
904
|
+
data?: CustomizationIdsWrapper;
|
|
905
|
+
};
|
|
906
|
+
type BulkCreateCustomizationsValidationErrors = {
|
|
907
|
+
ruleName?: 'ONLY_SPACES_STRING_ERROR';
|
|
908
|
+
} | {
|
|
909
|
+
ruleName?: 'INVALID_CHOICE_TYPE';
|
|
910
|
+
} | {
|
|
911
|
+
ruleName?: 'DUPLICATE_CHOICE_NAME';
|
|
912
|
+
} | {
|
|
913
|
+
ruleName?: 'INVALID_CHOICE_VALUE';
|
|
914
|
+
};
|
|
915
|
+
type AddCustomizationChoicesApplicationErrors = {
|
|
916
|
+
code?: 'CHOICES_LIMIT_EXCEEDED';
|
|
917
|
+
description?: string;
|
|
918
|
+
data?: Record<string, any>;
|
|
919
|
+
} | {
|
|
920
|
+
code?: 'DOESNT_SUPPORT_CHOICES';
|
|
921
|
+
description?: string;
|
|
922
|
+
data?: Record<string, any>;
|
|
923
|
+
};
|
|
924
|
+
type AddCustomizationChoicesValidationErrors = {
|
|
925
|
+
ruleName?: 'INVALID_CHOICE_TYPE';
|
|
926
|
+
} | {
|
|
927
|
+
ruleName?: 'INVALID_CHOICE_VALUE';
|
|
928
|
+
} | {
|
|
929
|
+
ruleName?: 'DUPLICATE_CHOICE_NAME';
|
|
930
|
+
};
|
|
931
|
+
type SetCustomizationChoicesApplicationErrors = {
|
|
932
|
+
code?: 'DOESNT_SUPPORT_CHOICES';
|
|
933
|
+
description?: string;
|
|
934
|
+
data?: Record<string, any>;
|
|
935
|
+
} | {
|
|
936
|
+
code?: 'CHOICES_LIMIT_EXCEEDED';
|
|
937
|
+
description?: string;
|
|
938
|
+
data?: CustomizationIdsWrapper;
|
|
939
|
+
};
|
|
940
|
+
type SetCustomizationChoicesValidationErrors = {
|
|
941
|
+
ruleName?: 'INVALID_CHOICE_TYPE';
|
|
942
|
+
} | {
|
|
943
|
+
ruleName?: 'INVALID_CHOICE_VALUE';
|
|
944
|
+
} | {
|
|
945
|
+
ruleName?: 'NOT_ALLOWED_DELETE_CHOICE_ASSIGNED_TO_PRODUCT';
|
|
946
|
+
} | {
|
|
947
|
+
ruleName?: 'DUPLICATE_CHOICE_NAME';
|
|
948
|
+
};
|
|
949
|
+
type RemoveCustomizationChoicesApplicationErrors = {
|
|
950
|
+
code?: 'CHOICE_ASSIGNED_TO_PRODUCT';
|
|
951
|
+
description?: string;
|
|
952
|
+
data?: Record<string, any>;
|
|
953
|
+
};
|
|
954
|
+
type RemoveCustomizationChoicesValidationErrors = {
|
|
955
|
+
ruleName?: 'NOT_ALLOWED_CUSTOMIZATION_WITHOUT_CHOICES';
|
|
956
|
+
};
|
|
957
|
+
type BulkAddCustomizationChoicesApplicationErrors = {
|
|
958
|
+
code?: 'CHOICES_LIMIT_EXCEEDED';
|
|
959
|
+
description?: string;
|
|
960
|
+
data?: CustomizationIdsWrapper;
|
|
961
|
+
} | {
|
|
962
|
+
code?: 'DOESNT_SUPPORT_CHOICES';
|
|
963
|
+
description?: string;
|
|
964
|
+
data?: Record<string, any>;
|
|
965
|
+
};
|
|
966
|
+
type BulkAddCustomizationChoicesValidationErrors = {
|
|
967
|
+
ruleName?: 'INVALID_CHOICE_TYPE';
|
|
968
|
+
} | {
|
|
969
|
+
ruleName?: 'INVALID_CHOICE_VALUE';
|
|
970
|
+
};
|
|
864
971
|
interface BaseEventMetadata {
|
|
865
972
|
/**
|
|
866
973
|
* App instance ID.
|
|
@@ -1154,4 +1261,4 @@ interface BulkUpdateCustomizationsOptions {
|
|
|
1154
1261
|
fields?: RequestedFieldsWithLiterals[];
|
|
1155
1262
|
}
|
|
1156
1263
|
|
|
1157
|
-
export { type
|
|
1264
|
+
export { type URI as $, type AddCustomizationChoicesOptions as A, type BulkCreateCustomizationsOptions as B, type Customization as C, type DeleteCustomizationValidationErrors as D, type CustomizationUpdatedEnvelope as E, CustomizationType as F, type GetCustomizationOptions as G, CustomizationRenderType as H, ChoiceType as I, RequestedFields as J, SortOrder as K, type CustomizationCustomizationSettingsOneOf as L, type MaskedCustomization as M, type FreeTextSettings as N, type ChoicesSettings as O, type ChoiceValueOneOf as P, type QueryCustomizationsOptions as Q, type RemoveCustomizationChoicesOptions as R, type SetCustomizationChoicesOptions as S, type MultipleColors as T, type UpdateCustomization as U, type FocalPoint as V, WebhookIdentityType as W, type InvalidateCache as X, type InvalidateCacheGetByOneOf as Y, type App as Z, type Page as _, type CreateCustomizationApplicationErrors as a, type File as a0, type CustomTag as a1, type CreateCustomizationRequest as a2, type CreateCustomizationResponse as a3, type GetCustomizationRequest as a4, type GetCustomizationResponse as a5, type UpdateCustomizationRequest as a6, type UpdateCustomizationResponse as a7, type DeleteCustomizationRequest as a8, type DeleteCustomizationResponse as a9, type Empty as aA, type MessageEnvelope as aB, type IdentificationData as aC, type IdentificationDataIdOneOf as aD, type BaseEventMetadata as aE, type EventMetadata as aF, type CustomizationsQueryResult as aG, type QueryCustomizationsRequest as aa, type CursorQuery as ab, type CursorQueryPagingMethodOneOf as ac, type Sorting as ad, type CursorPaging as ae, type QueryCustomizationsResponse as af, type CursorPagingMetadata as ag, type Cursors as ah, type BulkCreateCustomizationsRequest as ai, type BulkCustomizationResult as aj, type ItemMetadata as ak, type ApplicationError as al, type BulkActionMetadata as am, type CustomizationIdsWrapper as an, type AddCustomizationChoicesRequest as ao, type SetCustomizationChoicesRequest as ap, type RemoveCustomizationChoicesRequest as aq, type BulkAddCustomizationChoicesRequest as ar, type BulkUpdateCustomizationsRequest as as, type DomainEvent as at, type DomainEventBodyOneOf as au, type EntityCreatedEvent as av, type RestoreInfo as aw, type EntityUpdatedEvent as ax, type EntityDeletedEvent as ay, type ActionEvent as az, type CreateCustomizationValidationErrors as b, type UpdateCustomizationOptions as c, type CustomizationsQueryBuilder as d, type BulkCreateCustomizationsResponse as e, type BulkCreateCustomizationsApplicationErrors as f, type BulkCreateCustomizationsValidationErrors as g, type Choice as h, type AddCustomizationChoicesResponse as i, type AddCustomizationChoicesApplicationErrors as j, type AddCustomizationChoicesValidationErrors as k, type SetCustomizationChoicesResponse as l, type SetCustomizationChoicesApplicationErrors as m, type SetCustomizationChoicesValidationErrors as n, type RemoveCustomizationChoicesResponse as o, type RemoveCustomizationChoicesApplicationErrors as p, type RemoveCustomizationChoicesValidationErrors as q, type CustomizationChoices as r, type BulkAddCustomizationChoicesOptions as s, type BulkAddCustomizationChoicesResponse as t, type BulkAddCustomizationChoicesApplicationErrors as u, type BulkAddCustomizationChoicesValidationErrors as v, type BulkUpdateCustomizationsOptions as w, type BulkUpdateCustomizationsResponse as x, type CustomizationCreatedEnvelope as y, type CustomizationDeletedEnvelope as z };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HttpClient, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types';
|
|
2
|
-
import { C as Customization, G as GetCustomizationOptions, U as UpdateCustomization,
|
|
3
|
-
export {
|
|
2
|
+
import { C as Customization, a as CreateCustomizationApplicationErrors, b as CreateCustomizationValidationErrors, G as GetCustomizationOptions, U as UpdateCustomization, c as UpdateCustomizationOptions, D as DeleteCustomizationValidationErrors, Q as QueryCustomizationsOptions, d as CustomizationsQueryBuilder, B as BulkCreateCustomizationsOptions, e as BulkCreateCustomizationsResponse, f as BulkCreateCustomizationsApplicationErrors, g as BulkCreateCustomizationsValidationErrors, h as Choice, A as AddCustomizationChoicesOptions, i as AddCustomizationChoicesResponse, j as AddCustomizationChoicesApplicationErrors, k as AddCustomizationChoicesValidationErrors, S as SetCustomizationChoicesOptions, l as SetCustomizationChoicesResponse, m as SetCustomizationChoicesApplicationErrors, n as SetCustomizationChoicesValidationErrors, R as RemoveCustomizationChoicesOptions, o as RemoveCustomizationChoicesResponse, p as RemoveCustomizationChoicesApplicationErrors, q as RemoveCustomizationChoicesValidationErrors, r as CustomizationChoices, s as BulkAddCustomizationChoicesOptions, t as BulkAddCustomizationChoicesResponse, u as BulkAddCustomizationChoicesApplicationErrors, v as BulkAddCustomizationChoicesValidationErrors, M as MaskedCustomization, w as BulkUpdateCustomizationsOptions, x as BulkUpdateCustomizationsResponse, y as CustomizationCreatedEnvelope, z as CustomizationDeletedEnvelope, E as CustomizationUpdatedEnvelope } from './stores-catalog-v3-customization-customizations-v-3.universal-DHhFp3oV.js';
|
|
3
|
+
export { az as ActionEvent, ao as AddCustomizationChoicesRequest, Z as App, al as ApplicationError, aE as BaseEventMetadata, am as BulkActionMetadata, ar as BulkAddCustomizationChoicesRequest, ai as BulkCreateCustomizationsRequest, aj as BulkCustomizationResult, as as BulkUpdateCustomizationsRequest, I as ChoiceType, P as ChoiceValueOneOf, O as ChoicesSettings, a2 as CreateCustomizationRequest, a3 as CreateCustomizationResponse, ae as CursorPaging, ag as CursorPagingMetadata, ab as CursorQuery, ac as CursorQueryPagingMethodOneOf, ah as Cursors, a1 as CustomTag, L as CustomizationCustomizationSettingsOneOf, an as CustomizationIdsWrapper, H as CustomizationRenderType, F as CustomizationType, aG as CustomizationsQueryResult, a8 as DeleteCustomizationRequest, a9 as DeleteCustomizationResponse, at as DomainEvent, au as DomainEventBodyOneOf, aA as Empty, av as EntityCreatedEvent, ay as EntityDeletedEvent, ax as EntityUpdatedEvent, aF as EventMetadata, a0 as File, V as FocalPoint, N as FreeTextSettings, a4 as GetCustomizationRequest, a5 as GetCustomizationResponse, aC as IdentificationData, aD as IdentificationDataIdOneOf, X as InvalidateCache, Y as InvalidateCacheGetByOneOf, ak as ItemMetadata, aB as MessageEnvelope, T as MultipleColors, _ as Page, aa as QueryCustomizationsRequest, af as QueryCustomizationsResponse, aq as RemoveCustomizationChoicesRequest, J as RequestedFields, aw as RestoreInfo, ap as SetCustomizationChoicesRequest, K as SortOrder, ad as Sorting, $ as URI, a6 as UpdateCustomizationRequest, a7 as UpdateCustomizationResponse, W as WebhookIdentityType } from './stores-catalog-v3-customization-customizations-v-3.universal-DHhFp3oV.js';
|
|
4
4
|
|
|
5
5
|
declare function createCustomization$1(httpClient: HttpClient): CreateCustomizationSignature;
|
|
6
6
|
interface CreateCustomizationSignature {
|
|
@@ -9,7 +9,10 @@ interface CreateCustomizationSignature {
|
|
|
9
9
|
* @param - Customization to create.
|
|
10
10
|
* @returns Created customization.
|
|
11
11
|
*/
|
|
12
|
-
(customization: Customization): Promise<Customization
|
|
12
|
+
(customization: Customization): Promise<Customization & {
|
|
13
|
+
__applicationErrorsType?: CreateCustomizationApplicationErrors | undefined;
|
|
14
|
+
__validationErrorsType?: CreateCustomizationValidationErrors | undefined;
|
|
15
|
+
}>;
|
|
13
16
|
}
|
|
14
17
|
declare function getCustomization$1(httpClient: HttpClient): GetCustomizationSignature;
|
|
15
18
|
interface GetCustomizationSignature {
|
|
@@ -41,7 +44,9 @@ interface DeleteCustomizationSignature {
|
|
|
41
44
|
* > **Note:** A customization cannot be deleted if it is assigned to one or more products.
|
|
42
45
|
* @param - Customization ID.
|
|
43
46
|
*/
|
|
44
|
-
(customizationId: string): Promise<void
|
|
47
|
+
(customizationId: string): Promise<void & {
|
|
48
|
+
__validationErrorsType?: DeleteCustomizationValidationErrors | undefined;
|
|
49
|
+
}>;
|
|
45
50
|
}
|
|
46
51
|
declare function queryCustomizations$1(httpClient: HttpClient): QueryCustomizationsSignature;
|
|
47
52
|
interface QueryCustomizationsSignature {
|
|
@@ -70,7 +75,10 @@ interface BulkCreateCustomizationsSignature {
|
|
|
70
75
|
* Creates multiple brands.
|
|
71
76
|
* @param - Customizations to create.
|
|
72
77
|
*/
|
|
73
|
-
(customizations: Customization[], options?: BulkCreateCustomizationsOptions | undefined): Promise<BulkCreateCustomizationsResponse
|
|
78
|
+
(customizations: Customization[], options?: BulkCreateCustomizationsOptions | undefined): Promise<BulkCreateCustomizationsResponse & {
|
|
79
|
+
__applicationErrorsType?: BulkCreateCustomizationsApplicationErrors | undefined;
|
|
80
|
+
__validationErrorsType?: BulkCreateCustomizationsValidationErrors | undefined;
|
|
81
|
+
}>;
|
|
74
82
|
}
|
|
75
83
|
declare function addCustomizationChoices$1(httpClient: HttpClient): AddCustomizationChoicesSignature;
|
|
76
84
|
interface AddCustomizationChoicesSignature {
|
|
@@ -79,7 +87,10 @@ interface AddCustomizationChoicesSignature {
|
|
|
79
87
|
* @param - Customization ID.
|
|
80
88
|
* @param - Choices to add.
|
|
81
89
|
*/
|
|
82
|
-
(customizationId: string, choices: Choice[], options?: AddCustomizationChoicesOptions | undefined): Promise<AddCustomizationChoicesResponse
|
|
90
|
+
(customizationId: string, choices: Choice[], options?: AddCustomizationChoicesOptions | undefined): Promise<AddCustomizationChoicesResponse & {
|
|
91
|
+
__applicationErrorsType?: AddCustomizationChoicesApplicationErrors | undefined;
|
|
92
|
+
__validationErrorsType?: AddCustomizationChoicesValidationErrors | undefined;
|
|
93
|
+
}>;
|
|
83
94
|
}
|
|
84
95
|
declare function setCustomizationChoices$1(httpClient: HttpClient): SetCustomizationChoicesSignature;
|
|
85
96
|
interface SetCustomizationChoicesSignature {
|
|
@@ -90,7 +101,10 @@ interface SetCustomizationChoicesSignature {
|
|
|
90
101
|
* @param - Customization ID.
|
|
91
102
|
* @param - Choices to set.
|
|
92
103
|
*/
|
|
93
|
-
(customizationId: string, choices: Choice[], options?: SetCustomizationChoicesOptions | undefined): Promise<SetCustomizationChoicesResponse
|
|
104
|
+
(customizationId: string, choices: Choice[], options?: SetCustomizationChoicesOptions | undefined): Promise<SetCustomizationChoicesResponse & {
|
|
105
|
+
__applicationErrorsType?: SetCustomizationChoicesApplicationErrors | undefined;
|
|
106
|
+
__validationErrorsType?: SetCustomizationChoicesValidationErrors | undefined;
|
|
107
|
+
}>;
|
|
94
108
|
}
|
|
95
109
|
declare function removeCustomizationChoices$1(httpClient: HttpClient): RemoveCustomizationChoicesSignature;
|
|
96
110
|
interface RemoveCustomizationChoicesSignature {
|
|
@@ -101,7 +115,10 @@ interface RemoveCustomizationChoicesSignature {
|
|
|
101
115
|
* @param - Customization ID.
|
|
102
116
|
* @param - IDs of choices to remove.
|
|
103
117
|
*/
|
|
104
|
-
(customizationId: string, choiceIds: string[], options?: RemoveCustomizationChoicesOptions | undefined): Promise<RemoveCustomizationChoicesResponse
|
|
118
|
+
(customizationId: string, choiceIds: string[], options?: RemoveCustomizationChoicesOptions | undefined): Promise<RemoveCustomizationChoicesResponse & {
|
|
119
|
+
__applicationErrorsType?: RemoveCustomizationChoicesApplicationErrors | undefined;
|
|
120
|
+
__validationErrorsType?: RemoveCustomizationChoicesValidationErrors | undefined;
|
|
121
|
+
}>;
|
|
105
122
|
}
|
|
106
123
|
declare function bulkAddCustomizationChoices$1(httpClient: HttpClient): BulkAddCustomizationChoicesSignature;
|
|
107
124
|
interface BulkAddCustomizationChoicesSignature {
|
|
@@ -109,7 +126,10 @@ interface BulkAddCustomizationChoicesSignature {
|
|
|
109
126
|
* Adds choices to multiple customizations.
|
|
110
127
|
* @param - List of customization IDs and choices.
|
|
111
128
|
*/
|
|
112
|
-
(customizationsChoices: CustomizationChoices[], options?: BulkAddCustomizationChoicesOptions | undefined): Promise<BulkAddCustomizationChoicesResponse
|
|
129
|
+
(customizationsChoices: CustomizationChoices[], options?: BulkAddCustomizationChoicesOptions | undefined): Promise<BulkAddCustomizationChoicesResponse & {
|
|
130
|
+
__applicationErrorsType?: BulkAddCustomizationChoicesApplicationErrors | undefined;
|
|
131
|
+
__validationErrorsType?: BulkAddCustomizationChoicesValidationErrors | undefined;
|
|
132
|
+
}>;
|
|
113
133
|
}
|
|
114
134
|
declare function bulkUpdateCustomizations$1(httpClient: HttpClient): BulkUpdateCustomizationsSignature;
|
|
115
135
|
interface BulkUpdateCustomizationsSignature {
|
|
@@ -845,6 +845,7 @@ async function deleteCustomization2(customizationId) {
|
|
|
845
845
|
try {
|
|
846
846
|
const result = await httpClient.request(reqOpts);
|
|
847
847
|
sideEffects?.onSuccess?.(result);
|
|
848
|
+
return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(result.data);
|
|
848
849
|
} catch (err) {
|
|
849
850
|
const transformedError = (0, import_transform_error.transformError)(
|
|
850
851
|
err,
|