@cloudcommerce/types 0.27.0 → 0.28.0
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 +14 -14
- package/package.json +2 -2
package/index.ts
CHANGED
|
@@ -97,18 +97,18 @@ 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
103
|
email: string,
|
|
104
104
|
phone: string,
|
|
105
105
|
address: string,
|
|
106
|
-
|
|
107
|
-
|
|
106
|
+
corporateName: string,
|
|
107
|
+
docNumber: string,
|
|
108
108
|
lang: string,
|
|
109
109
|
currency: string,
|
|
110
|
-
|
|
111
|
-
|
|
110
|
+
currencySymbol: string,
|
|
111
|
+
countryCode: string,
|
|
112
112
|
whatsapp?: string,
|
|
113
113
|
instagram?: string,
|
|
114
114
|
facebook?: string,
|
|
@@ -117,11 +117,11 @@ type SettingsContent = {
|
|
|
117
117
|
tiktok?: string,
|
|
118
118
|
pinterest?: string,
|
|
119
119
|
threads?: string,
|
|
120
|
-
|
|
120
|
+
serviceLinks?: Array<{
|
|
121
121
|
title: string,
|
|
122
122
|
href: string,
|
|
123
123
|
}>,
|
|
124
|
-
|
|
124
|
+
paymentMethods?: PaymentMethodFlag[],
|
|
125
125
|
modules?: {
|
|
126
126
|
list_payments?: {
|
|
127
127
|
installments_option?: Partial<ListPaymentsResponse['installments_option']>,
|
|
@@ -139,11 +139,11 @@ type SettingsContent = {
|
|
|
139
139
|
available_extra_discount?: Partial<ApplyDiscountResponse['available_extra_discount']>,
|
|
140
140
|
},
|
|
141
141
|
},
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
142
|
+
cartUrl?: string,
|
|
143
|
+
checkoutUrl?: string,
|
|
144
|
+
accountUrl?: string,
|
|
145
|
+
ordersUrl?: string,
|
|
146
|
+
favoritesUrl?: string,
|
|
147
147
|
metafields?: Record<string, any>,
|
|
148
148
|
};
|
|
149
149
|
|
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.0",
|
|
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.0"
|
|
20
20
|
}
|
|
21
21
|
}
|