@parra/parra-js-sdk 0.2.149 → 0.2.151
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/dist/ParraAPI.d.ts +20 -11
- package/package.json +1 -1
package/dist/ParraAPI.d.ts
CHANGED
|
@@ -25,7 +25,7 @@ export interface AuthorizationCheckRequestBody {
|
|
|
25
25
|
namespace: string;
|
|
26
26
|
subject: string;
|
|
27
27
|
scope: string;
|
|
28
|
-
context?:
|
|
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?:
|
|
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:
|
|
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?:
|
|
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?:
|
|
875
|
+
user_properties?: object | null;
|
|
876
876
|
events?: Array<Event>;
|
|
877
877
|
}
|
|
878
878
|
export interface ReportSessionResponse {
|
|
@@ -994,6 +994,15 @@ export declare enum ApnsPushType {
|
|
|
994
994
|
voip = "voip",
|
|
995
995
|
mdm = "mdm"
|
|
996
996
|
}
|
|
997
|
+
export interface UpdateApnsChannelRequestBody {
|
|
998
|
+
application_id: string;
|
|
999
|
+
environment: ApnsEnvironment;
|
|
1000
|
+
push_type: ApnsPushType;
|
|
1001
|
+
expiration?: string | null;
|
|
1002
|
+
collapse_id?: string | null;
|
|
1003
|
+
priority?: number | null;
|
|
1004
|
+
payload: object;
|
|
1005
|
+
}
|
|
997
1006
|
export interface CreateApnsChannelRequestBody {
|
|
998
1007
|
application_id: string;
|
|
999
1008
|
environment: ApnsEnvironment;
|
|
@@ -1001,7 +1010,7 @@ export interface CreateApnsChannelRequestBody {
|
|
|
1001
1010
|
expiration?: string | null;
|
|
1002
1011
|
collapse_id?: string | null;
|
|
1003
1012
|
priority?: number | null;
|
|
1004
|
-
payload:
|
|
1013
|
+
payload: object;
|
|
1005
1014
|
}
|
|
1006
1015
|
export interface ApnsChannel {
|
|
1007
1016
|
id: string;
|
|
@@ -1014,7 +1023,7 @@ export interface ApnsChannel {
|
|
|
1014
1023
|
expiration?: string | null;
|
|
1015
1024
|
collapse_id?: string | null;
|
|
1016
1025
|
priority?: number | null;
|
|
1017
|
-
payload:
|
|
1026
|
+
payload: object;
|
|
1018
1027
|
}
|
|
1019
1028
|
export interface UpdateApnsConfigurationRequestBody {
|
|
1020
1029
|
name: string;
|
|
@@ -1077,8 +1086,8 @@ export interface CreateNotificationRequestBody {
|
|
|
1077
1086
|
subtitle?: string | null;
|
|
1078
1087
|
body?: string | null;
|
|
1079
1088
|
image_url?: string | null;
|
|
1080
|
-
data?:
|
|
1081
|
-
action?:
|
|
1089
|
+
data?: object | null;
|
|
1090
|
+
action?: object | null;
|
|
1082
1091
|
deduplication_id?: string | null;
|
|
1083
1092
|
group_id?: string | null;
|
|
1084
1093
|
visible?: boolean;
|
|
@@ -1093,8 +1102,8 @@ export interface NotificationResponse {
|
|
|
1093
1102
|
subtitle?: string | null;
|
|
1094
1103
|
body?: string | null;
|
|
1095
1104
|
image_url?: string | null;
|
|
1096
|
-
data?:
|
|
1097
|
-
action?:
|
|
1105
|
+
data?: object | null;
|
|
1106
|
+
action?: object | null;
|
|
1098
1107
|
deduplication_id?: string | null;
|
|
1099
1108
|
group_id?: string | null;
|
|
1100
1109
|
visible?: boolean;
|