@parra/parra-js-sdk 0.2.149 → 0.2.150

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/dist/ParraAPI.d.ts +11 -11
  2. package/package.json +1 -1
@@ -25,7 +25,7 @@ export interface AuthorizationCheckRequestBody {
25
25
  namespace: string;
26
26
  subject: string;
27
27
  scope: string;
28
- context?: Map<string, any>;
28
+ context?: object;
29
29
  }
30
30
  export interface AuthorizationCheck {
31
31
  allowed: boolean;
@@ -206,7 +206,7 @@ export interface UpdateTenantMetricsRequestBody {
206
206
  export interface CreateTenantUserRequestBody {
207
207
  identity: string;
208
208
  name?: string | null;
209
- properties?: Map<string, any> | null;
209
+ properties?: object | null;
210
210
  }
211
211
  export interface TenantUserStub {
212
212
  id: string;
@@ -225,7 +225,7 @@ export interface TenantUser {
225
225
  tenant_id: string;
226
226
  identity: string;
227
227
  name?: string | null;
228
- properties: Map<string, any>;
228
+ properties: object;
229
229
  }
230
230
  export interface TenantUserCollectionResponse {
231
231
  page: number;
@@ -867,12 +867,12 @@ export interface BooleanQuestionMetricsOption {
867
867
  export interface Event {
868
868
  name: string;
869
869
  created_at: string | null;
870
- metadata?: Map<string, any> | null;
870
+ metadata?: object | null;
871
871
  }
872
872
  export interface Session {
873
873
  started_at?: string | null;
874
874
  ended_at?: string | null;
875
- user_properties?: Map<string, any> | null;
875
+ user_properties?: object | null;
876
876
  events?: Array<Event>;
877
877
  }
878
878
  export interface ReportSessionResponse {
@@ -1001,7 +1001,7 @@ export interface CreateApnsChannelRequestBody {
1001
1001
  expiration?: string | null;
1002
1002
  collapse_id?: string | null;
1003
1003
  priority?: number | null;
1004
- payload: Map<string, any>;
1004
+ payload: object;
1005
1005
  }
1006
1006
  export interface ApnsChannel {
1007
1007
  id: string;
@@ -1014,7 +1014,7 @@ export interface ApnsChannel {
1014
1014
  expiration?: string | null;
1015
1015
  collapse_id?: string | null;
1016
1016
  priority?: number | null;
1017
- payload: Map<string, any>;
1017
+ payload: object;
1018
1018
  }
1019
1019
  export interface UpdateApnsConfigurationRequestBody {
1020
1020
  name: string;
@@ -1077,8 +1077,8 @@ export interface CreateNotificationRequestBody {
1077
1077
  subtitle?: string | null;
1078
1078
  body?: string | null;
1079
1079
  image_url?: string | null;
1080
- data?: Map<string, any> | null;
1081
- action?: Map<string, any> | null;
1080
+ data?: object | null;
1081
+ action?: object | null;
1082
1082
  deduplication_id?: string | null;
1083
1083
  group_id?: string | null;
1084
1084
  visible?: boolean;
@@ -1093,8 +1093,8 @@ export interface NotificationResponse {
1093
1093
  subtitle?: string | null;
1094
1094
  body?: string | null;
1095
1095
  image_url?: string | null;
1096
- data?: Map<string, any> | null;
1097
- action?: Map<string, any> | null;
1096
+ data?: object | null;
1097
+ action?: object | null;
1098
1098
  deduplication_id?: string | null;
1099
1099
  group_id?: string | null;
1100
1100
  visible?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@parra/parra-js-sdk",
3
- "version": "0.2.149",
3
+ "version": "0.2.150",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",