@tagadapay/plugin-sdk 2.4.31 → 2.4.32

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.
@@ -194,25 +194,27 @@ export interface CustomerOrderSummary {
194
194
  metadata?: Record<string, any>;
195
195
  }
196
196
  export interface CustomerInfos {
197
- id: string;
198
- email: string | null;
199
- firstName: string | null;
200
- lastName: string | null;
201
- externalCustomerId: string | null;
202
- lastOrderId: string | null;
203
- accountId: string;
204
- storeId: string;
205
- billingAddress: CustomerAddress | null;
206
- shippingAddress: Omit<CustomerAddress, 'email'> | null;
207
- currency: string | null;
208
- locale: string | null;
209
- draft: boolean;
210
- acceptsMarketing: boolean;
211
- createdAt: string;
212
- updatedAt: string;
213
- metadata: Record<string, any>;
214
- device: any | null;
215
- orders: CustomerOrderSummary[];
216
- subscriptions: any[];
197
+ customer: {
198
+ id: string;
199
+ email: string | null;
200
+ firstName: string | null;
201
+ lastName: string | null;
202
+ externalCustomerId: string | null;
203
+ lastOrderId: string | null;
204
+ accountId: string;
205
+ storeId: string;
206
+ billingAddress: CustomerAddress | null;
207
+ shippingAddress: Omit<CustomerAddress, 'email'> | null;
208
+ currency: string | null;
209
+ locale: string | null;
210
+ draft: boolean;
211
+ acceptsMarketing: boolean;
212
+ createdAt: string;
213
+ updatedAt: string;
214
+ metadata: Record<string, any>;
215
+ device: any | null;
216
+ orders: CustomerOrderSummary[];
217
+ subscriptions: any[];
218
+ };
217
219
  promotionCodes: any[];
218
220
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tagadapay/plugin-sdk",
3
- "version": "2.4.31",
3
+ "version": "2.4.32",
4
4
  "description": "Modern React SDK for building Tagada Pay plugins",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",