@cloudcommerce/types 0.23.3 → 0.24.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 +16 -0
  2. package/package.json +2 -2
package/index.ts CHANGED
@@ -81,6 +81,16 @@ type AppModuleBody = {
81
81
  application: Applications,
82
82
  };
83
83
 
84
+ type PaymentMethodFlag = 'pix'
85
+ | 'visa'
86
+ | 'mastercard'
87
+ | 'elo'
88
+ | 'amex'
89
+ | 'hipercard'
90
+ | 'boleto'
91
+ | 'diners'
92
+ | 'discover';
93
+
84
94
  type SettingsContent = {
85
95
  domain: string,
86
96
  name: string,
@@ -106,6 +116,12 @@ type SettingsContent = {
106
116
  youtube?: string,
107
117
  tiktok?: string,
108
118
  pinterest?: string,
119
+ threads?: string,
120
+ service_links?: Array<{
121
+ title: string,
122
+ href: string,
123
+ }>,
124
+ payment_methods?: PaymentMethodFlag[],
109
125
  modules?: {
110
126
  list_payments?: {
111
127
  installments_option?: Partial<ListPaymentsResponse['installments_option']>,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/types",
3
3
  "type": "module",
4
- "version": "0.23.3",
4
+ "version": "0.24.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.23.3"
19
+ "@cloudcommerce/api": "0.24.1"
20
20
  }
21
21
  }