@zennify/sdk-js 1.24.1 → 1.24.3

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zennify/sdk-js",
3
- "version": "1.24.1",
3
+ "version": "1.24.3",
4
4
  "description": "A simple package to work with https://api.zennify.app",
5
5
  "main": "dist/main.js",
6
6
  "keywords": [],
@@ -14,8 +14,8 @@ export interface Product {
14
14
  created_at: string,
15
15
  store_id: number,
16
16
  owner_id: number,
17
- icon_id?: null | string,
18
- banner_id?: null | string,
17
+ icon_id?: string | null,
18
+ banner_id?: string | null,
19
19
  value: number,
20
20
  description: {
21
21
  short: null | string,
@@ -6,8 +6,8 @@ export interface PartialStore {
6
6
  id: number,
7
7
  name: string,
8
8
  expires_at: string,
9
- icon_id?: number | null,
10
- banner_id?: number | null,
9
+ icon_id?: string | null,
10
+ banner_id?: string | null,
11
11
  pending_setup?: boolean | null
12
12
  }
13
13
 
@@ -47,16 +47,16 @@ type SaleTransaction = {
47
47
  store: {
48
48
  id: number,
49
49
  name: string,
50
- icon_id?: number | null,
51
- banner_id?: number | null
50
+ icon_id?: string | null,
51
+ banner_id?: string | null
52
52
  },
53
53
  products: [
54
54
  {
55
55
  id: number,
56
56
  name: string,
57
57
  value: number,
58
- icon_id?: number | null,
59
- banner_id?: number | null
58
+ icon_id?: string | null,
59
+ banner_id?: string | null
60
60
  amount: number,
61
61
  delivered: string[]
62
62
  }
@@ -13,8 +13,8 @@ export interface Product {
13
13
  created_at: string;
14
14
  store_id: number;
15
15
  owner_id: number;
16
- icon_id?: null | string;
17
- banner_id?: null | string;
16
+ icon_id?: string | null;
17
+ banner_id?: string | null;
18
18
  value: number;
19
19
  description: {
20
20
  short: null | string;
@@ -4,8 +4,8 @@ export interface PartialStore {
4
4
  id: number;
5
5
  name: string;
6
6
  expires_at: string;
7
- icon_id?: number | null;
8
- banner_id?: number | null;
7
+ icon_id?: string | null;
8
+ banner_id?: string | null;
9
9
  pending_setup?: boolean | null;
10
10
  }
11
11
  export interface FullStore {
@@ -45,16 +45,16 @@ type SaleTransaction = {
45
45
  store: {
46
46
  id: number;
47
47
  name: string;
48
- icon_id?: number | null;
49
- banner_id?: number | null;
48
+ icon_id?: string | null;
49
+ banner_id?: string | null;
50
50
  };
51
51
  products: [
52
52
  {
53
53
  id: number;
54
54
  name: string;
55
55
  value: number;
56
- icon_id?: number | null;
57
- banner_id?: number | null;
56
+ icon_id?: string | null;
57
+ banner_id?: string | null;
58
58
  amount: number;
59
59
  delivered: string[];
60
60
  }