@onylab/common-api 2.1.35 → 2.1.37

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.
@@ -228,10 +228,19 @@ declare module "api/hubrise/model/address/HubriseAddressContract" {
228
228
  longitude?: string;
229
229
  }
230
230
  }
231
+ declare module "api/hubrise/model/common/HubriseCustomFieldsContract" {
232
+ export interface HubriseCustomFieldsContract {
233
+ [key: string]: number | string;
234
+ }
235
+ }
231
236
  declare module "api/hubrise/model/customer/HubriseCustomerContract" {
232
237
  import { HubriseAddressContract } from "api/hubrise/model/address/HubriseAddressContract";
238
+ import { HubriseCustomFieldsContract } from "api/hubrise/model/common/HubriseCustomFieldsContract";
233
239
  export interface HubriseCustomerContract extends HubriseAddressContract {
234
240
  id?: string;
241
+ customer_list_id?: string;
242
+ anonymised?: boolean;
243
+ private_ref?: string;
235
244
  first_name?: string;
236
245
  last_name?: string;
237
246
  gender?: string;
@@ -243,6 +252,18 @@ declare module "api/hubrise/model/customer/HubriseCustomerContract" {
243
252
  delivery_notes?: string;
244
253
  sms_marketing?: boolean;
245
254
  email_marketing?: boolean;
255
+ nb_orders?: number;
256
+ order_total?: string;
257
+ loyalty_cards?: {
258
+ id: string;
259
+ ref: string;
260
+ name: string;
261
+ balance: string;
262
+ }[];
263
+ custom_fields?: HubriseCustomFieldsContract;
264
+ created_at?: string;
265
+ first_order_date?: string;
266
+ last_order_date?: string;
246
267
  }
247
268
  }
248
269
  declare module "api/hubrise/model/order/HubriseOrderOptionContract" {
@@ -1120,11 +1141,6 @@ declare module "api/hubrise/model/location/HubriseOrderAcceptanceContract" {
1120
1141
  reason?: string;
1121
1142
  }
1122
1143
  }
1123
- declare module "api/hubrise/model/common/HubriseCustomFieldsContract" {
1124
- export interface HubriseCustomFieldsContract {
1125
- [key: string]: number | string;
1126
- }
1127
- }
1128
1144
  declare module "api/hubrise/model/location/HubriseLocationContract" {
1129
1145
  import { HubriseOpeningHoursContract } from "api/hubrise/model/location/HubriseOpeningHoursContract";
1130
1146
  import { HubriseAccountContract } from "api/hubrise/model/account/HubriseAccountContract";
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "main": "dist/common-api.node.min.js",
5
5
  "browser": "dist/common-api.web.min.js",
6
6
  "types": "dist/common-api.d.ts",
7
- "version": "2.1.35",
7
+ "version": "2.1.37",
8
8
  "author": "Paul M.",
9
9
  "license": "NO LICENSE",
10
10
  "engines": {