@parra/parra-js-sdk 0.2.0 → 0.2.9

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.
@@ -16,7 +16,7 @@ export interface TenantColectionResponse {
16
16
  page_count: number;
17
17
  page_size: number;
18
18
  total_count: number;
19
- data?: Array<Tenant>;
19
+ data: Array<Tenant>;
20
20
  }
21
21
  export interface CreateApiKeyRequestBody {
22
22
  name: string;
@@ -43,7 +43,7 @@ export interface ApiKeyColectionResponse {
43
43
  page_count: number;
44
44
  page_size: number;
45
45
  total_count: number;
46
- data?: Array<ApiKey>;
46
+ data: Array<ApiKey>;
47
47
  }
48
48
  export interface AnswerData {
49
49
  }
@@ -173,7 +173,7 @@ export interface NotificationColectionResponse {
173
173
  page_count: number;
174
174
  page_size: number;
175
175
  total_count: number;
176
- data?: Array<NotificationResponse>;
176
+ data: Array<NotificationResponse>;
177
177
  }
178
178
  export interface ReadNotificationsRequestBody {
179
179
  notification_ids: Array<string>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@parra/parra-js-sdk",
3
- "version": "0.2.0",
3
+ "version": "0.2.9",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -26,4 +26,4 @@
26
26
  "@parra/http-client": "0.0.4",
27
27
  "isomorphic-fetch": "^3.0.0"
28
28
  }
29
- }
29
+ }