@parra/parra-js-sdk 0.2.148 → 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 +17 -14
  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,17 +1001,20 @@ 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;
1008
1008
  created_at: string;
1009
1009
  updated_at: string;
1010
1010
  deleted_at?: string | null;
1011
- name: string;
1012
- description?: string | null;
1013
- apns?: CreateApnsChannelRequestBody;
1014
- type: ChannelType;
1011
+ application_id: string;
1012
+ environment: ApnsEnvironment;
1013
+ push_type: ApnsPushType;
1014
+ expiration?: string | null;
1015
+ collapse_id?: string | null;
1016
+ priority?: number | null;
1017
+ payload: object;
1015
1018
  }
1016
1019
  export interface UpdateApnsConfigurationRequestBody {
1017
1020
  name: string;
@@ -1074,8 +1077,8 @@ export interface CreateNotificationRequestBody {
1074
1077
  subtitle?: string | null;
1075
1078
  body?: string | null;
1076
1079
  image_url?: string | null;
1077
- data?: Map<string, any> | null;
1078
- action?: Map<string, any> | null;
1080
+ data?: object | null;
1081
+ action?: object | null;
1079
1082
  deduplication_id?: string | null;
1080
1083
  group_id?: string | null;
1081
1084
  visible?: boolean;
@@ -1090,8 +1093,8 @@ export interface NotificationResponse {
1090
1093
  subtitle?: string | null;
1091
1094
  body?: string | null;
1092
1095
  image_url?: string | null;
1093
- data?: Map<string, any> | null;
1094
- action?: Map<string, any> | null;
1096
+ data?: object | null;
1097
+ action?: object | null;
1095
1098
  deduplication_id?: string | null;
1096
1099
  group_id?: string | null;
1097
1100
  visible?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@parra/parra-js-sdk",
3
- "version": "0.2.148",
3
+ "version": "0.2.150",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",