@geekapps/billing-fastify 0.9.0 → 0.9.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/dist/index.d.ts +12 -2
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -110,11 +110,21 @@ interface Customer {
110
110
  org_id: string;
111
111
  name: string;
112
112
  email: string;
113
+ tax_id: string | null;
114
+ phone: string | null;
115
+ address_line1: string | null;
116
+ address_line2: string | null;
117
+ address_city: string | null;
118
+ address_state: string | null;
119
+ address_postal_code: string | null;
120
+ address_country: string | null;
121
+ /** @deprecated Use `tax_id !== null` — mantido só para compatibilidade com clientes existentes. */
113
122
  has_tax_id: boolean;
123
+ /** @deprecated Use `phone !== null`. */
114
124
  has_phone: boolean;
125
+ /** @deprecated Use `address_line1 !== null`. */
115
126
  has_address: boolean;
116
- address_city: string | null;
117
- address_state: string | null;
127
+ provider_ref: string | null;
118
128
  created_at: string;
119
129
  updated_at: string;
120
130
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@geekapps/billing-fastify",
3
- "version": "0.9.0",
3
+ "version": "0.9.1",
4
4
  "description": "Geekapps Billing SDK for Fastify",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",