@wix/gift-vouchers 1.0.7 → 1.0.9
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/gift-vouchers",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.9",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"registry": "https://registry.npmjs.org/",
|
|
6
6
|
"access": "public"
|
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
"type-bundles"
|
|
22
22
|
],
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@wix/gift-vouchers_gift-voucher-products": "1.0.
|
|
25
|
-
"@wix/gift-vouchers_gift-vouchers": "1.0.
|
|
24
|
+
"@wix/gift-vouchers_gift-voucher-products": "1.0.6",
|
|
25
|
+
"@wix/gift-vouchers_gift-vouchers": "1.0.3"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"glob": "^10.4.1",
|
|
@@ -47,5 +47,5 @@
|
|
|
47
47
|
"fqdn": ""
|
|
48
48
|
}
|
|
49
49
|
},
|
|
50
|
-
"falconPackageHash": "
|
|
50
|
+
"falconPackageHash": "139061e84029c121f52c3555d0bd15edebd1cb9aeac172f29f910d3d"
|
|
51
51
|
}
|
|
@@ -810,11 +810,7 @@ declare enum ScalarType {
|
|
|
810
810
|
/** Minimum value */
|
|
811
811
|
MIN = "MIN",
|
|
812
812
|
/** Maximum value */
|
|
813
|
-
MAX = "MAX"
|
|
814
|
-
/** Sum of values */
|
|
815
|
-
SUM = "SUM",
|
|
816
|
-
/** Average of values */
|
|
817
|
-
AVG = "AVG"
|
|
813
|
+
MAX = "MAX"
|
|
818
814
|
}
|
|
819
815
|
interface ValueAggregation extends ValueAggregationOptionsOneOf {
|
|
820
816
|
/** Options for including missing values */
|
|
@@ -1399,7 +1395,9 @@ declare enum Namespace {
|
|
|
1399
1395
|
*/
|
|
1400
1396
|
UGC_TEMPLATE = "UGC_TEMPLATE",
|
|
1401
1397
|
/** Codux Headless Sites */
|
|
1402
|
-
CODUX = "CODUX"
|
|
1398
|
+
CODUX = "CODUX",
|
|
1399
|
+
/** Bobb - AI Design Creator. */
|
|
1400
|
+
MEDIA_DESIGN_CREATOR = "MEDIA_DESIGN_CREATOR"
|
|
1403
1401
|
}
|
|
1404
1402
|
/** Site transferred to another user. */
|
|
1405
1403
|
interface SiteTransferred {
|
|
@@ -1552,7 +1550,7 @@ interface Properties {
|
|
|
1552
1550
|
businessSchedule?: BusinessSchedule;
|
|
1553
1551
|
/** Supported languages of a site and the primary language. */
|
|
1554
1552
|
multilingual?: Multilingual;
|
|
1555
|
-
/** Cookie policy the
|
|
1553
|
+
/** Cookie policy the Wix user defined for their site (before the site visitor interacts with/limits it). */
|
|
1556
1554
|
consentPolicy?: ConsentPolicy;
|
|
1557
1555
|
/**
|
|
1558
1556
|
* Supported values: `FITNESS SERVICE`, `RESTAURANT`, `BLOG`, `STORE`, `EVENT`, `UNKNOWN`.
|
|
@@ -1560,9 +1558,9 @@ interface Properties {
|
|
|
1560
1558
|
* Site business type.
|
|
1561
1559
|
*/
|
|
1562
1560
|
businessConfig?: string | null;
|
|
1563
|
-
/** External site
|
|
1561
|
+
/** External site URL that uses Wix as its headless business solution. */
|
|
1564
1562
|
externalSiteUrl?: string | null;
|
|
1565
|
-
/** Track clicks analytics */
|
|
1563
|
+
/** Track clicks analytics. */
|
|
1566
1564
|
trackClicksAnalytics?: boolean;
|
|
1567
1565
|
}
|
|
1568
1566
|
interface Categories {
|
|
@@ -1606,8 +1604,7 @@ interface Address {
|
|
|
1606
1604
|
/**
|
|
1607
1605
|
* Extra information on displayed addresses.
|
|
1608
1606
|
* This is used for display purposes. Used to add additional data about the address, such as "In the passage".
|
|
1609
|
-
* Free text. In addition the user can state where
|
|
1610
|
-
* the address string.
|
|
1607
|
+
* Free text. In addition, the user can state where to display the additional description - before, after, or instead of the address string.
|
|
1611
1608
|
*/
|
|
1612
1609
|
interface AddressHint {
|
|
1613
1610
|
/** Extra text displayed next to, or instead of, the actual address. */
|
|
@@ -1899,6 +1896,58 @@ interface GiftCardsQueryResult extends QueryCursorResult$1 {
|
|
|
1899
1896
|
prev: () => Promise<GiftCardsQueryResult>;
|
|
1900
1897
|
}
|
|
1901
1898
|
interface GiftCardsQueryBuilder {
|
|
1899
|
+
/** @param propertyName - Property whose value is compared with `value`.
|
|
1900
|
+
* @param value - Value to compare against.
|
|
1901
|
+
* @documentationMaturity preview
|
|
1902
|
+
*/
|
|
1903
|
+
eq: (propertyName: '_id' | 'code' | 'initialValue' | 'balance' | 'expirationDate' | '_createdDate' | '_updatedDate', value: any) => GiftCardsQueryBuilder;
|
|
1904
|
+
/** @param propertyName - Property whose value is compared with `value`.
|
|
1905
|
+
* @param value - Value to compare against.
|
|
1906
|
+
* @documentationMaturity preview
|
|
1907
|
+
*/
|
|
1908
|
+
ne: (propertyName: '_id' | 'code' | 'initialValue' | 'balance' | 'expirationDate' | '_createdDate' | '_updatedDate', value: any) => GiftCardsQueryBuilder;
|
|
1909
|
+
/** @param propertyName - Property whose value is compared with `value`.
|
|
1910
|
+
* @param value - Value to compare against.
|
|
1911
|
+
* @documentationMaturity preview
|
|
1912
|
+
*/
|
|
1913
|
+
ge: (propertyName: 'expirationDate' | '_createdDate' | '_updatedDate', value: any) => GiftCardsQueryBuilder;
|
|
1914
|
+
/** @param propertyName - Property whose value is compared with `value`.
|
|
1915
|
+
* @param value - Value to compare against.
|
|
1916
|
+
* @documentationMaturity preview
|
|
1917
|
+
*/
|
|
1918
|
+
gt: (propertyName: 'expirationDate' | '_createdDate' | '_updatedDate', value: any) => GiftCardsQueryBuilder;
|
|
1919
|
+
/** @param propertyName - Property whose value is compared with `value`.
|
|
1920
|
+
* @param value - Value to compare against.
|
|
1921
|
+
* @documentationMaturity preview
|
|
1922
|
+
*/
|
|
1923
|
+
le: (propertyName: 'expirationDate' | '_createdDate' | '_updatedDate', value: any) => GiftCardsQueryBuilder;
|
|
1924
|
+
/** @param propertyName - Property whose value is compared with `value`.
|
|
1925
|
+
* @param value - Value to compare against.
|
|
1926
|
+
* @documentationMaturity preview
|
|
1927
|
+
*/
|
|
1928
|
+
lt: (propertyName: 'expirationDate' | '_createdDate' | '_updatedDate', value: any) => GiftCardsQueryBuilder;
|
|
1929
|
+
/** @param propertyName - Property whose value is compared with `string`.
|
|
1930
|
+
* @param string - String to compare against. Case-insensitive.
|
|
1931
|
+
* @documentationMaturity preview
|
|
1932
|
+
*/
|
|
1933
|
+
startsWith: (propertyName: '_id' | 'code', value: string) => GiftCardsQueryBuilder;
|
|
1934
|
+
/** @param propertyName - Property whose value is compared with `values`.
|
|
1935
|
+
* @param values - List of values to compare against.
|
|
1936
|
+
* @documentationMaturity preview
|
|
1937
|
+
*/
|
|
1938
|
+
hasSome: (propertyName: '_id' | 'code' | 'initialValue' | 'balance' | 'expirationDate' | '_createdDate' | '_updatedDate', value: any[]) => GiftCardsQueryBuilder;
|
|
1939
|
+
/** @documentationMaturity preview */
|
|
1940
|
+
in: (propertyName: '_id' | 'code' | 'initialValue' | 'balance' | 'expirationDate' | '_createdDate' | '_updatedDate', value: any) => GiftCardsQueryBuilder;
|
|
1941
|
+
/** @documentationMaturity preview */
|
|
1942
|
+
exists: (propertyName: '_id' | 'code' | 'initialValue' | 'balance' | 'expirationDate' | '_createdDate' | '_updatedDate', value: boolean) => GiftCardsQueryBuilder;
|
|
1943
|
+
/** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments.
|
|
1944
|
+
* @documentationMaturity preview
|
|
1945
|
+
*/
|
|
1946
|
+
ascending: (...propertyNames: Array<'_id' | 'code' | 'initialValue' | 'balance' | 'expirationDate' | '_createdDate' | '_updatedDate'>) => GiftCardsQueryBuilder;
|
|
1947
|
+
/** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments.
|
|
1948
|
+
* @documentationMaturity preview
|
|
1949
|
+
*/
|
|
1950
|
+
descending: (...propertyNames: Array<'_id' | 'code' | 'initialValue' | 'balance' | 'expirationDate' | '_createdDate' | '_updatedDate'>) => GiftCardsQueryBuilder;
|
|
1902
1951
|
/** @param limit - Number of items to return, which is also the `pageSize` of the results object.
|
|
1903
1952
|
* @documentationMaturity preview
|
|
1904
1953
|
*/
|
|
@@ -810,11 +810,7 @@ declare enum ScalarType {
|
|
|
810
810
|
/** Minimum value */
|
|
811
811
|
MIN = "MIN",
|
|
812
812
|
/** Maximum value */
|
|
813
|
-
MAX = "MAX"
|
|
814
|
-
/** Sum of values */
|
|
815
|
-
SUM = "SUM",
|
|
816
|
-
/** Average of values */
|
|
817
|
-
AVG = "AVG"
|
|
813
|
+
MAX = "MAX"
|
|
818
814
|
}
|
|
819
815
|
interface ValueAggregation extends ValueAggregationOptionsOneOf {
|
|
820
816
|
/** Options for including missing values */
|
|
@@ -1399,7 +1395,9 @@ declare enum Namespace {
|
|
|
1399
1395
|
*/
|
|
1400
1396
|
UGC_TEMPLATE = "UGC_TEMPLATE",
|
|
1401
1397
|
/** Codux Headless Sites */
|
|
1402
|
-
CODUX = "CODUX"
|
|
1398
|
+
CODUX = "CODUX",
|
|
1399
|
+
/** Bobb - AI Design Creator. */
|
|
1400
|
+
MEDIA_DESIGN_CREATOR = "MEDIA_DESIGN_CREATOR"
|
|
1403
1401
|
}
|
|
1404
1402
|
/** Site transferred to another user. */
|
|
1405
1403
|
interface SiteTransferred {
|
|
@@ -1552,7 +1550,7 @@ interface Properties {
|
|
|
1552
1550
|
businessSchedule?: BusinessSchedule;
|
|
1553
1551
|
/** Supported languages of a site and the primary language. */
|
|
1554
1552
|
multilingual?: Multilingual;
|
|
1555
|
-
/** Cookie policy the
|
|
1553
|
+
/** Cookie policy the Wix user defined for their site (before the site visitor interacts with/limits it). */
|
|
1556
1554
|
consentPolicy?: ConsentPolicy;
|
|
1557
1555
|
/**
|
|
1558
1556
|
* Supported values: `FITNESS SERVICE`, `RESTAURANT`, `BLOG`, `STORE`, `EVENT`, `UNKNOWN`.
|
|
@@ -1560,9 +1558,9 @@ interface Properties {
|
|
|
1560
1558
|
* Site business type.
|
|
1561
1559
|
*/
|
|
1562
1560
|
businessConfig?: string | null;
|
|
1563
|
-
/** External site
|
|
1561
|
+
/** External site URL that uses Wix as its headless business solution. */
|
|
1564
1562
|
externalSiteUrl?: string | null;
|
|
1565
|
-
/** Track clicks analytics */
|
|
1563
|
+
/** Track clicks analytics. */
|
|
1566
1564
|
trackClicksAnalytics?: boolean;
|
|
1567
1565
|
}
|
|
1568
1566
|
interface Categories {
|
|
@@ -1606,8 +1604,7 @@ interface Address {
|
|
|
1606
1604
|
/**
|
|
1607
1605
|
* Extra information on displayed addresses.
|
|
1608
1606
|
* This is used for display purposes. Used to add additional data about the address, such as "In the passage".
|
|
1609
|
-
* Free text. In addition the user can state where
|
|
1610
|
-
* the address string.
|
|
1607
|
+
* Free text. In addition, the user can state where to display the additional description - before, after, or instead of the address string.
|
|
1611
1608
|
*/
|
|
1612
1609
|
interface AddressHint {
|
|
1613
1610
|
/** Extra text displayed next to, or instead of, the actual address. */
|
|
@@ -1899,6 +1896,58 @@ interface GiftCardsQueryResult extends QueryCursorResult$1 {
|
|
|
1899
1896
|
prev: () => Promise<GiftCardsQueryResult>;
|
|
1900
1897
|
}
|
|
1901
1898
|
interface GiftCardsQueryBuilder {
|
|
1899
|
+
/** @param propertyName - Property whose value is compared with `value`.
|
|
1900
|
+
* @param value - Value to compare against.
|
|
1901
|
+
* @documentationMaturity preview
|
|
1902
|
+
*/
|
|
1903
|
+
eq: (propertyName: '_id' | 'code' | 'initialValue' | 'balance' | 'expirationDate' | '_createdDate' | '_updatedDate', value: any) => GiftCardsQueryBuilder;
|
|
1904
|
+
/** @param propertyName - Property whose value is compared with `value`.
|
|
1905
|
+
* @param value - Value to compare against.
|
|
1906
|
+
* @documentationMaturity preview
|
|
1907
|
+
*/
|
|
1908
|
+
ne: (propertyName: '_id' | 'code' | 'initialValue' | 'balance' | 'expirationDate' | '_createdDate' | '_updatedDate', value: any) => GiftCardsQueryBuilder;
|
|
1909
|
+
/** @param propertyName - Property whose value is compared with `value`.
|
|
1910
|
+
* @param value - Value to compare against.
|
|
1911
|
+
* @documentationMaturity preview
|
|
1912
|
+
*/
|
|
1913
|
+
ge: (propertyName: 'expirationDate' | '_createdDate' | '_updatedDate', value: any) => GiftCardsQueryBuilder;
|
|
1914
|
+
/** @param propertyName - Property whose value is compared with `value`.
|
|
1915
|
+
* @param value - Value to compare against.
|
|
1916
|
+
* @documentationMaturity preview
|
|
1917
|
+
*/
|
|
1918
|
+
gt: (propertyName: 'expirationDate' | '_createdDate' | '_updatedDate', value: any) => GiftCardsQueryBuilder;
|
|
1919
|
+
/** @param propertyName - Property whose value is compared with `value`.
|
|
1920
|
+
* @param value - Value to compare against.
|
|
1921
|
+
* @documentationMaturity preview
|
|
1922
|
+
*/
|
|
1923
|
+
le: (propertyName: 'expirationDate' | '_createdDate' | '_updatedDate', value: any) => GiftCardsQueryBuilder;
|
|
1924
|
+
/** @param propertyName - Property whose value is compared with `value`.
|
|
1925
|
+
* @param value - Value to compare against.
|
|
1926
|
+
* @documentationMaturity preview
|
|
1927
|
+
*/
|
|
1928
|
+
lt: (propertyName: 'expirationDate' | '_createdDate' | '_updatedDate', value: any) => GiftCardsQueryBuilder;
|
|
1929
|
+
/** @param propertyName - Property whose value is compared with `string`.
|
|
1930
|
+
* @param string - String to compare against. Case-insensitive.
|
|
1931
|
+
* @documentationMaturity preview
|
|
1932
|
+
*/
|
|
1933
|
+
startsWith: (propertyName: '_id' | 'code', value: string) => GiftCardsQueryBuilder;
|
|
1934
|
+
/** @param propertyName - Property whose value is compared with `values`.
|
|
1935
|
+
* @param values - List of values to compare against.
|
|
1936
|
+
* @documentationMaturity preview
|
|
1937
|
+
*/
|
|
1938
|
+
hasSome: (propertyName: '_id' | 'code' | 'initialValue' | 'balance' | 'expirationDate' | '_createdDate' | '_updatedDate', value: any[]) => GiftCardsQueryBuilder;
|
|
1939
|
+
/** @documentationMaturity preview */
|
|
1940
|
+
in: (propertyName: '_id' | 'code' | 'initialValue' | 'balance' | 'expirationDate' | '_createdDate' | '_updatedDate', value: any) => GiftCardsQueryBuilder;
|
|
1941
|
+
/** @documentationMaturity preview */
|
|
1942
|
+
exists: (propertyName: '_id' | 'code' | 'initialValue' | 'balance' | 'expirationDate' | '_createdDate' | '_updatedDate', value: boolean) => GiftCardsQueryBuilder;
|
|
1943
|
+
/** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments.
|
|
1944
|
+
* @documentationMaturity preview
|
|
1945
|
+
*/
|
|
1946
|
+
ascending: (...propertyNames: Array<'_id' | 'code' | 'initialValue' | 'balance' | 'expirationDate' | '_createdDate' | '_updatedDate'>) => GiftCardsQueryBuilder;
|
|
1947
|
+
/** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments.
|
|
1948
|
+
* @documentationMaturity preview
|
|
1949
|
+
*/
|
|
1950
|
+
descending: (...propertyNames: Array<'_id' | 'code' | 'initialValue' | 'balance' | 'expirationDate' | '_createdDate' | '_updatedDate'>) => GiftCardsQueryBuilder;
|
|
1902
1951
|
/** @param limit - Number of items to return, which is also the `pageSize` of the results object.
|
|
1903
1952
|
* @documentationMaturity preview
|
|
1904
1953
|
*/
|
|
@@ -328,11 +328,7 @@ declare enum ScalarType$1 {
|
|
|
328
328
|
/** Minimum value */
|
|
329
329
|
MIN = "MIN",
|
|
330
330
|
/** Maximum value */
|
|
331
|
-
MAX = "MAX"
|
|
332
|
-
/** Sum of values */
|
|
333
|
-
SUM = "SUM",
|
|
334
|
-
/** Average of values */
|
|
335
|
-
AVG = "AVG"
|
|
331
|
+
MAX = "MAX"
|
|
336
332
|
}
|
|
337
333
|
interface ValueAggregation$1 extends ValueAggregationOptionsOneOf$1 {
|
|
338
334
|
/** Options for including missing values */
|
|
@@ -1072,11 +1068,7 @@ declare enum ScalarType {
|
|
|
1072
1068
|
/** Minimum value */
|
|
1073
1069
|
MIN = "MIN",
|
|
1074
1070
|
/** Maximum value */
|
|
1075
|
-
MAX = "MAX"
|
|
1076
|
-
/** Sum of values */
|
|
1077
|
-
SUM = "SUM",
|
|
1078
|
-
/** Average of values */
|
|
1079
|
-
AVG = "AVG"
|
|
1071
|
+
MAX = "MAX"
|
|
1080
1072
|
}
|
|
1081
1073
|
interface ValueAggregation extends ValueAggregationOptionsOneOf {
|
|
1082
1074
|
/** Options for including missing values */
|