@wix/auto_sdk_stores_read-only-variants-v-3 1.0.10 → 1.0.12
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/src/stores-catalog-v3-read-only-variant-read-only-variants-v-3.universal.d.ts → index.d.mts} +410 -528
- package/build/{es/src/stores-catalog-v3-read-only-variant-read-only-variants-v-3.universal.d.ts → index.d.ts} +410 -528
- package/build/index.js +923 -0
- package/build/index.js.map +1 -0
- package/build/index.mjs +831 -0
- package/build/index.mjs.map +1 -0
- package/build/internal/index.d.mts +35 -0
- package/build/internal/index.d.ts +35 -0
- package/build/internal/index.js +923 -0
- package/build/internal/index.js.map +1 -0
- package/build/internal/index.mjs +831 -0
- package/build/internal/index.mjs.map +1 -0
- package/build/internal/meta.d.mts +1271 -0
- package/build/internal/meta.d.ts +1271 -0
- package/build/internal/meta.js +209 -0
- package/build/internal/meta.js.map +1 -0
- package/build/internal/meta.mjs +181 -0
- package/build/internal/meta.mjs.map +1 -0
- package/build/internal/{cjs/src/stores-catalog-v3-read-only-variant-read-only-variants-v-3.universal.d.ts → stores-catalog-v3-read-only-variant-read-only-variants-v-3.universal-Co7RmbZM.d.mts} +412 -516
- package/build/internal/{es/src/stores-catalog-v3-read-only-variant-read-only-variants-v-3.universal.d.ts → stores-catalog-v3-read-only-variant-read-only-variants-v-3.universal-Co7RmbZM.d.ts} +412 -516
- package/build/meta.d.mts +1271 -0
- package/build/meta.d.ts +1271 -0
- package/build/meta.js +209 -0
- package/build/meta.js.map +1 -0
- package/build/meta.mjs +181 -0
- package/build/meta.mjs.map +1 -0
- package/package.json +12 -11
- package/build/cjs/index.d.ts +0 -1
- package/build/cjs/index.js +0 -18
- package/build/cjs/index.js.map +0 -1
- package/build/cjs/index.typings.d.ts +0 -3
- package/build/cjs/index.typings.js +0 -18
- package/build/cjs/index.typings.js.map +0 -1
- package/build/cjs/meta.d.ts +0 -1
- package/build/cjs/meta.js +0 -18
- package/build/cjs/meta.js.map +0 -1
- package/build/cjs/src/stores-catalog-v3-read-only-variant-read-only-variants-v-3.context.d.ts +0 -2
- package/build/cjs/src/stores-catalog-v3-read-only-variant-read-only-variants-v-3.context.js +0 -79
- package/build/cjs/src/stores-catalog-v3-read-only-variant-read-only-variants-v-3.context.js.map +0 -1
- package/build/cjs/src/stores-catalog-v3-read-only-variant-read-only-variants-v-3.http.d.ts +0 -16
- package/build/cjs/src/stores-catalog-v3-read-only-variant-read-only-variants-v-3.http.js +0 -152
- package/build/cjs/src/stores-catalog-v3-read-only-variant-read-only-variants-v-3.http.js.map +0 -1
- package/build/cjs/src/stores-catalog-v3-read-only-variant-read-only-variants-v-3.meta.d.ts +0 -14
- package/build/cjs/src/stores-catalog-v3-read-only-variant-read-only-variants-v-3.meta.js +0 -66
- package/build/cjs/src/stores-catalog-v3-read-only-variant-read-only-variants-v-3.meta.js.map +0 -1
- package/build/cjs/src/stores-catalog-v3-read-only-variant-read-only-variants-v-3.public.d.ts +0 -4
- package/build/cjs/src/stores-catalog-v3-read-only-variant-read-only-variants-v-3.public.js +0 -89
- package/build/cjs/src/stores-catalog-v3-read-only-variant-read-only-variants-v-3.public.js.map +0 -1
- package/build/cjs/src/stores-catalog-v3-read-only-variant-read-only-variants-v-3.types.d.ts +0 -4698
- package/build/cjs/src/stores-catalog-v3-read-only-variant-read-only-variants-v-3.types.js +0 -695
- package/build/cjs/src/stores-catalog-v3-read-only-variant-read-only-variants-v-3.types.js.map +0 -1
- package/build/cjs/src/stores-catalog-v3-read-only-variant-read-only-variants-v-3.universal.js +0 -910
- package/build/cjs/src/stores-catalog-v3-read-only-variant-read-only-variants-v-3.universal.js.map +0 -1
- package/build/es/index.d.ts +0 -1
- package/build/es/index.js +0 -2
- package/build/es/index.js.map +0 -1
- package/build/es/index.typings.d.ts +0 -3
- package/build/es/index.typings.js +0 -2
- package/build/es/index.typings.js.map +0 -1
- package/build/es/meta.d.ts +0 -1
- package/build/es/meta.js +0 -2
- package/build/es/meta.js.map +0 -1
- package/build/es/package.json +0 -3
- package/build/es/src/stores-catalog-v3-read-only-variant-read-only-variants-v-3.context.d.ts +0 -2
- package/build/es/src/stores-catalog-v3-read-only-variant-read-only-variants-v-3.context.js +0 -8
- package/build/es/src/stores-catalog-v3-read-only-variant-read-only-variants-v-3.context.js.map +0 -1
- package/build/es/src/stores-catalog-v3-read-only-variant-read-only-variants-v-3.http.d.ts +0 -16
- package/build/es/src/stores-catalog-v3-read-only-variant-read-only-variants-v-3.http.js +0 -147
- package/build/es/src/stores-catalog-v3-read-only-variant-read-only-variants-v-3.http.js.map +0 -1
- package/build/es/src/stores-catalog-v3-read-only-variant-read-only-variants-v-3.meta.d.ts +0 -14
- package/build/es/src/stores-catalog-v3-read-only-variant-read-only-variants-v-3.meta.js +0 -38
- package/build/es/src/stores-catalog-v3-read-only-variant-read-only-variants-v-3.meta.js.map +0 -1
- package/build/es/src/stores-catalog-v3-read-only-variant-read-only-variants-v-3.public.d.ts +0 -4
- package/build/es/src/stores-catalog-v3-read-only-variant-read-only-variants-v-3.public.js +0 -16
- package/build/es/src/stores-catalog-v3-read-only-variant-read-only-variants-v-3.public.js.map +0 -1
- package/build/es/src/stores-catalog-v3-read-only-variant-read-only-variants-v-3.types.d.ts +0 -4698
- package/build/es/src/stores-catalog-v3-read-only-variant-read-only-variants-v-3.types.js +0 -691
- package/build/es/src/stores-catalog-v3-read-only-variant-read-only-variants-v-3.types.js.map +0 -1
- package/build/es/src/stores-catalog-v3-read-only-variant-read-only-variants-v-3.universal.js +0 -881
- package/build/es/src/stores-catalog-v3-read-only-variant-read-only-variants-v-3.universal.js.map +0 -1
- package/build/internal/cjs/index.d.ts +0 -1
- package/build/internal/cjs/index.js +0 -18
- package/build/internal/cjs/index.js.map +0 -1
- package/build/internal/cjs/index.typings.d.ts +0 -54
- package/build/internal/cjs/index.typings.js +0 -18
- package/build/internal/cjs/index.typings.js.map +0 -1
- package/build/internal/cjs/meta.d.ts +0 -1
- package/build/internal/cjs/meta.js +0 -18
- package/build/internal/cjs/meta.js.map +0 -1
- package/build/internal/cjs/src/stores-catalog-v3-read-only-variant-read-only-variants-v-3.context.d.ts +0 -8
- package/build/internal/cjs/src/stores-catalog-v3-read-only-variant-read-only-variants-v-3.context.js +0 -79
- package/build/internal/cjs/src/stores-catalog-v3-read-only-variant-read-only-variants-v-3.context.js.map +0 -1
- package/build/internal/cjs/src/stores-catalog-v3-read-only-variant-read-only-variants-v-3.http.d.ts +0 -16
- package/build/internal/cjs/src/stores-catalog-v3-read-only-variant-read-only-variants-v-3.http.js +0 -152
- package/build/internal/cjs/src/stores-catalog-v3-read-only-variant-read-only-variants-v-3.http.js.map +0 -1
- package/build/internal/cjs/src/stores-catalog-v3-read-only-variant-read-only-variants-v-3.meta.d.ts +0 -14
- package/build/internal/cjs/src/stores-catalog-v3-read-only-variant-read-only-variants-v-3.meta.js +0 -66
- package/build/internal/cjs/src/stores-catalog-v3-read-only-variant-read-only-variants-v-3.meta.js.map +0 -1
- package/build/internal/cjs/src/stores-catalog-v3-read-only-variant-read-only-variants-v-3.public.d.ts +0 -30
- package/build/internal/cjs/src/stores-catalog-v3-read-only-variant-read-only-variants-v-3.public.js +0 -89
- package/build/internal/cjs/src/stores-catalog-v3-read-only-variant-read-only-variants-v-3.public.js.map +0 -1
- package/build/internal/cjs/src/stores-catalog-v3-read-only-variant-read-only-variants-v-3.types.d.ts +0 -4698
- package/build/internal/cjs/src/stores-catalog-v3-read-only-variant-read-only-variants-v-3.types.js +0 -695
- package/build/internal/cjs/src/stores-catalog-v3-read-only-variant-read-only-variants-v-3.types.js.map +0 -1
- package/build/internal/cjs/src/stores-catalog-v3-read-only-variant-read-only-variants-v-3.universal.js +0 -910
- package/build/internal/cjs/src/stores-catalog-v3-read-only-variant-read-only-variants-v-3.universal.js.map +0 -1
- package/build/internal/es/index.d.ts +0 -1
- package/build/internal/es/index.js +0 -2
- package/build/internal/es/index.js.map +0 -1
- package/build/internal/es/index.typings.d.ts +0 -54
- package/build/internal/es/index.typings.js +0 -2
- package/build/internal/es/index.typings.js.map +0 -1
- package/build/internal/es/meta.d.ts +0 -1
- package/build/internal/es/meta.js +0 -2
- package/build/internal/es/meta.js.map +0 -1
- package/build/internal/es/src/stores-catalog-v3-read-only-variant-read-only-variants-v-3.context.d.ts +0 -8
- package/build/internal/es/src/stores-catalog-v3-read-only-variant-read-only-variants-v-3.context.js +0 -8
- package/build/internal/es/src/stores-catalog-v3-read-only-variant-read-only-variants-v-3.context.js.map +0 -1
- package/build/internal/es/src/stores-catalog-v3-read-only-variant-read-only-variants-v-3.http.d.ts +0 -16
- package/build/internal/es/src/stores-catalog-v3-read-only-variant-read-only-variants-v-3.http.js +0 -147
- package/build/internal/es/src/stores-catalog-v3-read-only-variant-read-only-variants-v-3.http.js.map +0 -1
- package/build/internal/es/src/stores-catalog-v3-read-only-variant-read-only-variants-v-3.meta.d.ts +0 -14
- package/build/internal/es/src/stores-catalog-v3-read-only-variant-read-only-variants-v-3.meta.js +0 -38
- package/build/internal/es/src/stores-catalog-v3-read-only-variant-read-only-variants-v-3.meta.js.map +0 -1
- package/build/internal/es/src/stores-catalog-v3-read-only-variant-read-only-variants-v-3.public.d.ts +0 -30
- package/build/internal/es/src/stores-catalog-v3-read-only-variant-read-only-variants-v-3.public.js +0 -16
- package/build/internal/es/src/stores-catalog-v3-read-only-variant-read-only-variants-v-3.public.js.map +0 -1
- package/build/internal/es/src/stores-catalog-v3-read-only-variant-read-only-variants-v-3.types.d.ts +0 -4698
- package/build/internal/es/src/stores-catalog-v3-read-only-variant-read-only-variants-v-3.types.js +0 -691
- package/build/internal/es/src/stores-catalog-v3-read-only-variant-read-only-variants-v-3.types.js.map +0 -1
- package/build/internal/es/src/stores-catalog-v3-read-only-variant-read-only-variants-v-3.universal.js +0 -881
- package/build/internal/es/src/stores-catalog-v3-read-only-variant-read-only-variants-v-3.universal.js.map +0 -1
|
@@ -1,881 +0,0 @@
|
|
|
1
|
-
import { transformError as sdkTransformError } from '@wix/sdk-runtime/transform-error';
|
|
2
|
-
import { queryBuilder } from '@wix/sdk-runtime/query-builder';
|
|
3
|
-
import { renameKeysFromSDKRequestToRESTRequest, renameKeysFromRESTResponseToSDKResponse, } from '@wix/sdk-runtime/rename-all-nested-keys';
|
|
4
|
-
import * as ambassadorWixStoresCatalogV3ReadOnlyVariant from './stores-catalog-v3-read-only-variant-read-only-variants-v-3.http.js';
|
|
5
|
-
// @ts-ignore
|
|
6
|
-
import { transformRESTImageToSDKImage } from '@wix/sdk-runtime/transformations/image';
|
|
7
|
-
import { transformRESTVideoV2ToSDKVideoV2 } from '@wix/sdk-runtime/transformations/video-v2';
|
|
8
|
-
import { transformPaths } from '@wix/sdk-runtime/transformations/transform-paths';
|
|
9
|
-
export var ProductMediaMediaType;
|
|
10
|
-
(function (ProductMediaMediaType) {
|
|
11
|
-
ProductMediaMediaType["UNKNOWN_MEDIA_TYPE"] = "UNKNOWN_MEDIA_TYPE";
|
|
12
|
-
/** Image media type. */
|
|
13
|
-
ProductMediaMediaType["IMAGE"] = "IMAGE";
|
|
14
|
-
/** Video media type. */
|
|
15
|
-
ProductMediaMediaType["VIDEO"] = "VIDEO";
|
|
16
|
-
})(ProductMediaMediaType || (ProductMediaMediaType = {}));
|
|
17
|
-
export var MeasurementUnit;
|
|
18
|
-
(function (MeasurementUnit) {
|
|
19
|
-
MeasurementUnit["UNSPECIFIED"] = "UNSPECIFIED";
|
|
20
|
-
MeasurementUnit["ML"] = "ML";
|
|
21
|
-
MeasurementUnit["CL"] = "CL";
|
|
22
|
-
MeasurementUnit["L"] = "L";
|
|
23
|
-
MeasurementUnit["CBM"] = "CBM";
|
|
24
|
-
MeasurementUnit["MG"] = "MG";
|
|
25
|
-
MeasurementUnit["G"] = "G";
|
|
26
|
-
MeasurementUnit["KG"] = "KG";
|
|
27
|
-
MeasurementUnit["MM"] = "MM";
|
|
28
|
-
MeasurementUnit["CM"] = "CM";
|
|
29
|
-
MeasurementUnit["M"] = "M";
|
|
30
|
-
MeasurementUnit["SQM"] = "SQM";
|
|
31
|
-
MeasurementUnit["OZ"] = "OZ";
|
|
32
|
-
MeasurementUnit["LB"] = "LB";
|
|
33
|
-
MeasurementUnit["FLOZ"] = "FLOZ";
|
|
34
|
-
MeasurementUnit["PT"] = "PT";
|
|
35
|
-
MeasurementUnit["QT"] = "QT";
|
|
36
|
-
MeasurementUnit["GAL"] = "GAL";
|
|
37
|
-
MeasurementUnit["IN"] = "IN";
|
|
38
|
-
MeasurementUnit["FT"] = "FT";
|
|
39
|
-
MeasurementUnit["YD"] = "YD";
|
|
40
|
-
MeasurementUnit["SQFT"] = "SQFT";
|
|
41
|
-
})(MeasurementUnit || (MeasurementUnit = {}));
|
|
42
|
-
export var SecuredMediaFileType;
|
|
43
|
-
(function (SecuredMediaFileType) {
|
|
44
|
-
/** Unspecified file type. */
|
|
45
|
-
SecuredMediaFileType["UNSPECIFIED"] = "UNSPECIFIED";
|
|
46
|
-
/** Secure picture file. */
|
|
47
|
-
SecuredMediaFileType["SECURE_PICTURE"] = "SECURE_PICTURE";
|
|
48
|
-
/** Secure video file. */
|
|
49
|
-
SecuredMediaFileType["SECURE_VIDEO"] = "SECURE_VIDEO";
|
|
50
|
-
/** Secure document file. */
|
|
51
|
-
SecuredMediaFileType["SECURE_DOCUMENT"] = "SECURE_DOCUMENT";
|
|
52
|
-
/** Secure music file. */
|
|
53
|
-
SecuredMediaFileType["SECURE_MUSIC"] = "SECURE_MUSIC";
|
|
54
|
-
/** Secure archive file. */
|
|
55
|
-
SecuredMediaFileType["SECURE_ARCHIVE"] = "SECURE_ARCHIVE";
|
|
56
|
-
})(SecuredMediaFileType || (SecuredMediaFileType = {}));
|
|
57
|
-
export var V3ProductType;
|
|
58
|
-
(function (V3ProductType) {
|
|
59
|
-
/** Not implemented. */
|
|
60
|
-
V3ProductType["UNKNOWN_PRODUCT_TYPE"] = "UNKNOWN_PRODUCT_TYPE";
|
|
61
|
-
/** Physical product. */
|
|
62
|
-
V3ProductType["PHYSICAL"] = "PHYSICAL";
|
|
63
|
-
/** Digital product. */
|
|
64
|
-
V3ProductType["DIGITAL"] = "DIGITAL";
|
|
65
|
-
})(V3ProductType || (V3ProductType = {}));
|
|
66
|
-
export var WeightUnit;
|
|
67
|
-
(function (WeightUnit) {
|
|
68
|
-
/** Weight unit can't be classified due to an error. */
|
|
69
|
-
WeightUnit["UNSPECIFIED_WEIGHT_UNIT"] = "UNSPECIFIED_WEIGHT_UNIT";
|
|
70
|
-
/** Kilograms. */
|
|
71
|
-
WeightUnit["KG"] = "KG";
|
|
72
|
-
/** Pounds. */
|
|
73
|
-
WeightUnit["LB"] = "LB";
|
|
74
|
-
})(WeightUnit || (WeightUnit = {}));
|
|
75
|
-
export var InternalRowState;
|
|
76
|
-
(function (InternalRowState) {
|
|
77
|
-
/** Not implemented. */
|
|
78
|
-
InternalRowState["UNKNOWN_ROW_STATE"] = "UNKNOWN_ROW_STATE";
|
|
79
|
-
/** Variant is ready to be read. */
|
|
80
|
-
InternalRowState["READY"] = "READY";
|
|
81
|
-
/** Variant is being processed. */
|
|
82
|
-
InternalRowState["IN_PROCESS"] = "IN_PROCESS";
|
|
83
|
-
/** Variant is soft deleted. */
|
|
84
|
-
InternalRowState["SOFT_DELETED"] = "SOFT_DELETED";
|
|
85
|
-
/** Variant is permanently deleted. */
|
|
86
|
-
InternalRowState["PERMANENTLY_DELETED"] = "PERMANENTLY_DELETED";
|
|
87
|
-
})(InternalRowState || (InternalRowState = {}));
|
|
88
|
-
export var SortOrder;
|
|
89
|
-
(function (SortOrder) {
|
|
90
|
-
SortOrder["ASC"] = "ASC";
|
|
91
|
-
SortOrder["DESC"] = "DESC";
|
|
92
|
-
})(SortOrder || (SortOrder = {}));
|
|
93
|
-
export var RequestedFields;
|
|
94
|
-
(function (RequestedFields) {
|
|
95
|
-
/** Not implemented. */
|
|
96
|
-
RequestedFields["UNKNOWN_REQUESTED_FIELD"] = "UNKNOWN_REQUESTED_FIELD";
|
|
97
|
-
RequestedFields["CURRENCY"] = "CURRENCY";
|
|
98
|
-
/** You can request merchant data only if you have the `SCOPE.STORES.PRODUCT_READ_ADMIN` permission scope. */
|
|
99
|
-
RequestedFields["MERCHANT_DATA"] = "MERCHANT_DATA";
|
|
100
|
-
RequestedFields["SUBSCRIPTION_PRICES_INFO"] = "SUBSCRIPTION_PRICES_INFO";
|
|
101
|
-
RequestedFields["WEIGHT_MEASUREMENT_UNIT_INFO"] = "WEIGHT_MEASUREMENT_UNIT_INFO";
|
|
102
|
-
})(RequestedFields || (RequestedFields = {}));
|
|
103
|
-
export var SortType;
|
|
104
|
-
(function (SortType) {
|
|
105
|
-
/** Should sort by number of matches */
|
|
106
|
-
SortType["COUNT"] = "COUNT";
|
|
107
|
-
/** Should sort by value of the field alphabetically */
|
|
108
|
-
SortType["VALUE"] = "VALUE";
|
|
109
|
-
})(SortType || (SortType = {}));
|
|
110
|
-
export var SortDirection;
|
|
111
|
-
(function (SortDirection) {
|
|
112
|
-
/** Should sort in descending order */
|
|
113
|
-
SortDirection["DESC"] = "DESC";
|
|
114
|
-
/** Should sort in ascending order */
|
|
115
|
-
SortDirection["ASC"] = "ASC";
|
|
116
|
-
})(SortDirection || (SortDirection = {}));
|
|
117
|
-
export var MissingValues;
|
|
118
|
-
(function (MissingValues) {
|
|
119
|
-
/** Should missing values be excluded from the aggregation results */
|
|
120
|
-
MissingValues["EXCLUDE"] = "EXCLUDE";
|
|
121
|
-
/** Should missing values be included in the aggregation results */
|
|
122
|
-
MissingValues["INCLUDE"] = "INCLUDE";
|
|
123
|
-
})(MissingValues || (MissingValues = {}));
|
|
124
|
-
export var ScalarType;
|
|
125
|
-
(function (ScalarType) {
|
|
126
|
-
ScalarType["UNKNOWN_SCALAR_TYPE"] = "UNKNOWN_SCALAR_TYPE";
|
|
127
|
-
/** Count of distinct values */
|
|
128
|
-
ScalarType["COUNT_DISTINCT"] = "COUNT_DISTINCT";
|
|
129
|
-
/** Minimum value */
|
|
130
|
-
ScalarType["MIN"] = "MIN";
|
|
131
|
-
/** Maximum value */
|
|
132
|
-
ScalarType["MAX"] = "MAX";
|
|
133
|
-
})(ScalarType || (ScalarType = {}));
|
|
134
|
-
export var NestedAggregationType;
|
|
135
|
-
(function (NestedAggregationType) {
|
|
136
|
-
NestedAggregationType["UNKNOWN_AGGREGATION_TYPE"] = "UNKNOWN_AGGREGATION_TYPE";
|
|
137
|
-
/** An aggregation where result buckets are dynamically built - one per unique value */
|
|
138
|
-
NestedAggregationType["VALUE"] = "VALUE";
|
|
139
|
-
/** An aggregation, where user can define set of ranges - each representing a bucket */
|
|
140
|
-
NestedAggregationType["RANGE"] = "RANGE";
|
|
141
|
-
/** A single-value metric aggregation - e.g. min, max, sum, avg */
|
|
142
|
-
NestedAggregationType["SCALAR"] = "SCALAR";
|
|
143
|
-
/** An aggregation, where result buckets are dynamically built - one per time interval (hour, day, week, etc.) */
|
|
144
|
-
NestedAggregationType["DATE_HISTOGRAM"] = "DATE_HISTOGRAM";
|
|
145
|
-
})(NestedAggregationType || (NestedAggregationType = {}));
|
|
146
|
-
export var Interval;
|
|
147
|
-
(function (Interval) {
|
|
148
|
-
Interval["UNKNOWN_INTERVAL"] = "UNKNOWN_INTERVAL";
|
|
149
|
-
/** Yearly interval */
|
|
150
|
-
Interval["YEAR"] = "YEAR";
|
|
151
|
-
/** Monthly interval */
|
|
152
|
-
Interval["MONTH"] = "MONTH";
|
|
153
|
-
/** Weekly interval */
|
|
154
|
-
Interval["WEEK"] = "WEEK";
|
|
155
|
-
/** Daily interval */
|
|
156
|
-
Interval["DAY"] = "DAY";
|
|
157
|
-
/** Hourly interval */
|
|
158
|
-
Interval["HOUR"] = "HOUR";
|
|
159
|
-
/** Minute interval */
|
|
160
|
-
Interval["MINUTE"] = "MINUTE";
|
|
161
|
-
/** Second interval */
|
|
162
|
-
Interval["SECOND"] = "SECOND";
|
|
163
|
-
})(Interval || (Interval = {}));
|
|
164
|
-
export var AggregationType;
|
|
165
|
-
(function (AggregationType) {
|
|
166
|
-
AggregationType["UNKNOWN_AGGREGATION_TYPE"] = "UNKNOWN_AGGREGATION_TYPE";
|
|
167
|
-
/** An aggregation where result buckets are dynamically built - one per unique value */
|
|
168
|
-
AggregationType["VALUE"] = "VALUE";
|
|
169
|
-
/** An aggregation, where user can define set of ranges - each representing a bucket */
|
|
170
|
-
AggregationType["RANGE"] = "RANGE";
|
|
171
|
-
/** A single-value metric aggregation - e.g. min, max, sum, avg */
|
|
172
|
-
AggregationType["SCALAR"] = "SCALAR";
|
|
173
|
-
/** An aggregation, where result buckets are dynamically built - one per time interval (hour, day, week, etc.) */
|
|
174
|
-
AggregationType["DATE_HISTOGRAM"] = "DATE_HISTOGRAM";
|
|
175
|
-
/** Multi-level aggregation, where each next aggregation is nested within previous one */
|
|
176
|
-
AggregationType["NESTED"] = "NESTED";
|
|
177
|
-
})(AggregationType || (AggregationType = {}));
|
|
178
|
-
export var Mode;
|
|
179
|
-
(function (Mode) {
|
|
180
|
-
/** Any of the search terms must be present */
|
|
181
|
-
Mode["OR"] = "OR";
|
|
182
|
-
/** All search terms must be present */
|
|
183
|
-
Mode["AND"] = "AND";
|
|
184
|
-
})(Mode || (Mode = {}));
|
|
185
|
-
export var CommonSortOrder;
|
|
186
|
-
(function (CommonSortOrder) {
|
|
187
|
-
CommonSortOrder["ASC"] = "ASC";
|
|
188
|
-
CommonSortOrder["DESC"] = "DESC";
|
|
189
|
-
})(CommonSortOrder || (CommonSortOrder = {}));
|
|
190
|
-
export var ValueAggregationSortType;
|
|
191
|
-
(function (ValueAggregationSortType) {
|
|
192
|
-
/** Sort by number of matches. */
|
|
193
|
-
ValueAggregationSortType["COUNT"] = "COUNT";
|
|
194
|
-
/** Sort by value of the field alphabetically. */
|
|
195
|
-
ValueAggregationSortType["VALUE"] = "VALUE";
|
|
196
|
-
})(ValueAggregationSortType || (ValueAggregationSortType = {}));
|
|
197
|
-
export var ValueAggregationSortDirection;
|
|
198
|
-
(function (ValueAggregationSortDirection) {
|
|
199
|
-
/** Sort in descending order. */
|
|
200
|
-
ValueAggregationSortDirection["DESC"] = "DESC";
|
|
201
|
-
/** Sort in ascending order. */
|
|
202
|
-
ValueAggregationSortDirection["ASC"] = "ASC";
|
|
203
|
-
})(ValueAggregationSortDirection || (ValueAggregationSortDirection = {}));
|
|
204
|
-
export var ValueAggregationMissingValues;
|
|
205
|
-
(function (ValueAggregationMissingValues) {
|
|
206
|
-
/** Exclude missing values from the aggregation results. */
|
|
207
|
-
ValueAggregationMissingValues["EXCLUDE"] = "EXCLUDE";
|
|
208
|
-
/** Include missing values in the aggregation results. */
|
|
209
|
-
ValueAggregationMissingValues["INCLUDE"] = "INCLUDE";
|
|
210
|
-
})(ValueAggregationMissingValues || (ValueAggregationMissingValues = {}));
|
|
211
|
-
export var CommonScalarType;
|
|
212
|
-
(function (CommonScalarType) {
|
|
213
|
-
CommonScalarType["UNKNOWN_SCALAR_TYPE"] = "UNKNOWN_SCALAR_TYPE";
|
|
214
|
-
/** Count of distinct values. */
|
|
215
|
-
CommonScalarType["COUNT_DISTINCT"] = "COUNT_DISTINCT";
|
|
216
|
-
/** Minimum value. */
|
|
217
|
-
CommonScalarType["MIN"] = "MIN";
|
|
218
|
-
/** Maximum value. */
|
|
219
|
-
CommonScalarType["MAX"] = "MAX";
|
|
220
|
-
})(CommonScalarType || (CommonScalarType = {}));
|
|
221
|
-
export var NestedAggregationNestedAggregationType;
|
|
222
|
-
(function (NestedAggregationNestedAggregationType) {
|
|
223
|
-
NestedAggregationNestedAggregationType["UNKNOWN_AGGREGATION_TYPE"] = "UNKNOWN_AGGREGATION_TYPE";
|
|
224
|
-
/** An aggregation where result buckets are dynamically built - one per unique value. */
|
|
225
|
-
NestedAggregationNestedAggregationType["VALUE"] = "VALUE";
|
|
226
|
-
/** An aggregation, where user can define set of ranges - each representing a bucket. */
|
|
227
|
-
NestedAggregationNestedAggregationType["RANGE"] = "RANGE";
|
|
228
|
-
/** A single-value metric aggregation. For example, min, max, sum, avg. */
|
|
229
|
-
NestedAggregationNestedAggregationType["SCALAR"] = "SCALAR";
|
|
230
|
-
/** An aggregation, where result buckets are dynamically built - one per time interval (hour, day, week, etc.). */
|
|
231
|
-
NestedAggregationNestedAggregationType["DATE_HISTOGRAM"] = "DATE_HISTOGRAM";
|
|
232
|
-
})(NestedAggregationNestedAggregationType || (NestedAggregationNestedAggregationType = {}));
|
|
233
|
-
export var DateHistogramAggregationInterval;
|
|
234
|
-
(function (DateHistogramAggregationInterval) {
|
|
235
|
-
DateHistogramAggregationInterval["UNKNOWN_INTERVAL"] = "UNKNOWN_INTERVAL";
|
|
236
|
-
/** Yearly interval */
|
|
237
|
-
DateHistogramAggregationInterval["YEAR"] = "YEAR";
|
|
238
|
-
/** Monthly interval */
|
|
239
|
-
DateHistogramAggregationInterval["MONTH"] = "MONTH";
|
|
240
|
-
/** Weekly interval */
|
|
241
|
-
DateHistogramAggregationInterval["WEEK"] = "WEEK";
|
|
242
|
-
/** Daily interval */
|
|
243
|
-
DateHistogramAggregationInterval["DAY"] = "DAY";
|
|
244
|
-
/** Hourly interval */
|
|
245
|
-
DateHistogramAggregationInterval["HOUR"] = "HOUR";
|
|
246
|
-
/** Minute interval */
|
|
247
|
-
DateHistogramAggregationInterval["MINUTE"] = "MINUTE";
|
|
248
|
-
/** Second interval */
|
|
249
|
-
DateHistogramAggregationInterval["SECOND"] = "SECOND";
|
|
250
|
-
})(DateHistogramAggregationInterval || (DateHistogramAggregationInterval = {}));
|
|
251
|
-
export var CommonAggregationType;
|
|
252
|
-
(function (CommonAggregationType) {
|
|
253
|
-
CommonAggregationType["UNKNOWN_AGGREGATION_TYPE"] = "UNKNOWN_AGGREGATION_TYPE";
|
|
254
|
-
/** An aggregation where result buckets are dynamically built - one per unique value. */
|
|
255
|
-
CommonAggregationType["VALUE"] = "VALUE";
|
|
256
|
-
/** An aggregation, where user can define set of ranges - each representing a bucket. */
|
|
257
|
-
CommonAggregationType["RANGE"] = "RANGE";
|
|
258
|
-
/** A single-value metric aggregation. For example, min, max, sum, avg. */
|
|
259
|
-
CommonAggregationType["SCALAR"] = "SCALAR";
|
|
260
|
-
/** An aggregation, where result buckets are dynamically built - one per time interval (hour, day, week, etc.) */
|
|
261
|
-
CommonAggregationType["DATE_HISTOGRAM"] = "DATE_HISTOGRAM";
|
|
262
|
-
/** Multi-level aggregation, where each next aggregation is nested within previous one. */
|
|
263
|
-
CommonAggregationType["NESTED"] = "NESTED";
|
|
264
|
-
})(CommonAggregationType || (CommonAggregationType = {}));
|
|
265
|
-
export var SearchDetailsMode;
|
|
266
|
-
(function (SearchDetailsMode) {
|
|
267
|
-
/** Any of the search terms must be present. */
|
|
268
|
-
SearchDetailsMode["OR"] = "OR";
|
|
269
|
-
/** All search terms must be present. */
|
|
270
|
-
SearchDetailsMode["AND"] = "AND";
|
|
271
|
-
})(SearchDetailsMode || (SearchDetailsMode = {}));
|
|
272
|
-
export var NodeType;
|
|
273
|
-
(function (NodeType) {
|
|
274
|
-
NodeType["PARAGRAPH"] = "PARAGRAPH";
|
|
275
|
-
NodeType["TEXT"] = "TEXT";
|
|
276
|
-
NodeType["HEADING"] = "HEADING";
|
|
277
|
-
NodeType["BULLETED_LIST"] = "BULLETED_LIST";
|
|
278
|
-
NodeType["ORDERED_LIST"] = "ORDERED_LIST";
|
|
279
|
-
NodeType["LIST_ITEM"] = "LIST_ITEM";
|
|
280
|
-
NodeType["BLOCKQUOTE"] = "BLOCKQUOTE";
|
|
281
|
-
NodeType["CODE_BLOCK"] = "CODE_BLOCK";
|
|
282
|
-
NodeType["VIDEO"] = "VIDEO";
|
|
283
|
-
NodeType["DIVIDER"] = "DIVIDER";
|
|
284
|
-
NodeType["FILE"] = "FILE";
|
|
285
|
-
NodeType["GALLERY"] = "GALLERY";
|
|
286
|
-
NodeType["GIF"] = "GIF";
|
|
287
|
-
NodeType["HTML"] = "HTML";
|
|
288
|
-
NodeType["IMAGE"] = "IMAGE";
|
|
289
|
-
NodeType["LINK_PREVIEW"] = "LINK_PREVIEW";
|
|
290
|
-
/** @deprecated */
|
|
291
|
-
NodeType["MAP"] = "MAP";
|
|
292
|
-
NodeType["POLL"] = "POLL";
|
|
293
|
-
NodeType["APP_EMBED"] = "APP_EMBED";
|
|
294
|
-
NodeType["BUTTON"] = "BUTTON";
|
|
295
|
-
NodeType["COLLAPSIBLE_LIST"] = "COLLAPSIBLE_LIST";
|
|
296
|
-
NodeType["TABLE"] = "TABLE";
|
|
297
|
-
NodeType["EMBED"] = "EMBED";
|
|
298
|
-
NodeType["COLLAPSIBLE_ITEM"] = "COLLAPSIBLE_ITEM";
|
|
299
|
-
NodeType["COLLAPSIBLE_ITEM_TITLE"] = "COLLAPSIBLE_ITEM_TITLE";
|
|
300
|
-
NodeType["COLLAPSIBLE_ITEM_BODY"] = "COLLAPSIBLE_ITEM_BODY";
|
|
301
|
-
NodeType["TABLE_CELL"] = "TABLE_CELL";
|
|
302
|
-
NodeType["TABLE_ROW"] = "TABLE_ROW";
|
|
303
|
-
NodeType["EXTERNAL"] = "EXTERNAL";
|
|
304
|
-
NodeType["AUDIO"] = "AUDIO";
|
|
305
|
-
NodeType["CAPTION"] = "CAPTION";
|
|
306
|
-
NodeType["LAYOUT"] = "LAYOUT";
|
|
307
|
-
NodeType["LAYOUT_CELL"] = "LAYOUT_CELL";
|
|
308
|
-
})(NodeType || (NodeType = {}));
|
|
309
|
-
export var WidthType;
|
|
310
|
-
(function (WidthType) {
|
|
311
|
-
/** Width matches the content width */
|
|
312
|
-
WidthType["CONTENT"] = "CONTENT";
|
|
313
|
-
/** Small Width */
|
|
314
|
-
WidthType["SMALL"] = "SMALL";
|
|
315
|
-
/** Width will match the original asset width */
|
|
316
|
-
WidthType["ORIGINAL"] = "ORIGINAL";
|
|
317
|
-
/** coast-to-coast display */
|
|
318
|
-
WidthType["FULL_WIDTH"] = "FULL_WIDTH";
|
|
319
|
-
})(WidthType || (WidthType = {}));
|
|
320
|
-
export var PluginContainerDataAlignment;
|
|
321
|
-
(function (PluginContainerDataAlignment) {
|
|
322
|
-
/** Center Alignment */
|
|
323
|
-
PluginContainerDataAlignment["CENTER"] = "CENTER";
|
|
324
|
-
/** Left Alignment */
|
|
325
|
-
PluginContainerDataAlignment["LEFT"] = "LEFT";
|
|
326
|
-
/** Right Alignment */
|
|
327
|
-
PluginContainerDataAlignment["RIGHT"] = "RIGHT";
|
|
328
|
-
})(PluginContainerDataAlignment || (PluginContainerDataAlignment = {}));
|
|
329
|
-
export var Type;
|
|
330
|
-
(function (Type) {
|
|
331
|
-
/** Regular link button */
|
|
332
|
-
Type["LINK"] = "LINK";
|
|
333
|
-
/** Triggers custom action that is defined in plugin configuration by the consumer */
|
|
334
|
-
Type["ACTION"] = "ACTION";
|
|
335
|
-
})(Type || (Type = {}));
|
|
336
|
-
export var Target;
|
|
337
|
-
(function (Target) {
|
|
338
|
-
/** Opens the linked document in the same frame as it was clicked (this is default) */
|
|
339
|
-
Target["SELF"] = "SELF";
|
|
340
|
-
/** Opens the linked document in a new window or tab */
|
|
341
|
-
Target["BLANK"] = "BLANK";
|
|
342
|
-
/** Opens the linked document in the parent frame */
|
|
343
|
-
Target["PARENT"] = "PARENT";
|
|
344
|
-
/** Opens the linked document in the full body of the window */
|
|
345
|
-
Target["TOP"] = "TOP";
|
|
346
|
-
})(Target || (Target = {}));
|
|
347
|
-
export var TextAlignment;
|
|
348
|
-
(function (TextAlignment) {
|
|
349
|
-
/** browser default, eqivalent to `initial` */
|
|
350
|
-
TextAlignment["AUTO"] = "AUTO";
|
|
351
|
-
/** Left align */
|
|
352
|
-
TextAlignment["LEFT"] = "LEFT";
|
|
353
|
-
/** Right align */
|
|
354
|
-
TextAlignment["RIGHT"] = "RIGHT";
|
|
355
|
-
/** Center align */
|
|
356
|
-
TextAlignment["CENTER"] = "CENTER";
|
|
357
|
-
/** Text is spaced to line up its left and right edges to the left and right edges of the line box, except for the last line */
|
|
358
|
-
TextAlignment["JUSTIFY"] = "JUSTIFY";
|
|
359
|
-
})(TextAlignment || (TextAlignment = {}));
|
|
360
|
-
export var LineStyle;
|
|
361
|
-
(function (LineStyle) {
|
|
362
|
-
/** Single Line */
|
|
363
|
-
LineStyle["SINGLE"] = "SINGLE";
|
|
364
|
-
/** Double Line */
|
|
365
|
-
LineStyle["DOUBLE"] = "DOUBLE";
|
|
366
|
-
/** Dashed Line */
|
|
367
|
-
LineStyle["DASHED"] = "DASHED";
|
|
368
|
-
/** Dotted Line */
|
|
369
|
-
LineStyle["DOTTED"] = "DOTTED";
|
|
370
|
-
})(LineStyle || (LineStyle = {}));
|
|
371
|
-
export var Width;
|
|
372
|
-
(function (Width) {
|
|
373
|
-
/** Large line */
|
|
374
|
-
Width["LARGE"] = "LARGE";
|
|
375
|
-
/** Medium line */
|
|
376
|
-
Width["MEDIUM"] = "MEDIUM";
|
|
377
|
-
/** Small line */
|
|
378
|
-
Width["SMALL"] = "SMALL";
|
|
379
|
-
})(Width || (Width = {}));
|
|
380
|
-
export var Alignment;
|
|
381
|
-
(function (Alignment) {
|
|
382
|
-
/** Center alignment */
|
|
383
|
-
Alignment["CENTER"] = "CENTER";
|
|
384
|
-
/** Left alignment */
|
|
385
|
-
Alignment["LEFT"] = "LEFT";
|
|
386
|
-
/** Right alignment */
|
|
387
|
-
Alignment["RIGHT"] = "RIGHT";
|
|
388
|
-
})(Alignment || (Alignment = {}));
|
|
389
|
-
export var ViewMode;
|
|
390
|
-
(function (ViewMode) {
|
|
391
|
-
/** No PDF view */
|
|
392
|
-
ViewMode["NONE"] = "NONE";
|
|
393
|
-
/** Full PDF view */
|
|
394
|
-
ViewMode["FULL"] = "FULL";
|
|
395
|
-
/** Mini PDF view */
|
|
396
|
-
ViewMode["MINI"] = "MINI";
|
|
397
|
-
})(ViewMode || (ViewMode = {}));
|
|
398
|
-
export var LayoutType;
|
|
399
|
-
(function (LayoutType) {
|
|
400
|
-
/** Collage type */
|
|
401
|
-
LayoutType["COLLAGE"] = "COLLAGE";
|
|
402
|
-
/** Masonry type */
|
|
403
|
-
LayoutType["MASONRY"] = "MASONRY";
|
|
404
|
-
/** Grid type */
|
|
405
|
-
LayoutType["GRID"] = "GRID";
|
|
406
|
-
/** Thumbnail type */
|
|
407
|
-
LayoutType["THUMBNAIL"] = "THUMBNAIL";
|
|
408
|
-
/** Slider type */
|
|
409
|
-
LayoutType["SLIDER"] = "SLIDER";
|
|
410
|
-
/** Slideshow type */
|
|
411
|
-
LayoutType["SLIDESHOW"] = "SLIDESHOW";
|
|
412
|
-
/** Panorama type */
|
|
413
|
-
LayoutType["PANORAMA"] = "PANORAMA";
|
|
414
|
-
/** Column type */
|
|
415
|
-
LayoutType["COLUMN"] = "COLUMN";
|
|
416
|
-
/** Magic type */
|
|
417
|
-
LayoutType["MAGIC"] = "MAGIC";
|
|
418
|
-
/** Fullsize images type */
|
|
419
|
-
LayoutType["FULLSIZE"] = "FULLSIZE";
|
|
420
|
-
})(LayoutType || (LayoutType = {}));
|
|
421
|
-
export var Orientation;
|
|
422
|
-
(function (Orientation) {
|
|
423
|
-
/** Rows Orientation */
|
|
424
|
-
Orientation["ROWS"] = "ROWS";
|
|
425
|
-
/** Columns Orientation */
|
|
426
|
-
Orientation["COLUMNS"] = "COLUMNS";
|
|
427
|
-
})(Orientation || (Orientation = {}));
|
|
428
|
-
export var Crop;
|
|
429
|
-
(function (Crop) {
|
|
430
|
-
/** Crop to fill */
|
|
431
|
-
Crop["FILL"] = "FILL";
|
|
432
|
-
/** Crop to fit */
|
|
433
|
-
Crop["FIT"] = "FIT";
|
|
434
|
-
})(Crop || (Crop = {}));
|
|
435
|
-
export var ThumbnailsAlignment;
|
|
436
|
-
(function (ThumbnailsAlignment) {
|
|
437
|
-
/** Top alignment */
|
|
438
|
-
ThumbnailsAlignment["TOP"] = "TOP";
|
|
439
|
-
/** Right alignment */
|
|
440
|
-
ThumbnailsAlignment["RIGHT"] = "RIGHT";
|
|
441
|
-
/** Bottom alignment */
|
|
442
|
-
ThumbnailsAlignment["BOTTOM"] = "BOTTOM";
|
|
443
|
-
/** Left alignment */
|
|
444
|
-
ThumbnailsAlignment["LEFT"] = "LEFT";
|
|
445
|
-
/** No thumbnail */
|
|
446
|
-
ThumbnailsAlignment["NONE"] = "NONE";
|
|
447
|
-
})(ThumbnailsAlignment || (ThumbnailsAlignment = {}));
|
|
448
|
-
export var GIFType;
|
|
449
|
-
(function (GIFType) {
|
|
450
|
-
GIFType["NORMAL"] = "NORMAL";
|
|
451
|
-
GIFType["STICKER"] = "STICKER";
|
|
452
|
-
})(GIFType || (GIFType = {}));
|
|
453
|
-
export var Source;
|
|
454
|
-
(function (Source) {
|
|
455
|
-
Source["HTML"] = "HTML";
|
|
456
|
-
Source["ADSENSE"] = "ADSENSE";
|
|
457
|
-
})(Source || (Source = {}));
|
|
458
|
-
export var Position;
|
|
459
|
-
(function (Position) {
|
|
460
|
-
/** Thumbnail positioned at the start (left in LTR layouts, right in RTL layouts) */
|
|
461
|
-
Position["START"] = "START";
|
|
462
|
-
/** Thumbnail positioned at the end (right in LTR layouts, left in RTL layouts) */
|
|
463
|
-
Position["END"] = "END";
|
|
464
|
-
/** Thumbnail positioned at the top */
|
|
465
|
-
Position["TOP"] = "TOP";
|
|
466
|
-
/** Thumbnail hidden and not displayed */
|
|
467
|
-
Position["HIDDEN"] = "HIDDEN";
|
|
468
|
-
})(Position || (Position = {}));
|
|
469
|
-
export var MapType;
|
|
470
|
-
(function (MapType) {
|
|
471
|
-
/** Roadmap map type */
|
|
472
|
-
MapType["ROADMAP"] = "ROADMAP";
|
|
473
|
-
/** Satellite map type */
|
|
474
|
-
MapType["SATELITE"] = "SATELITE";
|
|
475
|
-
/** Hybrid map type */
|
|
476
|
-
MapType["HYBRID"] = "HYBRID";
|
|
477
|
-
/** Terrain map type */
|
|
478
|
-
MapType["TERRAIN"] = "TERRAIN";
|
|
479
|
-
})(MapType || (MapType = {}));
|
|
480
|
-
export var ViewRole;
|
|
481
|
-
(function (ViewRole) {
|
|
482
|
-
/** Only Poll creator can view the results */
|
|
483
|
-
ViewRole["CREATOR"] = "CREATOR";
|
|
484
|
-
/** Anyone who voted can see the results */
|
|
485
|
-
ViewRole["VOTERS"] = "VOTERS";
|
|
486
|
-
/** Anyone can see the results, even if one didn't vote */
|
|
487
|
-
ViewRole["EVERYONE"] = "EVERYONE";
|
|
488
|
-
})(ViewRole || (ViewRole = {}));
|
|
489
|
-
export var VoteRole;
|
|
490
|
-
(function (VoteRole) {
|
|
491
|
-
/** Logged in member */
|
|
492
|
-
VoteRole["SITE_MEMBERS"] = "SITE_MEMBERS";
|
|
493
|
-
/** Anyone */
|
|
494
|
-
VoteRole["ALL"] = "ALL";
|
|
495
|
-
})(VoteRole || (VoteRole = {}));
|
|
496
|
-
export var PollLayoutType;
|
|
497
|
-
(function (PollLayoutType) {
|
|
498
|
-
/** List */
|
|
499
|
-
PollLayoutType["LIST"] = "LIST";
|
|
500
|
-
/** Grid */
|
|
501
|
-
PollLayoutType["GRID"] = "GRID";
|
|
502
|
-
})(PollLayoutType || (PollLayoutType = {}));
|
|
503
|
-
export var PollLayoutDirection;
|
|
504
|
-
(function (PollLayoutDirection) {
|
|
505
|
-
/** Left-to-right */
|
|
506
|
-
PollLayoutDirection["LTR"] = "LTR";
|
|
507
|
-
/** Right-to-left */
|
|
508
|
-
PollLayoutDirection["RTL"] = "RTL";
|
|
509
|
-
})(PollLayoutDirection || (PollLayoutDirection = {}));
|
|
510
|
-
export var BackgroundType;
|
|
511
|
-
(function (BackgroundType) {
|
|
512
|
-
/** Color background type */
|
|
513
|
-
BackgroundType["COLOR"] = "COLOR";
|
|
514
|
-
/** Image background type */
|
|
515
|
-
BackgroundType["IMAGE"] = "IMAGE";
|
|
516
|
-
/** Gradiant background type */
|
|
517
|
-
BackgroundType["GRADIENT"] = "GRADIENT";
|
|
518
|
-
})(BackgroundType || (BackgroundType = {}));
|
|
519
|
-
export var DecorationType;
|
|
520
|
-
(function (DecorationType) {
|
|
521
|
-
DecorationType["BOLD"] = "BOLD";
|
|
522
|
-
DecorationType["ITALIC"] = "ITALIC";
|
|
523
|
-
DecorationType["UNDERLINE"] = "UNDERLINE";
|
|
524
|
-
DecorationType["SPOILER"] = "SPOILER";
|
|
525
|
-
DecorationType["ANCHOR"] = "ANCHOR";
|
|
526
|
-
DecorationType["MENTION"] = "MENTION";
|
|
527
|
-
DecorationType["LINK"] = "LINK";
|
|
528
|
-
DecorationType["COLOR"] = "COLOR";
|
|
529
|
-
DecorationType["FONT_SIZE"] = "FONT_SIZE";
|
|
530
|
-
DecorationType["EXTERNAL"] = "EXTERNAL";
|
|
531
|
-
DecorationType["STRIKETHROUGH"] = "STRIKETHROUGH";
|
|
532
|
-
})(DecorationType || (DecorationType = {}));
|
|
533
|
-
export var FontType;
|
|
534
|
-
(function (FontType) {
|
|
535
|
-
FontType["PX"] = "PX";
|
|
536
|
-
FontType["EM"] = "EM";
|
|
537
|
-
})(FontType || (FontType = {}));
|
|
538
|
-
export var AppType;
|
|
539
|
-
(function (AppType) {
|
|
540
|
-
AppType["PRODUCT"] = "PRODUCT";
|
|
541
|
-
AppType["EVENT"] = "EVENT";
|
|
542
|
-
AppType["BOOKING"] = "BOOKING";
|
|
543
|
-
})(AppType || (AppType = {}));
|
|
544
|
-
export var InitialExpandedItems;
|
|
545
|
-
(function (InitialExpandedItems) {
|
|
546
|
-
/** First item will be expended initally */
|
|
547
|
-
InitialExpandedItems["FIRST"] = "FIRST";
|
|
548
|
-
/** All items will expended initally */
|
|
549
|
-
InitialExpandedItems["ALL"] = "ALL";
|
|
550
|
-
/** All items collapsed initally */
|
|
551
|
-
InitialExpandedItems["NONE"] = "NONE";
|
|
552
|
-
})(InitialExpandedItems || (InitialExpandedItems = {}));
|
|
553
|
-
export var Direction;
|
|
554
|
-
(function (Direction) {
|
|
555
|
-
/** Left-to-right */
|
|
556
|
-
Direction["LTR"] = "LTR";
|
|
557
|
-
/** Right-to-left */
|
|
558
|
-
Direction["RTL"] = "RTL";
|
|
559
|
-
})(Direction || (Direction = {}));
|
|
560
|
-
export var VerticalAlignment;
|
|
561
|
-
(function (VerticalAlignment) {
|
|
562
|
-
/** Top alignment */
|
|
563
|
-
VerticalAlignment["TOP"] = "TOP";
|
|
564
|
-
/** Middle alignment */
|
|
565
|
-
VerticalAlignment["MIDDLE"] = "MIDDLE";
|
|
566
|
-
/** Bottom alignment */
|
|
567
|
-
VerticalAlignment["BOTTOM"] = "BOTTOM";
|
|
568
|
-
})(VerticalAlignment || (VerticalAlignment = {}));
|
|
569
|
-
/**
|
|
570
|
-
* `NullValue` is a singleton enumeration to represent the null value for the
|
|
571
|
-
* `Value` type union.
|
|
572
|
-
*
|
|
573
|
-
* The JSON representation for `NullValue` is JSON `null`.
|
|
574
|
-
*/
|
|
575
|
-
export var NullValue;
|
|
576
|
-
(function (NullValue) {
|
|
577
|
-
/** Null value. */
|
|
578
|
-
NullValue["NULL_VALUE"] = "NULL_VALUE";
|
|
579
|
-
})(NullValue || (NullValue = {}));
|
|
580
|
-
export var MediaType;
|
|
581
|
-
(function (MediaType) {
|
|
582
|
-
MediaType["UNKNOWN_MEDIA_TYPE"] = "UNKNOWN_MEDIA_TYPE";
|
|
583
|
-
/** Image media type. */
|
|
584
|
-
MediaType["IMAGE"] = "IMAGE";
|
|
585
|
-
/** Video media type. */
|
|
586
|
-
MediaType["VIDEO"] = "VIDEO";
|
|
587
|
-
})(MediaType || (MediaType = {}));
|
|
588
|
-
export var ProductOptionRenderType;
|
|
589
|
-
(function (ProductOptionRenderType) {
|
|
590
|
-
/** Not implemented. */
|
|
591
|
-
ProductOptionRenderType["UNKNOWN_OPTION_RENDER_TYPE"] = "UNKNOWN_OPTION_RENDER_TYPE";
|
|
592
|
-
/** Text choices. */
|
|
593
|
-
ProductOptionRenderType["TEXT_CHOICES"] = "TEXT_CHOICES";
|
|
594
|
-
/** Swatch choices. */
|
|
595
|
-
ProductOptionRenderType["SWATCH_CHOICES"] = "SWATCH_CHOICES";
|
|
596
|
-
})(ProductOptionRenderType || (ProductOptionRenderType = {}));
|
|
597
|
-
export var ChoiceType;
|
|
598
|
-
(function (ChoiceType) {
|
|
599
|
-
ChoiceType["UNKNOWN_CHOICE_TYPE"] = "UNKNOWN_CHOICE_TYPE";
|
|
600
|
-
/** Text choice. */
|
|
601
|
-
ChoiceType["CHOICE_TEXT"] = "CHOICE_TEXT";
|
|
602
|
-
/** Single color choice. */
|
|
603
|
-
ChoiceType["ONE_COLOR"] = "ONE_COLOR";
|
|
604
|
-
/** Multiple colors choice. */
|
|
605
|
-
ChoiceType["MULTIPLE_COLORS"] = "MULTIPLE_COLORS";
|
|
606
|
-
/** Image choice. */
|
|
607
|
-
ChoiceType["IMAGE"] = "IMAGE";
|
|
608
|
-
})(ChoiceType || (ChoiceType = {}));
|
|
609
|
-
export var ModifierRenderType;
|
|
610
|
-
(function (ModifierRenderType) {
|
|
611
|
-
/** Not implemented. */
|
|
612
|
-
ModifierRenderType["UNKNOWN_MODIFIER_RENDER_TYPE"] = "UNKNOWN_MODIFIER_RENDER_TYPE";
|
|
613
|
-
/** Free text. */
|
|
614
|
-
ModifierRenderType["FREE_TEXT"] = "FREE_TEXT";
|
|
615
|
-
/** Text choices. */
|
|
616
|
-
ModifierRenderType["TEXT_CHOICES"] = "TEXT_CHOICES";
|
|
617
|
-
/** Swatch choices. */
|
|
618
|
-
ModifierRenderType["SWATCH_CHOICES"] = "SWATCH_CHOICES";
|
|
619
|
-
})(ModifierRenderType || (ModifierRenderType = {}));
|
|
620
|
-
export var AvailabilityStatus;
|
|
621
|
-
(function (AvailabilityStatus) {
|
|
622
|
-
AvailabilityStatus["UNKNOWN_AVAILABILITY_STATUS"] = "UNKNOWN_AVAILABILITY_STATUS";
|
|
623
|
-
/** All variants are in stock and available for purchase. */
|
|
624
|
-
AvailabilityStatus["IN_STOCK"] = "IN_STOCK";
|
|
625
|
-
/** All variants are out of stock. */
|
|
626
|
-
AvailabilityStatus["OUT_OF_STOCK"] = "OUT_OF_STOCK";
|
|
627
|
-
/** Some variants are out of stock and some are in stock and available for purchase. */
|
|
628
|
-
AvailabilityStatus["PARTIALLY_OUT_OF_STOCK"] = "PARTIALLY_OUT_OF_STOCK";
|
|
629
|
-
})(AvailabilityStatus || (AvailabilityStatus = {}));
|
|
630
|
-
export var PreorderStatus;
|
|
631
|
-
(function (PreorderStatus) {
|
|
632
|
-
PreorderStatus["UNKNOWN_PREORDER_STATUS"] = "UNKNOWN_PREORDER_STATUS";
|
|
633
|
-
/** All variants are enabled for preorder. */
|
|
634
|
-
PreorderStatus["ENABLED"] = "ENABLED";
|
|
635
|
-
/** All variants are disabled for preorder. */
|
|
636
|
-
PreorderStatus["DISABLED"] = "DISABLED";
|
|
637
|
-
/** Some variants are disabled and some are enabled for preorder. */
|
|
638
|
-
PreorderStatus["PARTIALLY_ENABLED"] = "PARTIALLY_ENABLED";
|
|
639
|
-
})(PreorderStatus || (PreorderStatus = {}));
|
|
640
|
-
export var ProductPreorderAvailability;
|
|
641
|
-
(function (ProductPreorderAvailability) {
|
|
642
|
-
ProductPreorderAvailability["UNKNOWN_PREORDER_AVAILABILITY_STATUS"] = "UNKNOWN_PREORDER_AVAILABILITY_STATUS";
|
|
643
|
-
/** All the product variants are available for preorder. */
|
|
644
|
-
ProductPreorderAvailability["ALL_VARIANTS"] = "ALL_VARIANTS";
|
|
645
|
-
/** None of the product variants are available for preorder. */
|
|
646
|
-
ProductPreorderAvailability["NO_VARIANTS"] = "NO_VARIANTS";
|
|
647
|
-
/** Some of the product variants are available for preorder. */
|
|
648
|
-
ProductPreorderAvailability["SOME_VARIANTS"] = "SOME_VARIANTS";
|
|
649
|
-
})(ProductPreorderAvailability || (ProductPreorderAvailability = {}));
|
|
650
|
-
export var ProductType;
|
|
651
|
-
(function (ProductType) {
|
|
652
|
-
/** Not implemented. */
|
|
653
|
-
ProductType["UNKNOWN_PRODUCT_TYPE"] = "UNKNOWN_PRODUCT_TYPE";
|
|
654
|
-
/** Physical product. */
|
|
655
|
-
ProductType["PHYSICAL"] = "PHYSICAL";
|
|
656
|
-
/** Digital product. */
|
|
657
|
-
ProductType["DIGITAL"] = "DIGITAL";
|
|
658
|
-
})(ProductType || (ProductType = {}));
|
|
659
|
-
export var FileType;
|
|
660
|
-
(function (FileType) {
|
|
661
|
-
/** Unspecified file type. */
|
|
662
|
-
FileType["UNSPECIFIED"] = "UNSPECIFIED";
|
|
663
|
-
/** Secure picture file. */
|
|
664
|
-
FileType["SECURE_PICTURE"] = "SECURE_PICTURE";
|
|
665
|
-
/** Secure video file. */
|
|
666
|
-
FileType["SECURE_VIDEO"] = "SECURE_VIDEO";
|
|
667
|
-
/** Secure document file. */
|
|
668
|
-
FileType["SECURE_DOCUMENT"] = "SECURE_DOCUMENT";
|
|
669
|
-
/** Secure music file. */
|
|
670
|
-
FileType["SECURE_MUSIC"] = "SECURE_MUSIC";
|
|
671
|
-
/** Secure archive file. */
|
|
672
|
-
FileType["SECURE_ARCHIVE"] = "SECURE_ARCHIVE";
|
|
673
|
-
})(FileType || (FileType = {}));
|
|
674
|
-
/** Frequency unit of recurring payment */
|
|
675
|
-
export var SubscriptionFrequency;
|
|
676
|
-
(function (SubscriptionFrequency) {
|
|
677
|
-
SubscriptionFrequency["UNDEFINED"] = "UNDEFINED";
|
|
678
|
-
SubscriptionFrequency["DAY"] = "DAY";
|
|
679
|
-
SubscriptionFrequency["WEEK"] = "WEEK";
|
|
680
|
-
SubscriptionFrequency["MONTH"] = "MONTH";
|
|
681
|
-
SubscriptionFrequency["YEAR"] = "YEAR";
|
|
682
|
-
})(SubscriptionFrequency || (SubscriptionFrequency = {}));
|
|
683
|
-
export var DiscountType;
|
|
684
|
-
(function (DiscountType) {
|
|
685
|
-
DiscountType["UNKNOWN_DISCOUNT"] = "UNKNOWN_DISCOUNT";
|
|
686
|
-
/** Discount by a specific amount. */
|
|
687
|
-
DiscountType["AMOUNT"] = "AMOUNT";
|
|
688
|
-
/** Discount by a percentage. */
|
|
689
|
-
DiscountType["PERCENT"] = "PERCENT";
|
|
690
|
-
})(DiscountType || (DiscountType = {}));
|
|
691
|
-
export var WebhookIdentityType;
|
|
692
|
-
(function (WebhookIdentityType) {
|
|
693
|
-
WebhookIdentityType["UNKNOWN"] = "UNKNOWN";
|
|
694
|
-
WebhookIdentityType["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
|
|
695
|
-
WebhookIdentityType["MEMBER"] = "MEMBER";
|
|
696
|
-
WebhookIdentityType["WIX_USER"] = "WIX_USER";
|
|
697
|
-
WebhookIdentityType["APP"] = "APP";
|
|
698
|
-
})(WebhookIdentityType || (WebhookIdentityType = {}));
|
|
699
|
-
/**
|
|
700
|
-
* Retrieves a list of ReadOnlyVariants, given the provided [paging, filtering, and sorting][1].
|
|
701
|
-
* Up to 1,000 ReadOnlyVariants can be returned per request.
|
|
702
|
-
* To learn how to query ReadOnlyVariants, see [API Query Language][2].
|
|
703
|
-
* [1]: https://dev.wix.com/api/rest/getting-started/sorting-and-paging
|
|
704
|
-
* [2]: https://dev.wix.com/api/rest/getting-started/api-query-language
|
|
705
|
-
* @internal
|
|
706
|
-
* @documentationMaturity preview
|
|
707
|
-
* @permissionScope Manage Stores - all permissions
|
|
708
|
-
* @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
|
|
709
|
-
* @permissionScope Manage Stores
|
|
710
|
-
* @permissionScopeId SCOPE.STORES.MANAGE-STORES
|
|
711
|
-
* @permissionScope Read products in v3 catalog
|
|
712
|
-
* @permissionScopeId SCOPE.STORES.PRODUCT_READ
|
|
713
|
-
* @permissionScope Read v3 catalog
|
|
714
|
-
* @permissionScopeId SCOPE.STORES.CATALOG_READ
|
|
715
|
-
* @permissionScope Manage Products
|
|
716
|
-
* @permissionScopeId SCOPE.DC-STORES.MANAGE-PRODUCTS
|
|
717
|
-
* @permissionScope Read Stores - all read permissions
|
|
718
|
-
* @permissionScopeId SCOPE.DC-STORES-MEGA.READ-STORES
|
|
719
|
-
* @permissionScope Read Products
|
|
720
|
-
* @permissionScopeId SCOPE.DC-STORES.READ-PRODUCTS
|
|
721
|
-
* @permissionScope Product v3 read admin
|
|
722
|
-
* @permissionScopeId SCOPE.STORES.PRODUCT_READ_ADMIN
|
|
723
|
-
* @permissionScope Manage Restaurants - all permissions
|
|
724
|
-
* @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
|
|
725
|
-
* @permissionScope Manage v3 catalog
|
|
726
|
-
* @permissionScopeId SCOPE.STORES.CATALOG_WRITE
|
|
727
|
-
* @permissionScope Manage Orders
|
|
728
|
-
* @permissionScopeId SCOPE.DC-STORES.MANAGE-ORDERS
|
|
729
|
-
* @permissionScope Manage Stores - all permissions
|
|
730
|
-
* @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
|
|
731
|
-
* @permissionScope Manage Stores
|
|
732
|
-
* @permissionScopeId SCOPE.STORES.MANAGE-STORES
|
|
733
|
-
* @permissionScope Manage Products
|
|
734
|
-
* @permissionScopeId SCOPE.DC-STORES.MANAGE-PRODUCTS
|
|
735
|
-
* @permissionScope Read Stores - all read permissions
|
|
736
|
-
* @permissionScopeId SCOPE.DC-STORES-MEGA.READ-STORES
|
|
737
|
-
* @permissionScope Read Products
|
|
738
|
-
* @permissionScopeId SCOPE.DC-STORES.READ-PRODUCTS
|
|
739
|
-
* @permissionScope Product v3 read admin
|
|
740
|
-
* @permissionScopeId SCOPE.STORES.PRODUCT_READ_ADMIN
|
|
741
|
-
* @permissionId WIX_STORES.READ_ONLY_VARIANT_READ
|
|
742
|
-
* @permissionId WIX_STORES.READ_ONLY_VARIANT_READ_HIDDEN
|
|
743
|
-
* @applicableIdentity APP
|
|
744
|
-
* @applicableIdentity VISITOR
|
|
745
|
-
* @fqn com.wix.stores.catalog.product.variants.reader.api.v3.ProductVariantsReader.QueryVariants
|
|
746
|
-
*/
|
|
747
|
-
export function queryVariants(options) {
|
|
748
|
-
// @ts-ignore
|
|
749
|
-
const { httpClient, sideEffects } = arguments[1];
|
|
750
|
-
return queryBuilder({
|
|
751
|
-
func: async (payload) => {
|
|
752
|
-
const reqOpts = ambassadorWixStoresCatalogV3ReadOnlyVariant.queryVariants({ ...payload, ...(options ?? {}) });
|
|
753
|
-
sideEffects?.onSiteCall?.();
|
|
754
|
-
try {
|
|
755
|
-
const result = await httpClient.request(reqOpts);
|
|
756
|
-
sideEffects?.onSuccess?.(result);
|
|
757
|
-
return result;
|
|
758
|
-
}
|
|
759
|
-
catch (err) {
|
|
760
|
-
sideEffects?.onError?.(err);
|
|
761
|
-
throw err;
|
|
762
|
-
}
|
|
763
|
-
},
|
|
764
|
-
requestTransformer: (query) => {
|
|
765
|
-
const args = [query, options];
|
|
766
|
-
return renameKeysFromSDKRequestToRESTRequest({
|
|
767
|
-
...args?.[1],
|
|
768
|
-
query: args?.[0],
|
|
769
|
-
});
|
|
770
|
-
},
|
|
771
|
-
responseTransformer: ({ data }) => {
|
|
772
|
-
const transformedData = renameKeysFromRESTResponseToSDKResponse(transformPaths(data, [
|
|
773
|
-
{
|
|
774
|
-
transformFn: transformRESTImageToSDKImage,
|
|
775
|
-
paths: [{ path: 'variants.media.image' }],
|
|
776
|
-
},
|
|
777
|
-
{
|
|
778
|
-
transformFn: transformRESTVideoV2ToSDKVideoV2,
|
|
779
|
-
paths: [{ path: 'variants.media.video' }],
|
|
780
|
-
},
|
|
781
|
-
]));
|
|
782
|
-
return {
|
|
783
|
-
items: transformedData?.variants,
|
|
784
|
-
pagingMetadata: transformedData?.pagingMetadata,
|
|
785
|
-
};
|
|
786
|
-
},
|
|
787
|
-
errorTransformer: (err) => {
|
|
788
|
-
const transformedError = sdkTransformError(err, {
|
|
789
|
-
spreadPathsToArguments: {},
|
|
790
|
-
explicitPathsToArguments: { query: '$[0]' },
|
|
791
|
-
singleArgumentUnchanged: false,
|
|
792
|
-
});
|
|
793
|
-
throw transformedError;
|
|
794
|
-
},
|
|
795
|
-
pagingMethod: 'CURSOR',
|
|
796
|
-
transformationPaths: {},
|
|
797
|
-
});
|
|
798
|
-
}
|
|
799
|
-
/**
|
|
800
|
-
* Search Variants using [WQL - Wix Query Language](https://dev.wix.com/api/rest/getting-started/api-query-language)
|
|
801
|
-
* >**Notes:**
|
|
802
|
-
* + If you don't have permissions to read non visible products then variants related to non-visible products will be filtered out from response.
|
|
803
|
-
* In such case non visible variants also will be filtered out.
|
|
804
|
-
* @param search - WQL expression
|
|
805
|
-
* @internal
|
|
806
|
-
* @documentationMaturity preview
|
|
807
|
-
* @requiredField search
|
|
808
|
-
* @permissionId WIX_STORES.READ_ONLY_VARIANT_READ
|
|
809
|
-
* @permissionId WIX_STORES.READ_ONLY_VARIANT_READ_HIDDEN
|
|
810
|
-
* @permissionScope Manage Stores - all permissions
|
|
811
|
-
* @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
|
|
812
|
-
* @permissionScope Manage Stores
|
|
813
|
-
* @permissionScopeId SCOPE.STORES.MANAGE-STORES
|
|
814
|
-
* @permissionScope Read products in v3 catalog
|
|
815
|
-
* @permissionScopeId SCOPE.STORES.PRODUCT_READ
|
|
816
|
-
* @permissionScope Read v3 catalog
|
|
817
|
-
* @permissionScopeId SCOPE.STORES.CATALOG_READ
|
|
818
|
-
* @permissionScope Manage Products
|
|
819
|
-
* @permissionScopeId SCOPE.DC-STORES.MANAGE-PRODUCTS
|
|
820
|
-
* @permissionScope Read Stores - all read permissions
|
|
821
|
-
* @permissionScopeId SCOPE.DC-STORES-MEGA.READ-STORES
|
|
822
|
-
* @permissionScope Read Products
|
|
823
|
-
* @permissionScopeId SCOPE.DC-STORES.READ-PRODUCTS
|
|
824
|
-
* @permissionScope Product v3 read admin
|
|
825
|
-
* @permissionScopeId SCOPE.STORES.PRODUCT_READ_ADMIN
|
|
826
|
-
* @permissionScope Manage Restaurants - all permissions
|
|
827
|
-
* @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
|
|
828
|
-
* @permissionScope Manage v3 catalog
|
|
829
|
-
* @permissionScopeId SCOPE.STORES.CATALOG_WRITE
|
|
830
|
-
* @permissionScope Manage Orders
|
|
831
|
-
* @permissionScopeId SCOPE.DC-STORES.MANAGE-ORDERS
|
|
832
|
-
* @permissionScope Manage Stores - all permissions
|
|
833
|
-
* @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
|
|
834
|
-
* @permissionScope Manage Stores
|
|
835
|
-
* @permissionScopeId SCOPE.STORES.MANAGE-STORES
|
|
836
|
-
* @permissionScope Manage Products
|
|
837
|
-
* @permissionScopeId SCOPE.DC-STORES.MANAGE-PRODUCTS
|
|
838
|
-
* @permissionScope Read Stores - all read permissions
|
|
839
|
-
* @permissionScopeId SCOPE.DC-STORES-MEGA.READ-STORES
|
|
840
|
-
* @permissionScope Read Products
|
|
841
|
-
* @permissionScopeId SCOPE.DC-STORES.READ-PRODUCTS
|
|
842
|
-
* @permissionScope Product v3 read admin
|
|
843
|
-
* @permissionScopeId SCOPE.STORES.PRODUCT_READ_ADMIN
|
|
844
|
-
* @applicableIdentity APP
|
|
845
|
-
* @applicableIdentity VISITOR
|
|
846
|
-
* @fqn com.wix.stores.catalog.product.variants.reader.api.v3.ProductVariantsReader.SearchVariants
|
|
847
|
-
*/
|
|
848
|
-
export async function searchVariants(search, options) {
|
|
849
|
-
// @ts-ignore
|
|
850
|
-
const { httpClient, sideEffects } = arguments[2];
|
|
851
|
-
const payload = renameKeysFromSDKRequestToRESTRequest({
|
|
852
|
-
search: search,
|
|
853
|
-
fields: options?.fields,
|
|
854
|
-
});
|
|
855
|
-
const reqOpts = ambassadorWixStoresCatalogV3ReadOnlyVariant.searchVariants(payload);
|
|
856
|
-
sideEffects?.onSiteCall?.();
|
|
857
|
-
try {
|
|
858
|
-
const result = await httpClient.request(reqOpts);
|
|
859
|
-
sideEffects?.onSuccess?.(result);
|
|
860
|
-
return renameKeysFromRESTResponseToSDKResponse(transformPaths(result.data, [
|
|
861
|
-
{
|
|
862
|
-
transformFn: transformRESTImageToSDKImage,
|
|
863
|
-
paths: [{ path: 'variants.media.image' }],
|
|
864
|
-
},
|
|
865
|
-
{
|
|
866
|
-
transformFn: transformRESTVideoV2ToSDKVideoV2,
|
|
867
|
-
paths: [{ path: 'variants.media.video' }],
|
|
868
|
-
},
|
|
869
|
-
]));
|
|
870
|
-
}
|
|
871
|
-
catch (err) {
|
|
872
|
-
const transformedError = sdkTransformError(err, {
|
|
873
|
-
spreadPathsToArguments: {},
|
|
874
|
-
explicitPathsToArguments: { search: '$[0]', fields: '$[1].fields' },
|
|
875
|
-
singleArgumentUnchanged: false,
|
|
876
|
-
}, ['search', 'options']);
|
|
877
|
-
sideEffects?.onError?.(err);
|
|
878
|
-
throw transformedError;
|
|
879
|
-
}
|
|
880
|
-
}
|
|
881
|
-
//# sourceMappingURL=stores-catalog-v3-read-only-variant-read-only-variants-v-3.universal.js.map
|