@artisan-commerce/types 0.14.0-canary.37 → 0.14.0-canary.4
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/CHANGELOG.md +338 -0
- package/build/index.d.ts +26 -0
- package/build/index.js +40 -0
- package/build/index.js.map +1 -0
- package/build/types/account.types.d.ts +17 -0
- package/build/types/account.types.js +4 -0
- package/build/types/account.types.js.map +1 -0
- package/build/types/app.types.d.ts +153 -0
- package/build/types/app.types.js +4 -0
- package/build/types/app.types.js.map +1 -0
- package/build/types/artisnDB.types.d.ts +29 -0
- package/build/types/artisnDB.types.js +4 -0
- package/build/types/artisnDB.types.js.map +1 -0
- package/build/types/banner.types.d.ts +97 -0
- package/build/types/banner.types.js +4 -0
- package/build/types/banner.types.js.map +1 -0
- package/build/types/billingData.types.d.ts +39 -0
- package/build/types/billingData.types.js +4 -0
- package/build/types/billingData.types.js.map +1 -0
- package/build/types/catalogue.types.d.ts +16 -0
- package/build/types/catalogue.types.js +4 -0
- package/build/types/catalogue.types.js.map +1 -0
- package/build/types/category.types.d.ts +33 -0
- package/build/types/category.types.js +4 -0
- package/build/types/category.types.js.map +1 -0
- package/build/types/common.types.d.ts +36 -0
- package/build/types/common.types.js +4 -0
- package/build/types/common.types.js.map +1 -0
- package/build/types/country.types.d.ts +59 -0
- package/build/types/country.types.js +4 -0
- package/build/types/country.types.js.map +1 -0
- package/build/types/coupon.types.d.ts +112 -0
- package/build/types/coupon.types.js +4 -0
- package/build/types/coupon.types.js.map +1 -0
- package/build/types/currency.types.d.ts +7 -0
- package/build/types/currency.types.js +4 -0
- package/build/types/currency.types.js.map +1 -0
- package/build/types/fulfillment.types.d.ts +218 -0
- package/build/types/fulfillment.types.js +4 -0
- package/build/types/fulfillment.types.js.map +1 -0
- package/build/types/http.types.d.ts +64 -0
- package/build/types/http.types.js +4 -0
- package/build/types/http.types.js.map +1 -0
- package/build/types/image.types.d.ts +82 -0
- package/build/types/image.types.js +4 -0
- package/build/types/image.types.js.map +1 -0
- package/build/types/livingPlace.types.d.ts +92 -0
- package/build/types/livingPlace.types.js +4 -0
- package/build/types/livingPlace.types.js.map +1 -0
- package/build/types/notification.types.d.ts +21 -0
- package/build/types/notification.types.js +4 -0
- package/build/types/notification.types.js.map +1 -0
- package/build/types/order.types.d.ts +157 -0
- package/build/types/order.types.js +3 -0
- package/build/types/order.types.js.map +1 -0
- package/build/types/payment.types.d.ts +97 -0
- package/build/types/payment.types.js +4 -0
- package/build/types/payment.types.js.map +1 -0
- package/build/types/product.types.d.ts +299 -0
- package/build/types/product.types.js +4 -0
- package/build/types/product.types.js.map +1 -0
- package/build/types/settings.types.d.ts +23 -0
- package/build/types/settings.types.js +4 -0
- package/build/types/settings.types.js.map +1 -0
- package/build/types/shippingAddress.types.d.ts +73 -0
- package/build/types/shippingAddress.types.js +4 -0
- package/build/types/shippingAddress.types.js.map +1 -0
- package/build/types/shippingCost.types.d.ts +54 -0
- package/build/types/shippingCost.types.js +4 -0
- package/build/types/shippingCost.types.js.map +1 -0
- package/build/types/shoppingCart.types.d.ts +124 -0
- package/build/types/shoppingCart.types.js +4 -0
- package/build/types/shoppingCart.types.js.map +1 -0
- package/build/types/store.types.d.ts +198 -0
- package/build/types/store.types.js +4 -0
- package/build/types/store.types.js.map +1 -0
- package/build/types/user.types.d.ts +115 -0
- package/build/types/user.types.js +4 -0
- package/build/types/user.types.js.map +1 -0
- package/build/types/vendor.types.d.ts +23 -0
- package/build/types/vendor.types.js +3 -0
- package/build/types/vendor.types.js.map +1 -0
- package/build/vendors.d.ts +1 -0
- package/build/vendors.js +4 -0
- package/build/vendors.js.map +1 -0
- package/package.json +26 -27
- package/dist/bundle.d.ts +0 -3477
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
import { CDNImage } from "./image.types";
|
|
2
|
+
/**
|
|
3
|
+
* Representation of a Commerce Banner.
|
|
4
|
+
*
|
|
5
|
+
* @interface Banner
|
|
6
|
+
* @since 0.5.14
|
|
7
|
+
*/
|
|
8
|
+
export interface Banner {
|
|
9
|
+
/** Banner category id */
|
|
10
|
+
banner_category_id: number;
|
|
11
|
+
/** Banner description */
|
|
12
|
+
banner_description: string;
|
|
13
|
+
/** Banner qr code */
|
|
14
|
+
banner_qr_code: string;
|
|
15
|
+
/** Banner title */
|
|
16
|
+
banner_title: string;
|
|
17
|
+
/** Banner type, see {@link BannerType} */
|
|
18
|
+
banner_type: BannerType;
|
|
19
|
+
/** Banner image url */
|
|
20
|
+
banner_url: string | null;
|
|
21
|
+
/** Banner's benefits */
|
|
22
|
+
benefits: null;
|
|
23
|
+
/** Banner category id */
|
|
24
|
+
category_id: number;
|
|
25
|
+
/** Banner category name */
|
|
26
|
+
category_name: string;
|
|
27
|
+
/** Banner channel's id */
|
|
28
|
+
channel_id: number;
|
|
29
|
+
/** Banner coupon's code */
|
|
30
|
+
coupon: null;
|
|
31
|
+
/** Banner coupon's id */
|
|
32
|
+
coupon_id: string | null;
|
|
33
|
+
/** The base 64 image value, see {@link CDNImage} */
|
|
34
|
+
image_base64: CDNImage["base64"];
|
|
35
|
+
/** The bucket where the image is saved */
|
|
36
|
+
image_bucket: string | null;
|
|
37
|
+
/** he cloud where the banner is saved, see {@link CDNImage} */
|
|
38
|
+
image_cloud_front_url: CDNImage["cloudFrontUrl"];
|
|
39
|
+
/** Banner image's filename */
|
|
40
|
+
image_file_name: string;
|
|
41
|
+
/** The directory where the banner image is saved */
|
|
42
|
+
image_key: string;
|
|
43
|
+
/** The url where the banner image is saved */
|
|
44
|
+
image_url: string;
|
|
45
|
+
/** An array of banner images, see {@link BannerImage} */
|
|
46
|
+
images: BannerImage[];
|
|
47
|
+
/** Banner product's id */
|
|
48
|
+
product_id: null;
|
|
49
|
+
/** Banner product's name */
|
|
50
|
+
product_name: null;
|
|
51
|
+
/** Banner's section */
|
|
52
|
+
section: null;
|
|
53
|
+
/** Banner's scope, see {@link BannerScope} */
|
|
54
|
+
scope: BannerScope;
|
|
55
|
+
/** Banner stores array */
|
|
56
|
+
stores: unknown[];
|
|
57
|
+
/** Banner vendor's id */
|
|
58
|
+
vendor_id: number;
|
|
59
|
+
/** Banner vendor's name */
|
|
60
|
+
vendor_name: string;
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* The possible values of the banner's type.
|
|
64
|
+
*
|
|
65
|
+
* @typedef BannerType
|
|
66
|
+
* @since 0.5.14
|
|
67
|
+
*/
|
|
68
|
+
export declare type BannerType = "INFO" | "URL" | "PRODUCT" | "COUPON";
|
|
69
|
+
/**
|
|
70
|
+
* The possible values of the banner's scope.
|
|
71
|
+
*
|
|
72
|
+
* @typedef BannerScope
|
|
73
|
+
* @since 0.5.14
|
|
74
|
+
*/
|
|
75
|
+
export declare type BannerScope = "WEB" | "GLOBAL" | "APP";
|
|
76
|
+
/**
|
|
77
|
+
* Representation of a Banner image.
|
|
78
|
+
*
|
|
79
|
+
* @interface BannerImage
|
|
80
|
+
* @since 0.5.14
|
|
81
|
+
*/
|
|
82
|
+
export interface BannerImage {
|
|
83
|
+
/** Banner's id */
|
|
84
|
+
id: number;
|
|
85
|
+
/** Banner image's filename */
|
|
86
|
+
file_name: string;
|
|
87
|
+
/** Banner image's filename */
|
|
88
|
+
image_file_name: string;
|
|
89
|
+
/** Banner image's directory */
|
|
90
|
+
image_key: string;
|
|
91
|
+
/** The url where the banner image is saved */
|
|
92
|
+
image_url: string;
|
|
93
|
+
/** Banner's position inside the banner images array */
|
|
94
|
+
position: number;
|
|
95
|
+
/** The url where the banner image is saved */
|
|
96
|
+
url: string;
|
|
97
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"banner.types.js","sourceRoot":"","sources":["../../src/types/banner.types.ts"],"names":[],"mappings":";AAAA,8BAA8B"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { CountrySummary } from "./common.types";
|
|
2
|
+
import { DocumentType } from "./common.types";
|
|
3
|
+
/**
|
|
4
|
+
* Representation of a Commerce Billing Data.
|
|
5
|
+
*
|
|
6
|
+
* @interface BillingData
|
|
7
|
+
* @since 0.5.14
|
|
8
|
+
*/
|
|
9
|
+
export interface BaseBillingData {
|
|
10
|
+
/** Billing's nickname */
|
|
11
|
+
nickname: string;
|
|
12
|
+
/** Billing's associated user complete name */
|
|
13
|
+
name: string;
|
|
14
|
+
/** Billing's associated document type, see {@link DocumentType} */
|
|
15
|
+
documentType: DocumentType;
|
|
16
|
+
/** Billing's associated document */
|
|
17
|
+
document: string;
|
|
18
|
+
/** Billing's associated user address */
|
|
19
|
+
address: string;
|
|
20
|
+
/** Billing's associated user phone without country calling code */
|
|
21
|
+
phone: string;
|
|
22
|
+
/** Billing's associated user email */
|
|
23
|
+
email: string;
|
|
24
|
+
/** Whether or not the billing is default */
|
|
25
|
+
default: boolean;
|
|
26
|
+
/** It contains country id and country name, see {@link CountrySummary} */
|
|
27
|
+
country: CountrySummary;
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* Representation of a billing data saved on a database.
|
|
31
|
+
*
|
|
32
|
+
* @interface BillingData
|
|
33
|
+
* @since 0.5.14
|
|
34
|
+
* @extends {{@link BaseBillingData}
|
|
35
|
+
*/
|
|
36
|
+
export interface BillingData extends BaseBillingData {
|
|
37
|
+
/** Billing's auto generated id */
|
|
38
|
+
id: number;
|
|
39
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"billingData.types.js","sourceRoot":"","sources":["../../src/types/billingData.types.ts"],"names":[],"mappings":";AAAA,oCAAoC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Representation of a Commerce Catalogue.
|
|
3
|
+
*
|
|
4
|
+
* @interface Catalogue
|
|
5
|
+
* @since 0.5.14
|
|
6
|
+
*/
|
|
7
|
+
export interface Catalogue {
|
|
8
|
+
/** Catalogue's id */
|
|
9
|
+
catalogueId: string;
|
|
10
|
+
/** Catalogue's name */
|
|
11
|
+
name: string;
|
|
12
|
+
/** Whether or not the catalogue is active */
|
|
13
|
+
active: boolean;
|
|
14
|
+
/** Catalogue's friendly name to use on front end */
|
|
15
|
+
friendlyName?: string;
|
|
16
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"catalogue.types.js","sourceRoot":"","sources":["../../src/types/catalogue.types.ts"],"names":[],"mappings":";AAAA,iCAAiC"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { CDNImage } from "./image.types";
|
|
2
|
+
import { BaseProduct } from "./product.types";
|
|
3
|
+
/**
|
|
4
|
+
* Representation of a Commerce Category.
|
|
5
|
+
*
|
|
6
|
+
* @interface Category
|
|
7
|
+
* @since 0.5.14
|
|
8
|
+
*/
|
|
9
|
+
export interface Category {
|
|
10
|
+
/** Category's id */
|
|
11
|
+
categoryId: number;
|
|
12
|
+
/** Category's name */
|
|
13
|
+
name: string;
|
|
14
|
+
/** Category image's array, see {@link CDNImage} */
|
|
15
|
+
images: CDNImage[];
|
|
16
|
+
/** Whether or not to display the category */
|
|
17
|
+
displayInMenu: boolean;
|
|
18
|
+
/** Whether or not the category should be reloaded */
|
|
19
|
+
reload: boolean;
|
|
20
|
+
/** Whether or not the category has subcategories */
|
|
21
|
+
subcategories: boolean;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Representation of a category which contains several base products.
|
|
25
|
+
*
|
|
26
|
+
* @interface CategoryWithProducts
|
|
27
|
+
* @since 0.5.14
|
|
28
|
+
* @extends {{@link Category}
|
|
29
|
+
*/
|
|
30
|
+
export interface CategoryWithProducts extends Category {
|
|
31
|
+
/** Array of base products associated with a category, see {@link BaseProduct} */
|
|
32
|
+
products: BaseProduct[];
|
|
33
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"category.types.js","sourceRoot":"","sources":["../../src/types/category.types.ts"],"names":[],"mappings":";AAAA,kCAAkC"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Representation of a generic object.
|
|
3
|
+
*
|
|
4
|
+
* @interface Objectify<T>
|
|
5
|
+
* @since 0.5.14
|
|
6
|
+
* @property {T} [key: string] object key
|
|
7
|
+
*/
|
|
8
|
+
export interface Objectify<T> {
|
|
9
|
+
[key: string]: T;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* The possible values of a document type.
|
|
13
|
+
*
|
|
14
|
+
* @typedef DocumentType
|
|
15
|
+
* @since 0.5.14
|
|
16
|
+
*/
|
|
17
|
+
export declare type DocumentType = "CI" | "RUC" | "PASSPORT";
|
|
18
|
+
/**
|
|
19
|
+
* Representation of the country's summary.
|
|
20
|
+
*
|
|
21
|
+
* @interface CountrySummary
|
|
22
|
+
* @since 0.5.14
|
|
23
|
+
*/
|
|
24
|
+
export interface CountrySummary {
|
|
25
|
+
/** Country's id */
|
|
26
|
+
id: number;
|
|
27
|
+
/** Country's name */
|
|
28
|
+
name: string;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* The possible values of a week day.
|
|
32
|
+
*
|
|
33
|
+
* @typedef BaseWeekDay
|
|
34
|
+
* @since 0.5.14
|
|
35
|
+
*/
|
|
36
|
+
export declare type BaseWeekDay = "MONDAY" | "TUESDAY" | "WEDNESDAY" | "THURSDAY" | "FRIDAY" | "SATURDAY" | "SUNDAY";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"common.types.js","sourceRoot":"","sources":["../../src/types/common.types.ts"],"names":[],"mappings":";AAAA,yCAAyC"}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Representation of a Commerce Country.
|
|
3
|
+
*
|
|
4
|
+
* @interface Country
|
|
5
|
+
* @since 0.5.14
|
|
6
|
+
*/
|
|
7
|
+
export interface Country {
|
|
8
|
+
/** Country's id */
|
|
9
|
+
countryId: string;
|
|
10
|
+
/** Country's name */
|
|
11
|
+
name: string;
|
|
12
|
+
/** Country ISO code, see {@link CountryCode} */
|
|
13
|
+
code: CountryCode;
|
|
14
|
+
/** Whether or not the country is active */
|
|
15
|
+
active: boolean;
|
|
16
|
+
/**
|
|
17
|
+
* Object which contains information about country's currency,
|
|
18
|
+
* see {@link CountryCurrency}
|
|
19
|
+
*/
|
|
20
|
+
currency: CountryCurrency;
|
|
21
|
+
/** Array of taxes usually applied on the country, see {@link CountryTax} */
|
|
22
|
+
taxes: CountryTax[];
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Representation of a country's currency.
|
|
26
|
+
*
|
|
27
|
+
* @interface CountryCurrency
|
|
28
|
+
* @since 0.5.14
|
|
29
|
+
*/
|
|
30
|
+
export interface CountryCurrency {
|
|
31
|
+
/** Currency's id */
|
|
32
|
+
currencyId: string;
|
|
33
|
+
/** Currency's name */
|
|
34
|
+
name: string;
|
|
35
|
+
/** Currency's symbol */
|
|
36
|
+
sign: string;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Representation of a country's tax.
|
|
40
|
+
*
|
|
41
|
+
* @interface CountryTax
|
|
42
|
+
* @since 0.5.14
|
|
43
|
+
*/
|
|
44
|
+
export interface CountryTax {
|
|
45
|
+
/** Tax name */
|
|
46
|
+
tax: string;
|
|
47
|
+
/** Value added tax rate */
|
|
48
|
+
vatRate: string;
|
|
49
|
+
/** Tax percentage */
|
|
50
|
+
percentage: number;
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* List of country codes currently supported.
|
|
54
|
+
*
|
|
55
|
+
* @typedef CountryCode
|
|
56
|
+
* @since 0.1.0
|
|
57
|
+
* @see https://www.nationsonline.org/oneworld/country_code_list.htm for reference
|
|
58
|
+
*/
|
|
59
|
+
export declare type CountryCode = "AR" | "BO" | "BR" | "CL" | "CO" | "EC" | "PY" | "PE" | "UY" | "VE" | "US";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"country.types.js","sourceRoot":"","sources":["../../src/types/country.types.ts"],"names":[],"mappings":";AAAA,+BAA+B"}
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
import { ArtisnDBCollectionReference } from "./artisnDB.types";
|
|
2
|
+
import { ArtisnDBQueryDocumentSnapshot } from "./artisnDB.types";
|
|
3
|
+
import { ArtisnDBDocumentData } from "./artisnDB.types";
|
|
4
|
+
import { CDNImage } from "./image.types";
|
|
5
|
+
/**
|
|
6
|
+
* Wallet user information.
|
|
7
|
+
*
|
|
8
|
+
* @interface Wallet
|
|
9
|
+
* @since 0.5.14
|
|
10
|
+
*/
|
|
11
|
+
export interface Wallet {
|
|
12
|
+
/** {@link Benefit}'s array from firestore user wallet */
|
|
13
|
+
benefits: Benefit[];
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* Benefit information.
|
|
17
|
+
*
|
|
18
|
+
* @interface Benefit
|
|
19
|
+
* @since 0.5.14
|
|
20
|
+
*/
|
|
21
|
+
export interface Benefit {
|
|
22
|
+
/** The user wallet id */
|
|
23
|
+
hash: string;
|
|
24
|
+
/** The benefit awards, see {@link Award} */
|
|
25
|
+
award: Award;
|
|
26
|
+
/** Benefit id */
|
|
27
|
+
benefitId: number;
|
|
28
|
+
/** Benefit wallet id */
|
|
29
|
+
benefitWalletId: number;
|
|
30
|
+
/** Benefit code in back-end */
|
|
31
|
+
code: null;
|
|
32
|
+
/** Combined */
|
|
33
|
+
combined: string;
|
|
34
|
+
/** Benefit creation date */
|
|
35
|
+
createdAt: string;
|
|
36
|
+
/** Benefit description */
|
|
37
|
+
description: string;
|
|
38
|
+
/** Benefit discount percentage */
|
|
39
|
+
discountPercentage: number;
|
|
40
|
+
/** Benefit expiration date */
|
|
41
|
+
expirationDate: string;
|
|
42
|
+
/** External benefit id */
|
|
43
|
+
externalId: null;
|
|
44
|
+
/** Benefit images, see {@link CDNImage} */
|
|
45
|
+
image: CDNImage[];
|
|
46
|
+
/** The award limit */
|
|
47
|
+
limitAward: null;
|
|
48
|
+
/** The benefit limit */
|
|
49
|
+
limitBenefit: number;
|
|
50
|
+
/** The logic operator of the benefit */
|
|
51
|
+
logicOperator: string;
|
|
52
|
+
/** Benefit stock */
|
|
53
|
+
quantity: number;
|
|
54
|
+
/** The rules of the benefit */
|
|
55
|
+
rules: any[];
|
|
56
|
+
/** The benefit title */
|
|
57
|
+
title: string;
|
|
58
|
+
/** Benefit type, see {@link BenefitTypes} */
|
|
59
|
+
type: BenefitTypes;
|
|
60
|
+
/** Benefit update date */
|
|
61
|
+
updatedAt: string;
|
|
62
|
+
/** The channel id of the benefit */
|
|
63
|
+
channelId: number;
|
|
64
|
+
/** The vendor id of the benefit */
|
|
65
|
+
vendorId: number;
|
|
66
|
+
/** The account id of the benefit */
|
|
67
|
+
accountId: number;
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* Award information.
|
|
71
|
+
*
|
|
72
|
+
* @interface Award
|
|
73
|
+
* @since 0.5.14
|
|
74
|
+
*/
|
|
75
|
+
export interface Award {
|
|
76
|
+
/** The id of the award */
|
|
77
|
+
id: number;
|
|
78
|
+
/** The id of the benefit */
|
|
79
|
+
benefitId: number;
|
|
80
|
+
/** Benefit discount percentage */
|
|
81
|
+
discountPercentage: number;
|
|
82
|
+
/** Benefit discount value */
|
|
83
|
+
discountValue: null;
|
|
84
|
+
}
|
|
85
|
+
/**
|
|
86
|
+
* Applied benefit array in shopping cart.
|
|
87
|
+
*
|
|
88
|
+
* @typedef ShoppingCartBenefits
|
|
89
|
+
* @since 0.5.14
|
|
90
|
+
*/
|
|
91
|
+
export declare type ShoppingCartBenefits = Benefit[];
|
|
92
|
+
/**
|
|
93
|
+
* A benefit DB node from a user.
|
|
94
|
+
*
|
|
95
|
+
* @typedef BenefitsByUserNode
|
|
96
|
+
* @since 0.5.14
|
|
97
|
+
*/
|
|
98
|
+
export declare type BenefitsByUserNode = ArtisnDBQueryDocumentSnapshot<ArtisnDBDocumentData>;
|
|
99
|
+
/**
|
|
100
|
+
* The complete collection of benefits DB nodes from a user.
|
|
101
|
+
*
|
|
102
|
+
* @typedef BenefitsByUserNodes
|
|
103
|
+
* @since 0.5.14
|
|
104
|
+
*/
|
|
105
|
+
export declare type BenefitsByUserNodes = ArtisnDBCollectionReference<ArtisnDBDocumentData>;
|
|
106
|
+
/**
|
|
107
|
+
* The possible values of the benefit type.
|
|
108
|
+
*
|
|
109
|
+
* @typedef BenefitTypes
|
|
110
|
+
* @since 0.5.14
|
|
111
|
+
*/
|
|
112
|
+
export declare type BenefitTypes = "ALTER_DELIVERY" | "PRODUCT" | "DISCOUNT";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"coupon.types.js","sourceRoot":"","sources":["../../src/types/coupon.types.ts"],"names":[],"mappings":";AAAA,+BAA+B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"currency.types.js","sourceRoot":"","sources":["../../src/types/currency.types.ts"],"names":[],"mappings":";AAAA,gCAAgC"}
|