@cloudcommerce/types 0.26.7 → 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.
Files changed (2) hide show
  1. package/index.ts +14 -14
  2. 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
- primary_color: string,
101
- secondary_color?: string,
102
- bg_color?: string,
100
+ primaryColor: string,
101
+ secondaryColor?: string,
102
+ bgColor?: string,
103
103
  email: string,
104
104
  phone: string,
105
105
  address: string,
106
- corporate_name: string,
107
- doc_number: string,
106
+ corporateName: string,
107
+ docNumber: string,
108
108
  lang: string,
109
109
  currency: string,
110
- currency_symbol: string,
111
- country_code: string,
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
- service_links?: Array<{
120
+ serviceLinks?: Array<{
121
121
  title: string,
122
122
  href: string,
123
123
  }>,
124
- payment_methods?: PaymentMethodFlag[],
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
- cart_url?: string,
143
- checkout_url?: string,
144
- account_url?: string,
145
- orders_url?: string,
146
- favorites_url?: string,
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.26.7",
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.26.7"
19
+ "@cloudcommerce/api": "0.28.0"
20
20
  }
21
21
  }