@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.
Files changed (2) hide show
  1. package/index.ts +15 -14
  2. 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
- primary_color: string,
101
- secondary_color?: string,
102
- bg_color?: string,
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
- corporate_name: string,
107
- doc_number: string,
107
+ corporateName: string,
108
+ docNumber: string,
108
109
  lang: string,
109
110
  currency: string,
110
- currency_symbol: string,
111
- country_code: string,
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
- service_links?: Array<{
121
+ serviceLinks?: Array<{
121
122
  title: string,
122
123
  href: string,
123
124
  }>,
124
- payment_methods?: PaymentMethodFlag[],
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
- cart_url?: string,
143
- checkout_url?: string,
144
- account_url?: string,
145
- orders_url?: string,
146
- favorites_url?: string,
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.27.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.27.0"
19
+ "@cloudcommerce/api": "0.28.1"
20
20
  }
21
21
  }