@cloudcommerce/types 2.36.6 → 2.36.8

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 +38 -38
  2. package/package.json +2 -2
package/index.ts CHANGED
@@ -174,39 +174,39 @@ type PaymentMethodFlag = 'pix'
174
174
  | 'diners'
175
175
  | 'discover';
176
176
 
177
- export type SettingsContent = {
178
- domain: string,
179
- name: string,
180
- description: string,
181
- logo: string,
182
- icon: string,
183
- favicon?: string,
184
- primaryColor: string,
185
- secondaryColor?: string,
186
- bgColor?: string,
187
- assetsPrefix?: string,
188
- email: string,
189
- phone: string,
190
- address: string,
191
- corporateName: string,
192
- docNumber: string,
193
- lang: string,
194
- currency: string,
195
- currencySymbol: string,
196
- countryCode: string,
197
- whatsapp?: string,
198
- instagram?: string,
199
- facebook?: string,
200
- twitter?: string,
201
- youtube?: string,
202
- tiktok?: string,
203
- pinterest?: string,
204
- threads?: string,
177
+ export interface SettingsContent {
178
+ domain: string;
179
+ name: string;
180
+ description: string;
181
+ logo: string;
182
+ icon: string;
183
+ favicon?: string;
184
+ primaryColor: string;
185
+ secondaryColor?: string;
186
+ bgColor?: string;
187
+ assetsPrefix?: string;
188
+ email: string;
189
+ phone: string;
190
+ address: string;
191
+ corporateName: string;
192
+ docNumber: string;
193
+ lang: string;
194
+ currency: string;
195
+ currencySymbol: string;
196
+ countryCode: string;
197
+ whatsapp?: string;
198
+ instagram?: string;
199
+ facebook?: string;
200
+ twitter?: string;
201
+ youtube?: string;
202
+ tiktok?: string;
203
+ pinterest?: string;
204
+ threads?: string;
205
205
  serviceLinks?: Array<{
206
206
  title: string,
207
207
  href: string,
208
- }>,
209
- paymentMethods?: PaymentMethodFlag[],
208
+ }>;
209
+ paymentMethods?: PaymentMethodFlag[];
210
210
  modules?: {
211
211
  list_payments?: {
212
212
  installments_option?: Partial<ListPaymentsResponse['installments_option']>,
@@ -223,11 +223,11 @@ export type SettingsContent = {
223
223
  apply_discount?: {
224
224
  available_extra_discount?: Partial<ApplyDiscountResponse['available_extra_discount']>,
225
225
  },
226
- },
227
- cartUrl?: string,
228
- checkoutUrl?: string,
229
- accountUrl?: string,
230
- ordersUrl?: string,
231
- favoritesUrl?: string,
232
- metafields?: Record<string, any>,
233
- };
226
+ };
227
+ cartUrl?: string;
228
+ checkoutUrl?: string;
229
+ accountUrl?: string;
230
+ ordersUrl?: string;
231
+ favoritesUrl?: string;
232
+ metafields?: Record<string, any>;
233
+ }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/types",
3
3
  "type": "module",
4
- "version": "2.36.6",
4
+ "version": "2.36.8",
5
5
  "description": "e-com.plus Cloud Commerce reusable type definitions",
6
6
  "main": "index.ts",
7
7
  "files": [
@@ -21,6 +21,6 @@
21
21
  },
22
22
  "homepage": "https://github.com/ecomplus/cloud-commerce/tree/main/packages/types#readme",
23
23
  "dependencies": {
24
- "@cloudcommerce/api": "2.36.6"
24
+ "@cloudcommerce/api": "2.36.8"
25
25
  }
26
26
  }