@parra/parra-js-sdk 0.2.147 → 0.2.149

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.
@@ -970,7 +970,6 @@ export interface Application {
970
970
  type: ApplicationType;
971
971
  tenant_id: string;
972
972
  apns?: ApnsConfiguration | null;
973
- channels?: Array<Channel> | null;
974
973
  }
975
974
  export interface ApplicationCollectionResponse {
976
975
  page: number;
@@ -1009,10 +1008,13 @@ export interface ApnsChannel {
1009
1008
  created_at: string;
1010
1009
  updated_at: string;
1011
1010
  deleted_at?: string | null;
1012
- name: string;
1013
- description?: string | null;
1014
- apns?: CreateApnsChannelRequestBody;
1015
- 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: Map<string, any>;
1016
1018
  }
1017
1019
  export interface UpdateApnsConfigurationRequestBody {
1018
1020
  name: string;
@@ -1133,6 +1135,7 @@ export interface NotificationTemplate {
1133
1135
  name: string;
1134
1136
  description?: string | null;
1135
1137
  tenant_id: string;
1138
+ channels?: Array<Channel> | null;
1136
1139
  }
1137
1140
  export interface NotificationTemplateCollectionResponse {
1138
1141
  page: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@parra/parra-js-sdk",
3
- "version": "0.2.147",
3
+ "version": "0.2.149",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",