orderiom-api-package 0.3.45 → 0.3.47

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.d.ts +33 -0
  2. package/package.json +2 -1
package/index.d.ts ADDED
@@ -0,0 +1,33 @@
1
+ export const enMsg: Object;
2
+ export const deMsg: Object;
3
+ export const install: any;
4
+ export const modules: Object;
5
+ export const $http: Object;
6
+
7
+ export interface AuthState{
8
+ publicToken: string | null,
9
+ privateToken: string | null,
10
+ expires_at: string | null,
11
+ user: {} | {
12
+ id: number
13
+ address: string | null
14
+ birth_date: string | null
15
+ city: string | null
16
+ comment: string | null
17
+ company: string | null
18
+ country: string | null
19
+ email: string | null
20
+ email_verified_at: string | null
21
+ house_number: string | null
22
+ mobile: string | null
23
+ name: string | null
24
+ origin_restaurant: number
25
+ postalCode: string | null
26
+ postal_code: string | null
27
+ type: string
28
+ }
29
+ restaurantInfo: Record<string, any>
30
+ email: string | null
31
+ fullAddress: Record<string, any>
32
+ userAddress: Record<string, any>[]
33
+ }
package/package.json CHANGED
@@ -1,8 +1,9 @@
1
1
  {
2
2
  "name": "orderiom-api-package",
3
- "version": "0.3.45",
3
+ "version": "0.3.47",
4
4
  "description": "This package will install all necessary API calls for every orderiom restaurant",
5
5
  "main": "index.js",
6
+ "types": "index.d.ts",
6
7
  "scripts": {
7
8
  "test": "echo \"Error: no test specified\" && exit 1"
8
9
  },