@cloudcommerce/types 0.27.0 → 0.28.1
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/index.ts +15 -14
- package/package.json +2 -2
package/index.ts
CHANGED
|
@@ -97,18 +97,19 @@ type SettingsContent = {
|
|
|
97
97
|
description: string,
|
|
98
98
|
logo: string,
|
|
99
99
|
icon: string,
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
100
|
+
primaryColor: string,
|
|
101
|
+
secondaryColor?: string,
|
|
102
|
+
bgColor?: string,
|
|
103
|
+
assetsPrefix?: string,
|
|
103
104
|
email: string,
|
|
104
105
|
phone: string,
|
|
105
106
|
address: string,
|
|
106
|
-
|
|
107
|
-
|
|
107
|
+
corporateName: string,
|
|
108
|
+
docNumber: string,
|
|
108
109
|
lang: string,
|
|
109
110
|
currency: string,
|
|
110
|
-
|
|
111
|
-
|
|
111
|
+
currencySymbol: string,
|
|
112
|
+
countryCode: string,
|
|
112
113
|
whatsapp?: string,
|
|
113
114
|
instagram?: string,
|
|
114
115
|
facebook?: string,
|
|
@@ -117,11 +118,11 @@ type SettingsContent = {
|
|
|
117
118
|
tiktok?: string,
|
|
118
119
|
pinterest?: string,
|
|
119
120
|
threads?: string,
|
|
120
|
-
|
|
121
|
+
serviceLinks?: Array<{
|
|
121
122
|
title: string,
|
|
122
123
|
href: string,
|
|
123
124
|
}>,
|
|
124
|
-
|
|
125
|
+
paymentMethods?: PaymentMethodFlag[],
|
|
125
126
|
modules?: {
|
|
126
127
|
list_payments?: {
|
|
127
128
|
installments_option?: Partial<ListPaymentsResponse['installments_option']>,
|
|
@@ -139,11 +140,11 @@ type SettingsContent = {
|
|
|
139
140
|
available_extra_discount?: Partial<ApplyDiscountResponse['available_extra_discount']>,
|
|
140
141
|
},
|
|
141
142
|
},
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
143
|
+
cartUrl?: string,
|
|
144
|
+
checkoutUrl?: string,
|
|
145
|
+
accountUrl?: string,
|
|
146
|
+
ordersUrl?: string,
|
|
147
|
+
favoritesUrl?: string,
|
|
147
148
|
metafields?: Record<string, any>,
|
|
148
149
|
};
|
|
149
150
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cloudcommerce/types",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.28.1",
|
|
5
5
|
"description": "E-Com Plus Cloud Commerce reusable type definitions",
|
|
6
6
|
"main": "index.ts",
|
|
7
7
|
"repository": {
|
|
@@ -16,6 +16,6 @@
|
|
|
16
16
|
},
|
|
17
17
|
"homepage": "https://github.com/ecomplus/cloud-commerce/tree/main/packages/types#readme",
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"@cloudcommerce/api": "0.
|
|
19
|
+
"@cloudcommerce/api": "0.28.1"
|
|
20
20
|
}
|
|
21
21
|
}
|